o V\&@sdZddlmZmZddlmZedZiddddd d d dd dd ddddd ddddddddddddddddddiddddddd dd!dd"dd#d$d%d$d&d'd(dd)dd*dd+dd,d d-dd.dd/d0id1dd2dd3dd4dd5dd6dd7dd8dd9d:d;d<d=d>d?dd@ddAddBddCddDdEidFddGd$dHdIdJd dKddLdMdNd dOddPddQddRddSd dTddUddVddWdZdZGdXdYdYe Z efdZd[Z d\S)]z babel.messages.plurals ~~~~~~~~~~~~~~~~~~~~~~ Plural form definitions. :copyright: (c) 2013-2019 by the Babel Team. :license: BSD, see LICENSE for more details. )default_localeLocale) itemgetterLC_CTYPEaf)z(n != 1)ar)z[(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=0 && n%100<=2 ? 4 : 5)be)zR(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)bgbnbo)0br)r a&(n==1 ? 0 : n%10==1 && n%100!=11 && n%100!=71 && n%100!=91 ? 1 : n%10==2 && n%100!=12 && n%100!=72 && n%100!=92 ? 2 : (n%10==3 || n%10==4 || n%10==9) && n%100!=13 && n%100!=14 && n%100!=19 && n%100!=73 && n%100!=74 && n%100!=79 && n%100!=93 && n%100!=94 && n%100!=99 ? 3 : n%1000000==0 ? 4 : 5)bscacs)r z%((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2)cvcy)z/(n==1 ? 1 : n==2 ? 2 : n==3 ? 3 : n==6 ? 4 : 0)dadedzeleneoeseteufafifr)rz(n > 1)furga)rz@(n==1 ? 0 : n==2 ? 1 : n>=3 && n<=6 ? 2 : n>=7 && n<=10 ? 3 : 4)glhahehihrhuhyis)rz(n%10==1 && n%100!=11 ? 0 : 1)itjakakgkmkokulolt)r zG(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2)lv)r z+(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2)mt)zS(n==1 ? 0 : n==0 || ( n%100=>1 && n%100<=10) ? 1 : (n%100>10 && n%100<20 ) ? 2 : 3)nbnlnnnopapl)r zB(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)ptpt_BRro)r z8(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2)rusksl)r9z<(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3)srstsvthtrukvevixhzhc@sLeZdZdZdZeedddZeedddZedd d dZ d d Z d S) _PluralTuplez A tuple with plural information.rz. The number of plurals used by the locale.)docrz. The plural expression used by the locale.cCsd|S)Nznplurals=%s; plural=%s;rQ)xrQrQ8/usr/lib/python3/dist-packages/babel/messages/plurals.pysz_PluralTuple.z9 The plural expression used by the catalog or locale.cCs|jS)N) plural_forms)selfrQrQrT__str__sz_PluralTuple.__str__N) __name__ __module__ __qualname____doc__ __slots__propertyr num_plurals plural_exprrVrXrQrQrQrTrPs rPc Csjt|}z tt|}Wt|Sty4zt|j}Wn ty)t}YnwYt|SYt|Sw)aA tuple with the information catalogs need to perform proper pluralization. The first item of the tuple is the number of plural forms, the second the plural expression. >>> get_plural(locale='en') (2, '(n != 1)') >>> get_plural(locale='ga') (5, '(n==1 ? 0 : n==2 ? 1 : n>=3 && n<=6 ? 2 : n>=7 && n<=10 ? 3 : 4)') The object returned is a special tuple with additional members: >>> tup = get_plural("ja") >>> tup.num_plurals 1 >>> tup.plural_expr '0' >>> tup.plural_forms 'nplurals=1; plural=0;' Converting the tuple into a string prints the plural forms for a gettext catalog: >>> str(tup) 'nplurals=1; plural=0;' )rparsePLURALSstrKeyErrorlanguageDEFAULT_PLURALrP)localetuprQrQrT get_plurals   riN) r\ babel.corerroperatorrrrbrftuplerPrirQrQrQrTs &(*13=ACEGKMOQSUWY[]_acegikmoqsuwy{}   "$&(*,.0248