AlkantarClanX12

Your IP : 3.144.255.116


Current Path : /opt/imunify360/venv/lib64/python3.11/site-packages/babel/__pycache__/
Upload File :
Current File : //opt/imunify360/venv/lib64/python3.11/site-packages/babel/__pycache__/dates.cpython-311.pyc

�

j��f{��Z�UdZddlmZddlZddlZddlmZddlmZm	Z		ddl
Z
n#e$r	dZ
ddlZYnwxYwddl
Z
ddlmZddlmZddlmZmZmZdd	lmZeradd
lmZmZe
je
jzezdzZded<ed
Z ded<edZ!ded<e
j
e
j"ze#ze$ze
jzdzZ%ded<dZ&e
j'j(Z)ej*Z*ed��Z+d�d�Z,d�d�Z-d�d�Z.d�d �Z/d�d�d#�Z0	d�d�d'�Z1d�d�d*�Z2d+d,e+fd�d3�Z3d+d4e+fd�d6�Z4d+d4e+fd�d7�Z5d+d4e+fd�d8�Z6d+e+fd�d9�Z7d:e+fd�d<�Z8d:e+fd�d=�Z9d:e+fd�d>�Z:dd?e+d@fd�dE�Z;de+d@fd�dG�Z<dd?d@e+dd@fd�dM�Z=dd:e+fd�dQ�Z>dd:de+fd�dR�Z?dd:de+fd�dT�Z@dddUe+fd�dX�ZAdYZBdZed[<d\d]d@d?e+fd�df�ZCe+fd�dj�ZDdddUe+fd�dk�ZEdde+fd�dn�ZFGdo�dpeG��ZHe+d:fd�ds�ZIe+d:fd�dt�ZJGdu�d;��ZKGdv�dw��ZLidxgdy��dzd�d{d�d|d�d}gdy��d~gdy��dgdy��d�gdy��d�d�d�g�d�d�g�d�d�d�g�d�gd���d�d�g�d�d�d�gd���d�gd���d�gd���id�gdy��d�gdy��d�gdy��d�d�d�g�d�d�d�g�d�d�d�g�d�d�d�g�d�d�d�g�d�d�d�g�d�d�d�d�d�gd���d�gdy��d�d�d�g�d�d�d�g�d�gd���d�gdy���d�gdy�i�ZMd�ed�<d�ZNd�d��ZOed�����d�d����ZPd�d��ZQd�d��ZRd�d��ZSd�d�d��ZTdS)�a�
    babel.dates
    ~~~~~~~~~~~

    Locale dependent formatting and parsing of dates and times.

    The default locale for the functions in this module is determined by the
    following environment variables, in that order:

     * ``LC_TIME``,
     * ``LC_ALL``, and
     * ``LANG``

    :copyright: (c) 2013-2023 by the Babel Team.
    :license: BSD, see LICENSE for more details.
�)�annotationsN)�	lru_cache)�
TYPE_CHECKING�SupportsInt)�Iterable)�	localtime)�Locale�default_locale�
get_global)�LocaleDataDict)�Literal�	TypeAliasr�_Instant��full�long�medium�short�_PredefinedTimeFormat)�format�stand-alone�_Context�_DtOrTzinfou	∅∅∅�LC_TIME�tz�datetime.tzinfo�dt�datetime.datetime�returnc���|j|ur|St|d��r|�|��S|j�|�|���S|�|��S)N�localize��tzinfo)r#�hasattrr!�replace�
astimezone)rrs  �k/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/babel/dates.py�	_localizer(<sf��
�y�B����	��r�:�����{�{�2����	�y���z�z��z�$�$�$��=�=������dt_or_tzinfo�0tuple[datetime.datetime | None, datetime.tzinfo]c��|�&tj���}t}n�t|t��rd}t|��}nnt|t��r
d}t}nOt|tjtjf��r%t|��}|j
�|j
nt}nd}|}||fS)z�
    Parse a `dt_or_tzinfo` value into a datetime and a tzinfo.

    See the docs for this function's callers for semantics.

    :rtype: tuple[datetime, tzinfo]
    N)�datetime�now�LOCALTZ�
isinstance�str�get_timezone�int�UTC�time�
_get_datetimer#�r*rr#s   r'�_get_dt_and_tzinfor8Ms�����
�
�
"�
"�
$�
$�����	�L�#�	&�	&��
���l�+�+���	�L�#�	&�	&��
�����	�L�8�#4�h�m�"D�	E�	E��
�<�
(�
(�� �i�3�������
����
�v�:�r)r1c��t|��\}}t|d��r|jSt|d��r|j�|jS|�|pt
j�����S)z[
    Get the timezone name out of a time, datetime, or tzinfo object.

    :rtype: str
    �zone�key)r8r$r:r;�tznamer-�utcnowr7s   r'�_get_tz_namer>gsv��$�L�1�1�J�B���v�v���?��{��	���	�	�?�F�J�$:��z���}�}�R�=�8�#4�#;�#;�#=�#=�>�>�>r)�instantc�2�|�tj���St|ttf��rtj�|��St|tj��r<tj�tj�	��|��St|tj��rKt|tj��s1tj�|tj����S|S)a�
    Get a datetime out of an "instant" (date, time, datetime, number).

    .. warning:: The return values of this function may depend on the system clock.

    If the instant is None, the current moment is used.
    If the instant is a time, it's augmented with today's date.

    Dates are converted to naive datetimes with midnight as the time component.

    >>> from datetime import date, datetime
    >>> _get_datetime(date(2015, 1, 1))
    datetime.datetime(2015, 1, 1, 0, 0)

    UNIX timestamps are converted to datetimes.

    >>> _get_datetime(1400000000)
    datetime.datetime(2014, 5, 13, 16, 53, 20)

    Other values are passed through as-is.

    >>> x = datetime(2015, 1, 1)
    >>> _get_datetime(x) is x
    True

    :param instant: date, time, datetime, integer, float or None
    :type instant: date|time|datetime|int|float|None
    :return: a datetime
    :rtype: datetime
    )
r-r=r0r3�float�utcfromtimestampr5�combine�date�today)r?s r'r6r6vs���>��� �'�'�)�)�)�	�G�c�5�\�	*�	*�C�� �1�1�'�:�:�:�	�G�X�]�	+�	+�C�� �(�(���)<�)<�)>�)>��H�H�H�	�G�X�]�	+�	+�C�J�w��HY�4Z�4Z�C�� �(�(��(�-�/�/�B�B�B��Nr)r#�datetime.tzinfo | Nonec���|j�|�t���}|�G|�t	|����}t|d��r|�|��}|S)aS
    Ensure the datetime passed has an attached tzinfo.

    If the datetime is tz-naive to begin with, UTC is attached.

    If a tzinfo is passed in, the datetime is normalized to that timezone.

    >>> from datetime import datetime
    >>> _get_tz_name(_ensure_datetime_tzinfo(datetime(2015, 1, 1)))
    'UTC'

    >>> tz = get_timezone("Europe/Stockholm")
    >>> _ensure_datetime_tzinfo(datetime(2015, 1, 1, 13, 15, tzinfo=UTC), tzinfo=tz).hour
    14

    :param datetime: Datetime to augment.
    :param tzinfo: optional tzinfo
    :return: datetime with tzinfo
    :rtype: datetime
    Nr"�	normalize)r#r%r4r&r2r$rH)rr#s  r'�_ensure_datetime_tzinforI�sh��*
�y��
�Z�Z�s�Z�
#�
#��
��
�]�]�<��/�/�
0�
0���6�;�'�'�	&��!�!�"�%�%�B�
�Ir)r5�(datetime.time | datetime.datetime | None�
datetime.timec��|�tj���}n;t|ttf��rtj�|��}|j�|�t���}t|tj��rQ|�:|�	|��}t|d��r|�|��}|���}n|�|�|���}|S)z�
    Get a timezoned time from a given instant.

    .. warning:: The return values of this function may depend on the system clock.

    :param time: time, datetime or None
    :rtype: time
    Nr"rH)
r-r=r0r3rArBr#r%r4r&r$rH�timetz)r5r#s  r'�	_get_timerN�s����|�� �'�'�)�)���	�D�3��,�	'�	'�8�� �1�1�$�7�7���{���|�|�3�|�'�'���$��)�*�*�+����?�?�6�*�*�D��v�{�+�+�
.��'�'��-�-���{�{�}�}���	�	��|�|�6�|�*�*���Kr)r:�str | datetime.tzinfo | Nonec�T�|�tSt|t��s|Str3	tj|��S#tj$r}|}Yd}~nDd}~wwxYwtsJ�	t
j|��S#tj$r}|}Yd}~nd}~wwxYwtd|����|�)aLooks up a timezone by name and returns it.  The timezone object
    returned comes from ``pytz`` or ``zoneinfo``, whichever is available.
    It corresponds to the `tzinfo` interface and can be used with all of
    the functions of Babel that operate with dates.

    If a timezone is not known a :exc:`LookupError` is raised.  If `zone`
    is ``None`` a local zone object is returned.

    :param zone: the name of the timezone to look up.  If a timezone object
                 itself is passed in, it's returned unchanged.
    NzUnknown timezone )
r/r0r1�pytz�timezone�UnknownTimeZoneError�zoneinfo�ZoneInfo�ZoneInfoNotFoundError�LookupError)r:�e�excs   r'r2r2�s����|����d�C� � �����
�	��=��&�&�&���(�	�	�	��C�C�C�C�C�C�����	�������x�	��$�T�*�*�*���-�	�	�	��C�C�C�C�C�C�����	�����0�$�0�0�
1�
1�s�:s-�=�A�A�A�%A9�9B�B�B�wider�width�(Literal['abbreviated', 'narrow', 'wide']�context�locale�Locale | str | Nonerc�L�tj|��j||S)aGReturn the names for day periods (AM/PM) used by the locale.

    >>> get_period_names(locale='en_US')['am']
    u'AM'

    :param width: the width to use, one of "abbreviated", "narrow", or "wide"
    :param context: the context, either "format" or "stand-alone"
    :param locale: the `Locale` object, or a locale string
    )r	�parse�day_periods�r[r]r^s   r'�get_period_namesrd�s!���<����+�G�4�U�;�;r)r�1Literal['abbreviated', 'narrow', 'short', 'wide']c�L�tj|��j||S)a*Return the day names used by the locale for the specified format.

    >>> get_day_names('wide', locale='en_US')[1]
    u'Tuesday'
    >>> get_day_names('short', locale='en_US')[1]
    u'Tu'
    >>> get_day_names('abbreviated', locale='es')[1]
    u'mar'
    >>> get_day_names('narrow', context='stand-alone', locale='de_DE')[1]
    u'D'

    :param width: the width to use, one of "wide", "abbreviated", "short" or "narrow"
    :param context: the context, either "format" or "stand-alone"
    :param locale: the `Locale` object, or a locale string
    )r	ra�daysrcs   r'�
get_day_namesrhs!��"�<����$�W�-�e�4�4r)c�L�tj|��j||S)a�Return the month names used by the locale for the specified format.

    >>> get_month_names('wide', locale='en_US')[1]
    u'January'
    >>> get_month_names('abbreviated', locale='es')[1]
    u'ene'
    >>> get_month_names('narrow', context='stand-alone', locale='de_DE')[1]
    u'J'

    :param width: the width to use, one of "wide", "abbreviated", or "narrow"
    :param context: the context, either "format" or "stand-alone"
    :param locale: the `Locale` object, or a locale string
    )r	ra�monthsrcs   r'�get_month_namesrk s!���<����&�w�/��6�6r)c�L�tj|��j||S)a�Return the quarter names used by the locale for the specified format.

    >>> get_quarter_names('wide', locale='en_US')[1]
    u'1st quarter'
    >>> get_quarter_names('abbreviated', locale='de_DE')[1]
    u'Q1'
    >>> get_quarter_names('narrow', locale='de_DE')[1]
    u'1'

    :param width: the width to use, one of "wide", "abbreviated", or "narrow"
    :param context: the context, either "format" or "stand-alone"
    :param locale: the `Locale` object, or a locale string
    )r	ra�quartersrcs   r'�get_quarter_namesrn2s!���<����(��1�%�8�8r)c�@�tj|��j|S)a\Return the era names used by the locale for the specified format.

    >>> get_era_names('wide', locale='en_US')[1]
    u'Anno Domini'
    >>> get_era_names('abbreviated', locale='de_DE')[1]
    u'n. Chr.'

    :param width: the width to use, either "wide", "abbreviated", or "narrow"
    :param locale: the `Locale` object, or a locale string
    )r	ra�eras�r[r^s  r'�
get_era_namesrrDs���<����$�U�+�+r)r�DateTimePatternc�@�tj|��j|S)a�Return the date formatting patterns used by the locale for the specified
    format.

    >>> get_date_format(locale='en_US')
    <DateTimePattern u'MMM d, y'>
    >>> get_date_format('full', locale='de_DE')
    <DateTimePattern u'EEEE, d. MMMM y'>

    :param format: the format to use, one of "full", "long", "medium", or
                   "short"
    :param locale: the `Locale` object, or a locale string
    )r	ra�date_formats�rr^s  r'�get_date_formatrwS����<����,�V�4�4r)c�P�tj|��j}||vrd}||S)a;Return the datetime formatting patterns used by the locale for the
    specified format.

    >>> get_datetime_format(locale='en_US')
    u'{1}, {0}'

    :param format: the format to use, one of "full", "long", "medium", or
                   "short"
    :param locale: the `Locale` object, or a locale string
    N)r	ra�datetime_formats)rr^�patternss   r'�get_datetime_formatr|cs1���|�F�#�#�4�H�
�X������F��r)c�@�tj|��j|S)u�Return the time formatting patterns used by the locale for the specified
    format.

    >>> get_time_format(locale='en_US')
    <DateTimePattern u'h:mm:ss a'>
    >>> get_time_format('full', locale='de_DE')
    <DateTimePattern u'HH:mm:ss zzzz'>

    :param format: the format to use, one of "full", "long", "medium", or
                   "short"
    :param locale: the `Locale` object, or a locale string
    )r	ra�time_formatsrvs  r'�get_time_formatrtrxr)rFr-�4Literal['long', 'short', 'iso8601', 'iso8601_short']�return_z�boolc��tt|����}tj|��}|j�|��}|jdzdzdz|jz}t|d��\}}|r|dkr|dkrdS|dkr|dkrd|zS|dks|dkrd	}n|d
krd}n|j	ddz}|||dzfzS)
aReturn the timezone associated with the given `datetime` object formatted
    as string indicating the offset from GMT.

    >>> from datetime import datetime
    >>> dt = datetime(2007, 4, 1, 15, 30)
    >>> get_timezone_gmt(dt, locale='en')
    u'GMT+00:00'
    >>> get_timezone_gmt(dt, locale='en', return_z=True)
    'Z'
    >>> get_timezone_gmt(dt, locale='en', width='iso8601_short')
    u'+00'
    >>> tz = get_timezone('America/Los_Angeles')
    >>> dt = _localize(tz, datetime(2007, 4, 1, 15, 30))
    >>> get_timezone_gmt(dt, locale='en')
    u'GMT-07:00'
    >>> get_timezone_gmt(dt, 'short', locale='en')
    u'-0700'
    >>> get_timezone_gmt(dt, locale='en', width='iso8601_short')
    u'-07'

    The long format depends on the locale, for example in France the acronym
    UTC string is used instead of GMT:

    >>> get_timezone_gmt(dt, 'long', locale='fr_FR')
    u'UTC-07:00'

    .. versionadded:: 0.9

    :param datetime: the ``datetime`` object; if `None`, the current date and
                     time in UTC is used
    :param width: either "long" or "short" or "iso8601" or "iso8601_short"
    :param locale: the `Locale` object, or a locale string
    :param return_z: True or False; Function returns indicator "Z"
                     when local time offset is 0
    ��<�r�Z�
iso8601_shortz%+03drz	%+03d%02d�iso8601z
%+03d:%02d�gmt)
rIr6r	rar#�	utcoffsetrg�seconds�divmod�zone_formats)r-r[r^r��offsetr��hours�patterns        r'�get_timezone_gmtr��s���R'�}�X�'>�'>�?�?�H�
�\�&�
!�
!�F�
�_�
&�
&�x�
0�
0�F��k�B���#�b�(�6�>�9�G��G�T�*�*�N�E�7��	<�E�Q�J�J�7�a�<�<��s�	�A���%�?�2�2�����	�'�	�	�U�o�5�5����	�)�	�	�����%�e�,�|�;���e�W��]�+�+�+r)�return_cityc�H�tj|��}t|��}td���||��}|j�|i��}|jd}td���|��}||jvrd}|j|}|s;|r9ttd���|g����dkr||zS|jd}d|vr	|d}	n�td	���|��}
|j	�|
i��}d|vr	|d}	nKd
|vr1|�
d
d��d�dd��}	n|�dd��}	|r|	S|||	|d
�zzS)ubReturn a representation of the given timezone using "location format".

    The result depends on both the local display name of the country and the
    city associated with the time zone:

    >>> tz = get_timezone('America/St_Johns')
    >>> print(get_timezone_location(tz, locale='de_DE'))
    Kanada (St. John’s) (Ortszeit)
    >>> print(get_timezone_location(tz, locale='en'))
    Canada (St. John’s) Time
    >>> print(get_timezone_location(tz, locale='en', return_city=True))
    St. John’s
    >>> tz = get_timezone('America/Mexico_City')
    >>> get_timezone_location(tz, locale='de_DE')
    u'Mexiko (Mexiko-Stadt) (Ortszeit)'

    If the timezone is associated with a country that uses only a single
    timezone, just the localized country name is returned:

    >>> tz = get_timezone('Europe/Berlin')
    >>> get_timezone_name(tz, locale='de_DE')
    u'Mitteleurop\xe4ische Zeit'

    .. versionadded:: 0.9

    :param dt_or_tzinfo: the ``datetime`` or ``tzinfo`` object that determines
                         the timezone; if `None`, the current date and time in
                         UTC is assumed
    :param locale: the `Locale` object, or a locale string
    :param return_city: True or False, if True then return exemplar city (location)
                        for the time zone
    :return: the localized timezone name using location format

    �zone_aliases�region�zone_territories�ZZ�territory_zones��fallback�city�
meta_zones�/�_� )�0�1)r	rar>r�get�
time_zonesr��territories�lenr��splitr%)r*r^r�r:�info�
region_format�	territory�territory_name�fallback_format�	city_name�metazone�
metazone_infos            r'�get_timezone_locationr��s���N�\�&�
!�
!�F���%�%�D��n�%�%�)�)�$��5�5�D��� � ��r�*�*�D��'��1�M��-�.�.�2�2�4�8�8�I���*�*�*��	��'�	�2�N��.�9�.��Z�8I�-J�-J�-N�-N�y�Z\�-]�-]�)^�)^�bc�)c�)c��~�-�-��)�*�5�O�
��~�~���L�	�	��l�+�+�/�/��5�5���)�-�-�h��;�;�
��]�"�"�%�f�-�I�I�
�D�[�[��
�
�3��*�*�1�-�5�5�c�3�?�?�I�I����S�#�.�.�I������O�
�
�/�/���r)�Literal['long', 'short']�uncommon�zone_variant�1Literal['generic', 'daylight', 'standard'] | None�return_zonec��t|��\}}tj|��}t|��}|�!|�d}n/|�|��}	|	rdnd}n|dvrtd���t
d���||��}|r|S|j�|i��}
||
vr||
|vr|
||St
d���|��}|rx|j	�|i��}||vrY||�|��}
|d	kr4|
tkr)|�d
i���|��}
|
r|
S|�t|||���St||���S)
a1Return the localized display name for the given timezone. The timezone
    may be specified using a ``datetime`` or `tzinfo` object.

    >>> from datetime import time
    >>> dt = time(15, 30, tzinfo=get_timezone('America/Los_Angeles'))
    >>> get_timezone_name(dt, locale='en_US')
    u'Pacific Standard Time'
    >>> get_timezone_name(dt, locale='en_US', return_zone=True)
    'America/Los_Angeles'
    >>> get_timezone_name(dt, width='short', locale='en_US')
    u'PST'

    If this function gets passed only a `tzinfo` object and no concrete
    `datetime`,  the returned display name is independent of daylight savings
    time. This can be used for example for selecting timezones, or to set the
    time of events that recur across DST changes:

    >>> tz = get_timezone('America/Los_Angeles')
    >>> get_timezone_name(tz, locale='en_US')
    u'Pacific Time'
    >>> get_timezone_name(tz, 'short', locale='en_US')
    u'PT'

    If no localized display name for the timezone is available, and the timezone
    is associated with a country that uses only a single timezone, the name of
    that country is returned, formatted according to the locale:

    >>> tz = get_timezone('Europe/Berlin')
    >>> get_timezone_name(tz, locale='de_DE')
    u'Mitteleurop\xe4ische Zeit'
    >>> get_timezone_name(tz, locale='pt_BR')
    u'Hor\xe1rio da Europa Central'

    On the other hand, if the country uses multiple timezones, the city is also
    included in the representation:

    >>> tz = get_timezone('America/St_Johns')
    >>> get_timezone_name(tz, locale='de_DE')
    u'Neufundland-Zeit'

    Note that short format is currently not supported for all timezones and
    all locales.  This is partially because not every timezone has a short
    code in every locale.  In that case it currently falls back to the long
    format.

    For more information see `LDML Appendix J: Time Zone Display Names
    <https://www.unicode.org/reports/tr35/#Time_Zone_Fallback>`_

    .. versionadded:: 0.9

    .. versionchanged:: 1.0
       Added `zone_variant` support.

    :param dt_or_tzinfo: the ``datetime`` or ``tzinfo`` object that determines
                         the timezone; if a ``tzinfo`` object is used, the
                         resulting display name will be generic, i.e.
                         independent of daylight savings time; if `None`, the
                         current date in UTC is assumed
    :param width: either "long" or "short"
    :param uncommon: deprecated and ignored
    :param zone_variant: defines the zone variation to return.  By default the
                           variation is defined from the datetime object
                           passed in.  If no datetime object is passed in, the
                           ``'generic'`` variation is assumed.  The following
                           values are valid: ``'generic'``, ``'daylight'`` and
                           ``'standard'``.
    :param locale: the `Locale` object, or a locale string
    :param return_zone: True or False. If true then function
                        returns long time zone ID
    N�generic�daylight�standard)r�r�r�zInvalid zone variationr�r�rrrq�r^)
r8r	rar>�dst�
ValueErrorrr�r�r��NO_INHERITANCE_MARKERr�r�)r*r[r�r^r�r�rr#r:r�r�r�r��names              r'�get_timezone_namer�s���\$�L�1�1�J�B��
�\�&�
!�
!�F���%�%�D���
�:�$�L�L��*�*�R�.�.�C�),�<�:�:�*�L�L��B�B�B��5�6�6�6��n�%�%�)�)�$��5�5�D������� � ��r�*�*�D���}�}���e��4�4��E�{�<�(�(��,�'�'�+�+�D�1�1�H��	��)�-�-�h��;�;�
��M�!�!� ��'�+�+�L�9�9�D�����D�,A�$A�$A�%�(�(���4�4�8�8��F�F���
���
�~���%��?�?�?�?� ��f�=�=�=�=r)rD�datetime.date | None�_PredefinedTimeFormat | strc�<�|�tj���}n.t|tj��r|���}t	j|��}|dvrt
||���}t|��}|�||��S)a�Return a date formatted according to the given pattern.

    >>> from datetime import date
    >>> d = date(2007, 4, 1)
    >>> format_date(d, locale='en_US')
    u'Apr 1, 2007'
    >>> format_date(d, format='full', locale='de_DE')
    u'Sonntag, 1. April 2007'

    If you don't want to use the locale default formats, you can specify a
    custom date pattern:

    >>> format_date(d, "EEE, MMM d, ''yy", locale='en')
    u"Sun, Apr 1, '07"

    :param date: the ``date`` or ``datetime`` object; if `None`, the current
                 date is used
    :param format: one of "full", "long", "medium", or "short", or a custom
                   date/time pattern
    :param locale: a `Locale` object or a locale identifier
    Nrr�)	r-rDrEr0r	rarw�
parse_pattern�apply)rDrr^r�s    r'�format_dater��s���4�|��}�"�"�$�$���	�D�(�+�	,�	,���y�y�{�{��
�\�&�
!�
!�F�
�4�4�4� ���7�7�7���F�#�#�G��=�=��v�&�&�&r)c	��tt|��|��}tj|��}|dvrnt	||����dd���dt
||d|������dt|||�����St|���	||��S)	u�Return a date formatted according to the given pattern.

    >>> from datetime import datetime
    >>> dt = datetime(2007, 4, 1, 15, 30)
    >>> format_datetime(dt, locale='en_US')
    u'Apr 1, 2007, 3:30:00\u202fPM'

    For any pattern requiring the display of the timezone:

    >>> format_datetime(dt, 'full', tzinfo=get_timezone('Europe/Paris'),
    ...                 locale='fr_FR')
    'dimanche 1 avril 2007, 17:30:00 heure d’été d’Europe centrale'
    >>> format_datetime(dt, "yyyy.MM.dd G 'at' HH:mm:ss zzz",
    ...                 tzinfo=get_timezone('US/Eastern'), locale='en')
    u'2007.04.01 AD at 11:30:00 EDT'

    :param datetime: the `datetime` object; if `None`, the current date and
                     time is used
    :param format: one of "full", "long", "medium", or "short", or a custom
                   date/time pattern
    :param tzinfo: the timezone to apply to the time for display
    :param locale: a `Locale` object or a locale identifier
    rr��'��{0}N�r#r^�{1})
rIr6r	rar|r%�format_timer�r�r�)r-rr#r^s    r'�format_datetimer��s���:'�}�X�'>�'>��G�G�H�
�\�&�
!�
!�F�
�4�4�4�"�6�&�9�9�9�
�W�S�"�
�
�
�W�U�K��&��/5�7�7�7�8�8�
�W�U�K��&��H�H�H�
I�
I�		J��V�$�$�*�*�8�V�<�<�<r)�0datetime.time | datetime.datetime | float | Nonec��t|tj��r|���nd}t||��}t	j|��}|dvrt
||���}t|���|||���S)um	Return a time formatted according to the given pattern.

    >>> from datetime import datetime, time
    >>> t = time(15, 30)
    >>> format_time(t, locale='en_US')
    u'3:30:00\u202fPM'
    >>> format_time(t, format='short', locale='de_DE')
    u'15:30'

    If you don't want to use the locale default formats, you can specify a
    custom time pattern:

    >>> format_time(t, "hh 'o''clock' a", locale='en')
    u"03 o'clock PM"

    For any pattern requiring the display of the time-zone a
    timezone has to be specified explicitly:

    >>> t = datetime(2007, 4, 1, 15, 30)
    >>> tzinfo = get_timezone('Europe/Paris')
    >>> t = _localize(tzinfo, t)
    >>> format_time(t, format='full', tzinfo=tzinfo, locale='fr_FR')
    '15:30:00 heure d’été d’Europe centrale'
    >>> format_time(t, "hh 'o''clock' a, zzzz", tzinfo=get_timezone('US/Eastern'),
    ...             locale='en')
    u"09 o'clock AM, Eastern Daylight Time"

    As that example shows, when this function gets passed a
    ``datetime.datetime`` value, the actual time in the formatted string is
    adjusted to the timezone specified by the `tzinfo` parameter. If the
    ``datetime`` is "naive" (i.e. it has no associated timezone information),
    it is assumed to be in UTC.

    These timezone calculations are **not** performed if the value is of type
    ``datetime.time``, as without date information there's no way to determine
    what a given time would translate to in a different timezone without
    information about whether daylight savings time is in effect or not. This
    means that time values are left as-is, and the value of the `tzinfo`
    parameter is only used to display the timezone name if needed:

    >>> t = time(15, 30)
    >>> format_time(t, format='full', tzinfo=get_timezone('Europe/Paris'),
    ...             locale='fr_FR')
    u'15:30:00 heure normale d\u2019Europe centrale'
    >>> format_time(t, format='full', tzinfo=get_timezone('US/Eastern'),
    ...             locale='en_US')
    u'3:30:00\u202fPM Eastern Standard Time'

    :param time: the ``time`` or ``datetime`` object; if `None`, the current
                 time in UTC is used
    :param format: one of "full", "long", "medium", or "short", or a custom
                   date/time pattern
    :param tzinfo: the time-zone to apply to the time for display
    :param locale: a `Locale` object or a locale identifier
    Nrr�)�reference_date)	r0r-rDrNr	rarr�r�)r5rr#r^�ref_dates     r'r�r��s���~)��x�/@�A�A�K�t�y�y�{�{�{�t�H��T�6�"�"�D�
�\�&�
!�
!�F�
�4�4�4� ���7�7�7���� � �&�&�t�V�H�&�M�M�Mr)T�skeleton�fuzzyc��tj|��}|r||jvrt||j��}|j|}t	||||��S)a�Return a time and/or date formatted according to the given pattern.

    The skeletons are defined in the CLDR data and provide more flexibility
    than the simple short/long/medium formats, but are a bit harder to use.
    The are defined using the date/time symbols without order or punctuation
    and map to a suitable format for the given locale.

    >>> from datetime import datetime
    >>> t = datetime(2007, 4, 1, 15, 30)
    >>> format_skeleton('MMMEd', t, locale='fr')
    u'dim. 1 avr.'
    >>> format_skeleton('MMMEd', t, locale='en')
    u'Sun, Apr 1'
    >>> format_skeleton('yMMd', t, locale='fi')  # yMMd is not in the Finnish locale; yMd gets used
    u'1.4.2007'
    >>> format_skeleton('yMMd', t, fuzzy=False, locale='fi')  # yMMd is not in the Finnish locale, an error is thrown
    Traceback (most recent call last):
        ...
    KeyError: yMMd

    After the skeleton is resolved to a pattern `format_datetime` is called so
    all timezone processing etc is the same as for that.

    :param skeleton: A date time skeleton as defined in the cldr data.
    :param datetime: the ``time`` or ``datetime`` object; if `None`, the current
                 time in UTC is used
    :param tzinfo: the time-zone to apply to the time for display
    :param fuzzy: If the skeleton is not found, allow choosing a skeleton that's
                  close enough to it.
    :param locale: a `Locale` object or a locale identifier
    )r	ra�datetime_skeletons�match_skeletonr�)r�r-r#r�r^rs      r'�format_skeletonr�#s]��L�\�&�
!�
!�F��G���!:�:�:�!�(�F�,E�F�F��
�
&�x�
0�F��8�V�V�V�<�<�<r)))�yeari�3�)�monthi�')�weeki�:	)�day�Q)�hourr�)�minuter�)�secondr�ztuple[tuple[str, int], ...]�TIMEDELTA_UNITSr�g333333�?�delta�datetime.timedelta | int�granularity�CLiteral['year', 'month', 'week', 'day', 'hour', 'minute', 'second']�	thresholdrA�
add_direction�,Literal['narrow', 'short', 'medium', 'long']c������
��dvrtd����dkrtjdt���d�t	|t
j��r t|jdz|j	z���
n|�
tj��������
fd�}tD]�\}}t�
��|z}	|	|ks||kr�||kr|	d	krtd
|	��}	tt|	����}	��|	��}
d}||��D]0}|�,|�|
��p|�d��}n�1|�d
S|�dt'|	����cS��d
S)a�	Return a time delta according to the rules of the given locale.

    >>> from datetime import timedelta
    >>> format_timedelta(timedelta(weeks=12), locale='en_US')
    u'3 months'
    >>> format_timedelta(timedelta(seconds=1), locale='es')
    u'1 segundo'

    The granularity parameter can be provided to alter the lowest unit
    presented, which defaults to a second.

    >>> format_timedelta(timedelta(hours=3), granularity='day', locale='en_US')
    u'1 day'

    The threshold parameter can be used to determine at which value the
    presentation switches to the next higher unit. A higher threshold factor
    means the presentation will switch later. For example:

    >>> format_timedelta(timedelta(hours=23), threshold=0.9, locale='en_US')
    u'1 day'
    >>> format_timedelta(timedelta(hours=23), threshold=1.1, locale='en_US')
    u'23 hours'

    In addition directional information can be provided that informs
    the user if the date is in the past or in the future:

    >>> format_timedelta(timedelta(hours=1), add_direction=True, locale='en')
    u'in 1 hour'
    >>> format_timedelta(timedelta(hours=-1), add_direction=True, locale='en')
    u'1 hour ago'

    The format parameter controls how compact or wide the presentation is:

    >>> format_timedelta(timedelta(hours=3), format='short', locale='en')
    u'3 hr'
    >>> format_timedelta(timedelta(hours=3), format='narrow', locale='en')
    u'3h'

    :param delta: a ``timedelta`` object representing the time difference to
                  format, or the delta in seconds as an `int` value
    :param granularity: determines the smallest unit that should be displayed,
                        the value can be one of "year", "month", "week", "day",
                        "hour", "minute" or "second"
    :param threshold: factor that determines at which point the presentation
                      switches to the next higher unit
    :param add_direction: if this flag is set to `True` the return value will
                          include directional information.  For instance a
                          positive timedelta will include the information about
                          it being in the future, a negative will be information
                          about the value being in the past.
    :param format: the format, can be "narrow", "short" or "long". (
                   "medium" is deprecated, currently converted to "long" to
                   maintain compatibility)
    :param locale: a `Locale` object or a locale identifier
    )�narrowrrrz1Format must be one of "narrow", "short" or "long"rzU"medium" value for format param of format_timedelta is deprecated. Use "long" instead)�categoryrr�c3���K��r.�jd|}�dkr|dV�n
|dV�d|��}�jd�|i������V�dS)N�date_fieldsr�future�pastz	duration-�
unit_patterns)�_datar�)�a_unit�unit_rel_patternsr�rr^r�s  ����r'�_iter_patternsz(format_timedelta.<locals>._iter_patterns�s�������	0� &��]� ;�F� C���!�|�|�'��1�1�1�1�1�'��/�/�/�/�%�V�%�%���l�?�+�/�/���;�;�?�?��G�G�G�G�G�G�Gr)rr�N�otherr�r�)�	TypeError�warnings�warn�DeprecationWarningr0r-�	timedeltar3rgr�r	rar��abs�max�round�plural_formr�r%r1)r�r�r�r�rr^r��unit�
secs_per_unit�valuer�r�r{r�s   ```       @r'�format_timedeltar[s�������~�:�:�:��K�L�L�L�
�����
�;�1�	3�	3�	3�	3����%��+�,�,���u�z�E�)�U�]�:�;�;�����
�\�&�
!�
!�F�H�H�H�H�H�H�H�H� /�6�6���m��G���}�,���I�����!4�!4��{�"�"�u�q�y�y��A�u�
�
����e���%�%�E� �,�,�U�3�3�K��G�*�N�4�0�0�
�
���'�&�l�l�;�7�7�P�8�<�<��;P�;P�G��E�(����r�r��?�?�5�#�e�*�*�5�5�5�5�5�"5��2r)�start�end�
str | Nonec�������jvr���fd�}nItd�||fD����r�fd�}n(td�||fD����r��fd�}n��fd�}||��}||��}||kr||��S�j�dd���d|���d	|��S)
Nc�*��t�|�����S�Nr�)r�)rr^r�r#s ���r'�<lambda>z+_format_fallback_interval.<locals>.<lambda>�s���O�H�b�&��P�P�P�r)c3�K�|]9}t|tj��ot|tj��V��:dS�N)r0r-rD��.0�ds  r'�	<genexpr>z,_format_fallback_interval.<locals>.<genexpr>�sD����k�k�YZ�j��H�M�*�*�S�:�a��AR�3S�3S�/S�k�k�k�k�k�kr)c�&��t|����Sr)r�)rr^s �r'rz+_format_fallback_interval.<locals>.<lambda>�s���K��6�:�:�:�r)c3�K�|]9}t|tj��ot|tj��V��:dSr
)r0r-r5rDrs  r'rz,_format_fallback_interval.<locals>.<genexpr>�sC����g�g�UV�j��H�M�*�*�O�:�a���3O�3O�/O�g�g�g�g�g�gr)c�(��t|�����S�Nr�)r��rr^r#s ��r'rz+_format_fallback_interval.<locals>.<lambda>�s���K��6�&�I�I�I�r)c�(��t|�����Sr)r�rs ��r'rz+_format_fallback_interval.<locals>.<lambda>�s���O�B�v�f�M�M�M�r)z{0}-{1}r�r�)r��all�interval_formatsr�r%)rrr�r#r^r�formatted_start�
formatted_ends  ```   r'�_format_fallback_intervalr�s������6�,�,�,�P�P�P�P�P�P���	�k�k�_d�fi�^j�k�k�k�	k�	k�N�:�:�:�:���	�g�g�[`�be�Zf�g�g�g�	g�	g�N�I�I�I�I�I���M�M�M�M�M���f�U�m�m�O��F�3�K�K�M��-�'�'��v�e�}�}��	��#�#�D�)�4�4�����'�'����}�%�%�r)c	���tj�����j}||vs|s,|r|rt||��}nd}|st	||||���S||}||krt||||����St
t|��|���}t
t|��|���}t|����}t|����}	tD]k}
|
|vre|�
|
��|	�
|
��kr9d��fd�t||
||f��D����cS�lt	||||���S)u�
    Format an interval between two instants according to the locale's rules.

    >>> from datetime import date, time
    >>> format_interval(date(2016, 1, 15), date(2016, 1, 17), "yMd", locale="fi")
    u'15.–17.1.2016'

    >>> format_interval(time(12, 12), time(16, 16), "Hm", locale="en_GB")
    '12:12–16:16'

    >>> format_interval(time(5, 12), time(16, 16), "hm", locale="en_US")
    '5:12 AM – 4:16 PM'

    >>> format_interval(time(16, 18), time(16, 24), "Hm", locale="it")
    '16:18–16:24'

    If the start instant equals the end instant, the interval is formatted like the instant.

    >>> format_interval(time(16, 18), time(16, 18), "Hm", locale="it")
    '16:18'

    Unknown skeletons fall back to "default" formatting.

    >>> format_interval(date(2015, 1, 1), date(2017, 1, 1), "wzq", locale="ja")
    '2015/01/01~2017/01/01'

    >>> format_interval(time(16, 18), time(16, 24), "xxx", locale="ja")
    '16:18:00~16:24:00'

    >>> format_interval(date(2016, 1, 15), date(2016, 1, 17), "xxx", locale="de")
    '15.01.2016 – 17.01.2016'

    :param start: First instant (datetime/date/time)
    :param end: Second instant (datetime/date/time)
    :param skeleton: The "skeleton format" to use for formatting.
    :param tzinfo: tzinfo to use (if none is already attached)
    :param fuzzy: If the skeleton is not found, allow choosing a skeleton that's
                  close enough to it.
    :param locale: A locale object or identifier.
    :return: Formatted interval
    N)r�r^r"r�r�c3�d�K�|]*\}}t|���|���V��+dSr
)r�r�)rr�r?r^s   �r'rz"format_interval.<locals>.<genexpr>@sS�������$�G�W��g�&�&�,�,�W�f�=�=������r))
r	rarr�rr�rIr6�DateTimeFormat�PATTERN_CHAR_ORDER�extract�join�zip)rrr�r#r�r^r�skel_formats�	start_fmt�end_fmt�fields     `     r'�format_intervalr%�s����b�\�&�
!�
!�F��.���'�'�'�x�'��	��	�%�h�0@�A�A�H�H��H��	S�,�U�C��6�6�R�R�R�#�H�-�L���|�|��x���e�F�S�S�S�S�#�M�%�$8�$8��H�H�H�E�
!�-��"4�"4�V�
D�
D�
D�C��u�V�4�4�4�I��S��0�0�0�G�$�����L� � �Y�%6�%6�u�%=�%=����QV�AW�AW�%W�%W��7�7������|�E�*�U�C�L�9�9������
�
�
��%�U�C��6�6�J�J�Jr)�type�Literal['selection'] | Nonec��t||��}t|jdzdz|jdzz|jz��}tj|��}|j�|i���	��}|D] \}}|D]}d|vr|d|kr|ccS��!|D]�\}}|D]�}d|vrjd|vrf|d|dkr#|d|cxkr|dkr	nn8|ccSn1|d|cxkrdksnd|cxkr|dkr	nn|ccSdx}	}
d|vr||dkrd}	d	|vr||d	krd}
d|vr||dkrd}
d
|vrtd���|	r|
r|ccS�Ȍ�|dkrd
SdS)uy
    Get the day period ID for a given time.

    This ID can be used as a key for the period name dictionary.

    >>> from datetime import time
    >>> get_period_names(locale="de")[get_period_id(time(7, 42), locale="de")]
    u'Morgen'

    >>> get_period_id(time(0), locale="en_US")
    u'midnight'

    >>> get_period_id(time(0), type="selection", locale="en_US")
    u'night1'

    :param time: The time to inspect.
    :param tzinfo: The timezone for the time. See ``format_time``.
    :param type: The period type to use. Either "selection" or None.
                 The selection type is used for selecting among phrases such as
                 “Your email arrived yesterday evening” or “Your email arrived last night”.
    :param locale: the `Locale` object, or a locale string
    :return: period ID. Something is always returned -- even if it's just "am" or "pm".
    r��at�from�beforer�rFT�to�afterz$'after' is deprecated as of CLDR 29.i���am�pm)rNr3r�r�r�r	ra�day_period_rulesr��items�NotImplementedError)r5r#r&r^�seconds_past_midnight�rulesets�rule_id�rules�rule�start_ok�end_oks           r'�
get_period_idr:KsY��:�T�6�"�"�D���	�B��� 3�d�k�B�6F� F��� T�U�U��
�\�&�
!�
!�F��&�*�*�4��4�4�:�:�<�<�H�"�������	�	�D��t�|�|��T�
�.C� C� C��������	�#�������	�	�D���~�~�(�d�"2�"2���<�$�x�.�0�0��F�|�'<�M�M�M�M�t�H�~�M�M�M�M�M�&������N��F�|�'<�D�D�D�D�u�D�D�D�D��!6�G�G�G�G��h��G�G�G�G�G�&������ %�%�H�v���~�~�"7�4��<�"G�"G����t�|�|� 5��d�� C� C����4���$9�D��N�$J�$J����$���)�*P�Q�Q�Q��
�F�
��������3	�6�u�$�$��t��tr)c��eZdZdS)�
ParseErrorN)�__name__�
__module__�__qualname__�r)r'r<r<�s�������Dr)r<�string�
datetime.datec��tjd|��}|std���tjd|tj���}|rD	tjtt|�	�����S#t$rYnwxYwt||���j�
��}|�d��}|�d��}|dkr|�d	��}|�d
��}t|df|df|d
fg��}	d�t!|	��D��}	||	d}
t#|
��dkrdt|
��znt|
��}
t||	d��}t||	d
��}|dkr||}}tj|
||��S)a�Parse a date from a string.

    This function first tries to interpret the string as ISO-8601
    date format, then uses the date format for the locale as a hint to
    determine the order in which the date fields appear in the string.

    >>> parse_date('4/1/04', locale='en_US')
    datetime.date(2004, 4, 1)
    >>> parse_date('01.04.2004', locale='de_DE')
    datetime.date(2004, 4, 1)
    >>> parse_date('2004-04-01', locale='en_US')
    datetime.date(2004, 4, 1)
    >>> parse_date('2004-04-01', locale='de_DE')
    datetime.date(2004, 4, 1)

    :param string: the string containing the date
    :param locale: a `Locale` object or a locale identifier
    :param format: the format to use (see ``get_date_format``)
    �(\d+)�No numbers were found in inputz^(\d{4})-?([01]\d)-?([0-3]\d)$)�flagsrv�y�mr�lr
�Y�M�Dc�&�i|]\}}|d|��S�r�r@�r�idx�items   r'�
<dictcomp>zparse_date.<locals>.<dictcomp>��"��@�@�@�	��T�t�A�w��@�@�@r)�i��)�re�findallr<�match�ASCIIr-rD�mapr3�groupsr�rwr��lower�index�sorted�	enumerater�)
rAr^r�numbers�	iso_alike�
format_str�year_idx�	month_idx�day_idx�indexesr�r�r�s
             r'�
parse_daterg�s���0�j��6�*�*�G��;��9�:�:�:���:��r�x�1�1�1�I���	��=�#�c�9�+;�+;�+=�+=�">�">�?�?���	�	�	��D�	����!��v�>�>�>�F�L�L�N�N�J�����$�$�H�� � ��%�%�I��1�}�}��$�$�S�)�)�	����s�#�#�G��x��o�	�3�'7�'�3��H�I�I�G�@�@�Y�w�-?�-?�@�@�@�G�
�7�3�<� �D�"�4�y�y�A�~�~�4�#�d�)�)���3�t�9�9�D������%�&�&�E�

�g�g�c�l�#�
$�
$�C��r�z�z��%�s���=��u�c�*�*�*s�2A>�>
B�
Bc��tjd|��}|std���t||���j���}|�d��}|dkr|�d��}|�d��}|�d��}t|d	f|d
f|dfg��}d�t|��D��}d}	d
|vrd|���vrd}	dx}
}t||d	��|	z}t|��dkrIt||d
��}
t|��dkrt||d��}tj||
|��S)a�Parse a time from a string.

    This function uses the time format for the locale as a hint to determine
    the order in which the time fields appear in the string.

    >>> parse_time('15:30:00', locale='en_US')
    datetime.time(15, 30)

    :param string: the string containing the time
    :param locale: a `Locale` object or a locale identifier
    :param format: the format to use (see ``get_time_format``)
    :return: the parsed time
    :rtype: `time`
    rDrErv�hr�krH�s�HrK�Sc�&�i|]\}}|d|��SrNr@rOs   r'rRzparse_time.<locals>.<dictcomp>�rSr)�ar/rUr�rT)
rVrWr<rr�r\r]r^r_r3r�r-r5)
rAr^rr`rb�hour_idx�min_idx�sec_idxrf�hour_offsetr�r�r�s
             r'�
parse_timert�s���&�j��6�*�*�G��;��9�:�:�:�!��v�>�>�>�F�L�L�N�N�J�����$�$�H��!�|�|��#�#�C�(�(�����s�#�#�G����s�#�#�G��x��o���~���~�F�G�G�G�@�@�Y�w�-?�-?�@�@�@�G��K�
�j���T�V�\�\�^�^�3�3�����F�V��w�w�s�|�$�%�%��3�D�
�7�|�|�a����W�W�S�\�*�+�+���w�<�<�!��������.�/�/�F��=��v�v�.�.�.r)c�:�eZdZdd�Zdd�Zdd�Zdd
�Z	ddd�ZdS)rsr�r1rrc�"�||_||_dSr
)r�r)�selfr�rs   r'�__init__zDateTimePattern.__init__
s���������r)rc�B�dt|��j�d|j�d�S)N�<r��>)r&r=r��rws r'�__repr__zDateTimePattern.__repr__s&��:�4��:�:�&�:�:���:�:�:�:r)c��|j}|Sr
�r�)rw�pats  r'�__str__zDateTimePattern.__str__s���l���
r)r�c�N�t|t��stS|j|zSr
)r0r�NotImplementedr)rwr�s  r'�__mod__zDateTimePattern.__mod__s'���%��0�0�	"�!�!��{�U�"�"r)Nr-�datetime.date | datetime.timer^r_r�r�c�*�|t|||��zSr
)r)rwr-r^r�s    r'r�zDateTimePattern.applys���n�X�v�~�F�F�F�Fr))r�r1rr�rr1)r�rrr1r
)r-r�r^r_r�r�rr1)r=r>r?rxr}r�r�r�r@r)r'rsrss�����������;�;�;�;�����#�#�#�#�04�	G�G�G�G�G�G�Gr)c��eZdZ	d)d*d
�Zd+d
�Zd,d�Zd-d�Zd-d�Zd-d�Zd-d�Z	d-d�Z
d.d-d�Zd/d�Zd0d�Z
d-d�Zd/d�Zd�Zd-d�Zd1d"�Zd)d2d$�Zd)d3d(�ZdS)4rNrr�r^�Locale | strr�r�r�Nonec�J�t|tjtjtjf��sJ�t|tjtjf��r"|j�|�t���}||_tj	|��|_
||_dS)Nr")r0r-rDr5r#r%r4rr	rar^r�)rwrr^r�s    r'rxzDateTimeFormat.__init__(s����%�(�-��1B�H�M�!R�S�S�S�S�S��e�h�/���?�@�@�	.�U�\�EY��M�M��M�-�-�E���
��l�6�*�*���,����r)r�r1c��|d}t|��}|dkr|�||��S|dvr|�||��S|dvr|�||��S|dvr|�||��S|dvr|�||��S|dkr |�|jj|��S|dkr|�	|��S|d	kr|�
��S|d
vr|�||��S|dvr|�||��S|dkrL|jj
d
zdkr|�d
|��S|�|jj
d
z|��S|dkr |�|jj
|��S|dkr#|�|jj
d
z|��S|dkrF|jj
dkr|�d|��S|�|jj
|��S|dkr |�|jj|��S|dkr |�|jj|��S|dkr|�|��S|dkr|�|��S|dvr|�||��St'd|�����)Nr�G)rGrJ�u��Q�q�rK�L)�w�Wr
rL�F)�ErX�c)ro�b�BrirUrl�Krjr�rHrkrm�A)�zr��v�V�x�X�OzUnsupported date/time field )r��
format_era�format_year�format_quarter�format_month�format_weekrrr��format_day_of_year�format_day_of_week_in_month�format_weekday�
format_periodr�r�r��format_frac_seconds�format_milliseconds_in_day�format_timezone�KeyError)rwr��char�nums    r'�__getitem__zDateTimeFormat.__getitem__5s����A�w���$�i�i���3�;�;��?�?�4��-�-�-�
�_�
$�
$��#�#�D�#�.�.�.�
�Z�
�
��&�&�t�S�1�1�1�
�Z�
�
��$�$�T�3�/�/�/�
�Z�
�
��#�#�D�#�.�.�.�
�S�[�[��;�;�t�z�~�s�3�3�3�
�S�[�[��*�*�3�/�/�/�
�S�[�[��3�3�5�5�5�
�_�
$�
$��&�&�t�S�1�1�1�
�_�
$�
$��%�%�d�C�0�0�0�
�S�[�[��z���#�q�(�(��{�{�2�s�+�+�+��{�{�4�:�?�R�#7��=�=�=�
�S�[�[��;�;�t�z���4�4�4�
�S�[�[��;�;�t�z���3�S�9�9�9�
�S�[�[��z��!�#�#��{�{�2�s�+�+�+��{�{�4�:�?�C�8�8�8�
�S�[�[��;�;�t�z�0�#�6�6�6�
�S�[�[��;�;�t�z�0�#�6�6�6�
�S�[�[��+�+�C�0�0�0�
�S�[�[��2�2�3�7�7�7�
�8�
8�
8��'�'��c�2�2�2��B�$�B�B�C�C�Cr)r�r3c��t|��d}|dkr|jjS|dkr|jjS|dkr|jjS|dkr|jjS|dkr|jjdzpdS|dkr|jjS|d	krt|jjdk��Std
|�d|j�����)NrrGrKr
rlrirUrHrozNot implemented: extracting z from )	r1rr�r�r�r�r�r3r2)rwr�s  r'rzDateTimeFormat.extractgs����4�y�y��|���3�;�;��:�?�"�
�S�[�[��:�#�#�
�S�[�[��:�>�!�
�S�[�[��:�?�"�
�S�[�[��:�?�R�'�-�2�-�
�S�[�[��:�$�$�
�S�[�[��t�z��"�,�-�-�-�%�&a�T�&a�&a�SW�S]�&a�&a�b�b�br)r�c��dddd�td|��}t|jjdk��}t	||j��|S)N�abbreviatedrZr�����r�r)r�r3rr�rrr^)rwr�r�r[�eras     r'r�zDateTimeFormat.format_erazsK��!�f��:�:�3�q�#�;�;�G���$�*�/�Q�&�'�'���U�D�K�0�0��5�5r)c���|jj}|���r|j���d}|�||��}|dkr
|dd�}|S)NrrT���)rr��isupper�isocalendarr)rwr�r�rr�s     r'r�zDateTimeFormat.format_yearsa���
����<�<�>�>�	0��J�*�*�,�,�Q�/�E��{�{�5�#�&�&���!�8�8�����9�D��r)c��|jjdz
dzdz}|dkrd||fzSdddd�|}d	d
d�|}t|||j��|S)Nr�r�rT�%0*dr�rZr�r�rrr�)rr�rnr^)rwr�r��quarterr[r]s      r'r�zDateTimeFormat.format_quarter�sr���:�#�a�'�A�-��1���!�8�8��S�'�N�*�*�!�f��:�:�3�?�� �}�5�5�d�;�� �����=�=�g�F�Fr)c��|dkrd||jjfzSdddd�|}ddd	�|}t|||j��|jjS)
NrTr�r�rZr�r�rrr�)rr�rkr^)rwr�r�r[r]s     r'r�zDateTimeFormat.format_month�sd���!�8�8��S�$�*�"2�3�3�3�!�f��:�:�3�?�� �}�5�5�d�;���u�g�t�{�;�;�D�J�<L�M�Mr)c�t�|���r�|���}|�|��}|dkrX|jt	j|���z
}|�|�|��|�����}|�||��S|�|jj��}|dkrT|jt	j|jj���z
}|�|j|�����}t|��S)Nr)rg)
�islower�get_day_of_year�get_week_numberrr-r��weekdayrr�r1)rwr�r��day_of_yearr�rDs      r'r�zDateTimeFormat.format_week�s���<�<�>�>�
	��.�.�0�0�K��'�'��4�4�D��q�y�y��z�H�$6�K�$H�$H�$H�H���+�+�D�,@�,@��,F�,F�,0�L�L�N�N�<�<���;�;�t�S�)�)�)��'�'��
��7�7�D��q�y�y��z�H�$6�D�J�N�$K�$K�$K�K���+�+�D�H�d�l�l�n�n�E�E���t�9�9�r)r�r�c�\�|dkr[|���rEd|jjz
|j���z}|�|dzdz|��Sd}|j���}ddddd�|}|d	krd
nd}t
|||j��|S)a�
        Return weekday from parsed datetime according to format pattern.

        >>> from datetime import date
        >>> format = DateTimeFormat(date(2016, 2, 28), Locale.parse('en_US'))
        >>> format.format_weekday()
        u'Sunday'

        'E': Day of week - Use one through three letters for the abbreviated day name, four for the full (wide) name,
             five for the narrow name, or six for the short name.
        >>> format.format_weekday('E',2)
        u'Sun'

        'e': Local day of week. Same as E except adds a numeric value that will depend on the local starting day of the
             week, using one or two letters. For this example, Monday is the first day of the week.
        >>> format.format_weekday('e',2)
        '01'

        'c': Stand-Alone local day of week - Use one letter for the local numeric value (same as 'e'), three for the
             abbreviated day name, four for the full (wide) name, five for the narrow name, or six for the short name.
        >>> format.format_weekday('c',1)
        '1'

        :param char: pattern format character ('e','E','c')
        :param num: count of format character

        r��r�r�rZr�r)r�r�r��r�rr)r�r^�first_week_dayrr�rrh)rwr�r�rr�r[r]s       r'r�zDateTimeFormat.format_weekday�s���8��7�7��|�|�~�~�
7��D�K�6�6���9K�9K�9M�9M�M���{�{�5�1�9�q�=�#�6�6�6��C��*�$�$�&�&��!�f��g�F�F�s�K��#'�3�;�;�-�-�H���U�G�T�[�9�9�'�B�Br)c�R�|�|���|��Sr
)rr�)rwr�s  r'r�z!DateTimeFormat.format_day_of_year�s"���{�{�4�/�/�1�1�3�7�7�7r)c�F�t|jjdz
dzdz��S)Nr�r�)r1rr�r|s r'r�z*DateTimeFormat.format_day_of_week_in_month�s#���D�J�N�Q�&�1�,�q�0�1�1�1r)c�J�dddd�td|��dddg}|dkr|jjdkrdnd	}d
}n%t|j|j���}|dkrd
nd
}|D]'}t|||j���}||vr
||cS�(t
d|�d|j�����)uY
        Return period from parsed datetime according to format pattern.

        >>> from datetime import datetime, time
        >>> format = DateTimeFormat(time(13, 42), 'fi_FI')
        >>> format.format_period('a', 1)
        u'ip.'
        >>> format.format_period('b', 1)
        u'iltap.'
        >>> format.format_period('b', 4)
        u'iltapäivä'
        >>> format.format_period('B', 4)
        u'iltapäivällä'
        >>> format.format_period('B', 5)
        u'ip.'

        >>> format = DateTimeFormat(datetime(2022, 4, 28, 6, 27), 'zh_Hant')
        >>> format.format_period('a', 1)
        u'上午'
        >>> format.format_period('b', 1)
        u'清晨'
        >>> format.format_period('B', 1)
        u'清晨'

        :param char: pattern format character ('a', 'b', 'B')
        :param num: count of format character

        r�rZr�r�r�rorUr/r.rr�r�r)r]r[r^zCould not format period z in )r�rr�r:r^rdr�)rwr�r��widths�periodr]r[�period_namess        r'r�zDateTimeFormat.format_period�s���:$��8�<�<�S��C�[�[�I��(�M�3���3�;�;�!�Z�_��2�2�T�T��F��G�G�"�4�:�d�k�B�B�B�F�"&�#�+�+�h�h�=�G��	,�	,�E�+�G�5�QU�Q\�]�]�]�L���%�%�#�F�+�+�+�+�&��M�F�M�M���M�M�N�N�Nr)c�t�|jjdz}|�t||��d|zz|��S)z� Return fractional seconds.

        Rounds the time's microseconds to the precision given by the number         of digits passed in.
        i@B�
)r�microsecondrr�)rwr�rs   r'r�z"DateTimeFormat.format_frac_seconds�s:���
�&��0���{�{�5���,�,�r�3�w�6��<�<�<r)c��|jjdz|jjdzz|jjdzz|jjdzz}|�||��S)Ni�i`�i��6)rr�r�r�r�r)rwr��msecss   r'r�z)DateTimeFormat.format_milliseconds_in_daysX���
�&�$�.���1B�T�1I�I��J���%�&�(,�
��'�(A�B���{�{�5�#�&�&�&r)c�j�dddd�td|��}|j}|jr*tj�|j|j��}|dkrt|||j���S|dkr5|d	krt|||jd
���St|||j���S|dkr|d
krt|||j���SdS|dkrt|j||j���S|dkr�|dkrt|j|d
|j���S|dkrt|j|jd
���S|dkrt|j|jd
���St|j|j���S|dkrX|dkrt|d|jd
���S|dvrt|d|jd
���S|dvrt|d|jd
���SdS|dkrS|dkrt|d|j���S|dvrt|d|j���S|dvrt|d|j���SdSdS)Nrrr�r�r�r�r�r�r�T)r^r�r�r�r�r�r�)r�r^rT)r^r�)r^r�r�r�)r[r^r�)rTr�)r�r�r�rq)
r�rr�r-rCr�r^r�r#r�)rwr�r�r[rs     r'r�zDateTimeFormat.format_timezones�����9�5�5�c�!�S�k�k�B��
�
����	O��%�-�-�d�.A�4�:�N�N�E��3�;�;�$�U�E�$�+�F�F�F�F�
�S�[�[��a�x�x�'��u�T�[�SW�X�X�X�X�#�E�5���E�E�E�E�
�S�[�[��a�x�x�'��u�T�[�I�I�I�I��x��S�[�[�$�U�\�5�,0�K�9�9�9�
9�
�S�[�[��a�x�x�(���u�26�t�{�L�L�L�L�����(���d�k�W[�\�\�\�\�����,�U�\�$�+�[_�`�`�`�`�(���d�k�J�J�J�J�
�S�[�[��a�x�x�'��_�T�[�15�7�7�7�7�����'��W�T�[�15�7�7�7�7�����'��Y�t�{�15�7�7�7�7����S�[�[��a�x�x�'��_�T�[�Y�Y�Y�Y�����'��W�T�[�Q�Q�Q�Q�����'��Y�t�{�S�S�S�S�
�[�
�r)r�lengthc��d||fzS)Nr�r@)rwrr�s   r'rzDateTimeFormat.format?s������'�'r)rDc�X�|�|j}||�dd���z
jdzS)Nr�)r�r�)rr%rg)rwrDs  r'r�zDateTimeFormat.get_day_of_yearBs1���<��:�D��t�|�|�!��|�3�3�3�9�A�=�=r)�
day_of_period�day_of_week�
int | Nonec�p�|�|j���}||jjz
|z
dzdz}|dkr|dz
}||zdz
dz}d|z
|jjkr|dz
}|jjdkrDtj|jjdd������d}||kr||z}|S)aAReturn the number of the week of a day within a period. This may be
        the week number in a year or the week number in a month.

        Usually this will return a value equal to or greater than 1, but if the
        first week of the period is so short that it actually counts as the last
        week of the previous period, this function will return 0.

        >>> date = datetime.date(2006, 1, 8)
        >>> DateTimeFormat(date, 'de_DE').get_week_number(6)
        1
        >>> DateTimeFormat(date, 'en_US').get_week_number(6)
        2

        :param day_of_period: the number of the day in the period (usually
                              either the day of month or the day of year)
        :param day_of_week: the week day; if omitted, the week day of the
                            current date is assumed
        Nr�r�r�rU)r�r�r�)	rr�r^r��
min_week_daysr-rDr�r�)rwr�r��	first_day�week_number�	max_weekss      r'r�zDateTimeFormat.get_week_numberGs���&���*�,�,�.�.�K� �4�;�#=�=�"�#�%&�'�*+�,�	��q�=�=���N�I�$�y�0�1�4��:���y�=�D�K�5�5�5��1��K��;�%��*�*�!�
�4�:�?��"�M�M�M�Y�Y�[�[�\]�^�I��Y�&�&��y�(���r)r
)rr�r^r�r�r�rr�)r�r1rr1)r�r1rr3)r�r1r�r3rr1)r�r�)r�r3rr1r�)rrr�r3rr1)rDr�rr3)r�r3r�r�rr3)r=r>r?rxr�rr�r�r�r�r�r�r�r�r�r�r�r�rr�r�r@r)r'rr&s�������04�	-�-�-�-�-�0D�0D�0D�0D�dc�c�c�c�&6�6�6�6�
����G�G�G�G�N�N�N�N����� $C�$C�$C�$C�$C�L8�8�8�8�2�2�2�2�)O�)O�)O�)O�V=�=�=�=�'�'�'�
1T�1T�1T�1T�f(�(�(�(�>�>�>�>�>�
(�(�(�(�(�(�(r)rr�)r�rTr�r�r�rGrJr�r�r�rKr�r�r�rTr�r
rL)r�rTr�r��gr�)r�rTr�r�r�r�rXr�)r�r�r�r�r�ror�r�rirlr�rjrHrkrmr�r�)r�rTr�r�r�r�r�r�r�r�r�zdict[str, list[int] | None]�
PATTERN_CHARS�(GyYuUQqMLlwWdDFgEecabBChHKkjJmsSAzZOvVXxr��str | DateTimePatternc�N�t|t��r|St|��S)aParse date, time, and datetime format patterns.

    >>> parse_pattern("MMMMd").format
    u'%(MMMM)s%(d)s'
    >>> parse_pattern("MMM d, yyyy").format
    u'%(MMM)s %(d)s, %(yyyy)s'

    Pattern can contain literal strings in single quotes:

    >>> parse_pattern("H:mm' Uhr 'z").format
    u'%(H)s:%(mm)s Uhr %(z)s'

    An actual single quote can be used by using two adjacent single quote
    characters:

    >>> parse_pattern("hh' o''clock'").format
    u"%(hh)s o'clock"

    :param pattern: the formatting pattern to parse
    )r0rs�_cached_parse_patternrs r'r�r��s)��*�'�?�+�+���� ��)�)�)r)i)�maxsizec��g}t|��D]�\}}|dkr*|�|�dd�����5|dkrI|\}}t|}|r||vrt	d||z�����|�d||zz����td|�����t
|d�|����S)	N�chars�%z%%r$zInvalid length for field: z%%(%s)szUnknown token type: r�)�tokenize_pattern�appendr%r�r�r2rsr)r��result�tok_type�	tok_value�	fieldchar�fieldnum�limits       r'r�r��s���
�F�/��8�8�
I�
I���)��w����M�M�)�+�+�C��6�6�7�7�7�7�
��
 �
 �"+��I�x�!�)�,�E��
X���.�.� �!V�i�(�>R�!V�!V�W�W�W��M�M�)�y�8�';�<�=�=�=�=�%�&G�X�&G�&G�H�H�H��7�B�G�G�F�O�O�4�4�4r)�'list[tuple[str, str | tuple[str, int]]]c�\�����g�d}g�dg�dg���fd�}���fd�}|�dd��D]�}|��|dkr"�dr|��n�r
|��g}�,|tvrF�r
|��|�dkr�dxxd	z
cc<�^�dr
|��|�d<d	�d<�{�dr
|����|����|�3|dkr��|��d}��|�|���ىdr|��n�r
|���S)
ay
    Tokenize date format patterns.

    Returns a list of (token_type, token_value) tuples.

    ``token_type`` may be either "chars" or "field".

    For "chars" tokens, the value is the literal value.

    For "field" tokens, the value is a tuple of (field character, repetition count).

    :param pattern: Pattern string
    :type pattern: str
    :rtype: list[tuple]
    Nr�rc�����dd�����dd��f���dd�=dS)Nr�r��r�)r�rr%)�charbufr�s��r'�append_charsz&tokenize_pattern.<locals>.append_chars�sE����
�
�w����� 0� 0� 8� 8��s� C� C�D�E�E�E��A�A�A�J�J�Jr)c�f����d�d�dff��d�d<d�d<dS)Nr$rr�)r�)r�r�r�s���r'�append_fieldz&tokenize_pattern.<locals>.append_field�s=����
�
�w��1��x��{� ;�<�=�=�=��	�!�������r)�''r�r�r�)r%r�r��extend)	r��quotebufr�r�r�r�r�r�r�s	     @@@@r'r�r��s������� �F��H��G���I��s�H��������������
����d�+�+�&�&�����s�{�{��Q�<�#� �L�N�N�N�N��#� �L�N�N�N������&�&��#� �L�N�N�N��9�Q�<�'�'��Q�K�K�K�1�$�K�K�K�K� ��|�'�$�����#'�I�a�L�"#�H�Q�K�K��Q�<�#� �L�N�N�N����t�$�$�$�$�
�
!��s�{�{����x�(�(�(��������%�%�%����|��������	��������Mr)�tokens�+Iterable[tuple[str, str | tuple[str, int]]]c�X�g}|D]�\}}|dkr%|�|d|dz���0|dkr[td�|D����s|�|���e|�d|�dd��z����d	�|��S)
z�
    Turn a date format pattern token stream back into a string.

    This is the reverse operation of ``tokenize_pattern``.

    :type tokens: Iterable[tuple]
    :rtype: str
    r$rr�r�c3�(K�|]
}|tvV��dSr
)r�)r�chs  r'rz%untokenize_pattern.<locals>.<genexpr>s'����?�?�r�r�]�*�?�?�?�?�?�?r)z'%s'r�r�r�)r��anyr%r)r�outputr�r�s    r'�untokenize_patternr	�s����F�%�E�E���)��w����M�M�)�A�,��1��5�6�6�6�6�
��
 �
 ��?�?�Y�?�?�?�?�?�
E��
�
�i�(�(�(�(��
�
�f�y�'8�'8��d�'C�'C�C�D�D�D��
�7�7�6�?�?�r)�	list[str]c�H�t��}gg}t|��D]v\}}|dkrN|d|vr)|�g��|���|�|d��|d�||f���wd�|D��S)u
    Split an interval-describing datetime pattern into multiple pieces.

    > The pattern is then designed to be broken up into two pieces by determining the first repeating field.
    - https://www.unicode.org/reports/tr35/tr35-dates.html#intervalFormats

    >>> split_interval_pattern(u'E d.M. – E d.M.')
    [u'E d.M. – ', 'E d.M.']
    >>> split_interval_pattern("Y 'text' Y 'more text'")
    ["Y 'text '", "Y 'more text'"]
    >>> split_interval_pattern(u"E, MMM d – E")
    [u'E, MMM d – ', u'E']
    >>> split_interval_pattern("MMM d")
    ['MMM d']
    >>> split_interval_pattern("y G")
    ['y G']
    >>> split_interval_pattern(u"MMM d – d")
    [u'MMM d – ', u'd']

    :param pattern: Interval pattern string
    :return: list of "subpatterns"
    r$r���c�,�g|]}t|����Sr@)r	)rrs  r'�
<listcomp>z*split_interval_pattern.<locals>.<listcomp>1s!��;�;�;�6��v�&�&�;�;�;r))�setr�r��clear�add)r��seen_fields�partsr�r�s     r'�split_interval_patternrs���0�%�%�K�
�D�E�/��8�8�0�0���)��w�����|�{�*�*����R� � � ��!�!�#�#�#��O�O�I�a�L�)�)�)�
�b�	���(�I�.�/�/�/�/�;�;�U�;�;�;�;r)�options�
Iterable[str]�allow_different_fieldsc��td�|D����}d|vr/td�|D����s|�dd��}td�t	|��D����j}d}d}|D]�}td�t	|��D����j}d}tD]r}	||	d��}
||	d��}|
|kr�!|dks|
dkr|sd}n@|d	z
}�9|	d
kr|
dkr|dks|
dkr|dkr|dz
}�]|t|
|z
��z
}�s|s��|r||kr|}|}|dkrn��|S)
a�
    Find the closest match for the given datetime skeleton among the options given.

    This uses the rules outlined in the TR35 document.

    >>> match_skeleton('yMMd', ('yMd', 'yMMMd'))
    'yMd'

    >>> match_skeleton('yMMd', ('jyMMd',), allow_different_fields=True)
    'jyMMd'

    >>> match_skeleton('yMMd', ('qyMMd',), allow_different_fields=False)

    >>> match_skeleton('hmz', ('hmv',))
    'hmv'

    :param skeleton: The skeleton to match
    :type skeleton: str
    :param options: An iterable of other skeletons to match against
    :type options: Iterable[str]
    :return: The closest skeleton match, or if no match was found, None.
    :rtype: str|None
    c3�K�|]}|�|V��	dSr
r@�r�options  r'rz!match_skeleton.<locals>.<genexpr>Ss'����<�<��V�<�V�<�<�<�<�<�<r)r�c3�K�|]}d|vV��	dS)r�Nr@rs  r'rz!match_skeleton.<locals>.<genexpr>Us&����"G�"G�V�3�&�=�"G�"G�"G�"G�"G�"Gr)r�c3�>K�|]}|ddk�|dV��dS�rr$r�Nr@�r�ts  r'rz!match_skeleton.<locals>.<genexpr>Xs/���� ]� ]�!�Q�q�T�U\�_�_��1��_�_�_�_� ]� ]r)Nc3�>K�|]}|ddk�|dV��dSrr@rs  r'rz!match_skeleton.<locals>.<genexpr>\s/����"]�"]�A�Q�q�T�U\�_�_�1�Q�4�_�_�_�_�"]�"]r)rirKrT�)r^rr%�dictr�r�r�r�)r�rr�get_input_field_width�
best_skeleton�
best_distancer�get_opt_field_width�distancer$�input_width�	opt_widths            r'r�r�4s���>�<�<�'�<�<�<�<�<�G�
�h���s�"G�"G�w�"G�"G�"G�G�G���#�#�C��-�-�� � ]� ]�/?��/I�/I� ]� ]� ]�]�]�a���M��M�����"�"]�"]�1A�&�1I�1I�"]�"]�"]�]�]�a����"�
	9�
	9�E�/�/��q�9�9�K�+�+�E�1�5�5�I��i�'�'���A�~�~���!1�!1�-��!�F��E��F�"����#���K�!�O�O�	�Q���K�[\�L\�L\�aj�mn�an�an��E�!����C��i� 7�8�8�8����	���	%��=� 8� 8�"�M�$�M��q�=�=��E���r))rrrrrr)r*rrr+)r*rrr1)r?rrrr
)rrr#rFrr)r5rJr#rFrrK)r:rOrr)r[r\r]rr^r_rr)r[rer]rr^r_rr)r[r\r^r_rr)rrr^r_rrs)
r-rr[r�r^r_r�r�rr1)r*rr^r_r�r�rr1)r*rr[r�r�r�r^r_r�r�r�r�rr1)rDr�rr�r^r_rr1)
r-rrr�r#rFr^r_rr1)
r5r�rr�r#rFr^r_rr1)r�r1r-rr#rFr�r�r^r_rr1)r�r�r�r�r�rAr�r�rr�r^r_rr1)rrrrr�rr#rFr^r_rr1)rrrrr�rr#rFr�r�r^r_rr1)
r5rr#rFr&r'r^r_rr1)rAr1r^r_rrrrB)rAr1r^r_rrrrK)r�r�rrs)r�r1rrs)r�r1rr�)rrrr1)r�r1rr
)F)r�r1rrrr�rr)U�__doc__�
__future__rrVr��	functoolsr�typingrrrQ�ModuleNotFoundErrorrTr-�collections.abcr�babelr�
babel.corer	r
r�babel.localedatar�typing_extensionsr
rrDr5rAr�__annotations__rrr#r1r3rr�rR�utcr4r/rr(r8r>r6rIrNr2rdrhrkrnrrrwr|rr�r�r�r�r�r�r�r�rrr%r:r�r<rgrtrsrr�rr�r�r�r	rr�r@r)r'�<module>r7sG	�����"#�"�"�"�"�"�	�	�	�	�����������-�-�-�-�-�-�-�-���K�K�K�K�������D��O�O�O�O�O���������$�$�$�$�$�$�������9�9�9�9�9�9�9�9�9�9�+�+�+�+�+�+��d�4�4�4�4�4�4�4�4�"�-�(�-�7�%�?�$�F�H�F�F�F�F�'.�/P�'Q��Q�Q�Q�Q�!�"9�:�H�:�:�:�:�%�.���@�3�F��L�x�}�\�_c�c�K�c�c�c�c�-������
�
��
�.��
#�
#������"����4?�?�?�?�(�(�(�(�V�����@&*������>;�;�;�;�;�@HN�)6�V]�<�<�<�<�<�NT�&.�g�5�5�5�5�5�(GM�(0�PW�7�7�7�7�7�$IO�*2�RY�9�9�9�9�9�$EK�07�,�,�,�,�,�5=�\c�
5�
5�
5�
5�
5� 9A�`g������"5=�\c�
5�
5�
5�
5�
5�"�BH�")��	9,�9,�9,�9,�9,�z!%�")��M�M�M�M�M�b!%�&,��")�FJ��
w>�w>�w>�w>�w>�v"&�*2�")�#'�#'�#'�#'�#'�N�*2�%)�")�	'=�'=�'=�'=�'=�V>B�*2�%)��FN�FN�FN�FN�FN�V�%)��")�*=�*=�*=�*=�*=�Z0������X`���;A�")�
g�g�g�g�g�^#*������@ �%)��")�
fK�fK�fK�fK�fK�V&*�(,�")�	I�I�I�I�I�X	�	�	�	�	��	�	�	�#*�$,�9+�9+�9+�9+�9+�|#*�$,�1/�1/�1/�1/�1/�hG�G�G�G�G�G�G�G�6I�I�I�I�I�I�I�I�X
.�����.���.��D�.��t�.�����.�����.�����	.�����	.�
�!�Q��.�
�q�c�.��!�Q��
.��i�i�i�
.�"%�q�c�
.�,/��
.��	�	�	�.�!�"4�"4�"4�.�7:�?�?�?�.�.�����.�����.�14�_�_�_�.��!�Q��.��q�!�f�.�"�A�q�6�.�,/��A��.��!�Q��.��!�Q��.��d�.� ��.�����.��O�O�O�.�.1�1�a�&�.�;>��1�v�.�����.��O�O�O�.�.�.1�/�/�/�.�.�
�����&@��*�*�*�*�4��4����5�5�5���5�"B�B�B�B�J����*#<�#<�#<�#<�LC�C�C�C�C�C�Cs�&�4�4