
    cQ                     d    d dl mZmZ d dlmZ d dlZd dlZ ej        dej                  Z	d Z
dS )    )absolute_importprint_function)
is_unicodeNz[^A-Za-z0-9-_]c                     t          |           s|                     dd          } t          j        d|           } d }d                    t          ||                     S )zuA simple slugifier.

    This keeps ascii alphanumerics, -, and _, but replaces
    everything else with hyphen.
    zutf-8replace)encodingerrorsNFCc                     dt          | d                   cxk    rdk    rn ndS t                              |           rdS | S )Ni   r   i   -)ord_remove_charsmatch)cs    Alib/python3.11/site-packages/anaconda_project/internal/slugify.pyr   zslugify.<locals>.replace"   sg     S1YY 	 	 	 	& 	 	 	 	 	2  ## 	3H    r   )r   decodeunicodedata	normalizejoinmap)sr   s     r   slugifyr      sd     a== 9HHgiH88eQ''A   773w??###r   )
__future__r   r   $anaconda_project.internal.py2_compatr   rer   compileUNICODEr   r    r   r   <module>r!      su    7 6 6 6 6 6 6 6 ; ; ; ; ; ; 				    
+RZ88$ $ $ $ $r   