@wexio/messenger-widget-react 1.5.0 → 1.5.1
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.
- package/CHANGELOG.md +11 -0
- package/dist/widget-react-0MqeP0VG2.js +201 -0
- package/dist/widget-react-12srXq362.js +201 -0
- package/dist/widget-react-13R6Vrt62.js +201 -0
- package/dist/widget-react-1FPhjaT7.js +2 -0
- package/dist/{widget-react-BPFWT7Xe2.js → widget-react-1a5mHYv6.js} +1 -1
- package/dist/widget-react-B-zdiXnI.js +2 -0
- package/dist/widget-react-B1v9X8dK2.js +201 -0
- package/dist/widget-react-B6W6yHa9.js +2 -0
- package/dist/widget-react-BAzh_M3R.js +201 -0
- package/dist/widget-react-BEeSy_sM.js +201 -0
- package/dist/widget-react-BGg29YDq.js +2 -0
- package/dist/widget-react-BKZZeBk72.js +201 -0
- package/dist/widget-react-BNsA7Hq8.js +2 -0
- package/dist/widget-react-BP_S1jOe2.js +2 -0
- package/dist/widget-react-BjVldSFi2.js +2 -0
- package/dist/widget-react-Bk8_ZpvK.js +2 -0
- package/dist/widget-react-BpSJW2vD2.js +201 -0
- package/dist/widget-react-BpfEg8PP.js +2 -0
- package/dist/widget-react-BtVbDkom.js +2 -0
- package/dist/widget-react-BxYFNB-9.js +2 -0
- package/dist/widget-react-Bz5u8QHz.js +109 -0
- package/dist/widget-react-BzlFOEiU2.js +2 -0
- package/dist/widget-react-C1rXlCoj.js +201 -0
- package/dist/widget-react-C1vTza-V2.js +201 -0
- package/dist/widget-react-C2_GJN-2.js +2 -0
- package/dist/widget-react-C6OZyIh32.js +201 -0
- package/dist/widget-react-C78gQza62.js +201 -0
- package/dist/widget-react-C9D7iqrt.js +2 -0
- package/dist/widget-react-CJkUvFuJ2.js +2 -0
- package/dist/widget-react-CM6RqtRI2.js +2 -0
- package/dist/{widget-react-Bebf7ovl.js → widget-react-COAvUm8D.js} +8 -8
- package/dist/widget-react-COGNC9PO.js +2 -0
- package/dist/widget-react-CPEQKK8u.js +2 -0
- package/dist/widget-react-CZHkN2nG.js +2 -0
- package/dist/widget-react-CgvtA8Ek.js +201 -0
- package/dist/widget-react-Cil8Ajlh.js +201 -0
- package/dist/widget-react-CuJV_7PK.js +2 -0
- package/dist/widget-react-Cv42XaBB.js +2 -0
- package/dist/widget-react-Cw8StXTV2.js +201 -0
- package/dist/widget-react-CxTI2WNr.js +201 -0
- package/dist/widget-react-Cx_utOCH.js +2 -0
- package/dist/widget-react-D5s6TWhn.js +2 -0
- package/dist/{widget-react-BrRmLgRl.js → widget-react-DBqY7BEB.js} +11 -11
- package/dist/widget-react-DCnPzcmJ2.js +109 -0
- package/dist/widget-react-DFBIOPUo.js +2 -0
- package/dist/widget-react-DJTgpBXp.js +109 -0
- package/dist/widget-react-DLK0giQJ2.js +201 -0
- package/dist/widget-react-DPf6mDAF2.js +201 -0
- package/dist/widget-react-DSyQ4JjS.js +2 -0
- package/dist/widget-react-DW-XOzIR.js +2 -0
- package/dist/widget-react-DXnKk30y2.js +2 -0
- package/dist/widget-react-DfgfDdBf2.js +2 -0
- package/dist/widget-react-DjlwkwTM2.js +2 -0
- package/dist/{widget-react-DE0LS-6-.js → widget-react-DleQcmXy.js} +2 -2
- package/dist/{widget-react-C_NCNYY02.js → widget-react-Ds-6CsP4.js} +1 -1
- package/dist/widget-react-Dy2T3sIZ2.js +201 -0
- package/dist/widget-react-DzgDJMDl.js +2 -0
- package/dist/widget-react-Fou9JP7u.js +201 -0
- package/dist/widget-react-GikUZ6_D.js +2 -0
- package/dist/widget-react-M6ZbU9Uk.js +2 -0
- package/dist/{widget-react-CO7DyU51.js → widget-react-RFGjueTQ.js} +2 -2
- package/dist/widget-react-SG4_gli5.js +2 -0
- package/dist/widget-react-W_6RewLw2.js +2 -0
- package/dist/widget-react-YOrK-1WI2.js +201 -0
- package/dist/{widget-react-CnP2-ZB-.js → widget-react-YrYT-pD1.js} +21 -21
- package/dist/widget-react-bEpDN5aA2.js +201 -0
- package/dist/{widget-react-KAEA8ONo.js → widget-react-dWaXqKR32.js} +2 -2
- package/dist/widget-react-iwANUtnB.js +201 -0
- package/dist/widget-react-llsiMoHr.js +2 -0
- package/dist/widget-react-tvX8XSZD.js +201 -0
- package/dist/widget-react-uWEOH9Lh.js +201 -0
- package/dist/widget-react-wMl4Kthk.js +2 -0
- package/dist/widget-react-yKWc1q98.js +2 -0
- package/dist/widget-react-zZslBPCS.js +2 -0
- package/dist/widget-react.js +30 -30
- package/package.json +1 -1
- package/dist/widget-react-3V_rXy9h2.js +0 -2
- package/dist/widget-react-3f61yzjR2.js +0 -2
- package/dist/widget-react-B-ZYj6cV2.js +0 -2
- package/dist/widget-react-B4Cru-SF.js +0 -2
- package/dist/widget-react-B5AYwhao.js +0 -2
- package/dist/widget-react-B6YWdHd3.js +0 -2
- package/dist/widget-react-BOjoaxsM2.js +0 -2
- package/dist/widget-react-BSvxi-Z42.js +0 -2
- package/dist/widget-react-BbznnvpE2.js +0 -2
- package/dist/widget-react-BwK-nNjy2.js +0 -2
- package/dist/widget-react-BzFUXA092.js +0 -2
- package/dist/widget-react-C7KHTFEo.js +0 -2
- package/dist/widget-react-CAfHMzrc2.js +0 -2
- package/dist/widget-react-CLJmIz_q.js +0 -2
- package/dist/widget-react-CLLhrdTm.js +0 -2
- package/dist/widget-react-CZoYXyup.js +0 -2
- package/dist/widget-react-CuUeo68W.js +0 -2
- package/dist/widget-react-D5n4whHu2.js +0 -2
- package/dist/widget-react-D8W_ZdMH.js +0 -2
- package/dist/widget-react-DA0S6cIc.js +0 -2
- package/dist/widget-react-DGh__emN.js +0 -2
- package/dist/widget-react-DIFOZ3QT.js +0 -2
- package/dist/widget-react-DQJxxVB92.js +0 -2
- package/dist/widget-react-DS_ZoY1F.js +0 -2
- package/dist/widget-react-DouawI6y.js +0 -2
- package/dist/widget-react-DozV7eMU2.js +0 -2
- package/dist/widget-react-Dpkdglv0.js +0 -2
- package/dist/widget-react-Dry9kqXE2.js +0 -2
- package/dist/widget-react-G9X1DcTe.js +0 -2
- package/dist/widget-react-Ov6re_Q9.js +0 -2
- package/dist/widget-react-XV6SIcqN2.js +0 -2
- package/dist/widget-react-XZ_nYDTj.js +0 -2
- package/dist/widget-react-oNTR-eNh.js +0 -2
- package/dist/widget-react-txPtcpni.js +0 -2
- package/dist/widget-react-zZBDvBBt2.js +0 -2
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";var e={sender:`Gaia`,preview:`Bonjour 👋 Merci de nous avoir écrit. Je reviens vers vous très vite…`,ageLabel:`4 h`},t={"demo-news-1":{title:`Pioneer 2026 : réservez la date`,excerpt:`Nous revenons à San Francisco le 8 octobre. Ouverture des portes à 9 h, keynote à 10 h.`,body:`## À quoi s'attendre
|
|
2
|
+
|
|
3
|
+
La keynote de cette année porte sur ce que nous avons livré en toute transparence et sur ce qui arrive. Des démos en direct, pas de diaporama.
|
|
4
|
+
|
|
5
|
+
- **La feuille de route de Gaia** - où ira notre IA au cours des deux prochains trimestres.
|
|
6
|
+
- **Témoignages clients** - trois équipes racontent comment elles ont divisé par deux leur temps de première réponse.
|
|
7
|
+
- **Ateliers pratiques** - venez avec un ordinateur portable et construisez un flow avec nos ingénieurs.
|
|
8
|
+
|
|
9
|
+
## Comment venir
|
|
10
|
+
|
|
11
|
+
Le lieu est le Pier 27 Cruise Terminal, juste sur l'Embarcadero. La station BART la plus proche est Embarcadero, à 12 minutes à pied le long de l'eau.
|
|
12
|
+
|
|
13
|
+
## Billets
|
|
14
|
+
|
|
15
|
+
Les places en prévente sont limitées et ouvriront la semaine prochaine. Les clients existants passent en premier, surveillez donc votre boîte de réception.
|
|
16
|
+
|
|
17
|
+
> Vous ne pouvez pas venir ? La keynote est diffusée en direct et les replays seront ici le soir même.`},"demo-news-2":{title:`Ce qui est sorti en avril`,excerpt:`Trois nouveaux déclencheurs d'automatisation et une recherche dans la boîte de réception bien plus rapide.`,body:`<p>Avril a été un grand mois. Voici tout ce qui est sorti, en un coup d'œil :</p>
|
|
18
|
+
<table>
|
|
19
|
+
<thead><tr><th>Domaine</th><th>Ce qui change</th><th>Pourquoi c'est important</th></tr></thead>
|
|
20
|
+
<tbody>
|
|
21
|
+
<tr><td>Recherche dans la boîte</td><td>Résultats instantanés pendant la saisie</td><td>50 000 conversations, en moins de 100 ms</td></tr>
|
|
22
|
+
<tr><td>Automatisation</td><td>Trois nouveaux déclencheurs</td><td>Panier abandonné, page revisitée, visiteur silencieux</td></tr>
|
|
23
|
+
<tr><td>Éditeur</td><td>Le brouillon survit à un changement d'onglet</td><td>Fini les réponses à moitié tapées perdues</td></tr>
|
|
24
|
+
<tr><td>Mode sombre</td><td>Plus de flash blanc au premier affichage</td><td>Chargement plus propre sur les sites sombres</td></tr>
|
|
25
|
+
</tbody>
|
|
26
|
+
</table>
|
|
27
|
+
<p>Voici la nouvelle recherche en action - les résultats arrivent avant que vous ayez fini de taper :</p>
|
|
28
|
+
<img src="https://picsum.photos/seed/wexio-search/1024/576" alt="Recherche dans la boîte de réception qui renvoie les résultats instantanément" />
|
|
29
|
+
<p>Touchez l'image pour la voir de plus près. Une demande ? Répondez ici - nous les lisons toutes.</p>`},"demo-news-3":{title:`Gaia parle désormais 28 langues`,excerpt:`Détectez automatiquement la langue du visiteur ou imposez-en une. Sans configuration supplémentaire.`,body:`<p>Gaia répond désormais en 28 langues, détectées automatiquement à partir du premier message du visiteur. Les questions les plus fréquentes :</p>
|
|
30
|
+
<details><summary>Comment fonctionne la détection de la langue ?</summary><p>Gaia lit le message d'ouverture et répond dans la même langue. Si vos articles d'aide existent dans cette langue, elle les cite ; sinon, elle répond à partir de l'article le plus proche et vous signale le manque.</p></details>
|
|
31
|
+
<details><summary>Puis-je imposer une seule langue ?</summary><p>Oui. Fixez-en une dans <strong>Paramètres → IA → Langue</strong> et Gaia s'y tiendra quoi que le visiteur écrive.</p></details>
|
|
32
|
+
<details><summary>Que voient les opérateurs ?</summary><p>Les transcriptions restent dans la langue de votre équipe, avec le message d'origine conservé à côté de la traduction.</p></details>
|
|
33
|
+
<p>Un aperçu de Gaia qui change de langue au milieu d'un fil :</p>
|
|
34
|
+
<img src="https://picsum.photos/seed/wexio-lang/1024/576" alt="Gaia répondant dans plusieurs langues" />`},"demo-news-4":{title:`Envoyez les conversations directement dans Slack`,excerpt:`Connectez n'importe quel webhook entrant à un canal Slack. Sans code d'intégration.`,body:`## Connexion en deux clics
|
|
35
|
+
|
|
36
|
+
Allez dans **Intégrations → Slack**, cliquez sur *Connecter* et validez les autorisations. Choisissez le canal où doivent arriver les nouvelles conversations - la plupart des équipes utilisent \`#support\`.
|
|
37
|
+
|
|
38
|
+
## Ce que vous obtenez
|
|
39
|
+
|
|
40
|
+
- Un message Slack dès qu'un chat commence, avec un lien vers la boîte de réception.
|
|
41
|
+
- Les réponses des opérateurs en fil sous le message d'origine.
|
|
42
|
+
- Répondez directement depuis Slack et nous le transmettons au visiteur en temps réel.
|
|
43
|
+
|
|
44
|
+
## Les webhooks aussi
|
|
45
|
+
|
|
46
|
+
Vous envoyez déjà des événements depuis vos propres systèmes ? Dirigez n'importe quel webhook vers votre canal Slack et évitez toute intégration sur mesure.`},"demo-news-5":{title:`Boîte de réception 2.0 : triez sans souris`,excerpt:`De nouveaux raccourcis pour assigner, reporter et résoudre - tout au clavier.`,body:`<p>La boîte de réception 2.0 est pensée pour le clavier. Voici l'aide-mémoire, classé selon ce que vous faites :</p>
|
|
47
|
+
<div data-type="tabs">
|
|
48
|
+
<div data-type="tab"><div data-tab-label>Naviguer</div><ul><li><code>j</code> / <code>k</code> - conversation suivante / précédente</li><li><code>g</code> puis <code>i</code> - aller à la boîte de réception</li></ul></div>
|
|
49
|
+
<div data-type="tab"><div data-tab-label>Agir</div><ul><li><code>e</code> - résoudre</li><li><code>a</code> - me l'assigner</li><li><code>s</code> - reporter</li></ul></div>
|
|
50
|
+
<div data-type="tab"><div data-tab-label>Rédiger</div><ul><li><code>Cmd+Enter</code> - envoyer</li><li><code>/</code> - réponses enregistrées</li><li><code>Cmd+K</code> - palette de commandes</li></ul></div>
|
|
51
|
+
</div>
|
|
52
|
+
<p>La boîte de réception repensée - tout à portée de touche :</p>
|
|
53
|
+
<img src="https://picsum.photos/seed/wexio-inbox/1024/576" alt="La boîte de réception repensée, conçue pour le clavier" />`},"demo-news-6":{title:`Export et suppression des données en libre-service`,excerpt:`Traitez les demandes de données des visiteurs en un clic. Conforme au RGPD dès le départ.`,body:`## Exporter
|
|
54
|
+
|
|
55
|
+
Depuis le profil de n'importe quel visiteur, cliquez sur **Exporter les données** pour générer un fichier JSON de tous les messages, événements et attributs que nous conservons sur lui. Le téléchargement est immédiat et la demande est consignée pour vos registres.
|
|
56
|
+
|
|
57
|
+
## Supprimer
|
|
58
|
+
|
|
59
|
+
**Supprimer les données** retire le visiteur et efface ses messages de la boîte de réception, de la recherche et de tout CRM connecté via le même pont de webhooks. L'action est consignée et irréversible.
|
|
60
|
+
|
|
61
|
+
## Pour votre DPO
|
|
62
|
+
|
|
63
|
+
- Chaque export et chaque suppression est horodaté et attribué.
|
|
64
|
+
- Les durées de conservation sont configurables par espace de travail.
|
|
65
|
+
- Un accord de traitement des données est disponible sur demande.`},"demo-news-7":{title:`SDK mobile en bêta : iOS et Android`,excerpt:`Apportez la même conversation dans votre application native. Places bêta ouvertes.`,body:`## Une conversation, toutes les surfaces
|
|
66
|
+
|
|
67
|
+
Un visiteur qui démarre un chat sur votre site peut le reprendre dans votre application, connecté, avec tout l'historique. La même Gaia, les mêmes opérateurs, la même boîte de réception.
|
|
68
|
+
|
|
69
|
+
## Ce que contient la bêta
|
|
70
|
+
|
|
71
|
+
- Lanceur natif pour SwiftUI et Jetpack Compose.
|
|
72
|
+
- Notifications push pour les nouvelles réponses.
|
|
73
|
+
- File d'attente hors ligne : les messages partent dès le retour de la connexion.
|
|
74
|
+
|
|
75
|
+
## Nous rejoindre
|
|
76
|
+
|
|
77
|
+
Nous intégrons quelques équipes chaque semaine. Répondez ici avec votre plateforme et votre nombre approximatif d'utilisateurs actifs mensuels, et nous vous enverrons une clé.
|
|
78
|
+
|
|
79
|
+
> Bêta veut dire quelques aspérités. Nous publions des correctifs chaque semaine et lisons chaque rapport de bug.`},"demo-news-8":{title:`Voyez quelles réponses de l'IA ont vraiment fonctionné`,excerpt:`Suivez si chaque réponse de Gaia a mené à une résolution, un transfert ou un abandon.`,body:`## La nouvelle vue
|
|
80
|
+
|
|
81
|
+
**Analyses → Résultats de l'IA** détaille chaque réponse de Gaia selon ce qui s'est passé ensuite :
|
|
82
|
+
|
|
83
|
+
- **Résolu** - le visiteur a obtenu ce dont il avait besoin et est parti satisfait.
|
|
84
|
+
- **Transféré** - Gaia a passé la conversation à un humain.
|
|
85
|
+
- **Abandonné** - le visiteur a fermé le widget sans résolution.
|
|
86
|
+
|
|
87
|
+
## Analyse par article
|
|
88
|
+
|
|
89
|
+
Plongez dans n'importe quel article d'aide pour voir à quelle fréquence Gaia le cite et si ces citations aboutissent à une résolution. Un faible taux de résolution sur un article très consulté signifie généralement que le contenu doit être réécrit, pas l'IA.
|
|
90
|
+
|
|
91
|
+
## Passez à l'action
|
|
92
|
+
|
|
93
|
+
Triez par taux d'abandon pour trouver les questions qui mettent Gaia le plus en difficulté, puis ajoutez un flow ou un article plus précis pour combler l'écart.`},tags:{events:`Événements`,product:`Produit`,release:`Version`,ai:`IA`,languages:`Langues`,integrations:`Intégrations`,slack:`Slack`,inbox:`Boîte de réception`,privacy:`Confidentialité`,security:`Sécurité`,mobile:`Mobile`,beta:`Bêta`,analytics:`Analyses`},categories:{company:`Entreprise`,product:`Produit`,engineering:`Ingénierie`}},n={categories:{"demo-cat-getting-started":{title:`Premiers pas`,description:`Installez le widget et configurez votre première conversation.`},"demo-cat-automation":{title:`Automatisation`,description:`Flows, déclencheurs et réponse automatique de l'IA.`},"demo-cat-integrations":{title:`Intégrations`,description:`Connectez votre CRM, Slack et CMS.`},"demo-cat-billing":{title:`Facturation et forfaits`,description:`Niveaux de prix, factures et gestion des licences.`}},articles:{"demo-article-install":{title:`Installer le widget Wexio sur votre site`,excerpt:`Un extrait de 30 secondes à coller avant la balise de fermeture </body>.`,body:`## Ajouter le script de chargement
|
|
94
|
+
|
|
95
|
+
Collez cet extrait dans chaque page où vous voulez voir apparaître le widget :
|
|
96
|
+
|
|
97
|
+
\`\`\`html
|
|
98
|
+
<script
|
|
99
|
+
src="https://cdn.wexio.io/widget/loader.js"
|
|
100
|
+
data-public-key="pk_live_YOUR_KEY"
|
|
101
|
+
><\/script>
|
|
102
|
+
\`\`\`
|
|
103
|
+
|
|
104
|
+
Le chargeur insère un lanceur flottant en bas à droite. Cliquez dessus pour ouvrir le panneau de chat.
|
|
105
|
+
|
|
106
|
+
## Vérifier l'installation
|
|
107
|
+
|
|
108
|
+
- Visitez une page qui contient l'extrait.
|
|
109
|
+
- Ouvrez la console du navigateur.
|
|
110
|
+
- Vous devriez voir \`[wexio] widget mounted\`.
|
|
111
|
+
|
|
112
|
+
## Personnaliser l'apparence
|
|
113
|
+
|
|
114
|
+
Le widget lit les couleurs de marque depuis votre tableau de bord. Modifiez-les dans **Paramètres → Marque**.
|
|
115
|
+
|
|
116
|
+
> Besoin d'un coup de main ? Touchez "Besoin d'aide ? Écrivez-nous" ci-dessous et nous vous guiderons.`},"demo-article-flows":{title:`Créer votre premier flow d'automatisation`,excerpt:`Glissez, déposez et lancez un bot d'accueil en moins de cinq minutes.`,body:`## Qu'est-ce qu'un flow ?
|
|
117
|
+
|
|
118
|
+
Un flow est un petit arbre d'étapes de conversation - questions, réponses et conditions - qui s'exécute chaque fois qu'un visiteur correspond à un déclencheur.
|
|
119
|
+
|
|
120
|
+
## Trois types de déclencheurs
|
|
121
|
+
|
|
122
|
+
1. **Le visiteur a ouvert le widget** - accueillez les nouveaux venus.
|
|
123
|
+
2. **Le visiteur a posé une question** - Gaia (IA) tente de répondre ; si elle n'y arrive pas, le flow prend le relais.
|
|
124
|
+
3. **Webhook reçu** - votre CMS ou plateforme e-commerce envoie un événement ; le flow démarre dans le bon chat.
|
|
125
|
+
|
|
126
|
+
## Bonnes pratiques
|
|
127
|
+
|
|
128
|
+
- Gardez les premières réponses sous 80 caractères.
|
|
129
|
+
- Proposez 2-3 puces de réponse rapide plutôt qu'une question à texte libre.
|
|
130
|
+
- Prévoyez toujours une porte de sortie - *"Parler à un humain"*.`},"demo-article-slack":{title:`Transférer les chats vers Slack`,excerpt:`Répliquez chaque nouvelle conversation dans le canal Slack de votre choix.`,body:`## Connecter votre espace de travail
|
|
131
|
+
|
|
132
|
+
Dans **Intégrations → Slack**, cliquez sur *Connecter*. Vous serez redirigé vers l'écran OAuth de Slack - validez les autorisations demandées (\`chat:write\`, \`channels:read\`).
|
|
133
|
+
|
|
134
|
+
## Choisir un canal
|
|
135
|
+
|
|
136
|
+
Après l'autorisation, choisissez le canal cible (ou créez-en un nouveau comme \`#support\`).
|
|
137
|
+
|
|
138
|
+
## Ce qui est transféré
|
|
139
|
+
|
|
140
|
+
- Le message d'ouverture, avec un lien direct vers la boîte de réception wexio.
|
|
141
|
+
- Les réponses des opérateurs sous forme de messages en fil.
|
|
142
|
+
- Les réponses des visiteurs en temps réel via le pont SSE.
|
|
143
|
+
|
|
144
|
+
## Sens inverse
|
|
145
|
+
|
|
146
|
+
Les opérateurs peuvent répondre *depuis* Slack - wexio écoute les réponses dans les fils Slack et les renvoie dans le widget.`},"demo-article-billing":{title:`Mettre à jour votre forfait et vos informations de facturation`,excerpt:`Changez de formule, de carte ou téléchargez vos factures.`,body:`## Forfaits
|
|
147
|
+
|
|
148
|
+
- **Free** - 1 widget, fonctions de base, badge "Powered by Wexio".
|
|
149
|
+
- **Standard** - widgets illimités, automatisations, intégrations.
|
|
150
|
+
- **Enterprise** - marque blanche, SLA, support dédié.
|
|
151
|
+
|
|
152
|
+
## Changer de forfait
|
|
153
|
+
|
|
154
|
+
**Paramètres → Facturation → Changer de forfait**. Les passages à un forfait supérieur s'appliquent immédiatement ; les rétrogradations à la fin du cycle en cours.
|
|
155
|
+
|
|
156
|
+
## Factures
|
|
157
|
+
|
|
158
|
+
Téléchargez chaque facture au format PDF depuis **Facturation → Historique**. Nous envoyons aussi une copie par e-mail à chaque renouvellement.`},"demo-article-theme":{title:`Personnaliser le thème du widget`,excerpt:`Adaptez le widget à votre marque - couleurs, arrondis, mode sombre.`,body:`## Couleurs de marque
|
|
159
|
+
|
|
160
|
+
Dans **Paramètres → Marque**, définissez :
|
|
161
|
+
|
|
162
|
+
- **Principale** - pilote le lanceur, le bouton d'envoi et les anneaux de focus.
|
|
163
|
+
- **Arrière-plan** - la surface du panneau (clair) et sa version pour le mode sombre.
|
|
164
|
+
|
|
165
|
+
## Arrondis
|
|
166
|
+
|
|
167
|
+
Choisissez entre \`sm\`, \`md\` et \`lg\` pour un rendu plus net ou plus doux. Le changement s'applique en direct à chaque widget sur chaque page.
|
|
168
|
+
|
|
169
|
+
## Mode sombre
|
|
170
|
+
|
|
171
|
+
Par défaut = suivre la préférence système du visiteur. Fixez sur **toujours clair** ou **toujours sombre** si votre site ne gère pas lui-même le mode sombre.`},"demo-article-handoff":{title:`Transférer de Gaia à un opérateur humain`,excerpt:`Quand l'IA ne suffit pas - orientez le visiteur vers un collègue.`,body:`## Déclencheurs
|
|
172
|
+
|
|
173
|
+
Gaia transfère automatiquement lorsque :
|
|
174
|
+
|
|
175
|
+
- Le visiteur écrit *"parler à un humain"* (ou toute variante localisée).
|
|
176
|
+
- La même question est posée deux fois sans résolution.
|
|
177
|
+
- L'intention du visiteur correspond à une règle de routage (p. ex. facturation → équipe finance).
|
|
178
|
+
|
|
179
|
+
## Routage
|
|
180
|
+
|
|
181
|
+
Configurez **Routage → Règles** pour orienter certaines intentions vers des équipes ou des opérateurs précis. Le tourniquet (round-robin) et la charge minimale sont tous deux pris en charge.
|
|
182
|
+
|
|
183
|
+
## Hors horaires
|
|
184
|
+
|
|
185
|
+
Si aucun opérateur n'est en ligne, Gaia propose un rappel ou un formulaire de transfert par e-mail plutôt que de faire croire que quelqu'un est disponible.`},"demo-article-crm":{title:`Synchroniser les conversations avec votre CRM`,excerpt:`Envoyez chaque chat vers HubSpot, Salesforce ou Pipedrive.`,body:`## CRM pris en charge
|
|
186
|
+
|
|
187
|
+
- HubSpot (OAuth)
|
|
188
|
+
- Salesforce (OAuth)
|
|
189
|
+
- Pipedrive (jeton d'API)
|
|
190
|
+
- Personnalisé via webhooks
|
|
191
|
+
|
|
192
|
+
## Ce qui est synchronisé
|
|
193
|
+
|
|
194
|
+
- Les nouvelles conversations créent un contact (s'il n'existe pas déjà) et une note.
|
|
195
|
+
- Les réponses des opérateurs s'ajoutent à la chronologie du contact.
|
|
196
|
+
- Les étiquettes appliquées dans wexio sont répercutées dans le CRM.
|
|
197
|
+
|
|
198
|
+
## Dans les deux sens
|
|
199
|
+
|
|
200
|
+
Les notes d'opérateur ajoutées dans le CRM peuvent revenir dans wexio via le récepteur de webhooks - voir *Intégrations → Webhooks → Entrant*.`},"demo-article-shortcuts":{title:`Raccourcis clavier pour les opérateurs`,excerpt:`Triez deux fois plus vite - sans souris.`,body:"## Navigation dans la boîte de réception\n\n- `j` / `k` - conversation suivante / précédente\n- `e` - résoudre\n- `a` - me l'assigner\n- `s` - reporter\n\n## Éditeur\n\n- `Cmd+Enter` - envoyer\n- `/` - ouvrir le sélecteur de réponses enregistrées\n- `Cmd+K` - palette de commandes (tout)\n\n## Astuce\n\nSurvolez n'importe quel bouton du tableau de bord - l'infobulle indique son raccourci."}},tags:{setup:`Configuration`,install:`Installation`,automation:`Automatisation`,flows:`Flows`,integrations:`Intégrations`,slack:`Slack`,billing:`Facturation`,plans:`Forfaits`,design:`Design`,ai:`IA`,crm:`CRM`,productivity:`Productivité`,inbox:`Boîte de réception`}},r={visitorName:`Vous`,messages:{"m-demo-1":{text:`Bonjour 👋 Je suis Gaia, l'IA de Wexio. Comment puis-je vous aider ?`,ageLabel:`9:41`,buttons:[`Comment fonctionne la tarification ?`,`Que peut-il faire ?`,`Parler à un humain`]},"m-demo-2":{text:`Pouvez-vous me montrer à quoi ressemble le widget ?`,ageLabel:`9:41`},"m-demo-3":{text:``,ageLabel:`9:42`,mediaAlts:[`Capture d'écran du produit`]},"m-demo-4":{text:``,ageLabel:`9:42`,mediaAlts:[`Globe qui tourne`]},"m-demo-5":{text:`Bien joué ! 😄 Voici quelques vues de notre équipe.`,ageLabel:`9:43`},"m-demo-6":{text:`Quelques points forts du tableau de bord`,ageLabel:`9:43`,mediaAlts:[`Vue d'ensemble du tableau de bord`,`Analyses`,`Boîte de réception`,`Rapports`]},"m-demo-7":{text:``,ageLabel:`9:44`,mediaAlts:[`Présentation rapide`]},"m-demo-8":{text:``,ageLabel:`9:44`,mediaAlts:[`Message vocal`]},"m-demo-9":{text:``,ageLabel:`9:45`,mediaAlts:[`Guide de démarrage`]},"m-demo-9b":{text:``,ageLabel:`9:45`,mediaAlts:[`Intégrations Wexio`]},"m-demo-10":{text:`Prêt à l'essayer vous-même ?`,ageLabel:`9:45`,buttons:[`Ouvrir le bac à sable`,`Réserver un appel`,`Continuer à discuter`]}}},i={messengerDescription:`Notre équipe peut aussi vous aider`,messengerMessage:`Bonjour 👋 Posez-nous toutes vos questions ou choisissez une action rapide.`},a={welcome:{system:`Vous discutez maintenant avec Gaia, notre assistante IA.`,hint:`Astuce : joignez un fichier ou enregistrez un message vocal à tout moment.`,greeting:`Bonjour 👋 Je suis Gaia, l'IA de Wexio. Posez-moi vos questions ou choisissez une action rapide pour commencer.`},replies:{pricing:{text:`Wexio est gratuit pour un widget ; les forfaits payants démarrent à 39 $/mois et débloquent les automatisations, les intégrations et la marque blanche.`,planBtn:`Voir les forfaits`,salesBtn:`Parler aux ventes`},gaia:{text:`Gaia est l'agent IA qui répond instantanément aux questions des visiteurs. Elle apprend de vos articles d'aide et passe la main à un humain quand elle ne peut pas aider.`,handoffBtn:`Comment fonctionne le transfert ?`},human:{text:`Bien sûr - je fais venir Alex de l'équipe. Il vous répondra d'ici quelques minutes pendant les heures ouvrées.`},fallback:{text:`Compris - je vérifie cela et je reviens vers vous dans un instant.`},voice:{text:`J'ai bien reçu votre message vocal - je vérifie et je reviens vers vous.`}}},o={main:`Prêt à l'essayer vous-même ?`,billing:`Merci ! J'ai transmis votre question sur la facture à l'équipe facturation.`,integrations:`Comment connecter WhatsApp à mon compte ?`},s={recentMessage:e,news:t,help:n,conversation:r,playgroundDefaults:i,messenger:a,threads:o};export{r as conversation,s as default,n as help,a as messenger,t as news,i as playgroundDefaults,e as recentMessage,o as threads};
|
|
201
|
+
//# sourceMappingURL=widget-react-BEeSy_sM.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";var e={tabs:{home:`ホーム`,messages:`メッセージ`,help:`ヘルプ`,news:`ニュース`,profile:`プロフィール`},header:{close:`閉じる`,back:`戻る`,conversationSubtitle:`私たちのチームもお手伝いします`,helpTitle:`ヘルプ`,newsTitle:`ニュース`,expand:`ウィジェットを拡大`,collapse:`ウィジェットを縮小`,messagesTitle:`メッセージ`,downloadTranscript:`会話履歴をダウンロード`,moreActions:`その他`},launcher:{open:`チャットを開く`,close:`チャットを閉じる`,panel:`チャット`},tabError:{title:`問題が発生しました`,hint:`このセクションを表示できませんでした。`,retry:`もう一度試す`},chunkError:{failed:`読み込めませんでした`,retry:`再試行`},home:{greetingHeadline:`こんにちは 👋`,greetingSubheadline:`どうされましたか?`,askTitle:`質問する`,askSubtitle:`ボットとチームがお手伝いします`,recentMessageLabel:`最近のメッセージ`,recentMessageTitle:`最近のメッセージ`,recentMessageFromFallback:`Gaia`,recentMessageAgo:`4時間前`,recentMessageSample:`こんにちは 👋 お問い合わせありがとうございます - すぐにご返信いたします。`,featuredArticleLoading:`注目の記事`,featuredArticleTap:`タップして読む`,featuredArticleEmpty:`記事を選択`,featuredArticleSetUp:`ダッシュボードでこのブロックを設定してください`,featuredArticleDemoEyebrow:`Pioneer · 日程をご確認ください`,featuredArticleDemoHeadline:`2026年10月8日`,featuredArticleDemoSubline:`サンフランシスコ · 現地 + オンライン`,featuredArticleDemoCta:`ローンチプログラムを見る`,seeAgenda:`ローンチプログラムを見る`,browseHelp:`ヘルプを見る`,whatsNew:`新着情報`,searchPlaceholder:`ヘルプを検索`,pinnedArticlesTitle:`最初にお読みください`,popularArticlesTitle:`人気の記事`,pinnedArticleRow:`固定された記事 {n}`,newsPreviewTitle:`最新ニュース`,seeAll:`すべて見る`,newsPreviewRow:`ニュース {n}`,myConversationsTitle:`あなたの会話`,myConversationsEmpty:`会話を見る`,teamStatusOnline:`オンラインです`,teamStatusReplyInstant:`通常は即座に返信します`,teamStatusReplyMinutes:`通常は数分以内に返信します`,teamStatusReplyHours:`通常は数時間以内に返信します`,teamStatusReplyDay:`通常は1日以内に返信します`,teamStatusAiOnline:`{name}がすぐにお手伝いします`,teamStatusOperatorsBack:`オペレーターは{when}に戻ります`,teamStatusOfflineUntil:`不在です。{when}に戻ります`,teamStatusOfflineSoon:`不在です。まもなく戻ります`,recentMessageAttachment:`添付ファイル`},messages:{today:`今日`,yesterday:`昨日`,unreadMessages:`未読メッセージ`,emptyTitle:`まだメッセージはありません`,emptyBody:`会話を始めると、ここで私たちのチームが返信します。`,sendCta:`メッセージを送る`,attach:`ファイルを添付`,commands:`クイックコマンド`,record:`音声メッセージを録音`,stopRecording:`録音を停止`,recording:`録音中…`,uploading:`アップロード中…`,uploadFailed:`アップロードに失敗しました`,voiceDenied:`マイクへのアクセスが拒否されました`,voiceUnsupported:`このブラウザでは音声録音がサポートされていません`,fileTooLarge:`ファイルが大きすぎます(最大10MB)`,fileMimeNotAllowed:`このファイル形式はサポートされていません`,emoji:`絵文字を挿入`,cancelRecording:`録音をキャンセル`,pauseRecording:`録音を一時停止`,resumeRecording:`録音を再開`,playPreview:`録音を再生`,emojiPicker:`絵文字ピッカー`,emojiCategories:{suggested:`最近使用`,smileysPeople:`顔文字と人`,animalsNature:`動物と自然`,foodDrink:`食べ物と飲み物`,travelPlaces:`旅行と場所`,activities:`アクティビティ`,objects:`物`,symbols:`記号`,flags:`旗`},emojiSearch:`検索…`,playAudio:`再生`,pauseAudio:`一時停止`,openAudio:`音声を開く`,removeAttachment:`削除`,aiAssistant:`AIアシスタント`,operator:`オペレーター`,openImage:`画像を開く`,openPreview:`プレビューを開く`,play:`再生`,pause:`一時停止`,typing:`入力中…`,aiThinking:`考えています…`,aiSearching:`検索中…`,typingSomeone:`誰か`,signInToChat:`会話を始めるにはサインインしてください。`,signInUnavailable:`現在サインインはご利用いただけません。`,googleSignIn:`Googleでサインイン`,googleUnavailable:`Googleログインは利用できません。接続や広告ブロッカーを確認して、もう一度お試しください。`,passkeySignIn:`パスキーでサインイン`,passkeyRegister:`初めての方はパスキーを設定`,passkeyError:`サインインできませんでした。もう一度お試しください。`,passkeyNoCredential:`このデバイスにはまだパスキーがありません — 作成するには「パスキーを設定」をタップしてください。`,googleSignInDemo:`Googleで続行`,connectingOperator:`オペレーターが割り当てられました。しばらくお待ちください…`,assignment:{eta:{minutes:`オペレーターは約{minutes}分以内に返信いたします`,soft:`通常、数分以内に返信いたします`,businessHours:`スタッフは{time}に対応を再開いたします`}},withOperator:`{name}とのチャットが始まりました`,operatorConnected:`オペレーターが接続されました`,chatResolved:`会話は解決済みです`,chatResolvedByYou:`あなたが会話を解決しました`,chatResolvedByOperator:`{name}が会話を解決しました`,resolveConversation:`会話を解決する`,sources:`出典`,moreSources:`他{count}件`,askQuestion:`質問する`,previewYou:`あなた: {text}`,threadsEmptyTitle:`まだ会話はありません`,threadsEmptyBody:`会話を始めると、ここに表示されます。`,format:{bold:`太字`,italic:`斜体`,underline:`下線`,strikethrough:`取り消し線`,bulletList:`箇条書き`,numberedList:`番号付きリスト`,link:`リンク`,linkPlaceholder:`https://…`,linkSave:`保存`,linkCancel:`キャンセル`,monospace:`等幅`},queued:`接続を待っています`,notDelivered:`送信できませんでした`,retry:`再試行`,offlineBanner:`オフラインです`,backOnline:`オンラインに戻りました`,threadsErrorTitle:`会話を読み込めませんでした`,threadsErrorBody:`接続を確認して、もう一度お試しください。`,giphy:{title:`GIFとステッカー`,searchPlaceholder:`GIPHYを検索`,clear:`クリア`,tabGifs:`GIF`,tabStickers:`ステッカー`,error:`読み込めませんでした`,retry:`再試行`,empty:`結果がありません`,poweredBy:`Powered by GIPHY`},scrollToLatest:`最新へスクロール`,conversationClosed:`この会話は終了しました`,startNewConversation:`新しい会話を始める`,conversationBlocked:`この会話はブロックされています`,visitorBlocked:`メッセージを送信できなくなりました`,conversationClosedTitle:`ご利用ありがとうございました 👋`,conversationClosedHint:`この会話は終了しました。いつでも新しい会話を始められます。`,fileFallback:`ファイル`},prechat:{title:`始める前に`,subtitle:`私たちのチームがより早くお手伝いできるよう、簡単な情報をお願いします。`,labelName:`お名前`,labelEmail:`メール`,labelPhone:`電話`,labelCustom:`詳細`,required:`必須`,invalidEmail:`有効なメールアドレスを入力してください`,invalidPhone:`有効な電話番号を入力してください`,submit:`続ける`,submitFailed:`送信できませんでした - もう一度お試しください。`},help:{searchPlaceholder:`ヘルプを検索`,emptyTitle:`まだ記事はありません`,emptyBody:`オペレーターはまだ何も公開していません。`,back:`戻る`,helpful:`お役に立ちましたか?`,yes:`はい`,no:`いいえ`,thanks:`フィードバックをありがとうございます。`,unresolvedCta:`まだサポートが必要ですか? メッセージをお送りください`,noResults:`結果がありません`,articleNotFound:`記事が見つかりません`,articleNotTranslated:`この記事はまだお使いの言語ではご利用いただけません。`,writtenBy:`{names}著`,relatedTitle:`関連記事`,collectionsCount:`{count, plural, =0 {コレクションなし} other {# 件のコレクション}}`,articlesCount:`{count, plural, =0 {記事なし} other {記事: #}}`,authorsByline:`著者 {first}{remaining, plural, =0 {} other { 他 # 名}}`},news:{emptyTitle:`まだ更新はありません`,emptyBody:`プロダクトニュースやお知らせはこちらで確認してください。`,helpful:`この記事はお役に立ちましたか?`,yes:`はい`,no:`いいえ`,thanks:`フィードバックをありがとうございます。`,searchPlaceholder:`ニュースを検索`,noResults:`該当する投稿がありません`,editedAt:`{when}に編集`,articleNotFound:`記事が見つかりません。`,articleNotTranslated:`この投稿はまだお使いの言語ではご利用いただけません。`,readOriginal:`原文を読む`,relatedTitle:`関連`,writtenBy:`{names}著`,unread:`未読のニュース`},reactions:{ariaLabel:`リアクション`,tapAria:`{emoji}でリアクション`},languageSelector:{title:`他の言語で読む`,ariaLabel:`記事の言語`},branding:{poweredBy:`提供:`,wexio:`Wexio`},sound:{mute:`通知音をミュート`,unmute:`通知音をオン`},article:{tableOfContents:`目次`,tabFallback:`タブ {n}`},peek:{newMessage:`新着メッセージ`,dismiss:`閉じる`,aiAssistant:`AIアシスタント`,operator:`オペレーター`},lightbox:{mediaPreview:`メディアプレビュー`,close:`プレビューを閉じる`,previous:`前へ`,next:`次へ`},authError:{turnstileTitle:`ブラウザを検証できませんでした`,turnstileBody:`セキュリティチェックを完了できませんでした。ネットワークまたは広告ブロッカーの問題の可能性があります — もう一度お試しいただくか、ページを再読み込みしてください。`,genericTitle:`接続できませんでした`,genericBody:`サインイン中にエラーが発生しました。しばらくしてからもう一度お試しください。`,retry:`もう一度試す`,dismiss:`閉じる`},profile:{title:`あなたのプロフィール`,subtitle:`情報とウィジェットの動作を更新します。`,uploadAvatar:`写真を変更`,removeAvatar:`写真を削除`,avatarUploading:`アップロード中…`,preferencesHeading:`設定`,preferenceLanguage:`言語`,preferenceDesktopNotifications:`デスクトップ通知`,preferenceDesktopNotificationsHint:`ウィジェットがフォーカスされていないときにシステム通知を受け取ります。`,preferenceThemeMode:`テーマ`,themeAuto:`システムに合わせる`,themeLight:`ライト`,themeDark:`ダーク`,themeLocked:`テーマはオペレーターによって設定されています。`,pinnedHint:`オペレーターによって設定 — 編集できません。`,requiredHint:`必須`,invalidEmail:`有効なメールアドレスを入力してください。`,invalidPhone:`国際形式を使用してください(例: +14155552671)。`,noFields:`ここにはまだ編集できる項目はありません。`,save:`変更を保存`,saving:`保存中…`,cancel:`破棄`,saved:`変更を保存しました。`,loading:`プロフィールを読み込み中…`,loadError:`プロフィールを読み込めませんでした。もう一度お試しください。`,retry:`再試行`,errorFieldNotAllowed:`このウィジェットではこの項目は編集できません。更新してみてください。`,errorFieldPinned:`この項目はアカウントによってロックされています。`,errorFieldInvalid:`一部の値が無効です。ハイライトされた項目を確認してください。`,errorThemeLocked:`テーマはオペレーターによってロックされています。`,errorFeatureDisabled:`プロフィール編集はオペレーターによって無効にされています。`,errorGeneric:`変更を保存できませんでした。もう一度お試しください。`,notificationsBlocked:`ブラウザによって通知がブロックされています。有効にするにはサイトの権限を更新してください。`,notificationsRequest:`有効にするには、プロンプトで通知を許可してください。`,systemFields:{avatar:`写真`,wexioId:`Wexio ID`,telegramId:`Telegram ID`,whatsappId:`WhatsApp ID`,viberId:`Viber ID`,instagramId:`Instagram ID`,optInWhatsapp:`WhatsApp 受信許可`,webVerified:`認証済み訪問者`,firstName:`名`,lastName:`姓`,username:`ユーザー名`,language:`言語`,email:`メール`,phone:`電話`,company:`会社`,location:`所在地`,isValid:`アカウント有効`,chatStatus:`チャットステータス`,chatCategory:`チャットカテゴリ`,priority:`優先度`,leadSource:`リードソース`,leadStatus:`リードステータス`,interestLevel:`関心レベル`,productInterest:`製品への関心`,budgetRange:`予算`,purchaseTimeline:`購入時期`,lastMessageSentAt:`最後の送信`,lastMessageReceivedAt:`最後の受信`,lastSeenAt:`最終アクセス`,firstMessageReceivedAt:`最初の連絡`,isBlocked:`ブロック済み`,registrationDate:`登録日`,aiAvailable:`AIサポート`,totalMessagesSent:`送信メッセージ数`,totalMessagesReceived:`受信メッセージ数`,totalAiMessagesSent:`AI送信メッセージ数`,totalBotMessagesSent:`ボット送信メッセージ数`,totalUserMessagesSent:`オペレーター送信メッセージ数`,flowCompletionRate:`フロー完了率`,lastFlowCompleted:`最後に完了したフロー`,totalFlowsStarted:`開始したフロー`,totalFlowsCompleted:`完了したフロー`},systemFieldOptions:{chatStatus:{ISSUE:`問題`,RESOLVED:`解決済み`,PENDING:`保留中`,IN_PROGRESS:`進行中`,CLOSED:`クローズ`},chatCategory:{SALES:`営業`,SUPPORT:`サポート`,BILLING:`請求`,FEEDBACK:`フィードバック`,GENERAL:`一般`,OTHER:`その他`},priority:{LOW:`低`,MEDIUM:`中`,HIGH:`高`,URGENT:`緊急`},leadStatus:{NEW:`新規`,CONTACTED:`連絡済み`,QUALIFIED:`条件適合`,NEGOTIATING:`交渉中`,WON:`受注`,LOST:`失注`},interestLevel:{LOW:`低`,MEDIUM:`中`,HIGH:`高`,VERY_HIGH:`非常に高い`}},selectOption:`選択してください`,noOptions:`オプションが設定されていません。`},transcript:{title:`{org}との会話`,started:`開始日: {when}`,exported:`{org}から{when}にエクスポート`,truncated:`注: 最新のメッセージのみが含まれています。`,operator:`オペレーター`,you:`あなた`},notification:{newMessage:`新着メッセージ`,image:`画像`,video:`動画`,voiceMessage:`ボイスメッセージ`,attachment:`添付ファイル`}};export{e as default};
|
|
2
|
+
//# sourceMappingURL=widget-react-BGg29YDq.js.map
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";var e={sender:`Gaia`,preview:`你好 👋 感谢你联系我们,我很快就会回复你…`,ageLabel:`4 小时`},t={"demo-news-1":{title:`Pioneer 2026:请预留日期`,excerpt:`10 月 8 日,我们将回到旧金山。9 点开放入场,10 点开始主题演讲。`,body:`## 活动亮点
|
|
2
|
+
|
|
3
|
+
今年的主题演讲聚焦于我们公开发布的成果和接下来的规划。现场演示,不放幻灯片。
|
|
4
|
+
|
|
5
|
+
- **Gaia 产品路线图** - 我们的 AI 在未来两个季度的发展方向。
|
|
6
|
+
- **客户故事** - 三个团队分享如何将首次响应时间缩短一半。
|
|
7
|
+
- **动手实验室** - 带上笔记本电脑,与我们的工程师一起搭建流程。
|
|
8
|
+
|
|
9
|
+
## 交通方式
|
|
10
|
+
|
|
11
|
+
会场位于 Embarcadero 海滨的 Pier 27 邮轮码头。最近的 BART 站是 Embarcadero,沿着水岸步行约 12 分钟。
|
|
12
|
+
|
|
13
|
+
## 门票
|
|
14
|
+
|
|
15
|
+
早鸟席位有限,将于下周开售。现有客户可优先购买,请留意你的收件箱。
|
|
16
|
+
|
|
17
|
+
> 无法亲自到场?主题演讲将进行直播,录像会在当天晚上上传到这里。`},"demo-news-2":{title:`四月发布的新功能`,excerpt:`三个全新的自动化触发器,以及快得多的收件箱搜索。`,body:`<p>四月是繁忙的一个月。以下是所有新发布的内容,一目了然:</p>
|
|
18
|
+
<table>
|
|
19
|
+
<thead><tr><th>领域</th><th>变化</th><th>为什么重要</th></tr></thead>
|
|
20
|
+
<tbody>
|
|
21
|
+
<tr><td>收件箱搜索</td><td>输入时即时显示结果</td><td>5 万条会话,不到 100 毫秒</td></tr>
|
|
22
|
+
<tr><td>自动化</td><td>三个新触发器</td><td>放弃购物车、重新访问页面、沉默的访客</td></tr>
|
|
23
|
+
<tr><td>回复编辑器</td><td>切换标签页后草稿依然保留</td><td>不会再丢失写到一半的回复</td></tr>
|
|
24
|
+
<tr><td>深色模式</td><td>首次渲染时不再闪白</td><td>在深色网站上加载更顺畅</td></tr>
|
|
25
|
+
</tbody>
|
|
26
|
+
</table>
|
|
27
|
+
<p>来看看新搜索的实际效果 - 你还没输完,结果就出现了:</p>
|
|
28
|
+
<img src="https://picsum.photos/seed/wexio-search/1024/576" alt="收件箱搜索即时返回结果" />
|
|
29
|
+
<p>点按图片可以放大查看。有任何需求吗?直接在这里回复 - 我们每一条都会阅读。</p>`},"demo-news-3":{title:`Gaia 现已支持 28 种语言`,excerpt:`自动检测访客的语言,或固定使用某一种语言。无需额外设置。`,body:`<p>Gaia 现在能以 28 种语言回复,并从访客的第一条消息自动检测语言。以下是我们最常被问到的问题:</p>
|
|
30
|
+
<details><summary>语言检测是如何工作的?</summary><p>Gaia 会读取开场消息,并用相同的语言回复。如果你的帮助文章有该语言的版本,Gaia 会引用;如果没有,就会根据最接近的内容作答,并提醒你缺失的部分。</p></details>
|
|
31
|
+
<details><summary>可以强制只使用一种语言吗?</summary><p>可以。在 <strong>设置 → AI → 语言</strong> 中固定一种语言,无论访客输入什么,Gaia 都会保持该语言。</p></details>
|
|
32
|
+
<details><summary>客服人员会看到什么?</summary><p>会话记录会保持你团队使用的语言,原始消息也会与译文一起保留。</p></details>
|
|
33
|
+
<p>快速看看 Gaia 在对话中途切换语言的样子:</p>
|
|
34
|
+
<img src="https://picsum.photos/seed/wexio-lang/1024/576" alt="Gaia 以多种语言回复" />`},"demo-news-4":{title:`将会话直接导入 Slack`,excerpt:`将任何传入的 webhook 连接到 Slack 频道。无需额外的对接代码。`,body:`## 两次点击即可连接
|
|
35
|
+
|
|
36
|
+
前往 **集成 → Slack**,点击 *连接*,并批准权限。选择新会话要进入的频道 - 大多数团队使用 \`#support\`。
|
|
37
|
+
|
|
38
|
+
## 你将获得
|
|
39
|
+
|
|
40
|
+
- 聊天开始的瞬间,Slack 就会收到消息,并附带返回收件箱的链接。
|
|
41
|
+
- 客服人员的回复会以线程形式排在原始消息下方。
|
|
42
|
+
- 直接在 Slack 中回复,我们会实时转发给访客。
|
|
43
|
+
|
|
44
|
+
## 同样支持 Webhook
|
|
45
|
+
|
|
46
|
+
已经在从自己的系统推送事件了吗?把任何 webhook 指向你的 Slack 频道,就能完全省去自定义集成的工作。`},"demo-news-5":{title:`Inbox 2.0:不用鼠标也能分流`,excerpt:`用于分配、暂缓和解决的新快捷键 - 全部用键盘完成。`,body:`<p>Inbox 2.0 以键盘为先。以下是按操作分类的速查表:</p>
|
|
47
|
+
<div data-type="tabs">
|
|
48
|
+
<div data-type="tab"><div data-tab-label>浏览</div><ul><li><code>j</code> / <code>k</code> - 下一条 / 上一条会话</li><li><code>g</code> 然后 <code>i</code> - 跳转到收件箱</li></ul></div>
|
|
49
|
+
<div data-type="tab"><div data-tab-label>操作</div><ul><li><code>e</code> - 解决</li><li><code>a</code> - 分配给我</li><li><code>s</code> - 暂缓</li></ul></div>
|
|
50
|
+
<div data-type="tab"><div data-tab-label>撰写</div><ul><li><code>Cmd+Enter</code> - 发送</li><li><code>/</code> - 快捷回复</li><li><code>Cmd+K</code> - 命令面板</li></ul></div>
|
|
51
|
+
</div>
|
|
52
|
+
<p>重新设计的收件箱 - 一切尽在指尖:</p>
|
|
53
|
+
<img src="https://picsum.photos/seed/wexio-inbox/1024/576" alt="重新设计、以键盘为先的收件箱" />`},"demo-news-6":{title:`自助式数据导出与删除`,excerpt:`一键处理访客的数据请求。开箱即符合 GDPR。`,body:`## 导出
|
|
54
|
+
|
|
55
|
+
在任意访客的个人资料中,点击 **导出数据**,即可生成一个 JSON 文件,包含我们保存的所有消息、事件和属性。文件会立即下载,并将该请求记录下来供你备查。
|
|
56
|
+
|
|
57
|
+
## 删除
|
|
58
|
+
|
|
59
|
+
**删除数据** 会移除该访客,并通过同一个 webhook 桥接,从收件箱、搜索以及所有已连接的 CRM 中清除其消息。此操作会被记录,且无法撤销。
|
|
60
|
+
|
|
61
|
+
## 给你的数据保护官
|
|
62
|
+
|
|
63
|
+
- 每次导出和删除都有时间戳和执行人。
|
|
64
|
+
- 保留期限可按工作区配置。
|
|
65
|
+
- 如有需要,可提供数据处理协议。`},"demo-news-7":{title:`移动 SDK 测试版:iOS 和 Android`,excerpt:`把同一段会话带进你的原生应用。测试名额现已开放。`,body:`## 一段会话,任意界面
|
|
66
|
+
|
|
67
|
+
在你网站上开始聊天的访客,可以在你的应用中继续,已登录且保留完整记录。同一个 Gaia、同一批客服人员、同一个收件箱。
|
|
68
|
+
|
|
69
|
+
## 测试版内容
|
|
70
|
+
|
|
71
|
+
- 适用于 SwiftUI 和 Jetpack Compose 的原生启动器。
|
|
72
|
+
- 新回复的推送通知。
|
|
73
|
+
- 离线队列,网络恢复后消息会自动发出。
|
|
74
|
+
|
|
75
|
+
## 加入我们
|
|
76
|
+
|
|
77
|
+
我们每周会接入几个团队。请在这里回复你的平台和大致的月活跃用户数,我们会给你发一个密钥。
|
|
78
|
+
|
|
79
|
+
> 测试版意味着还有些粗糙之处。我们每周都会发布修复,也会阅读每一份错误报告。`},"demo-news-8":{title:`看看哪些 AI 回答真正有效`,excerpt:`跟踪 Gaia 的每条回复最终是解决了问题、转接给真人,还是访客离开了。`,body:`## 全新视图
|
|
80
|
+
|
|
81
|
+
**分析 → AI 成效** 会根据后续发生的情况,对 Gaia 的每条回复进行分类:
|
|
82
|
+
|
|
83
|
+
- **已解决** - 访客得到了所需的答案,满意地离开。
|
|
84
|
+
- **已转接** - Gaia 将会话交给了真人。
|
|
85
|
+
- **流失** - 访客在问题未解决前就关闭了小组件。
|
|
86
|
+
|
|
87
|
+
## 单篇文章洞察
|
|
88
|
+
|
|
89
|
+
点进任意帮助文章,查看 Gaia 引用它的频率,以及这些引用是否真的解决了问题。高流量文章的解决率偏低,通常说明内容需要重写,而不是 AI 有问题。
|
|
90
|
+
|
|
91
|
+
## 付诸行动
|
|
92
|
+
|
|
93
|
+
按流失率排序,找出 Gaia 最吃力的问题,再新增一个流程或更精准的文章来填补空白。`},tags:{events:`活动`,product:`产品`,release:`发布`,ai:`AI`,languages:`语言`,integrations:`集成`,slack:`Slack`,inbox:`收件箱`,privacy:`隐私`,security:`安全`,mobile:`移动端`,beta:`测试版`,analytics:`分析`},categories:{company:`公司`,product:`产品`,engineering:`工程`}},n={categories:{"demo-cat-getting-started":{title:`快速入门`,description:`安装小组件并配置你的第一段会话。`},"demo-cat-automation":{title:`自动化`,description:`流程、触发器和 AI 自动回复。`},"demo-cat-integrations":{title:`集成`,description:`连接你的 CRM、Slack 和 CMS。`},"demo-cat-billing":{title:`账单与套餐`,description:`价格档位、发票和席位管理。`}},articles:{"demo-article-install":{title:`在你的网站上安装 Wexio 小组件`,excerpt:`只需 30 秒,把一段代码粘贴到结束 </body> 标签之前即可。`,body:`## 添加加载器脚本
|
|
94
|
+
|
|
95
|
+
将这段代码粘贴到每一个你希望显示小组件的页面:
|
|
96
|
+
|
|
97
|
+
\`\`\`html
|
|
98
|
+
<script
|
|
99
|
+
src="https://cdn.wexio.io/widget/loader.js"
|
|
100
|
+
data-public-key="pk_live_YOUR_KEY"
|
|
101
|
+
><\/script>
|
|
102
|
+
\`\`\`
|
|
103
|
+
|
|
104
|
+
加载器会在右下角添加一个悬浮的启动按钮。点击即可打开聊天面板。
|
|
105
|
+
|
|
106
|
+
## 验证安装是否成功
|
|
107
|
+
|
|
108
|
+
- 访问包含这段代码的页面。
|
|
109
|
+
- 打开浏览器控制台。
|
|
110
|
+
- 你应该会看到 \`[wexio] widget mounted\`。
|
|
111
|
+
|
|
112
|
+
## 自定义外观
|
|
113
|
+
|
|
114
|
+
小组件会从你的控制台读取品牌颜色。请在 **设置 → 品牌** 中更新。
|
|
115
|
+
|
|
116
|
+
> 需要帮助吗?请点击下方的“还需要帮助?给我们发消息”,我们会一步步带你完成。`},"demo-article-flows":{title:`创建你的第一个自动化流程`,excerpt:`拖放即可,五分钟内上线欢迎机器人。`,body:`## 什么是流程?
|
|
117
|
+
|
|
118
|
+
流程是由会话步骤 - 问题、回复和条件 - 组成的小型树状结构,每当访客符合某个触发器时就会运行。
|
|
119
|
+
|
|
120
|
+
## 三种触发器类型
|
|
121
|
+
|
|
122
|
+
1. **访客打开了小组件** - 欢迎首次到访的访客。
|
|
123
|
+
2. **访客提出了问题** - Gaia(AI)会尝试回答;如果无法回答,就由流程接管。
|
|
124
|
+
3. **收到 Webhook** - 你的 CMS 或电商平台推送事件,流程便会在正确的聊天中启动。
|
|
125
|
+
|
|
126
|
+
## 最佳实践
|
|
127
|
+
|
|
128
|
+
- 第一条回复保持在 80 个字符以内。
|
|
129
|
+
- 提供 2-3 个快捷回复按钮,而不是开放式提问。
|
|
130
|
+
- 始终提供退出途径 - *“转接真人”*。`},"demo-article-slack":{title:`将聊天转发到 Slack`,excerpt:`将每一段新会话同步到你选择的 Slack 频道。`,body:`## 连接你的工作区
|
|
131
|
+
|
|
132
|
+
在 **集成 → Slack** 中点击 *连接*。系统会将你带到 Slack 的 OAuth 页面 - 请批准所需权限(\`chat:write\`、\`channels:read\`)。
|
|
133
|
+
|
|
134
|
+
## 选择频道
|
|
135
|
+
|
|
136
|
+
授权后,选择目标频道(或新建一个,例如 \`#support\`)。
|
|
137
|
+
|
|
138
|
+
## 会转发哪些内容
|
|
139
|
+
|
|
140
|
+
- 开场消息,并附带返回 wexio 收件箱的深层链接。
|
|
141
|
+
- 客服人员的回复,以线程消息呈现。
|
|
142
|
+
- 访客的回复,通过 SSE 桥接实时送达。
|
|
143
|
+
|
|
144
|
+
## 反向传送
|
|
145
|
+
|
|
146
|
+
客服人员也可以 *从* Slack 回复 - wexio 会监听 Slack 线程中的回复,并回传到小组件。`},"demo-article-billing":{title:`更新你的套餐和账单信息`,excerpt:`切换档位、更换银行卡或下载发票。`,body:`## 套餐
|
|
147
|
+
|
|
148
|
+
- **Free** - 1 个小组件、基础功能、“Powered by Wexio”标识。
|
|
149
|
+
- **Standard** - 不限数量的小组件、自动化、集成。
|
|
150
|
+
- **Enterprise** - 白标、SLA、专属支持。
|
|
151
|
+
|
|
152
|
+
## 更改套餐
|
|
153
|
+
|
|
154
|
+
**设置 → 账单 → 更改套餐**。升级立即生效;降级将在当前计费周期结束时生效。
|
|
155
|
+
|
|
156
|
+
## 发票
|
|
157
|
+
|
|
158
|
+
在 **账单 → 历史记录** 中可将每张发票下载为 PDF。每次续费时,我们也会把副本发送到你的邮箱。`},"demo-article-theme":{title:`自定义小组件主题`,excerpt:`让小组件契合你的品牌 - 颜色、圆角、深色模式。`,body:`## 品牌颜色
|
|
159
|
+
|
|
160
|
+
在 **设置 → 品牌** 中设置:
|
|
161
|
+
|
|
162
|
+
- **主色** - 用于启动按钮、发送按钮和焦点轮廓。
|
|
163
|
+
- **背景** - 面板表面(浅色)以及对应的深色模式配色。
|
|
164
|
+
|
|
165
|
+
## 圆角
|
|
166
|
+
|
|
167
|
+
从 \`sm\`、\`md\`、\`lg\` 中选择,呈现更利落或更柔和的外观。更改会实时应用到所有页面上的每个小组件。
|
|
168
|
+
|
|
169
|
+
## 深色模式
|
|
170
|
+
|
|
171
|
+
默认 = 跟随访客的系统偏好。如果你的网站本身不支持深色模式,可固定为 **始终浅色** 或 **始终深色**。`},"demo-article-handoff":{title:`从 Gaia 转接给真人客服`,excerpt:`当 AI 不够用时 - 把访客转给团队成员。`,body:`## 触发条件
|
|
172
|
+
|
|
173
|
+
在以下情况下,Gaia 会自动转接:
|
|
174
|
+
|
|
175
|
+
- 访客输入 *“我要和真人沟通”*(或任何本地化的说法)。
|
|
176
|
+
- 同一个问题被问了两次仍未解决。
|
|
177
|
+
- 访客的意图符合路由规则(例如:账单 → 财务团队)。
|
|
178
|
+
|
|
179
|
+
## 路由
|
|
180
|
+
|
|
181
|
+
配置 **路由 → 规则**,将特定意图导向指定的团队或客服人员。同时支持轮流分配和负载最低优先。
|
|
182
|
+
|
|
183
|
+
## 非工作时间
|
|
184
|
+
|
|
185
|
+
如果没有任何客服人员在线,Gaia 会提供回电或邮件转接表单,而不是假装有人可以接听。`},"demo-article-crm":{title:`将会话同步到你的 CRM`,excerpt:`把每一段聊天推送到 HubSpot、Salesforce 或 Pipedrive。`,body:`## 支持的 CRM
|
|
186
|
+
|
|
187
|
+
- HubSpot(OAuth)
|
|
188
|
+
- Salesforce(OAuth)
|
|
189
|
+
- Pipedrive(API 令牌)
|
|
190
|
+
- 通过 webhook 自定义
|
|
191
|
+
|
|
192
|
+
## 同步的内容
|
|
193
|
+
|
|
194
|
+
- 新会话会创建联系人(如果尚不存在)和一条备注。
|
|
195
|
+
- 客服人员的回复会追加到联系人的时间线。
|
|
196
|
+
- 在 wexio 中应用的标签会同步到 CRM。
|
|
197
|
+
|
|
198
|
+
## 双向同步
|
|
199
|
+
|
|
200
|
+
在 CRM 中添加的客服备注,可通过 webhook 接收器传回 wexio - 请参阅 *集成 → Webhook → 入站*。`},"demo-article-shortcuts":{title:`客服人员键盘快捷键`,excerpt:`分流速度翻倍 - 完全不需要鼠标。`,body:"## 收件箱导航\n\n- `j` / `k` - 下一条 / 上一条会话\n- `e` - 解决\n- `a` - 分配给我\n- `s` - 暂缓\n\n## 回复编辑器\n\n- `Cmd+Enter` - 发送\n- `/` - 打开快捷回复选择器\n- `Cmd+K` - 命令面板(包含所有功能)\n\n## 小提示\n\n将光标悬停在控制台中的任意按钮上 - 提示文字会显示它的快捷键。"}},tags:{setup:`设置`,install:`安装`,automation:`自动化`,flows:`流程`,integrations:`集成`,slack:`Slack`,billing:`账单`,plans:`套餐`,design:`设计`,ai:`AI`,crm:`CRM`,productivity:`效率`,inbox:`收件箱`}},r={visitorName:`你`,messages:{"m-demo-1":{text:`你好 👋 我是 Gaia,Wexio 的 AI。有什么我可以帮忙的吗?`,ageLabel:`上午 9:41`,buttons:[`费用是怎么计算的?`,`它能做什么?`,`转接真人`]},"m-demo-2":{text:`可以让我看看小组件长什么样吗?`,ageLabel:`上午 9:41`},"m-demo-3":{text:``,ageLabel:`上午 9:42`,mediaAlts:[`产品截图`]},"m-demo-4":{text:``,ageLabel:`上午 9:42`,mediaAlts:[`旋转的地球`]},"m-demo-5":{text:`太棒了!😄 这里有几张我们团队的画面。`,ageLabel:`上午 9:43`},"m-demo-6":{text:`几个控制台亮点`,ageLabel:`上午 9:43`,mediaAlts:[`控制台总览`,`分析`,`收件箱`,`报表`]},"m-demo-7":{text:``,ageLabel:`上午 9:44`,mediaAlts:[`快速导览`]},"m-demo-8":{text:``,ageLabel:`上午 9:44`,mediaAlts:[`语音消息`]},"m-demo-9":{text:``,ageLabel:`上午 9:45`,mediaAlts:[`入门指南`]},"m-demo-9b":{text:``,ageLabel:`上午 9:45`,mediaAlts:[`Wexio 集成`]},"m-demo-10":{text:`准备好亲自试试了吗?`,ageLabel:`上午 9:45`,buttons:[`打开沙盒`,`预约通话`,`继续聊天`]}}},i={messengerDescription:`我们的团队也可以提供帮助`,messengerMessage:`你好 👋 有任何问题都可以问我们,或选择一个快捷操作。`},a={welcome:{system:`你现在正在与我们的 AI 助手 Gaia 聊天。`,hint:`提示:随时都可以添加附件或录制语音消息。`,greeting:`你好 👋 我是 Gaia,Wexio 的 AI。有任何问题都可以问我,或选择一个快捷操作开始。`},replies:{pricing:{text:`Wexio 的一个小组件可免费使用;付费套餐每月 $39 起,并解锁自动化、集成和白标功能。`,planBtn:`查看套餐档位`,salesBtn:`联系销售`},gaia:{text:`Gaia 是能即时回答访客问题的 AI 代理。她会从你的帮助文章中学习,并在无法协助时转接给真人。`,handoffBtn:`转接是如何工作的?`},human:{text:`没问题 - 我会邀请团队的 Alex 加入。工作时间内,他们会在几分钟内回复你。`},fallback:{text:`明白了 - 我去查一下,稍后再回复你。`},voice:{text:`收到你的语音消息了 - 我去确认一下,再回复你。`}}},o={main:`准备好亲自试试了吗?`,billing:`谢谢!我已将你的发票问题转给账单团队。`,integrations:`我要如何将 WhatsApp 连接到我的账号?`},s={recentMessage:e,news:t,help:n,conversation:r,playgroundDefaults:i,messenger:a,threads:o};export{r as conversation,s as default,n as help,a as messenger,t as news,i as playgroundDefaults,e as recentMessage,o as threads};
|
|
201
|
+
//# sourceMappingURL=widget-react-BKZZeBk72.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";var e={tabs:{home:`Головна`,messages:`Повідомлення`,help:`Допомога`,news:`Новини`,profile:`Профіль`},header:{close:`Закрити`,back:`Назад`,conversationSubtitle:`Наші фахівці також можуть допомогти`,helpTitle:`Допомога`,newsTitle:`Новини`,expand:`Розгорнути віджет`,collapse:`Згорнути віджет`,messagesTitle:`Повідомлення`,downloadTranscript:`Завантажити розшифровку`,moreActions:`Більше`},launcher:{open:`Відкрити чат`,close:`Закрити чат`,panel:`Чат`},tabError:{title:`Щось пішло не так`,hint:`Не вдалося показати цей розділ.`,retry:`Спробувати ще раз`},chunkError:{failed:`Не вдалося завантажити`,retry:`Повторити`},home:{greetingHeadline:`Як справи? 👋`,greetingSubheadline:`Чим вам допомогти?`,askTitle:`Поставити запитання`,askSubtitle:`Вам допоможуть наш бот і наші фахівці`,recentMessageLabel:`Нещодавнє повідомлення`,recentMessageTitle:`Нещодавнє повідомлення`,recentMessageFromFallback:`Gaia`,recentMessageAgo:`4 год`,recentMessageSample:`Привіт 👋 Дякуємо, що звернулися - ми скоро повернемося до вас.`,featuredArticleLoading:`Рекомендована стаття`,featuredArticleTap:`Натисніть, щоб читати`,featuredArticleEmpty:`Виберіть статтю`,featuredArticleSetUp:`Налаштуйте цей блок у панелі`,featuredArticleDemoEyebrow:`Pioneer · Save the date`,featuredArticleDemoHeadline:`8 жовтня 2026`,featuredArticleDemoSubline:`Сан-Франциско · офлайн + онлайн`,featuredArticleDemoCta:`Переглянути програму запуску`,seeAgenda:`Переглянути програму запуску`,browseHelp:`Довідка`,whatsNew:`Що нового`,searchPlaceholder:`Пошук у довідці`,pinnedArticlesTitle:`Почніть із цього`,popularArticlesTitle:`Популярні статті`,pinnedArticleRow:`Закріплена стаття {n}`,newsPreviewTitle:`Останні новини`,seeAll:`Дивитись усе`,newsPreviewRow:`Новина {n}`,myConversationsTitle:`Ваші розмови`,myConversationsEmpty:`Переглянути ваші розмови`,teamStatusOnline:`Ми онлайн`,teamStatusReplyInstant:`Зазвичай відповідаємо одразу`,teamStatusReplyMinutes:`Зазвичай відповідаємо за кілька хвилин`,teamStatusReplyHours:`Зазвичай відповідаємо протягом кількох годин`,teamStatusReplyDay:`Зазвичай відповідаємо протягом дня`,teamStatusAiOnline:`{name} може допомогти зараз`,teamStatusOperatorsBack:`Оператори повернуться {when}`,teamStatusOfflineUntil:`Нас немає, повернемось {when}`,teamStatusOfflineSoon:`Нас немає, скоро повернемось`,recentMessageAttachment:`Вкладення`},messages:{today:`Сьогодні`,yesterday:`Вчора`,unreadMessages:`Непрочитані повідомлення`,emptyTitle:`Ще немає повідомлень`,emptyBody:`Розпочніть розмову - ми відповімо тут.`,sendCta:`Надіслати повідомлення`,attach:`Прикріпити файл`,commands:`Швидкі команди`,record:`Записати голосове повідомлення`,stopRecording:`Зупинити запис`,recording:`Запис…`,uploading:`Завантаження…`,uploadFailed:`Не вдалося завантажити`,voiceDenied:`Доступ до мікрофона заборонено`,voiceUnsupported:`Браузер не підтримує запис голосу`,fileTooLarge:`Файл завеликий (максимум 10 МБ)`,fileMimeNotAllowed:`Цей тип файлу не підтримується`,emoji:`Вставити емодзі`,cancelRecording:`Скасувати запис`,pauseRecording:`Призупинити запис`,resumeRecording:`Продовжити запис`,playPreview:`Прослухати запис`,emojiPicker:`Вибір емодзі`,emojiCategories:{suggested:`Нещодавно використані`,smileysPeople:`Смайли та люди`,animalsNature:`Тварини та природа`,foodDrink:`Їжа та напої`,travelPlaces:`Подорожі та місця`,activities:`Активності`,objects:`Предмети`,symbols:`Символи`,flags:`Прапори`},emojiSearch:`Пошук…`,playAudio:`Відтворити`,pauseAudio:`Пауза`,openAudio:`Відкрити аудіо`,removeAttachment:`Видалити`,aiAssistant:`ШІ-помічник`,operator:`Оператор`,openImage:`Відкрити зображення`,openPreview:`Відкрити перегляд`,play:`Відтворити`,pause:`Призупинити`,typing:`друкує…`,aiThinking:`думає…`,aiSearching:`переглядає…`,typingSomeone:`Хтось`,signInToChat:`Будь ласка, увійдіть, щоб почати розмову.`,signInUnavailable:`Вхід наразі недоступний.`,googleSignIn:`Вхід через аккаунт Google`,googleUnavailable:`Вхід через Google недоступний. Перевірте з'єднання або блокувальник реклами та спробуйте ще раз.`,passkeySignIn:`Увійти за допомогою passkey`,passkeyRegister:`Вперше? Створіть passkey`,passkeyError:`Не вдалося увійти. Спробуйте ще раз.`,passkeyNoCredential:`На цьому пристрої ще немає passkey — натисніть «Створіть passkey», щоб додати.`,googleSignInDemo:`Продовжити з Google`,connectingOperator:`Оператора призначено, зачекайте…`,assignment:{eta:{minutes:`Оператор відповість приблизно через {minutes} хв`,soft:`Зазвичай ми відповідаємо протягом кількох хвилин`,businessHours:`Команда повернеться о {time}`}},withOperator:`Тепер з вами {name}`,operatorConnected:`Оператор приєднався`,chatResolved:`Розмову завершено`,chatResolvedByYou:`Розмову завершено вами`,chatResolvedByOperator:`Розмову завершено — {name}`,resolveConversation:`Завершити розмову`,sources:`Джерела`,moreSources:`+{count} ще`,askQuestion:`Поставити запитання`,previewYou:`Ви: {text}`,threadsEmptyTitle:`Поки що немає розмов`,threadsEmptyBody:`Почніть розмову, і вона з'явиться тут.`,format:{bold:`Жирний`,italic:`Курсив`,underline:`Підкреслений`,strikethrough:`Закреслений`,bulletList:`Маркований список`,numberedList:`Нумерований список`,link:`Посилання`,linkPlaceholder:`https://…`,linkSave:`Зберегти`,linkCancel:`Скасувати`,monospace:`Моноширинний`},queued:`Очікує з'єднання`,notDelivered:`Не надіслано`,retry:`Повторити`,offlineBanner:`Ви офлайн`,backOnline:`Знову онлайн`,threadsErrorTitle:`Не вдалося завантажити розмови`,threadsErrorBody:`Перевірте з'єднання та спробуйте ще раз.`,giphy:{title:`GIF та стикери`,searchPlaceholder:`Пошук у GIPHY`,clear:`Очистити`,tabGifs:`GIF`,tabStickers:`Стикери`,error:`Не вдалося завантажити`,retry:`Повторити`,empty:`Нічого не знайдено`,poweredBy:`Powered by GIPHY`},scrollToLatest:`До останніх`,conversationClosed:`Розмову закрито`,startNewConversation:`Почати нову розмову`,conversationBlocked:`Розмову заблоковано`,visitorBlocked:`Ви більше не можете надсилати повідомлення`,conversationClosedTitle:`На цьому все 👋`,conversationClosedHint:`Розмову закрито. Почніть нову, коли завгодно.`,fileFallback:`Файл`},prechat:{title:`Перш ніж почати`,subtitle:`Кілька деталей, щоб наша команда могла швидше допомогти.`,labelName:`Імʼя`,labelEmail:`Електронна пошта`,labelPhone:`Телефон`,labelCustom:`Деталі`,required:`Обовʼязкове поле`,invalidEmail:`Введіть дійсну адресу електронної пошти`,invalidPhone:`Введіть дійсний номер телефону`,submit:`Продовжити`,submitFailed:`Не вдалося надіслати - спробуйте ще раз.`},help:{searchPlaceholder:`Шукати в довідці`,emptyTitle:`Ще немає статей`,emptyBody:`Оператор ще не опублікував жодної статті.`,back:`Назад`,helpful:`Чи була ця стаття корисною?`,yes:`Так`,no:`Ні`,thanks:`Дякуємо за відгук.`,unresolvedCta:`Усе ще потрібна допомога? Напишіть нам`,noResults:`Нічого не знайдено`,articleNotFound:`Статтю не знайдено`,articleNotTranslated:`Ця стаття ще не доступна вашою мовою.`,writtenBy:`Автор: {names}`,relatedTitle:`Схожі статті`,collectionsCount:`{count, plural, =0 {Без колекцій} one {# колекція} few {# колекції} many {# колекцій} other {# колекцій}}`,articlesCount:`{count, plural, =0 {Без статей} one {Статей: #} few {Статей: #} many {Статей: #} other {Статей: #}}`,authorsByline:`Автори {first}{remaining, plural, =0 {} one { та ще #} few { та ще #} many { та ще #} other { та ще #}}`},news:{unread:`Непрочитані новини`,emptyTitle:`Поки що нічого нового`,emptyBody:`Заходьте сюди за продуктовими новинами й оголошеннями.`,helpful:`Чи була ця стаття корисною?`,yes:`Так`,no:`Ні`,thanks:`Дякуємо за відгук.`,searchPlaceholder:`Пошук у новинах`,noResults:`Нічого не знайдено`,editedAt:`редаговано {when}`,articleNotFound:`Статтю не знайдено.`,articleNotTranslated:`Цей допис ще не доступний вашою мовою.`,readOriginal:`Читати оригінал`,relatedTitle:`Схоже`,writtenBy:`Автор: {names}`},reactions:{ariaLabel:`Реакції`,tapAria:`Поставити {emoji}`},languageSelector:{title:`Читати іншою мовою`,ariaLabel:`Мови статті`},branding:{poweredBy:`Працює на`,wexio:`Wexio`},sound:{mute:`Вимкнути звуки сповіщень`,unmute:`Увімкнути звуки сповіщень`},article:{tableOfContents:`Зміст`,tabFallback:`Вкладка {n}`},peek:{newMessage:`Нове повідомлення`,dismiss:`Закрити`,aiAssistant:`ШІ-помічник`,operator:`Оператор`},lightbox:{mediaPreview:`Перегляд медіа`,close:`Закрити перегляд`,previous:`Попереднє`,next:`Наступне`},authError:{turnstileTitle:`Не вдалося перевірити браузер`,turnstileBody:`Не вдалося пройти перевірку безпеки. Можливо, заважає мережа або блокувальник реклами — спробуйте ще раз або перезавантажте сторінку.`,genericTitle:`Не вдалося підключитися`,genericBody:`Сталася помилка під час входу. Спробуйте за мить.`,retry:`Спробувати знову`,dismiss:`Закрити`},profile:{title:`Ваш профіль`,subtitle:`Оновіть свої дані та налаштування віджета.`,uploadAvatar:`Змінити фото`,removeAvatar:`Видалити фото`,avatarUploading:`Завантаження…`,preferencesHeading:`Налаштування`,preferenceLanguage:`Мова`,preferenceDesktopNotifications:`Сповіщення на робочому столі`,preferenceDesktopNotificationsHint:`Отримуйте системне сповіщення, коли віджет неактивний.`,preferenceThemeMode:`Тема`,themeAuto:`Як у системі`,themeLight:`Світла`,themeDark:`Темна`,themeLocked:`Тема задана оператором.`,pinnedHint:`Задано оператором — не редагується.`,requiredHint:`Обов'язкове`,invalidEmail:`Введіть коректну адресу електронної пошти.`,invalidPhone:`Використовуйте міжнародний формат, напр. +380441234567.`,noFields:`Тут поки що нема що редагувати.`,save:`Зберегти`,saving:`Збереження…`,cancel:`Скасувати`,saved:`Зміни збережено.`,loading:`Завантаження профілю…`,loadError:`Не вдалося завантажити профіль. Спробуйте ще раз.`,retry:`Повторити`,errorFieldNotAllowed:`Це поле не редагується в цьому віджеті. Спробуйте оновити сторінку.`,errorFieldPinned:`Це поле заблоковане вашим обліковим записом.`,errorFieldInvalid:`Деякі значення некоректні. Перевірте підсвічені поля.`,errorThemeLocked:`Тема заблокована оператором.`,errorFeatureDisabled:`Редагування профілю вимкнено оператором.`,errorGeneric:`Не вдалося зберегти зміни. Спробуйте ще раз.`,notificationsBlocked:`Сповіщення заблоковано браузером. Оновіть дозволи сайту, щоб увімкнути.`,notificationsRequest:`Дозвольте сповіщення в підказці браузера, щоб увімкнути.`,systemFields:{avatar:`Фото`,wexioId:`Wexio ID`,telegramId:`Telegram ID`,whatsappId:`WhatsApp ID`,viberId:`Viber ID`,instagramId:`Instagram ID`,optInWhatsapp:`Дозвіл на WhatsApp`,webVerified:`Підтверджений відвідувач`,firstName:`Ім'я`,lastName:`Прізвище`,username:`Юзернейм`,language:`Мова`,email:`Email`,phone:`Телефон`,company:`Компанія`,location:`Місцезнаходження`,isValid:`Активний акаунт`,chatStatus:`Статус чату`,chatCategory:`Категорія чату`,priority:`Пріоритет`,leadSource:`Джерело ліда`,leadStatus:`Статус ліда`,interestLevel:`Рівень зацікавленості`,productInterest:`Інтерес до продукту`,budgetRange:`Бюджет`,purchaseTimeline:`Терміни покупки`,lastMessageSentAt:`Останнє надіслане`,lastMessageReceivedAt:`Останнє отримане`,lastSeenAt:`Останній візит`,firstMessageReceivedAt:`Перший контакт`,isBlocked:`Заблоковано`,registrationDate:`Дата реєстрації`,aiAvailable:`AI-допомога`,totalMessagesSent:`Надіслано повідомлень`,totalMessagesReceived:`Отримано повідомлень`,totalAiMessagesSent:`AI-повідомлень`,totalBotMessagesSent:`Бот-повідомлень`,totalUserMessagesSent:`Операторських повідомлень`,flowCompletionRate:`Завершеність флоу`,lastFlowCompleted:`Останній завершений флоу`,totalFlowsStarted:`Розпочато флоу`,totalFlowsCompleted:`Завершено флоу`},systemFieldOptions:{chatStatus:{ISSUE:`Проблема`,RESOLVED:`Вирішено`,PENDING:`Очікує`,IN_PROGRESS:`В процесі`,CLOSED:`Закрито`},chatCategory:{SALES:`Продажі`,SUPPORT:`Підтримка`,BILLING:`Оплата`,FEEDBACK:`Відгук`,GENERAL:`Загальне`,OTHER:`Інше`},priority:{LOW:`Низький`,MEDIUM:`Середній`,HIGH:`Високий`,URGENT:`Терміновий`},leadStatus:{NEW:`Новий`,CONTACTED:`Зв'язалися`,QUALIFIED:`Кваліфікований`,NEGOTIATING:`Переговори`,WON:`Виграно`,LOST:`Втрачено`},interestLevel:{LOW:`Низький`,MEDIUM:`Середній`,HIGH:`Високий`,VERY_HIGH:`Дуже високий`}},selectOption:`Виберіть варіант`,noOptions:`Варіанти не налаштовано.`},transcript:{title:`Розмова з {org}`,started:`Розпочато {when}`,exported:`Експортовано з {org} {when}`,truncated:`Показано лише найновіші повідомлення.`,operator:`Оператор`,you:`Ви`},notification:{newMessage:`Нове повідомлення`,image:`Зображення`,video:`Відео`,voiceMessage:`Голосове повідомлення`,attachment:`Вкладення`}};export{e as default};
|
|
2
|
+
//# sourceMappingURL=widget-react-BNsA7Hq8.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";var e={tabs:{home:`Home`,messages:`Messages`,help:`Help`,news:`News`,profile:`Profile`},header:{close:`Close`,back:`Back`,conversationSubtitle:`Our team can also help`,helpTitle:`Help`,newsTitle:`News`,expand:`Expand widget`,collapse:`Collapse widget`,messagesTitle:`Messages`,downloadTranscript:`Download transcript`,moreActions:`More`},launcher:{open:`Open chat`,close:`Close chat`,panel:`Chat`},tabError:{title:`Something went wrong`,hint:`This section couldn't be shown.`,retry:`Try again`},chunkError:{failed:`Couldn't load`,retry:`Retry`},home:{greetingHeadline:`Hi there 👋`,greetingSubheadline:`How can we help?`,askTitle:`Ask a question`,askSubtitle:`Our bot and team can help`,recentMessageLabel:`Recent message`,recentMessageTitle:`Recent message`,recentMessageFromFallback:`Gaia`,recentMessageAgo:`4h`,recentMessageSample:`Hi there 👋 Thanks for reaching out - we'll be right back with you.`,featuredArticleLoading:`Featured article`,featuredArticleTap:`Tap to read`,featuredArticleEmpty:`Pick an article`,featuredArticleSetUp:`Configure this block in your dashboard`,featuredArticleDemoEyebrow:`Pioneer · Save the date`,featuredArticleDemoHeadline:`October 8, 2026`,featuredArticleDemoSubline:`San Francisco · In-person + virtual`,featuredArticleDemoCta:`See the launch agenda`,seeAgenda:`See the launch agenda`,browseHelp:`Browse Help`,whatsNew:`What's new`,searchPlaceholder:`Search for help`,pinnedArticlesTitle:`Read these first`,popularArticlesTitle:`Popular articles`,pinnedArticleRow:`Pinned article {n}`,newsPreviewTitle:`Latest news`,seeAll:`See all`,newsPreviewRow:`News update {n}`,myConversationsTitle:`Your conversations`,myConversationsEmpty:`View your conversations`,teamStatusOnline:`We're online`,teamStatusReplyInstant:`Usually replies instantly`,teamStatusReplyMinutes:`Usually replies in a few minutes`,teamStatusReplyHours:`Usually replies within a few hours`,teamStatusReplyDay:`Usually replies within a day`,teamStatusAiOnline:`{name} can help right now`,teamStatusOperatorsBack:`Operators back {when}`,teamStatusOfflineUntil:`We're away, back {when}`,teamStatusOfflineSoon:`We're away, back soon`,recentMessageAttachment:`Attachment`},messages:{today:`Today`,yesterday:`Yesterday`,unreadMessages:`Unread messages`,emptyTitle:`No messages yet`,emptyBody:`Start a conversation and our team will get back to you here.`,sendCta:`Send us a message`,attach:`Attach a file`,commands:`Quick commands`,record:`Record a voice message`,stopRecording:`Stop recording`,recording:`Recording…`,uploading:`Uploading…`,uploadFailed:`Upload failed`,voiceDenied:`Microphone access denied`,voiceUnsupported:`Voice recording isn't supported in this browser`,fileTooLarge:`File is too large (max 10MB)`,fileMimeNotAllowed:`This file type isn't supported`,emoji:`Insert emoji`,cancelRecording:`Cancel recording`,pauseRecording:`Pause recording`,resumeRecording:`Resume recording`,playPreview:`Play recording`,emojiPicker:`Emoji picker`,emojiCategories:{suggested:`Recently used`,smileysPeople:`Smileys & People`,animalsNature:`Animals & Nature`,foodDrink:`Food & Drink`,travelPlaces:`Travel & Places`,activities:`Activities`,objects:`Objects`,symbols:`Symbols`,flags:`Flags`},emojiSearch:`Search…`,playAudio:`Play`,pauseAudio:`Pause`,openAudio:`Open audio`,removeAttachment:`Remove`,aiAssistant:`AI assistant`,operator:`Operator`,openImage:`Open image`,openPreview:`Open preview`,play:`Play`,pause:`Pause`,typing:`typing…`,aiThinking:`thinking…`,aiSearching:`browsing…`,typingSomeone:`Someone`,signInToChat:`Please sign in to start the conversation.`,signInUnavailable:`Sign-in is not available right now.`,googleSignIn:`Sign in with Google`,googleUnavailable:`Google sign-in isn't available. Check your connection or ad blocker and try again.`,passkeySignIn:`Sign in with a passkey`,passkeyRegister:`First time? Set up a passkey`,passkeyError:`Couldn't sign in. Please try again.`,passkeyNoCredential:`No passkey on this device yet — tap “Set up a passkey” to create one.`,googleSignInDemo:`Continue with Google`,connectingOperator:`An operator has been assigned, please wait…`,assignment:{eta:{minutes:`An operator will reply in about {minutes} min`,soft:`We usually reply within a few minutes`,businessHours:`The team will be back at {time}`}},withOperator:`You're now chatting with {name}`,operatorConnected:`Operator connected`,chatResolved:`Conversation resolved`,chatResolvedByYou:`Conversation resolved by you`,chatResolvedByOperator:`Conversation resolved by {name}`,resolveConversation:`Resolve conversation`,sources:`Sources`,moreSources:`+{count} more`,askQuestion:`Ask a question`,previewYou:`You: {text}`,threadsEmptyTitle:`No conversations yet`,threadsEmptyBody:`Start a conversation and it will show up here.`,format:{bold:`Bold`,italic:`Italic`,underline:`Underline`,strikethrough:`Strikethrough`,bulletList:`Bulleted list`,numberedList:`Numbered list`,link:`Link`,linkPlaceholder:`https://…`,linkSave:`Save`,linkCancel:`Cancel`,monospace:`Monospace`},queued:`Waiting for connection`,notDelivered:`Not delivered`,retry:`Retry`,offlineBanner:`You're offline`,backOnline:`Back online`,threadsErrorTitle:`Could not load your conversations`,threadsErrorBody:`Check your connection and try again.`,giphy:{title:`GIFs & Stickers`,searchPlaceholder:`Search GIPHY`,clear:`Clear`,tabGifs:`GIFs`,tabStickers:`Stickers`,error:`Couldn't load`,retry:`Retry`,empty:`No results`,poweredBy:`Powered by GIPHY`},scrollToLatest:`Scroll to latest`,conversationClosed:`This conversation is closed`,startNewConversation:`Start a new conversation`,conversationBlocked:`This conversation is blocked`,visitorBlocked:`You can no longer send messages`,conversationClosedTitle:`That's a wrap 👋`,conversationClosedHint:`This conversation is closed. Start a new one whenever you like.`,fileFallback:`File`},prechat:{title:`Before we start`,subtitle:`A few quick details so our team can help you faster.`,labelName:`Name`,labelEmail:`Email`,labelPhone:`Phone`,labelCustom:`Details`,required:`Required`,invalidEmail:`Please enter a valid email`,invalidPhone:`Please enter a valid phone number`,submit:`Continue`,submitFailed:`Couldn't submit - please try again.`},help:{searchPlaceholder:`Search for help`,emptyTitle:`No articles yet`,emptyBody:`Your operator hasn't published anything yet.`,back:`Back`,helpful:`Was this helpful?`,yes:`Yes`,no:`No`,thanks:`Thanks for the feedback.`,unresolvedCta:`Still need help? Message us`,noResults:`No results`,articleNotFound:`Article not found`,articleNotTranslated:`This article isn't available in your language yet.`,writtenBy:`Written by {names}`,relatedTitle:`Related articles`,collectionsCount:`{count, plural, =0 {No collections} one {# collection} other {# collections}}`,articlesCount:`{count, plural, =0 {No articles} one {Articles: #} other {Articles: #}}`,authorsByline:`Authors {first}{remaining, plural, =0 {} one { and # more} other { and # more}}`},news:{emptyTitle:`No updates yet`,emptyBody:`Check back here for product news and announcements.`,helpful:`Was this article helpful?`,yes:`Yes`,no:`No`,thanks:`Thanks for the feedback.`,searchPlaceholder:`Search news`,noResults:`No matching posts`,editedAt:`edited {when}`,articleNotFound:`Article not found.`,articleNotTranslated:`This post isn't available in your language yet.`,readOriginal:`Read the original`,relatedTitle:`Related`,writtenBy:`Written by {names}`,unread:`Unread news`},reactions:{ariaLabel:`Reactions`,tapAria:`React with {emoji}`},languageSelector:{title:`Read in another language`,ariaLabel:`Article languages`},branding:{poweredBy:`Powered by`,wexio:`Wexio`},sound:{mute:`Mute notification sounds`,unmute:`Unmute notification sounds`},article:{tableOfContents:`Table of contents`,tabFallback:`Tab {n}`},peek:{newMessage:`New message`,dismiss:`Dismiss`,aiAssistant:`AI assistant`,operator:`Operator`},lightbox:{mediaPreview:`Media preview`,close:`Close preview`,previous:`Previous`,next:`Next`},authError:{turnstileTitle:`Couldn't verify your browser`,turnstileBody:`We weren't able to complete the security check. This is sometimes a network or ad-blocker issue — try again, or reload the page.`,genericTitle:`Couldn't connect`,genericBody:`Something went wrong while signing you in. Please try again in a moment.`,retry:`Try again`,dismiss:`Dismiss`},profile:{title:`Your profile`,subtitle:`Update your info and how the widget behaves.`,uploadAvatar:`Change photo`,removeAvatar:`Remove photo`,avatarUploading:`Uploading…`,preferencesHeading:`Preferences`,preferenceLanguage:`Language`,preferenceDesktopNotifications:`Desktop notifications`,preferenceDesktopNotificationsHint:`Get a system notification when the widget isn't focused.`,preferenceThemeMode:`Theme`,themeAuto:`Match system`,themeLight:`Light`,themeDark:`Dark`,themeLocked:`Theme is set by the operator.`,pinnedHint:`Set by the operator — not editable.`,requiredHint:`Required`,invalidEmail:`Please enter a valid email address.`,invalidPhone:`Use international format, e.g. +14155552671.`,noFields:`There's nothing to edit here yet.`,save:`Save changes`,saving:`Saving…`,cancel:`Discard`,saved:`Changes saved.`,loading:`Loading profile…`,loadError:`Couldn't load your profile. Please try again.`,retry:`Retry`,errorFieldNotAllowed:`This field isn't editable in this widget. Try refreshing.`,errorFieldPinned:`This field is locked by your account.`,errorFieldInvalid:`Some values aren't valid. Check the highlighted fields.`,errorThemeLocked:`Theme is locked by the operator.`,errorFeatureDisabled:`Profile editing has been turned off by the operator.`,errorGeneric:`Couldn't save your changes. Please try again.`,notificationsBlocked:`Notifications are blocked by the browser. Update site permissions to enable.`,notificationsRequest:`Allow notifications when prompted to enable this.`,systemFields:{avatar:`Photo`,wexioId:`Wexio ID`,telegramId:`Telegram ID`,whatsappId:`WhatsApp ID`,viberId:`Viber ID`,instagramId:`Instagram ID`,optInWhatsapp:`WhatsApp opt-in`,webVerified:`Verified visitor`,firstName:`First name`,lastName:`Last name`,username:`Username`,language:`Language`,email:`Email`,phone:`Phone`,company:`Company`,location:`Location`,isValid:`Account valid`,chatStatus:`Chat status`,chatCategory:`Chat category`,priority:`Priority`,leadSource:`Lead source`,leadStatus:`Lead status`,interestLevel:`Interest level`,productInterest:`Product interest`,budgetRange:`Budget`,purchaseTimeline:`Purchase timeline`,lastMessageSentAt:`Last message sent`,lastMessageReceivedAt:`Last message received`,lastSeenAt:`Last seen`,firstMessageReceivedAt:`First contact`,isBlocked:`Blocked`,registrationDate:`Registered`,aiAvailable:`AI assistance`,totalMessagesSent:`Messages sent`,totalMessagesReceived:`Messages received`,totalAiMessagesSent:`AI messages sent`,totalBotMessagesSent:`Bot messages sent`,totalUserMessagesSent:`Operator messages sent`,flowCompletionRate:`Flow completion rate`,lastFlowCompleted:`Last completed flow`,totalFlowsStarted:`Flows started`,totalFlowsCompleted:`Flows completed`},systemFieldOptions:{chatStatus:{ISSUE:`Issue`,RESOLVED:`Resolved`,PENDING:`Pending`,IN_PROGRESS:`In progress`,CLOSED:`Closed`},chatCategory:{SALES:`Sales`,SUPPORT:`Support`,BILLING:`Billing`,FEEDBACK:`Feedback`,GENERAL:`General`,OTHER:`Other`},priority:{LOW:`Low`,MEDIUM:`Medium`,HIGH:`High`,URGENT:`Urgent`},leadStatus:{NEW:`New`,CONTACTED:`Contacted`,QUALIFIED:`Qualified`,NEGOTIATING:`Negotiating`,WON:`Won`,LOST:`Lost`},interestLevel:{LOW:`Low`,MEDIUM:`Medium`,HIGH:`High`,VERY_HIGH:`Very high`}},selectOption:`Select an option`,noOptions:`No options configured.`},transcript:{title:`Conversation with {org}`,started:`Started on {when}`,exported:`Exported from {org} on {when}`,truncated:`Note: only the most recent messages are included.`,operator:`Operator`,you:`You`},notification:{newMessage:`New message`,image:`Image`,video:`Video`,voiceMessage:`Voice message`,attachment:`Attachment`}};export{e as default};
|
|
2
|
+
//# sourceMappingURL=widget-react-BP_S1jOe2.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";var e={tabs:{home:`Inicio`,messages:`Mensajes`,help:`Ayuda`,news:`Novedades`,profile:`Perfil`},header:{close:`Cerrar`,back:`Atrás`,conversationSubtitle:`Nuestro equipo también puede ayudarte`,helpTitle:`Ayuda`,newsTitle:`Novedades`,expand:`Ampliar widget`,collapse:`Contraer widget`,messagesTitle:`Mensajes`,downloadTranscript:`Descargar transcripción`,moreActions:`Más`},launcher:{open:`Abrir chat`,close:`Cerrar chat`,panel:`Chat`},tabError:{title:`Algo salió mal`,hint:`No se pudo mostrar esta sección.`,retry:`Reintentar`},chunkError:{failed:`No se pudo cargar`,retry:`Reintentar`},home:{greetingHeadline:`¡Hola! 👋`,greetingSubheadline:`¿En qué te podemos ayudar?`,askTitle:`Haz una pregunta`,askSubtitle:`Nuestro bot y nuestro equipo te pueden ayudar`,recentMessageLabel:`Mensaje reciente`,recentMessageTitle:`Mensaje reciente`,recentMessageFromFallback:`Gaia`,recentMessageAgo:`4 h`,recentMessageSample:`Hola 👋 Gracias por escribirnos: enseguida te respondemos.`,featuredArticleLoading:`Artículo destacado`,featuredArticleTap:`Toca para leer`,featuredArticleEmpty:`Elige un artículo`,featuredArticleSetUp:`Configura este bloque en tu tablero`,featuredArticleDemoEyebrow:`Pioneer · Save the date`,featuredArticleDemoHeadline:`8 de octubre de 2026`,featuredArticleDemoSubline:`San Francisco · presencial + virtual`,featuredArticleDemoCta:`Ver la agenda del lanzamiento`,seeAgenda:`Ver la agenda del lanzamiento`,browseHelp:`Explorar la ayuda`,whatsNew:`Lo nuevo`,searchPlaceholder:`Buscar ayuda`,pinnedArticlesTitle:`Lee esto primero`,popularArticlesTitle:`Artículos populares`,pinnedArticleRow:`Artículo fijado {n}`,newsPreviewTitle:`Últimas novedades`,seeAll:`Ver todo`,newsPreviewRow:`Novedad {n}`,myConversationsTitle:`Tus conversaciones`,myConversationsEmpty:`Ver tus conversaciones`,teamStatusOnline:`Estamos en línea`,teamStatusReplyInstant:`Suele responder al instante`,teamStatusReplyMinutes:`Suele responder en unos minutos`,teamStatusReplyHours:`Suele responder en unas horas`,teamStatusReplyDay:`Suele responder en un día`,teamStatusAiOnline:`{name} puede ayudarte ahora mismo`,teamStatusOperatorsBack:`Los operadores vuelven {when}`,teamStatusOfflineUntil:`No estamos disponibles, volvemos {when}`,teamStatusOfflineSoon:`No estamos disponibles, volvemos pronto`,recentMessageAttachment:`Archivo adjunto`},messages:{today:`Hoy`,yesterday:`Ayer`,unreadMessages:`Mensajes sin leer`,emptyTitle:`Todavía no hay mensajes`,emptyBody:`Inicia una conversación y nuestro equipo te responderá aquí.`,sendCta:`Envíanos un mensaje`,attach:`Adjuntar un archivo`,commands:`Comandos rápidos`,record:`Grabar un mensaje de voz`,stopRecording:`Detener grabación`,recording:`Grabando…`,uploading:`Subiendo…`,uploadFailed:`Error al subir`,voiceDenied:`Acceso al micrófono denegado`,voiceUnsupported:`Este navegador no admite grabación de voz`,fileTooLarge:`El archivo es demasiado grande (máx. 10 MB)`,fileMimeNotAllowed:`Este tipo de archivo no es compatible`,emoji:`Insertar emoji`,cancelRecording:`Cancelar grabación`,pauseRecording:`Pausar grabación`,resumeRecording:`Reanudar grabación`,playPreview:`Reproducir grabación`,emojiPicker:`Selector de emojis`,emojiCategories:{suggested:`Usados recientemente`,smileysPeople:`Caritas y personas`,animalsNature:`Animales y naturaleza`,foodDrink:`Comida y bebida`,travelPlaces:`Viajes y lugares`,activities:`Actividades`,objects:`Objetos`,symbols:`Símbolos`,flags:`Banderas`},emojiSearch:`Buscar…`,playAudio:`Reproducir`,pauseAudio:`Pausar`,openAudio:`Abrir audio`,removeAttachment:`Quitar`,aiAssistant:`Asistente de IA`,operator:`Agente`,openImage:`Abrir imagen`,openPreview:`Abrir vista previa`,play:`Reproducir`,pause:`Pausar`,typing:`escribiendo…`,aiThinking:`pensando…`,aiSearching:`buscando…`,typingSomeone:`Alguien`,signInToChat:`Inicia sesión para comenzar la conversación.`,signInUnavailable:`El inicio de sesión no está disponible en este momento.`,googleSignIn:`Iniciar sesión con Google`,googleUnavailable:`El inicio de sesión con Google no está disponible. Revisa tu conexión o tu bloqueador de anuncios e inténtalo de nuevo.`,passkeySignIn:`Iniciar sesión con una passkey`,passkeyRegister:`¿Primera vez? Configurar una passkey`,passkeyError:`No se pudo iniciar sesión. Inténtalo de nuevo.`,passkeyNoCredential:`Aún no hay ninguna passkey en este dispositivo: toca «Configurar una passkey» para crear una.`,googleSignInDemo:`Continuar con Google`,connectingOperator:`Se asignó un agente, espera un momento…`,assignment:{eta:{minutes:`Un agente responderá en unos {minutes} min`,soft:`Normalmente respondemos en pocos minutos`,businessHours:`El equipo estará de vuelta a las {time}`}},withOperator:`Ahora estás chateando con {name}`,operatorConnected:`Agente conectado`,chatResolved:`Conversación resuelta`,chatResolvedByYou:`Conversación resuelta por ti`,chatResolvedByOperator:`Conversación resuelta por {name}`,resolveConversation:`Resolver conversación`,sources:`Fuentes`,moreSources:`+{count} más`,askQuestion:`Hacer una pregunta`,previewYou:`Tú: {text}`,threadsEmptyTitle:`Aún no hay conversaciones`,threadsEmptyBody:`Inicia una conversación y aparecerá aquí.`,format:{bold:`Negrita`,italic:`Cursiva`,underline:`Subrayado`,strikethrough:`Tachado`,bulletList:`Lista con viñetas`,numberedList:`Lista numerada`,link:`Enlace`,linkPlaceholder:`https://…`,linkSave:`Guardar`,linkCancel:`Cancelar`,monospace:`Monoespaciado`},queued:`Esperando conexión`,notDelivered:`No entregado`,retry:`Reintentar`,offlineBanner:`Estás sin conexión`,backOnline:`De nuevo en línea`,threadsErrorTitle:`No se pudieron cargar tus conversaciones`,threadsErrorBody:`Revisa tu conexión e inténtalo de nuevo.`,giphy:{title:`GIF y stickers`,searchPlaceholder:`Buscar en GIPHY`,clear:`Borrar`,tabGifs:`GIF`,tabStickers:`Stickers`,error:`No se pudo cargar`,retry:`Reintentar`,empty:`Sin resultados`,poweredBy:`Powered by GIPHY`},scrollToLatest:`Ir al último mensaje`,conversationClosed:`Esta conversación está cerrada`,startNewConversation:`Iniciar una nueva conversación`,conversationBlocked:`Esta conversación está bloqueada`,visitorBlocked:`Ya no puedes enviar mensajes`,conversationClosedTitle:`Fin de la conversación 👋`,conversationClosedHint:`Esta conversación está cerrada. Inicia una nueva cuando quieras.`,fileFallback:`Archivo`},prechat:{title:`Antes de comenzar`,subtitle:`Unos datos rápidos para que nuestro equipo te ayude más rápido.`,labelName:`Nombre`,labelEmail:`Correo electrónico`,labelPhone:`Teléfono`,labelCustom:`Detalles`,required:`Obligatorio`,invalidEmail:`Ingresa un correo electrónico válido`,invalidPhone:`Ingresa un número de teléfono válido`,submit:`Continuar`,submitFailed:`No se pudo enviar: inténtalo de nuevo.`},help:{searchPlaceholder:`Buscar ayuda`,emptyTitle:`Todavía no hay artículos`,emptyBody:`Tu operador aún no ha publicado nada.`,back:`Atrás`,helpful:`¿Te resultó útil?`,yes:`Sí`,no:`No`,thanks:`Gracias por tu opinión.`,unresolvedCta:`¿Todavía necesitas ayuda? Escríbenos`,noResults:`Sin resultados`,articleNotFound:`Artículo no encontrado`,articleNotTranslated:`Este artículo aún no está disponible en tu idioma.`,writtenBy:`Escrito por {names}`,relatedTitle:`Artículos relacionados`,collectionsCount:`{count, plural, =0 {Sin colecciones} one {# colección} other {# colecciones}}`,articlesCount:`{count, plural, =0 {Sin artículos} one {Artículos: #} other {Artículos: #}}`,authorsByline:`Autores {first}{remaining, plural, =0 {} one { y # más} other { y # más}}`},news:{emptyTitle:`Todavía no hay actualizaciones`,emptyBody:`Vuelve aquí para ver novedades y anuncios del producto.`,helpful:`¿Te resultó útil este artículo?`,yes:`Sí`,no:`No`,thanks:`Gracias por tu opinión.`,searchPlaceholder:`Buscar novedades`,noResults:`No hay publicaciones coincidentes`,editedAt:`editado {when}`,articleNotFound:`Artículo no encontrado.`,articleNotTranslated:`Esta publicación aún no está disponible en tu idioma.`,readOriginal:`Leer el original`,relatedTitle:`Relacionados`,writtenBy:`Escrito por {names}`,unread:`Novedades sin leer`},reactions:{ariaLabel:`Reacciones`,tapAria:`Reaccionar con {emoji}`},languageSelector:{title:`Leer en otro idioma`,ariaLabel:`Idiomas del artículo`},branding:{poweredBy:`Con tecnología de`,wexio:`Wexio`},sound:{mute:`Silenciar sonidos de notificación`,unmute:`Activar sonidos de notificación`},article:{tableOfContents:`Tabla de contenidos`,tabFallback:`Pestaña {n}`},peek:{newMessage:`Mensaje nuevo`,dismiss:`Descartar`,aiAssistant:`Asistente de IA`,operator:`Agente`},lightbox:{mediaPreview:`Vista previa del contenido`,close:`Cerrar vista previa`,previous:`Anterior`,next:`Siguiente`},authError:{turnstileTitle:`No se pudo verificar tu navegador`,turnstileBody:`No pudimos completar la verificación de seguridad. A veces es un problema de red o de un bloqueador de anuncios: inténtalo de nuevo o recarga la página.`,genericTitle:`No se pudo conectar`,genericBody:`Algo salió mal al iniciar tu sesión. Inténtalo de nuevo en un momento.`,retry:`Reintentar`,dismiss:`Descartar`},profile:{title:`Tu perfil`,subtitle:`Actualiza tus datos y cómo se comporta el widget.`,uploadAvatar:`Cambiar foto`,removeAvatar:`Quitar foto`,avatarUploading:`Subiendo…`,preferencesHeading:`Preferencias`,preferenceLanguage:`Idioma`,preferenceDesktopNotifications:`Notificaciones de escritorio`,preferenceDesktopNotificationsHint:`Recibe una notificación del sistema cuando el widget no esté en primer plano.`,preferenceThemeMode:`Tema`,themeAuto:`Igual al sistema`,themeLight:`Claro`,themeDark:`Oscuro`,themeLocked:`El tema lo define el operador.`,pinnedHint:`Definido por el operador: no editable.`,requiredHint:`Obligatorio`,invalidEmail:`Ingresa una dirección de correo válida.`,invalidPhone:`Usa el formato internacional, p. ej. +525512345678.`,noFields:`Todavía no hay nada que editar aquí.`,save:`Guardar cambios`,saving:`Guardando…`,cancel:`Descartar`,saved:`Cambios guardados.`,loading:`Cargando perfil…`,loadError:`No se pudo cargar tu perfil. Inténtalo de nuevo.`,retry:`Reintentar`,errorFieldNotAllowed:`Este campo no es editable en este widget. Intenta recargar.`,errorFieldPinned:`Este campo está bloqueado por tu cuenta.`,errorFieldInvalid:`Algunos valores no son válidos. Revisa los campos marcados.`,errorThemeLocked:`El tema está bloqueado por el operador.`,errorFeatureDisabled:`El operador desactivó la edición del perfil.`,errorGeneric:`No se pudieron guardar los cambios. Inténtalo de nuevo.`,notificationsBlocked:`El navegador bloquea las notificaciones. Actualiza los permisos del sitio para activarlas.`,notificationsRequest:`Permite las notificaciones cuando te lo solicite el navegador para activarlas.`,systemFields:{avatar:`Foto`,wexioId:`ID de Wexio`,telegramId:`ID de Telegram`,whatsappId:`ID de WhatsApp`,viberId:`ID de Viber`,instagramId:`ID de Instagram`,optInWhatsapp:`Consentimiento de WhatsApp`,webVerified:`Visitante verificado`,firstName:`Nombre`,lastName:`Apellido`,username:`Nombre de usuario`,language:`Idioma`,email:`Correo electrónico`,phone:`Teléfono`,company:`Empresa`,location:`Ubicación`,isValid:`Cuenta válida`,chatStatus:`Estado del chat`,chatCategory:`Categoría del chat`,priority:`Prioridad`,leadSource:`Origen del prospecto`,leadStatus:`Estado del prospecto`,interestLevel:`Nivel de interés`,productInterest:`Interés en el producto`,budgetRange:`Presupuesto`,purchaseTimeline:`Plazo de compra`,lastMessageSentAt:`Último mensaje enviado`,lastMessageReceivedAt:`Último mensaje recibido`,lastSeenAt:`Última conexión`,firstMessageReceivedAt:`Primer contacto`,isBlocked:`Bloqueado`,registrationDate:`Registrado`,aiAvailable:`Asistencia de IA`,totalMessagesSent:`Mensajes enviados`,totalMessagesReceived:`Mensajes recibidos`,totalAiMessagesSent:`Mensajes enviados por IA`,totalBotMessagesSent:`Mensajes enviados por el bot`,totalUserMessagesSent:`Mensajes enviados por el agente`,flowCompletionRate:`Tasa de finalización de flujos`,lastFlowCompleted:`Último flujo completado`,totalFlowsStarted:`Flujos iniciados`,totalFlowsCompleted:`Flujos completados`},systemFieldOptions:{chatStatus:{ISSUE:`Problema`,RESOLVED:`Resuelto`,PENDING:`Pendiente`,IN_PROGRESS:`En curso`,CLOSED:`Cerrado`},chatCategory:{SALES:`Ventas`,SUPPORT:`Soporte`,BILLING:`Facturación`,FEEDBACK:`Comentarios`,GENERAL:`General`,OTHER:`Otro`},priority:{LOW:`Baja`,MEDIUM:`Media`,HIGH:`Alta`,URGENT:`Urgente`},leadStatus:{NEW:`Nuevo`,CONTACTED:`Contactado`,QUALIFIED:`Calificado`,NEGOTIATING:`Negociando`,WON:`Ganado`,LOST:`Perdido`},interestLevel:{LOW:`Bajo`,MEDIUM:`Medio`,HIGH:`Alto`,VERY_HIGH:`Muy alto`}},selectOption:`Selecciona una opción`,noOptions:`No hay opciones configuradas.`},transcript:{title:`Conversación con {org}`,started:`Iniciada el {when}`,exported:`Exportada desde {org} el {when}`,truncated:`Nota: solo se incluyen los mensajes más recientes.`,operator:`Operador`,you:`Tú`},notification:{newMessage:`Mensaje nuevo`,image:`Imagen`,video:`Video`,voiceMessage:`Mensaje de voz`,attachment:`Archivo adjunto`}};export{e as default};
|
|
2
|
+
//# sourceMappingURL=widget-react-BjVldSFi2.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";import{_ as e,n as t}from"./widget-react-FX5W7RyV.js";import{A as n,D as r,E as i,I as ee,c as a,d as o,gt as te,k as ne,l as re,lt as s,m as c,p as l,u,x as ie}from"./widget-react-YrYT-pD1.js";import{i as ae}from"./widget-react-C-hnCqBf.js";import{o as oe,p as se,s as ce,t as le}from"./widget-react-DBqY7BEB.js";import{t as ue}from"./widget-react-BxEMz2N0.js";import{a as d,i as f,n as de,o as p,r as m,s as h,t as g}from"./widget-react-DleQcmXy.js";import{useEffect as _,useMemo as v,useRef as y,useState as b}from"react";import{jsx as x,jsxs as S}from"react/jsx-runtime";var C=5;function fe(e,t,n=C){let r=e.find(e=>e.slug===t),i=new Set((r?.tags??[]).map(e=>e.slug));return e.filter(e=>e.slug!==t).map(e=>({a:e,score:(r&&e.categoryId===r.categoryId?2:0)+e.tags.filter(e=>i.has(e.slug)).length})).sort((e,t)=>t.score-e.score||t.a.publishedAt.localeCompare(e.a.publishedAt)).slice(0,n).map(({a:e})=>({_id:e.id,title:e.title,slug:e.slug,excerpt:e.excerpt||null}))}function pe(e){let t=e=>Array.isArray(e)?e:[];return{id:String(e._id??``),title:typeof e.title==`string`?e.title:``,excerpt:typeof e.excerpt==`string`?e.excerpt:``,content:typeof e.content==`string`?e.content:``,contentFormat:e.contentFormat===d.HTML?d.HTML:d.MARKDOWN,authors:t(e.authors).filter(e=>!!e&&typeof e==`object`).map(e=>({_id:String(e._id??``),name:typeof e.name==`string`?e.name:null,photo:e.photo})),tags:t(e.tags).filter(e=>!!e&&typeof e==`object`).map(e=>({_id:String(e._id??``),slug:typeof e.slug==`string`?e.slug:``,label:typeof e.label==`string`?e.label:``}))}}function w({slug:t,locale:C,isDummy:w,onHandoff:E,onOpenArticle:D,onOpenTranslation:O,onTitleResolved:k}){let A=e(`help`),j=ne(),M=u(),N=i(),{config:P}=ie(),F=P.messenger?.showRelatedHelpArticles??!0,I=P.messenger?.showReactionCounts??!0,L=ue(),[R,z]=b(C),B=n(R,j),V=v(()=>{if(w)return null;let e=N.previewData?.helpArticles;return Array.isArray(e)?e.find(e=>e&&typeof e==`object`&&e.slug===t)??null:null},[N.previewData,w,t]),H=!!V,{data:U,loading:me}=ce({variables:{args:{slug:t,locale:C}},skip:w||H}),W=te(),G=W.publicKey,K=re(G&&!w&&!H?ee.article(G,t,C):null,U),[q]=oe(),{trackLinkClick:J}=a(),Y=y(null),X=v(()=>w?s(B).find(e=>e.slug===t):null,[w,t,B]),Z=w?X?{id:X.id,title:X.title,excerpt:X.excerpt,content:X.contentMarkdown,contentFormat:d.MARKDOWN,authors:X.authors,tags:X.tags,reactionCounts:null,locale:R,translations:[]}:null:H&&V?{...pe(V),reactionCounts:V.reactionCounts??null,locale:C,translations:[]}:K?.visitorHelpArticle?{id:K.visitorHelpArticle._id,title:K.visitorHelpArticle.title,excerpt:K.visitorHelpArticle.excerpt??``,content:K.visitorHelpArticle.content,contentFormat:K.visitorHelpArticle.contentFormat,authors:K.visitorHelpArticle.authors,tags:K.visitorHelpArticle.tags,reactionCounts:K.visitorHelpArticle.reactionCounts??null,locale:K.visitorHelpArticle.locale,translations:K.visitorHelpArticle.translations}:null,{data:he}=se({variables:{articleId:Z?.id??``,limit:5,locale:C},skip:w||H||!Z?.id||!F}),ge=v(()=>{if(!H||!Z?.id)return[];let e=(N.previewData?.helpArticles??[]).filter(e=>!!e&&typeof e==`object`),t=new Set((Z.tags??[]).map(e=>typeof e==`object`&&e&&`slug`in e?String(e.slug):null).filter(e=>!!e)),n=(()=>{let e=V;if(!e)return null;let t=e.folderId;if(typeof t==`string`)return t;let n=e.folder;if(n&&typeof n==`object`&&`_id`in n){let e=n._id;return typeof e==`string`?e:null}return null})();return e.filter(e=>String(e._id??``)!==Z.id).map(e=>{let r=typeof e.folderId==`string`?e.folderId:e.folder&&typeof e.folder==`object`&&`_id`in e.folder?String(e.folder._id??``):null,i=Array.isArray(e.tags)?e.tags.map(e=>typeof e==`object`&&e&&`slug`in e?String(e.slug):null).filter(e=>!!e):[];return{raw:e,score:(n&&r===n?2:0)+i.filter(e=>t.has(e)).length}}).filter(e=>e.score>0).sort((e,t)=>t.score-e.score).slice(0,5).map(({raw:e})=>({_id:String(e._id??``),title:typeof e.title==`string`?e.title:``,slug:typeof e.slug==`string`?e.slug:``,excerpt:typeof e.excerpt==`string`?e.excerpt:null}))},[H,Z,V,N.previewData]),_e=v(()=>w?fe(s(B),t):[],[w,B,t]),Q=w?_e:H?ge:he?.visitorHelpRelated??[],ve=w||H?null:U?.visitorHelpArticle?.viewerReaction??null,ye=!w&&!H&&U?.visitorHelpArticle?[U.visitorHelpArticle._id,...(U.visitorHelpArticle.translations??[]).map(e=>e._id)]:Z?.id?[Z.id]:[];_(()=>{w||!Z?.id||!W.token||q({variables:{articleId:Z.id}}).catch(()=>{})},[Z?.id,w,q,W]),_(()=>{w||H||!Z?.id||Y.current!==Z.id&&(Y.current=Z.id,J({url:`/help/${t}`,targetType:`HELP_ARTICLE`,targetRefId:Z.id}))},[Z?.id,w,H,t,J]),f(Z?.title,k);let be=()=>E();if(!me&&!Z)return x(`div`,{className:`flex flex-1 flex-col items-center justify-center px-6 py-12`,children:x(l,{children:x(c,{className:`py-8 text-center`,children:x(`p`,{className:`text-sm font-semibold text-wx-fg`,children:A(`articleNotFound`)})})})});let xe=C.split(`-`)[0].toLowerCase(),$=Z?Z.locale.split(`-`)[0].toLowerCase():null;return!w&&!H&&!P.contentLocaleFallback&&$!==null&&$!==xe?x(`div`,{className:`flex flex-1 flex-col items-center justify-center px-6 py-12`,children:x(l,{children:x(c,{className:`py-8 text-center`,children:x(`p`,{className:`text-sm font-semibold text-wx-fg`,children:A(`articleNotTranslated`)})})})}):Z?x(o,{followDirection:!0,className:`flex-1`,viewportRef:M,children:S(`div`,{className:`flex flex-col px-5 pt-5 pb-12 [overflow-wrap:anywhere]`,children:[x(`h2`,{className:`text-xl leading-tight font-bold text-wx-fg`,children:Z.title}),Z.authors.length>0&&S(`p`,{className:`mt-2 flex items-center gap-2 text-xs text-wx-fg-muted`,children:[x(`span`,{className:`flex -space-x-1.5`,children:Z.authors.slice(0,3).map(e=>x(`span`,{className:`h-5 w-5 overflow-hidden rounded-full bg-wx-bg-elevated ring-1 ring-wx-bg`,"aria-hidden":`true`,children:e.photo?.url?x(`img`,{src:e.photo.url,alt:``,className:`h-full w-full object-cover`}):x(`span`,{className:`flex h-full w-full items-center justify-center text-[10px] font-semibold uppercase text-wx-fg-muted`,children:(e.name??`?`).charAt(0)})},e._id))}),x(`span`,{children:A(`writtenBy`,{names:Z.authors.map(e=>e.name??``).filter(Boolean).join(`, `)})})]}),Z.tags.length>0&&x(`div`,{className:`mt-2 flex flex-wrap gap-1`,children:Z.tags.map(e=>x(`span`,{className:`rounded-full bg-wx-bg-elevated px-2 py-0.5 text-[11px] font-medium text-wx-fg-muted`,children:e.label},e._id))}),Z.excerpt&&x(`p`,{className:`mt-2 mb-5 text-sm text-wx-fg-muted`,children:Z.excerpt}),x(m,{content:Z.content,isHtml:Z.contentFormat===d.HTML||h(Z.content),markdownMarginClass:`mt-3`}),S(le,{type:`button`,variant:`solid`,size:`lg`,className:`mt-6 w-full shrink-0 min-h-12`,onClick:be,...L.parentHandlers,children:[x(ae,{ref:L.iconRef,size:16}),x(`span`,{children:A(`unresolvedCta`)})]}),Z.id&&x(g,{surface:p.HELP,itemId:Z.id,reactionCounts:Z.reactionCounts,viewerReaction:ve,groupItemIds:ye,isDummy:w,showCounts:I,className:`mt-4`}),x(de,{currentLocale:w?R:Z.locale,locales:w?[...r]:Z.translations.map(e=>e.locale),allowedLocales:w?void 0:P.supportedLocales,onSelect:w?e=>z(e):e=>{let t=Z.translations.find(t=>t.locale===e);t&&O?.(t.slug,t.locale)},className:`mt-6`}),F&&Q.length>0&&S(`section`,{className:`mt-6`,children:[x(`p`,{className:`mb-2 text-xs font-semibold tracking-wide text-wx-fg-muted uppercase`,children:A(`relatedTitle`)}),x(`ul`,{className:`flex flex-col gap-1.5`,children:Q.map(e=>x(`li`,{children:S(`button`,{type:`button`,onClick:()=>D?.(e.slug),className:`flex w-full flex-col items-start gap-0.5 rounded-wx-lg bg-wx-bg-elevated px-3 py-2 text-start transition-colors hover:bg-wx-bg-elevated/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-wx-primary`,children:[x(`span`,{className:`block truncate text-sm font-medium text-wx-fg`,children:e.title}),e.excerpt&&x(`span`,{className:`line-clamp-1 block text-xs text-wx-fg-muted`,children:e.excerpt})]})},e._id))})]})]})}):x(T,{})}function T(){return x(o,{followDirection:!0,className:`flex-1`,viewportRef:u(),children:S(`div`,{className:`flex flex-col px-5 pt-5 pb-12`,"aria-busy":`true`,"aria-live":`polite`,children:[S(`div`,{className:`animate-pulse space-y-2.5`,children:[x(`div`,{className:`h-5 w-3/4 rounded-md bg-wx-bg-elevated`}),x(`div`,{className:`h-5 w-1/2 rounded-md bg-wx-bg-elevated`})]}),S(`div`,{className:`mt-4 flex items-center gap-2 animate-pulse`,children:[x(`div`,{className:`h-5 w-5 rounded-full bg-wx-bg-elevated`}),x(`div`,{className:`h-3 w-32 rounded-md bg-wx-bg-elevated`})]}),x(`div`,{className:`mt-6 space-y-2.5 animate-pulse`,children:[`w-full`,`w-11/12`,`w-10/12`,`w-full`,`w-9/12`,`w-full`,`w-11/12`,`w-7/12`].map((e,n)=>x(`div`,{className:t(`h-3 rounded-md bg-wx-bg-elevated`,e)},n))})]})})}export{w as HelpArticleView};
|
|
2
|
+
//# sourceMappingURL=widget-react-Bk8_ZpvK.js.map
|