@whobot/dsh-agent-whobot 0.1.0-beta.2 → 0.1.0-beta.3

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.
@@ -1,2 +1,2 @@
1
- export declare const experienceStyles = "\n.whobot-experience,.whobot-rtc-call{--whobot-experience-blue:#3164E0;--whobot-experience-on-blue:#fff;color:var(--dsw-alias-label-primary);font:inherit;font-size:14px;line-height:1.55}\n.whobot-experience,.whobot-experience *,.whobot-rtc-call,.whobot-rtc-call *{box-sizing:border-box}\n.whobot-experience{container:whobot-experience / inline-size;min-width:0;width:100%;margin:16px 0;padding:22px;border:1px solid rgb(227, 234, 245);border-radius:20px;background:var(--dsw-alias-bg-base);box-shadow:0 2px 7px color-mix(in srgb,var(--dsw-alias-label-primary) 4%,transparent)}\n.whobot-experience header{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 14px;margin-bottom:18px}\n.whobot-experience h3{margin:0;color:var(--dsw-alias-label-primary);font-size:18px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}\n.whobot-experience-secondary,.whobot-experience-duration{color:var(--dsw-alias-label-secondary)}\n.whobot-experience p{margin:10px 0}\n.whobot-experience .whobot-experience-duration,.whobot-rtc-call .whobot-experience-duration{font-size:13px;font-variant-numeric:tabular-nums}\n.whobot-experience .whobot-experience-hint{padding:12px 0;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}\n.whobot-experience .whobot-experience-field{display:flex;flex-direction:column;gap:7px;min-width:0;color:var(--dsw-alias-label-primary);font-size:13px}\n.whobot-experience :is(input[type=text],select){width:100%;min-width:0;min-height:40px;padding:9px 11px;border:1px solid var(--dsw-alias-border-l1);border-radius:8px;background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-primary);font:inherit}\n.whobot-experience .whobot-experience-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}\n.whobot-experience :is(input[type=radio],input[type=range]){accent-color:var(--whobot-experience-blue)}\n.whobot-experience[data-kind=listen]{width:100%;max-width:none;padding:18px;border:1px solid rgb(227, 234, 245);border-radius:18px;box-shadow:none}\n.whobot-experience[data-kind=listen] .whobot-listen-header{display:flex;flex-wrap:nowrap;align-items:center;gap:16px;margin:12px 8px 34px}\n.whobot-experience[data-kind=listen] .whobot-listen-identity{display:flex;align-items:center;gap:18px;flex:1;min-width:0}\n.whobot-experience[data-kind=listen] .whobot-listen-avatar{display:grid;place-items:center;width:68px;height:68px;flex:none;overflow:hidden;border-radius:50%;background:var(--dsw-alias-bg-layer-1);color:var(--whobot-experience-blue)}\n.whobot-experience[data-kind=listen] .whobot-listen-avatar img{display:block;width:100%;height:100%;object-fit:cover}\n.whobot-experience[data-kind=listen] .whobot-listen-title{min-width:0}\n.whobot-experience[data-kind=listen] .whobot-listen-title h3{font-size:18px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}\n.whobot-experience[data-kind=listen] .whobot-listen-industry{display:inline-block;max-width:100%;margin-top:5px;padding:4px 12px;border:1px solid var(--dsw-alias-border-l1);border-radius:999px;background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary);font-size:12px;line-height:1.6;overflow-wrap:anywhere}\n.whobot-experience[data-kind=listen] .whobot-listen-decoration{display:block;flex:none;width:84px;height:61px;object-fit:contain;pointer-events:none;user-select:none}\n.whobot-experience[data-kind=listen] .whobot-listen-scenes{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:10px;margin:0 8px 12px;font-size:12px;color:var(--dsw-alias-label-secondary)}\n.whobot-experience[data-kind=listen] .whobot-listen-scenes select{width:auto;max-width:75%;min-height:32px;padding:5px 9px;font-size:12px}\n.whobot-experience[data-kind=listen] .whobot-listen-player{display:flex;align-items:center;gap:20px;min-height:84px;padding:14px 8px;border:1px solid color-mix(in srgb,var(--whobot-experience-blue) 18%,var(--dsw-alias-border-l1));border-radius:12px;background:linear-gradient(105deg,color-mix(in srgb,#39bcca 4%,var(--dsw-alias-bg-base)),color-mix(in srgb,#9a8bed 3%,var(--dsw-alias-bg-base)));box-shadow:0 4px 14px color-mix(in srgb,var(--whobot-experience-blue) 3%,transparent)}\n.whobot-experience[data-kind=listen] button.whobot-listen-toggle{display:grid;place-items:center;box-sizing:border-box;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px;aspect-ratio:1;flex:none;margin:0;padding:0;appearance:none;overflow:hidden;border:2px solid color-mix(in srgb,#42b7d4 50%,var(--whobot-experience-blue));border-radius:50%;background:var(--dsw-alias-bg-base);color:var(--whobot-experience-blue);cursor:pointer}\n.whobot-experience[data-kind=listen] .whobot-listen-toggle:hover:not(:disabled){background:var(--dsw-alias-bg-layer-1)}\n.whobot-experience[data-kind=listen] .whobot-listen-toggle:disabled{cursor:default;opacity:.65}\n.whobot-experience[data-kind=listen] .whobot-listen-track{position:relative;flex:1;min-width:0;height:44px;border-radius:5px}\n.whobot-experience[data-kind=listen] .whobot-listen-waveform{display:block;width:100%;height:44px;pointer-events:none;color:var(--whobot-experience-blue);border:0 solid var(--dsw-alias-label-secondary)}\n.whobot-experience[data-kind=listen] .whobot-listen-track:not([data-waveform-state=ready]) input[type=range]{opacity:1}\n.whobot-experience[data-kind=listen] .whobot-listen-wave-note{margin:8px 8px 0;color:var(--dsw-alias-label-secondary);font-size:12px;line-height:1.5}\n.whobot-experience[data-kind=listen] .whobot-listen-track input[type=range]{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1;touch-action:pan-y}\n.whobot-experience[data-kind=listen] .whobot-listen-track:focus-within{outline:2px solid var(--whobot-experience-blue);outline-offset:4px}\n.whobot-experience[data-kind=listen] .whobot-listen-track input:disabled{cursor:default}\n.whobot-experience[data-kind=listen] .whobot-listen-total{flex:none;min-width:80px;white-space:nowrap;font-size:13px;font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-primary)}\n.whobot-experience[data-kind=listen] .whobot-listen-playback-note{margin:10px 8px 0;color:var(--dsw-alias-label-secondary);font-size:12px}\n.whobot-experience[data-kind=listen] .whobot-listen-demo{margin:24px 8px 0}\n.whobot-experience[data-kind=listen] .whobot-listen-demo h4{margin:0 0 10px;font-size:15px;line-height:1.5;font-weight:500;color:var(--dsw-alias-label-primary)}\n.whobot-experience[data-kind=listen] .whobot-listen-description{margin:0;padding:19px 23px;border:1px solid color-mix(in srgb,#968cce 9%,var(--dsw-alias-border-l1));border-radius:12px;background:color-mix(in srgb,#8cbfe8 3%,var(--dsw-alias-bg-base));font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}\n.whobot-experience[data-kind=listen] .whobot-experience-dialogue{margin:12px 8px 0}\n.whobot-experience[data-kind=listen] .whobot-experience-dialogue ol{position:relative;display:flex;flex-direction:column;gap:24px;max-height:420px;overflow:auto;margin:0;padding:24px;list-style:none;border-radius:12px;background:linear-gradient(145deg,color-mix(in srgb,#70d9e4 6%,var(--dsw-alias-bg-base)),color-mix(in srgb,#aab1f4 4%,var(--dsw-alias-bg-base)));overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--dsw-alias-border-l2) transparent}\n.whobot-experience[data-kind=listen] .whobot-dialogue-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;margin:0 0 8px;font-size:14px;font-weight:500}\n.whobot-experience[data-kind=listen] .whobot-dialogue-follow{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:44px;min-width:44px;padding:8px 12px;border:1px solid var(--dsw-alias-border-l1);border-radius:999px;background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-secondary);font:inherit;font-size:12px;cursor:pointer}\n.whobot-experience[data-kind=listen] .whobot-dialogue-follow[aria-pressed=true]{border-color:color-mix(in srgb,var(--whobot-experience-blue) 50%,var(--dsw-alias-border-l1));color:var(--whobot-experience-blue)}\n.whobot-experience[data-kind=listen] .whobot-dialogue-follow:hover{background:var(--dsw-alias-bg-layer-1)}\n.whobot-experience[data-kind=listen] .whobot-dialogue-follow-paused{margin:0 0 8px;color:var(--dsw-alias-label-secondary);font-size:12px}\n.whobot-experience[data-kind=listen] .whobot-dialogue-message[data-active=true] .whobot-dialogue-bubble{box-shadow:0 0 0 2px color-mix(in srgb,var(--whobot-experience-blue) 55%,transparent)}\n.whobot-experience[data-kind=listen] .whobot-dialogue-current{margin-left:8px;padding:1px 6px;border-radius:4px;background:var(--dsw-alias-bg-base);color:var(--whobot-experience-blue);font-size:11px;white-space:nowrap}\n.whobot-experience[data-kind=listen] .whobot-experience-dialogue ol:focus-visible{outline:2px solid var(--whobot-experience-blue);outline-offset:3px}\n.whobot-experience[data-kind=listen] .whobot-dialogue-message{display:flex;align-items:flex-start;gap:12px;min-width:0}\n.whobot-experience[data-kind=listen] .whobot-dialogue-message[data-speaker=user]{flex-direction:row-reverse}\n.whobot-experience[data-kind=listen] .whobot-dialogue-avatar{display:grid;place-items:center;flex:none;width:44px;height:44px;overflow:hidden;border-radius:50%;background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-secondary);font-size:12px}\n.whobot-experience[data-kind=listen] .whobot-dialogue-avatar img{display:block;width:100%;height:100%;object-fit:cover}\n.whobot-experience[data-kind=listen] .whobot-dialogue-content{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;max-width:calc(100% - 56px)}\n.whobot-experience[data-kind=listen] .whobot-dialogue-message[data-speaker=user] .whobot-dialogue-content{align-items:flex-end}\n.whobot-experience[data-kind=listen] .whobot-dialogue-caption{position:relative;display:flex;align-items:baseline;color:var(--dsw-alias-label-secondary);font-size:12px}\n.whobot-experience[data-kind=listen] .whobot-dialogue-bubble{max-width:100%;margin:0;padding:11px 15px;border-radius:2px 12px 12px;background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-primary);font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;text-align:left}\n.whobot-experience[data-kind=listen] .whobot-dialogue-message[data-speaker=user] .whobot-dialogue-bubble{border-radius:12px 2px 12px 12px;background:var(--whobot-experience-blue);color:var(--whobot-experience-on-blue)}\n.whobot-experience[data-kind=listen] :is(.whobot-listen-sr-only,.whobot-listen-sr-time){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n.whobot-experience[data-kind=listen] .whobot-listen-spinner{width:17px;height:17px;border:2px solid color-mix(in srgb,var(--whobot-experience-blue) 20%,transparent);border-top-color:var(--whobot-experience-blue);border-radius:50%;animation:whobot-listen-spin .8s linear infinite}\n@keyframes whobot-listen-spin{to{transform:rotate(360deg)}}\n@media(prefers-reduced-motion:reduce){.whobot-experience[data-kind=listen] .whobot-listen-spinner{animation:none}}\n@container whobot-experience (max-width:420px){.whobot-experience[data-kind=listen] .whobot-listen-header{gap:8px;margin:8px 0 25px}.whobot-experience[data-kind=listen] .whobot-listen-identity{gap:12px}.whobot-experience[data-kind=listen] .whobot-listen-avatar{width:56px;height:56px}.whobot-experience[data-kind=listen] .whobot-listen-decoration{width:56px;height:41px}.whobot-experience[data-kind=listen] .whobot-listen-player{gap:12px}.whobot-experience[data-kind=listen] .whobot-listen-demo{margin:20px 0 0}.whobot-experience[data-kind=listen] .whobot-listen-description{padding:14px 16px}.whobot-experience[data-kind=listen] .whobot-experience-dialogue{margin:12px 0 0}.whobot-experience[data-kind=listen] .whobot-experience-dialogue ol{padding:16px 10px}.whobot-experience[data-kind=listen] .whobot-dialogue-message{gap:8px}.whobot-experience[data-kind=listen] .whobot-dialogue-content{max-width:calc(100% - 52px)}}\n.whobot-experience .whobot-experience-summary{margin:0 0 16px;color:var(--dsw-alias-label-secondary)}\n.whobot-experience .whobot-experience-pricing{display:flex;flex-direction:column;gap:10px;min-width:0;margin:18px 0;padding:0;border:0}\n.whobot-experience .whobot-experience-pricing legend{padding:0 0 9px;color:var(--dsw-alias-label-primary);font-size:13px}\n.whobot-experience .whobot-experience-price-option{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--dsw-alias-border-l1);border-radius:10px;cursor:pointer}\n.whobot-experience .whobot-experience-price-option:has(input:checked){border-color:var(--whobot-experience-blue)}\n.whobot-experience .whobot-experience-price-option input{flex:none;margin:4px 0 0}\n.whobot-experience .whobot-experience-prices{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px;min-width:0;font-size:13px;color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums}\n.whobot-experience .whobot-experience-prices strong{flex-basis:100%;color:var(--dsw-alias-label-primary);font-weight:550}\n.whobot-experience .whobot-experience-result>p{margin-bottom:16px}\n.whobot-experience .whobot-experience-button,.whobot-rtc-call .whobot-experience-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;max-width:100%;padding:9px 15px;border:1px solid var(--dsw-alias-border-l1);border-radius:10px;background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-primary);font:inherit;font-size:13px;font-weight:500;line-height:1.4;text-align:center;cursor:pointer}\n.whobot-experience .whobot-experience-button svg,.whobot-rtc-call .whobot-experience-button svg{display:block;flex:none}\n.whobot-experience .whobot-experience-primary,.whobot-rtc-call .whobot-experience-primary{border-color:var(--whobot-experience-blue);background:var(--whobot-experience-blue);color:var(--whobot-experience-on-blue)}\n.whobot-experience .whobot-experience-button:disabled,.whobot-rtc-call .whobot-experience-button:disabled{opacity:.55;cursor:default}\n.whobot-experience .whobot-experience-button:hover:not(:disabled),.whobot-rtc-call .whobot-experience-button:hover:not(:disabled){border-color:var(--whobot-experience-blue)}\n.whobot-experience :is(button,input,select,summary):focus-visible,.whobot-rtc-call button:focus-visible{outline:2px solid var(--whobot-experience-blue);outline-offset:3px}\n.whobot-rtc-call{min-width:0;width:100%;max-width:none}\n.whobot-rtc-call .whobot-rtc-overview{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 20px;margin:0 0 16px}\n.whobot-rtc-call .whobot-rtc-status{margin:0;color:var(--dsw-alias-label-primary);font-size:16px;font-weight:550;line-height:1.5}\n.whobot-rtc-call .whobot-experience-duration{margin:0;font-variant-numeric:tabular-nums}\n.whobot-rtc-call .whobot-experience-secondary{overflow-wrap:anywhere}\n.whobot-rtc-call .whobot-rtc-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px}\n@container whobot-experience (max-width:420px){.whobot-rtc-call .whobot-rtc-actions button{flex:1 1 140px}}\n@container whobot-experience (max-width:420px){.whobot-experience .whobot-experience-fields{grid-template-columns:minmax(0,1fr);gap:12px}.whobot-experience .whobot-experience-player .whobot-experience-duration{flex-basis:100%;text-align:right}}\n@media (max-width:480px){.whobot-experience{padding:18px}}\n";
1
+ export declare const experienceStyles = "\n.whobot-experience,.whobot-rtc-call{--whobot-experience-blue:#3164E0;--whobot-experience-on-blue:#fff;color:var(--dsw-alias-label-primary);font:inherit;font-size:14px;line-height:1.55}\n.whobot-experience,.whobot-experience *,.whobot-rtc-call,.whobot-rtc-call *{box-sizing:border-box}\n.whobot-experience{container:whobot-experience / inline-size;min-width:0;width:100%;margin:16px 0;padding:22px;border:1px solid rgb(227, 234, 245);border-radius:20px;background:var(--dsw-alias-bg-base);box-shadow:0 2px 7px color-mix(in srgb,var(--dsw-alias-label-primary) 4%,transparent)}\n.whobot-experience header{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 14px;margin-bottom:18px}\n.whobot-experience h3{margin:0;color:var(--dsw-alias-label-primary);font-size:18px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}\n.whobot-experience-secondary,.whobot-experience-duration{color:var(--dsw-alias-label-secondary)}\n.whobot-experience p{margin:10px 0}\n.whobot-experience .whobot-experience-duration,.whobot-rtc-call .whobot-experience-duration{font-size:13px;font-variant-numeric:tabular-nums}\n.whobot-experience .whobot-experience-hint{padding:12px 0;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}\n.whobot-experience .whobot-experience-field{display:flex;flex-direction:column;gap:7px;min-width:0;color:var(--dsw-alias-label-primary);font-size:13px}\n.whobot-experience :is(input[type=text],select){width:100%;min-width:0;min-height:40px;padding:9px 11px;border:1px solid var(--dsw-alias-border-l1);border-radius:8px;background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-primary);font:inherit}\n.whobot-experience .whobot-experience-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}\n.whobot-experience :is(input[type=radio],input[type=range]){accent-color:var(--whobot-experience-blue)}\n.whobot-experience[data-kind=listen]{width:100%;max-width:none;padding:18px;border:1px solid rgb(227, 234, 245);border-radius:18px;box-shadow:none}\n.whobot-experience[data-kind=listen] .whobot-listen-header{display:flex;flex-wrap:nowrap;align-items:center;gap:16px;margin:12px 8px 34px}\n.whobot-experience[data-kind=listen] .whobot-listen-identity{display:flex;align-items:center;gap:18px;flex:1;min-width:0}\n.whobot-experience[data-kind=listen] .whobot-listen-avatar{display:grid;place-items:center;width:68px;height:68px;flex:none;overflow:hidden;border-radius:50%;background:var(--dsw-alias-bg-layer-1);color:var(--whobot-experience-blue)}\n.whobot-experience[data-kind=listen] .whobot-listen-avatar img{display:block;width:100%;height:100%;object-fit:cover}\n.whobot-experience[data-kind=listen] .whobot-listen-title{min-width:0}\n.whobot-experience[data-kind=listen] .whobot-listen-title h3{font-size:18px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}\n.whobot-experience[data-kind=listen] .whobot-listen-industry{display:inline-block;max-width:100%;margin-top:5px;padding:4px 12px;border:1px solid var(--dsw-alias-border-l1);border-radius:999px;background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary);font-size:12px;line-height:1.6;overflow-wrap:anywhere}\n.whobot-experience[data-kind=listen] .whobot-listen-decoration{display:block;flex:none;width:84px;height:61px;object-fit:contain;pointer-events:none;user-select:none}\n.whobot-experience[data-kind=listen] .whobot-listen-scenes{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:10px;margin:0 8px 12px;font-size:12px;color:var(--dsw-alias-label-secondary)}\n.whobot-experience[data-kind=listen] .whobot-listen-scenes select{width:auto;max-width:75%;min-height:32px;padding:5px 9px;font-size:12px}\n.whobot-experience[data-kind=listen] .whobot-listen-player{display:flex;align-items:center;gap:20px;min-height:84px;padding:14px 8px;border:1px solid color-mix(in srgb,var(--whobot-experience-blue) 18%,var(--dsw-alias-border-l1));border-radius:12px;background:linear-gradient(105deg,color-mix(in srgb,#39bcca 4%,var(--dsw-alias-bg-base)),color-mix(in srgb,#9a8bed 3%,var(--dsw-alias-bg-base)));box-shadow:0 4px 14px color-mix(in srgb,var(--whobot-experience-blue) 3%,transparent)}\n.whobot-experience[data-kind=listen] button.whobot-listen-toggle{display:grid;place-items:center;box-sizing:border-box;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px;aspect-ratio:1;flex:none;margin:0;padding:0;appearance:none;overflow:hidden;border:2px solid color-mix(in srgb,#42b7d4 50%,var(--whobot-experience-blue));border-radius:50%;background:var(--dsw-alias-bg-base);color:var(--whobot-experience-blue);cursor:pointer}\n.whobot-experience[data-kind=listen] .whobot-listen-toggle:hover:not(:disabled){background:var(--dsw-alias-bg-layer-1)}\n.whobot-experience[data-kind=listen] .whobot-listen-toggle:disabled{cursor:default;opacity:.65}\n.whobot-experience[data-kind=listen] .whobot-listen-track{position:relative;flex:1;min-width:0;height:44px;border-radius:5px}\n.whobot-experience[data-kind=listen] .whobot-listen-waveform{display:block;width:100%;height:44px;pointer-events:none;color:var(--whobot-experience-blue);border:0 solid var(--dsw-alias-label-secondary)}\n.whobot-experience[data-kind=listen] .whobot-listen-track:not([data-waveform-state=ready]) input[type=range]{opacity:1}\n.whobot-experience[data-kind=listen] .whobot-listen-wave-note{margin:8px 8px 0;color:var(--dsw-alias-label-secondary);font-size:12px;line-height:1.5}\n.whobot-experience[data-kind=listen] .whobot-listen-track input[type=range]{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1;touch-action:pan-y}\n.whobot-experience[data-kind=listen] .whobot-listen-track:focus-within{outline:2px solid var(--whobot-experience-blue);outline-offset:4px}\n.whobot-experience[data-kind=listen] .whobot-listen-track input:disabled{cursor:default}\n.whobot-experience[data-kind=listen] .whobot-listen-total{flex:none;min-width:80px;white-space:nowrap;font-size:13px;font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-primary)}\n.whobot-experience[data-kind=listen] .whobot-listen-playback-note{margin:10px 8px 0;color:var(--dsw-alias-label-secondary);font-size:12px}\n.whobot-experience[data-kind=listen] .whobot-experience-dialogue{margin:12px 8px 0}\n.whobot-experience[data-kind=listen] .whobot-experience-dialogue ol{position:relative;display:flex;flex-direction:column;gap:24px;max-height:420px;overflow:auto;margin:0;padding:24px;list-style:none;border-radius:12px;background:linear-gradient(145deg,color-mix(in srgb,#70d9e4 6%,var(--dsw-alias-bg-base)),color-mix(in srgb,#aab1f4 4%,var(--dsw-alias-bg-base)));overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--dsw-alias-border-l2) transparent}\n.whobot-experience[data-kind=listen] .whobot-dialogue-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;margin:0 0 8px;font-size:14px;font-weight:500}\n.whobot-experience[data-kind=listen] .whobot-dialogue-follow{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:44px;min-width:44px;padding:8px 12px;border:1px solid var(--dsw-alias-border-l1);border-radius:999px;background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-secondary);font:inherit;font-size:12px;cursor:pointer}\n.whobot-experience[data-kind=listen] .whobot-dialogue-follow[aria-pressed=true]{border-color:color-mix(in srgb,var(--whobot-experience-blue) 50%,var(--dsw-alias-border-l1));color:var(--whobot-experience-blue)}\n.whobot-experience[data-kind=listen] .whobot-dialogue-follow:hover{background:var(--dsw-alias-bg-layer-1)}\n.whobot-experience[data-kind=listen] .whobot-dialogue-follow-paused{margin:0 0 8px;color:var(--dsw-alias-label-secondary);font-size:12px}\n.whobot-experience[data-kind=listen] .whobot-dialogue-message[data-active=true] .whobot-dialogue-bubble{box-shadow:0 0 0 2px color-mix(in srgb,var(--whobot-experience-blue) 55%,transparent)}\n.whobot-experience[data-kind=listen] .whobot-dialogue-current{margin-left:8px;padding:1px 6px;border-radius:4px;background:var(--dsw-alias-bg-base);color:var(--whobot-experience-blue);font-size:11px;white-space:nowrap}\n.whobot-experience[data-kind=listen] .whobot-experience-dialogue ol:focus-visible{outline:2px solid var(--whobot-experience-blue);outline-offset:3px}\n.whobot-experience[data-kind=listen] .whobot-dialogue-message{display:flex;align-items:flex-start;gap:12px;min-width:0}\n.whobot-experience[data-kind=listen] .whobot-dialogue-message[data-speaker=user]{flex-direction:row-reverse}\n.whobot-experience[data-kind=listen] .whobot-dialogue-avatar{display:grid;place-items:center;flex:none;width:44px;height:44px;overflow:hidden;border-radius:50%;background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-secondary);font-size:12px}\n.whobot-experience[data-kind=listen] .whobot-dialogue-avatar img{display:block;width:100%;height:100%;object-fit:cover}\n.whobot-experience[data-kind=listen] .whobot-dialogue-content{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;max-width:calc(100% - 56px)}\n.whobot-experience[data-kind=listen] .whobot-dialogue-message[data-speaker=user] .whobot-dialogue-content{align-items:flex-end}\n.whobot-experience[data-kind=listen] .whobot-dialogue-caption{position:relative;display:flex;align-items:baseline;color:var(--dsw-alias-label-secondary);font-size:12px}\n.whobot-experience[data-kind=listen] .whobot-dialogue-bubble{max-width:100%;margin:0;padding:11px 15px;border-radius:2px 12px 12px;background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-primary);font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;text-align:left}\n.whobot-experience[data-kind=listen] .whobot-dialogue-message[data-speaker=user] .whobot-dialogue-bubble{border-radius:12px 2px 12px 12px;background:var(--whobot-experience-blue);color:var(--whobot-experience-on-blue)}\n.whobot-experience[data-kind=listen] :is(.whobot-listen-sr-only,.whobot-listen-sr-time){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n.whobot-experience[data-kind=listen] .whobot-listen-spinner{width:17px;height:17px;border:2px solid color-mix(in srgb,var(--whobot-experience-blue) 20%,transparent);border-top-color:var(--whobot-experience-blue);border-radius:50%;animation:whobot-listen-spin .8s linear infinite}\n@keyframes whobot-listen-spin{to{transform:rotate(360deg)}}\n@media(prefers-reduced-motion:reduce){.whobot-experience[data-kind=listen] .whobot-listen-spinner{animation:none}}\n@container whobot-experience (max-width:420px){.whobot-experience[data-kind=listen] .whobot-listen-header{gap:8px;margin:8px 0 25px}.whobot-experience[data-kind=listen] .whobot-listen-identity{gap:12px}.whobot-experience[data-kind=listen] .whobot-listen-avatar{width:56px;height:56px}.whobot-experience[data-kind=listen] .whobot-listen-decoration{width:56px;height:41px}.whobot-experience[data-kind=listen] .whobot-listen-player{gap:12px}.whobot-experience[data-kind=listen] .whobot-experience-dialogue{margin:12px 0 0}.whobot-experience[data-kind=listen] .whobot-experience-dialogue ol{padding:16px 10px}.whobot-experience[data-kind=listen] .whobot-dialogue-message{gap:8px}.whobot-experience[data-kind=listen] .whobot-dialogue-content{max-width:calc(100% - 52px)}}\n.whobot-experience .whobot-experience-summary{margin:0 0 16px;color:var(--dsw-alias-label-secondary)}\n.whobot-experience .whobot-experience-pricing{display:flex;flex-direction:column;gap:10px;min-width:0;margin:18px 0;padding:0;border:0}\n.whobot-experience .whobot-experience-pricing legend{padding:0 0 9px;color:var(--dsw-alias-label-primary);font-size:13px}\n.whobot-experience .whobot-experience-price-option{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--dsw-alias-border-l1);border-radius:10px;cursor:pointer}\n.whobot-experience .whobot-experience-price-option:has(input:checked){border-color:var(--whobot-experience-blue)}\n.whobot-experience .whobot-experience-price-option input{flex:none;margin:4px 0 0}\n.whobot-experience .whobot-experience-prices{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px;min-width:0;font-size:13px;color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums}\n.whobot-experience .whobot-experience-prices strong{flex-basis:100%;color:var(--dsw-alias-label-primary);font-weight:550}\n.whobot-experience .whobot-experience-result>p{margin-bottom:16px}\n.whobot-experience .whobot-experience-button,.whobot-rtc-call .whobot-experience-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;max-width:100%;padding:9px 15px;border:1px solid var(--dsw-alias-border-l1);border-radius:10px;background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-primary);font:inherit;font-size:13px;font-weight:500;line-height:1.4;text-align:center;cursor:pointer}\n.whobot-experience .whobot-experience-button svg,.whobot-rtc-call .whobot-experience-button svg{display:block;flex:none}\n.whobot-experience .whobot-experience-primary,.whobot-rtc-call .whobot-experience-primary{border-color:var(--whobot-experience-blue);background:var(--whobot-experience-blue);color:var(--whobot-experience-on-blue)}\n.whobot-experience .whobot-experience-button:disabled,.whobot-rtc-call .whobot-experience-button:disabled{opacity:.55;cursor:default}\n.whobot-experience .whobot-experience-button:hover:not(:disabled),.whobot-rtc-call .whobot-experience-button:hover:not(:disabled){border-color:var(--whobot-experience-blue)}\n.whobot-experience :is(button,input,select,summary):focus-visible,.whobot-rtc-call button:focus-visible{outline:2px solid var(--whobot-experience-blue);outline-offset:3px}\n.whobot-rtc-call{min-width:0;width:100%;max-width:none}\n.whobot-rtc-call .whobot-rtc-overview{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 20px;margin:0 0 16px}\n.whobot-rtc-call .whobot-rtc-status{margin:0;color:var(--dsw-alias-label-primary);font-size:16px;font-weight:550;line-height:1.5}\n.whobot-rtc-call .whobot-experience-duration{margin:0;font-variant-numeric:tabular-nums}\n.whobot-rtc-call .whobot-experience-secondary{overflow-wrap:anywhere}\n.whobot-rtc-call .whobot-rtc-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px}\n@container whobot-experience (max-width:420px){.whobot-rtc-call .whobot-rtc-actions button{flex:1 1 140px}}\n@container whobot-experience (max-width:420px){.whobot-experience .whobot-experience-fields{grid-template-columns:minmax(0,1fr);gap:12px}.whobot-experience .whobot-experience-player .whobot-experience-duration{flex-basis:100%;text-align:right}}\n@media (max-width:480px){.whobot-experience{padding:18px}}\n";
2
2
  //# sourceMappingURL=client-experience-styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client-experience-styles.d.ts","sourceRoot":"","sources":["../src/client-experience-styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,4seAyF5B,CAAC"}
1
+ {"version":3,"file":"client-experience-styles.d.ts","sourceRoot":"","sources":["../src/client-experience-styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,2/cAsF5B,CAAC"}
@@ -36,9 +36,6 @@ export const experienceStyles = `
36
36
  .whobot-experience[data-kind=listen] .whobot-listen-track input:disabled{cursor:default}
37
37
  .whobot-experience[data-kind=listen] .whobot-listen-total{flex:none;min-width:80px;white-space:nowrap;font-size:13px;font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-primary)}
38
38
  .whobot-experience[data-kind=listen] .whobot-listen-playback-note{margin:10px 8px 0;color:var(--dsw-alias-label-secondary);font-size:12px}
39
- .whobot-experience[data-kind=listen] .whobot-listen-demo{margin:24px 8px 0}
40
- .whobot-experience[data-kind=listen] .whobot-listen-demo h4{margin:0 0 10px;font-size:15px;line-height:1.5;font-weight:500;color:var(--dsw-alias-label-primary)}
41
- .whobot-experience[data-kind=listen] .whobot-listen-description{margin:0;padding:19px 23px;border:1px solid color-mix(in srgb,#968cce 9%,var(--dsw-alias-border-l1));border-radius:12px;background:color-mix(in srgb,#8cbfe8 3%,var(--dsw-alias-bg-base));font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
42
39
  .whobot-experience[data-kind=listen] .whobot-experience-dialogue{margin:12px 8px 0}
43
40
  .whobot-experience[data-kind=listen] .whobot-experience-dialogue ol{position:relative;display:flex;flex-direction:column;gap:24px;max-height:420px;overflow:auto;margin:0;padding:24px;list-style:none;border-radius:12px;background:linear-gradient(145deg,color-mix(in srgb,#70d9e4 6%,var(--dsw-alias-bg-base)),color-mix(in srgb,#aab1f4 4%,var(--dsw-alias-bg-base)));overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--dsw-alias-border-l2) transparent}
44
41
  .whobot-experience[data-kind=listen] .whobot-dialogue-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;margin:0 0 8px;font-size:14px;font-weight:500}
@@ -62,7 +59,7 @@ export const experienceStyles = `
62
59
  .whobot-experience[data-kind=listen] .whobot-listen-spinner{width:17px;height:17px;border:2px solid color-mix(in srgb,var(--whobot-experience-blue) 20%,transparent);border-top-color:var(--whobot-experience-blue);border-radius:50%;animation:whobot-listen-spin .8s linear infinite}
63
60
  @keyframes whobot-listen-spin{to{transform:rotate(360deg)}}
64
61
  @media(prefers-reduced-motion:reduce){.whobot-experience[data-kind=listen] .whobot-listen-spinner{animation:none}}
65
- @container whobot-experience (max-width:420px){.whobot-experience[data-kind=listen] .whobot-listen-header{gap:8px;margin:8px 0 25px}.whobot-experience[data-kind=listen] .whobot-listen-identity{gap:12px}.whobot-experience[data-kind=listen] .whobot-listen-avatar{width:56px;height:56px}.whobot-experience[data-kind=listen] .whobot-listen-decoration{width:56px;height:41px}.whobot-experience[data-kind=listen] .whobot-listen-player{gap:12px}.whobot-experience[data-kind=listen] .whobot-listen-demo{margin:20px 0 0}.whobot-experience[data-kind=listen] .whobot-listen-description{padding:14px 16px}.whobot-experience[data-kind=listen] .whobot-experience-dialogue{margin:12px 0 0}.whobot-experience[data-kind=listen] .whobot-experience-dialogue ol{padding:16px 10px}.whobot-experience[data-kind=listen] .whobot-dialogue-message{gap:8px}.whobot-experience[data-kind=listen] .whobot-dialogue-content{max-width:calc(100% - 52px)}}
62
+ @container whobot-experience (max-width:420px){.whobot-experience[data-kind=listen] .whobot-listen-header{gap:8px;margin:8px 0 25px}.whobot-experience[data-kind=listen] .whobot-listen-identity{gap:12px}.whobot-experience[data-kind=listen] .whobot-listen-avatar{width:56px;height:56px}.whobot-experience[data-kind=listen] .whobot-listen-decoration{width:56px;height:41px}.whobot-experience[data-kind=listen] .whobot-listen-player{gap:12px}.whobot-experience[data-kind=listen] .whobot-experience-dialogue{margin:12px 0 0}.whobot-experience[data-kind=listen] .whobot-experience-dialogue ol{padding:16px 10px}.whobot-experience[data-kind=listen] .whobot-dialogue-message{gap:8px}.whobot-experience[data-kind=listen] .whobot-dialogue-content{max-width:calc(100% - 52px)}}
66
63
  .whobot-experience .whobot-experience-summary{margin:0 0 16px;color:var(--dsw-alias-label-secondary)}
67
64
  .whobot-experience .whobot-experience-pricing{display:flex;flex-direction:column;gap:10px;min-width:0;margin:18px 0;padding:0;border:0}
68
65
  .whobot-experience .whobot-experience-pricing legend{padding:0 0 9px;color:var(--dsw-alias-label-primary);font-size:13px}
@@ -1 +1 @@
1
- {"version":3,"file":"client-experience-styles.js","sourceRoot":"","sources":["../src/client-experience-styles.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyF/B,CAAC"}
1
+ {"version":3,"file":"client-experience-styles.js","sourceRoot":"","sources":["../src/client-experience-styles.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsF/B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"client-listen-transcript.d.ts","sourceRoot":"","sources":["../src/client-listen-transcript.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAIxD,MAAM,MAAM,oBAAoB,GAC5B,wBAAwB,GAA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E,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,GACpF;IAAE,SAAS,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,YAAY,CAAA;CAAE,CAyExD"}
@@ -24,7 +24,7 @@ export function createTranscriptComponents(React, text) {
24
24
  active && React.createElement("span", { className: "whobot-dialogue-current" }, text('experienceCurrentLine'))),
25
25
  React.createElement("p", { className: "whobot-dialogue-bubble" }, line.text)));
26
26
  }
27
- function TranscriptScene({ scene, fallbackDescription, currentTime, playing, enabled }) {
27
+ function TranscriptScene({ scene, currentTime, playing, enabled }) {
28
28
  const dialogues = React.useMemo(() => prepareTranscript(scene.dialogues), [scene.dialogues]);
29
29
  const { activeIndex, anchorIndex } = transcriptPosition(dialogues, currentTime, enabled);
30
30
  const targetIndex = activeIndex ?? anchorIndex;
@@ -60,18 +60,13 @@ export function createTranscriptComponents(React, text) {
60
60
  React.useEffect(() => { if (following)
61
61
  scrollToAnchor(); }, [following, scrollToAnchor]);
62
62
  const pauseFollowing = () => setFollowing(false);
63
- const description = scene.description || fallbackDescription;
64
- return React.createElement(React.Fragment, null,
65
- description && React.createElement("section", { className: "whobot-listen-demo" },
66
- React.createElement("h4", null, text('experienceDialogueDemo')),
67
- React.createElement("p", { className: "whobot-listen-description" }, description)),
68
- dialogues.length > 0 && React.createElement("section", { className: "whobot-experience-dialogue", "aria-label": text('experienceDialogue'), "data-playing": playing || undefined },
69
- React.createElement("div", { className: "whobot-dialogue-toolbar" },
70
- React.createElement("span", null, text('experienceDialogue')),
71
- React.createElement("button", { type: "button", className: "whobot-dialogue-follow", "aria-pressed": following, onClick: () => setFollowing(value => !value) }, text(following ? 'experienceFollowPlayback' : 'experienceResumeFollow'))),
72
- !following && React.createElement("p", { id: pausedDescription, className: "whobot-dialogue-follow-paused" }, text('experienceFollowPaused')),
73
- React.createElement("ol", { ref: listRef, "aria-label": text('experienceDialogue'), "aria-describedby": following ? undefined : pausedDescription, tabIndex: 0, onWheel: pauseFollowing, onTouchStart: pauseFollowing, onPointerDown: pauseFollowing, onKeyDown: event => { if (['ArrowUp', 'ArrowDown', 'PageUp', 'PageDown', 'Home', 'End', ' ', 'Spacebar'].includes(event.key))
74
- pauseFollowing(); } }, dialogues.map(entry => React.createElement(DialogueLine, { key: entry.originalIndex, entry: entry, active: entry.originalIndex === activeIndex, register: register })))));
63
+ return React.createElement(React.Fragment, null, dialogues.length > 0 && React.createElement("section", { className: "whobot-experience-dialogue", "aria-label": text('experienceDialogue'), "data-playing": playing || undefined },
64
+ React.createElement("div", { className: "whobot-dialogue-toolbar" },
65
+ React.createElement("span", null, text('experienceDialogue')),
66
+ React.createElement("button", { type: "button", className: "whobot-dialogue-follow", "aria-pressed": following, onClick: () => setFollowing(value => !value) }, text(following ? 'experienceFollowPlayback' : 'experienceResumeFollow'))),
67
+ !following && React.createElement("p", { id: pausedDescription, className: "whobot-dialogue-follow-paused" }, text('experienceFollowPaused')),
68
+ React.createElement("ol", { ref: listRef, "aria-label": text('experienceDialogue'), "aria-describedby": following ? undefined : pausedDescription, tabIndex: 0, onWheel: pauseFollowing, onTouchStart: pauseFollowing, onPointerDown: pauseFollowing, onKeyDown: event => { if (['ArrowUp', 'ArrowDown', 'PageUp', 'PageDown', 'Home', 'End', ' ', 'Spacebar'].includes(event.key))
69
+ pauseFollowing(); } }, dialogues.map(entry => React.createElement(DialogueLine, { key: entry.originalIndex, entry: entry, active: entry.originalIndex === activeIndex, register: register })))));
75
70
  }
76
71
  function SceneInfo(props) {
77
72
  // Key the owner so source changes discard follow state and refs before the next effect.
@@ -1 +1 @@
1
- {"version":3,"file":"client-listen-transcript.js","sourceRoot":"","sources":["../src/client-listen-transcript.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAiBpF,SAAS,SAAS,CAAC,OAAe;IAChC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,OA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AAQ,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,UAAU,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC;oBAAE,cAAc,EAAE,CAAC,CAAC,CAAC,IAChJ,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,oBAAC,YAAY,IAAC,GAAG,EAAE,KAAK,CAAC,aAAa,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,aAAa,KAAK,WAAW,EAAE,QAAQ,EAAE,QAAQ,GAAI,CAAC,CAC/I,CACG,CACT,CAAC;IACN,CAAC;IAED,SAAS,SAAS,CAAC,KAAqB;QACtC,wFAAwF;QACxF,OAAO,oBAAC,eAAe,IAAC,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,KAAM,KAAK,GAAI,CAAC;IAC1G,CAAC;IACD,OAAO,EAAE,SAAS,EAAE,CAAC;AACvB,CAAC"}
package/lib/client.js CHANGED
@@ -4042,7 +4042,7 @@
4042
4042
  const time = timestamp(line.startTime);
4043
4043
  return /* @__PURE__ */ React.createElement("li", { ref: itemRef, className: "whobot-dialogue-message", "data-speaker": speaker, "data-active": active || void 0, "aria-current": active || void 0 }, /* @__PURE__ */ React.createElement("div", { className: "whobot-dialogue-avatar" }, !failed ? /* @__PURE__ */ React.createElement("img", { src: avatar, alt: label2, width: 44, height: 44, loading: "lazy", decoding: "async", referrerPolicy: "no-referrer", onError: () => setFailed(true) }) : /* @__PURE__ */ React.createElement("span", { "aria-label": label2 }, speaker === "ai" ? "AI" : label2.slice(0, 1))), /* @__PURE__ */ React.createElement("div", { className: "whobot-dialogue-content" }, /* @__PURE__ */ React.createElement("div", { className: "whobot-dialogue-caption" }, /* @__PURE__ */ React.createElement("span", null, label2), time !== void 0 && /* @__PURE__ */ React.createElement("span", { className: "whobot-listen-sr-time", title: time }, time), active && /* @__PURE__ */ React.createElement("span", { className: "whobot-dialogue-current" }, text4("experienceCurrentLine"))), /* @__PURE__ */ React.createElement("p", { className: "whobot-dialogue-bubble" }, line.text)));
4044
4044
  }
4045
- function TranscriptScene({ scene: scene2, fallbackDescription, currentTime, playing, enabled }) {
4045
+ function TranscriptScene({ scene: scene2, currentTime, playing, enabled }) {
4046
4046
  const dialogues = React.useMemo(() => prepareTranscript(scene2.dialogues), [scene2.dialogues]);
4047
4047
  const { activeIndex, anchorIndex } = transcriptPosition(dialogues, currentTime, enabled);
4048
4048
  const targetIndex = activeIndex ?? anchorIndex;
@@ -4071,8 +4071,7 @@
4071
4071
  if (following) scrollToAnchor();
4072
4072
  }, [following, scrollToAnchor]);
4073
4073
  const pauseFollowing = () => setFollowing(false);
4074
- const description = scene2.description || fallbackDescription;
4075
- return /* @__PURE__ */ React.createElement(React.Fragment, null, description && /* @__PURE__ */ React.createElement("section", { className: "whobot-listen-demo" }, /* @__PURE__ */ React.createElement("h4", null, text4("experienceDialogueDemo")), /* @__PURE__ */ React.createElement("p", { className: "whobot-listen-description" }, description)), dialogues.length > 0 && /* @__PURE__ */ React.createElement("section", { className: "whobot-experience-dialogue", "aria-label": text4("experienceDialogue"), "data-playing": playing || void 0 }, /* @__PURE__ */ React.createElement("div", { className: "whobot-dialogue-toolbar" }, /* @__PURE__ */ React.createElement("span", null, text4("experienceDialogue")), /* @__PURE__ */ React.createElement("button", { type: "button", className: "whobot-dialogue-follow", "aria-pressed": following, onClick: () => setFollowing((value) => !value) }, text4(following ? "experienceFollowPlayback" : "experienceResumeFollow"))), !following && /* @__PURE__ */ React.createElement("p", { id: pausedDescription, className: "whobot-dialogue-follow-paused" }, text4("experienceFollowPaused")), /* @__PURE__ */ React.createElement(
4074
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, dialogues.length > 0 && /* @__PURE__ */ React.createElement("section", { className: "whobot-experience-dialogue", "aria-label": text4("experienceDialogue"), "data-playing": playing || void 0 }, /* @__PURE__ */ React.createElement("div", { className: "whobot-dialogue-toolbar" }, /* @__PURE__ */ React.createElement("span", null, text4("experienceDialogue")), /* @__PURE__ */ React.createElement("button", { type: "button", className: "whobot-dialogue-follow", "aria-pressed": following, onClick: () => setFollowing((value) => !value) }, text4(following ? "experienceFollowPlayback" : "experienceResumeFollow"))), !following && /* @__PURE__ */ React.createElement("p", { id: pausedDescription, className: "whobot-dialogue-follow-paused" }, text4("experienceFollowPaused")), /* @__PURE__ */ React.createElement(
4076
4075
  "ol",
4077
4076
  {
4078
4077
  ref: listRef,
@@ -4134,9 +4133,6 @@
4134
4133
  .whobot-experience[data-kind=listen] .whobot-listen-track input:disabled{cursor:default}
4135
4134
  .whobot-experience[data-kind=listen] .whobot-listen-total{flex:none;min-width:80px;white-space:nowrap;font-size:13px;font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-primary)}
4136
4135
  .whobot-experience[data-kind=listen] .whobot-listen-playback-note{margin:10px 8px 0;color:var(--dsw-alias-label-secondary);font-size:12px}
4137
- .whobot-experience[data-kind=listen] .whobot-listen-demo{margin:24px 8px 0}
4138
- .whobot-experience[data-kind=listen] .whobot-listen-demo h4{margin:0 0 10px;font-size:15px;line-height:1.5;font-weight:500;color:var(--dsw-alias-label-primary)}
4139
- .whobot-experience[data-kind=listen] .whobot-listen-description{margin:0;padding:19px 23px;border:1px solid color-mix(in srgb,#968cce 9%,var(--dsw-alias-border-l1));border-radius:12px;background:color-mix(in srgb,#8cbfe8 3%,var(--dsw-alias-bg-base));font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
4140
4136
  .whobot-experience[data-kind=listen] .whobot-experience-dialogue{margin:12px 8px 0}
4141
4137
  .whobot-experience[data-kind=listen] .whobot-experience-dialogue ol{position:relative;display:flex;flex-direction:column;gap:24px;max-height:420px;overflow:auto;margin:0;padding:24px;list-style:none;border-radius:12px;background:linear-gradient(145deg,color-mix(in srgb,#70d9e4 6%,var(--dsw-alias-bg-base)),color-mix(in srgb,#aab1f4 4%,var(--dsw-alias-bg-base)));overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--dsw-alias-border-l2) transparent}
4142
4138
  .whobot-experience[data-kind=listen] .whobot-dialogue-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;margin:0 0 8px;font-size:14px;font-weight:500}
@@ -4160,7 +4156,7 @@
4160
4156
  .whobot-experience[data-kind=listen] .whobot-listen-spinner{width:17px;height:17px;border:2px solid color-mix(in srgb,var(--whobot-experience-blue) 20%,transparent);border-top-color:var(--whobot-experience-blue);border-radius:50%;animation:whobot-listen-spin .8s linear infinite}
4161
4157
  @keyframes whobot-listen-spin{to{transform:rotate(360deg)}}
4162
4158
  @media(prefers-reduced-motion:reduce){.whobot-experience[data-kind=listen] .whobot-listen-spinner{animation:none}}
4163
- @container whobot-experience (max-width:420px){.whobot-experience[data-kind=listen] .whobot-listen-header{gap:8px;margin:8px 0 25px}.whobot-experience[data-kind=listen] .whobot-listen-identity{gap:12px}.whobot-experience[data-kind=listen] .whobot-listen-avatar{width:56px;height:56px}.whobot-experience[data-kind=listen] .whobot-listen-decoration{width:56px;height:41px}.whobot-experience[data-kind=listen] .whobot-listen-player{gap:12px}.whobot-experience[data-kind=listen] .whobot-listen-demo{margin:20px 0 0}.whobot-experience[data-kind=listen] .whobot-listen-description{padding:14px 16px}.whobot-experience[data-kind=listen] .whobot-experience-dialogue{margin:12px 0 0}.whobot-experience[data-kind=listen] .whobot-experience-dialogue ol{padding:16px 10px}.whobot-experience[data-kind=listen] .whobot-dialogue-message{gap:8px}.whobot-experience[data-kind=listen] .whobot-dialogue-content{max-width:calc(100% - 52px)}}
4159
+ @container whobot-experience (max-width:420px){.whobot-experience[data-kind=listen] .whobot-listen-header{gap:8px;margin:8px 0 25px}.whobot-experience[data-kind=listen] .whobot-listen-identity{gap:12px}.whobot-experience[data-kind=listen] .whobot-listen-avatar{width:56px;height:56px}.whobot-experience[data-kind=listen] .whobot-listen-decoration{width:56px;height:41px}.whobot-experience[data-kind=listen] .whobot-listen-player{gap:12px}.whobot-experience[data-kind=listen] .whobot-experience-dialogue{margin:12px 0 0}.whobot-experience[data-kind=listen] .whobot-experience-dialogue ol{padding:16px 10px}.whobot-experience[data-kind=listen] .whobot-dialogue-message{gap:8px}.whobot-experience[data-kind=listen] .whobot-dialogue-content{max-width:calc(100% - 52px)}}
4164
4160
  .whobot-experience .whobot-experience-summary{margin:0 0 16px;color:var(--dsw-alias-label-secondary)}
4165
4161
  .whobot-experience .whobot-experience-pricing{display:flex;flex-direction:column;gap:10px;min-width:0;margin:18px 0;padding:0;border:0}
4166
4162
  .whobot-experience .whobot-experience-pricing legend{padding:0 0 9px;color:var(--dsw-alias-label-primary);font-size:13px}