U
    dR…f˜  ã                   @   sæ   d dl mZ d dlmZ 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iddidddœdœZd9dd „Zd!d"„ Zd#d$„ Zd%d&„ Zd'd(„ Z	d)d*„ Z
d+d,„ Zd-d.„ Zd/d0„ Zd1d2„ Zd3d4„ Zd5d6„ Zd7d8„ Zd
S ):é    )Úimport_module)ÚsettingszHhttps://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.csszGsha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1TZ	anonymous)ÚhrefÚ	integrityÚcrossoriginzFhttps://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.jszGsha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM)Úurlr   r   Nz+https://code.jquery.com/jquery-3.3.1.min.jszGsha384-tsQFqpEReu7ZLhBV2VZlAu7zcOV+rXbYlF2cqB8txI/8aZajjp4Bqd+V6D5IgvKTz0https://code.jquery.com/jquery-3.3.1.slim.min.jszGsha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizozIhttps://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.jszGsha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1Fzcol-md-3zcol-md-9TÚ z
is-invalidzis-validÚdefaultz$bootstrap4.renderers.FormsetRendererz!bootstrap4.renderers.FormRendererz"bootstrap4.renderers.FieldRendererz(bootstrap4.renderers.InlineFieldRenderer)r	   Úinline)Úcss_urlÚjavascript_urlÚ	theme_urlÚ
jquery_urlÚjquery_slim_urlÚ
popper_urlZjavascript_in_headÚinclude_jqueryÚuse_i18nZhorizontal_label_classZhorizontal_field_classZset_placeholderZrequired_css_classZerror_css_classZsuccess_css_classÚformset_renderersÚform_renderersÚfield_renderersc                 C   s0   t  ¡ }| ttdi ƒ¡ tƒ |d< | | |¡S )zRead a setting.Ú
BOOTSTRAP4r   )ÚBOOTSTRAP4_DEFAULTSÚcopyÚupdateÚgetattrr   Úi18n_enabledÚget)Únamer	   r   © r   ú8/tmp/pip-unpacked-wheel-ebr10wu1/bootstrap4/bootstrap.pyÚget_bootstrap_setting2   s    
r    c                   C   s   t dƒS )z2Return the full url to jQuery library file to use.r   ©r    r   r   r   r   r   @   s    r   c                   C   s   t dƒS )z7Return the full url to slim jQuery library file to use.r   r!   r   r   r   r   r   E   s    r   c                   C   s   t dƒS )z_
    Return whether to include jquery.

    Setting could be False, True|'full', or 'slim'
    r   r!   r   r   r   r   r   J   s    r   c                   C   s   t dƒS )z#Return the full url to Popper file.r   r!   r   r   r   r   r   S   s    r   c                   C   s   t dƒS )z5Return the full url to the Bootstrap JavaScript file.r   r!   r   r   r   r   r   X   s    r   c                   C   s   t dƒS )z.Return the full url to the Bootstrap CSS file.r   r!   r   r   r   r   r   ]   s    r   c                   C   s   t dƒS )z*Return the full url to the theme CSS file.r   r!   r   r   r   r   r   b   s    r   c                   C   s   t tddƒS )z!Return the projects i18n setting.ZUSE_I18NF)r   r   r   r   r   r   r   g   s    r   c                 K   s:   |  dd¡}|   || d ¡}| dd¡\}}tt|ƒ|ƒS )NÚlayoutr   r	   Ú.é   )r   Úrsplitr   r   )Ú	renderersÚkwargsr"   ÚpathÚmodÚclsr   r   r   Úget_rendererl   s    r+   c                  K   s   t dƒ}t|f| ŽS )Nr   ©r    r+   ©r'   r&   r   r   r   Úget_formset_renderers   s    r.   c                  K   s   t dƒ}t|f| ŽS )Nr   r,   r-   r   r   r   Úget_form_rendererx   s    r/   c                  K   s   t dƒ}t|f| ŽS )Nr   r,   r-   r   r   r   Úget_field_renderer}   s    r0   )N)Ú	importlibr   Zdjango.confr   r   r    r   r   r   r   r   r   r   r   r+   r.   r/   r0   r   r   r   r   Ú<module>   sd   ýýýýýþÚ-
	