@hintergrund/ui 0.3.9 → 0.3.10

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.
@@ -9,7 +9,7 @@ globalThis.process === void 0 && (globalThis.process = {
9
9
  }
10
10
  });
11
11
  import { r as e, t } from "./rolldown-runtime-nTTD767F.js";
12
- import { A as n, An as r, B as i, Bn as a, Bt as o, Cn as s, Ct as c, Dn as l, Dt as u, En as d, Et as f, G as p, Hn as m, Ht as h, K as g, Kn as _, Kt as ee, L as te, Mn as v, Nn as ne, O as re, On as ie, Ot as ae, Q as oe, Qn as se, Qt as ce, Rn as le, Rt as ue, S as y, St as de, Tn as fe, Tt as pe, U as me, Un as he, V as ge, Vn as _e, Vt as ve, W as ye, Wn as be, X as xe, Xt as Se, Y as Ce, Yn as we, Z as Te, Zn as Ee, _ as De, _n as Oe, _t as ke, ar as Ae, at as je, b as Me, bn as Ne, bt as Pe, c as Fe, ct as Ie, dr as Le, dt as Re, f as ze, ft as Be, g as Ve, gn as He, h as b, hn as Ue, i as We, ir as Ge, it as Ke, kn as qe, l as Je, ln as Ye, lt as Xe, m as Ze, mt as Qe, o as $e, on as et, or as tt, ot as nt, p as rt, pt as it, q as at, qn as x, r as ot, sr as st, st as ct, u as lt, ur as ut, ut as dt, v as S, vt as ft, w as pt, wn as C, wt as mt, x as w, xn as ht, xt as gt, y as _t, yn as vt, yt } from "./global-5AbycIwc.js";
12
+ import { A as n, An as r, B as i, Bn as a, Bt as o, Cn as s, Ct as c, Dn as l, Dt as u, En as d, Et as f, G as p, Hn as m, Ht as h, K as g, Kn as _, Kt as ee, L as te, Mn as v, Nn as ne, O as re, On as ie, Ot as ae, Q as oe, Qn as se, Qt as ce, Rn as le, Rt as ue, S as y, St as de, Tn as fe, Tt as pe, U as me, Un as he, V as ge, Vn as _e, Vt as ve, W as ye, Wn as be, X as xe, Xt as Se, Y as Ce, Yn as we, Z as Te, Zn as Ee, _ as De, _n as Oe, _t as ke, ar as Ae, at as je, b as Me, bn as Ne, bt as Pe, c as Fe, ct as Ie, dr as Le, dt as Re, f as ze, ft as Be, g as Ve, gn as He, h as b, hn as Ue, i as We, ir as Ge, it as Ke, kn as qe, l as Je, ln as Ye, lt as Xe, m as Ze, mt as Qe, o as $e, on as et, or as tt, ot as nt, p as rt, pt as it, q as at, qn as x, r as ot, sr as st, st as ct, u as lt, ur as ut, ut as dt, v as S, vt as ft, w as pt, wn as C, wt as mt, x as w, xn as ht, xt as gt, y as _t, yn as vt, yt } from "./global-DMXVTUMq.js";
13
13
  import { t as bt } from "./config.types-DZ5yfeqq.js";
14
14
  import { i as xt, r as St } from "./diagnostics-x5QOwca_.js";
15
15
  //#region ../runtime-contracts/dist/emails.types.js
@@ -21769,7 +21769,7 @@ function aN() {
21769
21769
  }
21770
21770
  //#endregion
21771
21771
  //#region ../../../../node_modules/.pnpm/@earendil-works+pi-ai@0.84.2_supports-color@10.2.2_ws@8.21.3_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.lazy.js
21772
- var $ = () => Gh(() => import("./openai-completions-Lehh2IT3.js"));
21772
+ var $ = () => Gh(() => import("./openai-completions-Dc8OEKqJ.js"));
21773
21773
  //#endregion
21774
21774
  //#region ../../../../node_modules/.pnpm/@earendil-works+pi-ai@0.84.2_supports-color@10.2.2_ws@8.21.3_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/providers/ant-ling.js
21775
21775
  function oN() {
@@ -21784,7 +21784,7 @@ function oN() {
21784
21784
  }
21785
21785
  //#endregion
21786
21786
  //#region ../../../../node_modules/.pnpm/@earendil-works+pi-ai@0.84.2_supports-color@10.2.2_ws@8.21.3_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.lazy.js
21787
- var sN = () => Gh(() => import("./anthropic-messages-DeTygrtE.js")), cN = function(e, t) {
21787
+ var sN = () => Gh(() => import("./anthropic-messages-k-Bsbioz.js")), cN = function(e, t) {
21788
21788
  return typeof e == "string" && /^\.\.?\//.test(e) ? e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(e, n, r, i, a) {
21789
21789
  return n ? t ? ".jsx" : ".js" : r && (!i || !a) ? e : r + i + "." + a.toLowerCase() + "js";
21790
21790
  }) : e;
@@ -21857,7 +21857,7 @@ function CN() {
21857
21857
  }
21858
21858
  //#endregion
21859
21859
  //#region ../../../../node_modules/.pnpm/@earendil-works+pi-ai@0.84.2_supports-color@10.2.2_ws@8.21.3_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.lazy.js
21860
- var wN = () => Gh(() => import("./azure-openai-responses-BEt9HtWb.js"));
21860
+ var wN = () => Gh(() => import("./azure-openai-responses-DZenJI-m.js"));
21861
21861
  //#endregion
21862
21862
  //#region ../../../../node_modules/.pnpm/@earendil-works+pi-ai@0.84.2_supports-color@10.2.2_ws@8.21.3_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.js
21863
21863
  function TN() {
@@ -21895,7 +21895,7 @@ function DN() {
21895
21895
  }
21896
21896
  //#endregion
21897
21897
  //#region ../../../../node_modules/.pnpm/@earendil-works+pi-ai@0.84.2_supports-color@10.2.2_ws@8.21.3_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.lazy.js
21898
- var ON = () => Gh(() => import("./openai-responses-BXliJnO9.js")), kN = "CLOUDFLARE_API_KEY", AN = "CLOUDFLARE_ACCOUNT_ID", jN = "CLOUDFLARE_GATEWAY_ID";
21898
+ var ON = () => Gh(() => import("./openai-responses-DZ1U8uxZ.js")), kN = "CLOUDFLARE_API_KEY", AN = "CLOUDFLARE_ACCOUNT_ID", jN = "CLOUDFLARE_GATEWAY_ID";
21899
21899
  async function MN(e, t, n, r) {
21900
21900
  let i = n ? e === kN ? n.key : n.env?.[e] : void 0;
21901
21901
  if (i !== void 0) return i;
@@ -22074,7 +22074,7 @@ function WN() {
22074
22074
  }
22075
22075
  //#endregion
22076
22076
  //#region ../../../../node_modules/.pnpm/@earendil-works+pi-ai@0.84.2_supports-color@10.2.2_ws@8.21.3_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.lazy.js
22077
- var GN = () => Gh(() => import("./google-generative-ai-CwE_Q3Ns.js"));
22077
+ var GN = () => Gh(() => import("./google-generative-ai-D2RQTVlL.js"));
22078
22078
  //#endregion
22079
22079
  //#region ../../../../node_modules/.pnpm/@earendil-works+pi-ai@0.84.2_supports-color@10.2.2_ws@8.21.3_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/providers/google.js
22080
22080
  function KN() {
@@ -22089,7 +22089,7 @@ function KN() {
22089
22089
  }
22090
22090
  //#endregion
22091
22091
  //#region ../../../../node_modules/.pnpm/@earendil-works+pi-ai@0.84.2_supports-color@10.2.2_ws@8.21.3_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/api/google-vertex.lazy.js
22092
- var qN = () => Gh(() => import("./google-vertex-Bps529Az.js")), JN = "~/.config/gcloud/application_default_credentials.json", YN = {
22092
+ var qN = () => Gh(() => import("./google-vertex-BjniYIZ1.js")), JN = "~/.config/gcloud/application_default_credentials.json", YN = {
22093
22093
  name: "Google Cloud credentials",
22094
22094
  login: async (e) => {
22095
22095
  e.signal.throwIfAborted();
@@ -22247,7 +22247,7 @@ function tP() {
22247
22247
  }
22248
22248
  //#endregion
22249
22249
  //#region ../../../../node_modules/.pnpm/@earendil-works+pi-ai@0.84.2_supports-color@10.2.2_ws@8.21.3_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.lazy.js
22250
- var nP = () => Gh(() => import("./mistral-conversations-B48Orl3n.js"));
22250
+ var nP = () => Gh(() => import("./mistral-conversations-CPZ7CuMx.js"));
22251
22251
  //#endregion
22252
22252
  //#region ../../../../node_modules/.pnpm/@earendil-works+pi-ai@0.84.2_supports-color@10.2.2_ws@8.21.3_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/providers/mistral.js
22253
22253
  function rP() {
@@ -22310,7 +22310,7 @@ function sP() {
22310
22310
  }
22311
22311
  //#endregion
22312
22312
  //#region ../../../../node_modules/.pnpm/@earendil-works+pi-ai@0.84.2_supports-color@10.2.2_ws@8.21.3_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.lazy.js
22313
- var cP = () => Gh(() => import("./openai-codex-responses-CV5PzsyD.js"));
22313
+ var cP = () => Gh(() => import("./openai-codex-responses-CqmMU3UY.js"));
22314
22314
  //#endregion
22315
22315
  //#region ../../../../node_modules/.pnpm/@earendil-works+pi-ai@0.84.2_supports-color@10.2.2_ws@8.21.3_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.js
22316
22316
  function lP() {
@@ -8,7 +8,7 @@ globalThis.process === void 0 && (globalThis.process = {
8
8
  return Promise.resolve().then(e);
9
9
  }
10
10
  });
11
- import { $t as e, Bn as t, Cn as n, Dn as r, En as i, Hn as a, Ht as o, Kn as s, Mn as c, On as l, Qt as u, Rn as d, Rt as f, Un as p, Vt as m, Wn as h, Yn as g, Zn as _, Zt as v, _n as y, ar as b, dr as x, gn as S, hr as C, in as w, kn as T, ln as E, nt as D, on as O, or as k, qn as A, rn as j, ur as M, wn as N, yn as P } from "./global-5AbycIwc.js";
11
+ import { $t as e, Bn as t, Cn as n, Dn as r, En as i, Hn as a, Ht as o, Kn as s, Mn as c, On as l, Qt as u, Rn as d, Rt as f, Un as p, Vt as m, Wn as h, Yn as g, Zn as _, Zt as v, _n as y, ar as b, dr as x, gn as S, hr as C, in as w, kn as T, ln as E, nt as D, on as O, or as k, qn as A, rn as j, ur as M, wn as N, yn as P } from "./global-DMXVTUMq.js";
12
12
  //#region src/lib/ui/WebsiteLanguagePicker.svelte
13
13
  var F = i("<option> </option>"), I = i("<label class=\"language svelte-eatdmj\"><input type=\"checkbox\"/> </label>"), L = i("<div class=\"languages svelte-eatdmj\"><label class=\"svelte-eatdmj\">Source language <select class=\"svelte-eatdmj\"></select></label> <p class=\"svelte-eatdmj\">Write and edit website content in this language. New and changed content is automatically translated into the other selected languages when you save. Translation uses your configured AI provider and may incur usage charges.</p> <fieldset class=\"svelte-eatdmj\"><legend class=\"svelte-eatdmj\">Website languages (up to 12)</legend> <!></fieldset> <p class=\"svelte-eatdmj\">Visitors can switch languages without changing product identifiers, prices or URLs. Review automated translations before using them for legal or other sensitive content.</p></div>"), R = {
14
14
  hash: "svelte-eatdmj",
package/dist/admin.js CHANGED
@@ -8,11 +8,11 @@ globalThis.process === void 0 && (globalThis.process = {
8
8
  return Promise.resolve().then(e);
9
9
  }
10
10
  });
11
- import { $ as e, $n as t, $t as n, A as r, An as i, At as a, Bn as o, Bt as s, C as c, Cn as l, Ct as u, D as d, Dn as f, E as p, En as m, F as h, Fn as g, Ft as _, Gn as v, Gt as y, H as b, Hn as x, Ht as S, I as C, In as w, It as T, J as E, Jn as D, Jt as ee, Kn as O, Kt as te, Ln as ne, Lt as re, M as ie, Mn as k, Mt as ae, N as oe, Nn as se, Nt as ce, On as le, P as ue, Pn as A, Pt as de, Qn as fe, Qt as j, R as pe, Rn as M, Rt as N, Sn as me, T as he, Tn as ge, U as _e, Un as P, Ut as ve, Vn as F, Vt as I, W as ye, Wn as be, Wt as xe, X as Se, Xn as L, Xt as Ce, Yn as R, Zn as z, Zt as we, _n as Te, a as Ee, an as De, ar as B, bn as Oe, cn as ke, d as Ae, dn as je, dr as V, en as Me, er as Ne, et as Pe, fn as Fe, gn as H, gt as Ie, hn as Le, hr as Re, ht as ze, in as Be, ir as Ve, j as He, jn as U, jt as Ue, k as We, kn as W, kt as Ge, ln as Ke, mn as qe, mr as Je, n as Ye, nn as Xe, nr as Ze, o as Qe, on as $e, or as G, ot as et, pn as tt, pr as nt, pt as rt, q as it, qn as K, qt as at, rn as ot, rr as st, rt as ct, s as lt, sn as ut, sr as dt, st as ft, t as pt, tn as mt, tr as ht, tt as gt, un as _t, ur as q, ut as vt, vn as yt, wn as J, wt as bt, x as xt, xn as St, yn as Y, z as Ct, zn as wt, zt as Tt } from "./global-5AbycIwc.js";
11
+ import { $ as e, $n as t, $t as n, A as r, An as i, At as a, Bn as o, Bt as s, C as c, Cn as l, Ct as u, D as d, Dn as f, E as p, En as m, F as h, Fn as g, Ft as _, Gn as v, Gt as y, H as b, Hn as x, Ht as S, I as C, In as w, It as T, J as E, Jn as D, Jt as ee, Kn as O, Kt as te, Ln as ne, Lt as re, M as ie, Mn as k, Mt as ae, N as oe, Nn as se, Nt as ce, On as le, P as ue, Pn as A, Pt as de, Qn as fe, Qt as j, R as pe, Rn as M, Rt as N, Sn as me, T as he, Tn as ge, U as _e, Un as P, Ut as ve, Vn as F, Vt as I, W as ye, Wn as be, Wt as xe, X as Se, Xn as L, Xt as Ce, Yn as R, Zn as z, Zt as we, _n as Te, a as Ee, an as De, ar as B, bn as Oe, cn as ke, d as Ae, dn as je, dr as V, en as Me, er as Ne, et as Pe, fn as Fe, gn as H, gt as Ie, hn as Le, hr as Re, ht as ze, in as Be, ir as Ve, j as He, jn as U, jt as Ue, k as We, kn as W, kt as Ge, ln as Ke, mn as qe, mr as Je, n as Ye, nn as Xe, nr as Ze, o as Qe, on as $e, or as G, ot as et, pn as tt, pr as nt, pt as rt, q as it, qn as K, qt as at, rn as ot, rr as st, rt as ct, s as lt, sn as ut, sr as dt, st as ft, t as pt, tn as mt, tr as ht, tt as gt, un as _t, ur as q, ut as vt, vn as yt, wn as J, wt as bt, x as xt, xn as St, yn as Y, z as Ct, zn as wt, zt as Tt } from "./global-DMXVTUMq.js";
12
12
  import { n as Et, r as Dt, t as Ot } from "./config.types-DZ5yfeqq.js";
13
- import { C as kt, D as At, E as jt, O as Mt, S as Nt, T as Pt, _ as Ft, a as It, b as Lt, c as Rt, d as zt, f as Bt, g as Vt, h as Ht, i as Ut, l as Wt, n as Gt, o as Kt, r as qt, s as Jt, t as Yt, u as Xt, v as Zt, w as Qt, x as $t, y as en } from "./BuilderAgentPane-DsEI4-Al.js";
14
- import { i as tn, n as nn, t as rn } from "./IntegrationHealth-jTXhVEhP.js";
15
- import "./legacy-DeQqoiXf.js";
13
+ import { C as kt, D as At, E as jt, O as Mt, S as Nt, T as Pt, _ as Ft, a as It, b as Lt, c as Rt, d as zt, f as Bt, g as Vt, h as Ht, i as Ut, l as Wt, n as Gt, o as Kt, r as qt, s as Jt, t as Yt, u as Xt, v as Zt, w as Qt, x as $t, y as en } from "./BuilderAgentPane-B6zkx8zw.js";
14
+ import { i as tn, n as nn, t as rn } from "./IntegrationHealth-2p7QXJqB.js";
15
+ import "./legacy-C2ziK2Om.js";
16
16
  //#region ../sveltekit-static-preview/src/preview-template.ts
17
17
  function an(e, t, n) {
18
18
  let r = [], i = e.map((e) => `import ${e.component} from './${e.component}.svelte';`), a = e.filter((e) => e.loadModule).map((e) => `import * as ${e.component}Loader from './${e.loadModule}';`), o = Array.from(t.entries()).map(([e, t]) => `import ${t} from './${t}.svelte';`), s = e.map((e) => {
@@ -21635,14 +21635,14 @@ function eD(e, t) {
21635
21635
  i.error(e instanceof Error ? e.message : String(e));
21636
21636
  }
21637
21637
  }
21638
- function h(e) {
21638
+ function h(e, t = !0) {
21639
21639
  if (k(c)) try {
21640
21640
  n.writeDraft(k(c).id, {
21641
21641
  ...k(c),
21642
21642
  ...e
21643
21643
  });
21644
21644
  } catch (e) {
21645
- i.error(e instanceof Error ? e.message : String(e));
21645
+ t && i.error(e instanceof Error ? e.message : String(e));
21646
21646
  }
21647
21647
  }
21648
21648
  async function g(e) {
@@ -21757,7 +21757,7 @@ function eD(e, t) {
21757
21757
  }
21758
21758
  V(C), M(() => {
21759
21759
  u.disabled = a.busy, mt(p, k(c).name), mt(v, k(c).subject), l(ee, k(c).published ? "This draft is published. Sending it emails every subscribed contact." : "Publish this draft first: subscribers receive the published version, so links and images match the live site.");
21760
- }), W("change", p, (e) => h({ name: e.currentTarget.value })), W("change", v, (e) => h({ subject: e.currentTarget.value })), Ce(T, () => k(s), (e) => O(s, e)), J(e, r);
21760
+ }), W("input", p, (e) => h({ name: e.currentTarget.value }, !1)), W("change", p, (e) => h({ name: e.currentTarget.value })), W("input", v, (e) => h({ subject: e.currentTarget.value }, !1)), W("change", v, (e) => h({ subject: e.currentTarget.value })), Ce(T, () => k(s), (e) => O(s, e)), J(e, r);
21761
21761
  },
21762
21762
  $$slots: {
21763
21763
  actions: !0,
@@ -21802,7 +21802,7 @@ function eD(e, t) {
21802
21802
  k(c) ? e(S) : k(u) ? e(C, 1) : e(w, -1);
21803
21803
  }), V(y), J(e, y), B();
21804
21804
  }
21805
- le(["change"]), I(eD, {}, [], [], { mode: "open" });
21805
+ le(["input", "change"]), I(eD, {}, [], [], { mode: "open" });
21806
21806
  //#endregion
21807
21807
  //#region src/lib/admin/shared/workspace/InvoiceWorkspace.svelte
21808
21808
  var tD = m("<label class=\"svelte-13r6d1b\"> <input type=\"number\" class=\"svelte-13r6d1b\"/></label>"), nD = m("<label class=\"svelte-13r6d1b\">Position<select class=\"svelte-13r6d1b\"><option>left</option><option>center</option><option>right</option></select></label> <label class=\"svelte-13r6d1b\">Width<input type=\"number\" min=\"40\" max=\"200\" class=\"svelte-13r6d1b\"/></label>", 1), rD = m("<a download=\"invoice-preview.pdf\">Download preview</a><iframe title=\"Invoice PDF preview\" class=\"svelte-13r6d1b\"></iframe>", 1), iD = m("<div class=\"invoice-workspace svelte-13r6d1b\"><header class=\"svelte-13r6d1b\"><h2 class=\"svelte-13r6d1b\">Invoice design</h2><p class=\"svelte-13r6d1b\">Uses the global palette and fonts. Only presentation changes here; amounts and invoice numbers come from the order.</p><a href=\"#website/content/design\">Edit global design</a></header> <div class=\"controls svelte-13r6d1b\"><label class=\"svelte-13r6d1b\">Page<select class=\"svelte-13r6d1b\"><option>A4</option><option>Letter</option></select></label> <!> <label class=\"svelte-13r6d1b\">Table<select class=\"svelte-13r6d1b\"><option>striped</option><option>plain</option></select></label> <label class=\"svelte-13r6d1b\">Footer<textarea maxlength=\"300\" class=\"svelte-13r6d1b\"></textarea></label></div> <div class=\"logo-controls svelte-13r6d1b\"><!> <!></div> <p class=\"svelte-13r6d1b\">Preview uses sample order data. Staged logo/font assets are included in the preview. Changes are staged until Save.</p> <!> <!></div>"), aD = {
@@ -21950,11 +21950,11 @@ var sD = m("<h2 class=\"svelte-658x4l\"> </h2> <p class=\"svelte-658x4l\"> </p>
21950
21950
  function dD(e, t) {
21951
21951
  G(t, !0), Ke(e, uD);
21952
21952
  let n = S(t, "route", 7, ""), { repoFiles: r, notifications: i, enabledModules: a } = Qe(), s = Mt(), c = z(() => Zt(a.features)), u = z(() => n().split("/").filter(Boolean)[0]), d = z(() => k(c).find((e) => e === k(u))), f = z(() => k(d) ? $t(r)[k(d)] : void 0);
21953
- function p(e, t) {
21953
+ function p(e, t, n = !0) {
21954
21954
  if (k(d) && !s.busy) try {
21955
21955
  Qt(r, `${k(d)}.${e}`, t);
21956
21956
  } catch (e) {
21957
- i.error(e instanceof Error ? e.message : String(e));
21957
+ n && i.error(e instanceof Error ? e.message : String(e));
21958
21958
  }
21959
21959
  }
21960
21960
  var m = {
@@ -21986,7 +21986,7 @@ function dD(e, t) {
21986
21986
  var v = P(u, 2), y = o(v);
21987
21987
  q(), V(v), M(() => {
21988
21988
  l(i, Ft[k(d)].label), l(c, `${Ft[k(d)].when ?? ""} ${Ft[k(d)].suggestion ?? ""}`), u.disabled = s.busy, mt(h, k(f).subject), l(y, `${k(d) === "confirmation" ? "The confirm link must stay in the message." : k(d) === "purchase" ? "Order totals, the invoice and payment instructions are added when it is sent." : "Layout, logo, fonts, colors and footer are shared by every email."} `);
21989
- }), W("change", h, (e) => p("subject", e.currentTarget.value)), J(e, n);
21989
+ }), W("input", h, (e) => p("subject", e.currentTarget.value, !1)), W("change", h, (e) => p("subject", e.currentTarget.value)), J(e, n);
21990
21990
  },
21991
21991
  $$slots: { default: !0 }
21992
21992
  });
@@ -22012,7 +22012,7 @@ function dD(e, t) {
22012
22012
  k(d) && k(f) ? e(_) : e(v, -1);
22013
22013
  }), V(h), J(e, h), B(m);
22014
22014
  }
22015
- le(["change"]), I(dD, { route: {} }, [], [], { mode: "open" });
22015
+ le(["input", "change"]), I(dD, { route: {} }, [], [], { mode: "open" });
22016
22016
  //#endregion
22017
22017
  //#region src/lib/admin/modules/emails/ui/EmailPreviewPane.svelte
22018
22018
  var fD = m("<div class=\"toolbar svelte-1huh8ry\"><p class=\"subject svelte-1huh8ry\"><span class=\"svelte-1huh8ry\">Subject</span> </p> <button>Mobile</button></div> <div class=\"canvas svelte-1huh8ry\"><iframe title=\"Email preview\" sandbox=\"\"></iframe></div>", 1), pD = m("<p class=\"empty svelte-1huh8ry\"> </p>"), mD = m("<div class=\"email-preview svelte-1huh8ry\"><!></div>"), hD = {
@@ -8,7 +8,7 @@ globalThis.process === void 0 && (globalThis.process = {
8
8
  return Promise.resolve().then(e);
9
9
  }
10
10
  });
11
- import { p as e } from "./BuilderAgentPane-DsEI4-Al.js";
11
+ import { p as e } from "./BuilderAgentPane-B6zkx8zw.js";
12
12
  import { i as t } from "./diagnostics-x5QOwca_.js";
13
13
  import { n, t as r } from "./json-parse-CxjAnWaM.js";
14
14
  import { t as i } from "./provider-env-Cj6X7Wly.js";
@@ -8,7 +8,7 @@ globalThis.process === void 0 && (globalThis.process = {
8
8
  return Promise.resolve().then(e);
9
9
  }
10
10
  });
11
- import { m as e } from "./BuilderAgentPane-DsEI4-Al.js";
11
+ import { m as e } from "./BuilderAgentPane-B6zkx8zw.js";
12
12
  import { i as t } from "./diagnostics-x5QOwca_.js";
13
13
  import { t as n } from "./provider-env-Cj6X7Wly.js";
14
14
  import { t as r } from "./headers-CnTiKpOL.js";
@@ -17,7 +17,7 @@ import { c as a, i as o } from "./transform-messages-DvxSeyBQ.js";
17
17
  import { t as s } from "./openai-ClxLHXsh.js";
18
18
  import { n as c, t as l } from "./error-body-pXgvw5vV.js";
19
19
  import { t as u } from "./openai-prompt-cache-Bm8Re6Vv.js";
20
- import { n as d, r as f, t as p } from "./openai-responses-shared-BfJJDr6-.js";
20
+ import { n as d, r as f, t as p } from "./openai-responses-shared-B0rkV1lD.js";
21
21
  //#region ../../../../node_modules/.pnpm/@earendil-works+pi-ai@0.84.2_supports-color@10.2.2_ws@8.21.3_zod@4.4.3/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js
22
22
  var m = "v1", h = /* @__PURE__ */ new Set([
23
23
  "openai",
package/dist/builder.js CHANGED
@@ -8,8 +8,8 @@ globalThis.process === void 0 && (globalThis.process = {
8
8
  return Promise.resolve().then(e);
9
9
  }
10
10
  });
11
- import { Ht as e, Vt as t, Yn as n, ar as r, o as i, or as a } from "./global-5AbycIwc.js";
12
- import { t as o } from "./BuilderAgentPane-DsEI4-Al.js";
11
+ import { Ht as e, Vt as t, Yn as n, ar as r, o as i, or as a } from "./global-DMXVTUMq.js";
12
+ import { t as o } from "./BuilderAgentPane-B6zkx8zw.js";
13
13
  //#region src/lib/admin/modules/website/builder/Builder.svelte
14
14
  function s(t, s) {
15
15
  a(s, !0);