a
    ze1                 M  @   s  d dl Z d dlZd dlZd dlZd dlZd dlmZ d dlZg dZ	dd Z
dd Zzd dlT W nJ ey   d	Zd
ZdZd ZdZdZdZdZeZdd ZdddZY n0 de vreZde vre
ZeZi Zeedd Zdd Z dddZ!dd Z"e#dZ$ddd Z%dd!d"Z&dd#d$Z'dd&d'Z(d(d) Zd*d+ Z)e*fd,d-Z+d.d/ Z,d0d1 Z-eZ.d2d3 Z/d4d5 Z0d6d7 Z1d8d9 Z2d:d; Z3dd=d>Z4efd?d@Z5ddAdZefdBdCZ6e j78dDrܐddEdFZ9nPze: W n: e;y   e<e dGrddHdFZ9nddIdFZ9Y n0 ddJdFZ9dKdKdLdMdMdNdOdPdQdRdLdSdTdUdLdLdLdVdWdXdYdUdZdSd[d\dTd]d^d_d`dMdadbdNdcdddedfdgdhdPdQdRdi,Z=e>e=? D ]"\Z@ZAe@BdjdkZ@e=Ce@eA qdldldldmdndodpdpdqdrdsdsdtdudvdwdwdxdydzd{d|d}d~dddddddddddddwddddddddddddddddddddddddddddddddddddKddKdKdtddKdKdddddddddtdddddddddddddddddddddddddddddddddddddddddddtdddddddddddddddddddtddddddddtddtdKdtdddddddddddddddddddddddddddddddddddddddd ddddddddddddddddd	d
d
dddddddddddddƐdddddddddddddddddddddddddddddd d!dddddtddtddtdڐd"d#d"d"d$d$d$ddd%d&d&d&d'd'd&d&d&d&d&d(d(d(d)d(d*d+d,d,d-d.d.d/d/d/d0d/d/d1d1d2d3d4d4d5d5d6d7d8d9d:d;d<d=d=d>d>d=d;d;d?d?d@dAdBdBdCdDdEdFdGdGdHdIdJdJdKdKdLdMdNdNdOdOdPdPdQdRdddSdTdUdVdWdXddYdddZdZd[d\d[d[d[d[d]d]d^d^d\d\dZd_d_d`dadbdbdcdddddedfdgdhdidjdidkdkdldldldmdndKdKdododpdmdndmdqdrdsdsdsdtdtdudsdvdwdwdxdydzd{d{d|d}d~dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddÐdĐdddƐdddȐdȐdɐdʐddddːdːd̐LZDd͐dΐdϐdАdѐdҐdӐdԐdՐd֐dאdؐdِdڐdېdܐdݐdސdߐddddddddddddddddddddddddddddddddddd ddddddddd	d
d	dddddddddddddddddddddd d!d"d#d$d%d&d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d^d_d`dadbdcdddedfdedgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~ddddddddddddddddddddddddZEdd ZFze W n e;y   Y n0 e	Gd eHdkreId eI  eF  eI  eId eI  e-  dS (      N)str)	getlocalegetdefaultlocalegetpreferredencodingError	setlocaleresetlocale
localeconvstrcollstrxfrmr   atofatoiformatformat_stringcurrency	normalizeLC_CTYPE
LC_COLLATELC_TIMELC_MONETARY
LC_NUMERICLC_ALLCHAR_MAXc                 C   s   | |k| |k  S N )abr   r   /usr/lib/python3.9/locale.py_strcoll!   s    r   c                 C   s   | S r   r   )sr   r   r   _strxfrm'   s    r    )*                     c                   C   s,   dgddddg dddddddddddddS )Nr"    .)groupingcurrency_symboln_sign_posnp_cs_precedesn_cs_precedesmon_groupingn_sep_by_spacedecimal_pointnegative_signpositive_signp_sep_by_spaceint_curr_symbolp_sign_posnthousands_sepmon_thousands_sepfrac_digitsmon_decimal_pointint_frac_digitsr   r   r   r   r   r	   ?   s&    r	   c                 C   s   |dvrt ddS )N)Nr)   Cz*_locale emulation only supports "C" localer=   )r   )categoryvaluer   r   r   r   W   s    r   r   r
   c                  C   s   t  } tr| t | S r   )_localeconv_override_localeconvupdate)dr   r   r   r	   l   s    
c                 c   sJ   d }| D ]<}|t kr d S |dkr:|d u r2td|V  q2|V  |}qd S )Nr   zinvalid grouping)r   
ValueError)r+   last_intervalintervalr   r   r   _grouping_intervalsz   s    rG   Fc           
      C   s   t  }||rdpd }||r dp"d }|s2| dfS | d dkr\|  }| t|d  }|} nd}d}g }t|D ]B}	| r| d d	vr| }d}  q|| |	 d   | d |	  } qp| r||  |  ||| | t|t|d
  fS )Nr9   r8   r0   r+   r    r)   
0123456789r'   )r	   rstriplenrG   appendreversejoin)
r   monetaryconvr8   r+   strippedright_spacesleft_spacesgroupsrF   r   r   r   _group   s2    
rV   c                 C   sd   d}|r&| | dkr&|d7 }|d8 }qt | d }|rT| | dkrT|d8 }|d8 }q2| ||d  S )Nr   rI   r'   )rL   )r   amountlposrposr   r   r   _strip_padding   s    

rZ   zG%(?:\((?P<key>.*?)\))?(?P<modifiers>[-#0-9 +*.hlL]*?)[eEfFgGdiouxXcrs%]c           	      G   s   |r| |f|  }n| | }| d dv r~d}| d}|rRt|d |d\|d< }t |r^dp`d }||}|rt||}n2| d dv rd}|rt||d\}}|rt||}|S )	NrH   eEfFgGr   r*   rP   r;   r2   diu)splitrV   r	   rO   rZ   )	percentr?   r+   rP   
additional	formattedsepspartsr2   r   r   r   _format   s*    


rd   c           
   	   C   s  t t| }td| }t|tjrjg }|D ]8}| d dkrN|d q.|t	| ||| q.nt|t
sz|f}g }d}|D ]t}| d dkr|d q|dd}	|t	| || ||g||d |d |	  R   |d|	 7 }qt
|}|| S )Nz%srH   %r   	modifiersr!   r'   )list_percent_refinditersub
isinstance_collections_abcMappinggrouprM   rd   tuplecount)
fvalr+   rP   percentsnew_fnew_valperci	starcountr   r   r   r      s4    

r   c                 G   s`   dd l }|jdtdd t| }|r:t| t| krJtdt|  t	| |||g|R  S )Nr   z`This method will be removed in a future version of Python. Use 'locale.format_string()' instead.r(   )
stacklevelzHformat() must be given exactly one %%char format specifier, %s not valid)
warningswarnDeprecationWarningrh   matchrL   rn   rD   reprrd   )r_   r?   r+   rP   r`   rz   r}   r   r   r   r      s    
r   Tc                 C   s  t  }||rdpd }|dkr&tdtd| t| |dd}d| d	 }|r||rXd
pZd }|| dk rldpnd }|| dk rdpd }	|r||	rdpd | }n0|r|d dkr|d d }||	rdpd | }|| dk rdpd }
|| dk rdpd }|
dkrd| d }n`|
dkr$|| }nL|
dkr8|| }n8|
dkrP|d|}n |
dkrh|d	|}n|| }|ddd	dS )Nr<   r:   r"   z9Currency formatting is not possible using the 'C' locale.z%%.%ifTr\   <>r6   r,   r   r/   r.   r1   r5   rI   r)   rH   r-   r7   r3   r4   ()r'   r(   r$   r&   )r	   rD   rd   absreplace)rr   symbolr+   internationalrQ   digitsr   smbprecedes	separatedsign_possignr   r   r   r     s:    






r   c                 C   s
   t d| S )Nz%.12g)rd   )rr   r   r   r   r   2  s    r   c                 C   s:   t  }|d }|r| |d} |d }|r6| |d} | S )Nr8   r)   r2   r*   )r	   r   )stringrQ   tsddr   r   r   
delocalize6  s    r   c                 C   s   |t | S r   )r   )r   funcr   r   r   r   F  s    r   c                 C   s   t t| S r   )intr   )r   r   r   r   r   J  s    r   c                  C   sB   t td tddd} t| dt|  td} t| dt|  d S )Nr)   z%di[r'   isgQ	@)r   r   r   printr   r   r   )s1r   r   r   _testN  s
    
r   c                 C   s   d| v r| d |  d }n| }t|}tjj| |}|}| }|tv r\t| }n(|dd}|dd}|tv rt| }|d | S )Nr*   _r)   -)index	encodingsnormalize_encodingaliasesgetlowerlocale_encoding_aliasr   )codeencodinglangnamenorm_encodingr   r   r   _replace_encoding`  s     

r   c                 C   sR   |dkrFd| vr| d S |  d\}}}|dv r4| S |dkrFt| dS | d | S )Neuror*   z.ISO8859-15)
ISO8859-15UTF-8	ISO8859-1r   @)	partitionr   )r   modifierr   r   r   r   r   _append_modifierw  s    
r   c           	      C   s  |   }d|v r|dd}d|v r6|dd\}}nd}d|v rZ|dd d \}}n|}d}|}|r|dd}|dd}|d| 7 }|}|r|d| 7 }t|d }|d ur|S |rt|d }|d urd|vrt||S |ddd   |kr|S |r|}|r"|d| 7 }t|d }|d urnd|vrLt||S |dd\}}t||d | S |rt|d }|d urd|vrt||}t||S |dd\}}|  |krt||d | S | S )	N:r*   r   r'   r)   r(   r   r   )r   r   r^   locale_aliasr   r   r   )	
localenamer   r   r   r   lang_encr   lookup_namedefmodr   r   r   r     s`    








r   c                 C   s~   t | }d|v r8|dd\}}|dkr8d|vr8|dfS d|v rVt|dd d S |dkrbdS |d	krnd
S td|  d S )Nr   r'   r   r*   iso-8859-15r(   r=   )NNr   Nr   zunknown locale: %s)r   r^   ro   rD   )r   r   r   r   r   r   _parse_localename  s    r   c              	   C   sZ   z4| \}}|d u rd}|d u r$|W S |d | W S W n  t tfyT   t dd Y n0 d S )Nr=   r*   zXLocale must be None, a string, or an iterable of two strings -- language code, encoding.)	TypeErrorrD   )localetuplelanguager   r   r   r   _build_localename  s    r   r   r   LANGLANGUAGEc              	   C   s   zdd l }| \}}W n ttfy.   Y n80 tjdkr^|r^|d d dkr^tt|d}||fS dd l	}|j
j}| D ],}||d }|rz|dkr|dd } qqzd}t|S )Nr   win32r(   0xr   r   r=   )_locale_getdefaultlocaleImportErrorAttributeErrorsysplatformwindows_localer   r   osenvironr^   r   )envvarsr   r   r   r   lookupvariabler   r   r   r   r     s$    
r   c                 C   s(   t | }| tkr d|v r tdt|S )N;z category LC_ALL is not supported)
_setlocaler   r   r   )r>   r   r   r   r   r   A  s    r   c                 C   s$   |rt |tstt|}t| |S r   )rk   _builtin_strr   r   r   )r>   localer   r   r   r   S  s    c                 C   s   t | tt  d S r   )r   r   r   )r>   r   r   r   r   d  s    r   winc                 C   s   t jjrdS dd l}|dS )Nr   r   F)r   flags	utf8_mode_bootlocaler   )do_setlocaler   r   r   r   r   p  s    r   getandroidapilevelc                 C   s   dS r   r   )r   r   r   r   r   ~  s    c                 C   s&   t jjrdS t d }|d u r"d}|S )Nr   r'   ascii)r   r   r   r   )r   resr   r   r   r     s    
c                 C   s^   t jjrdS dd l}| rBtt}zttd W n ty@   Y n0 |d}| rZtt| |S )Nr   r   r)   F)r   r   r   r   r   r   r   r   )r   r   oldlocresultr   r   r   r     s    

r=   r   JIS7eucJPzKOI8-CCP1251CP1255CP1256z	ISO8859-2z	ISO8859-5r   z
ISO8859-10z
ISO8859-11z
ISO8859-13z
ISO8859-14z
ISO8859-16z	ISO8859-3z	ISO8859-4z	ISO8859-6z	ISO8859-7z	ISO8859-8z	ISO8859-9SJISTACTISeucKRr   zKOI8-RzKOI8-TzKOI8-URK1048),437cenjisjis7ajeckoi8cmicrosoftcp1251microsoftcp1255microsoftcp1256885918859288595885915r   latin_1	iso8859_1
iso8859_10
iso8859_11
iso8859_13
iso8859_14
iso8859_15
iso8859_16	iso8859_2	iso8859_3	iso8859_4	iso8859_5	iso8859_6	iso8859_7	iso8859_8	iso8859_9
iso2022_jp	shift_jistactiseuc_jpeuc_krutf_8koi8_rkoi8_tkoi8_ukz1048cp1251cp1255cp1256r   r)   zaz_AZ.KOI8-Czaa_DJ.ISO8859-1zaa_ER.UTF-8zaa_ET.UTF-8zaf_ZA.ISO8859-1zagr_PE.UTF-8zak_GH.UTF-8zam_ET.UTF-8zen_US.ISO8859-1zan_ES.ISO8859-15zanp_IN.UTF-8zar_AA.ISO8859-6zar_AE.ISO8859-6zar_BH.ISO8859-6zar_DZ.ISO8859-6zar_EG.ISO8859-6zar_IN.UTF-8zar_IQ.ISO8859-6zar_JO.ISO8859-6zar_KW.ISO8859-6zar_LB.ISO8859-6zar_LY.ISO8859-6zar_MA.ISO8859-6zar_OM.ISO8859-6zar_QA.ISO8859-6zar_SA.ISO8859-6zar_SD.ISO8859-6zar_SS.UTF-8zar_SY.ISO8859-6zar_TN.ISO8859-6zar_YE.ISO8859-6zas_IN.UTF-8zast_ES.ISO8859-15zayc_PE.UTF-8zaz_AZ.ISO8859-9Ezaz_IR.UTF-8zbe_BY.CP1251zbe_BY.UTF-8@latinzbg_BG.UTF-8zbem_ZM.UTF-8zber_DZ.UTF-8zber_MA.UTF-8zbg_BG.CP1251zbhb_IN.UTF-8zbho_IN.UTF-8zbho_NP.UTF-8zbi_VU.UTF-8zbn_BD.UTF-8zbn_IN.UTF-8zbo_CN.UTF-8zbo_IN.UTF-8znb_NO.ISO8859-1zbr_FR.ISO8859-1zbrx_IN.UTF-8zbs_BA.ISO8859-2zbyn_ER.UTF-8zfr_CA.ISO8859-1zen_US.UTF-8zca_ES.ISO8859-1zca_AD.ISO8859-1zca_ES.UTF-8@valenciazca_FR.ISO8859-1zca_IT.ISO8859-1zce_RU.UTF-8zzh_CN.eucCNzzh_TW.eucTWzchr_US.UTF-8zckb_IQ.UTF-8zcmn_TW.UTF-8zcrh_UA.UTF-8zhr_HR.ISO8859-2zcs_CZ.ISO8859-2zcsb_PL.UTF-8zcv_RU.UTF-8zcy_GB.ISO8859-1zda_DK.ISO8859-1zde_DE.ISO8859-1zde_AT.ISO8859-1zde_BE.ISO8859-1zde_CH.ISO8859-1zde_IT.ISO8859-1zde_LI.UTF-8zde_LU.ISO8859-1zdoi_IN.UTF-8znl_NL.ISO8859-1znl_BE.ISO8859-1zdv_MV.UTF-8zdz_BT.UTF-8zee_EE.ISO8859-4zet_EE.ISO8859-1zel_GR.ISO8859-7zel_CY.ISO8859-7zel_GR.ISO8859-15zen_AG.UTF-8zen_AU.ISO8859-1zen_BE.ISO8859-1zen_BW.ISO8859-1zen_CA.ISO8859-1zen_DK.ISO8859-1zen_DL.UTF-8zen_GB.ISO8859-1zen_HK.ISO8859-1zen_IE.ISO8859-1zen_IL.UTF-8zen_IN.ISO8859-1zen_NG.UTF-8zen_NZ.ISO8859-1zen_PH.ISO8859-1zen_SC.UTF-8zen_SG.ISO8859-1zen_US.ISO8859-15zen_ZA.ISO8859-1zen_ZM.UTF-8zen_ZW.ISO8859-1zen_ZS.UTF-8zen_EN.ISO8859-1zeo_XX.ISO8859-3zeo.UTF-8zeo_EO.ISO8859-3zeo_US.UTF-8zes_ES.ISO8859-1zes_AR.ISO8859-1zes_BO.ISO8859-1zes_CL.ISO8859-1zes_CO.ISO8859-1zes_CR.ISO8859-1zes_CU.UTF-8zes_DO.ISO8859-1zes_EC.ISO8859-1zes_GT.ISO8859-1zes_HN.ISO8859-1zes_MX.ISO8859-1zes_NI.ISO8859-1zes_PA.ISO8859-1zes_PE.ISO8859-1zes_PR.ISO8859-1zes_PY.ISO8859-1zes_SV.ISO8859-1zes_US.ISO8859-1zes_UY.ISO8859-1zes_VE.ISO8859-1zet_EE.ISO8859-15zeu_ES.ISO8859-1zeu_FR.ISO8859-1zfa_IR.UTF-8zfa_IR.ISIRI-3342zff_SN.UTF-8zfi_FI.ISO8859-15zfil_PH.UTF-8zfi_FI.ISO8859-1zfo_FO.ISO8859-1zfr_FR.ISO8859-1zfr_BE.ISO8859-1zfr_CH.ISO8859-1zfr_LU.ISO8859-1zfur_IT.UTF-8zfy_DE.UTF-8zfy_NL.UTF-8zga_IE.ISO8859-1zgl_ES.ISO8859-1zgd_GB.ISO8859-1zgez_ER.UTF-8zgez_ET.UTF-8zgu_IN.UTF-8zgv_GB.ISO8859-1zha_NG.UTF-8zhak_TW.UTF-8zhe_IL.ISO8859-8zhi_IN.ISCII-DEVzhif_FJ.UTF-8zhne_IN.UTF-8zhsb_DE.ISO8859-2zht_HT.UTF-8zhu_HU.ISO8859-2zhy_AM.UTF-8zhy_AM.ARMSCII_8zia.UTF-8zia_FR.UTF-8zis_IS.ISO8859-1zid_ID.ISO8859-1zig_NG.UTF-8zik_CA.UTF-8zit_IT.ISO8859-1zit_CH.ISO8859-1ziu_CA.NUNACOM-8ziw_IL.UTF-8zja_JP.eucJPz
ja_JP.SJISzka_GE.GEORGIAN-ACADEMYzka_GE.GEORGIAN-PSzkab_DZ.UTF-8zkk_KZ.ptcp154zkl_GL.ISO8859-1zkm_KH.UTF-8zkn_IN.UTF-8zko_KR.eucKRzkok_IN.UTF-8zks_IN.UTF-8zks_IN.UTF-8@devanagarizku_TR.ISO8859-9zkw_GB.ISO8859-1zky_KG.UTF-8zlb_LU.UTF-8zlg_UG.ISO8859-10zli_BE.UTF-8zli_NL.UTF-8zlij_IT.UTF-8zlt_LT.ISO8859-13zln_CD.UTF-8zlo_LA.MULELAO-1zlo_LA.IBM-CP1133zlv_LV.ISO8859-13zlzh_TW.UTF-8zmag_IN.UTF-8zmai_IN.UTF-8zmai_NP.UTF-8zmfe_MU.UTF-8zmg_MG.ISO8859-15zmhr_RU.UTF-8zmi_NZ.ISO8859-1zmiq_NI.UTF-8zmjw_IN.UTF-8zmk_MK.ISO8859-5zml_IN.UTF-8zmn_MN.UTF-8zmni_IN.UTF-8zmr_IN.UTF-8zms_MY.ISO8859-1zmt_MT.ISO8859-3zmy_MM.UTF-8znan_TW.UTF-8znds_DE.UTF-8znds_NL.UTF-8zne_NP.UTF-8znhn_MX.UTF-8zniu_NU.UTF-8zniu_NZ.UTF-8znl_AW.UTF-8znn_NO.ISO8859-1zno_NO.ISO8859-1zny_NO.ISO8859-1znr_ZA.ISO8859-1znso_ZA.ISO8859-15zoc_FR.ISO8859-1zom_ET.UTF-8zom_KE.ISO8859-1zor_IN.UTF-8zos_RU.UTF-8zpa_IN.UTF-8zpa_PK.UTF-8zpap_AN.UTF-8zpap_AW.UTF-8zpap_CW.UTF-8zpd_US.ISO8859-1zpd_DE.ISO8859-1zph_PH.ISO8859-1zpl_PL.ISO8859-2zpt_PT.ISO8859-1zpt_BR.ISO8859-1zpp_AN.ISO8859-1zps_AF.UTF-8zquz_PE.UTF-8zraj_IN.UTF-8zro_RO.ISO8859-2zru_RU.UTF-8zru_UA.KOI8-Uzru_RU.KOI8-Rzrw_RW.ISO8859-1zsa_IN.UTF-8zsat_IN.UTF-8zsc_IT.UTF-8zsd_IN.UTF-8zsd_IN.UTF-8@devanagarizsd_PK.UTF-8zse_NO.UTF-8zsr_RS.UTF-8@latinzsgs_LT.UTF-8zsr_CS.ISO8859-2zsh_HR.ISO8859-2zshn_MM.UTF-8zshs_CA.UTF-8zsi_LK.UTF-8zsid_ET.UTF-8zsk_SK.ISO8859-2zsl_SI.ISO8859-2zsl_CS.ISO8859-2zsm_WS.UTF-8zso_DJ.ISO8859-1zso_ET.UTF-8zso_KE.ISO8859-1zso_SO.ISO8859-1zsr_CS.ISO8859-5zsq_AL.ISO8859-2zsq_MK.UTF-8zsr_RS.UTF-8zsr_CS.UTF-8@latinzsr_CS.UTF-8zsr_ME.UTF-8zsr_CS.CP1251zss_ZA.ISO8859-1zst_ZA.ISO8859-1zsv_SE.ISO8859-1zsv_FI.ISO8859-1zsw_KE.UTF-8zsw_TZ.UTF-8zszl_PL.UTF-8zta_IN.TSCII-0zta_LK.UTF-8ztcy_IN.UTF-8zte_IN.UTF-8ztg_TJ.KOI8-Czth_TH.ISO8859-11zth_TH.TIS620zthe_NP.UTF-8zti_ER.UTF-8zti_ET.UTF-8ztig_ER.UTF-8ztk_TM.UTF-8ztl_PH.ISO8859-1ztn_ZA.ISO8859-15zto_TO.UTF-8ztpi_PG.UTF-8ztr_TR.ISO8859-9ztr_CY.ISO8859-9zts_ZA.ISO8859-1ztt_RU.TATAR-CYRztt_RU.UTF-8@iqtelifzug_CN.UTF-8zuk_UA.KOI8-Uz	en_US.utfzunm_US.UTF-8zur_PK.CP1256zur_IN.UTF-8zuz_UZ.UTF-8zve_ZA.UTF-8z
vi_VN.TCVNzvi_VN.VISCIIzwa_BE.ISO8859-1zwae_CH.UTF-8zwal_ET.UTF-8zwo_SN.UTF-8zxh_ZA.ISO8859-1zyi_US.CP1255zyo_NG.UTF-8zyue_HK.UTF-8zyuw_PG.UTF-8zzh_CN.gb2312z
zh_TW.big5zzh_HK.big5hkscszzh_SG.GB2312z	zh_SG.GBKzzu_ZA.ISO8859-1(L  a3a3_azz
a3_az.koicaa_djaa_eraa_etafaf_zaagr_peak_ghamam_etamericanan_esanp_inarar_aaar_aear_bhar_dzar_egar_inar_iqar_joar_kwar_lbar_lyar_maar_omar_qaar_saar_sdar_ssar_syar_tnar_yearabicasas_inast_esayc_peazaz_azzaz_az.iso88599eaz_irbezbe@latinz
be_bg.utf8be_byzbe_by@latinbem_zmber_dzber_mabgbg_bgzbhb_in.utf8bho_inbho_npbi_vubn_bdbn_inbo_cnbo_inbokmalu   bokmålbrbr_frbrx_inbsbs_ba	bulgarianbyn_err   zc-frenchzc.asciizc.enz
c.iso88591zc.utf8c_czc_c.ccaca_adca_eszca_es@valenciaca_frca_itcatalance_rucextendz	chinese-sz	chinese-tchr_usckb_iqcmn_twcrh_uacroatiancscs_cscs_czcsb_plcv_rucycy_gbczcz_czczechdada_dkdanishdanskdede_atde_bede_chde_dede_itz
de_li.utf8de_ludeutschdoi_indutchzdutch.iso88591dv_mvdz_bteeee_eeeestielel_cyel_grz
el_gr@euror   en_agen_auen_been_bwen_caen_dkz
en_dl.utf8en_gben_hken_ieen_ilen_inen_ngen_nzen_phz
en_sc.utf8en_sgen_uken_uszen_us@euro@euroen_zaen_zmen_zwz
en_zw.utf8eng_gbenglishzenglish.iso88591
english_ukzenglish_united-stateszenglish_united-states.437
english_useozeo.utf8eo_eoz
eo_us.utf8eo_xxeses_ares_boes_cles_coes_cres_cues_does_eces_eses_gtes_hnes_mxes_nies_paes_pees_pres_pyes_sves_uses_uyes_veestonianetet_eeeueu_eseu_frfafa_irzfa_ir.isiri3342ff_snfifi_fifil_phfinnishfofo_fofrfr_befr_cafr_chfr_frfr_luu	   françaisfre_frfrenchzfrench.iso88591french_francefur_itfy_defy_nlgaga_iegalegogaliciangdgd_gbger_degermanzgerman.iso88591german_germanygez_ergez_etglgl_esgreekgu_ingvgv_gbha_nghak_twhehe_ilhebrewhihi_inzhi_in.isciidevhif_fjhnehne_inhrhr_hrhrvatskihsb_deht_hthuhu_hu	hungarianhy_amzhy_am.armscii8iaia_fr	icelandicidid_idig_ngik_cainin_idr   is_isz
iso-8859-1r   z	iso8859-1z
iso8859-15
iso_8859_1iso_8859_15itit_chit_ititalianiuiu_caziu_ca.nunacom8iwiw_ilz
iw_il.utf8jaja_jpz	ja_jp.euczja_jp.mscodez	ja_jp.pckjapanjapanesezjapanese-euczjapanese.eucjp_jpkaka_gezka_ge.georgianacademyzka_ge.georgianpszka_ge.georgianrskab_dzkk_kzklkl_glkm_khknkn_inkoko_krz	ko_kr.euckok_inkoreanz
korean.eucksks_inzks_in@devanagari.utf8ku_trkwkw_gbkyky_kglb_lulg_ugli_beli_nllij_it
lithuanianln_cdlolo_lazlo_la.cp1133zlo_la.ibmcp1133zlo_la.mulelao1ltlt_ltlvlv_lvlzh_twmag_inmaimai_inmai_npmfe_mumg_mgmhr_rumimi_nzmiq_nimjw_inmkmk_mkmlml_inmn_mnmni_inmrmr_inmsms_mymtmt_mtmy_mmnan_twnbnb_nonds_dends_nlne_npnhn_mxniu_nuniu_nznlnl_awnl_benl_nlnnnn_nonoz
no@nynorskno_nozno_no.iso88591@bokmalzno_no.iso88591@nynorsk	norwegiannrnr_zansonso_zanyny_nonynorskococ_from_etom_keoror_inos_rupapa_inpa_pkpap_anpap_awpap_cwpdpd_depd_usphph_phplpl_plpolish
portugueseportuguese_brazilposixz
posix-utf2pppp_anps_afptpt_brpt_ptquz_peraj_inroro_roromanianruru_ruru_uarumanianrussianrwrw_rwsa_insat_insc_itsdsd_inzsd_in@devanagari.utf8sd_pkse_noserbocroatiansgs_ltshzsh_ba.iso88592@bosniash_hrzsh_hr.iso88592sh_spsh_yushn_mmshs_casisi_lksid_etsinhalasksk_skslsl_cssl_sislovakslovene	sloveniansm_wsso_djso_etso_keso_sospsp_yuspanishspanish_spainsqsq_alsq_mksrzsr@cyrilliczsr@latnsr_cszsr_cs.iso88592@latnz
sr_cs@latnsr_mesr_rsz
sr_rs@latnsr_spsr_yuzsr_yu.cp1251@cyrilliczsr_yu.iso88592zsr_yu.iso88595zsr_yu.iso88595@cyrilliczsr_yu.microsoftcp1251@cyrillicz
sr_yu.utf8zsr_yu.utf8@cyrilliczsr_yu@cyrillicssss_zastst_zasvsv_fisv_sesw_kesw_tzswedishszl_pltata_inzta_in.tsciizta_in.tscii0ta_lkztcy_in.utf8tete_intgtg_tjthth_thzth_th.tactiszth_th.tis620thaithe_npti_erti_ettig_ertk_tmtltl_phtntn_zato_totpi_pgtrtr_cytr_trr   ts_zatttt_ruztt_ru.tatarcyrztt_ru@iqtelifturkishug_cnukuk_uauniv	universalzuniversal.utf8@ucs4unm_usurur_inur_pkuzuz_uzzuz_uz@cyrillicveve_zavivi_vnz
vi_vn.tcvnzvi_vn.tcvn5712zvi_vn.visciizvi_vn.viscii111wawa_bewae_chwal_etwo_snxhxh_zayiyi_usyo_ngyue_hkyuw_pgzhzh_cnz
zh_cn.big5z	zh_cn.euczh_hkzzh_hk.big5hkzh_sgz	zh_sg.gbkzh_twz	zh_tw.euczzh_tw.euctwzuzu_zaaf_ZAsq_ALgsw_FRam_ETar_SAar_IQar_EGar_LYar_DZar_MAar_TNar_OMar_YEar_SYar_JOar_LBar_KWar_AEar_BHar_QAhy_AMas_INaz_AZba_RUeu_ESbe_BYbn_INbs_BAbr_FRbg_BGca_ESzh_CHSzh_TWzh_CNzh_HKzh_SGzh_MOzh_CHTco_FRhr_HRhr_BAcs_CZda_DKgbz_AFdiv_MVnl_NLnl_BEen_USen_GBen_AUen_CAen_NZen_IEen_ZAen_JAen_CBen_BZen_TTen_ZWen_PHen_INen_MYet_EEfo_FOfil_PHfi_FIfr_FRfr_BEfr_CAfr_CHfr_LUfr_MCfy_NLgl_ESka_GEde_DEde_CHde_ATde_LUde_LIel_GRkl_GLgu_INha_NGhe_ILhi_INhu_HUis_ISid_IDiu_CAga_IEit_ITit_CHja_JPkn_INkk_KZkh_KHqut_GTrw_RWkok_INko_KRky_KGlo_LAlv_LVlt_LTdsb_DElb_LUmk_MKms_MYms_BNml_INmt_MTmi_NZarn_CLmr_INmoh_CAmn_MNmn_CNne_NPnb_NOnn_NOoc_FRor_INps_AFfa_IRpl_PLpt_BRpt_PTpa_INquz_BOquz_ECquz_PEro_ROrm_CHru_RUsmn_FIsmj_NOsmj_SEse_NOse_SEse_FIsms_FIsma_NOsma_SEsa_INsr_SPsr_BAsi_LKns_ZAtn_ZAsk_SKsl_SIes_ESes_MXes_GTes_CRes_PAes_DOes_VEes_COes_PEes_ARes_ECes_CLes_URes_PYes_BOes_SVes_HNes_NIes_PRes_USsw_KEsv_SEsv_FIsyr_SYtg_TJtmz_DZta_INtt_RUte_INth_THbo_BTbo_CNtr_TRtk_TMug_CNuk_UAwen_DEur_PKur_INuz_UZvi_VNcy_GBwo_SNxh_ZAsah_RUii_CNyo_NGzu_ZA)i6  i  i  i^  i  i  i  i  i  i  i  i   i$  i(  i,  i0  i4  i8  i<  i@  i+  iM  i,  i,  im  i-  i#  iE  i   i  i~  i  i  r&   i  i  i  i  i  i|  i  i  i  i  i  i  ie  i  i  i	  i	  i	  i	  i	  i	  i	  i	   i	$  i	(  i	,  i	0  i	4  i	@  i	D  i	H  i%  i8  id  i  i  i  i  i  i  i  ib  iV  i7  i  i  i  i  i  i  io  iG  ih  i  i9  i  i  i!  i]  i]  i<  i  i  i  iK  i?  iS  i  i  iW  i  i@  iT  i&  i'  i.  in  i/  i>  i>  iL  i:  i  iz  iN  i|  iP  iP  ia  i  i  i  iH  ic  i)  i  i  i  iF  ik  ik  ik  i  i  i  i;$  i;  i;  i;  i;  i;  i;   i;  i;  iO  i  i  i  i  i[  il  i2  i  i$  i
  i
  i
  i
  i
  i
  i
  i
   i
$  i
(  i
,  i
0  i
4  i
8  i
<  i
@  i
D  i
H  i
L  i
P  i
T  iA  i  i  iZ  i(  i_  iI  iD  iJ  i  iQ  iQ  i  iB  i  i"  i.  i   i   iC  iC  i*  iR  i  i4  i  ix  ij  i5  c                  C   s  i } | fdd}|  | d= t d t d t \}}t d|p@d t d|pNd t   t d	 t d |  D ]@\}}t |d
 t|\}}t d|pd t d|pd t   qpt   t d t d t  |  D ]B\}}t |d
 t|\}}t d|pd t d|pd t   qzttd W n$   t d t d t d Y nh0 t   t d t d |  D ]F\}}t |d
 t|\}}t d|pd t d|pd t   qld S )Nc                 S   s0   t   D ] \}}|d d dkr
|| |< q
d S )Nr$   LC_)globalsitems)
categorieskvr   r   r   _init_categories  s    z'_print_locale.<locals>._init_categoriesr   z4Locale defaults as determined by getdefaultlocale():zH------------------------------------------------------------------------z
Language: z(undefined)z
Encoding: zLocale settings on startup:z...z   Language: z   Encoding: z,Locale settings after calling resetlocale():r)   zNOTE:z9setlocale(LC_ALL, "") does not support the default localez&given in the OS environment variables.z4Locale settings after calling setlocale(LC_ALL, ""):)r   r   r  r   r   r   r   )r  r  langencnamer>   r   r   r   _print_locale  sV    



r  LC_MESSAGES__main__zLocale aliasing:zNumber formatting:)N)F)FF)FF)FF)TFF)r   )N)T)T)T)T)Jr   r   Zencodings.aliasesrerl   builtinsr   r   	functools__all__r   r    r   r   r   r   r   r   r  r   r   r   rD   r   r	   r   r  r   r
   r@   rA   wrapsrG   rV   rZ   compilerh   rd   r   r   r   r   floatr   r   r   r   r   r   r   r   r   r   r   r   r   
startswithr   CODESET	NameErrorhasattrr   sortedr  r  r  r   
setdefaultr   r   r  rM   __name__r   r   r   r   r   <module>   sJ  	



%/S"5
$6}    
    a  V:

