403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/babel/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/babel/__pycache__/localedata.cpython-314.pyc
+
*:�g�#��a�0t$Rt^RIHt^RIt^RIt^RIt^RIt^RIt^RI	H
t
^RIHtH
t
Ht^RIHt^RIHt^RIHt/tR]R	&]P.!4t]P2P5]P2P7]4R
4t]P<!R]P>4t RR
lt!RRlt"RRlt#]!RR7RRl4t$RRlt%RRRllt&RRlt'!RR4t(!RR]
P4t)R#) a+
babel.localedata
~~~~~~~~~~~~~~~~

Low-level locale data access.

:note: The `Locale` class, which uses this module under the hood, provides a
       more convenient interface for accessing the locale data.

:copyright: (c) 2013-2025 by the Babel Team.
:license: BSD, see LICENSE for more details.
)�annotationsN)�abc)�Iterator�Mapping�MutableMapping)�	lru_cache)�chain)�Any�dict[str, Any]�_cachezlocale-dataz%^(con|prn|aux|nul|com[0-9]|lpt[0-9])$c� �V^8�dQhRRRR/#)��name�str�returnz
str | None�)�formats"�2/usr/lib/python3/dist-packages/babel/localedata.py�__annotate__r!s����3��:��c��V'd\V\4'gR#VP4P4p\P
!\\4.4FpWP48XgKVu#	R#)z�Normalize a locale ID by stripping spaces and apply proper casing.

Returns the normalized locale ID string or `None` if the ID is not
recognized.
N)�
isinstancer�strip�lowerr�
from_iterabler�locale_identifiers)r�	locale_ids& r�normalize_localer!s\���z�$��,�,���:�:�<����D��(�(�&�2D�2F�)G�H�	��?�?�$�$���Irc� �V^8�dQhRRRR/#)r
r�os.PathLike[str] | strrrr)rs"rrr/s��
1�
1�"8�
1�S�
1rc�T�\PPV4p\PR8XdO\
P
\PPV4^,4'd\RVR24h\PP\VR24#)z7
Resolve a locale identifier to a `.dat` path on disk.
�win32zName z is invalid on Windows�.dat)�os�path�basename�sys�platform�_windows_reserved_name_re�match�splitext�
ValueError�join�_dirname)rs&r�resolve_locale_filenamer./s���7�7���D�!�D��|�|�w��#<�#B�#B�2�7�7�CS�CS�TX�CY�Z[�C\�#]�#]��5���&<�=�>�>��7�7�<�<��T�F�$�-�0�0rc� �V^8�dQhRRRR/#�r
rrr�boolr)rs"rrr?s��@�@��@��@rc���V'd\V\4'gR#V\9dR#\PP\
V44pV'dR#\\V44#)z�Check whether locale data is available for the given locale.

Returns `True` if it exists, `False` otherwise.

:param name: the locale identifier string
FT)	rrrr#r$�existsr.r1r)r�
file_founds& rr3r3?sP���z�$��,�,���v�~������� 7�� =�>�J��4�?�4�(8��(>�#?�?r)�maxsizec��V^8�dQhRR/#)r
rz	list[str]r)rs"rrrOs����I�rc��R\P!\44UUu.uFwrVR8XgKVR8wgKVNK	upp#uuppi)aReturn a list of all locale identifiers for which locale data is
available.

This data is cached after the first invocation.
You can clear the cache by calling `locale_identifiers.cache_clear()`.

.. versionadded:: 0.8.1

:return: a list of locale identifiers (strings)
c3�`"�TF$p\PPV4x�K&	R#5i�N)r#r$r*)�.0�filenames& r�	<genexpr>�%locale_identifiers.<locals>.<genexpr>]s$���I�4H�����	�	�(�	#�	#�4H�s�,.r"�root)r#�listdirr-)�stem�	extensions  rrrNsX��	J�B�J�J�x�4H�I��	J�
�D����	
�$(�6�>�	
��I����s�A�A�Ac� �V^8�dQhRRRR/#r0r)rs"rrrbs�������rc���^RIHpHpV!V4vr4rVpT'dGT'd?T'g7T'g/T'g'T!R4P	T4pT!T4vr�p	YZ8g#R# \dR#i;i)z�Return whether the locale is of the form ``lang_Script``,
and the script is not the likely script for the language.

This implements the behavior of the ``nonlikelyScript`` value of the
``localRules`` attribute for parent locales added in CLDR 45.
)�
get_global�parse_localeF�likely_subtags)�
babel.corerDrEr+�get)rrDrE�lang�	territory�script�variant�rest�
likely_subtag�_�
likely_scripts&          r�_is_non_likely_scriptrQbsq��4��2>�t�2D�/���4���y���"�#3�4�8�8��>�
�".�}�"=���1�a��&�&�������s�A%�%A4�3A4c�$�V^8�dQhRRRRRR/#)r
rr�merge_inheritedr1rr
r)rs"rrrws"��4�4�%�4��4��4rc�N�\PPV4p\P	4\
P
V4pV'EgVR8Xg	V'g/pM�^RIHpV!R4P
V4pV'gL\V4'dRpM7VPR4p\V4^8XdRMRPVRR4p\V4P4p\V4p\!VR4;_uu_4pVR8wd*V'd"\#V\$P!V44M\$P!V4pRRR4V\
V&V\P'4# +'giL/;i \P'4i;i)aLoad the locale data for the given locale.

The locale data is a dictionary that contains much of the data defined by
the Common Locale Data Repository (CLDR). This data is stored as a
collection of pickle files inside the ``babel`` package.

>>> d = load('en_US')
>>> d['languages']['sv']
u'Swedish'

Note that the results are cached, and subsequent requests for the same
locale return the same dictionary:

>>> d1 = load('en_US')
>>> d2 = load('en_US')
>>> d1 is d2
True

:param name: the locale identifier string (or "root")
:param merge_inherited: whether the inherited data should be merged into
                        the data of the requested locale
:raise `IOError`: if no locale data file is found for the given locale
                  identifier, or one of the locales it inherits from
r>)rD�parent_exceptionsrON�rb���)r#r$r%�_cache_lock�acquirerrHrGrDrQ�split�lenr,�load�copyr.�open�merge�pickle�release)rrS�datarD�parent�partsr;�fileobjs&&      rr\r\ws0��2�7�7���D�!�D�������z�z�$����t��v�~�_���1�#�$7�8�<�<�T�B���,�T�2�2�!'�� $�
�
�3���+.�u�:��?������s�PR��@T���F�|�(�(�*��.�t�4�H��h��%�%���6�>�o��$����G� 4�5�!�;�;�w�/�D�	&�
 �F�4�L������&�%��	����s<�F�F�"'F�
BF�
E;�7E;�F�;F	�F�F$c�$�V^8�dQhRRRRRR/#)r
�dict1zMutableMapping[Any, Any]�dict2zMapping[Any, Any]r�Noner)rs"rrr�s#����)��2C���rc��VP4F�wr#VfKVPV4p\V\4'dvVf/p\V\4'dWC3pMW\V\
4'd$VwrVVP
4p\Wc4WV3pMVP
4p\WC4MTpW@V&K�	R#)aNMerge the data from `dict2` into the `dict1` dictionary, making copies
of nested dictionaries.

>>> d = {1: 'foo', 3: 'baz'}
>>> merge(d, {1: 'Foo', 2: 'Bar'})
>>> sorted(d.items())
[(1, 'Foo'), (2, 'Bar'), (3, 'baz')]

:param dict1: the dictionary to merge into
:param dict2: the dictionary containing the data that should be merged
N)�itemsrHr�dict�Alias�tupler]r_)rgrh�key�val2�val1�alias�otherss&&     rr_r_�s����[�[�]�	�����9�9�S�>�D��$��%�%��<��D��d�E�*�*� �<�D���e�,�,�$(�M�E�#�[�[�]�F��&�'�!�?�D��9�9�;�D��$�%����#�J�%#rc�>�]tRt^�tRtRRltRRltRRltRtR	#)
rmz�Representation of an alias in the locale data.

An alias is a value that refers to some other part of the locale data,
as specified by the `keys`.
c� �V^8�dQhRRRR/#)r
�keysztuple[str, ...]rrir)rs"rr�Alias.__annotate__�s�� � �_� �� rc	�&�\V4VnR#r9)rnrv)�selfrvs&&r�__init__�Alias.__init__�s
���$�K��	rc��V^8�dQhRR/#)r
rrr)rs"rrrw�s��8�8�#�8rc	�P�R\V4PRVP:R2#)�<� �>)�type�__name__rv�rys&r�__repr__�Alias.__repr__�s&���4��:�&�&�'�q����
�Q�7�7rc� �V^8�dQhRRRR/#)r
rbzMapping[str | int | None, Any]rr)rs"rrrw�s����:��?]�rc
���TpVPFpW,pK
	\V\4'dVPV4pV#\V\4'dVwrEVPV4pV#)z�Resolve the alias based on the given data.

This is done recursively, so if one alias resolves to a second alias,
that second alias will also be resolved.

:param data: the locale data
:type data: `dict`
)rvrrm�resolvern)ryrb�baserorrrss&&    rr��
Alias.resolve�si�����9�9�C��9�D���d�E�"�"��<�<��%�D�����e�
$�
$� �M�E��=�=��&�D��r)rvN)	r��
__module__�__qualname__�__firstlineno__�__doc__rzr�r��__static_attributes__rrrrmrm�s��� �8��rrmc�r�]tRt^�tRtRRRlltRRltRRltR	R
ltRRlt	R
Rlt
RRltRtR#)�LocaleDataDictzMDictionary wrapper that automatically resolves aliases to the actual
values.
Nc� �V^8�dQhRRRR/#)r
rbz%MutableMapping[str | int | None, Any]r�z%Mapping[str | int | None, Any] | Noner)rs"rr�LocaleDataDict.__annotate__�s����B��Jo�rc	�*�WnVfTpW nR#r9��_datar�)ryrbr�s&&&rrz�LocaleDataDict.__init__�s���
��<��D��	rc��V^8�dQhRR/#)r
r�intr)rs"rrr��s�����rc	�,�\VP4#r9)r[r�r�s&r�__len__�LocaleDataDict.__len__�s���4�:�:��rc��V^8�dQhRR/#)r
rzIterator[str | int | None]r)rs"rrr��s�� � �4� rc	�,�\VP4#r9)�iterr�r�s&r�__iter__�LocaleDataDict.__iter__�s���D�J�J��rc� �V^8�dQhRRRR/#)r
ro�str | int | Nonerr	r)rs"rrr�s����/��C�rc	��VPV,;r#\V\4'dVPVP4p\V\
4'd9VwrEVPVP4P
4p\W54\V\4'd\W0PR7pW2JdW0PV&V#�)r�)
r�rrmr�r�rnr]r_rlr�)ryro�orig�valrrrss&&    r�__getitem__�LocaleDataDict.__getitem__s����Z�Z��_�$���c�5�!�!��+�+�d�i�i�(�C��c�5�!�!��M�E��-�-��	�	�*�/�/�1�C��#���c�4� � � ��9�9�5�C��?�!�J�J�s�O��
rc�$�V^8�dQhRRRRRR/#)r
ror��valuer	rrir)rs"rrr�s"�� � �/� �� �� rc	�"�W PV&R#r9�r�)ryror�s&&&r�__setitem__�LocaleDataDict.__setitem__s
���
�
�3�rc� �V^8�dQhRRRR/#)r
ror�rrir)rs"rrr�s����/��D�rc	� �VPVR#r9r�)ryros&&r�__delitem__�LocaleDataDict.__delitem__s
���J�J�s�Orc��V^8�dQhRR/#)r
rr�r)rs"rrr�s��A�A�n�Arc	�`�\VPP4VPR7#r�)r�r�r]r�r�s&rr]�LocaleDataDict.copys���d�j�j�o�o�/�d�i�i�@�@rr�r9)
r�r�r�r�r�rzr�r�r�r�r�r]r�rrrr�r��s1����� �� ��A�Arr�)T)*�__conditional_annotations__r��
__future__rr#r`�rer&�	threading�collectionsr�collections.abcrrr�	functoolsr�	itertoolsr�typingr	r�__annotations__�RLockrXr$r,�dirname�__file__r-�compile�Ir(rr.r3rrQr\r_rmr�)r�s@r�<module>r�s�����#�	�
�	�
���=�=���������o�o���
�7�7�<�<�������1�=�A���J�J�'N�PR�PT�PT�U���
1� @��4�����&�*4�n�B��B&A�S�'�'�&Ar

Youez - 2016 - github.com/yon3zu
LinuXploit