Ë
    €×<i  ã                  ó4   — d Z ddlmZ ddlmZ ddlmZ dd„Zy)zUtilities for generating HTML.é    )Úannotations)ÚElementTree)Ú	sheets_idc                ó   — t        j                  dddt        | «      dœ¬«      }|r|nd|_        t        j                  |dd¬	«      S )
a  Returns a HTML string representing an anchor tag.

    This class uses the xml.etree library to handle HTML escaping.

    Args:
      url: The Sheets URL to link to.
      text: The text body of the link.

    Returns:
      A string representing a HTML fragment.
    ÚaÚ_blankÚnoopener)ÚtargetÚrelÚhref)ÚattribÚlinkÚunicodeÚhtml)ÚencodingÚmethod)r   ÚElementÚstrÚtextÚtostring)Úurlr   Útags      úl/home/www/utuvibe.miabetepe.com/venv/lib/python3.12/site-packages/google/generativeai/notebook/html_utils.pyÚget_anchor_tagr      sO   € ô ×
Ñ
Øð ð Ü˜“Hñ
ô
€Cñ ‰t €C„HÜ×Ñ ¨iÀÔGÐGó    N)r   zsheets_id.SheetsURLr   r   Úreturnr   )Ú__doc__Ú
__future__r   Ú	xml.etreer   Úgoogle.generativeai.notebookr   r   © r   r   ú<module>r"      s   ðñ %Ý "å !Ý 2ôHr   