ifi TdZdZddlmZddlmZGddZeZdS)zL This package contains modules for language-dependent features of Docutils. reStructuredText) import_module)normalize_language_tagc:eZdZdZdZdZdZdZd dZdZ d d Z dS) LanguageImportera Import language modules. When called with a BCP 47 language tag, instances return a module with localisations from `docutils.languages` or the PYTHONPATH. If there is no matching module, warn (if a `reporter` is passed) and fall back to English. )zdocutils.languages.zHLanguage "%s" not supported: Docutils-generated text will be in English.enci|_dSN)cache)selfs {/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/docutils/languages/__init__.py__init__zLanguageImporter.__init__"s  Ncd}|jD]}} t||z}||nR#ttf$r>|r|r||dn|r|d||zdYywxYw|S)z/Try loading module `name` from `self.packages`.Nz) is no complete Docutils language module.zModule "z " not found.)packagesr check_content ImportErrorAttributeErrorinfo)r namereportermodulepackages rimport_from_packagesz%LanguageImporter.import_from_packages%s}  G &wt|44""6****0   IIMMV#>#>#>????IMM"GWT\"G"G"GHHH    s'5A BBct|jtr4t|jtrt|jt st dS)z+Check if we got a Docutils language module.N) isinstancelabelsdictbibliographic_fieldsauthor_separatorslistr)r rs rrzLanguageImporter.check_content6sR6=$// v:DAA v7>>    rc |j|S#t$rYnwxYwt|D]2}|dd}|||}|nA3|r||j|z|jr||j}|r"|dkr|d|d|d||j|<|S)N-_r zUsing z for language "z".) r KeyErrorrreplacerwarningwarn_msgfallbackr)r language_codertagrs r__call__zLanguageImporter.__call__=s :m, ,    D )-88 B BC++c3''C..sH==F!" @  !>???} B224=AA  5$.. MMM#VV]]]4 5 5 5$* =! s  r ) __name__ __module__ __qualname____doc__rr)r*rrrr-rrrrsw+H>HH"rrN)r1 __docformat__ importlibrdocutils.utilsrr get_languager2rrr7sw# ######111111========@ !! r