U mfP @sUddlZddlZddlZddlmZmZmZeedddZ ee dddZ iZ eee fe d <ee d d d Zee dd ddZdgdddgdgdgdgdgdZeeeefe d<dS)N)DictListTuple)versionreturnc Csd|d}g}|D]H}dtdd|}z|t|Wqtk rXYq\YqXqt|S)N.cSs |tjkS)N)stringdigits)xr ;/opt/hc_python/lib/python3.8/site-packages/dns/_features.pyz"_tuple_from_text..)splitjoin itertools takewhileappendint Exceptiontuple)rZ text_partsZ int_partsZ text_partZ digit_prefixr r r _tuple_from_text s r) requirementrcCsV|d\}}ztj|}Wntk r4YdSXt|}t|}||krRdSdS)zeIs the requirement fulfilled? The requirement must be of the form package>=version z>=FT)r importlibmetadatarrr)rpackageminimumrZ t_versionZ t_minimumr r r _version_checks r_cache)featurercCs^t|}|dk r|St|}|dkr4dt|<dSd}|D]}t|s=41zhttpcore>=1.0.0z httpx>=0.26.0z h2>=4.1.0zaioquic>=0.9.25z idna>=3.6z trio>=0.23z wmi>=1.5.1)ZdnssecZdohZdoqidnaZtrioZwmir")importlib.metadatarrr typingrrrstrrboolrr__annotations__r&r(r"r r r r s$