
    x7#h                     2     G d  de       Z G d de      Zy)c                   &     e Zd ZdZdZ fdZ xZS )_CustomCalendarTypezHelper class for simple calendar customization.

    Renames child class public attributes keeping the original data under a new
    name with a `CUSTOM_ATTR_POSTFIX` postfix.

    Allows for better readability of customized lunisolar calendar dates.
    CUSTOM_CALENDARc                     d t        |j                               D        D ]   }||   || dt        j                   <   ||= " t        |   | |||      S )Nc              3   2   K   | ]  }|d    dk7  s|  yw)    _N ).0keys     Y/var/www/api/v1/venv_getwork_v1/lib/python3.12/site-packages/holidays/calendars/custom.py	<genexpr>z._CustomCalendarType.__new__.<locals>.<genexpr>   s     M$;Ss1v}S$;s   r   )tuplekeys_CustomCalendarCUSTOM_ATTR_POSTFIXsuper__new__)clsnamebases	namespaceattr	__class__s        r   r   z_CustomCalendarType.__new__   s^    ME)..*:$;MDIRSWIa C CDEF$ N wsD%;;    )__name__
__module____qualname____doc__r   r   __classcell__)r   s   @r   r   r      s     ,< <r   r   c                       e Zd Zy)r   N)r   r   r   r	   r   r   r   r   !   s    r   r   )	metaclassN)typer   r   r	   r   r   <module>r#      s   <$ <&	 3 	r   