Current File : //proc/self/root/usr/lib/python3/dist-packages/click/__pycache__/termui.cpython-312.pyc
�

D�d�n�!��UddlZddlZddlZddlZddlZddlmZddlm	Z	ddlm
Z
ddlmZddlm
Z
ddlmZdd	lmZdd
lmZddlmZddlmZdd
lmZej.rddlmZej4d�ZeZej<egefe d<idd�dd�dd�dd�dd�dd�dd�dd �d!d"�d#d$�d%d&�d'd(�d)d*�d+d,�d-d.�d/d0�d1d2�Z!d3Z"d4ed5efd6�Z#				d}d7ed8ed9e$d:ejJejLd;e$d<ejJed5efd=�Z'd:ejLd5ejLfd>�Z(									d~d7ed:ejJejLd?e$d@ejRe$efd<ejJejReejLfdAejJej<egejLfdBed9e$dCe$d;e$d5ejLfdD�Z*					dd7ed:ejJe$dEe$dBed9e$dCe$d5e$fdF�Z+	d�dGejRejXeej<gejXefefdHejJe$d5dfdI�Z-															d�dJejJejXedKejJe.dLejJedMe$dNejJe$dOe$dPejJej<ejJegejJefdQedRedSedTedUe.dVejJej^dHejJe$dWe.d5dXf dY�Z0d�dZ�Z1	d�dHejRe.ejde.e.e.fefd[e.d5efd\�Z3											d�d7ejLd]ejJejRe.ejde.e.e.fefd^ejJejRe.ejde.e.e.fefd_ejJe$d`ejJe$daejJe$dbejJe$dcejJe$ddejJe$deejJe$dfejJe$d!e$d5efdg�Z4d7ed5efdh�Z5					d�diejJejLdVejJejlejndje$dCe$dHejJe$dkejLd5dfdl�Z8						d�d7ejJejndmejJednejJejreefdoe$dpedqejJed5ejJejnfdr�Z:d�dsedte$due$d5e.fdv�Z;da<ejJej<e$gefe dw<d�dxe$d5efdy�Z=d5ej|e.fdz�Z?d�d{ejJedCe$d5dfd|�Z@y)��N)�gettext�)�isatty��
strip_ansi)�Abort)�
UsageError)�resolve_color_default)�Choice)�convert_type)�	ParamType)�echo)�LazyFile��ProgressBar�V�visible_prompt_func�black��red��green� �yellow�!�blue�"�magenta�#�cyan�$�white�%�reset�'�bright_black�Z�
bright_red�[�bright_green�\�
bright_yellow�]�bright_blue�^�bright_magenta�_�bright_cyan�`�bright_white�az�prompt�returnc�,�ddl}|j|�S)Nr)�getpass)r6r9s  �./usr/lib/python3/dist-packages/click/termui.py�hidden_prompt_funcr;2s����?�?�6�"�"��text�suffix�show_default�default�show_choices�typec���|}|�B|r@t|t�r0|ddjtt|j
���d�z
}|�|r|�dt
|��d�}|�|��S)Nz (z, �)z [�])�
isinstancer�join�map�str�choices�_format_default)r=r>r?r@rArBr6s       r:�
_build_promptrL8sq���F���L�Z��f�-E��B�t�y�y��S�$�,�,�!7�8�9��;�;����|��8�2�o�g�6�7�q�9���X�f�X��r<c�v�t|tjtf�rt	|d�r|j
S|S)N�name)rF�io�IOBaser�hasattrrN)r@s r:rKrKHs-���'�B�I�I�x�0�1�g�g�v�6N��|�|���Nr<�
hide_input�confirmation_prompt�
value_proc�
prompt_suffix�errc
����dtdtf��fd�}
|�t||�}t|||||	|�}|r|durtd�}t||�}		|
|�}|rn|�|}n�	||�}
|s|
S	|
|�}|xr|}|s|rn�||k(r|
Sttd�����T#t$rI}�rttd����n&ttd	�j
|�
����Yd}~��d}~wwxYw)a!Prompts a user for input.  This is a convenience function that can
    be used to prompt a user for input later.

    If the user aborts the input by sending an interrupt signal, this
    function will catch it and raise a :exc:`Abort` exception.

    :param text: the text to show for the prompt.
    :param default: the default value to use if no input happens.  If this
                    is not given it will prompt until it's aborted.
    :param hide_input: if this is set to true then the input value will
                       be hidden.
    :param confirmation_prompt: Prompt a second time to confirm the
        value. Can be set to a string instead of ``True`` to customize
        the message.
    :param type: the type to use to check the value against.
    :param value_proc: if this parameter is provided it's a function that
                       is invoked instead of the type conversion to
                       convert a value.
    :param prompt_suffix: a suffix that should be added to the prompt.
    :param show_default: shows or hides the default value in the prompt.
    :param err: if set to true the file defaults to ``stderr`` instead of
                ``stdout``, the same as with echo.
    :param show_choices: Show or hide choices if the passed type is a Choice.
                         For example if type is a Choice of either day or week,
                         show_choices is true and text is "Group by" then the
                         prompt will be "Group by (day, week): ".

    .. versionadded:: 8.0
        ``confirmation_prompt`` can be a custom string.

    .. versionadded:: 7.0
        Added the ``show_choices`` parameter.

    .. versionadded:: 6.0
        Added unicode support for cmd.exe on Windows.

    .. versionadded:: 4.0
        Added the `err` parameter.

    r=r7c�����rtnt}	t|jd�d���|d�S#tt
f$r�r
td���t
�d�wxYw)N� F��nlrV�rV)r;rr�rstrip�KeyboardInterrupt�EOFErrorr)r=�frVrRs  ��r:�prompt_funczprompt.<locals>.prompt_func�sb���",��2E��
	$�
����S�!�e��5��S�6�M��!�8�,�	$���T�s�#��'�t�#�
	$�s	�$6�*A NTzRepeat for confirmationz)Error: The value you entered was invalid.r\zError: {e.message})�ez+Error: The two entered values do not match.)rIrrL�_r	r�format)r=r@rRrSrBrTrUr?rVrArar6�value�resultrb�value2�is_emptys  `     `        r:r6r6Os=���j$�#�$�#�$�"��!�$��0�
�
��m�\�7�L�$��F���$�&�"#�$=�">��+�,?��O��
����'�E����$����
�	���&�F�#��M�� �!4�5�F� �y�/��Z�H����	�
�F�?��M��Q�<�
=�3�G�3���	���Q�B�C��M��Q�+�,�3�3�a�3�8�c�B���	�s�%B&�&	C8�/?C3�3C8�abortc�v�t||||�dn|rdnd�}		t|jd�d|��td�j	�j�}|d	vrd}n(|d
vrd}n!|�|dk(r|}nttd�|�
��u	|r|s
t��|S#ttf$rt�d�wxYw)ayPrompts for confirmation (yes/no question).

    If the user aborts the input by sending a interrupt signal this
    function will catch it and raise a :exc:`Abort` exception.

    :param text: the question to ask.
    :param default: The default value to use when no input is given. If
        ``None``, repeat until input is given.
    :param abort: if this is set to `True` a negative answer aborts the
                  exception by raising :exc:`Abort`.
    :param prompt_suffix: a suffix that should be added to the prompt.
    :param show_default: shows or hides the default value in the prompt.
    :param err: if set to true the file defaults to ``stderr`` instead of
                ``stdout``, the same as with echo.

    .. versionchanged:: 8.0
        Repeat until input is given if ``default`` is ``None``.

    .. versionadded:: 4.0
        Added the ``err`` parameter.
    Nzy/nzY/nzy/NTrYFrZ)�y�yes)�n�no�zError: invalid inputr\)
rLrr]r�lower�stripr^r_rrc)	r=r@rirUr?rVr6re�rvs	         r:�confirmrs�s���:��������u�U�	�F��	$�
����s�#��3�7�(��,�2�2�4�:�:�<�E��L� ��B�
�k�
!��B�
�
 �U�b�[��B���)�*��4��
��R��g�
�
�I��"�8�,�	$��'�t�#�	$�s�AB�B8�text_or_generator�colorc��t|�}tj|�rDtjtj
gtjtf|��}nHt|t�r|g}n4ttjtjt|��}d�|D�}ddl
m}|tj|d�|�S)a�This function takes a text and shows it via an environment specific
    pager on stdout.

    .. versionchanged:: 3.0
       Added the `color` flag.

    :param text_or_generator: the text to page, or alternatively, a
                              generator emitting the text to page.
    :param color: controls if the pager supports ANSI colors or not.  The
                  default is autodetection.
    c3�VK�|]!}t|t�r|n
t|����#y�w�N)rFrI)�.0�els  r:�	<genexpr>z!echo_via_pager.<locals>.<genexpr>s"����I��J�r�3�/�b�S��W�<�I�s�')r)�pager�
)r
�inspect�isgeneratorfunction�t�cast�Callable�IterablerIrF�iter�_termui_implr|�	itertools�chain)rtru�i�text_generatorr|s     r:�echo_via_pagerr��s���
"�%�(�E��"�"�#4�5�F�A�F�F�1�:�:�b�!�*�*�S�/�1�2�4E�F�H��	�%�s�	+�
��������
�
�3��):�;�<��J�q�I�N�#�������6��>�>r<�iterable�length�label�show_eta�show_percent�show_pos�item_show_func�	fill_char�
empty_char�bar_template�info_sep�width�file�update_min_stepszProgressBar[V]c�R�ddlm}t|
�}
||||||||||	|
||||
|��S)aQThis function creates an iterable context manager that can be used
    to iterate over something while showing a progress bar.  It will
    either iterate over the `iterable` or `length` items (that are counted
    up).  While iteration happens, this function will print a rendered
    progress bar to the given `file` (defaults to stdout) and will attempt
    to calculate remaining time and more.  By default, this progress bar
    will not be rendered if the file is not a terminal.

    The context manager creates the progress bar.  When the context
    manager is entered the progress bar is already created.  With every
    iteration over the progress bar, the iterable passed to the bar is
    advanced and the bar is updated.  When the context manager exits,
    a newline is printed and the progress bar is finalized on screen.

    Note: The progress bar is currently designed for use cases where the
    total progress can be expected to take at least several seconds.
    Because of this, the ProgressBar class object won't display
    progress that is considered too fast, and progress where the time
    between steps is less than a second.

    No printing must happen or the progress bar will be unintentionally
    destroyed.

    Example usage::

        with progressbar(items) as bar:
            for item in bar:
                do_something_with(item)

    Alternatively, if no iterable is specified, one can manually update the
    progress bar through the `update()` method instead of directly
    iterating over the progress bar.  The update method accepts the number
    of steps to increment the bar with::

        with progressbar(length=chunks.total_bytes) as bar:
            for chunk in chunks:
                process_chunk(chunk)
                bar.update(chunks.bytes)

    The ``update()`` method also takes an optional value specifying the
    ``current_item`` at the new position. This is useful when used
    together with ``item_show_func`` to customize the output for each
    manual step::

        with click.progressbar(
            length=total_size,
            label='Unzipping archive',
            item_show_func=lambda a: a.filename
        ) as bar:
            for archive in zip_file:
                archive.extract()
                bar.update(archive.size, archive)

    :param iterable: an iterable to iterate over.  If not provided the length
                     is required.
    :param length: the number of items to iterate over.  By default the
                   progressbar will attempt to ask the iterator about its
                   length, which might or might not work.  If an iterable is
                   also provided this parameter can be used to override the
                   length.  If an iterable is not provided the progress bar
                   will iterate over a range of that length.
    :param label: the label to show next to the progress bar.
    :param show_eta: enables or disables the estimated time display.  This is
                     automatically disabled if the length cannot be
                     determined.
    :param show_percent: enables or disables the percentage display.  The
                         default is `True` if the iterable has a length or
                         `False` if not.
    :param show_pos: enables or disables the absolute position display.  The
                     default is `False`.
    :param item_show_func: A function called with the current item which
        can return a string to show next to the progress bar. If the
        function returns ``None`` nothing is shown. The current item can
        be ``None``, such as when entering and exiting the bar.
    :param fill_char: the character to use to show the filled part of the
                      progress bar.
    :param empty_char: the character to use to show the non-filled part of
                       the progress bar.
    :param bar_template: the format string to use as template for the bar.
                         The parameters in it are ``label`` for the label,
                         ``bar`` for the progress bar and ``info`` for the
                         info section.
    :param info_sep: the separator between multiple info items (eta etc.)
    :param width: the width of the progress bar in characters, 0 means full
                  terminal width
    :param file: The file to write to. If this is not a terminal then
        only the label is printed.
    :param color: controls if the terminal supports ANSI colors or not.  The
                  default is autodetection.  This is only needed if ANSI
                  codes are included anywhere in the progress bar output
                  which is not the case by default.
    :param update_min_steps: Render only when this many updates have
        completed. This allows tuning for very fast iterators.

    .. versionchanged:: 8.0
        Output is shown even if execution time is less than 0.5 seconds.

    .. versionchanged:: 8.0
        ``item_show_func`` shows the current item, not the previous one.

    .. versionchanged:: 8.0
        Labels are echoed if the output is not a TTY. Reverts a change
        in 7.0 that removed all output.

    .. versionadded:: 8.0
       Added the ``update_min_steps`` parameter.

    .. versionchanged:: 4.0
        Added the ``color`` parameter. Added the ``update`` method to
        the object.

    .. versionadded:: 2.0
    rr)r�r�r�r�r�r�r�r�r�r�r�r�r�rur�)r�rr
)r�r�r�r�r�r�r�r�r�r�r�r�r�rur�rs                r:�progressbarr�sL��D*�!�%�(�E�����!��%���!��
����)��r<c�R�ttj�sytdd��y)z�Clears the terminal screen.  This will have the effect of clearing
    the whole visible space of the terminal and moving the cursor to the
    top left.  This does not do anything if not connected to a terminal.

    .. versionadded:: 2.0
    Nz
F)r[)r�sys�stdoutr�r<r:�clearr��s ���#�*�*���	�	��&r<�offsetc��t|t�rd|z�d|d��St|ttf�r|\}}}d|z�d|d�d|d�d|d��St	t
||z�S)N�&z;5;�dz;2;�;)rF�int�tuple�listrI�_ansi_colors)rur��r�g�bs     r:�_interpret_colorr��sz���%����v�+��c�%���+�+��%�%���'����1�a��v�+��c�!�A��a��!�u�A�a��U�3�3��|�E�"�V�+�,�,r<�fg�bg�bold�dim�	underline�overline�italic�blink�reverse�
strikethroughc�T�t|t�st|�}g}|r	|jdt|��d��|r 	|jdt|d��d��|�|jd|rdnd�d��|�|jd|rdnd�d��|�|jd|rd	nd
�d��|�|jd|rdnd�d��|�|jd|rd
nd�d��|�|jd|rdnd�d��|	�|jd|	rdnd�d��|
�|jd|
rdnd�d��|j|�|r|jt�dj|�S#t$rtd|���d�wxYw#t$rtd|���d�wxYw)a!Styles a text with ANSI styles and returns the new string.  By
    default the styling is self contained which means that at the end
    of the string a reset code is issued.  This can be prevented by
    passing ``reset=False``.

    Examples::

        click.echo(click.style('Hello World!', fg='green'))
        click.echo(click.style('ATTENTION!', blink=True))
        click.echo(click.style('Some things', reverse=True, fg='cyan'))
        click.echo(click.style('More colors', fg=(255, 12, 128), bg=117))

    Supported color names:

    * ``black`` (might be a gray)
    * ``red``
    * ``green``
    * ``yellow`` (might be an orange)
    * ``blue``
    * ``magenta``
    * ``cyan``
    * ``white`` (might be light gray)
    * ``bright_black``
    * ``bright_red``
    * ``bright_green``
    * ``bright_yellow``
    * ``bright_blue``
    * ``bright_magenta``
    * ``bright_cyan``
    * ``bright_white``
    * ``reset`` (reset the color code only)

    If the terminal supports it, color may also be specified as:

    -   An integer in the interval [0, 255]. The terminal must support
        8-bit/256-color mode.
    -   An RGB tuple of three integers in [0, 255]. The terminal must
        support 24-bit/true-color mode.

    See https://en.wikipedia.org/wiki/ANSI_color and
    https://gist.github.com/XVilka/8346728 for more information.

    :param text: the string to style with ansi codes.
    :param fg: if provided this will become the foreground color.
    :param bg: if provided this will become the background color.
    :param bold: if provided this will enable or disable bold mode.
    :param dim: if provided this will enable or disable dim mode.  This is
                badly supported.
    :param underline: if provided this will enable or disable underline.
    :param overline: if provided this will enable or disable overline.
    :param italic: if provided this will enable or disable italic.
    :param blink: if provided this will enable or disable blinking.
    :param reverse: if provided this will enable or disable inverse
                    rendering (foreground becomes background and the
                    other way round).
    :param strikethrough: if provided this will enable or disable
        striking through text.
    :param reset: by default a reset-all code is added at the end of the
                  string which means that styles do not carry over.  This
                  can be disabled to compose styles.

    .. versionchanged:: 8.0
        A non-string ``message`` is converted to a string.

    .. versionchanged:: 8.0
       Added support for 256 and RGB color codes.

    .. versionchanged:: 8.0
        Added the ``strikethrough``, ``italic``, and ``overline``
        parameters.

    .. versionchanged:: 7.0
        Added support for bright colors.

    .. versionadded:: 2.0
    z[�mzUnknown color N�
r�����5�7�������	�ro)rFrI�appendr��KeyError�	TypeError�_ansi_reset_allrG)
r=r�r�r�r�r�r�r�r�r�r�r$�bitss
             r:�styler��s���t�d�C� ��4�y��
�D�	�	?��K�K�%� 0�� 4�5�Q�7�8�
�	?��K�K�%� 0��R� 8�9��;�<������e��A�2�.�a�0�1�
�����e��A�"�-�Q�/�0������e��A��3�1�5�6������e�(�B��3�1�5�6�
�����e��A�R�0��2�3������e��A�B�/�q�1�2������e��A�b�1��3�4�� ����e��A�B�7�q�9�:��K�K�������O�$�
�7�7�4�=���9�	?��n�R�F�3�4�$�>�	?���	?��n�R�F�3�4�$�>�	?�s�E2�F�2F�F'c��t|�S)aRemoves ANSI styling information from a string.  Usually it's not
    necessary to use this function as Click's echo function will
    automatically remove styling if necessary.

    .. versionadded:: 2.0

    :param text: the text to remove style information from.
    r)r=s r:�unstyler�Os���d��r<�messager[�stylesc�j�|�"t|ttf�st|fi|��}t	|||||��S)a�This function combines :func:`echo` and :func:`style` into one
    call.  As such the following two calls are the same::

        click.secho('Hello World!', fg='green')
        click.echo(click.style('Hello World!', fg='green'))

    All keyword arguments are forwarded to the underlying functions
    depending on which one they go with.

    Non-string types will be converted to :class:`str`. However,
    :class:`bytes` are passed directly to :meth:`echo` without applying
    style. If you want to style bytes that represent text, call
    :meth:`bytes.decode` first.

    .. versionchanged:: 8.0
        A non-string ``message`` is converted to a string. Bytes are
        passed through without style applied.

    .. versionadded:: 2.0
    )r�r[rVru)rF�bytes�	bytearrayr�r)r�r�r[rVrur�s      r:�sechor�[s:��8��:�g��y�7I�#J���*�6�*����d�r�s�%�@�@r<�editor�env�require_save�	extension�filenamec�p�ddlm}|||||��}|�|j|�S|j|�y)a�Edits the given text in the defined editor.  If an editor is given
    (should be the full path to the executable but the regular operating
    system search path is used for finding the executable) it overrides
    the detected editor.  Optionally, some environment variables can be
    used.  If the editor is closed without changes, `None` is returned.  In
    case a file is edited directly the return value is always `None` and
    `require_save` and `extension` are ignored.

    If the editor cannot be opened a :exc:`UsageError` is raised.

    Note for Windows: to simplify cross-platform usage, the newlines are
    automatically converted from POSIX to Windows and vice versa.  As such,
    the message here will have ``\n`` as newline markers.

    :param text: the text to edit.
    :param editor: optionally the editor to use.  Defaults to automatic
                   detection.
    :param env: environment variables to forward to the editor.
    :param require_save: if this is true, then not saving in the editor
                         will make the return value become `None`.
    :param extension: the extension to tell the editor about.  This defaults
                      to `.txt` but changing this might change syntax
                      highlighting.
    :param filename: if provided it will edit this file instead of the
                     provided text contents.  It will not use a temporary
                     file as an indirection in that case.
    r)�Editor)r�r�r�r�N)r�r��edit�	edit_file)r=r�r�r�r�r�r��eds        r:r�r�}s;��F%�	�v�3�\�Y�	W�B����w�w�t�}���L�L���r<�url�wait�locatec�$�ddlm}||||��S)aThis function launches the given URL (or filename) in the default
    viewer application for this file type.  If this is an executable, it
    might launch the executable in a new session.  The return value is
    the exit code of the launched application.  Usually, ``0`` indicates
    success.

    Examples::

        click.launch('https://click.palletsprojects.com/')
        click.launch('/my/downloaded/file', locate=True)

    .. versionadded:: 2.0

    :param url: URL or filename of the thing to launch.
    :param wait: Wait for the program to exit before returning. This
        only works if the launched program blocks. In particular,
        ``xdg-open`` on Linux does not block.
    :param locate: if this is set to `True` then instead of launching the
                   application associated with the URL it will attempt to
                   launch a file manager with the file located.  This
                   might have weird effects if the URL does not point to
                   the filesystem.
    r)�open_url)r�r�)r�r�)r�r�r�r�s    r:�launchr��s��0'��C�d�6�2�2r<�_getcharrc�4�t�ddlm}|at|�S)a�Fetches a single character from the terminal and returns it.  This
    will always return a unicode character and under certain rare
    circumstances this might return more than one character.  The
    situations which more than one character is returned is when for
    whatever reason multiple characters end up in the terminal buffer or
    standard input was not actually a terminal.

    Note that this will always read from the terminal, even if something
    is piped into the standard input.

    Note for Windows: in rare cases when typing non-ASCII characters, this
    function might wait for a second character and then return both at once.
    This is because certain Unicode characters look like special-key markers.

    .. versionadded:: 2.0

    :param echo: if set to `True`, the character read will also show up on
                 the terminal.  The default is to not show it.
    r)�getchar)r�r�r�)rr`s  r:r�r��s��,��.����D�>�r<c��ddlm}|�S)Nr)�raw_terminal)r�r�)r`s r:r�r��s��/��3�Jr<�infoc�,�ttj�rttj�sy|�t	d�}	|rt|d|��	t
�|r
t|��yy#ttf$rY�!wxYw#|r
t|��wwxYw)a(This command stops execution and waits for the user to press any
    key to continue.  This is similar to the Windows batch "pause"
    command.  If the program is not run through a terminal, this command
    will instead do nothing.

    .. versionadded:: 2.0

    .. versionadded:: 4.0
       Added the `err` parameter.

    :param info: The message to print before pausing. Defaults to
        ``"Press any key to continue..."``.
    :param err: if set to message goes to ``stderr`` instead of
                ``stdout``, the same as with echo.
    NzPress any key to continue...FrZr\)	rr��stdinr�rcrr�r^r_)r�rVs  r:�pauser��s��� �#�)�)��F�3�:�:�$6���|��/�0��	����%�S�)�	��I���S�M���"�8�,�	��	����S�M��s*�B�
A-�-A?�<B�>A?�?B�B)FNTN)	NFFNN�: TFT)FFr�TFrx)NNNTNFN�#�-z%(label)s  [%(bar)s]  %(info)sz  r!NNr)r7N)r)NNNNNNNNNNT)NNTFN)NNNTz.txtN)FF)F)NF)Ar~rOr�r��typingr�rrc�_compatrr�
exceptionsrr	�globalsr
�typesrrr
�utilsrr�
TYPE_CHECKINGr�r�TypeVarr�inputrr�rI�__annotations__r�r�r;�bool�Optional�AnyrLrK�Unionr6rsr�r�r��TextIOr�r��Tupler�r�r��IO�AnyStrr��Mappingr�r�r�r��ContextManagerr�r�r�r<r:�<module>rsH���	��
�� ����"�*�������?�?�)�
�A�I�I�c�N��/4��Q�Z�Z���s�
�+�3���R��	�2���R��
�b�	�
�B���r�
��B���R���R���B���"���B���R���2���b�� �2�!�"�B�#��&��#�s�#�s�#��!%��"&�

�

�
��
��
��Z�Z����
�	
�
�
��*�*�Y�
�

�	�
� �Q�U�U��q�u�u��"&��.3�26�7;�����lH�

�lH�
�Z�Z����
�lH��lH�����s��+�	lH�
�*�*�Q�W�W�Y����-�.�
/�lH��
�
�1�:�:�s�e�Q�U�U�l�3�4�
lH��lH��lH�
�lH��lH��U�U�lH�b!&�����
:�

�:�
�Z�Z��
�:��:��	:�
�:�
�
:�
�:�~#�?��w�w�q�z�z�#���
�
�2�q�z�z�#��;N�0O�QT�T�U�?��:�:�d��?�
�?�B+/�"�!��%)��OS���8���!%�"��U��j�j����A��'�U�
�J�J�s�O�U�
�:�:�c�?�U��	U�
�*�*�T�"�U��
U��J�J�q�z�z�1�:�:�a�=�/�1�:�:�c�?�*J�K�L�U��U��U��U��U��U��*�*�Q�X�X�
�U�
�:�:�d��U��U� �!U�p'�EF�
-��7�7�3�����S�#�
�.��3�4�
-�>A�
-��
-�AE�@D�!� �"&�!%�#�"� $�&*��~�
�%�%�~�	�
�
�1�7�7�3�����S�#�
� 6��;�<�=�~�	
�
�
�1�7�7�3�����S�#�
� 6��;�<�=�~��*�*�T�
�	~�

���D�	�~��z�z�$��
~��j�j���~�
�J�J�t��~�
�:�:�d��~��Z�Z��
�~��:�:�d�#�~��~�	�~�B	�#�	�#�	�"&�'+���"�A�
�Z�Z����
�A�
�*�*�Q�T�T�!�(�(�^�
$�A�	
�A�
�	A�

�:�:�d��A��e�e�
A�
�A�F"&�"�+/��� $�
+�
�*�*�Q�X�X�
�+�
�J�J�s�O�+�
���A�I�I�c�3�h�'�	(�+��	+�
�+��j�j��o�
+��Z�Z�����+�\3��3�4�3��3�#�3�>15��!�*�*�Q�Z�Z�����,�
-�4��$��3��<�a�&�&�s�+����
�
�3���T��d�r<
¿Qué es la limpieza dental de perros? - Clínica veterinaria


Es la eliminación del sarro y la placa adherida a la superficie de los dientes mediante un equipo de ultrasonidos que garantiza la integridad de las piezas dentales a la vez que elimina en profundidad cualquier resto de suciedad.

A continuación se procede al pulido de los dientes mediante una fresa especial que elimina la placa bacteriana y devuelve a los dientes el aspecto sano que deben tener.

Una vez terminado todo el proceso, se mantiene al perro en observación hasta que se despierta de la anestesia, bajo la atenta supervisión de un veterinario.

¿Cada cuánto tiempo tengo que hacerle una limpieza dental a mi perro?

A partir de cierta edad, los perros pueden necesitar una limpieza dental anual o bianual. Depende de cada caso. En líneas generales, puede decirse que los perros de razas pequeñas suelen acumular más sarro y suelen necesitar una atención mayor en cuanto a higiene dental.


Riesgos de una mala higiene


Los riesgos más evidentes de una mala higiene dental en los perros son los siguientes:

  • Cuando la acumulación de sarro no se trata, se puede producir una inflamación y retracción de las encías que puede descalzar el diente y provocar caídas.
  • Mal aliento (halitosis).
  • Sarro perros
  • Puede ir a más
  • Las bacterias de la placa pueden trasladarse a través del torrente circulatorio a órganos vitales como el corazón ocasionando problemas de endocarditis en las válvulas. Las bacterias pueden incluso acantonarse en huesos (La osteomielitis es la infección ósea, tanto cortical como medular) provocando mucho dolor y una artritis séptica).

¿Cómo se forma el sarro?

El sarro es la calcificación de la placa dental. Los restos de alimentos, junto con las bacterias presentes en la boca, van a formar la placa bacteriana o placa dental. Si la placa no se retira, al mezclarse con la saliva y los minerales presentes en ella, reaccionará formando una costra. La placa se calcifica y se forma el sarro.

El sarro, cuando se forma, es de color blanquecino pero a medida que pasa el tiempo se va poniendo amarillo y luego marrón.

Síntomas de una pobre higiene dental
La señal más obvia de una mala salud dental canina es el mal aliento.

Sin embargo, a veces no es tan fácil de detectar
Y hay perros que no se dejan abrir la boca por su dueño. Por ejemplo…

Recientemente nos trajeron a la clínica a un perro que parpadeaba de un ojo y decía su dueño que le picaba un lado de la cara. Tenía molestias y dificultad para comer, lo que había llevado a sus dueños a comprarle comida blanda (que suele ser un poco más cara y llevar más contenido en grasa) durante medio año. Después de una exploración oftalmológica, nos dimos cuenta de que el ojo tenía una úlcera en la córnea probablemente de rascarse . Además, el canto lateral del ojo estaba inflamado. Tenía lo que en humanos llamamos flemón pero como era un perro de pelo largo, no se le notaba a simple vista. Al abrirle la boca nos llamó la atención el ver una muela llena de sarro. Le realizamos una radiografía y encontramos una fístula que llegaba hasta la parte inferior del ojo.

Le tuvimos que extraer la muela. Tras esto, el ojo se curó completamente con unos colirios y una lentilla protectora de úlcera. Afortunadamente, la úlcera no profundizó y no perforó el ojo. Ahora el perro come perfectamente a pesar de haber perdido una muela.

¿Cómo mantener la higiene dental de tu perro?
Hay varias maneras de prevenir problemas derivados de la salud dental de tu perro.

Limpiezas de dientes en casa
Es recomendable limpiar los dientes de tu perro semanal o diariamente si se puede. Existe una gran variedad de productos que se pueden utilizar:

Pastas de dientes.
Cepillos de dientes o dedales para el dedo índice, que hacen más fácil la limpieza.
Colutorios para echar en agua de bebida o directamente sobre el diente en líquido o en spray.

En la Clínica Tus Veterinarios enseñamos a nuestros clientes a tomar el hábito de limpiar los dientes de sus perros desde que son cachorros. Esto responde a nuestro compromiso con la prevención de enfermedades caninas.

Hoy en día tenemos muchos clientes que limpian los dientes todos los días a su mascota, y como resultado, se ahorran el dinero de hacer limpiezas dentales profesionales y consiguen una mejor salud de su perro.


Limpiezas dentales profesionales de perros y gatos

Recomendamos hacer una limpieza dental especializada anualmente. La realizamos con un aparato de ultrasonidos que utiliza agua para quitar el sarro. Después, procedemos a pulir los dientes con un cepillo de alta velocidad y una pasta especial. Hacemos esto para proteger el esmalte.

La frecuencia de limpiezas dentales necesaria varía mucho entre razas. En general, las razas grandes tienen buena calidad de esmalte, por lo que no necesitan hacerlo tan a menudo e incluso pueden pasarse la vida sin requerir una limpieza. Sin embargo, razas pequeñas como el Yorkshire o el Maltés, deben hacérselas todos los años desde cachorros si se quiere conservar sus piezas dentales.

Otro factor fundamental es la calidad del pienso. Algunas marcas han diseñado croquetas que limpian la superficie del diente y de la muela al masticarse.

Ultrasonido para perros

¿Se necesita anestesia para las limpiezas dentales de perros y gatos?

La limpieza dental en perros no es una técnica que pueda practicarse sin anestesia general , aunque hay veces que los propietarios no quieren anestesiar y si tiene poco sarro y el perro es muy bueno se puede intentar…… , pero no se va a poder pulir ni acceder a todas la zona de la boca …. Además los limpiadores dentales van a irrigar agua y hay riesgo de aspiración a vías respiratorias si no se realiza una anestesia correcta con intubación traqueal . En resumen , sin anestesia no se va hacer una correcta limpieza dental.

Tampoco sirve la sedación ya que necesitamos que el animal esté totalmente quieto, y el veterinario tenga un acceso completo a todas sus piezas dentales y encías.

Alimentos para la limpieza dental

Hay que tener cierto cuidado a la hora de comprar determinados alimentos porque no todos son saludables. Algunos tienen demasiado contenido graso, que en exceso puede causar problemas cardiovasculares y obesidad.

Los mejores alimentos para los dientes son aquellos que están elaborados por empresas farmacéuticas y llevan componentes químicos con tratamientos específicos para el diente del perro. Esto implica no solo limpieza a través de la acción mecánica de morder sino también un tratamiento antibacteriano para prevenir el sarro.

Conclusión

Si eres como la mayoría de dueños, por falta de tiempo , es probable que no estés prestando la suficiente atención a la limpieza dental de tu perro. Por eso te animamos a que comiences a limpiar los dientes de tu perro y consideres atender a su higiene bucal con frecuencia.

Estas simples medidas pueden conllevar a que tu perro tenga una vida más larga y mucho más saludable.

Si te resulta imposible introducir un cepillo de dientes a tu perro en la boca, pásate con él por clínica Tus Veterinarios y te explicamos cómo hacerlo.

Necesitas hacer una limpieza dental profesional a tu mascota?
Llámanos al 622575274 o contacta con nosotros

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

¡Hola!