"""Crawler-visible preview for the hosted Cloud frontend only."""
CLOUD_IMAGE = 'https://cloud.langbot.app/social/cloud-v3.png'
def cloud_preview_html(html: str, hostname: str) -> str:
if hostname.split(':', 1)[0].lower() != 'cloud.langbot.app':
return html
tags = (
''
''
''
f''
''
''
''
''
f''
)
return html.replace('', tags + '', 1)