aidol 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx as t, jsxs as o, Fragment as W } from "react/jsx-runtime";
3
- import { useTranslation as b } from "react-i18next";
3
+ import { useTranslation as h } from "react-i18next";
4
4
  import z from "next/image";
5
5
  import * as i from "react";
6
6
  import { forwardRef as x, useState as S, useMemo as M, useCallback as Y } from "react";
@@ -127,27 +127,27 @@ function de({
127
127
  d: "M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"
128
128
  }));
129
129
  }
130
- const me = i.forwardRef(de), pe = {
130
+ const me = i.forwardRef(de), ue = {
131
131
  sm: "size-16",
132
132
  md: "size-24",
133
133
  lg: "size-32"
134
134
  };
135
135
  function I({ url: e, alt: a, size: n = "md" }) {
136
- const r = pe[n];
136
+ const r = ue[n];
137
137
  return /* @__PURE__ */ t(
138
138
  "div",
139
139
  {
140
- className: `relative overflow-hidden rounded-2xl bg-base-200 ${r}`,
141
- children: e ? /* @__PURE__ */ t(z, { src: e, alt: a, fill: !0, className: "object-cover" }) : /* @__PURE__ */ t("div", { className: "flex size-full items-center justify-center bg-gradient-to-br from-primary/20 to-secondary/20", children: /* @__PURE__ */ t(me, { className: "size-1/2 text-base-content/50" }) })
140
+ className: `bg-base-200 relative overflow-hidden rounded-2xl ${r}`,
141
+ children: e ? /* @__PURE__ */ t(z, { src: e, alt: a, fill: !0, className: "object-cover" }) : /* @__PURE__ */ t("div", { className: "from-primary/20 to-secondary/20 flex size-full items-center justify-center bg-gradient-to-br", children: /* @__PURE__ */ t(me, { className: "text-base-content/50 size-1/2" }) })
142
142
  }
143
143
  );
144
144
  }
145
- function ue({ companion: e, onClick: a }) {
145
+ function pe({ companion: e, onClick: a }) {
146
146
  return /* @__PURE__ */ t(
147
147
  "div",
148
148
  {
149
149
  onClick: a,
150
- className: "card cursor-pointer bg-base-200 p-4 transition-shadow hover:shadow-lg",
150
+ className: "card bg-base-200 cursor-pointer p-4 transition-shadow hover:shadow-lg",
151
151
  role: a ? "button" : void 0,
152
152
  tabIndex: a ? 0 : void 0,
153
153
  onKeyDown: a ? (n) => {
@@ -163,8 +163,8 @@ function ue({ companion: e, onClick: a }) {
163
163
  }
164
164
  ),
165
165
  /* @__PURE__ */ o("div", { className: "min-w-0 flex-1", children: [
166
- /* @__PURE__ */ t("h3", { className: "truncate text-title-m font-semibold text-base-content", children: e.name }),
167
- e.biography && /* @__PURE__ */ t("p", { className: "mt-1 line-clamp-2 text-body-s text-base-content/70", children: e.biography })
166
+ /* @__PURE__ */ t("h3", { className: "text-title-m text-base-content truncate font-semibold", children: e.name }),
167
+ e.biography && /* @__PURE__ */ t("p", { className: "text-body-s text-base-content/70 mt-1 line-clamp-2", children: e.biography })
168
168
  ] })
169
169
  ] })
170
170
  }
@@ -174,22 +174,22 @@ function Ue({
174
174
  companions: e,
175
175
  onCompanionClick: a
176
176
  }) {
177
- const { t: n } = b();
177
+ const { t: n } = h();
178
178
  return /* @__PURE__ */ o("div", { className: "mt-8", children: [
179
- /* @__PURE__ */ t("h2", { className: "mb-4 text-title-l font-semibold", children: n("aidol:aidol.members") }),
179
+ /* @__PURE__ */ t("h2", { className: "text-title-l mb-4 font-semibold", children: n("aidol:aidol.members") }),
180
180
  e && e.length > 0 ? /* @__PURE__ */ t("div", { className: "grid gap-4 sm:grid-cols-2", children: e.map((r) => /* @__PURE__ */ t(
181
- ue,
181
+ pe,
182
182
  {
183
183
  companion: r,
184
184
  onClick: () => a(r.id)
185
185
  },
186
186
  r.id
187
- )) }) : /* @__PURE__ */ t("p", { className: "text-center text-base-content/50", children: n("aidol:aidol.noMembers") })
187
+ )) }) : /* @__PURE__ */ t("p", { className: "text-base-content/50 text-center", children: n("aidol:aidol.noMembers") })
188
188
  ] });
189
189
  }
190
190
  function $e({ aidol: e }) {
191
191
  return /* @__PURE__ */ o("div", { className: "flex flex-col items-center gap-4 py-8 text-center", children: [
192
- /* @__PURE__ */ t("div", { className: "relative size-32 overflow-hidden rounded-full bg-base-200", children: e.profileImageUrl ? /* @__PURE__ */ t(
192
+ /* @__PURE__ */ t("div", { className: "bg-base-200 relative size-32 overflow-hidden rounded-full", children: e.profileImageUrl ? /* @__PURE__ */ t(
193
193
  z,
194
194
  {
195
195
  src: e.profileImageUrl,
@@ -197,21 +197,21 @@ function $e({ aidol: e }) {
197
197
  fill: !0,
198
198
  className: "object-cover"
199
199
  }
200
- ) : /* @__PURE__ */ t("div", { className: "flex size-full items-center justify-center bg-gradient-to-br from-primary/20 to-secondary/20", children: /* @__PURE__ */ t(ce, { className: "size-16 text-base-content/50" }) }) }),
200
+ ) : /* @__PURE__ */ t("div", { className: "from-primary/20 to-secondary/20 flex size-full items-center justify-center bg-gradient-to-br", children: /* @__PURE__ */ t(ce, { className: "text-base-content/50 size-16" }) }) }),
201
201
  /* @__PURE__ */ o("div", { children: [
202
- /* @__PURE__ */ t("h1", { className: "text-display-s font-bold text-base-content", children: e.name }),
203
- e.concept && /* @__PURE__ */ t("p", { className: "mt-2 text-body-l text-base-content/70", children: e.concept })
202
+ /* @__PURE__ */ t("h1", { className: "text-display-s text-base-content font-bold", children: e.name }),
203
+ e.concept && /* @__PURE__ */ t("p", { className: "text-body-l text-base-content/70 mt-2", children: e.concept })
204
204
  ] })
205
205
  ] });
206
206
  }
207
- function be({ onClick: e, isLoading: a }) {
208
- const { t: n } = b();
207
+ function he({ onClick: e, isLoading: a }) {
208
+ const { t: n } = h();
209
209
  return /* @__PURE__ */ t(
210
210
  "button",
211
211
  {
212
212
  onClick: e,
213
213
  disabled: a,
214
- className: "btn btn-neutral h-16 min-w-48 text-label-l text-neutral-content",
214
+ className: "btn btn-neutral text-label-l text-neutral-content h-16 min-w-48",
215
215
  children: a ? /* @__PURE__ */ t("span", { className: "loading loading-spinner loading-sm" }) : /* @__PURE__ */ o(W, { children: [
216
216
  /* @__PURE__ */ t(le, { className: "size-5" }),
217
217
  n("aidol:companion.addMember")
@@ -221,7 +221,7 @@ function be({ onClick: e, isLoading: a }) {
221
221
  }
222
222
  const R = x(
223
223
  ({ placeholder: e, maxLength: a = 500, charCount: n, ...r }, s) => {
224
- const { t: c } = b();
224
+ const { t: c } = h();
225
225
  return /* @__PURE__ */ o("div", { className: "w-full", children: [
226
226
  /* @__PURE__ */ t(
227
227
  "textarea",
@@ -229,11 +229,11 @@ const R = x(
229
229
  ref: s,
230
230
  placeholder: e ?? c("aidol:companion.promptPlaceholder"),
231
231
  maxLength: a,
232
- className: "textarea textarea-bordered h-32 w-full resize-none bg-base-100 text-base-content placeholder:text-base-content/50 focus:border-primary focus:outline-none",
232
+ className: "textarea bg-base-100 text-base-content placeholder:text-base-content/50 focus:border-primary h-32 w-full resize-none focus:outline-hidden",
233
233
  ...r
234
234
  }
235
235
  ),
236
- /* @__PURE__ */ o("div", { className: "mt-1 text-right text-label-s text-base-content/50", children: [
236
+ /* @__PURE__ */ o("div", { className: "text-label-s text-base-content/50 mt-1 text-right", children: [
237
237
  n ?? 0,
238
238
  "/",
239
239
  a
@@ -243,14 +243,14 @@ const R = x(
243
243
  );
244
244
  R.displayName = "PromptInput";
245
245
  const U = x(({ options: e, ...a }, n) => {
246
- const { t: r } = b();
247
- return /* @__PURE__ */ o("div", { className: "form-control w-full", children: [
248
- /* @__PURE__ */ t("label", { className: "label", children: /* @__PURE__ */ t("span", { className: "label-text text-base-content", children: r("aidol:creation.concept") }) }),
246
+ const { t: r } = h();
247
+ return /* @__PURE__ */ o("fieldset", { className: "fieldset w-full", children: [
248
+ /* @__PURE__ */ t("label", { className: "label", children: r("aidol:creation.concept") }),
249
249
  /* @__PURE__ */ o(
250
250
  "select",
251
251
  {
252
252
  ref: n,
253
- className: "select select-bordered w-full bg-base-100 text-base-content",
253
+ className: "select bg-base-100 text-base-content w-full",
254
254
  ...a,
255
255
  children: [
256
256
  /* @__PURE__ */ t("option", { value: "", children: r("aidol:creation.selectConcept") }),
@@ -261,15 +261,15 @@ const U = x(({ options: e, ...a }, n) => {
261
261
  ] });
262
262
  });
263
263
  U.displayName = "ConceptSelector";
264
- function he({
264
+ function be({
265
265
  onGenerate: e,
266
266
  isGenerating: a,
267
267
  disabled: n
268
268
  }) {
269
- const { t: r } = b(), [s, c] = S(""), l = () => {
269
+ const { t: r } = h(), [s, c] = S(""), l = () => {
270
270
  s.trim() && e(s);
271
271
  };
272
- return /* @__PURE__ */ o("div", { className: "form-control w-full", children: [
272
+ return /* @__PURE__ */ o("fieldset", { className: "fieldset w-full", children: [
273
273
  /* @__PURE__ */ o("div", { className: "flex gap-2", children: [
274
274
  /* @__PURE__ */ t(
275
275
  "input",
@@ -282,7 +282,7 @@ function he({
282
282
  },
283
283
  placeholder: r("aidol:creation.emblemPromptPlaceholder"),
284
284
  maxLength: 200,
285
- className: "input input-bordered flex-1",
285
+ className: "input flex-1",
286
286
  disabled: n || a,
287
287
  "data-testid": "emblem-prompt-input"
288
288
  }
@@ -314,8 +314,8 @@ var fe = function(e, a) {
314
314
  return e.push(v);
315
315
  });
316
316
  }), a) {
317
- var d = n[l].types, h = d && d[r.code];
318
- n[l] = J(l, a, n, s, h ? [].concat(h, r.message) : r.message);
317
+ var d = n[l].types, b = d && d[r.code];
318
+ n[l] = J(l, a, n, s, b ? [].concat(b, r.message) : r.message);
319
319
  }
320
320
  e.shift();
321
321
  }
@@ -325,11 +325,11 @@ var fe = function(e, a) {
325
325
  try {
326
326
  return Promise.resolve((function(l, m) {
327
327
  try {
328
- var d = Promise.resolve(e[n.mode === "sync" ? "parse" : "parseAsync"](r, a)).then(function(h) {
329
- return c.shouldUseNativeValidation && H({}, c), { errors: {}, values: n.raw ? r : h };
328
+ var d = Promise.resolve(e[n.mode === "sync" ? "parse" : "parseAsync"](r, a)).then(function(b) {
329
+ return c.shouldUseNativeValidation && H({}, c), { errors: {}, values: n.raw ? r : b };
330
330
  });
331
- } catch (h) {
332
- return m(h);
331
+ } catch (b) {
332
+ return m(b);
333
333
  }
334
334
  return d && d.then ? d.then(void 0, m) : d;
335
335
  })(0, function(l) {
@@ -358,9 +358,9 @@ function y() {
358
358
  }
359
359
  const O = x(
360
360
  ({ error: e, ...a }, n) => {
361
- const { t: r } = b();
362
- return /* @__PURE__ */ o("div", { className: "form-control w-full", children: [
363
- /* @__PURE__ */ t("label", { className: "label", children: /* @__PURE__ */ t("span", { className: "label-text text-base-content", children: r("aidol:creation.groupName") }) }),
361
+ const { t: r } = h();
362
+ return /* @__PURE__ */ o("fieldset", { className: "fieldset w-full", children: [
363
+ /* @__PURE__ */ t("label", { className: "label", children: r("aidol:creation.groupName") }),
364
364
  /* @__PURE__ */ t(
365
365
  "input",
366
366
  {
@@ -368,21 +368,21 @@ const O = x(
368
368
  type: "text",
369
369
  placeholder: r("aidol:creation.groupNamePlaceholder"),
370
370
  className: y(
371
- "input input-bordered w-full bg-base-100 text-base-content placeholder:text-base-content/50",
371
+ "input bg-base-100 text-base-content placeholder:text-base-content/50 w-full",
372
372
  e && "input-error"
373
373
  ),
374
374
  ...a
375
375
  }
376
376
  ),
377
- e && /* @__PURE__ */ t("label", { className: "label", children: /* @__PURE__ */ t("span", { className: "label-text-alt text-error", children: e }) })
377
+ e && /* @__PURE__ */ t("span", { className: "text-label-m text-error", children: e })
378
378
  ] });
379
379
  }
380
380
  );
381
381
  O.displayName = "GroupNameInput";
382
382
  const Z = x(({ error: e, ...a }, n) => {
383
- const { t: r } = b();
384
- return /* @__PURE__ */ o("div", { className: "form-control w-full", children: [
385
- /* @__PURE__ */ t("label", { className: "label", children: /* @__PURE__ */ t("span", { className: "label-text text-base-content", children: r("aidol:creation.memberName") }) }),
383
+ const { t: r } = h();
384
+ return /* @__PURE__ */ o("fieldset", { className: "fieldset w-full", children: [
385
+ /* @__PURE__ */ t("label", { className: "label", children: r("aidol:creation.memberName") }),
386
386
  /* @__PURE__ */ t(
387
387
  "input",
388
388
  {
@@ -390,13 +390,13 @@ const Z = x(({ error: e, ...a }, n) => {
390
390
  type: "text",
391
391
  placeholder: r("aidol:creation.memberNamePlaceholder"),
392
392
  className: y(
393
- "input input-bordered w-full bg-base-100 text-base-content placeholder:text-base-content/50",
393
+ "input bg-base-100 text-base-content placeholder:text-base-content/50 w-full",
394
394
  e && "input-error"
395
395
  ),
396
396
  ...a
397
397
  }
398
398
  ),
399
- e && /* @__PURE__ */ t("label", { className: "label", children: /* @__PURE__ */ t("span", { className: "label-text-alt text-error", children: e }) })
399
+ e && /* @__PURE__ */ t("span", { className: "text-label-m text-error", children: e })
400
400
  ] });
401
401
  });
402
402
  Z.displayName = "MemberNameInput";
@@ -405,9 +405,9 @@ function ve({
405
405
  onChange: a,
406
406
  options: n
407
407
  }) {
408
- const { t: r } = b();
409
- return /* @__PURE__ */ o("div", { className: "form-control w-full", children: [
410
- /* @__PURE__ */ t("label", { className: "label", children: /* @__PURE__ */ t("span", { className: "label-text text-base-content", children: r("aidol:creation.personality") }) }),
408
+ const { t: r } = h();
409
+ return /* @__PURE__ */ o("fieldset", { className: "fieldset w-full", children: [
410
+ /* @__PURE__ */ t("label", { className: "label", children: r("aidol:creation.personality") }),
411
411
  /* @__PURE__ */ t("div", { className: "space-y-2", children: n.map((s) => /* @__PURE__ */ o(
412
412
  "label",
413
413
  {
@@ -428,8 +428,8 @@ function ve({
428
428
  }
429
429
  ),
430
430
  /* @__PURE__ */ o("div", { children: [
431
- /* @__PURE__ */ t("div", { className: "font-medium text-base-content", children: s.label }),
432
- s.description && /* @__PURE__ */ t("div", { className: "mt-1 text-body-s text-base-content/70", children: s.description })
431
+ /* @__PURE__ */ t("div", { className: "text-base-content font-medium", children: s.label }),
432
+ s.description && /* @__PURE__ */ t("div", { className: "text-body-s text-base-content/70 mt-1", children: s.description })
433
433
  ] })
434
434
  ]
435
435
  },
@@ -466,17 +466,17 @@ function Oe({
466
466
  isGeneratingImage: s,
467
467
  isCompleted: c
468
468
  }) {
469
- const { t: l } = b(), [m, d] = S(c ? 3 : 1), h = M(
470
- () => xe.map((p) => ({
471
- value: p,
472
- label: l(`aidol:creation.concepts.${p}`)
469
+ const { t: l } = h(), [m, d] = S(c ? 3 : 1), b = M(
470
+ () => xe.map((u) => ({
471
+ value: u,
472
+ label: l(`aidol:creation.concepts.${u}`)
473
473
  })),
474
474
  [l]
475
475
  ), w = M(
476
- () => ye.map((p) => ({
477
- value: p,
478
- label: l(`aidol:creation.personalities.${p}.label`),
479
- description: l(`aidol:creation.personalities.${p}.description`)
476
+ () => ye.map((u) => ({
477
+ value: u,
478
+ label: l(`aidol:creation.personalities.${u}.label`),
479
+ description: l(`aidol:creation.personalities.${u}.description`)
480
480
  })),
481
481
  [l]
482
482
  ), {
@@ -498,18 +498,18 @@ function Oe({
498
498
  }), C = j("profileImageUrl"), { fields: D, append: T } = X({
499
499
  control: P,
500
500
  name: "members"
501
- }), A = j("members"), G = async (p) => {
502
- const u = await n(p);
503
- u && B("profileImageUrl", u);
501
+ }), A = j("members"), G = async (u) => {
502
+ const p = await n(u);
503
+ p && B("profileImageUrl", p);
504
504
  }, V = async () => {
505
505
  await L(["groupName", "profileImageUrl"]) && d(2);
506
- }, _ = F(async (p) => {
507
- const u = p.members.filter((N) => N.name.trim());
508
- await e({ ...p, members: u }), d(3);
506
+ }, _ = F(async (u) => {
507
+ const p = u.members.filter((N) => N.name.trim());
508
+ await e({ ...u, members: p }), d(3);
509
509
  }), K = () => {
510
510
  T({ name: "", personality: "", systemPrompt: "" });
511
511
  };
512
- return /* @__PURE__ */ t("main", { className: "flex min-h-dvh w-full flex-col items-center bg-base-100 px-6 py-20", children: /* @__PURE__ */ o("div", { className: "w-full max-w-lg", children: [
512
+ return /* @__PURE__ */ t("main", { className: "bg-base-100 flex min-h-dvh w-full flex-col items-center px-6 py-20", children: /* @__PURE__ */ o("div", { className: "w-full max-w-lg", children: [
513
513
  /* @__PURE__ */ t(
514
514
  Ne,
515
515
  {
@@ -536,13 +536,13 @@ function Oe({
536
536
  U,
537
537
  {
538
538
  ...v("concept"),
539
- options: h
539
+ options: b
540
540
  }
541
541
  ),
542
- /* @__PURE__ */ o("div", { className: "form-control", children: [
543
- /* @__PURE__ */ t("label", { className: "label", children: /* @__PURE__ */ t("span", { className: "label-text font-medium", children: l("aidol:creation.emblem") }) }),
542
+ /* @__PURE__ */ o("fieldset", { className: "fieldset", children: [
543
+ /* @__PURE__ */ t("label", { className: "label", children: l("aidol:creation.emblem") }),
544
544
  /* @__PURE__ */ t(
545
- he,
545
+ be,
546
546
  {
547
547
  onGenerate: G,
548
548
  isGenerating: s,
@@ -557,7 +557,7 @@ function Oe({
557
557
  size: "lg"
558
558
  }
559
559
  ) }),
560
- f.profileImageUrl?.message && /* @__PURE__ */ t("p", { className: "mt-1 text-label-m text-error", children: l(f.profileImageUrl.message, { ns: "aidol" }) })
560
+ f.profileImageUrl?.message && /* @__PURE__ */ t("p", { className: "text-label-m text-error mt-1", children: l(f.profileImageUrl.message, { ns: "aidol" }) })
561
561
  ] }),
562
562
  /* @__PURE__ */ t(
563
563
  "button",
@@ -572,25 +572,25 @@ function Oe({
572
572
  ] }),
573
573
  m === 2 && /* @__PURE__ */ o("form", { onSubmit: _, className: "space-y-6", children: [
574
574
  /* @__PURE__ */ t("h2", { className: "text-display-s font-bold", children: l("aidol:creation.step2Title") }),
575
- D.map((p, u) => /* @__PURE__ */ o(
575
+ D.map((u, p) => /* @__PURE__ */ o(
576
576
  "div",
577
577
  {
578
- className: "space-y-4 rounded-lg border border-base-300 p-4",
578
+ className: "border-base-300 space-y-4 rounded-lg border p-4",
579
579
  children: [
580
580
  /* @__PURE__ */ o("div", { className: "flex items-center gap-4", children: [
581
581
  /* @__PURE__ */ t(
582
582
  I,
583
583
  {
584
584
  url: null,
585
- alt: A[u]?.name ?? "",
585
+ alt: A[p]?.name ?? "",
586
586
  size: "sm"
587
587
  }
588
588
  ),
589
589
  /* @__PURE__ */ t("div", { className: "flex-1", children: /* @__PURE__ */ t(
590
590
  Z,
591
591
  {
592
- ...v(`members.${u}.name`),
593
- error: f.members?.[u]?.name?.message ? l(f.members?.[u]?.name?.message ?? "", {
592
+ ...v(`members.${p}.name`),
593
+ error: f.members?.[p]?.name?.message ? l(f.members?.[p]?.name?.message ?? "", {
594
594
  ns: "aidol"
595
595
  }) : void 0
596
596
  }
@@ -599,7 +599,7 @@ function Oe({
599
599
  /* @__PURE__ */ t(
600
600
  ee,
601
601
  {
602
- name: `members.${u}.personality`,
602
+ name: `members.${p}.personality`,
603
603
  control: P,
604
604
  render: ({ field: N }) => /* @__PURE__ */ t(
605
605
  ve,
@@ -614,16 +614,16 @@ function Oe({
614
614
  /* @__PURE__ */ t(
615
615
  R,
616
616
  {
617
- ...v(`members.${u}.systemPrompt`),
618
- charCount: A[u]?.systemPrompt?.length ?? 0
617
+ ...v(`members.${p}.systemPrompt`),
618
+ charCount: A[p]?.systemPrompt?.length ?? 0
619
619
  }
620
620
  )
621
621
  ]
622
622
  },
623
- p.id
623
+ u.id
624
624
  )),
625
- /* @__PURE__ */ t(be, { onClick: K, isLoading: !1 }),
626
- f.members?.root?.message && /* @__PURE__ */ t("p", { className: "text-center text-error", children: l(f.members.root.message, { ns: "aidol" }) }),
625
+ /* @__PURE__ */ t(he, { onClick: K, isLoading: !1 }),
626
+ f.members?.root?.message && /* @__PURE__ */ t("p", { className: "text-error text-center", children: l(f.members.root.message, { ns: "aidol" }) }),
627
627
  /* @__PURE__ */ o("div", { className: "flex gap-4", children: [
628
628
  /* @__PURE__ */ t(
629
629
  "button",
@@ -694,7 +694,7 @@ const Ce = i.forwardRef(we), E = {
694
694
  }
695
695
  };
696
696
  function Ze() {
697
- const { t: e } = b();
697
+ const { t: e } = h();
698
698
  return /* @__PURE__ */ o(
699
699
  g.section,
700
700
  {
@@ -704,12 +704,12 @@ function Ze() {
704
704
  viewport: { once: !0, amount: 0.1 },
705
705
  className: "container mx-auto px-6 py-20 text-center md:py-28",
706
706
  children: [
707
- /* @__PURE__ */ t(g.div, { variants: E, children: /* @__PURE__ */ t(Ce, { className: "mx-auto size-24 text-secondary drop-shadow-[0_0_16px_theme(colors.secondary)]" }) }),
707
+ /* @__PURE__ */ t(g.div, { variants: E, children: /* @__PURE__ */ t(Ce, { className: "text-secondary drop-shadow-[0_0_16px_theme(colors.secondary)] mx-auto size-24" }) }),
708
708
  /* @__PURE__ */ t(
709
709
  g.h2,
710
710
  {
711
711
  variants: E,
712
- className: "mt-4 text-display-s md:text-display-m",
712
+ className: "text-display-s md:text-display-m mt-4",
713
713
  children: e("aidol:landing.demo.title")
714
714
  }
715
715
  ),
@@ -717,7 +717,7 @@ function Ze() {
717
717
  g.p,
718
718
  {
719
719
  variants: E,
720
- className: "mx-auto mt-4 max-w-lg text-body-l text-neutral-content",
720
+ className: "text-body-l text-neutral-content mx-auto mt-4 max-w-lg",
721
721
  children: e("aidol:landing.demo.description")
722
722
  }
723
723
  )
@@ -743,21 +743,21 @@ const k = {
743
743
  }
744
744
  };
745
745
  function Fe({ onGetStarted: e }) {
746
- const { t: a } = b();
747
- return /* @__PURE__ */ t("div", { className: "hero min-h-screen bg-gradient-to-b from-base-200 to-primary pt-20", children: /* @__PURE__ */ o(
746
+ const { t: a } = h();
747
+ return /* @__PURE__ */ t("div", { className: "hero from-base-200 to-primary min-h-screen bg-gradient-to-b pt-20", children: /* @__PURE__ */ o(
748
748
  g.div,
749
749
  {
750
750
  variants: ke,
751
751
  initial: "initial",
752
752
  animate: "animate",
753
- className: "hero-content flex-col gap-12 text-center text-base-content",
753
+ className: "hero-content text-base-content flex-col gap-12 text-center",
754
754
  children: [
755
755
  /* @__PURE__ */ o("div", { className: "max-w-3xl", children: [
756
756
  /* @__PURE__ */ t(
757
757
  g.h1,
758
758
  {
759
759
  variants: k,
760
- className: "mb-4 text-display-m md:text-display-l",
760
+ className: "text-display-m md:text-display-l mb-4",
761
761
  children: a("aidol:landing.hero.title")
762
762
  }
763
763
  ),
@@ -765,7 +765,7 @@ function Fe({ onGetStarted: e }) {
765
765
  g.p,
766
766
  {
767
767
  variants: k,
768
- className: "mx-auto mt-6 max-w-xl text-body-l text-neutral-content",
768
+ className: "text-body-l text-neutral-content mx-auto mt-6 max-w-xl",
769
769
  children: a("aidol:landing.hero.description")
770
770
  }
771
771
  )
@@ -783,7 +783,7 @@ function Fe({ onGetStarted: e }) {
783
783
  ) });
784
784
  }
785
785
  function Le({ url: e, onCopySuccess: a }) {
786
- const { t: n } = b(), [r, s] = S(!1), c = Y(async () => {
786
+ const { t: n } = h(), [r, s] = S(!1), c = Y(async () => {
787
787
  await navigator.clipboard.writeText(e), s(!0), a?.(), setTimeout(() => s(!1), 2e3);
788
788
  }, [e, a]);
789
789
  return /* @__PURE__ */ t(
@@ -792,17 +792,17 @@ function Le({ url: e, onCopySuccess: a }) {
792
792
  onClick: c,
793
793
  className: "btn btn-circle btn-ghost",
794
794
  "aria-label": n("aidol:share"),
795
- children: r ? /* @__PURE__ */ t(re, { className: "size-6 text-success" }) : /* @__PURE__ */ t(oe, { className: "size-6" })
795
+ children: r ? /* @__PURE__ */ t(re, { className: "text-success size-6" }) : /* @__PURE__ */ t(oe, { className: "size-6" })
796
796
  }
797
797
  );
798
798
  }
799
799
  export {
800
- be as AddMemberButton,
801
- ue as Card,
800
+ he as AddMemberButton,
801
+ pe as Card,
802
802
  Ue as CompanionGrid,
803
803
  U as ConceptSelector,
804
804
  Ze as DemoSection,
805
- he as EmblemGenerator,
805
+ be as EmblemGenerator,
806
806
  Oe as GroupCreation,
807
807
  $e as GroupHeader,
808
808
  O as GroupNameInput,