"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./styles.css-qdIlT2BT.js"),f=require("react"),v=`\`\`\`javascript
<script type="text/javascript">
  (function(d, t) {
      var v = d.createElement(t), s = d.getElementsByTagName(t)[0];
      v.onload = function() {
        window.voiceflow.chat.load({
          verify: { projectID: 'howdy folks, very cool verification hash here' },
          url: 'https://general-runtime.voiceflow.com',
          versionID: 'production'
        });
      }
      v.src = "https://cdn.voiceflow.com/widget/bundle.mjs"; v.type = "text/javascript"; s.parentNode.insertBefore(v, s);
  })(document, 'script');
<\/script>
\`\`\`
`,V=`# Code and Syntax Highlighting

\`\`\`javascript
<script type="text/javascript">
  (function(d, t) {
      var v = d.createElement(t), s = d.getElementsByTagName(t)[0];
      v.onload = function() {
        window.voiceflow.chat.load({
          verify: { projectID: 'howdy folks, very cool verification hash here' },
          url: 'https://general-runtime.voiceflow.com',
          versionID: 'production'
        });
      }
      v.src = "https://cdn.voiceflow.com/widget/bundle.mjs"; v.type = "text/javascript"; s.parentNode.insertBefore(v, s);
  })(document, 'script');
<\/script>
\`\`\`

\`\`\`css
@font-face {
  font-family: Chunkfive;
  src: url('Chunkfive.otf');
}

body,
.usertext {
  color: #f0f0f0;
  background: #600;
  font-family: Chunkfive, sans;
}

@import url(print.css);
@media print {
  a[href^='http']::after {
    content: attr(href);
  }
}
\`\`\`
`,D=`# Lists

1. First ordered list item
2. Another item
3. Actual numbers don't matter, just that it's a number
4. And another item.

- Unordered list can use asterisks

* Or minuses

- Or pluses

1. Make my changes
   1. Fix bug
   2. Improve formatting
      - Make the headings bigger
2. Push my commits to GitHub
3. Open a pull request
   - Describe my changes
   - Mention all the members of my team
     - Ask for feedback

---

# Task lists

- [x] Finish my changes
- [ ] Push my commits to GitHub
- [ ] Open a pull request
- [x] @mentions, #refs, [links](), **formatting**, and <del>tags</del> supported
- [x] list syntax required (any unordered or ordered list supported)
- [ ] this is a complete item
- [ ] this is an incomplete item

---

# Ignoring Markdown formatting

You can tell GitHub to ignore (or escape) Markdown formatting by using \\ before the Markdown character.

Let's rename \\*our-new-project\\* to \\*our-old-project\\*.

---

# Links

[I'm an inline-style link](https://www.google.com)

[I'm an inline-style link with title](https://www.google.com "Google's Homepage")

[I'm a reference-style link][Arbitrary case-insensitive reference text]

[I'm a relative reference to a repository file](../blob/master/LICENSE)

[You can use numbers for reference-style link definitions][1]

Or leave it empty and use the [link text itself].

URLs and URLs in angle brackets will automatically get turned into links.
http://www.example.com or <http://www.example.com> and sometimes
example.com (but not on Github, for example).

Some text to show that the reference links can follow later.

[arbitrary case-insensitive reference text]: https://www.mozilla.org
[1]: http://slashdot.org
[link text itself]: http://www.reddit.com

# Images

Here's our logo (hover to see the title text):

Inline-style:
![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png 'Logo Title Text 1')

Reference-style:
![alt text][logo]

[logo]: https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png 'Logo Title Text 2'

Like links, Images also have a footnote style syntax

![Alt text][id]

With a reference later in the document defining the URL location:

---

# [Footnotes](https://github.com/markdown-it/markdown-it-footnote)

Footnote 1 link[^first].

Footnote 2 link[^second].

Inline footnote^[Text of inline footnote] definition.

Duplicated footnote reference[^second].

[^first]: Footnote **can have markup**

    and multiple paragraphs.

[^second]: Footnote text.

---
`,H=`# Tables

Colons can be used to align columns.

| Tables        |      Are      |  Cool |
| ------------- | :-----------: | ----: |
| col 3 is      | right-aligned | $1600 |
| col 2 is      |   centered    |   $12 |
| zebra stripes |   are neat    |    $1 |

There must be at least 3 dashes separating each header cell.
The outer pipes (|) are optional, and you don't need to make the
raw Markdown line up prettily. You can also use inline Markdown.

| Markdown | Less      | Pretty     |
| -------- | --------- | ---------- |
| _Still_  | \`renders\` | **nicely** |
| 1        | 2         | 3          |

| First Header | Second Header |
| ------------ | ------------- |
| Content Cell | Content Cell  |
| Content Cell | Content Cell  |

| Command    | Description                                    |
| ---------- | ---------------------------------------------- |
| git status | List all new or modified files                 |
| git diff   | Show file differences that haven't been staged |

| Command      | Description                                        |
| ------------ | -------------------------------------------------- |
| \`git status\` | List all _new or modified_ files                   |
| \`git diff\`   | Show file differences that **haven't been** staged |

| Left-aligned | Center-aligned | Right-aligned |
| :----------- | :------------: | ------------: |
| git status   |   git status   |    git status |
| git diff     |    git diff    |      git diff |

| Name     | Character |
| -------- | --------- |
| Backtick | \`         |
| Pipe     | \\|        |

---

# Blockquotes

> Blockquotes are very handy in email to emulate reply text.
> This line is part of the same quote.
> Quote break.

> This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can _put_ **Markdown** into a blockquote.
> Blockquotes can also be nested...
>
> > ...by using additional greater-than signs right next to each other...
> >
> > > ...or with spaces between arrows.

---

# Inline HTML

<dl>
  <dt>Definition list</dt>
  <dd>Is something people use sometimes.</dd>

  <dt>Markdown in HTML</dt>
  <dd>Does *not* work **very** well. Use HTML <em>tags</em>.</dd>
</dl>

---

# Horizontal Rules

Three or more...

---

Hyphens

---

Asterisks

---

Underscores

---
`,S=`# Howdy!

# h1 Voiceflow

## h2 Voiceflow

### h3 Voiceflow

#### h4 Voiceflow

##### h5 Voiceflow

###### h6 Voiceflow

# Alt-H1

## Alt-H2

---

What does a really long block of text look like? Well, it looks like this. And there's even more of it than you could ever imagine. We want to see how this wraps and displays line height properly. So we're going to keep going. What does a really long block of text look like? Well, it looks like this. And there's even more of it than you could ever imagine. We want to see how this wraps and displays line height properly. So we're going to keep going.

What does a really long block of text look like? Well, it looks like this. And there's even more of it than you could ever imagine. We want to see how this wraps and displays line height properly. So we're going to keep going. What does a really long block of text look like? Well, it looks like this. And there's even more of it than you could ever imagine. We want to see how this wraps and displays line height properly. So we're going to keep going.

---

# Emphasis

Emphasis, aka italics, with _asterisks_ or _underscores_.

Strong emphasis, aka bold, with **asterisks** or **underscores**.

Combined emphasis with **asterisks and _underscores_**.

**This is bold text**

_This is italic text_

~~Strikethrough~~
`,I=[{type:"paragraph",children:[{text:"Hello, world!"}]}],N={type:"speak",payload:{message:"End of conversation."}},q={name:"SampleExtension",type:e.ExtensionType.RESPONSE,match(){throw new Error("Function not implemented.")}};e.MessageType.TEXT;e.MessageType.TEXT;e.MessageType.IMAGE;e.MessageType.CARD;e.MessageType.CAROUSEL;e.MessageType.END;e.MessageType.EXTENSION;const p="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABlSURBVHgB7ZOxCYBQDEQvH2LhKI7h0nauYOcoIkE4d0hzgvf6QOC9i+24+WBCl3UJzP1zDERAyYCYDzxAQokbsAIrsAI3IG8gqoqZiS77SVyFNoNqBfH7GcoVQIwb8AytwArcwAspAyS5uk3juAAAAABJRU5ErkJggg==",Y="Howdy folks how yall doing out there?",U={title:"Core/AgentMessage",component:e.AgentMessage},J={args:{text:I}},z={args:{text:I,ai:!0,generatedMessage:"Generated by AI, double-check for accuracy."}},G={args:{text:I,ai:!0,generatedMessage:"Generated by AI, double-check for accuracy.",children:e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx(e.LinkPreview,{image:p,inline:!0,title:"Lorem ipsum dolor sit amet consectetur. Quis risus nibh tincidunt platea. A donec amet gravida aliquam sed eget aliquet sollicitudin turpis.",link:"voiceflow.com"}),e.jsxRuntimeExports.jsx(e.LinkPreview,{image:p,inline:!0,title:"Lorem ipsum dolor sit amet consectetur. Quis risus nibh tincidunt platea. A donec amet gravida aliquam sed eget aliquet sollicitudin turpis.",link:"voiceflow.com"}),e.jsxRuntimeExports.jsx(e.LinkPreview,{image:p,inline:!0,title:"Lorem ipsum dolor sit amet consectetur. Quis risus nibh tincidunt platea. A donec amet gravida aliquam sed eget aliquet sollicitudin turpis.",link:"voiceflow.com"})]})}},F={args:{text:S}},W={args:{text:V}},Z={args:{text:v},render:({children:t,...o})=>e.jsxRuntimeExports.jsx("div",{style:{maxWidth:"300px"},children:e.jsxRuntimeExports.jsx(e.AgentMessage,{...o})})},X={args:{text:H}},K={args:{text:D}},Q=({message:t})=>{const[o,i]=f.useState("");return f.useEffect(()=>{let s=0;const u=setInterval(()=>{i(t.slice(0,s+1)),s++,s===t.length&&clearInterval(u)},5);return()=>clearInterval(u)},[t]),e.jsxRuntimeExports.jsx(e.AgentMessage,{text:o})},$={render:()=>e.jsxRuntimeExports.jsx(Q,{message:Y}),parameters:{chromatic:{disableSnapshot:!0}}},ee={render:()=>e.jsxRuntimeExports.jsx(Q,{message:S}),parameters:{chromatic:{disableSnapshot:!0}}},te=Object.freeze(Object.defineProperty({__proto__:null,AIGenerated:z,CodeResponse:Z,InlineCode:W,Lists:K,Markdown:F,Small:J,Streaming:$,StreamingFullMarkdown:ee,Tables:X,WithLink:G,default:U},Symbol.toStringTag,{value:"Module"})),E="data:image/png;base64, ",oe={title:"Core/Avatar",component:e.Avatar,argTypes:{size:{options:["small","large"],control:{type:"radio"},defaultValue:"small"}},args:{avatar:E}},ne={args:{size:"small"}},se={args:{size:"large"}},ae=Object.freeze(Object.defineProperty({__proto__:null,Large:se,Small:ne,default:oe},Symbol.toStringTag,{value:"Module"}));var P={},C={};const re=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),ie=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),le=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),ce=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),ue=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),de=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),ge=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),me=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Ae=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),pe=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),he=Object.freeze(Object.defineProperty({__proto__:null,AIResponse:ie,Buttons:le,Capture:ce,CaptureV2:ue,CardV2:de,Interaction:ge,Prompt:me,Speak:Ae,Utils:pe},Symbol.toStringTag,{value:"Module"})),Ee=(t={})=>({...e.defaultPlatformData(t)}),fe=Object.freeze(Object.defineProperty({__proto__:null,defaultPlatformData:Ee},Symbol.toStringTag,{value:"Module"})),ye=e.createNodeTypeguard(e.NodeType.SPEAK),Ie=e.createNodeTypeguard(e.NodeType.CAPTURE),xe=e.createNodeTypeguard(e.NodeType.CAPTURE_V2),Ce=e.createNodeTypeguard(e.NodeType.INTERACTION),we=Object.freeze(Object.defineProperty({__proto__:null,isCapture:Ie,isCaptureV2:xe,isInteraction:Ce,isSpeak:ye},Symbol.toStringTag,{value:"Module"})),T=(t,o)=>t!=null&&t.content?{voice:t.voice||o,content:t.content}:null,be=Object.freeze(Object.defineProperty({__proto__:null,defaultPrompt:T},Symbol.toStringTag,{value:"Module"})),Be=e.createStepTypeguard(e.NodeType.SPEAK),je=e.createStepTypeguard(e.NodeType.PROMPT),ve=e.createStepTypeguard(e.NodeType.BUTTONS),Se=e.createStepTypeguard(e.NodeType.CAPTURE),Qe=e.createStepTypeguard(e.NodeType.CAPTURE_V2),Pe=Object.freeze(Object.defineProperty({__proto__:null,isButtons:ve,isCapture:Se,isCaptureV2:Qe,isPrompt:je,isSpeak:Be},Symbol.toStringTag,{value:"Module"})),Te=Object.freeze(Object.defineProperty({__proto__:null,node:we,prompt:be,step:Pe},Symbol.toStringTag,{value:"Module"})),R=({error:t,defaultVoice:o=null,...i},{defaultPromptVoice:s})=>({...e.defaultSettings(i),error:T(t,o??s),defaultVoice:o}),Re=({intents:t=[],settings:o={},...i},s)=>({...e.defaultPlatformData$1(i),intents:t,settings:R(o,s)}),ke=Object.freeze(Object.defineProperty({__proto__:null,defaultPlatformData:Re,defaultSettings:R},Symbol.toStringTag,{value:"Module"})),_e=Object.freeze(Object.defineProperty({__proto__:null,VoiceModels:re,VoiceNode:he,VoiceProject:fe,VoiceUtils:Te,VoiceVersion:ke},Symbol.toStringTag,{value:"Module"})),k=e.getAugmentedNamespace(_e);var w={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultVoiceSettings=t.defaultSharedVoiceSettings=void 0;const o=k,i=e.constants,s=e.base,u=(m={})=>({...o.VoiceVersion.defaultSettings(m,{defaultPromptVoice:i.Voice.DEFAULT})});t.defaultSharedVoiceSettings=u;const l=(m={})=>({...(0,t.defaultSharedVoiceSettings)(m),...(0,s.defaultBaseSettings)(m)});t.defaultVoiceSettings=l})(w);(function(t){var o=e.commonjsGlobal&&e.commonjsGlobal.__createBinding||(Object.create?function(a,n,r,c){c===void 0&&(c=r);var d=Object.getOwnPropertyDescriptor(n,r);(!d||("get"in d?!n.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return n[r]}}),Object.defineProperty(a,c,d)}:function(a,n,r,c){c===void 0&&(c=r),a[c]=n[r]}),i=e.commonjsGlobal&&e.commonjsGlobal.__exportStar||function(a,n){for(var r in a)r!=="default"&&!Object.prototype.hasOwnProperty.call(n,r)&&o(n,a,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultVoicePlatformData=t.defaultSharedVoicePlatformData=void 0;const s=k,u=e.constants,l=w;i(w,t);const m=({settings:a,...n})=>({...s.VoiceVersion.defaultPlatformData(n,{defaultPromptVoice:u.Voice.DEFAULT}),settings:(0,l.defaultSharedVoiceSettings)(a)});t.defaultSharedVoicePlatformData=m;const y=({settings:a,...n})=>({...(0,t.defaultSharedVoicePlatformData)(n),settings:(0,l.defaultVoiceSettings)(a)});t.defaultVoicePlatformData=y})(C);(function(t){var o=e.commonjsGlobal&&e.commonjsGlobal.__createBinding||(Object.create?function(a,n,r,c){c===void 0&&(c=r);var d=Object.getOwnPropertyDescriptor(n,r);(!d||("get"in d?!n.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return n[r]}}),Object.defineProperty(a,c,d)}:function(a,n,r,c){c===void 0&&(c=r),a[c]=n[r]}),i=e.commonjsGlobal&&e.commonjsGlobal.__exportStar||function(a,n){for(var r in a)r!=="default"&&!Object.prototype.hasOwnProperty.call(n,r)&&o(n,a,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultSettings=t.defaultPlatformData=void 0;const s=e.constants,u=e.chat,l=C;i(e.base,t),i(e.chat,t),i(C,t);const m=(a,n)=>{switch(a){case s.ProjectType.CHAT:return(0,u.defaultChatPlatformData)(n);case s.ProjectType.VOICE:return(0,l.defaultVoicePlatformData)(n);default:throw new Error(`Unknown project type: ${a}`)}};t.defaultPlatformData=m;const y=(a,n)=>{switch(a){case s.ProjectType.CHAT:return(0,u.defaultChatSettings)(n);case s.ProjectType.VOICE:return(0,l.defaultVoiceSettings)(n);default:throw new Error(`Unknown project type: ${a}`)}};t.defaultSettings=y})(P);const _={type:e.WidgetSettingsWidgetType.CHAT,chat:{voiceInput:!0,voiceOutput:!0,renderMode:e.WidgetSettingsChatRenderMode.WIDGET,headerImage:{enabled:!0},agentImage:{enabled:!0},banner:{enabled:!0,title:"Your AI agent",description:"How can I help you today?"},placeholderText:"Message...",aiDisclaimer:{enabled:!0,text:"Generated by AI, double-check for accuracy."},handoffToAgentImageURL:""},voice:{renderMode:e.WidgetSettingsVoiceRenderMode.FULL,content:{callToActionText:"How can I help you?",startButtonText:"Start a call",listeningText:"Listening",talkingText:"Talk to interrupt",endButtonText:"End"}},common:{fontFamily:"UCity Pro",launcher:{text:"Your text",type:e.WidgetSettingsLauncherType.ICON},poweredBy:!0,footerLink:{enabled:!0,text:"Privacy"},position:e.WidgetSettingsWidgetPosition.RIGHT,sideSpacing:"20",bottomSpacing:"20",primaryColor:{color:e.WIDGET_SETTINGS_DEFAULT_MAIN_COLOR,palette:e.WIDGET_SETTINGS_DEFAULT_PALETTE},persistence:P.ChatPersistence.LOCAL_STORAGE},stylesheet:"",extensions:[]},g=(t,{args:o})=>e.jsxRuntimeExports.jsx("div",{style:e.assignInlineVars(e.PALETTE,{colors:e.createPalette()}),children:e.jsxRuntimeExports.jsx(t,{args:{...o}})}),L=t=>e.jsxRuntimeExports.jsx(e.RuntimeProvider,{config:{verify:{projectID:"project-id"},url:"",versionID:"version-id",autostart:!0,allowDangerousHTML:!0,user:{name:"User"},render:{mode:e.RenderMode.OVERLAY}},assistant:{..._},children:t()}),Le="test-id",Me={title:"Core/Button",component:e.Button,argTypes:{variant:{options:Object.values(e.ButtonVariant),control:{type:"radio"},defaultValue:e.ButtonVariant.PRIMARY}},args:{children:"Button label",round:!1,onClick:()=>{alert("Button clicked")},testID:Le},decorators:[g]},Oe={args:{variant:e.ButtonVariant.PRIMARY}},Ve={args:{variant:e.ButtonVariant.PRIMARY,large:"true"}},De={args:{variant:e.ButtonVariant.SECONDARY}},He={args:{variant:e.ButtonVariant.SECONDARY,large:"true"}},Ne={args:{variant:e.ButtonVariant.INLINE}},qe={args:{variant:e.ButtonVariant.INLINE,children:"Button label that is very long and should wrap. Button label that is very long and should wrap."},render:()=>e.jsxRuntimeExports.jsx("div",{style:{width:"200px"},children:e.jsxRuntimeExports.jsx(e.Button,{variant:e.ButtonVariant.INLINE,large:"true",children:"Button label that is very long and should wrap. Button label that is very long and should wrap."})})},Ye=Object.freeze(Object.defineProperty({__proto__:null,Inline:Ne,InlineWrapped:qe,Primary:Oe,PrimaryLarge:Ve,Secondary:De,SecondaryLarge:He,default:Me},Symbol.toStringTag,{value:"Module"})),Ue={title:"Components/Card",component:e.Card,args:{title:"Title",image:"",description:"Description.",actions:[]}},Je={},ze={args:{description:void 0}},Ge={args:{title:void 0}},x={args:{image:p}},Fe={args:{...x.args,actions:[{request:{},name:"Label"},{request:{},name:"Label"},{request:{},name:"Label"}]}},We={args:{title:void 0,description:void 0,actions:[{request:{},name:"Label"},{request:{},name:"Label"},{request:{},name:"Label"}]}},Ze={args:{...x.args,actions:[{request:{},name:"First Button with a very long long long wrapping label"},{request:{},name:"Second Button with a shorter text"},{request:{},name:"Third button, also with a shorter text"}]}},Xe={args:{...x.args,title:"Long card title to wrap inside the card. Some more text to test the growth of card.",actions:[{request:{},name:"First Button"}]}},Ke=Object.freeze(Object.defineProperty({__proto__:null,Actionable:Fe,OnlyActions:We,OnlyDescription:Ge,OnlyTitle:ze,Simple:Je,WithImage:x,WithLongLabels:Ze,WithLongTitle:Xe,default:Ue},Symbol.toStringTag,{value:"Module"})),$e="https://picsum.photos/seed/9/300/200",et={component:e.Carousel,title:"Components/Carousel",decorators:[t=>e.jsxRuntimeExports.jsx(e.RuntimeProvider,{config:{verify:{projectID:"project-id"},url:"",versionID:"version-id",autostart:!0,allowDangerousHTML:!0,user:{name:"User"},render:{mode:e.RenderMode.OVERLAY}},assistant:{..._},children:t()}),g]},M=$e,O={title:"First Card",description:"Lorem ipsum dolor sit amet",image:M,actions:[{request:{},name:"First Button"},{request:{},name:"Second Button"},{request:{},name:"Third Button"}]},b=[O,{title:"Second Card",description:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Exercitationem voluptas perspiciatis est quis dolores!",image:M},{title:"Third Card with a long title that wraps",description:"Lorem ipsum dolor sit amet consectetur adipisicing elit.",actions:[{request:{},name:"Fourth Button with a long label that wraps"},{request:{},name:"Fifth Button"}]}],tt={render:()=>e.jsxRuntimeExports.jsx("div",{style:{width:"380px"},children:e.jsxRuntimeExports.jsxs(e.NewChat,{welcomeMessageProps:{enabled:!0,title:"Your awesome assistant",description:"Im hot, youre not, deal with it"},headerProps:{showImage:!0,title:"Your awesome assistant"},footerProps:{showPoweredBy:!0,extraLinkText:"Privacy",extraLinkUrl:"https://voiceflow.com",messageInputProps:{onSubmit:async t=>Promise.resolve(),placeholder:"Message..."}},isLoading:!1,hasEnded:!1,children:[e.jsxRuntimeExports.jsx(e.SystemMessage,{avatar:e.DEFAULT_AVATAR,message:{type:e.MessageType.CAROUSEL,cards:b},withImage:!1}),e.jsxRuntimeExports.jsx(e.SystemMessage,{avatar:e.DEFAULT_AVATAR,message:{type:e.MessageType.TEXT,text:"Do you like this carousel ?"},withImage:!0})]})})},ot={args:{cards:[O]}},nt={args:{cards:b}},st={args:{cards:b}},at=Object.freeze(Object.defineProperty({__proto__:null,Default:tt,MultipleCards:nt,SingleCard:ot,WithControls:st,default:et},Symbol.toStringTag,{value:"Module"})),rt={title:"Core/Carousel Button",component:e.CarouselButton,args:{visible:!0}},it={args:{direction:"right"}},lt={args:{direction:"left"}},ct=Object.freeze(Object.defineProperty({__proto__:null,Left:lt,Right:it,default:rt},Symbol.toStringTag,{value:"Module"})),ut=["orange","#397DFF","#A3E4D7","red","#F1948A","#0000FF","#85C1E9","#F7DC6F","#BB8FCE","green","black","yellow","purple"],dt={title:"Theme/Colors",component:e.ColorTheme},gt={render:()=>e.jsxRuntimeExports.jsx("div",{children:ut.map((t,o)=>e.jsxRuntimeExports.jsx("div",{style:{marginBottom:"2rem"},children:e.jsxRuntimeExports.jsx(e.ColorTheme,{color:t})},o))})},mt=Object.freeze(Object.defineProperty({__proto__:null,Primary:gt,default:dt},Symbol.toStringTag,{value:"Module"})),At={title:"Button/FeedbackButton",component:e.FeedbackButton,args:{}},pt={render:()=>e.jsxRuntimeExports.jsx("div",{style:{width:"400px",...e.assignInlineVars(e.PALETTE,{colors:e.createPalette("green")})},children:e.jsxRuntimeExports.jsx(e.FeedbackButton,{textContent:"Howdy",onClick:()=>null,variant:e.FeedbackButtonVariant.PREVIOUS_RESPONSE})})},ht={render:()=>e.jsxRuntimeExports.jsx("div",{style:{width:"400px",...e.assignInlineVars(e.PALETTE,{colors:e.createPalette("red")})},children:e.jsxRuntimeExports.jsx(e.FeedbackButton,{textContent:"Howdy",onClick:()=>null,variant:e.FeedbackButtonVariant.LAST_RESPONSE})})},Et=Object.freeze(Object.defineProperty({__proto__:null,LastResponse:ht,PreviousResponse:pt,default:At},Symbol.toStringTag,{value:"Module"})),ft={title:"Components/Chat/Header",component:e.Header,args:{title:"Agent name",image:E,actions:[]},render:t=>e.jsxRuntimeExports.jsx(e.Header,{...t}),decorators:[g]},yt={},It={args:{actions:[{svg:"volume"},{svg:"reset"}]}},xt={args:{actions:[{svg:"mute"},{svg:"reset"}]}},Ct={args:{actions:[{svg:"volume"},{svg:"reset"}]},decorators:[g]},wt={args:{actions:[{svg:"volume"},{svg:"reset"}],image:void 0},decorators:[g]},bt={args:{actions:[{svg:"volume"},{svg:"reset"},{svg:"close"}]},decorators:[g]},Bt=Object.freeze(Object.defineProperty({__proto__:null,Actionable:It,Base:yt,Mobile:bt,Muted:xt,NoImage:wt,Themed:Ct,default:ft},Symbol.toStringTag,{value:"Module"})),jt={title:"Components/Launcher",component:e.Launcher,parameters:{controls:{hideNoControlsWarning:!0}},decorators:[g]},B=t=>{const[o,i]=f.useState(!1),s=()=>{i(u=>!u)};return e.jsxRuntimeExports.jsx(e.Launcher,{isOpen:o,onClick:s,...t})},vt={render:()=>e.jsxRuntimeExports.jsx(B,{})},St={render:()=>e.jsxRuntimeExports.jsx(B,{image:p})},Qt={render:()=>e.jsxRuntimeExports.jsx(B,{image:p,label:"Label"})},Pt=Object.freeze(Object.defineProperty({__proto__:null,Base:vt,WithCustomIcon:St,WithLabel:Qt,default:jt},Symbol.toStringTag,{value:"Module"})),Tt={title:"Components/LinkPreview",component:e.LinkPreview,parameters:{controls:{hideNoControlsWarning:!0}}},Rt={args:{image:p,title:"Lorem ipsum dolor sit amet consectetur. Quis risus nibh tincidunt platea. A donec amet gravida aliquam sed eget aliquet sollicitudin turpis.",link:"websiteexample.com"}},kt={args:{title:"Lorem ipsum dolor sit amet consectetur. Quis risus nibh tincidunt platea. A donec amet gravida aliquam sed eget aliquet sollicitudin turpis.",link:"websiteexample.com"}},_t={args:{title:"Lorem ipsum dolor sit amet consectetur. Quis risus nibh tincidunt platea. A donec amet gravida aliquam sed eget aliquet sollicitudin turpis.",link:"https://google.com"}},Lt={args:{title:"Lorem ipsum dolor sit amet consectetur. Quis risus nibh tincidunt platea. A donec amet gravida aliquam sed eget aliquet sollicitudin turpis.",link:"some_guide.pdf"}},Mt={args:{inline:!0,image:p,title:"Lorem ipsum dolor sit amet consectetur. Quis risus nibh tincidunt platea. A donec amet gravida aliquam sed eget aliquet sollicitudin turpis.",link:"websiteexample.com"}},Ot={args:{inline:!0,title:"Lorem ipsum dolor sit amet consectetur. Quis risus nibh tincidunt platea. A donec amet gravida aliquam sed eget aliquet sollicitudin turpis.",link:"websiteexample.com"}},Vt={args:{inline:!0,title:"Lorem ipsum dolor sit amet consectetur. Quis risus nibh tincidunt platea. A donec amet gravida aliquam sed eget aliquet sollicitudin turpis.",link:"https://google.com"}},Dt={args:{inline:!0,title:"Lorem ipsum dolor sit amet consectetur. Quis risus nibh tincidunt platea. A donec amet gravida aliquam sed eget aliquet sollicitudin turpis.",link:"some_guide.pdf"}},Ht=Object.freeze(Object.defineProperty({__proto__:null,Default:Rt,DocumentPdf:Lt,DocumentUrl:_t,Inline:Mt,InlineDocumentPdf:Dt,InlineDocumentUrl:Vt,Loading:kt,LoadingInline:Ot,default:Tt},Symbol.toStringTag,{value:"Module"}));var Nt=e.createRuntimeFn({defaultClassName:"_5q07fe0",variantClassNames:{isOpen:{true:"_5q07fe1",false:"_5q07fe2"}},defaultVariants:{},compoundVariants:[]});const qt={title:"Core/MessageInput",component:e.MessageInput,decorators:[g,t=>e.jsxRuntimeExports.jsx("div",{style:{width:"400px"},children:e.jsxRuntimeExports.jsx(t,{})})]},Yt=()=>e.jsxRuntimeExports.jsx("div",{style:{width:"380px"},children:e.jsxRuntimeExports.jsx(e.MessageInput,{placeholder:"Message...",onSubmit:()=>Promise.resolve()})}),Ut={render:()=>e.jsxRuntimeExports.jsx(Yt,{})},Jt={render:()=>e.jsxRuntimeExports.jsx("div",{style:{width:"380px"},children:e.jsxRuntimeExports.jsx(e.MessageInput,{placeholder:"Message...",disableSend:!1,audioInterface:!0,onSubmit:()=>Promise.resolve()})})},zt=()=>{const[t,o]=f.useState(!1);return e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx("div",{className:Nt({isOpen:t}),children:e.jsxRuntimeExports.jsx(e.MessageInput,{placeholder:"Message...",disableSend:!1,audioInterface:!0,onSubmit:()=>Promise.resolve()})}),e.jsxRuntimeExports.jsx("button",{style:{position:"absolute",top:10,right:10},onClick:()=>o(!t),children:"Toggle"})]})},Gt={render:()=>e.jsxRuntimeExports.jsx(zt,{})},Ft=Object.freeze(Object.defineProperty({__proto__:null,AnimationTest:Gt,Base:Ut,WithAudioInput:Jt,default:qt},Symbol.toStringTag,{value:"Module"})),Wt={title:"Widget",parameters:{layout:"centered"},decorators:[L,g]},A=t=>e.jsxRuntimeExports.jsx(e.SystemResponse,{avatar:E,timestamp:Date.now(),messages:t.map(o=>({type:"text",text:o}))}),h=t=>e.jsxRuntimeExports.jsx(e.UserResponse,{message:t,timestamp:Date.now()}),j=({isLoading:t})=>{const[o,i]=f.useState([{type:"User",text:"Cool, great weather ☀️"},{type:"User",text:"How bout you? What about Bob? How has he been. Is he ok. Should I separate these messages?"},{type:"Agent",text:"Howdy, great to meet you!"},{type:"Agent",text:"What up"},{type:"User",text:"How bout you?"},{type:"Agent",text:"Howdy, great to meet you!"},{type:"Agent",text:"What up"},{type:"User",text:"How bout you?"},{type:"Agent",text:"Howdy, great to meet you!"},{type:"Agent",text:"What up"},{type:"User",text:"How bout you? Hows it going does this hit the loading state at the bottom of the chat?"}]),s=["How are you today?","Nice to hear from you!","I’m here to help!","What can I do for you?","Good to see you!"],u=async l=>{if(!l)return;const m=[...o],y=s[Math.floor(Math.random()*s.length)];m.push({type:"Agent",text:y}),i(m)};return e.jsxRuntimeExports.jsxs(e.NewChat,{welcomeMessageProps:{enabled:!0,title:"Your AI assistant",description:"Hello, I am here to help with whatever you need."},headerProps:{showImage:!0,title:"Your AI assistant"},footerProps:{showPoweredBy:!0,extraLinkText:"Privacy",extraLinkUrl:"https://voiceflow.com",messageInputProps:{onSubmit:async l=>u(l),placeholder:"Message..."}},isLoading:!1,hasEnded:!1,children:[o.map(l=>l.type==="Agent"?A([l.text]):h(l.text)),t&&e.jsxRuntimeExports.jsx(e.Indicator,{avatar:E})]})},Zt={render:()=>e.jsxRuntimeExports.jsx(j,{})},Xt={render:()=>e.jsxRuntimeExports.jsx("div",{style:e.assignInlineVars(e.PALETTE,{colors:e.createPalette("red")}),children:e.jsxRuntimeExports.jsx(j,{})})},Kt={render:()=>e.jsxRuntimeExports.jsx(j,{isLoading:!0})},$t={render:()=>e.jsxRuntimeExports.jsxs("div",{style:{display:"flex",gap:"32px"},children:[e.jsxRuntimeExports.jsx("div",{style:{width:"400px",...e.assignInlineVars(e.PALETTE,{colors:e.createPalette("red")})},children:e.jsxRuntimeExports.jsx(e.NewChat,{welcomeMessageProps:{enabled:!0,title:"Your AI assistant",description:"Hello, I am here to help with whatever you need."},headerProps:{showImage:!0,title:"Your AI assistant"},footerProps:{showPoweredBy:!0,extraLinkText:"Privacy",extraLinkUrl:"https://voiceflow.com",messageInputProps:{onSubmit:async t=>Promise.resolve(),placeholder:"Message..."}},isLoading:!1,hasEnded:!1})}),e.jsxRuntimeExports.jsx("div",{style:{width:"400px",...e.assignInlineVars(e.PALETTE,{colors:e.createPalette("green")})},children:e.jsxRuntimeExports.jsx(e.NewChat,{welcomeMessageProps:{enabled:!0,title:"Your AI assistant",description:"Hello, I am here to help with whatever you need."},headerProps:{showImage:!0,title:"Your AI assistant"},footerProps:{showPoweredBy:!0,extraLinkText:"Privacy",extraLinkUrl:"https://voiceflow.com",messageInputProps:{onSubmit:async t=>Promise.resolve(),placeholder:"Message..."}},isLoading:!1,hasEnded:!1})}),e.jsxRuntimeExports.jsx("div",{style:{width:"400px",...e.assignInlineVars(e.PALETTE,{colors:e.createPalette("purple")})},children:e.jsxRuntimeExports.jsx(e.NewChat,{welcomeMessageProps:{enabled:!0,title:"",description:""},headerProps:{showImage:!0,title:"Your AI assistant"},footerProps:{showPoweredBy:!0,extraLinkText:"Privacy",extraLinkUrl:"https://voiceflow.com",messageInputProps:{onSubmit:async t=>Promise.resolve(),placeholder:"Message..."}},isLoading:!1,hasEnded:!1})})]})},eo={render:()=>e.jsxRuntimeExports.jsx(e.NewChat,{welcomeMessageProps:{enabled:!0,title:"Your AI assistant",description:"Let's get this party started already!"},headerProps:{showImage:!0,title:"Your AI assistant"},footerProps:{showPoweredBy:!1,extraLinkText:"Privacy",extraLinkUrl:"https://voiceflow.com",messageInputProps:{onSubmit:async t=>Promise.resolve(),placeholder:"Message..."}},isLoading:!1,hasEnded:!1})},to={render:()=>e.jsxRuntimeExports.jsx(e.NewChat,{welcomeMessageProps:{enabled:!0,title:"Your AI assistant",description:"Hello, I am here to help with whatever you need."},headerProps:{showImage:!0,title:"Your AI assistant"},footerProps:{showPoweredBy:!0,extraLinkText:"",extraLinkUrl:"",messageInputProps:{onSubmit:async t=>Promise.resolve(),placeholder:"Message..."}},isLoading:!1,hasEnded:!1})},oo={render:()=>e.jsxRuntimeExports.jsxs(e.NewChat,{welcomeMessageProps:{enabled:!0,title:"Your AI assistant",description:"Hello, I am here to help with whatever you need."},headerProps:{showImage:!0,title:"Your AI assistant"},footerProps:{showPoweredBy:!1,extraLinkText:"",extraLinkUrl:"",messageInputProps:{onSubmit:async t=>Promise.resolve(),placeholder:"Message..."}},isLoading:!1,hasEnded:!1,children:[A(["👋🏻 Good morning!","How are you today?","How can I help you ?"]),h("How bout you?"),A(["Thanks for asking","here are some cool emojis:","😝 ✌️ ☎️  🤦🏼‍♀️  🤯"]),A(["Anything else I can do to help you today?"]),h("Dont think so. Everything else is amazing!"),A(["ok, so bye for now"])]})},no={render:()=>e.jsxRuntimeExports.jsxs(e.NewChat,{welcomeMessageProps:{enabled:!0,title:"Your amazing assistant",description:"Let's get this party started already!"},headerProps:{showImage:!0,title:"Your AI assistant"},footerProps:{showPoweredBy:!0,extraLinkText:"Privacy",extraLinkUrl:"https://voiceflow.com",messageInputProps:{onSubmit:async t=>Promise.resolve(),placeholder:"Message..."}},isLoading:!1,hasEnded:!0,children:[A(["👋🏻 Good morning!","How are you today?","How can I help you ?"]),h("How bout you?"),A(["Thanks for asking","here are some cool emojis:","😝 ✌️ ☎️  🤦🏼‍♀️  🤯"]),h("Cool, I *LOVE* emojis!"),A([`I know.
That's why I sent you some.`]),h("🤯"),A(["Anything else I can do to help you today?"]),h("Dont think so. Everything else is amazing!"),A(["ok, so bye for now"])]})},so=Object.freeze(Object.defineProperty({__proto__:null,Base:Zt,BaseThemed:Xt,ChatEnded:no,LoadingState:Kt,NoFooterLinks:oo,NoPoweredBy:eo,OnlyPoweredBy:to,Themed:$t,default:Wt},Symbol.toStringTag,{value:"Module"})),ao=t=>{const[o,i]=f.useState(!0);return e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx("div",{style:{height:250,backgroundColor:"lavender"}}),e.jsxRuntimeExports.jsx("button",{onClick:()=>i(s=>!s),children:"Show Prompt"}),e.jsxRuntimeExports.jsx(e.Prompt,{...t,visible:o})]})},ro={title:"Components/Chat/Prompt",component:e.Prompt,args:{cancel:{label:"Cancel"}},render:t=>e.jsxRuntimeExports.jsx(ao,{...t}),decorators:[g]},io={args:{visible:!0,accept:{label:"Primary Action"}}},lo={args:{visible:!0,accept:{label:"Dangerous Action"}}},co=Object.freeze(Object.defineProperty({__proto__:null,Base:io,Dangerous:lo,default:ro},Symbol.toStringTag,{value:"Module"})),uo={title:"Core/Send Button",component:e.SendButton,decorators:[g]},go={args:{disabled:!1,color:"#387dff"}},mo={args:{disabled:!0,color:"#387dff"}},Ao=Object.freeze(Object.defineProperty({__proto__:null,Default:go,Disabled:mo,default:uo},Symbol.toStringTag,{value:"Module"})),po={title:"Components/TypingIndicator",component:e.TypingIndicator,decorators:[L,g]},ho={args:{}},Eo={render:()=>e.jsxRuntimeExports.jsx("div",{style:{width:"380px"},children:e.jsxRuntimeExports.jsxs(e.NewChat,{welcomeMessageProps:{enabled:!0,title:"Your AI assistant",description:"It's tricky to rock a rhyme, to rock a rhyme thats right on time, it's tricky"},headerProps:{showImage:!0,title:"Your AI assistant"},footerProps:{showPoweredBy:!0,extraLinkText:"Privacy",extraLinkUrl:"https://voiceflow.com",messageInputProps:{onSubmit:async t=>Promise.resolve(),placeholder:"Message..."}},isLoading:!1,hasEnded:!1,children:[e.jsxRuntimeExports.jsx(e.SystemMessage,{avatar:e.DEFAULT_AVATAR,withImage:!1,message:{type:"text",text:"Good morning"}}),e.jsxRuntimeExports.jsx(e.Indicator,{avatar:e.DEFAULT_AVATAR})]})})},fo=Object.freeze(Object.defineProperty({__proto__:null,Default:ho,InsideChat:Eo,default:po},Symbol.toStringTag,{value:"Module"})),yo={title:"Core/WelcomeMessage",component:e.WelcomeMessage,args:{avatar:E},parameters:{layout:"centered"},decorators:[t=>e.jsxRuntimeExports.jsx("div",{className:e.widgetContainer.classNames.variants.withChat.true,children:e.jsxRuntimeExports.jsx(t,{})})]},Io={args:{avatar:E,title:"Agent name",description:"Agent description."}},xo={args:{avatar:E,title:"Hello, I am your #1 favourite AI assistant, meant to help you out in all sorts of ways. Hello, I am your #1 favourite AI assistant, meant to help you out in all sorts of ways. Hello, I am your #1 favourite AI assistant, meant to help you out in all sorts of ways. Hello, I am your #1 favourite AI assistant, meant to help you out in all sorts of ways. Hello, I am your #1 favourite AI assistant, meant to help you out in all sorts of ways.",description:"I can do tons of stuff, like help you with your account, answer questions, and even tell you a joke or two. Just ask me anything! I can do tons of stuff, like help you with your account, answer questions, and even tell you a joke or two. Just ask me anything! I can do tons of stuff, like help you with your account, answer questions, and even tell you a joke or two. Just ask me anything!I can do tons of stuff, like help you with your account, answer questions, and even tell you a joke or two. Just ask me anything! I can do tons of stuff, like help you with your account, answer questions, and even tell you a joke or two. Just ask me anything! I can do tons of stuff, like help you with your account, answer questions, and even tell you a joke or two. Just ask me anything!"},render:t=>e.jsxRuntimeExports.jsxs("div",{children:["Mock container",e.jsxRuntimeExports.jsx("div",{style:{border:"1px solid black"},children:e.jsxRuntimeExports.jsx(e.WelcomeMessage,{...t})})]})},Co=Object.freeze(Object.defineProperty({__proto__:null,Base:Io,LongContent:xo,default:yo},Symbol.toStringTag,{value:"Module"}));exports.AgentMessage=te;exports.Avatar=ae;exports.Button=Ye;exports.Card=Ke;exports.Carousel=at;exports.CarouselButton=ct;exports.ColorTheme=mt;exports.FeedbackButton=Et;exports.Header=Bt;exports.Launcher=Pt;exports.LinkPreview=Ht;exports.MessageInput=Ft;exports.NewChat=so;exports.Prompt=co;exports.SendButton=Ao;exports.TypingIndicator=fo;exports.WelcomeMessage=Co;
