Ë
    :vžjæ  ã                   ó¬   — d Z ddlmZmZ ddlmZmZmZ ddlm	Z	 ddl
mZ ddlmZ ddlmZ dd	lmZ dd
lZe G d„ deee«      «       Z G d„ dee«      Zy
)zContains the DOMWidget classé    )ÚBoolÚUnicodeé   )ÚWidgetÚwidget_serializationÚregister)ÚInstanceDict)ÚStyle)Ú
CoreWidget)Ú	DOMWidget)ÚdeprecationNc                   ór   — e Zd ZdZ ed«      j                  d¬«      Z ed¬«      j                  d¬«      Zy)ÚDescriptionStylezDescription style widget.ÚDescriptionStyleModelT©Úsyncz4Width of the description to the side of the control.©ÚhelpN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   ÚtagÚ_model_nameÚdescription_width© ó    úv/workspace/moltex-experiments/.pixi/envs/default/lib/python3.12/site-packages/ipywidgets/widgets/widget_description.pyr   r      s9   „ á#ÙÐ1Ó2×6Ñ6¸DÐ6ÓA€KÙÐ%[Ô\×`Ñ`ÐfjÐ`ÓkÑr   r   c                   ó0  ‡ — e Zd ZdZ ed«      j                  d¬«      Z edd¬«      j                  d¬«      Z edd	¬«      j                  d¬«      Z	  e
ed
¬«      j
                  dddie¤ŽZˆ fd„Zˆ fd„Zed„ «       Zej$                  d„ «       Zˆ xZS )ÚDescriptionWidgetz0Widget that has a description label to the side.ÚDescriptionModelTr   Ú zDescription of the control.r   FzAccept HTML in the description.zStyling customizationsr   c                 ór   •— d|v r#t        d«       |j                  d|d   «       |d= t        ‰| �  |i |¤Ž y )NÚdescription_tooltipzCthe description_tooltip argument is deprecated, use tooltip insteadÚtooltip)r   Ú
setdefaultÚsuperÚ__init__)ÚselfÚargsÚkwargsÚ	__class__s      €r   r(   zDescriptionWidget.__init__   sE   ø€ Ø  FÑ*ÜÐ]Ô^Ø×Ñ˜i¨Ð0EÑ)FÔGØÐ,Ð-Ü‰Ñ˜$Ð) &Ó)r   c              #   óª   •K  — t         ‰| �  «       D ]=  }|dk(  r2t        | |«      }t        |«      d|j                  j
                  z  k(  rŒ:|–— Œ? y ­w)NÚstylez%s())r'   Ú
_repr_keysÚgetattrÚreprr,   r   )r)   ÚkeyÚvaluer,   s      €r   r/   zDescriptionWidget._repr_keys%   sO   øè ø€ Ü‘7Ñ%Ö'ˆCà�gŠ~Ü  cÓ*�Ü˜“; &¨5¯?©?×+CÑ+CÑ"CÒCØØ‹Iñ (ùs   ƒAAc                 ó0   — t        d«       | j                  S )zjThe tooltip information.
        .. deprecated :: 8.0.0
           Use tooltip attribute instead.
        ú8.description_tooltip is deprecated, use .tooltip instead©r   r%   )r)   s    r   r$   z%DescriptionWidget.description_tooltip.   s   € ô 	ÐNÔOØ�|‰|Ðr   c                 ó(   — t        d«       || _        y )Nr5   r6   )r)   r%   s     r   r$   z%DescriptionWidget.description_tooltip7   s   € äÐNÔOØˆ�r   r   )r   r   r   r   r   r   r   Údescriptionr   Údescription_allow_htmlr	   r   r   r.   r(   r/   Úpropertyr$   ÚsetterÚ__classcell__)r,   s   @r   r    r       s´   ø„ Ù:ÙÐ,Ó-×1Ñ1°tÐ1Ó<€KÙ˜"Ð#@ÔA×EÑEÈ4ÐEÓP€KÙ! %Ð.OÔP×TÑTÐZ^ÐTÓ_ÐØM‰LÐ)Ð0HÔI×MÑMÑpÐSWÐpÐ[oÑp€Eô*ôð ñó ðð ×Ññó  ôr   r    )r   Ú	traitletsr   r   Úwidgetr   r   r   Útrait_typesr	   Úwidget_styler
   Úwidget_corer   Ú	domwidgetr   Úutilsr   Úwarningsr   r    r   r   r   Ú<module>rE      sS   ðñ #ç #ß :Ñ :Ý %Ý Ý #Ý  Ý ã à	ôl�u˜j¨&ó ló 
ðlô#˜	 :õ #r   