import { a8 as Ae, ao as h, A as D, j as t, z as P, r as me, ap as pe, aq as j, ar as y, as as Q, at as he, au as fe, av as ye, aw as V, ax as z, ay as I, az as N, aA as Ie, aB as Ce, aC as Ee, aD as we, aE as Be, aF as be, aG as ve, k as w, aH as B, P as b, _ as G, ad as F, B as W, aI as f, t as Se, u as Qe, N as p, aJ as M, $ as k, aK as xe, v as Z, F as H, aL as X, H as J, n as K, aM as Pe, M as T, f as ke, U as je, h as $, G as ee, J as Te, Q as _e, W as te, w as Le } from "./styles.css-zU0V5IfP.mjs";
import { useState as x, useEffect as Me } from "react";
const oe = `\`\`\`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>
\`\`\`
`, Re = `# 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);
  }
}
\`\`\`
`, Oe = `# 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.

---
`, De = `# 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

---
`, ne = `# 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~~
`, _ = [{ type: "paragraph", children: [{ text: "Hello, world!" }] }], Ve = { type: "speak", payload: { message: "End of conversation." } }, He = {
  name: "SampleExtension",
  type: Ae.RESPONSE,
  match() {
    throw new Error("Function not implemented.");
  }
};
h.TEXT;
h.TEXT;
h.IMAGE;
h.CARD;
h.CAROUSEL;
h.END;
h.EXTENSION;
const C = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABlSURBVHgB7ZOxCYBQDEQvH2LhKI7h0nauYOcoIkE4d0hzgvf6QOC9i+24+WBCl3UJzP1zDERAyYCYDzxAQokbsAIrsAI3IG8gqoqZiS77SVyFNoNqBfH7GcoVQIwb8AytwArcwAspAyS5uk3juAAAAABJRU5ErkJggg==", qe = "Howdy folks how yall doing out there?", Ye = {
  title: "Core/AgentMessage",
  component: D
}, Ue = {
  args: {
    text: _
  }
}, Ne = {
  args: {
    text: _,
    ai: !0,
    generatedMessage: "Generated by AI, double-check for accuracy."
  }
}, Je = {
  args: {
    text: _,
    ai: !0,
    generatedMessage: "Generated by AI, double-check for accuracy.",
    children: /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
      /* @__PURE__ */ t.jsx(
        P,
        {
          image: C,
          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"
        }
      ),
      /* @__PURE__ */ t.jsx(
        P,
        {
          image: C,
          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"
        }
      ),
      /* @__PURE__ */ t.jsx(
        P,
        {
          image: C,
          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"
        }
      )
    ] })
  }
}, ze = {
  args: {
    text: ne
  }
}, Ge = {
  args: {
    text: Re
  }
}, Fe = {
  args: {
    text: oe
  },
  render: ({ children: e, ...o }) => /* @__PURE__ */ t.jsx("div", { style: { maxWidth: "300px" }, children: /* @__PURE__ */ t.jsx(D, { ...o }) })
}, We = {
  args: {
    text: De
  }
}, Ze = {
  args: {
    text: Oe
  }
}, se = ({ message: e }) => {
  const [o, i] = x("");
  return Me(() => {
    let s = 0;
    const d = setInterval(() => {
      i(e.slice(0, s + 1)), s++, s === e.length && clearInterval(d);
    }, 5);
    return () => clearInterval(d);
  }, [e]), /* @__PURE__ */ t.jsx(D, { text: o });
}, Xe = {
  render: () => /* @__PURE__ */ t.jsx(se, { message: qe }),
  parameters: {
    chromatic: { disableSnapshot: !0 }
  }
}, Ke = {
  render: () => /* @__PURE__ */ t.jsx(se, { message: ne }),
  parameters: {
    chromatic: { disableSnapshot: !0 }
  }
}, rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  AIGenerated: Ne,
  CodeResponse: Fe,
  InlineCode: Ge,
  Lists: Ze,
  Markdown: ze,
  Small: Ue,
  Streaming: Xe,
  StreamingFullMarkdown: Ke,
  Tables: We,
  WithLink: Je,
  default: Ye
}, Symbol.toStringTag, { value: "Module" })), v = "data:image/png;base64, ", $e = {
  title: "Core/Avatar",
  component: me,
  argTypes: {
    size: {
      options: ["small", "large"],
      control: { type: "radio" },
      defaultValue: "small"
    }
  },
  args: {
    avatar: v
  }
}, et = {
  args: {
    size: "small"
  }
}, tt = {
  args: {
    size: "large"
  }
}, ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  Large: tt,
  Small: et,
  default: $e
}, Symbol.toStringTag, { value: "Module" }));
var ae = {}, R = {};
const ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null
}, Symbol.toStringTag, { value: "Module" })), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null
}, Symbol.toStringTag, { value: "Module" })), st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null
}, Symbol.toStringTag, { value: "Module" })), at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null
}, Symbol.toStringTag, { value: "Module" })), rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null
}, Symbol.toStringTag, { value: "Module" })), it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null
}, Symbol.toStringTag, { value: "Module" })), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null
}, Symbol.toStringTag, { value: "Module" })), ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null
}, Symbol.toStringTag, { value: "Module" })), dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null
}, Symbol.toStringTag, { value: "Module" })), ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null
}, Symbol.toStringTag, { value: "Module" })), gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  AIResponse: nt,
  Buttons: st,
  Capture: at,
  CaptureV2: rt,
  CardV2: it,
  Interaction: lt,
  Prompt: ct,
  Speak: dt,
  Utils: ut
}, Symbol.toStringTag, { value: "Module" })), At = (e = {}) => ({
  ...pe(e)
}), mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  defaultPlatformData: At
}, Symbol.toStringTag, { value: "Module" })), pt = j(y.SPEAK), ht = j(y.CAPTURE), ft = j(y.CAPTURE_V2), yt = j(y.INTERACTION), It = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  isCapture: ht,
  isCaptureV2: ft,
  isInteraction: yt,
  isSpeak: pt
}, Symbol.toStringTag, { value: "Module" })), re = (e, o) => e != null && e.content ? {
  voice: e.voice || o,
  content: e.content
} : null, Ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  defaultPrompt: re
}, Symbol.toStringTag, { value: "Module" })), Et = Q(y.SPEAK), wt = Q(y.PROMPT), Bt = Q(y.BUTTONS), bt = Q(y.CAPTURE), vt = Q(y.CAPTURE_V2), St = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  isButtons: Bt,
  isCapture: bt,
  isCaptureV2: vt,
  isPrompt: wt,
  isSpeak: Et
}, Symbol.toStringTag, { value: "Module" })), Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  node: It,
  prompt: Ct,
  step: St
}, Symbol.toStringTag, { value: "Module" })), ie = ({ error: e, defaultVoice: o = null, ...i }, { defaultPromptVoice: s }) => ({
  ...he(i),
  error: re(e, o ?? s),
  defaultVoice: o
}), xt = ({ intents: e = [], settings: o = {}, ...i }, s) => ({
  ...fe(i),
  intents: e,
  settings: ie(o, s)
}), Pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  defaultPlatformData: xt,
  defaultSettings: ie
}, Symbol.toStringTag, { value: "Module" })), kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  VoiceModels: ot,
  VoiceNode: gt,
  VoiceProject: mt,
  VoiceUtils: Qt,
  VoiceVersion: Pt
}, Symbol.toStringTag, { value: "Module" })), le = /* @__PURE__ */ ye(kt);
var O = {};
(function(e) {
  Object.defineProperty(e, "__esModule", { value: !0 }), e.defaultVoiceSettings = e.defaultSharedVoiceSettings = void 0;
  const o = le, i = V, s = z, d = (A = {}) => ({
    ...o.VoiceVersion.defaultSettings(A, { defaultPromptVoice: i.Voice.DEFAULT })
  });
  e.defaultSharedVoiceSettings = d;
  const l = (A = {}) => ({
    ...(0, e.defaultSharedVoiceSettings)(A),
    ...(0, s.defaultBaseSettings)(A)
  });
  e.defaultVoiceSettings = l;
})(O);
(function(e) {
  var o = I && I.__createBinding || (Object.create ? function(a, n, r, c) {
    c === void 0 && (c = r);
    var u = Object.getOwnPropertyDescriptor(n, r);
    (!u || ("get" in u ? !n.__esModule : u.writable || u.configurable)) && (u = { enumerable: !0, get: function() {
      return n[r];
    } }), Object.defineProperty(a, c, u);
  } : function(a, n, r, c) {
    c === void 0 && (c = r), a[c] = n[r];
  }), i = I && I.__exportStar || function(a, n) {
    for (var r in a)
      r !== "default" && !Object.prototype.hasOwnProperty.call(n, r) && o(n, a, r);
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.defaultVoicePlatformData = e.defaultSharedVoicePlatformData = void 0;
  const s = le, d = V, l = O;
  i(O, e);
  const A = ({ settings: a, ...n }) => ({
    ...s.VoiceVersion.defaultPlatformData(n, { defaultPromptVoice: d.Voice.DEFAULT }),
    settings: (0, l.defaultSharedVoiceSettings)(a)
  });
  e.defaultSharedVoicePlatformData = A;
  const S = ({ settings: a, ...n }) => ({
    ...(0, e.defaultSharedVoicePlatformData)(n),
    settings: (0, l.defaultVoiceSettings)(a)
  });
  e.defaultVoicePlatformData = S;
})(R);
(function(e) {
  var o = I && I.__createBinding || (Object.create ? function(a, n, r, c) {
    c === void 0 && (c = r);
    var u = Object.getOwnPropertyDescriptor(n, r);
    (!u || ("get" in u ? !n.__esModule : u.writable || u.configurable)) && (u = { enumerable: !0, get: function() {
      return n[r];
    } }), Object.defineProperty(a, c, u);
  } : function(a, n, r, c) {
    c === void 0 && (c = r), a[c] = n[r];
  }), i = I && I.__exportStar || function(a, n) {
    for (var r in a)
      r !== "default" && !Object.prototype.hasOwnProperty.call(n, r) && o(n, a, r);
  };
  Object.defineProperty(e, "__esModule", { value: !0 }), e.defaultSettings = e.defaultPlatformData = void 0;
  const s = V, d = N, l = R;
  i(z, e), i(N, e), i(R, e);
  const A = (a, n) => {
    switch (a) {
      case s.ProjectType.CHAT:
        return (0, d.defaultChatPlatformData)(n);
      case s.ProjectType.VOICE:
        return (0, l.defaultVoicePlatformData)(n);
      default:
        throw new Error(`Unknown project type: ${a}`);
    }
  };
  e.defaultPlatformData = A;
  const S = (a, n) => {
    switch (a) {
      case s.ProjectType.CHAT:
        return (0, d.defaultChatSettings)(n);
      case s.ProjectType.VOICE:
        return (0, l.defaultVoiceSettings)(n);
      default:
        throw new Error(`Unknown project type: ${a}`);
    }
  };
  e.defaultSettings = S;
})(ae);
const ce = {
  type: Ie.CHAT,
  chat: {
    voiceInput: !0,
    voiceOutput: !0,
    renderMode: Ce.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: Ee.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: we.ICON
    },
    poweredBy: !0,
    footerLink: {
      enabled: !0,
      text: "Privacy"
    },
    position: Be.RIGHT,
    sideSpacing: "20",
    bottomSpacing: "20",
    primaryColor: {
      color: be,
      palette: ve
    },
    persistence: ae.ChatPersistence.LOCAL_STORAGE
  },
  stylesheet: "",
  extensions: []
}, g = (e, { args: o }) => /* @__PURE__ */ t.jsx("div", { style: w(b, { colors: B() }), children: /* @__PURE__ */ t.jsx(e, { args: { ...o } }) }), de = (e) => /* @__PURE__ */ t.jsx(
  G,
  {
    config: {
      verify: { projectID: "project-id" },
      url: "",
      versionID: "version-id",
      autostart: !0,
      allowDangerousHTML: !0,
      user: { name: "User" },
      render: { mode: F.OVERLAY }
    },
    assistant: {
      ...ce
    },
    children: e()
  }
), jt = "test-id", Tt = {
  title: "Core/Button",
  component: W,
  argTypes: {
    variant: {
      options: Object.values(f),
      control: { type: "radio" },
      defaultValue: f.PRIMARY
    }
  },
  args: {
    children: "Button label",
    round: !1,
    onClick: () => {
      alert("Button clicked");
    },
    testID: jt
  },
  decorators: [g]
}, _t = {
  args: {
    variant: f.PRIMARY
  }
}, Lt = {
  args: {
    variant: f.PRIMARY,
    large: "true"
  }
}, Mt = {
  args: {
    variant: f.SECONDARY
  }
}, Rt = {
  args: {
    variant: f.SECONDARY,
    large: "true"
  }
}, Ot = {
  args: {
    variant: f.INLINE
  }
}, Dt = {
  args: {
    variant: f.INLINE,
    children: "Button label that is very long and should wrap. Button label that is very long and should wrap."
  },
  render: () => /* @__PURE__ */ t.jsx("div", { style: { width: "200px" }, children: /* @__PURE__ */ t.jsx(W, { variant: f.INLINE, large: "true", children: "Button label that is very long and should wrap. Button label that is very long and should wrap." }) })
}, cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  Inline: Ot,
  InlineWrapped: Dt,
  Primary: _t,
  PrimaryLarge: Lt,
  Secondary: Mt,
  SecondaryLarge: Rt,
  default: Tt
}, Symbol.toStringTag, { value: "Module" })), Vt = {
  title: "Components/Card",
  component: Se,
  args: {
    title: "Title",
    image: "",
    description: "Description.",
    actions: []
  }
}, Ht = {}, qt = {
  args: {
    description: void 0
  }
}, Yt = {
  args: {
    title: void 0
  }
}, L = {
  args: {
    image: C
  }
}, Ut = {
  args: {
    ...L.args,
    actions: [
      { request: {}, name: "Label" },
      { request: {}, name: "Label" },
      { request: {}, name: "Label" }
    ]
  }
}, Nt = {
  args: {
    title: void 0,
    description: void 0,
    actions: [
      { request: {}, name: "Label" },
      { request: {}, name: "Label" },
      { request: {}, name: "Label" }
    ]
  }
}, Jt = {
  args: {
    ...L.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" }
    ]
  }
}, zt = {
  args: {
    ...L.args,
    title: "Long card title to wrap inside the card. Some more text to test the growth of card.",
    actions: [{ request: {}, name: "First Button" }]
  }
}, dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  Actionable: Ut,
  OnlyActions: Nt,
  OnlyDescription: Yt,
  OnlyTitle: qt,
  Simple: Ht,
  WithImage: L,
  WithLongLabels: Jt,
  WithLongTitle: zt,
  default: Vt
}, Symbol.toStringTag, { value: "Module" })), Gt = "https://picsum.photos/seed/9/300/200", Ft = {
  component: Qe,
  title: "Components/Carousel",
  decorators: [
    (e) => /* @__PURE__ */ t.jsx(
      G,
      {
        config: {
          verify: { projectID: "project-id" },
          url: "",
          versionID: "version-id",
          autostart: !0,
          allowDangerousHTML: !0,
          user: { name: "User" },
          render: { mode: F.OVERLAY }
        },
        assistant: {
          ...ce
        },
        children: e()
      }
    ),
    g
  ]
}, ue = Gt, ge = {
  title: "First Card",
  description: "Lorem ipsum dolor sit amet",
  image: ue,
  actions: [
    { request: {}, name: "First Button" },
    { request: {}, name: "Second Button" },
    { request: {}, name: "Third Button" }
  ]
}, q = [
  ge,
  {
    title: "Second Card",
    description: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Exercitationem voluptas perspiciatis est quis dolores!",
    image: ue
  },
  {
    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" }
    ]
  }
], Wt = {
  render: () => /* @__PURE__ */ t.jsx("div", { style: { width: "380px" }, children: /* @__PURE__ */ t.jsxs(
    p,
    {
      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 (e) => Promise.resolve(),
          placeholder: "Message..."
        }
      },
      isLoading: !1,
      hasEnded: !1,
      children: [
        /* @__PURE__ */ t.jsx(
          M,
          {
            avatar: k,
            message: {
              type: h.CAROUSEL,
              cards: q
            },
            withImage: !1
          }
        ),
        /* @__PURE__ */ t.jsx(
          M,
          {
            avatar: k,
            message: {
              type: h.TEXT,
              text: "Do you like this carousel ?"
            },
            withImage: !0
          }
        )
      ]
    }
  ) })
}, Zt = {
  args: {
    cards: [ge]
  }
}, Xt = {
  args: {
    cards: q
  }
}, Kt = {
  args: {
    cards: q
  }
}, un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  Default: Wt,
  MultipleCards: Xt,
  SingleCard: Zt,
  WithControls: Kt,
  default: Ft
}, Symbol.toStringTag, { value: "Module" })), $t = {
  title: "Core/Carousel Button",
  component: xe,
  args: {
    visible: !0
  }
}, eo = {
  args: {
    direction: "right"
  }
}, to = {
  args: {
    direction: "left"
  }
}, gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  Left: to,
  Right: eo,
  default: $t
}, Symbol.toStringTag, { value: "Module" })), oo = [
  "orange",
  "#397DFF",
  "#A3E4D7",
  "red",
  "#F1948A",
  "#0000FF",
  "#85C1E9",
  "#F7DC6F",
  "#BB8FCE",
  "green",
  "black",
  "yellow",
  "purple"
], no = {
  title: "Theme/Colors",
  component: Z
}, so = {
  render: () => /* @__PURE__ */ t.jsx("div", { children: oo.map((e, o) => /* @__PURE__ */ t.jsx("div", { style: { marginBottom: "2rem" }, children: /* @__PURE__ */ t.jsx(Z, { color: e }) }, o)) })
}, An = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  Primary: so,
  default: no
}, Symbol.toStringTag, { value: "Module" })), ao = {
  title: "Button/FeedbackButton",
  component: H,
  args: {}
}, ro = {
  render: () => /* @__PURE__ */ t.jsx("div", { style: { width: "400px", ...w(b, { colors: B("green") }) }, children: /* @__PURE__ */ t.jsx(H, { textContent: "Howdy", onClick: () => null, variant: X.PREVIOUS_RESPONSE }) })
}, io = {
  render: () => /* @__PURE__ */ t.jsx("div", { style: { width: "400px", ...w(b, { colors: B("red") }) }, children: /* @__PURE__ */ t.jsx(H, { textContent: "Howdy", onClick: () => null, variant: X.LAST_RESPONSE }) })
}, mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  LastResponse: io,
  PreviousResponse: ro,
  default: ao
}, Symbol.toStringTag, { value: "Module" })), lo = {
  title: "Components/Chat/Header",
  component: J,
  args: {
    title: "Agent name",
    image: v,
    actions: []
  },
  render: (e) => /* @__PURE__ */ t.jsx(J, { ...e }),
  decorators: [g]
}, co = {}, uo = {
  args: {
    actions: [{ svg: "volume" }, { svg: "reset" }]
  }
}, go = {
  args: {
    actions: [{ svg: "mute" }, { svg: "reset" }]
  }
}, Ao = {
  args: {
    actions: [{ svg: "volume" }, { svg: "reset" }]
  },
  decorators: [g]
}, mo = {
  args: {
    actions: [{ svg: "volume" }, { svg: "reset" }],
    image: void 0
  },
  decorators: [g]
}, po = {
  args: {
    actions: [{ svg: "volume" }, { svg: "reset" }, { svg: "close" }]
  },
  decorators: [g]
}, pn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  Actionable: uo,
  Base: co,
  Mobile: po,
  Muted: go,
  NoImage: mo,
  Themed: Ao,
  default: lo
}, Symbol.toStringTag, { value: "Module" })), ho = {
  title: "Components/Launcher",
  component: K,
  parameters: {
    controls: { hideNoControlsWarning: !0 }
  },
  decorators: [g]
}, Y = (e) => {
  const [o, i] = x(!1), s = () => {
    i((d) => !d);
  };
  return /* @__PURE__ */ t.jsx(K, { isOpen: o, onClick: s, ...e });
}, fo = {
  render: () => /* @__PURE__ */ t.jsx(Y, {})
}, yo = { render: () => /* @__PURE__ */ t.jsx(Y, { image: C }) }, Io = {
  render: () => /* @__PURE__ */ t.jsx(Y, { image: C, label: "Label" })
}, hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  Base: fo,
  WithCustomIcon: yo,
  WithLabel: Io,
  default: ho
}, Symbol.toStringTag, { value: "Module" })), Co = {
  title: "Components/LinkPreview",
  component: P,
  parameters: {
    controls: { hideNoControlsWarning: !0 }
  }
}, Eo = {
  args: {
    image: C,
    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"
  }
}, wo = {
  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"
  }
}, Bo = {
  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"
  }
}, bo = {
  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"
  }
}, vo = {
  args: {
    inline: !0,
    image: C,
    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"
  }
}, So = {
  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"
  }
}, Qo = {
  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"
  }
}, xo = {
  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"
  }
}, fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  Default: Eo,
  DocumentPdf: bo,
  DocumentUrl: Bo,
  Inline: vo,
  InlineDocumentPdf: xo,
  InlineDocumentUrl: Qo,
  Loading: wo,
  LoadingInline: So,
  default: Co
}, Symbol.toStringTag, { value: "Module" }));
var Po = Pe({ defaultClassName: "_5q07fe0", variantClassNames: { isOpen: { true: "_5q07fe1", false: "_5q07fe2" } }, defaultVariants: {}, compoundVariants: [] });
const ko = {
  title: "Core/MessageInput",
  component: T,
  decorators: [
    g,
    (e) => /* @__PURE__ */ t.jsx("div", { style: { width: "400px" }, children: /* @__PURE__ */ t.jsx(e, {}) })
  ]
}, jo = () => /* @__PURE__ */ t.jsx("div", { style: { width: "380px" }, children: /* @__PURE__ */ t.jsx(T, { placeholder: "Message...", onSubmit: () => Promise.resolve() }) }), To = {
  render: () => /* @__PURE__ */ t.jsx(jo, {})
}, _o = {
  render: () => /* @__PURE__ */ t.jsx("div", { style: { width: "380px" }, children: /* @__PURE__ */ t.jsx(
    T,
    {
      placeholder: "Message...",
      disableSend: !1,
      audioInterface: !0,
      onSubmit: () => Promise.resolve()
    }
  ) })
}, Lo = () => {
  const [e, o] = x(!1);
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
    /* @__PURE__ */ t.jsx("div", { className: Po({ isOpen: e }), children: /* @__PURE__ */ t.jsx(
      T,
      {
        placeholder: "Message...",
        disableSend: !1,
        audioInterface: !0,
        onSubmit: () => Promise.resolve()
      }
    ) }),
    /* @__PURE__ */ t.jsx("button", { style: { position: "absolute", top: 10, right: 10 }, onClick: () => o(!e), children: "Toggle" })
  ] });
}, Mo = {
  render: () => /* @__PURE__ */ t.jsx(Lo, {})
}, yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  AnimationTest: Mo,
  Base: To,
  WithAudioInput: _o,
  default: ko
}, Symbol.toStringTag, { value: "Module" })), Ro = {
  title: "Widget",
  parameters: {
    layout: "centered"
  },
  decorators: [de, g]
}, m = (e) => /* @__PURE__ */ t.jsx(
  ke,
  {
    avatar: v,
    timestamp: Date.now(),
    messages: e.map((o) => ({ type: "text", text: o }))
  }
), E = (e) => /* @__PURE__ */ t.jsx(je, { message: e, timestamp: Date.now() }), U = ({ isLoading: e }) => {
  const [o, i] = x([
    { 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!"
  ], d = async (l) => {
    if (!l)
      return;
    const A = [...o], S = s[Math.floor(Math.random() * s.length)];
    A.push({ type: "Agent", text: S }), i(A);
  };
  return /* @__PURE__ */ t.jsxs(
    p,
    {
      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) => d(l),
          placeholder: "Message..."
        }
      },
      isLoading: !1,
      hasEnded: !1,
      children: [
        o.map((l) => l.type === "Agent" ? m([l.text]) : E(l.text)),
        e && /* @__PURE__ */ t.jsx($, { avatar: v })
      ]
    }
  );
}, Oo = {
  render: () => /* @__PURE__ */ t.jsx(U, {})
}, Do = {
  render: () => /* @__PURE__ */ t.jsx("div", { style: w(b, { colors: B("red") }), children: /* @__PURE__ */ t.jsx(U, {}) })
}, Vo = {
  render: () => /* @__PURE__ */ t.jsx(U, { isLoading: !0 })
}, Ho = {
  render: () => /* @__PURE__ */ t.jsxs("div", { style: { display: "flex", gap: "32px" }, children: [
    /* @__PURE__ */ t.jsx("div", { style: { width: "400px", ...w(b, { colors: B("red") }) }, children: /* @__PURE__ */ t.jsx(
      p,
      {
        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 (e) => Promise.resolve(),
            placeholder: "Message..."
          }
        },
        isLoading: !1,
        hasEnded: !1
      }
    ) }),
    /* @__PURE__ */ t.jsx("div", { style: { width: "400px", ...w(b, { colors: B("green") }) }, children: /* @__PURE__ */ t.jsx(
      p,
      {
        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 (e) => Promise.resolve(),
            placeholder: "Message..."
          }
        },
        isLoading: !1,
        hasEnded: !1
      }
    ) }),
    /* @__PURE__ */ t.jsx("div", { style: { width: "400px", ...w(b, { colors: B("purple") }) }, children: /* @__PURE__ */ t.jsx(
      p,
      {
        welcomeMessageProps: {
          enabled: !0,
          title: "",
          description: ""
        },
        headerProps: {
          showImage: !0,
          title: "Your AI assistant"
        },
        footerProps: {
          showPoweredBy: !0,
          extraLinkText: "Privacy",
          extraLinkUrl: "https://voiceflow.com",
          messageInputProps: {
            onSubmit: async (e) => Promise.resolve(),
            placeholder: "Message..."
          }
        },
        isLoading: !1,
        hasEnded: !1
      }
    ) })
  ] })
}, qo = {
  render: () => /* @__PURE__ */ t.jsx(
    p,
    {
      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 (e) => Promise.resolve(),
          placeholder: "Message..."
        }
      },
      isLoading: !1,
      hasEnded: !1
    }
  )
}, Yo = {
  render: () => /* @__PURE__ */ t.jsx(
    p,
    {
      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 (e) => Promise.resolve(),
          placeholder: "Message..."
        }
      },
      isLoading: !1,
      hasEnded: !1
    }
  )
}, Uo = {
  render: () => /* @__PURE__ */ t.jsxs(
    p,
    {
      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 (e) => Promise.resolve(),
          placeholder: "Message..."
        }
      },
      isLoading: !1,
      hasEnded: !1,
      children: [
        m(["👋🏻 Good morning!", "How are you today?", "How can I help you ?"]),
        E("How bout you?"),
        m(["Thanks for asking", "here are some cool emojis:", "😝 ✌️ ☎️  🤦🏼‍♀️  🤯"]),
        m(["Anything else I can do to help you today?"]),
        E("Dont think so. Everything else is amazing!"),
        m(["ok, so bye for now"])
      ]
    }
  )
}, No = {
  render: () => /* @__PURE__ */ t.jsxs(
    p,
    {
      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 (e) => Promise.resolve(),
          placeholder: "Message..."
        }
      },
      isLoading: !1,
      hasEnded: !0,
      children: [
        m(["👋🏻 Good morning!", "How are you today?", "How can I help you ?"]),
        E("How bout you?"),
        m(["Thanks for asking", "here are some cool emojis:", "😝 ✌️ ☎️  🤦🏼‍♀️  🤯"]),
        E("Cool, I *LOVE* emojis!"),
        m([`I know.
That's why I sent you some.`]),
        E("🤯"),
        m(["Anything else I can do to help you today?"]),
        E("Dont think so. Everything else is amazing!"),
        m(["ok, so bye for now"])
      ]
    }
  )
}, In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  Base: Oo,
  BaseThemed: Do,
  ChatEnded: No,
  LoadingState: Vo,
  NoFooterLinks: Uo,
  NoPoweredBy: qo,
  OnlyPoweredBy: Yo,
  Themed: Ho,
  default: Ro
}, Symbol.toStringTag, { value: "Module" })), Jo = (e) => {
  const [o, i] = x(!0);
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
    /* @__PURE__ */ t.jsx("div", { style: { height: 250, backgroundColor: "lavender" } }),
    /* @__PURE__ */ t.jsx("button", { onClick: () => i((s) => !s), children: "Show Prompt" }),
    /* @__PURE__ */ t.jsx(ee, { ...e, visible: o })
  ] });
}, zo = {
  title: "Components/Chat/Prompt",
  component: ee,
  args: {
    cancel: { label: "Cancel" }
  },
  render: (e) => /* @__PURE__ */ t.jsx(Jo, { ...e }),
  decorators: [g]
}, Go = {
  args: {
    visible: !0,
    accept: { label: "Primary Action" }
  }
}, Fo = {
  args: {
    visible: !0,
    accept: { label: "Dangerous Action" }
  }
}, Cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  Base: Go,
  Dangerous: Fo,
  default: zo
}, Symbol.toStringTag, { value: "Module" })), Wo = {
  title: "Core/Send Button",
  component: Te,
  decorators: [g]
}, Zo = {
  args: {
    disabled: !1,
    color: "#387dff"
  }
}, Xo = {
  args: {
    disabled: !0,
    color: "#387dff"
  }
}, En = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  Default: Zo,
  Disabled: Xo,
  default: Wo
}, Symbol.toStringTag, { value: "Module" })), Ko = {
  title: "Components/TypingIndicator",
  component: _e,
  decorators: [de, g]
}, $o = {
  args: {}
}, en = {
  render: () => /* @__PURE__ */ t.jsx("div", { style: { width: "380px" }, children: /* @__PURE__ */ t.jsxs(
    p,
    {
      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 (e) => Promise.resolve(),
          placeholder: "Message..."
        }
      },
      isLoading: !1,
      hasEnded: !1,
      children: [
        /* @__PURE__ */ t.jsx(M, { avatar: k, withImage: !1, message: { type: "text", text: "Good morning" } }),
        /* @__PURE__ */ t.jsx($, { avatar: k })
      ]
    }
  ) })
}, wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  Default: $o,
  InsideChat: en,
  default: Ko
}, Symbol.toStringTag, { value: "Module" })), tn = {
  title: "Core/WelcomeMessage",
  component: te,
  args: {
    avatar: v
  },
  parameters: {
    layout: "centered"
  },
  decorators: [
    (e) => /* @__PURE__ */ t.jsx("div", { className: Le.classNames.variants.withChat.true, children: /* @__PURE__ */ t.jsx(e, {}) })
  ]
}, on = {
  args: {
    avatar: v,
    title: "Agent name",
    description: "Agent description."
  }
}, nn = {
  args: {
    avatar: v,
    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: (e) => /* @__PURE__ */ t.jsxs("div", { children: [
    "Mock container",
    /* @__PURE__ */ t.jsx("div", { style: { border: "1px solid black" }, children: /* @__PURE__ */ t.jsx(te, { ...e }) })
  ] })
}, Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  Base: on,
  LongContent: nn,
  default: tn
}, Symbol.toStringTag, { value: "Module" }));
export {
  rn as AgentMessage,
  ln as Avatar,
  cn as Button,
  dn as Card,
  un as Carousel,
  gn as CarouselButton,
  An as ColorTheme,
  mn as FeedbackButton,
  pn as Header,
  hn as Launcher,
  fn as LinkPreview,
  yn as MessageInput,
  In as NewChat,
  Cn as Prompt,
  En as SendButton,
  wn as TypingIndicator,
  Bn as WelcomeMessage
};
