
    $jO                     .    d Z dZdededz  dedz  fdZdS )zMIME type constants and helpers for MCP Apps UI resources.

This module has no dependencies on the server or resource packages,
so it can be safely imported from anywhere.
ztext/html;profile=mcp-appuriexplicit_mime_typeNreturnc                 j    ||S |                                                      d          rt          S dS )at  Return the appropriate MIME type for a resource URI.

    For ``ui://`` scheme resources, defaults to ``UI_MIME_TYPE`` when no
    explicit MIME type is provided.

    Args:
        uri: The resource URI string
        explicit_mime_type: The MIME type explicitly provided by the user

    Returns:
        The resolved MIME type (explicit value, UI default, or None)
    Nzui://)lower
startswithUI_MIME_TYPE)r   r   s     ^/home/rurouni/.hermes/hermes-agent/venv/lib/python3.11/site-packages/fastmcp/utilities/mime.pyresolve_ui_mime_typer
   
   s9     %!!
yy{{g&& 4    )__doc__r   strr
    r   r	   <module>r      sQ     +c sTz cDj      r   