@askly/widget 2.11.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/MIGRATION-3.0.md +58 -0
  2. package/README.md +131 -3
  3. package/dist/app/HelpTab-BrWJK4wa.js +1 -0
  4. package/dist/app/VoiceRecorder-rdqySW9p.js +1 -0
  5. package/dist/app/ar-V_LzQrur.js +1 -0
  6. package/dist/app/askly-app.js +1 -0
  7. package/dist/app/de-BN3nFgQz.js +1 -0
  8. package/dist/app/es-BvfGFMIb.js +1 -0
  9. package/dist/app/fr-DNlpcnFv.js +1 -0
  10. package/dist/app/hi-C81tFu4P.js +1 -0
  11. package/dist/app/pt-nxDVHThV.js +1 -0
  12. package/dist/app/shared-Cp0FX5Ux.js +1 -0
  13. package/dist/app/speech-8iAgRQFA.js +1 -0
  14. package/dist/index.esm.js +1 -1
  15. package/dist/index.umd.js +1 -1
  16. package/dist/loader.js +1 -0
  17. package/dist/types/app.d.ts +3 -0
  18. package/dist/types/core/api.d.ts +34 -0
  19. package/dist/types/core/config.d.ts +52 -0
  20. package/dist/{core → types/core}/events.d.ts +10 -0
  21. package/dist/types/core/format.d.ts +2 -0
  22. package/dist/types/core/html.d.ts +2 -0
  23. package/dist/{core → types/core}/speech.d.ts +2 -7
  24. package/dist/{core → types/core}/types.d.ts +8 -0
  25. package/dist/types/core/voice.d.ts +6 -0
  26. package/dist/types/i18n/en.d.ts +144 -0
  27. package/dist/types/i18n/index.d.ts +32 -0
  28. package/dist/types/i18n/locales/ar.d.ts +3 -0
  29. package/dist/types/i18n/locales/de.d.ts +3 -0
  30. package/dist/types/i18n/locales/es.d.ts +3 -0
  31. package/dist/types/i18n/locales/fr.d.ts +3 -0
  32. package/dist/types/i18n/locales/hi.d.ts +3 -0
  33. package/dist/types/i18n/locales/pt.d.ts +3 -0
  34. package/dist/types/index.d.ts +8 -0
  35. package/dist/types/loader/attrs.d.ts +4 -0
  36. package/dist/types/loader/core.d.ts +26 -0
  37. package/dist/types/ui/ChatTerms.d.ts +5 -0
  38. package/dist/{ui → types/ui}/GreetingBubble.d.ts +4 -0
  39. package/dist/{ui → types/ui}/Launcher.d.ts +5 -0
  40. package/dist/{ui → types/ui}/MessageList.d.ts +5 -0
  41. package/dist/types/widget-entry.d.ts +1 -0
  42. package/dist/types/widget.d.ts +3 -0
  43. package/dist/widget.js +1 -10
  44. package/package.json +33 -21
  45. package/dist/core/format.d.ts +0 -2
  46. package/dist/index.d.ts +0 -124
  47. package/dist/ui/ChatTerms.d.ts +0 -3
  48. package/dist/widget.d.ts +0 -4
  49. /package/dist/{core → types/core}/greeting.d.ts +0 -0
  50. /package/dist/{core → types/core}/session.d.ts +0 -0
  51. /package/dist/{core → types/core}/storage.d.ts +0 -0
  52. /package/dist/{icons.d.ts → types/icons.d.ts} +0 -0
  53. /package/dist/{identity.d.ts → types/identity.d.ts} +0 -0
  54. /package/dist/{markdown.d.ts → types/markdown.d.ts} +0 -0
  55. /package/dist/{pathRules.d.ts → types/pathRules.d.ts} +0 -0
  56. /package/dist/{realtime.d.ts → types/realtime.d.ts} +0 -0
  57. /package/dist/{ui → types/ui}/Composer.d.ts +0 -0
  58. /package/dist/{ui → types/ui}/ConversationList.d.ts +0 -0
  59. /package/dist/{ui → types/ui}/ExploreTab.d.ts +0 -0
  60. /package/dist/{ui → types/ui}/HelpTab.d.ts +0 -0
  61. /package/dist/{ui → types/ui}/NavTabs.d.ts +0 -0
  62. /package/dist/{ui → types/ui}/PanelHeader.d.ts +0 -0
  63. /package/dist/{ui → types/ui}/VoiceRecorder.d.ts +0 -0
@@ -0,0 +1 @@
1
+ const e={launcher_open:"Abrir el chat de soporte",launcher_close:"Cerrar el chat de soporte",launcher_open_unread_one:"Abrir el chat de soporte, {count} mensaje nuevo",launcher_open_unread_other:"Abrir el chat de soporte, {count} mensajes nuevos",launcher_unread_overflow:"{count}+",panel_label:"Soporte de {organizationName}",header_messages:"Mensajes",header_help_center:"Centro de ayuda",header_back_to_conversations:"Volver a las conversaciones",header_expand:"Ampliar ventana",header_collapse:"Reducir ventana",header_close:"Cerrar",conversation_label:"Conversación",sending_to_team:"Enviando al equipo…",uploading_attachment:"Subiendo archivo adjunto…",new_messages_one:"{count} mensaje nuevo",new_messages_other:"{count} mensajes nuevos",reaction_helpful:"Útil",reaction_not_helpful:"No útil",copy_message:"Copiar mensaje",copied:"Copiado",message_from_agent:"Agente",message_from_you:"Tú",terms_notice:"Al chatear, acepta nuestros {terms}",terms_link:"Términos",powered_by:"Con tecnología de {brand}",tab_explore:"Explorar",tab_messages:"Mensajes",tab_help:"Ayuda",tabs_label:"Secciones",conversations_empty_title:"Aún no hay conversaciones",conversations_empty_desc:"Inicie un chat y nuestro agente de IA y nuestro equipo le ayudarán.",conversation_no_messages:"Aún no hay mensajes",conversation_title:"Chat n.º {number}",start_new_chat:"Hacer una pregunta",composer_label:"Mensaje",composer_placeholder:"Escriba su mensaje…",composer_placeholder_lead_required:"Indique su correo electrónico arriba para continuar…",composer_placeholder_security_check:"Complete la verificación de seguridad para chatear…",composer_hint:"Presione Intro para enviar y Mayús+Intro para una nueva línea",attach_file:"Adjuntar un archivo (máx. 10 MB)",insert_emoji:"Insertar emoji",emoji_picker_label:"Elegir un emoji",send_message:"Enviar mensaje",attachment_image_alt:"Imagen adjunta",attachment_file_label:"Archivo adjunto: {name}",notice_security_check_required:"Primero complete la verificación de seguridad.",voice_start:"Entrada de voz",voice_finish:"Finalizar grabación",voice_status_waiting:"Esperando el micrófono…",voice_status_listening:"Escuchando…",voice_status_transcribing:"Transcribiendo…",voice_countdown:"{count} s",voice_seconds_left_one:"Queda 1 segundo",voice_seconds_left_other:"Quedan {count} segundos",voice_cancel:"Cancelar entrada de voz",voice_stop:"Detener y transcribir",voice_retry:"Intentar de nuevo",voice_error_insecure:"La entrada de voz requiere una página segura (https).",voice_error_unsupported:"Este navegador no admite la entrada de voz.",voice_error_denied:"El acceso al micrófono está bloqueado. Permítalo en la configuración del sitio de su navegador para usar la entrada de voz.",voice_error_no_microphone:"No se encontró ningún micrófono.",voice_error_no_speech:"No se detectó voz. Intente de nuevo.",voice_error_no_audio:"No llega sonido del micrófono. Verifique que no esté silenciado y que esté seleccionado el correcto.",voice_error_limit:"La entrada de voz no está disponible en este momento. Escriba su mensaje.",voice_error_disabled:"La entrada de voz está desactivada.",voice_error_network:"No se pudo transcribir la grabación. Revise su conexión e intente de nuevo.",voice_error_failed:"No se pudo transcribir la grabación. Intente de nuevo o escriba su mensaje.",lead_prompt:"Deje su correo electrónico y le responderemos ahí si ya no está.",lead_email_placeholder:"nombre@ejemplo.com",lead_email_label:"Su dirección de correo electrónico",lead_save:"Guardar",lead_saving:"Guardando…",lead_dismiss:"No, gracias",lead_error_invalid_email:"Eso no parece una dirección de correo electrónico.",lead_error_save_failed:"No se pudo guardar en este momento. Puede seguir chateando.",greeting_default:"Hola de parte de {organizationName}. ¿En qué podemos ayudarle?",greeting_default_persona:"Hola, soy {ai_name}, de {organizationName}. ¿En qué puedo ayudarle?",greeting_dismiss:"Cerrar saludo",welcome_default:"¡Hola! ¿En qué puedo ayudarle hoy?",explore_hero_title:"¡Hola!",explore_hero_subtitle:"¿En qué podemos ayudarle?",explore_search_placeholder:"Buscar ayuda…",explore_cta_title:"Pregunte a nuestro agente de IA",explore_cta_sub:"Respuestas al instante, 24/7, o hable con el equipo",explore_tile_help_title:"Centro de ayuda",explore_tile_help_sub:"Guías y documentación",explore_tile_messages_title:"Mensajes",explore_tile_messages_sub:"Sus conversaciones",explore_popular_questions:"Preguntas populares",explore_ask_ai_about_this:"Preguntar al agente de IA sobre esto",explore_recommended_reading:"Lectura recomendada",help_search_placeholder:"Buscar artículos…",help_search_label:"Buscar artículos",help_searching:"Buscando…",help_search_no_results:"No hay artículos que coincidan con «{query}»",help_all_collections:"Todas las colecciones",help_back_to_articles:"Volver a los artículos",help_document_type_fallback:"Guía",help_written_by:"Escrito por el equipo de soporte de {organizationName}",help_updated_recently:"Actualizado recientemente",help_read_time_one:"{count} min de lectura",help_read_time_other:"{count} min de lectura",help_feedback_title:"¿Respondió esto a su pregunta?",help_feedback_thanks:"¡Gracias por sus comentarios!",help_feedback_yes:"Sí",help_feedback_somewhat:"Más o menos",help_feedback_no:"No",help_handoff_title:"¿Aún tiene preguntas?",help_handoff_desc:"Pregunte a nuestro agente de IA para obtener respuestas al instante",help_handoff_prefill:"Tengo una pregunta sobre el artículo «{title}»: ",help_collection_articles:"Artículos de {collection} ({count})",help_article_count_one:"{count} artículo",help_article_count_other:"{count} artículos",help_empty_title:"Documentación de ayuda",help_empty_desc:"Busque arriba para obtener soluciones al instante desde nuestra base de conocimientos.",help_collection_guide_title:"Guías y tutoriales",help_collection_guide_desc:"Tutoriales de configuración, normas y guías para empezar",help_collection_faq_title:"Preguntas frecuentes",help_collection_faq_desc:"Respuestas rápidas a preguntas habituales sobre la cuenta y el servicio",help_collection_troubleshooting_title:"Solución de problemas y soporte",help_collection_troubleshooting_desc:"Soluciones paso a paso para problemas técnicos",help_collection_other_title:"Normas y documentación",help_collection_other_desc:"Términos oficiales, normas y documentación de políticas",help_featured_article:"Artículo destacado",help_untitled_article:"Artículo sin título",help_unavailable:"No se pudo cargar el centro de ayuda. Revise su conexión e intente de nuevo.",link_opens_new_tab:"(se abre en una pestaña nueva)",error_search_rate_limited:"Está buscando demasiado rápido. Espere un momento e intente de nuevo.",error_search_unavailable:"La búsqueda no está disponible en este momento. Intente de nuevo en unos instantes.",error_send_rate_limited:"Está enviando mensajes demasiado rápido. Espere un momento e intente de nuevo.",error_send_failed:"Lo sentimos, algo salió mal. Intente de nuevo.",error_attachment_rejected:"No se puede adjuntar ese archivo. Puede que sea demasiado grande (límite de 10 MB) o de un tipo no permitido.",error_attachment_upload_failed:"No se pudo subir el archivo adjunto. Intente de nuevo."};export{e as default};
@@ -0,0 +1 @@
1
+ const e={launcher_open:"Ouvrir le chat d’assistance",launcher_close:"Fermer le chat d’assistance",launcher_open_unread_one:"Ouvrir le chat d’assistance, {count} nouveau message",launcher_open_unread_other:"Ouvrir le chat d’assistance, {count} nouveaux messages",launcher_unread_overflow:"{count}+",panel_label:"Assistance {organizationName}",header_messages:"Messages",header_help_center:"Centre d’aide",header_back_to_conversations:"Retour aux conversations",header_expand:"Agrandir la fenêtre",header_collapse:"Réduire la fenêtre",header_close:"Fermer",conversation_label:"Conversation",sending_to_team:"Envoi à l’équipe…",uploading_attachment:"Envoi de la pièce jointe…",new_messages_one:"{count} nouveau message",new_messages_other:"{count} nouveaux messages",reaction_helpful:"Utile",reaction_not_helpful:"Pas utile",copy_message:"Copier le message",copied:"Copié",message_from_agent:"Agent",message_from_you:"Vous",terms_notice:"En discutant avec nous, vous acceptez nos {terms}",terms_link:"Conditions d’utilisation",powered_by:"Propulsé par {brand}",tab_explore:"Explorer",tab_messages:"Messages",tab_help:"Aide",tabs_label:"Sections",conversations_empty_title:"Aucune conversation pour l’instant",conversations_empty_desc:"Lancez une discussion : notre agent IA et notre équipe sont là pour vous aider.",conversation_no_messages:"Aucun message pour l’instant",conversation_title:"Chat n° {number}",start_new_chat:"Poser une question",composer_label:"Message",composer_placeholder:"Écrivez votre message…",composer_placeholder_lead_required:"Ajoutez votre e-mail ci-dessus pour continuer…",composer_placeholder_security_check:"Validez la vérification de sécurité pour discuter…",composer_hint:"Entrée pour envoyer, Maj+Entrée pour un saut de ligne",attach_file:"Joindre un fichier (10 Mo max)",insert_emoji:"Insérer un emoji",emoji_picker_label:"Choisir un emoji",send_message:"Envoyer le message",attachment_image_alt:"Image jointe",attachment_file_label:"Fichier joint : {name}",notice_security_check_required:"Veuillez d’abord effectuer la vérification de sécurité.",voice_start:"Saisie vocale",voice_finish:"Terminer l’enregistrement",voice_status_waiting:"En attente du micro…",voice_status_listening:"Écoute en cours…",voice_status_transcribing:"Transcription en cours…",voice_countdown:"{count} s",voice_seconds_left_one:"{count} seconde restante",voice_seconds_left_other:"{count} secondes restantes",voice_cancel:"Annuler la saisie vocale",voice_stop:"Arrêter et transcrire",voice_retry:"Réessayer",voice_error_insecure:"La saisie vocale nécessite une page sécurisée (https).",voice_error_unsupported:"La saisie vocale n’est pas prise en charge par ce navigateur.",voice_error_denied:"L’accès au micro est bloqué. Autorisez-le dans les paramètres du site de votre navigateur pour utiliser la saisie vocale.",voice_error_no_microphone:"Aucun micro détecté.",voice_error_no_speech:"Je n’ai pas bien entendu. Veuillez réessayer.",voice_error_no_audio:"Aucun son ne provient de votre micro. Vérifiez qu’il n’est pas coupé et que le bon micro est sélectionné.",voice_error_limit:"La saisie vocale n’est pas disponible pour le moment. Veuillez écrire votre message.",voice_error_disabled:"La saisie vocale est désactivée.",voice_error_network:"Votre enregistrement n’a pas pu être transcrit. Vérifiez votre connexion et réessayez.",voice_error_failed:"Votre enregistrement n’a pas pu être transcrit. Réessayez ou écrivez votre message.",lead_prompt:"Laissez votre e-mail : nous vous y répondrons si vous n’êtes plus là.",lead_email_placeholder:"vous@exemple.com",lead_email_label:"Votre adresse e-mail",lead_save:"Enregistrer",lead_saving:"Enregistrement…",lead_dismiss:"Non merci",lead_error_invalid_email:"Cela ne ressemble pas à une adresse e-mail.",lead_error_save_failed:"Impossible d’enregistrer pour le moment. Vous pouvez continuer à discuter.",greeting_default:"Bonjour, ici {organizationName}. Comment pouvons-nous vous aider ?",greeting_default_persona:"Bonjour, je suis {ai_name} de {organizationName}. Comment puis-je vous aider ?",greeting_dismiss:"Fermer le message d’accueil",welcome_default:"Bonjour ! Comment puis-je vous aider aujourd’hui ?",explore_hero_title:"Bonjour",explore_hero_subtitle:"Comment pouvons-nous vous aider ?",explore_search_placeholder:"Rechercher de l’aide…",explore_cta_title:"Demander à notre agent IA",explore_cta_sub:"Réponses instantanées 24h/24 et 7j/7 — ou contactez l’équipe",explore_tile_help_title:"Centre d’aide",explore_tile_help_sub:"Guides et documentation",explore_tile_messages_title:"Messages",explore_tile_messages_sub:"Vos conversations",explore_popular_questions:"Questions populaires",explore_ask_ai_about_this:"Poser la question à l’agent IA",explore_recommended_reading:"Lectures recommandées",help_search_placeholder:"Rechercher des articles…",help_search_label:"Rechercher des articles",help_searching:"Recherche en cours…",help_search_no_results:"Aucun article ne correspond à « {query} »",help_all_collections:"Toutes les collections",help_back_to_articles:"Retour aux articles",help_document_type_fallback:"Guide",help_written_by:"Rédigé par l’équipe d’assistance {organizationName}",help_updated_recently:"Mis à jour récemment",help_read_time_one:"{count} min de lecture",help_read_time_other:"{count} min de lecture",help_feedback_title:"Cet article a-t-il répondu à votre question ?",help_feedback_thanks:"Merci pour votre retour !",help_feedback_yes:"Oui",help_feedback_somewhat:"En partie",help_feedback_no:"Non",help_handoff_title:"D’autres questions ?",help_handoff_desc:"Demandez à notre agent IA une réponse immédiate",help_handoff_prefill:"J’ai une question sur l’article « {title} » : ",help_collection_articles:"{collection} — articles ({count})",help_article_count_one:"{count} article",help_article_count_other:"{count} articles",help_empty_title:"Documentation d’aide",help_empty_desc:"Recherchez ci-dessus pour trouver des solutions dans notre base de connaissances.",help_collection_guide_title:"Guides et tutoriels",help_collection_guide_desc:"Pas à pas de configuration, règles et guides de démarrage",help_collection_faq_title:"Foire aux questions",help_collection_faq_desc:"Réponses rapides aux questions courantes sur votre compte et nos services",help_collection_troubleshooting_title:"Dépannage et assistance",help_collection_troubleshooting_desc:"Solutions pas à pas aux problèmes techniques",help_collection_other_title:"Règles et documentation",help_collection_other_desc:"Conditions officielles, règles et politiques",help_featured_article:"Article à la une",help_untitled_article:"Article sans titre",help_unavailable:"Le centre d’aide n’a pas pu être chargé. Vérifiez votre connexion et réessayez.",link_opens_new_tab:"(s’ouvre dans un nouvel onglet)",error_search_rate_limited:"Vous effectuez trop de recherches. Patientez un instant, puis réessayez.",error_search_unavailable:"La recherche est indisponible pour le moment. Veuillez réessayer dans quelques instants.",error_send_rate_limited:"Vous envoyez des messages trop vite. Patientez un instant, puis réessayez.",error_send_failed:"Désolé, une erreur s’est produite. Veuillez réessayer.",error_attachment_rejected:"Ce fichier ne peut pas être joint. Il est peut-être trop volumineux (10 Mo max) ou d’un type non autorisé.",error_attachment_upload_failed:"Cette pièce jointe n’a pas pu être envoyée. Veuillez réessayer."};export{e as default};
@@ -0,0 +1 @@
1
+ const e={launcher_open:"सपोर्ट चैट खोलें",launcher_close:"सपोर्ट चैट बंद करें",launcher_open_unread_one:"सपोर्ट चैट खोलें, {count} नया मैसेज",launcher_open_unread_other:"सपोर्ट चैट खोलें, {count} नए मैसेज",launcher_unread_overflow:"{count}+",panel_label:"{organizationName} सपोर्ट",header_messages:"मैसेज",header_help_center:"हेल्प सेंटर",header_back_to_conversations:"बातचीत की सूची पर वापस जाएँ",header_expand:"विंडो बड़ी करें",header_collapse:"विंडो छोटी करें",header_close:"बंद करें",conversation_label:"बातचीत",sending_to_team:"टीम को भेजा जा रहा है…",uploading_attachment:"अटैचमेंट अपलोड हो रहा है…",new_messages_one:"{count} नया मैसेज",new_messages_other:"{count} नए मैसेज",reaction_helpful:"मददगार",reaction_not_helpful:"मददगार नहीं",copy_message:"मैसेज कॉपी करें",copied:"कॉपी हो गया",message_from_agent:"एजेंट",message_from_you:"आप",terms_notice:"चैट करके आप हमारी {terms} स्वीकार करते हैं",terms_link:"सेवा की शर्तें",powered_by:"{brand} द्वारा संचालित",tab_explore:"एक्सप्लोर",tab_messages:"मैसेज",tab_help:"हेल्प",tabs_label:"सेक्शन",conversations_empty_title:"अभी कोई बातचीत नहीं",conversations_empty_desc:"चैट शुरू करें, हमारा AI एजेंट और टीम आपकी मदद करेंगे।",conversation_no_messages:"अभी कोई मैसेज नहीं",conversation_title:"चैट #{number}",start_new_chat:"सवाल पूछें",composer_label:"मैसेज",composer_placeholder:"अपना मैसेज लिखें…",composer_placeholder_lead_required:"आगे बढ़ने के लिए ऊपर अपना ईमेल डालें…",composer_placeholder_security_check:"चैट करने के लिए सुरक्षा जाँच पूरी करें…",composer_hint:"भेजने के लिए Enter, नई लाइन के लिए Shift+Enter दबाएँ",attach_file:"फ़ाइल अटैच करें (अधिकतम 10 MB)",insert_emoji:"इमोजी डालें",emoji_picker_label:"इमोजी चुनें",send_message:"मैसेज भेजें",attachment_image_alt:"इमेज अटैचमेंट",attachment_file_label:"फ़ाइल अटैचमेंट: {name}",notice_security_check_required:"कृपया पहले सुरक्षा जाँच पूरी करें।",voice_start:"वॉइस इनपुट",voice_finish:"रिकॉर्डिंग पूरी करें",voice_status_waiting:"माइक्रोफ़ोन का इंतज़ार है…",voice_status_listening:"सुन रहे हैं…",voice_status_transcribing:"टेक्स्ट में बदला जा रहा है…",voice_countdown:"{count} से.",voice_seconds_left_one:"{count} सेकंड बाकी",voice_seconds_left_other:"{count} सेकंड बाकी",voice_cancel:"वॉइस इनपुट रद्द करें",voice_stop:"रोकें और टेक्स्ट में बदलें",voice_retry:"फिर से कोशिश करें",voice_error_insecure:"वॉइस इनपुट के लिए सुरक्षित (https) पेज ज़रूरी है।",voice_error_unsupported:"यह ब्राउज़र वॉइस इनपुट सपोर्ट नहीं करता।",voice_error_denied:"माइक्रोफ़ोन की अनुमति नहीं है। वॉइस इनपुट इस्तेमाल करने के लिए ब्राउज़र की साइट सेटिंग्स में इसे अनुमति दें।",voice_error_no_microphone:"कोई माइक्रोफ़ोन नहीं मिला।",voice_error_no_speech:"कुछ सुनाई नहीं दिया। कृपया फिर से कोशिश करें।",voice_error_no_audio:"आपके माइक्रोफ़ोन से कोई आवाज़ नहीं आ रही है। देख लें कि वह म्यूट न हो और सही माइक्रोफ़ोन चुना गया हो।",voice_error_limit:"वॉइस इनपुट अभी उपलब्ध नहीं है। कृपया अपना मैसेज टाइप करें।",voice_error_disabled:"वॉइस इनपुट बंद है।",voice_error_network:"आपकी रिकॉर्डिंग टेक्स्ट में नहीं बदली जा सकी। अपना कनेक्शन जाँचें और फिर से कोशिश करें।",voice_error_failed:"आपकी रिकॉर्डिंग टेक्स्ट में नहीं बदली जा सकी। कृपया फिर से कोशिश करें या अपना मैसेज टाइप करें।",lead_prompt:"अपना ईमेल छोड़ दें, अगर आप चले गए तो हम वहाँ जवाब देंगे।",lead_email_placeholder:"you@example.com",lead_email_label:"आपका ईमेल पता",lead_save:"सेव करें",lead_saving:"सेव हो रहा है…",lead_dismiss:"नहीं, धन्यवाद",lead_error_invalid_email:"यह ईमेल पता सही नहीं लग रहा।",lead_error_save_failed:"अभी सेव नहीं हो सका। आप चैट जारी रख सकते हैं।",greeting_default:"{organizationName} की ओर से नमस्ते। हम आपकी कैसे मदद कर सकते हैं?",greeting_default_persona:"नमस्ते, मैं {organizationName} से {ai_name} हूँ। बताइए, आपकी कैसे मदद करूँ?",greeting_dismiss:"ग्रीटिंग हटाएँ",welcome_default:"नमस्ते! आज आपकी कैसे मदद करूँ?",explore_hero_title:"नमस्ते",explore_hero_subtitle:"हम आपकी कैसे मदद कर सकते हैं?",explore_search_placeholder:"मदद खोजें…",explore_cta_title:"हमारे AI एजेंट से पूछें",explore_cta_sub:"तुरंत जवाब, 24/7 — या टीम से बात करें",explore_tile_help_title:"हेल्प सेंटर",explore_tile_help_sub:"गाइड और डॉक्स",explore_tile_messages_title:"मैसेज",explore_tile_messages_sub:"आपकी बातचीत",explore_popular_questions:"लोकप्रिय सवाल",explore_ask_ai_about_this:"इस बारे में AI एजेंट से पूछें",explore_recommended_reading:"सुझाए गए लेख",help_search_placeholder:"लेख खोजें…",help_search_label:"लेख खोजें",help_searching:"खोज रहे हैं…",help_search_no_results:"“{query}” से मेल खाता कोई लेख नहीं मिला",help_all_collections:"सभी कलेक्शन",help_back_to_articles:"लेखों पर वापस जाएँ",help_document_type_fallback:"गाइड",help_written_by:"{organizationName} सपोर्ट टीम द्वारा लिखित",help_updated_recently:"हाल ही में अपडेट किया गया",help_read_time_one:"{count} मिनट में पढ़ें",help_read_time_other:"{count} मिनट में पढ़ें",help_feedback_title:"क्या इससे आपके सवाल का जवाब मिला?",help_feedback_thanks:"आपके फ़ीडबैक के लिए धन्यवाद!",help_feedback_yes:"हाँ",help_feedback_somewhat:"कुछ हद तक",help_feedback_no:"नहीं",help_handoff_title:"अभी भी कोई सवाल है?",help_handoff_desc:"तुरंत जवाब के लिए हमारे AI एजेंट से पूछें",help_handoff_prefill:"मुझे “{title}” लेख के बारे में एक सवाल है: ",help_collection_articles:"{collection} के लेख ({count})",help_article_count_one:"{count} लेख",help_article_count_other:"{count} लेख",help_empty_title:"हेल्प डॉक्यूमेंटेशन",help_empty_desc:"हमारे नॉलेज बेस से तुरंत समाधान पाने के लिए ऊपर खोजें।",help_collection_guide_title:"गाइड और ट्यूटोरियल",help_collection_guide_desc:"सेटअप की जानकारी, नियम और शुरुआत करने की गाइड",help_collection_faq_title:"अक्सर पूछे जाने वाले सवाल",help_collection_faq_desc:"अकाउंट और सेवा से जुड़े आम सवालों के छोटे जवाब",help_collection_troubleshooting_title:"समस्या समाधान और सपोर्ट",help_collection_troubleshooting_desc:"तकनीकी समस्याओं के लिए चरण-दर-चरण समाधान",help_collection_other_title:"नियम और डॉक्यूमेंटेशन",help_collection_other_desc:"आधिकारिक शर्तें, नियम और नीति दस्तावेज़",help_featured_article:"विशेष लेख",help_untitled_article:"बिना शीर्षक का लेख",help_unavailable:"हेल्प सेंटर लोड नहीं हो सका। अपना कनेक्शन जाँचें और फिर से कोशिश करें।",link_opens_new_tab:"(नए टैब में खुलता है)",error_search_rate_limited:"आप बहुत तेज़ी से खोज रहे हैं। कृपया थोड़ा रुकें और फिर से कोशिश करें।",error_search_unavailable:"खोज अभी उपलब्ध नहीं है। कृपया थोड़ी देर बाद फिर से कोशिश करें।",error_send_rate_limited:"आप बहुत तेज़ी से मैसेज भेज रहे हैं। कृपया थोड़ा रुकें और फिर से कोशिश करें।",error_send_failed:"माफ़ कीजिए, कुछ गड़बड़ हो गई। कृपया फिर से कोशिश करें।",error_attachment_rejected:"यह फ़ाइल अटैच नहीं की जा सकती। हो सकता है यह बहुत बड़ी हो (10 MB की सीमा) या इस तरह की फ़ाइल की अनुमति न हो।",error_attachment_upload_failed:"यह अटैचमेंट अपलोड नहीं हो सका। कृपया फिर से कोशिश करें।"};export{e as default};
@@ -0,0 +1 @@
1
+ const e={launcher_open:"Abrir chat de suporte",launcher_close:"Fechar chat de suporte",launcher_open_unread_one:"Abrir chat de suporte, {count} mensagem nova",launcher_open_unread_other:"Abrir chat de suporte, {count} mensagens novas",launcher_unread_overflow:"{count}+",panel_label:"Suporte de {organizationName}",header_messages:"Mensagens",header_help_center:"Central de Ajuda",header_back_to_conversations:"Voltar às conversas",header_expand:"Expandir janela",header_collapse:"Reduzir janela",header_close:"Fechar",conversation_label:"Conversa",sending_to_team:"Enviando para a equipe…",uploading_attachment:"Enviando anexo…",new_messages_one:"{count} mensagem nova",new_messages_other:"{count} mensagens novas",reaction_helpful:"Útil",reaction_not_helpful:"Não foi útil",copy_message:"Copiar mensagem",copied:"Copiado",message_from_agent:"Atendente",message_from_you:"Você",terms_notice:"Ao conversar, você concorda com nossos {terms}",terms_link:"Termos",powered_by:"Desenvolvido por {brand}",tab_explore:"Explorar",tab_messages:"Mensagens",tab_help:"Ajuda",tabs_label:"Seções",conversations_empty_title:"Nenhuma conversa ainda",conversations_empty_desc:"Inicie um chat e nosso agente de IA e nossa equipe vão ajudar você.",conversation_no_messages:"Nenhuma mensagem ainda",conversation_title:"Chat nº {number}",start_new_chat:"Fazer uma pergunta",composer_label:"Mensagem",composer_placeholder:"Digite sua mensagem…",composer_placeholder_lead_required:"Informe seu e-mail acima para continuar…",composer_placeholder_security_check:"Conclua a verificação de segurança para conversar…",composer_hint:"Pressione Enter para enviar e Shift+Enter para uma nova linha",attach_file:"Anexar um arquivo (máx. 10 MB)",insert_emoji:"Inserir emoji",emoji_picker_label:"Escolha um emoji",send_message:"Enviar mensagem",attachment_image_alt:"Imagem anexada",attachment_file_label:"Arquivo anexado: {name}",notice_security_check_required:"Conclua a verificação de segurança primeiro.",voice_start:"Entrada por voz",voice_finish:"Concluir gravação",voice_status_waiting:"Aguardando o microfone…",voice_status_listening:"Ouvindo…",voice_status_transcribing:"Transcrevendo…",voice_countdown:"{count} s",voice_seconds_left_one:"{count} segundo restante",voice_seconds_left_other:"{count} segundos restantes",voice_cancel:"Cancelar entrada por voz",voice_stop:"Parar e transcrever",voice_retry:"Tentar novamente",voice_error_insecure:"A entrada por voz precisa de uma página segura (https).",voice_error_unsupported:"A entrada por voz não é compatível com este navegador.",voice_error_denied:"O acesso ao microfone está bloqueado. Permita-o nas configurações do site no seu navegador para usar a entrada por voz.",voice_error_no_microphone:"Nenhum microfone foi encontrado.",voice_error_no_speech:"Não consegui entender. Tente novamente.",voice_error_no_audio:"Nenhum som está chegando do seu microfone. Verifique se ele não está no mudo e se o microfone certo está selecionado.",voice_error_limit:"A entrada por voz não está disponível no momento. Digite sua mensagem.",voice_error_disabled:"A entrada por voz está desativada.",voice_error_network:"Não foi possível transcrever sua gravação. Verifique sua conexão e tente novamente.",voice_error_failed:"Não foi possível transcrever sua gravação. Tente novamente ou digite sua mensagem.",lead_prompt:"Deixe seu e-mail e responderemos por lá caso você já tenha saído.",lead_email_placeholder:"voce@exemplo.com",lead_email_label:"Seu endereço de e-mail",lead_save:"Salvar",lead_saving:"Salvando…",lead_dismiss:"Não, obrigado",lead_error_invalid_email:"Isso não parece um endereço de e-mail.",lead_error_save_failed:"Não foi possível salvar agora. Você pode continuar conversando.",greeting_default:"Olá, aqui é {organizationName}. Como podemos ajudar?",greeting_default_persona:"Olá, eu sou {ai_name}, de {organizationName}. Como posso ajudar?",greeting_dismiss:"Fechar saudação",welcome_default:"Olá! Como posso ajudar você hoje?",explore_hero_title:"Olá",explore_hero_subtitle:"Como podemos ajudar?",explore_search_placeholder:"Buscar ajuda…",explore_cta_title:"Pergunte ao nosso Agente de IA",explore_cta_sub:"Respostas imediatas, 24 horas por dia — ou fale com a equipe",explore_tile_help_title:"Central de Ajuda",explore_tile_help_sub:"Guias e documentação",explore_tile_messages_title:"Mensagens",explore_tile_messages_sub:"Suas conversas",explore_popular_questions:"Perguntas populares",explore_ask_ai_about_this:"Perguntar ao Agente de IA sobre isso",explore_recommended_reading:"Leitura recomendada",help_search_placeholder:"Buscar artigos…",help_search_label:"Buscar artigos",help_searching:"Buscando…",help_search_no_results:"Nenhum artigo encontrado para “{query}”",help_all_collections:"Todas as coleções",help_back_to_articles:"Voltar aos artigos",help_document_type_fallback:"Guia",help_written_by:"Escrito pela equipe de suporte de {organizationName}",help_updated_recently:"Atualizado recentemente",help_read_time_one:"{count} min de leitura",help_read_time_other:"{count} min de leitura",help_feedback_title:"Isso respondeu à sua pergunta?",help_feedback_thanks:"Obrigado pelo seu feedback!",help_feedback_yes:"Sim",help_feedback_somewhat:"Em parte",help_feedback_no:"Não",help_handoff_title:"Ainda tem dúvidas?",help_handoff_desc:"Pergunte ao nosso Agente de IA e receba respostas imediatas",help_handoff_prefill:"Tenho uma dúvida sobre o artigo “{title}”: ",help_collection_articles:"Artigos de {collection} ({count})",help_article_count_one:"{count} artigo",help_article_count_other:"{count} artigos",help_empty_title:"Documentação de ajuda",help_empty_desc:"Busque acima para encontrar soluções imediatas na nossa base de conhecimento.",help_collection_guide_title:"Guias e tutoriais",help_collection_guide_desc:"Passo a passo de configuração, regras e guias de primeiros passos",help_collection_faq_title:"Perguntas frequentes",help_collection_faq_desc:"Respostas rápidas para dúvidas comuns sobre conta e serviço",help_collection_troubleshooting_title:"Solução de problemas e suporte",help_collection_troubleshooting_desc:"Soluções passo a passo para problemas técnicos",help_collection_other_title:"Regras e documentação",help_collection_other_desc:"Termos oficiais, regras e documentação de políticas",help_featured_article:"Artigo em destaque",help_untitled_article:"Artigo sem título",help_unavailable:"Não foi possível carregar a central de ajuda. Verifique sua conexão e tente novamente.",link_opens_new_tab:"(abre em uma nova aba)",error_search_rate_limited:"Você está buscando rápido demais. Aguarde um momento e tente novamente.",error_search_unavailable:"A busca não está disponível no momento. Tente novamente em instantes.",error_send_rate_limited:"Você está enviando mensagens rápido demais. Aguarde um momento e tente novamente.",error_send_failed:"Desculpe, algo deu errado. Tente novamente.",error_attachment_rejected:"Não foi possível anexar esse arquivo. Ele pode ser grande demais (limite de 10 MB) ou de um tipo não permitido.",error_attachment_upload_failed:"Não foi possível enviar esse anexo. Tente novamente."};export{e as default};
@@ -0,0 +1 @@
1
+ var e,t,n,r,o,i,_,l,a,s,u,c,p,f,h,d={},m=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,g=Array.isArray;function y(e,t){for(var n in t)e[n]=t[n];return e}function b(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function w(t,n,r){var o,i,_,l={};for(_ in n)"key"==_?o=n[_]:"ref"==_?i=n[_]:l[_]=n[_];if(arguments.length>2&&(l.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(_ in t.defaultProps)void 0===l[_]&&(l[_]=t.defaultProps[_]);return k(t,l,o,i,null)}function k(e,r,o,i,_){var l={type:e,props:r,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==_?++n:_,__i:-1,__u:0};return null==_&&null!=t.vnode&&t.vnode(l),l}function C(e){return e.children}function S(e,t){this.props=e,this.context=t}function x(e,t){if(null==t)return e.__?x(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?x(e):null}function N(e){if(e.__P&&e.__d){var n=e.__v,r=n.__e,o=[],i=[],_=y({},n);_.__v=n.__v+1,t.vnode&&t.vnode(_),R(e.__P,_,n,e.__n,e.__P.namespaceURI,32&n.__u?[r]:null,o,null==r?x(n):r,!!(32&n.__u),i),_.__v=n.__v,_.__.__k[_.__i]=_,D(o,_,i),n.__e=n.__=null,_.__e!=r&&M(_)}}function M(e){if(null!=(e=e.__)&&null!=e.__c)return e.__e=e.__c.base=null,e.__k.some(function(t){if(null!=t&&null!=t.__e)return e.__e=e.__c.base=t.__e}),M(e)}function P(e){(!e.__d&&(e.__d=!0)&&r.push(e)&&!E.__r++||o!=t.debounceRendering)&&((o=t.debounceRendering)||i)(E)}function E(){try{for(var e,t=1;r.length;)r.length>t&&r.sort(_),e=r.shift(),t=r.length,N(e)}finally{r.length=E.__r=0}}function H(e,t,n,r,o,i,_,l,a,s,u){var c,p,f,h,v,y,b=r&&r.__k||m,w=t.length;for(a=function(e,t,n,r,o){var i,_,l,a,s,u=n.length,c=u,p=0;for(e.__k=new Array(o),i=0;i<o;i++)null!=(_=t[i])&&"boolean"!=typeof _&&"function"!=typeof _?("string"==typeof _||"number"==typeof _||"bigint"==typeof _||_.constructor==String?_=e.__k[i]=k(null,_,null,null,null):g(_)?_=e.__k[i]=k(C,{children:_},null,null,null):void 0===_.constructor&&_.__b>0?_=e.__k[i]=k(_.type,_.props,_.key,_.ref?_.ref:null,_.__v):e.__k[i]=_,a=i+p,_.__=e,_.__b=e.__b+1,l=null,-1!=(s=_.__i=I(_,n,a,c))&&(c--,(l=n[s])&&(l.__u|=2)),null==l||null==l.__v?(-1==s&&(o>u?p--:o<u&&p++),"function"!=typeof _.type&&(_.__u|=4)):s!=a&&(s==a-1?p--:s==a+1?p++:(s>a?p--:p++,_.__u|=4))):e.__k[i]=null;if(c)for(i=0;i<u;i++)null!=(l=n[i])&&!(2&l.__u)&&(l.__e==r&&(r=x(l)),W(l,l));return r}(n,t,b,a,w),c=0;c<w;c++)null!=(f=n.__k[c])&&(p=-1!=f.__i&&b[f.__i]||d,f.__i=c,y=R(e,f,p,o,i,_,l,a,s,u),h=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&j(p.ref,null,f),u.push(f.ref,f.__c||h,f)),null==v&&null!=h&&(v=h),4&f.__u?(a=$(f,a,e),p.__e&&(p.__e=null)):"function"==typeof f.type&&void 0!==y?a=y:h&&(a=h.nextSibling),f.__u&=-7);return n.__e=v,a}function $(e,t,n){var r,o;if("function"==typeof e.type){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=$(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!t.parentNode&&(t=x(e)),t=n.insertBefore(e.__e,t||null));do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function A(e,t){return t=t||[],null==e||"boolean"==typeof e||(g(e)?e.some(function(e){A(e,t)}):t.push(e)),t}function I(e,t,n,r){var o,i,_,l=e.key,a=e.type,s=t[n],u=null!=s&&!(2&s.__u);if(null===s&&null==l||u&&l==s.key&&a==s.type)return n;if(r>(u?1:0))for(o=n-1,i=n+1;o>=0||i<t.length;)if(null!=(s=t[_=o>=0?o--:i++])&&!(2&s.__u)&&l==s.key&&a==s.type)return _;return-1}function T(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||v.test(t)?n:n+"px"}function U(e,t,n,r,o){var i,_;e:if("style"==t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||T(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||T(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])i=t!=(t=t.replace(u,"$1")),_=t.toLowerCase(),t=_ in e||"onFocusOut"==t||"onFocusIn"==t?_.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n[s]=r[s]:(n[s]=c,e.addEventListener(t,i?f:p,i)):e.removeEventListener(t,i?f:p,i);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function L(e){return function(n){if(this.l){var r=this.l[n.type+e];if(null==n[a])n[a]=c++;else if(n[a]<r[s])return;return r(t.event?t.event(n):n)}}}function R(e,n,r,o,i,_,l,a,s,u){var c,p,f,h,d,v,w,k,N,M,P,E,$,A,I,T,U=n.type;if(void 0!==n.constructor)return null;128&r.__u&&(s=!!(32&r.__u),_=[a=n.__e=r.__e]),(c=t.__b)&&c(n);e:if("function"==typeof U){p=l.length;try{if(N=n.props,M=U.prototype&&U.prototype.render,P=(c=U.contextType)&&o[c.__c],E=c?P?P.props.value:c.__:o,r.__c?k=(f=n.__c=r.__c).__=f.__E:(M?n.__c=f=new U(N,E):(n.__c=f=new S(N,E),f.constructor=U,f.render=q),P&&P.sub(f),f.state||(f.state={}),f.__n=o,h=f.__d=!0,f.__h=[],f._sb=[]),M&&null==f.__s&&(f.__s=f.state),M&&null!=U.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=y({},f.__s)),y(f.__s,U.getDerivedStateFromProps(N,f.__s))),d=f.props,v=f.state,f.__v=n,h)M&&null==U.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),M&&null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(M&&null==U.getDerivedStateFromProps&&N!==d&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(N,E),n.__v==r.__v||!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(N,f.__s,E)){n.__v!=r.__v&&(f.props=N,f.state=f.__s,f.__d=!1),n.__e=r.__e,n.__k=r.__k,n.__k.some(function(e){e&&(e.__=n)}),m.push.apply(f.__h,f._sb),f._sb=[],f.__h.length&&l.push(f),a=x(r);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(N,f.__s,E),M&&null!=f.componentDidUpdate&&f.__h.push(function(){f.componentDidUpdate(d,v,w)})}if(f.context=E,f.props=N,f.__P=e,f.__e=!1,$=t.__r,A=0,M)f.state=f.__s,f.__d=!1,$&&$(n),c=f.render(f.props,f.state,f.context),m.push.apply(f.__h,f._sb),f._sb=[];else do{f.__d=!1,$&&$(n),c=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++A<25);f.state=f.__s,null!=f.getChildContext&&(o=y(y({},o),f.getChildContext())),M&&!h&&null!=f.getSnapshotBeforeUpdate&&(w=f.getSnapshotBeforeUpdate(d,v)),I=null!=c&&c.type===C&&null==c.key?V(c.props.children):c,a=H(e,g(I)?I:[I],n,r,o,i,_,l,a,s,u),f.base=n.__e,n.__u&=-161,f.__h.length&&l.push(f),k&&(f.__E=f.__=null)}catch(e){if(l.length=p,n.__v=null,s||null!=_){if(e.then){for(n.__u|=s?160:128;a&&8==a.nodeType&&a.nextSibling;)a=a.nextSibling;null!=_&&(_[_.indexOf(a)]=null),n.__e=a}else if(null!=_)for(T=_.length;T--;)b(_[T])}else n.__e=r.__e;null==n.__k&&(n.__k=r.__k||[]),e.then||O(n),t.__e(e,n,r)}}else null==_&&n.__v==r.__v?(n.__k=r.__k,n.__e=r.__e):a=n.__e=F(r.__e,n,r,o,i,_,l,s,u);return(c=t.diffed)&&c(n),128&n.__u?void 0:a}function O(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(O))}function D(e,n,r){for(var o=0;o<r.length;o++)j(r[o],r[++o],r[++o]);t.__c&&t.__c(n,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(e){e.call(n)})}catch(e){t.__e(e,n.__v)}})}function V(e){return"object"!=typeof e||null==e||e.__b>0?e:g(e)?e.map(V):void 0!==e.constructor?null:y({},e)}function F(n,r,o,i,_,l,a,s,u){var c,p,f,h,m,v,y,w=o.props||d,k=r.props,C=r.type;if("svg"==C?_="http://www.w3.org/2000/svg":"math"==C?_="http://www.w3.org/1998/Math/MathML":_||(_="http://www.w3.org/1999/xhtml"),null!=l)for(c=0;c<l.length;c++)if((m=l[c])&&"setAttribute"in m==!!C&&(C?m.localName==C:3==m.nodeType)){n=m,l[c]=null;break}if(null==n){if(null==C)return document.createTextNode(k);n=document.createElementNS(_,C,k.is&&k),s&&(t.__m&&t.__m(r,l),s=!1),l=null}if(null==C)w===k||s&&n.data==k||(n.data=k);else{if(l="textarea"==C&&null!=k.defaultValue?null:l&&e.call(n.childNodes),!s&&null!=l)for(w={},c=0;c<n.attributes.length;c++)w[(m=n.attributes[c]).name]=m.value;for(c in w)m=w[c],"dangerouslySetInnerHTML"==c?f=m:"children"==c||c in k||"value"==c&&"defaultValue"in k||"checked"==c&&"defaultChecked"in k||U(n,c,null,m,_);for(c in k)m=k[c],"children"==c?h=m:"dangerouslySetInnerHTML"==c?p=m:"value"==c?v=m:"checked"==c?y=m:s&&"function"!=typeof m||w[c]===m||U(n,c,m,w[c],_);if(p)s||f&&(p.__html==f.__html||p.__html==n.innerHTML)||(n.innerHTML=p.__html),r.__k=[];else if(f&&(n.innerHTML=""),H("template"==r.type?n.content:n,g(h)?h:[h],r,o,i,"foreignObject"==C?"http://www.w3.org/1999/xhtml":_,l,a,l?l[0]:o.__k&&x(o,0),s,u),null!=l)for(c=l.length;c--;)b(l[c]);s&&"textarea"!=C||(c="value","progress"==C&&null==v?n.removeAttribute("value"):null!=v&&(v!==n[c]||"progress"==C&&!v||"option"==C&&v!=w[c])&&U(n,c,v,w[c],_),c="checked",null!=y&&y!=n[c]&&U(n,c,y,w[c],_))}return n}function j(e,n,r){try{if("function"==typeof e){var o="function"==typeof e.__u;o&&e.__u(),o&&null==n||(e.__u=e(n))}else e.current=n}catch(e){t.__e(e,r)}}function W(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!=e.__e||j(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){t.__e(e,n)}o.base=o.__P=o.__n=null}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&W(o[i],n,r||"function"!=typeof e.type);r||b(e.__e),e.__c=e.__=e.__e=void 0}function q(e,t,n){return this.constructor(e,n)}function z(n,r,o){var i,_,l,a;r==document&&(r=document.documentElement),t.__&&t.__(n,r),_=(i="function"==typeof o)?null:o&&o.__k||r.__k,l=[],a=[],R(r,n=(!i&&o||r).__k=w(C,null,[n]),_||d,d,r.namespaceURI,!i&&o?[o]:_?null:r.firstChild?e.call(r.childNodes):null,l,!i&&o?o:_?_.__e:r.firstChild,i,a),D(l,n,a),n.props.children=null}function B(e,t){z(e,t,B)}function Y(t,n,r){var o,i,_,l,a=y({},t.props);for(_ in t.type&&t.type.defaultProps&&(l=t.type.defaultProps),n)"key"==_?o=n[_]:"ref"==_?i=n[_]:a[_]=void 0===n[_]&&null!=l?l[_]:n[_];return arguments.length>2&&(a.children=arguments.length>3?e.call(arguments,2):r),k(t.type,a,o||t.key,i||t.ref,null)}e=m.slice,t={__e:function(e,t,n,r){for(var o,i,_;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),_=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),_=o.__d),_)return o.__E=o}catch(t){e=t}throw e}},n=0,S.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=y({},this.state),"function"==typeof e&&(e=e(y({},n),this.props)),e&&y(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),P(this))},S.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),P(this))},S.prototype.render=C,r=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_=function(e,t){return e.__v.__b-t.__v.__b},E.__r=0,l=Math.random().toString(8),a="__d"+l,s="__a"+l,u=/(PointerCapture)$|Capture$/i,c=0,p=L(!1),f=L(!0),h=0;var Z,J,G,Q,K=0,X=[],ee=t,te=ee.__b,ne=ee.__r,re=ee.diffed,oe=ee.__c,ie=ee.unmount,_e=ee.__;function le(e,t){ee.__h&&ee.__h(J,e,K||t),K=0;var n=J.__H||(J.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function ae(e){return K=1,se(xe,e)}function se(e,t,n){var r=le(Z++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):xe(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=J,!J.__f)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=!1,_=r.__c.props!==e;if(r.__c.__H.__.some(function(e){if(e.__N){o=!0;var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(_=!0)}}),i){var l=i.call(this,e,t,n);return o?l||_:l}return!o||_};J.__f=!0;var i=J.shouldComponentUpdate,_=J.componentWillUpdate;J.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}_&&_.call(this,e,t,n)},J.shouldComponentUpdate=o}return r.__N||r.__}function ue(e,t){var n=le(Z++,3);!ee.__s&&Se(n.__H,t)&&(n.__=e,n.u=t,J.__H.__h.push(n))}function ce(e,t){var n=le(Z++,4);!ee.__s&&Se(n.__H,t)&&(n.__=e,n.u=t,J.__h.push(n))}function pe(e){return K=5,he(function(){return{current:e}},[])}function fe(e,t,n){K=6,ce(function(){if("function"==typeof e){var n=e(t());return function(){e(null),n&&"function"==typeof n&&n()}}if(e)return e.current=t(),function(){return e.current=null}},null==n?n:n.concat(e))}function he(e,t){var n=le(Z++,7);return Se(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function de(e,t){return K=8,he(function(){return e},t)}function me(e){var t=J.context[e.__c],n=le(Z++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(J)),t.props.value):e.__}function ve(e,t){ee.useDebugValue&&ee.useDebugValue(t?t(e):e)}function ge(){var e=le(Z++,11);if(!e.__){for(var t=J.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function ye(){for(var e;e=X.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(ke),t.__h.some(Ce),t.__h=[]}catch(n){t.__h=[],ee.__e(n,e.__v)}}}ee.__b=function(e){J=null,te&&te(e)},ee.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),_e&&_e(e,t)},ee.__r=function(e){ne&&ne(e),Z=0;var t=(J=e.__c).__H;t&&(G===J?(t.__h=[],J.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(ke),t.__h.some(Ce),t.__h=[],Z=0)),G=J},ee.diffed=function(e){re&&re(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==X.push(t)&&Q===ee.requestAnimationFrame||((Q=ee.requestAnimationFrame)||we)(ye)),t.__H.__.some(function(e){e.u&&(e.__H=e.u,e.u=void 0)})),G=J=null},ee.__c=function(e,t){t.some(function(e){try{e.__h.some(ke),e.__h=e.__h.filter(function(e){return!e.__||Ce(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],ee.__e(n,e.__v)}}),oe&&oe(e,t)},ee.unmount=function(e){ie&&ie(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(e){try{ke(e)}catch(e){t=e}}),n.__H=void 0,t&&ee.__e(t,n.__v))};var be="function"==typeof requestAnimationFrame;function we(e){var t,n=function(){clearTimeout(r),be&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);be&&(t=requestAnimationFrame(n))}function ke(e){var t=J,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),J=t}function Ce(e){var t=J;e.__c=e.__(),J=t}function Se(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function xe(e,t){return"function"==typeof t?t(e):t}function Ne(e,t){for(var n in t)e[n]=t[n];return e}function Me(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Pe(e,t){var n=t(),r=ae({t:{__:n,u:t}}),o=r[0].t,i=r[1];return ce(function(){o.__=n,o.u=t,Ee(o)&&i({t:o})},[e,n,t]),ue(function(){return Ee(o)&&i({t:o}),e(function(){Ee(o)&&i({t:o})})},[e]),n}function Ee(e){try{return!((t=e.__)===(n=e.u())&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}var t,n}function He(e){e()}function $e(e){return e}function Ae(){return[!1,He]}var Ie=ce;function Te(e,t){this.props=e,this.context=t}(Te.prototype=new S).isPureReactComponent=!0,Te.prototype.shouldComponentUpdate=function(e,t){return Me(this.props,e)||Me(this.state,t)};var Ue=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ue&&Ue(e)};var Le="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;var Re=function(e,t){return null==e?null:A(A(e).map(t))},Oe={map:Re,forEach:Re,count:function(e){return e?A(e).length:0},only:function(e){var t=A(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:A},De=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k||[]),o.__c(e,t);De(e,t,n,r)};var Ve=t.unmount;function Fe(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),e.__c.__H=null),null!=(e=Ne({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(e){return Fe(e,t,n)})),e}function je(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(e){return je(e,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function We(){this.__u=0,this.o=null,this.__b=null}function qe(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function ze(e){var t,n,r,o=null;function i(i){if(t||(t=e()).then(function(e){e&&(o=e.default||e),r=!0},function(e){n=e,r=!0}),n)throw n;if(!r)throw t;return o?w(o,i):null}return i.displayName="Lazy",i.__f=!0,i}function Be(){this.i=null,this.l=null}t.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Ve&&Ve(e)},(We.prototype=new S).__c=function(e,t){var n=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(n);var o=qe(r.__v),i=!1,_=function(){i||r.__z||(i=!0,n.__R=null,o?o(a):a())};n.__R=_;var l=n.__P;n.__P=null;var a=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=je(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.__P=l,t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(_,_)},We.prototype.componentWillUnmount=function(){this.o=[]},We.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Fe(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&w(C,null,e.fallback);return o&&(o.__u&=-33),[w(C,null,t.__a?null:e.children),o]};var Ye=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function Ze(e){return this.getChildContext=function(){return e.context},e.children}function Je(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){z(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var r=t.__v;null!==r&&!r.__m&&null!==r.__;)r=r.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}}z(w(Ze,{context:t.context},e.__v),t.v)}(Be.prototype=new S).__a=function(e){var t=this,n=qe(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Ye(t,e,r)):o()};n?n(i):i()}},Be.prototype.render=function(e){this.i=null,this.l=new Map;var t=A(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},Be.prototype.componentDidUpdate=Be.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){Ye(e,n,t)})};var Ge="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Qe=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ke=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Xe=/[A-Z0-9]/g,et="undefined"!=typeof document,tt=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function nt(e,t,n){return null==t.__k&&(t.textContent=""),z(e,t),"function"==typeof n&&n(),e?e.__c:null}S.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(S.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var rt=t.event;t.event=function(e){return rt&&(e=rt(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var ot,it={configurable:!0,get:function(){return this.class}},_t=t.vnode;t.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},o=-1==n.indexOf("-");for(var i in t){var _=t[i];if(!("value"===i&&"defaultValue"in t&&null==_||et&&"children"===i&&"noscript"===n||"class"===i||"className"===i)){var l=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===_?_="":"translate"===l&&"no"===_?_=!1:"o"===l[0]&&"n"===l[1]?"ondoubleclick"===l?i="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||tt(t.type)?"onfocus"===l?i="onfocusin":"onblur"===l?i="onfocusout":Ke.test(i)&&(i=l):l=i="oninput":o&&Qe.test(i)?i=i.replace(Xe,"-$&").toLowerCase():null===_&&(_=void 0),"oninput"===l&&r[i=l]&&(i="oninputCapture"),r[i]=_}}"select"==n&&(r.multiple&&Array.isArray(r.value)&&(r.value=A(t.children).forEach(function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)})),null!=r.defaultValue&&(r.value=A(t.children).forEach(function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",it)):t.className&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Ge,_t&&_t(e)};var lt=t.__r;t.__r=function(e){lt&&lt(e),ot=e.__c};var at=t.diffed;t.diffed=function(e){at&&at(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),ot=null};var st={ReactCurrentDispatcher:{current:{readContext:function(e){return ot.__n[e.__c].props.value},useCallback:de,useContext:me,useDebugValue:ve,useDeferredValue:$e,useEffect:ue,useId:ge,useImperativeHandle:fe,useInsertionEffect:Ie,useLayoutEffect:ce,useMemo:he,useReducer:se,useRef:pe,useState:ae,useSyncExternalStore:Pe,useTransition:Ae}}};function ut(e){return!!e&&e.$$typeof===Ge}function ct(e){return!!e.__k&&(z(null,e),!0)}var pt={useState:ae,useId:ge,useReducer:se,useEffect:ue,useLayoutEffect:ce,useInsertionEffect:Ie,useTransition:Ae,useDeferredValue:$e,useSyncExternalStore:Pe,startTransition:He,useRef:pe,useImperativeHandle:fe,useMemo:he,useCallback:de,useContext:me,useDebugValue:ve,version:"18.3.1",Children:Oe,render:nt,hydrate:function(e,t,n){return B(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:ct,createPortal:function(e,t){var n=w(Je,{__v:e,h:t});return n.containerInfo=t,n},createElement:w,createContext:function(e){function t(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__e=!0,P(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+h++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t},createFactory:function(e){return w.bind(null,e)},cloneElement:function(e){return ut(e)?Y.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:C,isValidElement:ut,isElement:ut,isFragment:function(e){return ut(e)&&e.type===C},isMemo:function(e){return!!e&&"string"==typeof e.displayName&&0==e.displayName.indexOf("Memo(")},findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:S,PureComponent:Te,memo:function(e,t){function n(e){var n=this.props.ref;return n!=e.ref&&n&&("function"==typeof n?n(null):n.current=null),t?!t(this.props,e)||n!=e.ref:Me(this.props,e)}function r(t){return this.shouldComponentUpdate=n,w(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.__f=r.prototype.isReactComponent=!0,r.type=e,r},forwardRef:function(e){function t(t){var n=Ne({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Le,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,n){var r,o=t.debounceRendering;t.debounceRendering=function(e){r=e};try{var i=e(n);return r&&r(),i}finally{t.debounceRendering=o}},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:C,Suspense:We,SuspenseList:Be,lazy:ze,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:st};function ft(e){return{render:function(t){nt(t,e)},unmount:function(){ct(e)}}}const ht=e=>({size:t=24,color:n="currentColor",strokeWidth:r=2,...o})=>pt.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:r,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false",...o},e.map(([e,t],n)=>pt.createElement(e,{key:n,...t}))),dt=ht([["path",{d:"M18 6 6 18"}],["path",{d:"m6 6 12 12"}]]),mt=ht([["path",{d:"M5 12h14"}]]),vt=ht([["path",{d:"m5 12 7-7 7 7"}],["path",{d:"M12 19V5"}]]),gt=ht([["path",{d:"M12 19v3"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3"}]]),yt=ht([["path",{d:"M15 3h6v6"}],["path",{d:"m21 3-7 7"}],["path",{d:"m3 21 7-7"}],["path",{d:"M9 21H3v-6"}]]),bt=ht([["path",{d:"m14 10 7-7"}],["path",{d:"M20 10h-6V4"}],["path",{d:"m3 21 7-7"}],["path",{d:"M4 14h6v6"}]]),wt=ht([["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551"}]]),kt=ht([["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9"}]]),Ct=ht([["path",{d:"m9 18 6-6-6-6"}]]),St=ht([["path",{d:"m15 18-6-6 6-6"}]]),xt=ht([["path",{d:"M12 7v14"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"}]]),Nt=ht([["path",{d:"m6 9 6 6 6-6"}]]),Mt=ht([["path",{d:"M7 10v12"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z"}]]),Pt=ht([["path",{d:"M17 14V2"}],["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z"}]]),Et=ht([["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"}]]),Ht=ht([["path",{d:"M20 6 9 17l-5-5"}]]),$t=ht([["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .962 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.962 0z"}],["path",{d:"M20 3v4"}],["path",{d:"M22 5h-4"}]]),At=({size:e=22,className:t,style:n},r,o)=>pt.createElement("svg",{width:e,height:e,viewBox:r,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,style:n,"aria-hidden":"true",focusable:"false"},o),It=e=>At(e,"0 0 128 128",pt.createElement("g",{fill:"currentColor"},pt.createElement("path",{d:"M109,55c0-29.8-24.2-54-54-54C25.2,1,1,25.2,1,55s24.2,54,54,54c13.5,0,25.8-5,35.2-13.1l25.4,25.4l5.7-5.7L95.9,90.2C104,80.8,109,68.5,109,55z M55,101C29.6,101,9,80.4,9,55S29.6,9,55,9s46,20.6,46,46S80.4,101,55,101z"}),pt.createElement("path",{d:"M25.6,30.9l6.2,5.1C37.5,29,46,25,55,25v-8C43.6,17,32.9,22.1,25.6,30.9z"}),pt.createElement("path",{d:"M17,55h8c0-2.1,0.2-4.1,0.6-6.1l-7.8-1.6C17.3,49.8,17,52.4,17,55z"}))),Tt=e=>At(e,"0 0 24 24",pt.createElement("path",{fill:"currentColor",d:"M16 2H8C4 2 2 4 2 8V21C2 21.55 2.45 22 3 22H16C20 22 22 20 22 16V8C22 4 20 2 16 2ZM14 15.25H7C6.59 15.25 6.25 14.91 6.25 14.5C6.25 14.09 6.59 13.75 7 13.75H14C14.41 13.75 14.75 14.09 14.75 14.5C14.75 14.91 14.41 15.25 14 15.25ZM17 10.25H7C6.59 10.25 6.25 9.91 6.25 9.5C6.25 9.09 6.59 8.75 7 8.75H17C17.41 8.75 17.75 9.09 17.75 9.5C17.75 9.91 17.41 10.25 17 10.25Z"})),Ut=({size:e=26,className:t,style:n})=>pt.createElement("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,style:n,"aria-hidden":"true",focusable:"false"},pt.createElement("g",{transform:"translate(24 0) scale(-1 1)"},pt.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M16 2H8C4 2 2 4 2 8V21C2 21.55 2.45 22 3 22H16C20 22 22 20 22 16V8C22 4 20 2 16 2ZM15.5 12.75H8.5C8.09 12.75 7.75 12.41 7.75 12C7.75 11.59 8.09 11.25 8.5 11.25H15.5C15.91 11.25 16.25 11.59 16.25 12C16.25 12.41 15.91 12.75 15.5 12.75Z"}))),Lt=e=>At(e,"0 0 24 24",pt.createElement(pt.Fragment,null,pt.createElement("path",{stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",d:"M12 20H12.01"}),pt.createElement("path",{stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",d:"M7 9C7 7.87439 7.37194 6.83566 7.99963 6C8.91184 4.78555 10.3642 4 12 4C14.7614 4 17 6.23858 17 9C17 11.4212 15.279 13.4405 12.9936 13.9013C12.4522 14.0104 12 14.4477 12 15V15V16"}))),Rt={launcher_open:"Open support chat",launcher_close:"Close support chat",launcher_open_unread_one:"Open support chat, {count} new message",launcher_open_unread_other:"Open support chat, {count} new messages",launcher_unread_overflow:"{count}+",panel_label:"{organizationName} support",header_messages:"Messages",header_help_center:"Help Center",header_back_to_conversations:"Back to conversations",header_expand:"Expand window",header_collapse:"Collapse window",header_close:"Close",conversation_label:"Conversation",sending_to_team:"Sending to the team…",uploading_attachment:"Uploading attachment…",new_messages_one:"{count} new message",new_messages_other:"{count} new messages",reaction_helpful:"Helpful",reaction_not_helpful:"Not helpful",copy_message:"Copy message",copied:"Copied",message_from_agent:"Agent",message_from_you:"You",terms_notice:"By chatting, you agree to our {terms}",terms_link:"Terms",powered_by:"Powered by {brand}",tab_explore:"Explore",tab_messages:"Messages",tab_help:"Help",tabs_label:"Sections",conversations_empty_title:"No conversations yet",conversations_empty_desc:"Start a chat and our AI agent & team will help you out.",conversation_no_messages:"No messages yet",conversation_title:"Chat #{number}",start_new_chat:"Ask a Question",composer_label:"Message",composer_placeholder:"Type your message…",composer_placeholder_lead_required:"Add your email above to continue…",composer_placeholder_security_check:"Verify security check to chat…",composer_hint:"Press Enter to send, Shift+Enter for a new line",attach_file:"Attach a file (10 MB max)",insert_emoji:"Insert emoji",emoji_picker_label:"Choose an emoji",send_message:"Send message",attachment_image_alt:"Image attachment",attachment_file_label:"File attachment: {name}",notice_security_check_required:"Please complete the security check first.",voice_start:"Voice input",voice_finish:"Finish recording",voice_status_waiting:"Waiting for the microphone…",voice_status_listening:"Listening…",voice_status_transcribing:"Transcribing…",voice_seconds_left_one:"{count} second left",voice_seconds_left_other:"{count} seconds left",voice_countdown:"{count}s",voice_cancel:"Cancel voice input",voice_stop:"Stop and transcribe",voice_retry:"Try again",voice_error_insecure:"Voice input needs a secure (https) page.",voice_error_unsupported:"Voice input isn't supported in this browser.",voice_error_denied:"Microphone access is blocked. Allow it in your browser's site settings to use voice input.",voice_error_no_microphone:"No microphone was found.",voice_error_no_speech:"I didn't catch that. Please try again.",voice_error_no_audio:"No sound is coming from your microphone. Check that it isn't muted and that the right one is selected.",voice_error_limit:"Voice input isn't available right now. Please type your message.",voice_error_disabled:"Voice input is turned off.",voice_error_network:"Your recording couldn't be transcribed. Check your connection and try again.",voice_error_failed:"Your recording couldn't be transcribed. Please try again or type your message.",lead_prompt:"Leave your email and we'll reply there if you've gone.",lead_email_placeholder:"you@example.com",lead_email_label:"Your email address",lead_save:"Save",lead_saving:"Saving…",lead_dismiss:"No thanks",lead_error_invalid_email:"That doesn't look like an email address.",lead_error_save_failed:"Couldn't save that just now. You can carry on chatting.",greeting_default:"Hi from {organizationName}. How can we help?",greeting_default_persona:"Hi, I'm {ai_name} from {organizationName}. How can I help?",greeting_dismiss:"Dismiss greeting",welcome_default:"Hi! How can I help you today?",explore_hero_title:"Hello there",explore_hero_subtitle:"How can we help?",explore_search_placeholder:"Search for help…",explore_cta_title:"Ask our AI Agent",explore_cta_sub:"Instant answers, 24/7 — or reach the team",explore_tile_help_title:"Help Center",explore_tile_help_sub:"Guides & docs",explore_tile_messages_title:"Messages",explore_tile_messages_sub:"Your conversations",explore_popular_questions:"Popular questions",explore_ask_ai_about_this:"Ask AI Agent about this",explore_recommended_reading:"Recommended reading",help_search_placeholder:"Search for articles…",help_search_label:"Search articles",help_searching:"Searching…",help_search_no_results:"No articles matching “{query}”",help_all_collections:"All Collections",help_back_to_articles:"Back to articles",help_document_type_fallback:"Guide",help_written_by:"Written by the {organizationName} support team",help_updated_recently:"Updated recently",help_read_time_one:"{count} min read",help_read_time_other:"{count} min read",help_feedback_title:"Did this answer your question?",help_feedback_thanks:"Thank you for your feedback!",help_feedback_yes:"Yes",help_feedback_somewhat:"Somewhat",help_feedback_no:"No",help_handoff_title:"Still have questions?",help_handoff_desc:"Ask our AI Agent for instant answers",help_handoff_prefill:"I have a question about the article “{title}”: ",help_collection_articles:"{collection} articles ({count})",help_article_count_one:"{count} article",help_article_count_other:"{count} articles",help_empty_title:"Help Documentation",help_empty_desc:"Search above to fetch instant solutions from our knowledge base.",help_collection_guide_title:"Guides & Tutorials",help_collection_guide_desc:"Setup walkthroughs, rules, and getting started guides",help_collection_faq_title:"Frequently Asked Questions",help_collection_faq_desc:"Quick answers to common account and service questions",help_collection_troubleshooting_title:"Troubleshooting & Support",help_collection_troubleshooting_desc:"Step-by-step solutions for technical issues",help_collection_other_title:"Rules & Documentation",help_collection_other_desc:"Official terms, rules, and policy documentation",help_featured_article:"Featured Article",help_untitled_article:"Untitled Article",help_unavailable:"The help centre couldn't be loaded. Check your connection and try again.",link_opens_new_tab:"(opens in a new tab)",error_search_rate_limited:"You're searching too fast. Please wait a moment and try again.",error_search_unavailable:"Search is unavailable right now. Please try again shortly.",error_send_rate_limited:"You're sending messages too quickly. Please wait a moment and try again.",error_send_failed:"Sorry, something went wrong. Please try again.",error_attachment_rejected:"That file can't be attached. It may be too large (10 MB limit) or a type that isn't allowed.",error_attachment_upload_failed:"That attachment couldn't be uploaded. Please try again."},Ot={ar:()=>import("./ar-V_LzQrur.js"),de:()=>import("./de-BN3nFgQz.js"),es:()=>import("./es-BvfGFMIb.js"),fr:()=>import("./fr-DNlpcnFv.js"),hi:()=>import("./hi-C81tFu4P.js"),pt:()=>import("./pt-nxDVHThV.js")},Dt=["ar","he","fa","ur","ps","sd","yi","dv","ug"];let Vt="en",Ft=0,jt={},Wt={};const qt=new Set,zt={en:{}};function Bt(){qt.forEach(e=>{try{e()}catch{}})}function Yt(){return Vt}function Zt(){return-1!==Dt.indexOf(Vt.split("-")[0].toLowerCase())?"rtl":"ltr"}function Jt(e){if(!e)return"en";const t=String(e).trim(),n=t.split(/[-_]/)[0].toLowerCase(),r=t.replace("_","-");return"en"===n||Ot[n]?r:"en"}async function Gt(e){let t=Jt(e),n=t.split("-")[0];const r=++Ft;if(void 0===zt[n])try{const e=(await Ot[n]()).default;zt[n]=e}catch(e){console.warn(`[Askly] Could not load the "${n}" translations; staying in English.`,e),t="en",n="en"}return r!==Ft||(Vt=t,jt=zt[n],Bt()),Vt}function Qt(e){Wt={...Wt,...e},Bt()}function Kt(e){return qt.add(e),()=>{qt.delete(e)}}function Xt(e,t){return t?e.replace(/\{(\w+)\}/g,(e,n)=>n in t?String(t[n]):e):e}function en(e,t){var n,r,o;return Xt(null!==(o=null!==(r=null!==(n=Wt[e])&&void 0!==n?n:jt[e])&&void 0!==r?r:Rt[e])&&void 0!==o?o:e,t)}function tn(e,t,n){var r,o;let i="other";try{i=new Intl.PluralRules(Vt).select(t)}catch{}const _=[`${e}_${i}`,`${e}_other`,`${e}_one`];let l;for(const e of _)if(l=null!==(o=null!==(r=Wt[e])&&void 0!==r?r:jt[e])&&void 0!==o?o:Rt[e],void 0!==l)break;return Xt(null!=l?l:e,{count:nn(t)})}function nn(e){try{return new Intl.NumberFormat(Vt).format(e)}catch{return String(e)}}function rn(e){if(!e)return"";const t=new Date(e);if(isNaN(t.getTime()))return"";try{const e=new Date,n=t.toDateString()===e.toDateString();return new Intl.DateTimeFormat(Vt,n?{hour:"numeric",minute:"2-digit"}:{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"}).format(t)}catch{return t.toLocaleTimeString()}}const on={};function _n(e,t){return(on[e]=on[e]||[]).push(t),()=>ln(e,t)}function ln(e,t){const n=on[e];if(n)for(let e=n.length-1;e>=0;e--)n[e]!==t&&n[e].original!==t||n.splice(e,1)}function an(e,t){const n=r=>{ln(e,n),t(r)};return n.original=t,_n(e,n)}function sn(e,...t){const n=on[e];if(n)for(const r of n.slice())try{r(t[0])}catch(t){console.error(`[Askly] "${e}" handler failed:`,t)}}let un=null,cn=[],pn=!1;function fn(){pn=!0}function hn(e){un?un(e):pn?cn.push(e):console.warn(`[Askly] ${e.type}() ignored: the widget is not initialised on this page.`)}function dn(e){un=e,pn=!1;const t=cn;return cn=[],t.forEach(e),()=>{un===e&&(un=null)}}function mn(){cn=[],pn=!1}const vn={ready:!1,open:!1,unread:0,visitorId:""};function gn(){vn.ready=!1,vn.open=!1,vn.unread=0,vn.visitorId=""}function yn(e){try{const t=window.localStorage.getItem(e),n=t?JSON.parse(t):[];return Array.isArray(n)?n:[]}catch{return[]}}function bn(e,t){try{return void window.localStorage.setItem(e,JSON.stringify(t))}catch{}try{const n=t.filter(e=>e.messages.some(e=>"user"===e.role)).slice(0,30).map(e=>e.messages.length>200?{...e,messages:e.messages.slice(-200)}:e);window.localStorage.setItem(e,JSON.stringify(n))}catch{}}class wn{constructor(e){this.options=e,this.token=null,this.supported=!0,this.userId=null,this.human=!1,this.pending=null,this.lastFailure=null}apply(e){e&&"string"==typeof e.session_token&&(this.token=e.session_token,this.userId=e.session_verified&&"string"==typeof e.session_user_id?e.session_user_id:null,this.human=!!e.session_human,this.options.onChange())}clear(){this.token=null,this.pending=null,this.userId=null,this.human=!1,this.options.onChange()}start(e){const t=this.options.getOrganizationId();if(!this.supported||!t)return Promise.resolve(null);if(this.pending)return this.pending;const n=this.options.getVisitorId();let r=null;return r=(async()=>{try{const r=await fetch(this.options.api("/session"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e?{organization_id:t,token:e}:{organization_id:t,visitor_id:n})});if(404===r.status||405===r.status)return this.supported=!1,null;if(!r.ok)return this.lastFailure=401===r.status?"rejected":"transient",null;this.lastFailure=null;const o=await r.json();return n!==this.options.getVisitorId()?null:(this.token&&this.token!==e||this.apply(o),this.token)}catch{return this.lastFailure="transient",null}finally{this.pending===r&&(this.pending=null)}})(),this.pending=r,r}async request(e,t={}){var n;const r=n=>fetch("function"==typeof e?e(!!n):e,{...t,headers:{...t.headers,...n?{Authorization:`Bearer ${n}`}:{}}}),o=null!==(n=this.token)&&void 0!==n?n:await this.start(),i=await r(o);if(401!==i.status||!o)return{res:i,token:o};let _=await this.start(o);if(!_||_===o){const e=this.token;if(e&&e!==o)_=e;else{if("rejected"!==this.lastFailure)return{res:i,token:o};this.clear(),_=await this.start()}}return{res:await r(_),token:_}}async fetch(e,t={}){return(await this.request(e,t)).res}}let kn;function Cn(){if(void 0===kn){const e="undefined"!=typeof window?window.trustedTypes:void 0;if(kn=null,e&&e.createPolicy)try{kn=e.createPolicy("askly",{createHTML:e=>e,createScriptURL:e=>e})}catch{kn=null}}return kn}function Sn(e){const t=Cn();return t?t.createHTML(e):e}function xn(e){const t=Cn();return t?t.createScriptURL(e):e}function Nn(e){return!1===e||"off"===e?"off":!0===e||"review"===e?"review":"auto-send"===e?"auto-send":void 0}function Mn(e){switch(e){case"insecure":return en("voice_error_insecure");case"unsupported":return en("voice_error_unsupported");case"denied":return en("voice_error_denied");case"no-microphone":return en("voice_error_no_microphone");case"no-speech":return en("voice_error_no_speech");case"no-audio":return en("voice_error_no_audio");case"limit":return en("voice_error_limit");case"disabled":return en("voice_error_disabled");case"network":return en("voice_error_network");default:return en("voice_error_failed")}}const Pn=3e3,En=3;function Hn(e,t,n){const r=en("greeting_default");let o="string"==typeof e&&e.trim()?e:t?en("greeting_default_persona"):r;return t||-1===o.indexOf("{ai_name}")||(o=r),o.replace(/\{ai_name\}/g,()=>t||"").replace(/\{organizationName\}/g,()=>n).trim()}function $n(e){try{return"1"===window.sessionStorage.getItem(`askly_greeting_dismissed_${e}`)}catch{return!1}}function An(e){try{window.sessionStorage.setItem(`askly_greeting_dismissed_${e}`,"1")}catch{}}function In(e){sn("shown"===e?"greeting:shown":"clicked"===e?"greeting:clicked":"greeting:dismissed");try{window.dispatchEvent(new Event(`askly:greeting:${e}`))}catch{}}const Tn={headings:!1,blockquotes:!1,images:!1},Un={headings:!0,blockquotes:!0,images:!0};function Ln(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function Rn(e){const t=e.trim();return/^(https?:\/\/|mailto:|tel:)/i.test(t)&&!/[\s\0-]/.test(t)}function On(e,t){return`<a href="${Ln(e.trim())}" target="_blank" rel="noopener noreferrer" class="message-inline-link">${t}</a>`}class Dn{constructor(){this.items=[]}put(e){return this.items.push(e),`${this.items.length-1}`}restore(e){return e.replace(/(\d+)/g,(e,t)=>this.items[Number(t)])}}const Vn=/`([^`\n]+)`/g,Fn=/!\[([^\]\n]*)\]\(((?:[^()\s]|\([^()\s]*\))+)\)/g,jn=/\[([^\]\n]+)\]\(((?:[^()\s]|\([^()\s]*\))+)\)/g,Wn=/(^|[^\w"'=/\]\(])(https?:\/\/[^\s<>()]*[^\s<>().,;:!?'"])/g,qn=/\*\*(?=\S)([\s\S]*?\S)\*\*/g,zn=/(^|[^\w*])\*(?=\S)([^*\n]*?\S)\*(?![\w*])/g,Bn=/(^|[^\w_])_(?=\S)([^_\n]*?\S)_(?![\w_])/g;function Yn(e,t){const n=new Dn;let r=e;return t.emphasis&&(r=r.replace(Vn,(e,t)=>n.put(`<code class="inline-code">${Ln(t)}</code>`))),t.images?r=r.replace(Fn,(e,t,r)=>function(e){const t=e.trim();return/^https:\/\//i.test(t)&&!/[\s\0-]/.test(t)}(r)?n.put(`<img src="${Ln(r.trim())}" alt="${Ln(t)}" class="message-inline-image" />`):n.put(Ln(t))):t.links&&(r=r.replace(Fn,(e,t,r)=>n.put(Rn(r)?On(r,Ln(t||r)):Ln(t||r)))),t.links&&(r=r.replace(jn,(e,t,r)=>n.put(Rn(r)?On(r,Ln(t)):Ln(t)))),r=r.replace(Wn,(e,t,r)=>t+n.put(On(r,Ln(r)))),r=Ln(r),t.emphasis&&(r=r.replace(qn,"<strong>$1</strong>"),r=r.replace(zn,"$1<em>$2</em>"),r=r.replace(Bn,"$1<em>$2</em>")),r=r.replace(/\n/g,"<br />"),n.restore(r)}const Zn=/^\s{0,3}```\s*([\w+-]*)\s*$/,Jn=/^\s{0,3}```\s*$/,Gn=/^\s{0,3}(#{1,3})\s+(.+?)\s*#*\s*$/,Qn=/^\s{0,3}>\s?(.*)$/,Kn=/^\s*([-*+]|\d{1,3}[.)])\s+(.*)$/,Xn=/^\s{2,}\S/;function er(e,t){const n={emphasis:!0,links:!0,images:t.images},r=e.replace(/\r\n?/g,"\n").split("\n"),o=[];let i=0;const _=e=>Zn.test(e)||Kn.test(e)||t.headings&&Gn.test(e)||t.blockquotes&&Qn.test(e);for(;i<r.length;){const e=r[i];if(""===e.trim()){i++;continue}const l=e.match(Zn);if(l){const e=l[1],t=[];for(i++;i<r.length&&!Jn.test(r[i]);)t.push(r[i]),i++;for(i++;t.length&&""===t[t.length-1].trim();)t.pop();const n=e?` class="language-${e}"`:"";o.push(`<pre><code${n}>${Ln(t.join("\n"))}</code></pre>`);continue}if(t.headings){const t=e.match(Gn);if(t){const e=t[1].length;o.push(`<h${e}>${Yn(t[2],n)}</h${e}>`),i++;continue}}if(t.blockquotes&&Qn.test(e)){const e=[];for(;i<r.length;){const t=r[i].match(Qn);if(!t)break;e.push(t[1]),i++}o.push(`<blockquote><p>${Yn(e.join("\n"),n)}</p></blockquote>`);continue}const a=e.match(Kn);if(a){const e=/\d/.test(a[1]),t=e?parseInt(a[1],10):1,_=[];for(;i<r.length;){const e=r[i].match(Kn);if(e)_.push(e[2]),i++;else{if(!_.length||!Xn.test(r[i]))break;_[_.length-1]+=" "+r[i].trim(),i++}}const l=e?"ol":"ul",s=e&&1!==t?` start="${t}"`:"";o.push(`<${l}${s}>${_.map(e=>`<li>${Yn(e,n)}</li>`).join("")}</${l}>`);continue}const s=[e];for(i++;i<r.length&&""!==r[i].trim()&&!_(r[i]);)s.push(r[i]),i++;o.push(`<p>${Yn(s.join("\n"),n)}</p>`)}return o.join("")}function tr(e){return e?er(e,Tn):""}function nr(e){return e?er(e,Un):""}function rr(e){return e?Yn(e,{emphasis:!1,links:!1,images:!1}):""}function or(e){return e?e.replace(/```[\s\S]*?```/g," [Code] ").replace(/!\[[^\]]*\]\([^)]*\)/g,"[Image]").replace(/\[[^\]]*\]\([^)]*\)/g,"[Link]").replace(/`([^`]*)`/g,"$1").replace(/\*\*([^*]*)\*\*/g,"$1").replace(/(^|[^\w*])\*([^*\n]+)\*(?![\w*])/g,"$1$2").replace(/(^|[^\w_])_([^_\n]+)_(?![\w_])/g,"$1$2").replace(/^\s{0,3}#{1,6}\s+/gm,"").replace(/^\s*(?:[-*+]|\d{1,3}[.)])\s+/gm,"").replace(/^\s{0,3}>\s?/gm,"").replace(/\s+/g," ").trim():""}export{gn as $,pe as A,xt as B,Ct as C,Kt as D,Jt as E,Gt as F,En as G,yn as H,bn as I,Hn as J,$n as K,Ut as L,gt as M,In as N,An as O,wt as P,sn as Q,xn as R,kt as S,Tt as T,Qt as U,Nn as V,wn as W,dt as X,dn as Y,vn as Z,ce as _,rn as a,Yt as a0,Mn as a1,Pn as a2,hn as a3,an as a4,ln as a5,_n as a6,ft as a7,mn as a8,fn as a9,nr as aa,$t as ab,tn as b,Nt as c,It as d,Lt as e,nn as f,pt as g,Zt as h,vt as i,We as j,mt as k,bt as l,yt as m,St as n,Sn as o,Mt as p,Pt as q,Ht as r,or as s,en as t,Et as u,tr as v,rr as w,ae as x,ue as y,ze as z};
@@ -0,0 +1 @@
1
+ function e(){return"undefined"==typeof window||"undefined"==typeof navigator?"unsupported":navigator.mediaDevices&&navigator.mediaDevices.getUserMedia?void 0===window.MediaRecorder?"unsupported":null:!1===window.isSecureContext?"insecure":"unsupported"}const t=["audio/webm;codecs=opus","audio/webm","audio/mp4","audio/ogg;codecs=opus"];function o(e){const t=e&&e.name;return"NotAllowedError"===t||"SecurityError"===t||"PermissionDeniedError"===t?"denied":"NotFoundError"===t||"DevicesNotFoundError"===t||"OverconstrainedError"===t?"no-microphone":"failed"}async function n(n){const r=e();if(r)throw{code:r};let a;try{a=await navigator.mediaDevices.getUserMedia({audio:{channelCount:1,echoCancellation:!0,noiseSuppression:!0}})}catch(e){throw{code:o(e)}}const i=()=>{try{a.getTracks().forEach(e=>e.stop())}catch{}};let c;try{const e=function(){const e=window.MediaRecorder;if(e&&"function"==typeof e.isTypeSupported)for(const o of t)try{if(e.isTypeSupported(o))return o}catch{}}(),o={audioBitsPerSecond:32e3};e&&(o.mimeType=e),c=new window.MediaRecorder(a,o)}catch(e){throw i(),{code:"unsupported"}}let s=null,d=null,u=null;try{const e=window.AudioContext||window.webkitAudioContext;if(e){s=new e,d=s.createAnalyser(),d.fftSize=1024,s.createMediaStreamSource(a).connect(d);const t=s.createGain();t.gain.value=0,d.connect(t),t.connect(s.destination),"suspended"===s.state&&s.resume&&s.resume().catch(()=>{}),u=new Uint8Array(d.fftSize)}}catch{d=null}const l=[],p=Date.now();let w=!1,f=!1,h=-1,m=0,y=!1,M=p,v=!1,g=!1,D=!1,S=null;const b=()=>{if(S&&clearInterval(S),S=null,i(),s)try{s.close()}catch{}s=null},x=()=>{if(!D){D=!0;try{"inactive"!==c.state?c.stop():c.onstop()}catch{c.onstop()}}};c.ondataavailable=e=>{e.data&&e.data.size>0&&l.push(e.data)},c.onstop=()=>{if(g)return;g=!0;const e=Date.now()-p;if(b(),v)return;const t=(c.mimeType||l[0]&&l[0].type||"audio/webm").split(";")[0],o=f&&m<.0015?"no-audio":y?"no-speech":"ok";n.onDone({blob:new Blob(l,{type:t}),durationMs:e,outcome:o})},c.onerror=()=>x(),S=setInterval(()=>{const e=Date.now(),t=e-p;let o=0;const r=d&&u&&s&&"running"===s.state;if(r){if(d&&u){f=!0,d.getByteTimeDomainData(u);let t=0;for(let e=0;e<u.length;e++){const o=(u[e]-128)/128;t+=o*o}o=Math.sqrt(t/u.length),m=Math.max(m,o),h=h<0?o:Math.min(o,1.05*h+3e-4),o>Math.max(.008,3*h+.004)&&(w=!0,M=e)}}else M=e;n.onMeter(Math.min(1,o/Math.max(.04,m)),t),t>=n.maxMs||r&&w&&e-M>=n.silenceMs?x():f&&!w&&t>=n.noSpeechMs&&(y=!0,x())},100);try{c.start()}catch(e){throw v=!0,g=!0,b(),{code:"failed"}}return{stop:x,cancel:()=>{v=!0,x()}}}export{n as startRecording,e as voiceInputBlocker};