@liip/liipgpt 3.1.5 → 3.1.7

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.
Files changed (33) hide show
  1. package/button/liipgpt-button.iife.js +23 -23
  2. package/chat/liipgpt-chat.iife.js +39 -39
  3. package/config/index.cjs +6 -0
  4. package/config/index.d.ts +56 -0
  5. package/config/index.js +6 -0
  6. package/configurator/_app/env.js +1 -1
  7. package/configurator/_app/immutable/chunks/{BQdomWeS.js → B124_Z4-.js} +1 -1
  8. package/configurator/_app/immutable/chunks/B1VQlL-o.js +3 -0
  9. package/configurator/_app/immutable/chunks/BbjS28fo.js +1 -0
  10. package/configurator/_app/immutable/chunks/{B0WXLX1J.js → CA9QnFog.js} +1 -1
  11. package/configurator/_app/immutable/chunks/CBDGXapX.js +1 -0
  12. package/configurator/_app/immutable/chunks/{BY9g7Fs-.js → CI7DFtLc.js} +1 -1
  13. package/configurator/_app/immutable/chunks/CKY99Gic.js +143 -0
  14. package/configurator/_app/immutable/chunks/{DQUNH2ut.js → hjssItmR.js} +1 -1
  15. package/configurator/_app/immutable/chunks/{DGtI_Ps6.js → pxFTKbVE.js} +24 -24
  16. package/configurator/_app/immutable/entry/{app.BMADe28q.js → app.CsTU4Z7r.js} +2 -2
  17. package/configurator/_app/immutable/entry/start.B49AGbh4.js +1 -0
  18. package/configurator/_app/immutable/nodes/{0.BGTtQsuS.js → 0.2cxdkdcK.js} +1 -1
  19. package/configurator/_app/immutable/nodes/{1.CV0bJM1X.js → 1.Pui-K7bP.js} +1 -1
  20. package/configurator/_app/immutable/nodes/{2.BMsVzskQ.js → 2.Cwl2Ol5Y.js} +5 -5
  21. package/configurator/_app/immutable/nodes/{3.D1ncyx74.js → 3.Cn8Eednf.js} +1 -1
  22. package/configurator/_app/version.json +1 -1
  23. package/configurator/index.html +6 -6
  24. package/configurator/sidebar.html +6 -6
  25. package/index.cjs +6 -0
  26. package/index.d.ts +122 -0
  27. package/index.js +6 -0
  28. package/package.json +1 -1
  29. package/configurator/_app/immutable/chunks/Bpz1vSSr.js +0 -1
  30. package/configurator/_app/immutable/chunks/CJz3G_dw.js +0 -143
  31. package/configurator/_app/immutable/chunks/Cka1vezo.js +0 -3
  32. package/configurator/_app/immutable/chunks/WqaQhzMR.js +0 -1
  33. package/configurator/_app/immutable/entry/start.BFbyydjl.js +0 -1
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BGTtQsuS.js","../chunks/BQdomWeS.js","../chunks/NZTpNUN0.js","../chunks/Cx_YT9bD.js","../chunks/DePuinxN.js","../nodes/1.CV0bJM1X.js","../chunks/WqaQhzMR.js","../chunks/Cka1vezo.js","../chunks/D54U55sL.js","../chunks/CDW8Ir6T.js","../nodes/2.BMsVzskQ.js","../chunks/B0YFyw9m.js","../chunks/DGtI_Ps6.js","../nodes/3.D1ncyx74.js","../chunks/CJz3G_dw.js","../chunks/DQUNH2ut.js"])))=>i.map(i=>d[i]);
2
- import{i as x,c as O,b as D,_ as E}from"../chunks/B0YFyw9m.js";import{c as K,p as Q,I as U,u as W,G as i,P as I,T as R,D as X,f as C,a as P,s as Y,b as p,d as Z,v as c,N as T,H as w,e as $,r as tt,a8 as et,t as rt,g as at,a9 as st}from"../chunks/Cx_YT9bD.js";import"../chunks/NZTpNUN0.js";import{o as ot}from"../chunks/D54U55sL.js";import{p as u}from"../chunks/DePuinxN.js";const vt={};var nt=C('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),it=C("<!> <!>",1);function G(s,e){Q(e,!0);let m=u(e,"stores",7),_=u(e,"page",7),o=u(e,"constructors",7),r=u(e,"components",23,()=>[]),d=u(e,"form",7),f=u(e,"data_0",7,null),b=u(e,"data_1",7,null);U(()=>m().page.set(_())),W(()=>{m(),_(),o(),r(),d(),f(),b(),m().page.notify()});let y=I(!1),A=I(!1),L=I(null);ot(()=>{const t=m().page.subscribe(()=>{i(y)&&(R(A,!0),X().then(()=>{R(L,document.title||"untitled page",!0)}))});return R(y,!0),t});const H=w(()=>o()[1]);var V=it(),k=P(V);{var M=t=>{var a=T();const v=w(()=>o()[0]);var g=P(a);O(g,()=>i(v),(n,l)=>{D(l(n,{get data(){return f()},get form(){return d()},get params(){return _().params},children:(h,mt)=>{var j=T(),z=P(j);O(z,()=>i(H),(B,F)=>{D(F(B,{get data(){return b()},get form(){return d()}}),J=>r()[1]=J,()=>r()?.[1])}),p(h,j)},$$slots:{default:!0}}),h=>r()[0]=h,()=>r()?.[0])}),p(t,a)},N=t=>{var a=T();const v=w(()=>o()[0]);var g=P(a);O(g,()=>i(v),(n,l)=>{D(l(n,{get data(){return f()},get form(){return d()},get params(){return _().params}}),h=>r()[0]=h,()=>r()?.[0])}),p(t,a)};x(k,t=>{o()[1]?t(M):t(N,!1)})}var S=Y(k,2);{var q=t=>{var a=nt(),v=$(a);{var g=n=>{var l=et();rt(()=>at(l,i(L))),p(n,l)};x(v,n=>{i(A)&&n(g)})}tt(a),p(t,a)};x(S,t=>{i(y)&&t(q)})}return p(s,V),Z({get stores(){return m()},set stores(t){m(t),c()},get page(){return _()},set page(t){_(t),c()},get constructors(){return o()},set constructors(t){o(t),c()},get components(){return r()},set components(t=[]){r(t),c()},get form(){return d()},set form(t){d(t),c()},get data_0(){return f()},set data_0(t=null){f(t),c()},get data_1(){return b()},set data_1(t=null){b(t),c()}})}K(G,{stores:{},page:{},constructors:{},components:{},form:{},data_0:{},data_1:{}},[],[],!0);const gt=st(G),ht=[()=>E(()=>import("../nodes/0.BGTtQsuS.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>E(()=>import("../nodes/1.CV0bJM1X.js"),__vite__mapDeps([5,2,6,3,7,8,9]),import.meta.url),()=>E(()=>import("../nodes/2.BMsVzskQ.js"),__vite__mapDeps([10,11,3,2,12,4,8,1,7,6]),import.meta.url),()=>E(()=>import("../nodes/3.D1ncyx74.js"),__vite__mapDeps([13,2,4,3,12,11,8,1,7,14,6,9,15]),import.meta.url)],bt=[],Et={"/":[2],"/sidebar":[3]},ct={handleError:({error:s})=>{console.error(s)},reroute:()=>{},transport:{}},ut=Object.fromEntries(Object.entries(ct.transport).map(([s,e])=>[s,e.decode])),Pt=!1,yt=(s,e)=>ut[s](e);export{yt as decode,ut as decoders,Et as dictionary,Pt as hash,ct as hooks,vt as matchers,ht as nodes,gt as root,bt as server_loads};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.2cxdkdcK.js","../chunks/B124_Z4-.js","../chunks/NZTpNUN0.js","../chunks/Cx_YT9bD.js","../chunks/DePuinxN.js","../nodes/1.Pui-K7bP.js","../chunks/BbjS28fo.js","../chunks/B1VQlL-o.js","../chunks/D54U55sL.js","../chunks/CDW8Ir6T.js","../nodes/2.Cwl2Ol5Y.js","../chunks/B0YFyw9m.js","../chunks/pxFTKbVE.js","../nodes/3.Cn8Eednf.js","../chunks/CKY99Gic.js","../chunks/hjssItmR.js"])))=>i.map(i=>d[i]);
2
+ import{i as x,c as O,b as D,_ as E}from"../chunks/B0YFyw9m.js";import{c as K,p as Q,I as U,u as W,G as i,P as I,T as R,D as X,f as C,a as P,s as Y,b as p,d as Z,v as c,N as T,H as w,e as $,r as tt,a8 as et,t as rt,g as at,a9 as st}from"../chunks/Cx_YT9bD.js";import"../chunks/NZTpNUN0.js";import{o as ot}from"../chunks/D54U55sL.js";import{p as u}from"../chunks/DePuinxN.js";const vt={};var nt=C('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),it=C("<!> <!>",1);function G(s,e){Q(e,!0);let m=u(e,"stores",7),_=u(e,"page",7),o=u(e,"constructors",7),r=u(e,"components",23,()=>[]),d=u(e,"form",7),f=u(e,"data_0",7,null),b=u(e,"data_1",7,null);U(()=>m().page.set(_())),W(()=>{m(),_(),o(),r(),d(),f(),b(),m().page.notify()});let y=I(!1),A=I(!1),L=I(null);ot(()=>{const t=m().page.subscribe(()=>{i(y)&&(R(A,!0),X().then(()=>{R(L,document.title||"untitled page",!0)}))});return R(y,!0),t});const H=w(()=>o()[1]);var V=it(),k=P(V);{var M=t=>{var a=T();const v=w(()=>o()[0]);var g=P(a);O(g,()=>i(v),(n,l)=>{D(l(n,{get data(){return f()},get form(){return d()},get params(){return _().params},children:(h,mt)=>{var j=T(),z=P(j);O(z,()=>i(H),(B,F)=>{D(F(B,{get data(){return b()},get form(){return d()}}),J=>r()[1]=J,()=>r()?.[1])}),p(h,j)},$$slots:{default:!0}}),h=>r()[0]=h,()=>r()?.[0])}),p(t,a)},N=t=>{var a=T();const v=w(()=>o()[0]);var g=P(a);O(g,()=>i(v),(n,l)=>{D(l(n,{get data(){return f()},get form(){return d()},get params(){return _().params}}),h=>r()[0]=h,()=>r()?.[0])}),p(t,a)};x(k,t=>{o()[1]?t(M):t(N,!1)})}var S=Y(k,2);{var q=t=>{var a=nt(),v=$(a);{var g=n=>{var l=et();rt(()=>at(l,i(L))),p(n,l)};x(v,n=>{i(A)&&n(g)})}tt(a),p(t,a)};x(S,t=>{i(y)&&t(q)})}return p(s,V),Z({get stores(){return m()},set stores(t){m(t),c()},get page(){return _()},set page(t){_(t),c()},get constructors(){return o()},set constructors(t){o(t),c()},get components(){return r()},set components(t=[]){r(t),c()},get form(){return d()},set form(t){d(t),c()},get data_0(){return f()},set data_0(t=null){f(t),c()},get data_1(){return b()},set data_1(t=null){b(t),c()}})}K(G,{stores:{},page:{},constructors:{},components:{},form:{},data_0:{},data_1:{}},[],[],!0);const gt=st(G),ht=[()=>E(()=>import("../nodes/0.2cxdkdcK.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>E(()=>import("../nodes/1.Pui-K7bP.js"),__vite__mapDeps([5,2,6,3,7,8,9]),import.meta.url),()=>E(()=>import("../nodes/2.Cwl2Ol5Y.js"),__vite__mapDeps([10,11,3,2,12,4,8,1,7,6]),import.meta.url),()=>E(()=>import("../nodes/3.Cn8Eednf.js"),__vite__mapDeps([13,2,4,3,12,11,8,1,7,14,6,9,15]),import.meta.url)],bt=[],Et={"/":[2],"/sidebar":[3]},ct={handleError:({error:s})=>{console.error(s)},reroute:()=>{},transport:{}},ut=Object.fromEntries(Object.entries(ct.transport).map(([s,e])=>[s,e.decode])),Pt=!1,yt=(s,e)=>ut[s](e);export{yt as decode,ut as decoders,Et as dictionary,Pt as hash,ct as hooks,vt as matchers,ht as nodes,gt as root,bt as server_loads};
@@ -0,0 +1 @@
1
+ import{l as o,a as r}from"../chunks/B1VQlL-o.js";export{o as load_css,r as start};
@@ -1,4 +1,4 @@
1
- import{P as a}from"../chunks/BQdomWeS.js";import"../chunks/NZTpNUN0.js";import{c as r,p as l,N as c,a as u,Q as p,b as d,d as h,v as f}from"../chunks/Cx_YT9bD.js";import{p as g}from"../chunks/DePuinxN.js";const v=async()=>await(await fetch("https://liipgpt.api.dev.genai.liip.ch/configurator/api/all-org-names")).json(),m=["baselcitygpt"],y=async()=>{const n=await v().catch(e=>(console.error("Error fetching org names:",e),[]));n.push("liipgpt");const i=n.map(e=>m.includes(e)?[e,{dev:`https://${e}-dev-api.gpt.liip.ch/${e}`,prod:`https://${e}-api.gpt.liip.ch/${e}`}]:[e,{dev:`https://${e}.api.dev.genai.liip.ch/${e}`,prod:`https://${e}.api.prod.genai.liip.ch/${e}`}]);return Object.fromEntries(i)},b=`/**
1
+ import{P as a}from"../chunks/B124_Z4-.js";import"../chunks/NZTpNUN0.js";import{c as r,p as l,N as c,a as u,Q as p,b as d,d as h,v as f}from"../chunks/Cx_YT9bD.js";import{p as g}from"../chunks/DePuinxN.js";const v=async()=>await(await fetch("https://liipgpt.api.dev.genai.liip.ch/configurator/api/all-org-names")).json(),m=["baselcitygpt"],y=async()=>{const n=await v().catch(e=>(console.error("Error fetching org names:",e),[]));n.push("liipgpt");const i=n.map(e=>m.includes(e)?[e,{dev:`https://${e}-dev-api.gpt.liip.ch/${e}`,prod:`https://${e}-api.gpt.liip.ch/${e}`}]:[e,{dev:`https://${e}.api.dev.genai.liip.ch/${e}`,prod:`https://${e}.api.prod.genai.liip.ch/${e}`}]);return Object.fromEntries(i)},b=`/**
2
2
  * @type {import('@liip/liipgpt/config').ChatConfig} ChatConfig
3
3
  */
4
4
  const CHAT_CONFIG_OVERRIDE = {
@@ -1 +1 @@
1
- import"../chunks/NZTpNUN0.js";import{p as e}from"../chunks/WqaQhzMR.js";import{c,p as h,f as l,a as u,t as _,b as v,d as g,e as s,r as o,s as d,g as p}from"../chunks/Cx_YT9bD.js";import{i as x}from"../chunks/CDW8Ir6T.js";var b=l("<h1> </h1> <p> </p>",1);function E(m,i){h(i,!1),x();var r=b(),t=u(r),f=s(t,!0);o(t);var a=d(t,2),n=s(a,!0);o(a),_(()=>{p(f,e.status),p(n,e.error?.message)}),v(m,r),g()}c(E,{},[],[],!0);export{E as component};
1
+ import"../chunks/NZTpNUN0.js";import{p as e}from"../chunks/BbjS28fo.js";import{c,p as h,f as l,a as u,t as _,b as v,d as g,e as s,r as o,s as d,g as p}from"../chunks/Cx_YT9bD.js";import{i as x}from"../chunks/CDW8Ir6T.js";var b=l("<h1> </h1> <p> </p>",1);function E(m,i){h(i,!1),x();var r=b(),t=u(r),f=s(t,!0);o(t);var a=d(t,2),n=s(a,!0);o(a),_(()=>{p(f,e.status),p(n,e.error?.message)}),v(m,r),g()}c(E,{},[],[],!0);export{E as component};
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/Bpz1vSSr.js","../chunks/NZTpNUN0.js","../chunks/Cx_YT9bD.js","../chunks/DePuinxN.js","../chunks/CJz3G_dw.js","../chunks/D54U55sL.js","../chunks/B0YFyw9m.js","../chunks/DGtI_Ps6.js","../chunks/BQdomWeS.js","../chunks/Cka1vezo.js","../chunks/WqaQhzMR.js","../chunks/CDW8Ir6T.js","../chunks/DQUNH2ut.js","../chunks/BY9g7Fs-.js","../chunks/B0WXLX1J.js"])))=>i.map(i=>d[i]);
2
- import{i as I,_ as Ct,b as Bt}from"../chunks/B0YFyw9m.js";import"../chunks/NZTpNUN0.js";import{c as X,p as Ee,f as _,s as e,e as a,t as K,b as l,d as De,v as ie,r as t,g as je,S as z,u as Y,o as da,aC as Mt,N as F,a as L,G as n,H as D,aD as ca,aE as Te,P as jt,aF as Pt,O as ua,T as Et}from"../chunks/Cx_YT9bD.js";import{a as se,s as R,l as At,m as va,j as v,n as pa,A as ma,e as W,i as V,I as ae,o as ha,C as Dt,t as ga,p as ba,S as r,q as wa,P as Le,R as Ce,r as Be,N as _a,u as fa,v as ya,w as xa,c as qa,x as ka,M as Sa,h as Pe,y as za,z as Ft,D as Ia}from"../chunks/DGtI_Ps6.js";import{p as ne,s as Ta,r as La}from"../chunks/DePuinxN.js";import{g as Ca}from"../chunks/Cka1vezo.js";import{p as Ba}from"../chunks/WqaQhzMR.js";var ja=_('<div class="swatch svelte-18q4g20"><div class="swatch__color svelte-18q4g20"></div> <div class="swatch__label svelte-18q4g20"> </div></div>');const Pa={hash:"svelte-18q4g20",code:`.swatch {display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:100%;overflow:hidden;border:1px solid var(--base-line-color);border-radius:var(--card-border-radius);&:hover .swatch__label.svelte-18q4g20 {opacity:1;}}.swatch__color.svelte-18q4g20 {aspect-ratio:1;width:100%;}.swatch__label.svelte-18q4g20 {display:none;width:100%;padding:6px;background:white;color:black;font-size:10px;transition:opacity 0.2s ease;
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/CBDGXapX.js","../chunks/NZTpNUN0.js","../chunks/Cx_YT9bD.js","../chunks/DePuinxN.js","../chunks/CKY99Gic.js","../chunks/D54U55sL.js","../chunks/B0YFyw9m.js","../chunks/pxFTKbVE.js","../chunks/B124_Z4-.js","../chunks/B1VQlL-o.js","../chunks/BbjS28fo.js","../chunks/CDW8Ir6T.js","../chunks/hjssItmR.js","../chunks/CI7DFtLc.js","../chunks/CA9QnFog.js"])))=>i.map(i=>d[i]);
2
+ import{i as I,_ as Ct,b as Bt}from"../chunks/B0YFyw9m.js";import"../chunks/NZTpNUN0.js";import{c as X,p as Ee,f as _,s as e,e as a,t as K,b as l,d as De,v as ie,r as t,g as je,S as z,u as Y,o as da,aC as Mt,N as F,a as L,G as n,H as D,aD as ca,aE as Te,P as jt,aF as Pt,O as ua,T as Et}from"../chunks/Cx_YT9bD.js";import{a as se,s as R,l as At,m as va,j as v,n as pa,A as ma,e as W,i as V,I as ae,o as ha,C as Dt,t as ga,p as ba,S as r,q as wa,P as Le,R as Ce,r as Be,N as _a,u as fa,v as ya,w as xa,c as qa,x as ka,M as Sa,h as Pe,y as za,z as Ft,D as Ia}from"../chunks/pxFTKbVE.js";import{p as ne,s as Ta,r as La}from"../chunks/DePuinxN.js";import{g as Ca}from"../chunks/B1VQlL-o.js";import{p as Ba}from"../chunks/BbjS28fo.js";var ja=_('<div class="swatch svelte-18q4g20"><div class="swatch__color svelte-18q4g20"></div> <div class="swatch__label svelte-18q4g20"> </div></div>');const Pa={hash:"svelte-18q4g20",code:`.swatch {display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:100%;overflow:hidden;border:1px solid var(--base-line-color);border-radius:var(--card-border-radius);&:hover .swatch__label.svelte-18q4g20 {opacity:1;}}.swatch__color.svelte-18q4g20 {aspect-ratio:1;width:100%;}.swatch__label.svelte-18q4g20 {display:none;width:100%;padding:6px;background:white;color:black;font-size:10px;transition:opacity 0.2s ease;
3
3
 
4
4
  @media (min-width: 768px) {display:block;
5
5
  }}`};function re(b,c){Ee(c,!1),se(b,Pa);let y=ne(c,"name",12),o=ne(c,"key",12),j=ne(c,"value",12);var x=ja(),M=a(x),A=e(M,2),U=a(A,!0);return t(A),t(x),K(()=>{R(x,"title",`Color ${o()}: ${j()}`),At(M,`background-color: var(--color-${y()??""}-${o()??""});`),je(U,o())}),l(b,x),De({get name(){return y()},set name(p){y(p),ie()},get key(){return o()},set key(p){o(p),ie()},get value(){return j()},set value(p){j(p),ie()}})}X(re,{name:{},key:{},value:{}},[],[],!0);var Ea=_('<ol><li class="toast" data-type="error"><div data-icon=""><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" aria-hidden="true"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z" clip-rule="evenodd"></path></svg></div> <div data-content=""><div data-title="">Error notification</div></div></li> <li class="toast" data-type="warning"><div data-icon=""><svg viewBox="0 0 64 64" fill="currentColor" height="20" width="20" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M32.427,7.987c2.183,0.124 4,1.165 5.096,3.281l17.936,36.208c1.739,3.66 -0.954,8.585 -5.373,8.656l-36.119,0c-4.022,-0.064 -7.322,-4.631 -5.352,-8.696l18.271,-36.207c0.342,-0.65 0.498,-0.838 0.793,-1.179c1.186,-1.375 2.483,-2.111 4.748,-2.063Zm-0.295,3.997c-0.687,0.034 -1.316,0.419 -1.659,1.017c-6.312,11.979 -12.397,24.081 -18.301,36.267c-0.546,1.225 0.391,2.797 1.762,2.863c12.06,0.195 24.125,0.195 36.185,0c1.325,-0.064 2.321,-1.584 1.769,-2.85c-5.793,-12.184 -11.765,-24.286 -17.966,-36.267c-0.366,-0.651 -0.903,-1.042 -1.79,-1.03Z"></path><path d="M33.631,40.581l-3.348,0l-0.368,-16.449l4.1,0l-0.384,16.449Zm-3.828,5.03c0,-0.609 0.197,-1.113 0.592,-1.514c0.396,-0.4 0.935,-0.601 1.618,-0.601c0.684,0 1.223,0.201 1.618,0.601c0.395,0.401 0.593,0.905 0.593,1.514c0,0.587 -0.193,1.078 -0.577,1.473c-0.385,0.395 -0.929,0.593 -1.634,0.593c-0.705,0 -1.249,-0.198 -1.634,-0.593c-0.384,-0.395 -0.576,-0.886 -0.576,-1.473Z"></path></svg></div> <div data-content=""><div data-title="">Warning notification</div></div></li> <li class="toast" data-type="success"><div data-icon=""><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-error-icon="" aria-hidden="true"><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd"></path></svg></div> <div data-content=""><div data-title="">Success notification</div></div></li> <li class="toast" data-type="info"><div data-icon=""><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" aria-hidden="true"><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z" clip-rule="evenodd"></path></svg></div> <div data-content=""><div data-title="">Info notification</div></div></li></ol>');function Ht(b){var c=Ea();l(b,c)}X(Ht,{},[],[],!0);var Da=_(`<h1>Title h1</h1> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. <em>Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus.</em> <strong>Sed sed enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis.</strong></p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus. <a href="https://www.google.com">Check it on google</a> . Sed sed enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis.</p> <p class="text-sm svelte-128qu17">Text-sm: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque
@@ -22,9 +22,9 @@ Bitte lassen Sie mich wissen, ob Sie weitere Informationen zu einem bestimmten T
22
22
  <p>Falls Sie spezifische Informationen zu Tests in der Softwareentwicklung oder zu bestimmten Testmethoden suchen, könnte der Artikel über <strong>End-to-End-Tests mit Jest und Puppeteer</strong> von Jürg Hunziker interessant sein, der beschreibt, wie man automatisierte Tests für Gutenberg-Blöcke in WordPress implementiert <liipgpt-reference-number data-source="{&quot;url&quot;:&quot;https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks&quot;,&quot;considered&quot;:true,&quot;referencesIndex&quot;:{&quot;all&quot;:3,&quot;used&quot;:1},&quot;display&quot;:{&quot;card&quot;:{&quot;title&quot;:&quot;How to test your Gutenberg blocks with Jest and Puppeteer · Blog&quot;,&quot;description&quot;:&quot;This tutorial explains how to implement automated End-to-End tests for Gutenberg blocks using Jest and Puppeteer, focusing on a custom wrapper block that allows background color, margin, and alignment adjustments.&quot;,&quot;badge&quot;:&quot;https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks&quot;},&quot;listItem&quot;:{&quot;title&quot;:&quot;How to test your Gutenberg blocks with Jest and Puppeteer · Blog&quot;,&quot;badge&quot;:&quot;www.liip.ch&quot;}}}" data-used-index="1" data-all-index="3"></liipgpt-reference-number>. </p>
23
23
  <p>Zusätzlich gibt es auch Inhalte über <strong>Debugging von E-Mails auf einem Staging-Server</strong>, die einfache Lösungen für Testumgebungen bieten <liipgpt-reference-number data-source="{&quot;url&quot;:&quot;https://www.liip.ch/en/blog/debugging-email-on-staging-server&quot;,&quot;considered&quot;:true,&quot;referencesIndex&quot;:{&quot;all&quot;:2,&quot;used&quot;:2},&quot;display&quot;:{&quot;card&quot;:{&quot;title&quot;:&quot;Debugging Email on Staging Server · Blog&quot;,&quot;description&quot;:&quot;To test email features on a staging server without sending emails to actual recipients, a solution was implemented to trap all outgoing emails and display them through a web interface, ensuring that test emails are preserved while preventing accidental sends to clients.&quot;,&quot;badge&quot;:&quot;https://www.liip.ch/en/blog/debugging-email-on-staging-server&quot;},&quot;listItem&quot;:{&quot;title&quot;:&quot;Debugging Email on Staging Server · Blog&quot;,&quot;badge&quot;:&quot;www.liip.ch&quot;}}}" data-used-index="2" data-all-index="2"></liipgpt-reference-number>. </p>
24
24
  <p>Bitte lassen Sie mich wissen, ob Sie weitere Informationen zu einem bestimmten Thema wünschen! </p>
25
- `,text:'Leider kann ich Ihnen bei der Frage nach "test" nicht weiterhelfen, da die Informationen dazu nicht in den gelieferten Inhalten enthalten sind. Falls Sie spezifische Informationen zu Tests in der Softwareentwicklung oder zu bestimmten Testmethoden suchen, könnte der Artikel über End-to-End-Tests mit Jest und Puppeteer von Jürg Hunziker interessant sein, der beschreibt, wie man automatisierte Tests für Gutenberg-Blöcke in WordPress implementiert. Zusätzlich gibt es auch Inhalte über Debugging von E-Mails auf einem Staging-Server, die einfache Lösungen für Testumgebungen bieten. Bitte lassen Sie mich wissen, ob Sie weitere Informationen zu einem bestimmten Thema wünschen!'},references:{used:[{url:"https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks",considered:!0,score:.9,metadata:{},referenceIndex:{all:3,used:1},display:{card:{title:"How to test your Gutenberg blocks with Jest and Puppeteer · Blog",description:"This tutorial explains how to implement automated End-to-End tests for Gutenberg blocks using Jest and Puppeteer, focusing on a custom wrapper block that allows background color, margin, and alignment adjustments.",badge:"https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks"},listItem:{title:"How to test your Gutenberg blocks with Jest and Puppeteer · Blog",badge:"www.liip.ch"}}},{url:"https://www.liip.ch/en/blog/debugging-email-on-staging-server",considered:!0,score:.9,metadata:{},referenceIndex:{all:2,used:2},display:{card:{title:"Debugging Email on Staging Server · Blog",description:"To test email features on a staging server without sending emails to actual recipients, a solution was implemented to trap all outgoing emails and display them through a web interface, ensuring that test emails are preserved while preventing accidental sends to clients.",badge:"https://www.liip.ch/en/blog/debugging-email-on-staging-server"},listItem:{title:"Debugging Email on Staging Server · Blog",badge:"www.liip.ch"}}}],all:[{url:"https://www.liip.ch/en/blog/little-test",considered:!0,referenceIndex:{all:0},score:.9,metadata:{},display:{card:{title:"little test · Blog",description:"The text appears to be a placeholder or test entry on a blog, lacking substantive content or context.",badge:"https://www.liip.ch/en/blog/little-test"},listItem:{title:"little test · Blog",badge:"www.liip.ch"}}},{url:"https://www.liip.ch/en/blog/how-a-simple-solution-alleviated-a-complex-problem",considered:!0,score:.9,metadata:{},referenceIndex:{all:1},display:{card:{title:"How a simple solution alleviated a complex problem · Blog",description:"A developer shares their experience of addressing the issue of insufficient test coverage in a Symfony application by implementing a script that monitors routing changes, thereby enhancing the stability of the API without extensive resource investment.",badge:"https://www.liip.ch/en/blog/how-a-simple-solution-alleviated-a-complex-problem"},listItem:{title:"How a simple solution alleviated a complex problem · Blog",badge:"www.liip.ch"}}},{url:"https://www.liip.ch/en/blog/debugging-email-on-staging-server",considered:!0,score:.9,metadata:{},referenceIndex:{all:2,used:2},display:{card:{title:"Debugging Email on Staging Server · Blog",description:"To test email features on a staging server without sending emails to actual recipients, a solution was implemented to trap all outgoing emails and display them through a web interface, ensuring that test emails are preserved while preventing accidental sends to clients.",badge:"https://www.liip.ch/en/blog/debugging-email-on-staging-server"},listItem:{title:"Debugging Email on Staging Server · Blog",badge:"www.liip.ch"}}},{url:"https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks",considered:!0,referenceIndex:{all:3,used:1},score:.9,metadata:{},display:{card:{title:"How to test your Gutenberg blocks with Jest and Puppeteer · Blog",description:"This tutorial explains how to implement automated End-to-End tests for Gutenberg blocks using Jest and Puppeteer, focusing on a custom wrapper block that allows background color, margin, and alignment adjustments.",badge:"https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks"},listItem:{title:"How to test your Gutenberg blocks with Jest and Puppeteer · Blog",badge:"www.liip.ch"}}}],unused:[{url:"https://www.liip.ch/en/blog/how-a-simple-solution-alleviated-a-complex-problem",considered:!0,score:.9,metadata:{},referenceIndex:{all:1},display:{card:{title:"How a simple solution alleviated a complex problem · Blog",description:"A developer shares their experience of addressing the issue of insufficient test coverage in a Symfony application by implementing a script that monitors routing changes, thereby enhancing the stability of the API without extensive resource investment.",badge:"https://www.liip.ch/en/blog/how-a-simple-solution-alleviated-a-complex-problem"},listItem:{title:"How a simple solution alleviated a complex problem · Blog",badge:"www.liip.ch"}}}]},id:"eb8a0123-5143-46e2-8e23-d4e6a76a8ebb"},{type:"component",componentName:"combobox",time:"2025-01-22T08:03:11.044Z",data:{caption:"What is your favorite <b>fruit</b>?",placeholder:"Search a fruit",values:[{value:"mango",label:"Mango"},{value:"watermelon",label:"Watermelon"},{value:"apple",label:"Apple"},{value:"pineapple",label:"Pineapple"},{value:"orange",label:"Orange"},{value:"grape",label:"Grape"},{value:"strawberry",label:"Strawberry"},{value:"banana",label:"Banana"},{value:"kiwi",label:"Kiwi"},{value:"peach",label:"Peach"},{value:"cherry",label:"Cherry"},{value:"blueberry",label:"Blueberry"},{value:"raspberry",label:"Raspberry"},{value:"blackberry",label:"Blackberry"},{value:"plum",label:"Plum"},{value:"apricot",label:"Apricot"},{value:"pear",label:"Pear"},{value:"grapefruit",label:"Grapefruit"}]}},{type:"component",componentName:"buttons",time:"2025-01-22T08:03:11.044Z",data:{caption:"Are you <b>ready</b>?",buttons:[{label:"<b>Yes</b>",value:"yes",variant:"primary"},{label:"No",value:"no",variant:"secondary"},{label:"Well, maybe",value:"no",href:"https://example.com",variant:"tertiary",icon:"externalLink",target:"_blank"}]}}];var Aa=_('<link rel="stylesheet"/>'),Ha=_("<!> <!> <!> <!> <!>",1),Ga=_('<div class="context-menu svelte-12rj1z4"><!></div>'),Oa=_('<div class="chat-app__loader-container">Loading...</div>'),Ra=_('<div class="container text-container" style="padding-bottom: 200px;"><hr/> <h2>Terms</h2> <div class="dialog-content svelte-12rj1z4"><div class="dialog-header"><div class="dialog-title"><!></div> <div class="dialog-close"><span class="sr-only">Close</span> <!></div></div> <div class="dialog-description text-container"><!></div></div></div>'),Ja=_(`<div class="container text-container" style="padding-top: 100px;"><h1>Base</h1> <p>This text has the configured text color. This <a href="https://www.liip.ch">anchor</a> has the configured anchor color. This page has the configured background color.</p> <h2 class="h3">Colors</h2> <h3 class="h4">Brand Colors</h3> <div class="color-swatches svelte-12rj1z4"><!></div> <h3 class="h4">Highlight Colors (optional)</h3> <div class="color-swatches svelte-12rj1z4"><!></div> <h3 class="h4">Grey Colors</h3> <div class="color-swatches svelte-12rj1z4"><!></div></div> <div class="container text-container"><hr/> <h1>Abstractions</h1> <p>The following elements are not components, but abstractions only. Their properties are defined in the configuration
25
+ `,text:'Leider kann ich Ihnen bei der Frage nach "test" nicht weiterhelfen, da die Informationen dazu nicht in den gelieferten Inhalten enthalten sind. Falls Sie spezifische Informationen zu Tests in der Softwareentwicklung oder zu bestimmten Testmethoden suchen, könnte der Artikel über End-to-End-Tests mit Jest und Puppeteer von Jürg Hunziker interessant sein, der beschreibt, wie man automatisierte Tests für Gutenberg-Blöcke in WordPress implementiert. Zusätzlich gibt es auch Inhalte über Debugging von E-Mails auf einem Staging-Server, die einfache Lösungen für Testumgebungen bieten. Bitte lassen Sie mich wissen, ob Sie weitere Informationen zu einem bestimmten Thema wünschen!'},references:{used:[{url:"https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks",considered:!0,score:.9,metadata:{},referenceIndex:{all:3,used:1},display:{card:{title:"How to test your Gutenberg blocks with Jest and Puppeteer · Blog",description:"This tutorial explains how to implement automated End-to-End tests for Gutenberg blocks using Jest and Puppeteer, focusing on a custom wrapper block that allows background color, margin, and alignment adjustments.",badge:"https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks"},listItem:{title:"How to test your Gutenberg blocks with Jest and Puppeteer · Blog",badge:"www.liip.ch"}}},{url:"https://www.liip.ch/en/blog/debugging-email-on-staging-server",considered:!0,score:.9,metadata:{},referenceIndex:{all:2,used:2},display:{card:{title:"Debugging Email on Staging Server · Blog",description:"To test email features on a staging server without sending emails to actual recipients, a solution was implemented to trap all outgoing emails and display them through a web interface, ensuring that test emails are preserved while preventing accidental sends to clients.",badge:"https://www.liip.ch/en/blog/debugging-email-on-staging-server"},listItem:{title:"Debugging Email on Staging Server · Blog",badge:"www.liip.ch"}}}],all:[{url:"https://www.liip.ch/en/blog/little-test",considered:!0,referenceIndex:{all:0},score:.9,metadata:{},display:{card:{title:"little test · Blog",description:"The text appears to be a placeholder or test entry on a blog, lacking substantive content or context.",badge:"https://www.liip.ch/en/blog/little-test"},listItem:{title:"little test · Blog",badge:"www.liip.ch"}}},{url:"https://www.liip.ch/en/blog/how-a-simple-solution-alleviated-a-complex-problem",considered:!0,score:.9,metadata:{},referenceIndex:{all:1},display:{card:{title:"How a simple solution alleviated a complex problem · Blog",description:"A developer shares their experience of addressing the issue of insufficient test coverage in a Symfony application by implementing a script that monitors routing changes, thereby enhancing the stability of the API without extensive resource investment.",badge:"https://www.liip.ch/en/blog/how-a-simple-solution-alleviated-a-complex-problem"},listItem:{title:"How a simple solution alleviated a complex problem · Blog",badge:"www.liip.ch"}}},{url:"https://www.liip.ch/en/blog/debugging-email-on-staging-server",considered:!0,score:.9,metadata:{},referenceIndex:{all:2,used:2},display:{card:{title:"Debugging Email on Staging Server · Blog",description:"To test email features on a staging server without sending emails to actual recipients, a solution was implemented to trap all outgoing emails and display them through a web interface, ensuring that test emails are preserved while preventing accidental sends to clients.",badge:"https://www.liip.ch/en/blog/debugging-email-on-staging-server"},listItem:{title:"Debugging Email on Staging Server · Blog",badge:"www.liip.ch"}}},{url:"https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks",considered:!0,referenceIndex:{all:3,used:1},score:.9,metadata:{},display:{card:{title:"How to test your Gutenberg blocks with Jest and Puppeteer · Blog",description:"This tutorial explains how to implement automated End-to-End tests for Gutenberg blocks using Jest and Puppeteer, focusing on a custom wrapper block that allows background color, margin, and alignment adjustments.",badge:"https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks"},listItem:{title:"How to test your Gutenberg blocks with Jest and Puppeteer · Blog",badge:"www.liip.ch"}}}],unused:[{url:"https://www.liip.ch/en/blog/how-a-simple-solution-alleviated-a-complex-problem",considered:!0,score:.9,metadata:{},referenceIndex:{all:1},display:{card:{title:"How a simple solution alleviated a complex problem · Blog",description:"A developer shares their experience of addressing the issue of insufficient test coverage in a Symfony application by implementing a script that monitors routing changes, thereby enhancing the stability of the API without extensive resource investment.",badge:"https://www.liip.ch/en/blog/how-a-simple-solution-alleviated-a-complex-problem"},listItem:{title:"How a simple solution alleviated a complex problem · Blog",badge:"www.liip.ch"}}}]},id:"eb8a0123-5143-46e2-8e23-d4e6a76a8ebb"},{type:"component",componentName:"combobox",time:"2025-01-22T08:03:11.044Z",data:{caption:"What is your favorite <b>fruit</b>?",placeholder:"Search a fruit",values:[{value:"mango",label:"Mango"},{value:"watermelon",label:"Watermelon"},{value:"apple",label:"Apple"},{value:"pineapple",label:"Pineapple"},{value:"orange",label:"Orange"},{value:"grape",label:"Grape"},{value:"strawberry",label:"Strawberry"},{value:"banana",label:"Banana"},{value:"kiwi",label:"Kiwi"},{value:"peach",label:"Peach"},{value:"cherry",label:"Cherry"},{value:"blueberry",label:"Blueberry"},{value:"raspberry",label:"Raspberry"},{value:"blackberry",label:"Blackberry"},{value:"plum",label:"Plum"},{value:"apricot",label:"Apricot"},{value:"pear",label:"Pear"},{value:"grapefruit",label:"Grapefruit"}]}},{type:"component",componentName:"buttons",time:"2025-01-22T08:03:11.044Z",data:{caption:"Are you <b>ready</b>?",buttons:[{label:"<b>Yes</b>",value:"yes",variant:"primary"},{label:"No",value:"no",variant:"secondary"},{label:"Well, maybe",value:"no",href:"https://example.com",variant:"tertiary",icon:"externalLink",target:"_blank"}]}}];var Aa=_('<link rel="stylesheet"/>'),Ha=_("<!> <!> <!> <!> <!>",1),Ga=_('<div class="context-menu svelte-12rj1z4"><!></div>'),Oa=_('<div class="chat-app__loader-container">Loading...</div>'),Ra=_('<div class="container text-container" style="padding-bottom: 200px;"><hr/> <h2>Popups</h2> <div class="dialog-content svelte-12rj1z4"><div class="dialog-header"><div class="dialog-title"><!></div> <div class="dialog-close"><span class="sr-only">Close</span> <!></div></div> <div class="dialog-description"><!></div></div></div>'),Ja=_(`<div class="container text-container" style="padding-top: 100px;"><h1>Base</h1> <p>This text has the configured text color. This <a href="https://www.liip.ch">anchor</a> has the configured anchor color. This page has the configured background color.</p> <h2 class="h3">Colors</h2> <h3 class="h4">Brand Colors</h3> <div class="color-swatches svelte-12rj1z4"><!></div> <h3 class="h4">Highlight Colors (optional)</h3> <div class="color-swatches svelte-12rj1z4"><!></div> <h3 class="h4">Grey Colors</h3> <div class="color-swatches svelte-12rj1z4"><!></div></div> <div class="container text-container"><hr/> <h1>Abstractions</h1> <p>The following elements are not components, but abstractions only. Their properties are defined in the configuration
26
26
  files and are applied to the components that need them.</p> <div class="card transition-colors svelte-12rj1z4">Card</div></div> <div class="container text-container"><h1>Components</h1> <h2>Buttons</h2> <div><div style="display: flex; gap: 1rem; margin-bottom: 1rem;"><button class="btn btn--primary">Primary</button> <button class="btn btn--secondary">Secondary</button> <button class="btn btn--tertiary">Tertiary</button></div> <div style="display: flex; gap: 1rem;"><button class="btn btn--primary" disabled>Primary</button> <button class="btn btn--secondary" disabled>Secondary</button> <button class="btn btn--tertiary" disabled>Tertiary</button></div></div> <h2>Avatars</h2> <div style="display: flex; gap: 1rem;"><!> <!></div> <h2>ChatInput</h2> <!> <div class="predefined-questions"><!> <!> <!></div> <h2>References</h2> <div class="references__container svelte-12rj1z4"><div class="references__items"><!> <!> <!></div></div> <div><p>hover over the reference number to see the tooltip: <liipgpt-reference-number></liipgpt-reference-number> .</p></div> <div style="position: relative;"><a class="reference-number__content transition-colors no-link-styling" href="https://www.liip.ch" target="_blank" rel="noopener noreferrer"><span class="reference__header"><h3 class="reference__title h4">Reference tooltip example</h3> <!></span> <span class="reference__description line-clamp line-clamp--6">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et
27
27
  dolore magna aliqua. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</span> <span class="reference__footer"><span class="reference__domain transition-colors"><span class="truncate">www.very-very-longer-url-to-test.ch</span></span> <span class="reference__breadcrumb transition-colors">Organisation</span> <span class="reference__breadcrumb transition-colors">Über uns</span></span></a></div> <h2>Menu</h2> <div style="display: flex; gap: 1rem; margin-bottom: 1rem;"><div class="chat-app__header-content"><!> <!> <!> <!></div></div> <h3>Menu example</h3> <div class="context-box__content svelte-12rj1z4"><div class="context-box__menu"><div class="context-box__menu-item transition-colors"><!> <span>Menü Beispiel</span></div></div> <div class="context-box__separator"></div> <div><div class="context-box__title">Sprache auswählen</div> <div class="context-box__menu"><div class="context-box__menu-item transition-colors active"><!> <span>Deutsch</span></div> <div class="context-box__menu-item transition-colors"><!> <span>English</span></div> <div class="context-box__menu-item transition-colors"><!> <span>Français</span></div> <div class="context-box__menu-item transition-colors"><!> <span>Italiano</span></div></div></div> <div class="context-box__separator" id="bits-c15" role="group" data-dropdown-menu-separator=""></div> <div id="bits-c16" data-dropdown-menu-radio-group="" role="group"><div class="context-box__color-scheme-selector"><div class="context-box__color-scheme-selector-button transition-colors context-box__color-scheme-selector-button--active"><!> <span>Hell</span></div> <hr class="context-box__color-scheme-selector-separator"/> <div class="context-box__color-scheme-selector-button transition-colors"><!> <span>Dunkel</span></div></div></div></div> <h2>Feedback Form</h2> <div class="dialog-content svelte-12rj1z4"><div class="dialog-header"><div class="dialog-title"><h3 class="h4">Feedback geben, um unseren Chatbot zu verbessern</h3></div> <button class="dialog-close"><span class="sr-only">Close</span> <div aria-hidden="true" class="svg svg--dismiss"><svg viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path d="m5.743 5.742 12.514 12.514"></path><path d="m18.257 5.742-12.514 12.514"></path></g></svg></div></button></div> <div class="dialog-description" id="bits-92" data-dialog-description="" data-state="open"><form name="feedback-form" class="form"><!> <div class="form__item"><label class="form__label" for="feedback"> </label> <textarea id="feedback" class="input"></textarea></div> <div class="form__item"><label class="form__label" for="email"> </label> <input type="email" id="email" class="input"/></div></form></div></div> <h2>Tooltip</h2> <div class="tooltip-container" style="height: 100px"><div class="tooltip tooltip-top" style="">I'm a tooltip</div></div></div> <div class="container text-container"><hr/> <h2>Notifications</h2> <!></div> <div class="container text-container"><hr/> <h2>Chat</h2></div> <div class="chat-page__messages svelte-12rj1z4"></div> <div class="text-container container"><hr/> <h2>Typography</h2> <!> <hr/> <h2>Icons</h2> <div style="color: currentColor; display: flex; flex-wrap: wrap; gap: 1rem;"><!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!></div></div> <!>`,3),Ua=_('<main class="chat-app svelte-12rj1z4"><!> <div class="chat-app__container svelte-12rj1z4"><div class="chat-app__main svelte-12rj1z4"><div class="chat-app__portals"></div> <!></div></div> <div></div></main>');const Na={hash:"svelte-12rj1z4",code:`.color-swatches.svelte-12rj1z4 {display:flex;grid-template-columns:repeat(13, 1fr);max-width:100%;margin:0;gap:0.25rem;}.chat-app.svelte-12rj1z4,
28
- .chat-app__container.svelte-12rj1z4 {width:100%;height:100%;background:var(--body-background);}.chat-page__messages.svelte-12rj1z4 {min-height:auto;padding-bottom:200px;}.context-menu.svelte-12rj1z4 {z-index:1000;position:fixed;top:20px;right:20px;}.chat-app__container.svelte-12rj1z4 {overflow-y:auto;}.chat-app__main.svelte-12rj1z4 {overflow-x:hidden;overscroll-behavior-x:none;background:transparent;touch-action:pan-y;}.card.svelte-12rj1z4 {padding:1rem;border-width:var(--card-border-width);border-radius:var(--card-border-radius);border-color:var(--card-border-color);background:var(--card-background);color:var(--card-color);&:hover {background:var(--card-hover-background);color:var(--card-hover-color);}}.dialog-content.svelte-12rj1z4 {position:relative;top:0;left:0;transform:none;}.references__container.svelte-12rj1z4 {background-color:var(--aside-background);}.context-box__content.svelte-12rj1z4 {position:relative;}`};function Ot(b,c){Ee(c,!0),se(b,Na);let y=ne(c,"data",7),o=D(()=>v.t);Y(()=>{const i={lang:y().options.lang.value,forceTheme:y().options?.["force-theme"]?.value,apiUrl:y().options["api-url"].value,features:""};da(()=>va.init(i).catch(s=>{console.error("Failed to init chat logic",s)}))});const j=Ma;var x=Ua();Mt(i=>{var s=F(),m=L(s);{var q=k=>{var h=Ha(),u=L(h);W(u,17,()=>v.themeBase.fontURLs??[],V,($,Q)=>{var J=Aa();K(()=>R(J,"href",n(Q))),l($,J)});var S=e(u,2);ae(S,{id:"font-css",get css(){return v.themeBase.fontCSS}});var w=e(S,2);{let $=D(()=>qa(v.theme));ae(w,{id:"theme-css",get css(){return n($)}})}var f=e(w,2);ae(f,{id:"app-css",get css(){return ha}});var G=e(f,2);ae(G,{id:"custom-css",get css(){return v.themeBase.customCSS}}),l(k,h)};I(m,k=>{v.initialized&&k(q)})}l(i,s)});let M;var A=a(x);{var U=i=>{var s=Ga(),m=a(s);Dt(m,{}),t(s),l(i,s)};I(A,i=>{v.initialized&&i(U)})}var p=e(A,2),H=a(p),N=a(H);pa(N,(i,s)=>ka?.(i,s),()=>"portals");var Z=e(N,2);{var ee=i=>{var s=Oa();ga(2,s,()=>ba,()=>({duration:200,delay:300})),l(i,s)},oe=i=>{var s=Ja(),m=L(s),q=e(a(m),8),k=a(q);{var h=d=>{var g=F(),P=L(g);W(P,17,()=>Object.entries(v.theme.colors.brand),V,(C,B)=>{var T=D(()=>Te(n(B),2));let E=()=>n(T)[0],O=()=>n(T)[1];re(C,{name:"brand",get key(){return E()},get value(){return O()}})}),l(d,g)};I(k,d=>{v.theme.colors?.brand&&d(h)})}t(q);var u=e(q,4),S=a(u);{var w=d=>{var g=F(),P=L(g);W(P,17,()=>Object.entries(v.theme.colors.highlight),V,(C,B)=>{var T=D(()=>Te(n(B),2));let E=()=>n(T)[0],O=()=>n(T)[1];re(C,{name:"highlight",get key(){return E()},get value(){return O()}})}),l(d,g)};I(S,d=>{v.theme?.colors?.highlight&&d(w)})}t(u);var f=e(u,4),G=a(f);{var $=d=>{var g=F(),P=L(g);W(P,17,()=>Object.entries(v.theme.colors.grey),V,(C,B)=>{var T=D(()=>Te(n(B),2));let E=()=>n(T)[0],O=()=>n(T)[1];re(C,{name:"grey",get key(){return E()},get value(){return O()}})}),l(d,g)};I(G,d=>{v.theme?.colors?.grey&&d($)})}t(f),t(m);var Q=e(m,4),J=e(a(Q),8),Fe=a(J);r(Fe,{name:"avatar",class:"introduction__avatar"});var Rt=e(Fe,2);r(Rt,{name:"avatar",class:"message__bot-avatar"}),t(J);var Me=e(J,4);wa(Me,{onSubmit:()=>{}});var de=e(Me,2),Ae=a(de);Le(Ae,{predefinedQuestion:{label:"Question one",question:""},onSubmit:()=>{},index:0});var He=e(Ae,2);Le(He,{predefinedQuestion:{label:"Question two",question:""},onSubmit:()=>{},index:1});var Jt=e(He,2);Le(Jt,{predefinedQuestion:{label:"Question three",question:""},onSubmit:()=>{},index:2}),t(de);var ce=e(de,4),Ge=a(ce),Oe=a(Ge);Ce(Oe,{reference:{url:"https://www.liip.ch/en/blog/liip-revolutioniert-das-lohnsystem",score:.8279685974121094,metadata:{kwLang:"de",titleAi:"Revolutionizing Salary Systems with the Liip Deal",keywords:["salary system","self-organization","transparency","diversity","inclusion","Swiss HR Award"],documentIdSalt:"en"},considered:!0,display:{card:{title:"Liip revolutioniert das Lohnsystem",description:"A digital agency has developed an innovative, transparent, and self-organized salary system called the 'Liip Deal', which emphasizes equality, self-evaluation, and agility, earning it the Swiss HR Award in the category of diversity and inclusion.",badge:"www.liip.ch"},listItem:{title:"Liip revolutioniert das Lohnsystem",badge:"www.very-very-longer-url-to-test.ch",breadcrumbs:["Organisation","Über uns","Philosophie"]}},referenceIndex:{all:11,used:4}}});var Re=e(Oe,2);Ce(Re,{reference:{url:"https://www.liip.ch/en/blog/15-years-liip",score:.8248223662376404,metadata:{kwLang:"de",titleAi:"15 Years of Innovation and Sustainability in a Swiss Digital Agency",keywords:["digital agency","sustainability","agile development","Swiss quality","organizational innovation"],documentIdSalt:"en"},considered:!0,display:{card:{title:"15 years of Liip, and what a journey it's been!",description:"The article celebrates 15 years of a Swiss digital agency known for its innovative, sustainable, and client-focused approach, highlighting its history of growth, organizational evolution, and long-standing client relationships, while emphasizing its commitment to Swiss quality and environmental responsibility.",badge:"www.liip.ch"},listItem:{title:"15 years of Liip, and what a journey it's been!",badge:"www.liip.ch",breadcrumbs:["Organisation","Team"]}},referenceIndex:{all:12,used:2}}});var Ut=e(Re,2);Ce(Ut,{reference:{url:"https://www.liip.ch/en/blog/15-years-liip",score:.8248223662376404,metadata:{kwLang:"de",titleAi:"15 Years of Innovation and Sustainability in a Swiss Digital Agency",keywords:["digital agency","sustainability","agile development","Swiss quality","organizational innovation"],documentIdSalt:"en"},considered:!0,display:{card:{title:"15 years of Liip, and what a journey it's been!"},listItem:{title:"15 years of Liip, and what a journey it's been!"}},referenceIndex:{all:12,used:10}}}),t(Ge),t(ce);var ue=e(ce,2),Je=a(ue),ve=e(a(Je));Be(ve,"data-source",JSON.stringify({url:"https://www.liip.ch",considered:!0,referencesIndex:{all:3,used:1},display:{card:{title:"Reference tooltip example",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",breadcrumbs:["Organisation","Über uns","Philosophie"],badge:"www.liip.ch"}}})),Be(ve,"data-used-index","1"),Be(ve,"data-all-index","3"),z(),t(Je),t(ue);var pe=e(ue,2),Ue=a(pe),Ne=a(Ue),Nt=e(a(Ne),2);r(Nt,{name:"externalLink",class:"reference__icon transition-colors"}),t(Ne),z(4),t(Ue),t(pe);var me=e(pe,4),Ze=a(me),$e=a(Ze);_a($e,{});var Qe=e($e,2);Dt(Qe,{});var We=e(Qe,2);{let d=D(()=>n(o).aboutThisChat||"");fa(We,{get content(){return n(d)}})}var Zt=e(We,2);ya(Zt,{onclick:()=>{}}),t(Ze),t(me);var he=e(me,4),ge=a(he),Ve=a(ge),$t=a(Ve);r($t,{name:"externalLink"}),z(2),t(Ve),t(ge);var be=e(ge,4),Ye=e(a(be),2),we=a(Ye),Qt=a(we);r(Qt,{name:"internalLink"}),z(2),t(we);var _e=e(we,2),Wt=a(_e);r(Wt,{name:"internalLink"}),z(2),t(_e);var fe=e(_e,2),Vt=a(fe);r(Vt,{name:"internalLink"}),z(2),t(fe);var Ke=e(fe,2),Yt=a(Ke);r(Yt,{name:"internalLink"}),z(2),t(Ke),t(Ye),t(be);var Xe=e(be,4),et=a(Xe),ye=a(et),Kt=a(ye);r(Kt,{name:"lightMode"}),z(2),t(ye);var tt=e(ye,4),Xt=a(tt);r(Xt,{name:"darkMode"}),z(2),t(tt),t(et),t(Xe),t(he);var at=e(he,4),it=e(a(at),2),te=a(it),nt=a(te);xa(nt,{classificationConfig:{impact:{label:"Impact",options:[{label:"Positive",value:1},{label:"Negative",value:2}]},quality:{label:"Quality",options:[{label:"Good",value:1},{label:"Bad",value:2}]}},impact:0,quality:0});var xe=e(nt,2),qe=a(xe),ea=a(qe,!0);t(qe);var ta=e(qe,2);t(xe);var rt=e(xe,2),ke=a(rt),aa=a(ke,!0);t(ke);var ia=e(ke,2);t(rt),t(te),t(it),t(at),z(4),t(Q);var Se=e(Q,2),na=e(a(Se),4);Ht(na),t(Se);var ze=e(Se,4);W(ze,21,()=>j,V,(d,g)=>{Sa(d,{get message(){return n(g)},onmessageupdate:()=>{},onbotmessageinit:()=>{}})}),t(ze);var Ie=e(ze,2),st=e(a(Ie),4);Gt(st);var ot=e(st,6),lt=a(ot);r(lt,{name:"predefinedQuestion"});var dt=e(lt,2);r(dt,{name:"edit"});var ct=e(dt,2);r(ct,{name:"newConversation"});var ut=e(ct,2);r(ut,{name:"voteUp"});var vt=e(ut,2);r(vt,{name:"voteDown"});var pt=e(vt,2);r(pt,{name:"retry"});var mt=e(pt,2);r(mt,{name:"message"});var ht=e(mt,2);r(ht,{name:"thread"});var gt=e(ht,2);r(gt,{name:"submit"});var bt=e(gt,2);r(bt,{name:"expand"});var wt=e(bt,2);r(wt,{name:"help"});var _t=e(wt,2);r(_t,{name:"attach"});var ft=e(_t,2);r(ft,{name:"record"});var yt=e(ft,2);r(yt,{name:"reward"});var xt=e(yt,2);r(xt,{name:"share"});var qt=e(xt,2);r(qt,{name:"audio"});var kt=e(qt,2);r(kt,{name:"copy"});var St=e(kt,2);r(St,{name:"dismiss"});var zt=e(St,2);r(zt,{name:"menu"});var It=e(zt,2);r(It,{name:"listUnordered"});var Tt=e(It,2);r(Tt,{name:"lightMode"});var ra=e(Tt,2);r(ra,{name:"darkMode"}),t(ot),t(Ie);var sa=e(Ie,2);{var oa=d=>{var g=Ra(),P=e(a(g),4),C=a(P),B=a(C),T=a(B);Pe(T,()=>n(o).termsTitle),t(B);var E=e(B,2),O=e(a(E),2);r(O,{name:"dismiss"}),t(E),t(C);var Lt=e(C,2),la=a(Lt);Pe(la,()=>n(o).termsContent),t(Lt),t(P),t(g),l(d,g)};I(sa,d=>{n(o).termsTitle&&n(o).termsContent&&d(oa)})}K(()=>{R(te,"aria-label",n(o).feedbackFormTitle),je(ea,n(o).feedbackFormMessage),R(ta,"placeholder",n(o).feedbackFormMessagePlaceholder),je(aa,n(o).feedbackFormEmail),R(ia,"placeholder",n(o).feedbackFormEmailPlaceholder)}),ca("submit",te,async()=>{}),l(i,s)};I(Z,i=>{v.initialized?i(oe,!1):i(ee)})}t(H),t(p);var le=e(p,2);return t(x),K(i=>{M=At(x,"",M,i),R(le,"id",ma)},[()=>({"color-scheme":v.colorScheme})]),l(b,x),De({get data(){return y()},set data(i){y(i),ie()}})}X(Ot,{data:{}},[],[],!0);var Za=_('<iframe title="sidebar" id="sidebar" class="svelte-1h9zc1h"></iframe>'),$a=_('<div id="chat-wrapper" class="svelte-1h9zc1h"><div></div> <!> <div></div></div>'),Qa=_('<div id="preview" class="svelte-1h9zc1h"><!> <!></div>');const Wa={hash:"svelte-1h9zc1h",code:`html,
28
+ .chat-app__container.svelte-12rj1z4 {width:100%;height:100%;background:var(--body-background);}.chat-page__messages.svelte-12rj1z4 {min-height:auto;padding-bottom:200px;}.context-menu.svelte-12rj1z4 {z-index:1000;position:fixed;top:20px;right:20px;}.chat-app__container.svelte-12rj1z4 {overflow-y:auto;}.chat-app__main.svelte-12rj1z4 {overflow-x:hidden;overscroll-behavior-x:none;background:transparent;touch-action:pan-y;}.card.svelte-12rj1z4 {padding:1rem;border-width:var(--card-border-width);border-radius:var(--card-border-radius);border-color:var(--card-border-color);background:var(--card-background);color:var(--card-color);&:hover {background:var(--card-hover-background);color:var(--card-hover-color);}}.dialog-content.svelte-12rj1z4 {position:relative;top:0;left:0;transform:none;}.references__container.svelte-12rj1z4 {background-color:var(--aside-background);}.context-box__content.svelte-12rj1z4 {position:relative;}`};function Ot(b,c){Ee(c,!0),se(b,Na);let y=ne(c,"data",7),o=D(()=>v.t);Y(()=>{const i={lang:y().options.lang.value,forceTheme:y().options?.["force-theme"]?.value,apiUrl:y().options["api-url"].value,features:""};da(()=>va.init(i).catch(s=>{console.error("Failed to init chat logic",s)}))});const j=Ma;var x=Ua();Mt(i=>{var s=F(),m=L(s);{var q=k=>{var h=Ha(),u=L(h);W(u,17,()=>v.themeBase.fontURLs??[],V,($,Q)=>{var J=Aa();K(()=>R(J,"href",n(Q))),l($,J)});var S=e(u,2);ae(S,{id:"font-css",get css(){return v.themeBase.fontCSS}});var w=e(S,2);{let $=D(()=>qa(v.theme));ae(w,{id:"theme-css",get css(){return n($)}})}var f=e(w,2);ae(f,{id:"app-css",get css(){return ha}});var G=e(f,2);ae(G,{id:"custom-css",get css(){return v.themeBase.customCSS}}),l(k,h)};I(m,k=>{v.initialized&&k(q)})}l(i,s)});let M;var A=a(x);{var U=i=>{var s=Ga(),m=a(s);Dt(m,{}),t(s),l(i,s)};I(A,i=>{v.initialized&&i(U)})}var p=e(A,2),H=a(p),N=a(H);pa(N,(i,s)=>ka?.(i,s),()=>"portals");var Z=e(N,2);{var ee=i=>{var s=Oa();ga(2,s,()=>ba,()=>({duration:200,delay:300})),l(i,s)},oe=i=>{var s=Ja(),m=L(s),q=e(a(m),8),k=a(q);{var h=d=>{var g=F(),P=L(g);W(P,17,()=>Object.entries(v.theme.colors.brand),V,(C,B)=>{var T=D(()=>Te(n(B),2));let E=()=>n(T)[0],O=()=>n(T)[1];re(C,{name:"brand",get key(){return E()},get value(){return O()}})}),l(d,g)};I(k,d=>{v.theme.colors?.brand&&d(h)})}t(q);var u=e(q,4),S=a(u);{var w=d=>{var g=F(),P=L(g);W(P,17,()=>Object.entries(v.theme.colors.highlight),V,(C,B)=>{var T=D(()=>Te(n(B),2));let E=()=>n(T)[0],O=()=>n(T)[1];re(C,{name:"highlight",get key(){return E()},get value(){return O()}})}),l(d,g)};I(S,d=>{v.theme?.colors?.highlight&&d(w)})}t(u);var f=e(u,4),G=a(f);{var $=d=>{var g=F(),P=L(g);W(P,17,()=>Object.entries(v.theme.colors.grey),V,(C,B)=>{var T=D(()=>Te(n(B),2));let E=()=>n(T)[0],O=()=>n(T)[1];re(C,{name:"grey",get key(){return E()},get value(){return O()}})}),l(d,g)};I(G,d=>{v.theme?.colors?.grey&&d($)})}t(f),t(m);var Q=e(m,4),J=e(a(Q),8),Fe=a(J);r(Fe,{name:"avatar",class:"introduction__avatar"});var Rt=e(Fe,2);r(Rt,{name:"avatar",class:"message__bot-avatar"}),t(J);var Me=e(J,4);wa(Me,{onSubmit:()=>{}});var de=e(Me,2),Ae=a(de);Le(Ae,{predefinedQuestion:{label:"Question one",question:""},onSubmit:()=>{},index:0});var He=e(Ae,2);Le(He,{predefinedQuestion:{label:"Question two",question:""},onSubmit:()=>{},index:1});var Jt=e(He,2);Le(Jt,{predefinedQuestion:{label:"Question three",question:""},onSubmit:()=>{},index:2}),t(de);var ce=e(de,4),Ge=a(ce),Oe=a(Ge);Ce(Oe,{reference:{url:"https://www.liip.ch/en/blog/liip-revolutioniert-das-lohnsystem",score:.8279685974121094,metadata:{kwLang:"de",titleAi:"Revolutionizing Salary Systems with the Liip Deal",keywords:["salary system","self-organization","transparency","diversity","inclusion","Swiss HR Award"],documentIdSalt:"en"},considered:!0,display:{card:{title:"Liip revolutioniert das Lohnsystem",description:"A digital agency has developed an innovative, transparent, and self-organized salary system called the 'Liip Deal', which emphasizes equality, self-evaluation, and agility, earning it the Swiss HR Award in the category of diversity and inclusion.",badge:"www.liip.ch"},listItem:{title:"Liip revolutioniert das Lohnsystem",badge:"www.very-very-longer-url-to-test.ch",breadcrumbs:["Organisation","Über uns","Philosophie"]}},referenceIndex:{all:11,used:4}}});var Re=e(Oe,2);Ce(Re,{reference:{url:"https://www.liip.ch/en/blog/15-years-liip",score:.8248223662376404,metadata:{kwLang:"de",titleAi:"15 Years of Innovation and Sustainability in a Swiss Digital Agency",keywords:["digital agency","sustainability","agile development","Swiss quality","organizational innovation"],documentIdSalt:"en"},considered:!0,display:{card:{title:"15 years of Liip, and what a journey it's been!",description:"The article celebrates 15 years of a Swiss digital agency known for its innovative, sustainable, and client-focused approach, highlighting its history of growth, organizational evolution, and long-standing client relationships, while emphasizing its commitment to Swiss quality and environmental responsibility.",badge:"www.liip.ch"},listItem:{title:"15 years of Liip, and what a journey it's been!",badge:"www.liip.ch",breadcrumbs:["Organisation","Team"]}},referenceIndex:{all:12,used:2}}});var Ut=e(Re,2);Ce(Ut,{reference:{url:"https://www.liip.ch/en/blog/15-years-liip",score:.8248223662376404,metadata:{kwLang:"de",titleAi:"15 Years of Innovation and Sustainability in a Swiss Digital Agency",keywords:["digital agency","sustainability","agile development","Swiss quality","organizational innovation"],documentIdSalt:"en"},considered:!0,display:{card:{title:"15 years of Liip, and what a journey it's been!"},listItem:{title:"15 years of Liip, and what a journey it's been!"}},referenceIndex:{all:12,used:10}}}),t(Ge),t(ce);var ue=e(ce,2),Je=a(ue),ve=e(a(Je));Be(ve,"data-source",JSON.stringify({url:"https://www.liip.ch",considered:!0,referencesIndex:{all:3,used:1},display:{card:{title:"Reference tooltip example",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",breadcrumbs:["Organisation","Über uns","Philosophie"],badge:"www.liip.ch"}}})),Be(ve,"data-used-index","1"),Be(ve,"data-all-index","3"),z(),t(Je),t(ue);var pe=e(ue,2),Ue=a(pe),Ne=a(Ue),Nt=e(a(Ne),2);r(Nt,{name:"externalLink",class:"reference__icon transition-colors"}),t(Ne),z(4),t(Ue),t(pe);var me=e(pe,4),Ze=a(me),$e=a(Ze);_a($e,{});var Qe=e($e,2);Dt(Qe,{});var We=e(Qe,2);{let d=D(()=>n(o).aboutThisChat||"");fa(We,{get content(){return n(d)}})}var Zt=e(We,2);ya(Zt,{onclick:()=>{}}),t(Ze),t(me);var he=e(me,4),ge=a(he),Ve=a(ge),$t=a(Ve);r($t,{name:"externalLink"}),z(2),t(Ve),t(ge);var be=e(ge,4),Ye=e(a(be),2),we=a(Ye),Qt=a(we);r(Qt,{name:"internalLink"}),z(2),t(we);var _e=e(we,2),Wt=a(_e);r(Wt,{name:"internalLink"}),z(2),t(_e);var fe=e(_e,2),Vt=a(fe);r(Vt,{name:"internalLink"}),z(2),t(fe);var Ke=e(fe,2),Yt=a(Ke);r(Yt,{name:"internalLink"}),z(2),t(Ke),t(Ye),t(be);var Xe=e(be,4),et=a(Xe),ye=a(et),Kt=a(ye);r(Kt,{name:"lightMode"}),z(2),t(ye);var tt=e(ye,4),Xt=a(tt);r(Xt,{name:"darkMode"}),z(2),t(tt),t(et),t(Xe),t(he);var at=e(he,4),it=e(a(at),2),te=a(it),nt=a(te);xa(nt,{classificationConfig:{impact:{label:"Impact",options:[{label:"Positive",value:1},{label:"Negative",value:2}]},quality:{label:"Quality",options:[{label:"Good",value:1},{label:"Bad",value:2}]}},impact:0,quality:0});var xe=e(nt,2),qe=a(xe),ea=a(qe,!0);t(qe);var ta=e(qe,2);t(xe);var rt=e(xe,2),ke=a(rt),aa=a(ke,!0);t(ke);var ia=e(ke,2);t(rt),t(te),t(it),t(at),z(4),t(Q);var Se=e(Q,2),na=e(a(Se),4);Ht(na),t(Se);var ze=e(Se,4);W(ze,21,()=>j,V,(d,g)=>{Sa(d,{get message(){return n(g)},onmessageupdate:()=>{},onbotmessageinit:()=>{}})}),t(ze);var Ie=e(ze,2),st=e(a(Ie),4);Gt(st);var ot=e(st,6),lt=a(ot);r(lt,{name:"predefinedQuestion"});var dt=e(lt,2);r(dt,{name:"edit"});var ct=e(dt,2);r(ct,{name:"newConversation"});var ut=e(ct,2);r(ut,{name:"voteUp"});var vt=e(ut,2);r(vt,{name:"voteDown"});var pt=e(vt,2);r(pt,{name:"retry"});var mt=e(pt,2);r(mt,{name:"message"});var ht=e(mt,2);r(ht,{name:"thread"});var gt=e(ht,2);r(gt,{name:"submit"});var bt=e(gt,2);r(bt,{name:"expand"});var wt=e(bt,2);r(wt,{name:"help"});var _t=e(wt,2);r(_t,{name:"attach"});var ft=e(_t,2);r(ft,{name:"record"});var yt=e(ft,2);r(yt,{name:"reward"});var xt=e(yt,2);r(xt,{name:"share"});var qt=e(xt,2);r(qt,{name:"audio"});var kt=e(qt,2);r(kt,{name:"copy"});var St=e(kt,2);r(St,{name:"dismiss"});var zt=e(St,2);r(zt,{name:"menu"});var It=e(zt,2);r(It,{name:"listUnordered"});var Tt=e(It,2);r(Tt,{name:"lightMode"});var ra=e(Tt,2);r(ra,{name:"darkMode"}),t(ot),t(Ie);var sa=e(Ie,2);{var oa=d=>{var g=Ra(),P=e(a(g),4),C=a(P),B=a(C),T=a(B);Pe(T,()=>n(o).popups[1].title),t(B);var E=e(B,2),O=e(a(E),2);r(O,{name:"dismiss"}),t(E),t(C);var Lt=e(C,2),la=a(Lt);Pe(la,()=>n(o).popups[1].content),t(Lt),t(P),t(g),l(d,g)};I(sa,d=>{n(o).popups&&n(o).popups?.length>0&&d(oa)})}K(()=>{R(te,"aria-label",n(o).feedbackFormTitle),je(ea,n(o).feedbackFormMessage),R(ta,"placeholder",n(o).feedbackFormMessagePlaceholder),je(aa,n(o).feedbackFormEmail),R(ia,"placeholder",n(o).feedbackFormEmailPlaceholder)}),ca("submit",te,async()=>{}),l(i,s)};I(Z,i=>{v.initialized?i(oe,!1):i(ee)})}t(H),t(p);var le=e(p,2);return t(x),K(i=>{M=At(x,"",M,i),R(le,"id",ma)},[()=>({"color-scheme":v.colorScheme})]),l(b,x),De({get data(){return y()},set data(i){y(i),ie()}})}X(Ot,{data:{}},[],[],!0);var Za=_('<iframe title="sidebar" id="sidebar" class="svelte-1h9zc1h"></iframe>'),$a=_('<div id="chat-wrapper" class="svelte-1h9zc1h"><div></div> <!> <div></div></div>'),Qa=_('<div id="preview" class="svelte-1h9zc1h"><!> <!></div>');const Wa={hash:"svelte-1h9zc1h",code:`html,
29
29
  body {width:100%;height:100%;margin:0;padding:0;}#sidebar.svelte-1h9zc1h {width:500px;height:100%;border:none;}#preview.svelte-1h9zc1h {display:flex;align-items:center;justify-content:center;width:100%;height:100%;}#chat-wrapper.svelte-1h9zc1h {container-name:preview-container;
30
- /* stylelint-disable-next-line property-disallowed-list */container-type:size;width:100%;height:100%;}`};function Va(b,c){Ee(c,!0),se(b,Wa);let y=La(c,["$$slots","$$events","$$legacy","$$host"]),o=D(()=>c.data);Y(()=>{window.onmessage=function(i){if(typeof i.data=="string"&&i.data.startsWith("liipgpt-url:")){const s=new URLSearchParams(i.data.replace("liipgpt-url:",""));Ca("?"+s.toString(),{replaceState:!0})}}});const j=i=>`/build/${i}/liipgpt-${i}.iife.js`,x=async i=>{i==="build"&&(await import(j("chat")),await import(j("button"))),i==="dev"&&(await Ct(()=>import("../chunks/Bpz1vSSr.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url),await Ct(()=>import("../chunks/B0WXLX1J.js"),__vite__mapDeps([14,1,2,3,13,6,7,5,8,9,12]),import.meta.url)),i==="server"&&(import(Ft(c.data.options,"chat")),import(Ft(c.data.options,"button")))};let M="server",A=D(()=>c.data.options?.["preview-mode"]?.value??M);Y(()=>{x(n(A))});const U=`./sidebar${Ba.url.search}`;let p=jt(void 0),H=jt(void 0);const N=(i,s)=>{const m=document.createElement("script"),q=document.createTextNode(s);m.appendChild(q),i.replaceChildren(m)};Y(()=>{n(p)&&N(n(p),n(o).options.CHAT_CONFIG_OVERRIDE.value||"")}),Y(()=>{n(H)&&N(n(H),n(o).options.onclosechat.value||"")});var Z=Qa();Mt(i=>{var s=F(),m=L(s);{var q=k=>{var h=F(),u=L(h);{var S=f=>{Pt.title="LiipGPT Configurator | Components"},w=f=>{Pt.title="LiipGPT Configurator"};I(u,f=>{n(o).options["show-components"].value?f(S):f(w,!1)},!0)}l(k,h)};I(m,k=>{k(q,!1)})}l(i,s)});var ee=a(Z);{var oe=i=>{var s=Za();K(()=>R(s,"src",U)),l(i,s)};I(ee,i=>{n(o).options["hide-sidebar"].value||i(oe)})}var le=e(ee,2);za(le,()=>n(o),i=>{var s=F(),m=L(s);{var q=h=>{var u=F(),S=L(u);ua(S,{onerror:w=>console.error("Rendering error of components",w)},w=>{Ot(w,Ta(()=>y))}),l(h,u)},k=h=>{var u=$a(),S=a(u);Bt(S,G=>Et(p,G),()=>n(p));var w=e(S,2);Pe(w,()=>Ia(n(o).options));var f=e(w,2);Bt(f,G=>Et(H,G),()=>n(H)),t(u),l(h,u)};I(m,h=>{n(o).options["show-components"].value?h(q):h(k,!1)})}l(i,s)}),t(Z),l(b,Z),De()}X(Va,{},[],[],!0);export{Va as component};
30
+ /* stylelint-disable-next-line property-disallowed-list */container-type:size;width:100%;height:100%;}`};function Va(b,c){Ee(c,!0),se(b,Wa);let y=La(c,["$$slots","$$events","$$legacy","$$host"]),o=D(()=>c.data);Y(()=>{window.onmessage=function(i){if(typeof i.data=="string"&&i.data.startsWith("liipgpt-url:")){const s=new URLSearchParams(i.data.replace("liipgpt-url:",""));Ca("?"+s.toString(),{replaceState:!0})}}});const j=i=>`/build/${i}/liipgpt-${i}.iife.js`,x=async i=>{i==="build"&&(await import(j("chat")),await import(j("button"))),i==="dev"&&(await Ct(()=>import("../chunks/CBDGXapX.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url),await Ct(()=>import("../chunks/CA9QnFog.js"),__vite__mapDeps([14,1,2,3,13,6,7,5,8,9,12]),import.meta.url)),i==="server"&&(import(Ft(c.data.options,"chat")),import(Ft(c.data.options,"button")))};let M="server",A=D(()=>c.data.options?.["preview-mode"]?.value??M);Y(()=>{x(n(A))});const U=`./sidebar${Ba.url.search}`;let p=jt(void 0),H=jt(void 0);const N=(i,s)=>{const m=document.createElement("script"),q=document.createTextNode(s);m.appendChild(q),i.replaceChildren(m)};Y(()=>{n(p)&&N(n(p),n(o).options.CHAT_CONFIG_OVERRIDE.value||"")}),Y(()=>{n(H)&&N(n(H),n(o).options.onclosechat.value||"")});var Z=Qa();Mt(i=>{var s=F(),m=L(s);{var q=k=>{var h=F(),u=L(h);{var S=f=>{Pt.title="LiipGPT Configurator | Components"},w=f=>{Pt.title="LiipGPT Configurator"};I(u,f=>{n(o).options["show-components"].value?f(S):f(w,!1)},!0)}l(k,h)};I(m,k=>{k(q,!1)})}l(i,s)});var ee=a(Z);{var oe=i=>{var s=Za();K(()=>R(s,"src",U)),l(i,s)};I(ee,i=>{n(o).options["hide-sidebar"].value||i(oe)})}var le=e(ee,2);za(le,()=>n(o),i=>{var s=F(),m=L(s);{var q=h=>{var u=F(),S=L(u);ua(S,{onerror:w=>console.error("Rendering error of components",w)},w=>{Ot(w,Ta(()=>y))}),l(h,u)},k=h=>{var u=$a(),S=a(u);Bt(S,G=>Et(p,G),()=>n(p));var w=e(S,2);Pe(w,()=>Ia(n(o).options));var f=e(w,2);Bt(f,G=>Et(H,G),()=>n(H)),t(u),l(h,u)};I(m,h=>{n(o).options["show-components"].value?h(q):h(k,!1)})}l(i,s)}),t(Z),l(b,Z),De()}X(Va,{},[],[],!0);export{Va as component};
@@ -1,4 +1,4 @@
1
- import"../chunks/NZTpNUN0.js";import{p as it,s as Ei,r as _i}from"../chunks/DePuinxN.js";import{R as ko,c as Tt,p as Gt,f as Se,s as De,e as ve,r as me,S as bo,t as Ue,G as Ne,P as Vi,g as ot,b as $e,d as Xt,v as nt,T as uo,N as fo,a as Zt,aG as Ni,aC as Oi,aH as Fi,H as po,aE as Wi}from"../chunks/Cx_YT9bD.js";import{E as ho,F as mo,s as He,G as go,e as yo,i as Ui,H as Di,J as Bi,n as Li,K as Mi,a as Ii,D as Ri}from"../chunks/DGtI_Ps6.js";import"../chunks/CJz3G_dw.js";import{b as Hi,i as rt}from"../chunks/B0YFyw9m.js";import{g as qi}from"../chunks/Cka1vezo.js";import{p as Pi}from"../chunks/WqaQhzMR.js";var vo={},wo;function Yi(){return wo||(wo=1,(()=>{var O="4.1.5",M=92,D=47,_=42,re=34,be=39,I=58,ie=59,J=10,X=32,ne=9,P=123,Z=125,G=40,ge=41,we=91,ye=93,de=45,xe=64,qe=33;function fe(e){e[0]==="\uFEFF"&&(e=e.slice(1)),e=e.replaceAll(`\r
1
+ import"../chunks/NZTpNUN0.js";import{p as it,s as Ei,r as _i}from"../chunks/DePuinxN.js";import{R as ko,c as Tt,p as Gt,f as Se,s as De,e as ve,r as me,S as bo,t as Ue,G as Ne,P as Vi,g as ot,b as $e,d as Xt,v as nt,T as uo,N as fo,a as Zt,aG as Ni,aC as Oi,aH as Fi,H as po,aE as Wi}from"../chunks/Cx_YT9bD.js";import{E as ho,F as mo,s as He,G as go,e as yo,i as Ui,H as Di,J as Bi,n as Li,K as Mi,a as Ii,D as Ri}from"../chunks/pxFTKbVE.js";import"../chunks/CKY99Gic.js";import{b as Hi,i as rt}from"../chunks/B0YFyw9m.js";import{g as qi}from"../chunks/B1VQlL-o.js";import{p as Pi}from"../chunks/BbjS28fo.js";var vo={},wo;function Yi(){return wo||(wo=1,(()=>{var O="4.1.5",M=92,D=47,_=42,re=34,be=39,I=58,ie=59,J=10,X=32,ne=9,P=123,Z=125,G=40,ge=41,we=91,ye=93,de=45,xe=64,qe=33;function fe(e){e[0]==="\uFEFF"&&(e=e.slice(1)),e=e.replaceAll(`\r
2
2
  `,`
3
3
  `);let r=[],o=[],t=[],i=null,c=null,s="",u="",l;for(let p=0;p<e.length;p++){let m=e.charCodeAt(p);if(m===M)s+=e.slice(p,p+2),p+=1;else if(m===D&&e.charCodeAt(p+1)===_){let h=p;for(let w=p+2;w<e.length;w++)if(l=e.charCodeAt(w),l===M)w+=1;else if(l===_&&e.charCodeAt(w+1)===D){p=w+1;break}let v=e.slice(h,p+1);v.charCodeAt(2)===qe&&o.push(sr(v.slice(2,-2)))}else if(m===be||m===re){let h=p;for(let v=p+1;v<e.length;v++)if(l=e.charCodeAt(v),l===M)v+=1;else if(l===m){p=v;break}else{if(l===ie&&e.charCodeAt(v+1)===J)throw new Error(`Unterminated string: ${e.slice(h,v+1)+String.fromCharCode(m)}`);if(l===J)throw new Error(`Unterminated string: ${e.slice(h,v)+String.fromCharCode(m)}`)}s+=e.slice(h,p+1)}else{if((m===X||m===J||m===ne)&&(l=e.charCodeAt(p+1))&&(l===X||l===J||l===ne))continue;if(m===J){if(s.length===0)continue;l=s.charCodeAt(s.length-1),l!==X&&l!==J&&l!==ne&&(s+=" ")}else if(m===de&&e.charCodeAt(p+1)===de&&s.length===0){let h="",v=p,w=-1;for(let b=p+2;b<e.length;b++)if(l=e.charCodeAt(b),l===M)b+=1;else if(l===D&&e.charCodeAt(b+1)===_){for(let A=b+2;A<e.length;A++)if(l=e.charCodeAt(A),l===M)A+=1;else if(l===_&&e.charCodeAt(A+1)===D){b=A+1;break}}else if(w===-1&&l===I)w=s.length+b-v;else if(l===ie&&h.length===0){s+=e.slice(v,b),p=b;break}else if(l===G)h+=")";else if(l===we)h+="]";else if(l===P)h+="}";else if((l===Z||e.length-1===b)&&h.length===0){p=b-1,s+=e.slice(v,b);break}else(l===ge||l===ye||l===Z)&&h.length>0&&e[b]===h[h.length-1]&&(h=h.slice(0,-1));let k=Oe(s,w);if(!k)throw new Error("Invalid custom property, expected a value");i?i.nodes.push(k):r.push(k),s=""}else if(m===ie&&s.charCodeAt(0)===xe)c=Ke(s),i?i.nodes.push(c):r.push(c),s="",c=null;else if(m===ie&&u[u.length-1]!==")"){let h=Oe(s);if(!h)throw s.length===0?new Error("Unexpected semicolon"):new Error(`Invalid declaration: \`${s.trim()}\``);i?i.nodes.push(h):r.push(h),s=""}else if(m===P&&u[u.length-1]!==")")u+="}",c=ae(s.trim()),i&&i.nodes.push(c),t.push(i),i=c,s="",c=null;else if(m===Z&&u[u.length-1]!==")"){if(u==="")throw new Error("Missing opening {");if(u=u.slice(0,-1),s.length>0)if(s.charCodeAt(0)===xe)c=Ke(s),i?i.nodes.push(c):r.push(c),s="",c=null;else{let v=s.indexOf(":");if(i){let w=Oe(s,v);if(!w)throw new Error(`Invalid declaration: \`${s.trim()}\``);i.nodes.push(w)}}let h=t.pop()??null;h===null&&i&&r.push(i),i=h,s="",c=null}else if(m===G)u+=")",s+="(";else if(m===ge){if(u[u.length-1]!==")")throw new Error("Missing opening (");u=u.slice(0,-1),s+=")"}else{if(s.length===0&&(m===X||m===J||m===ne))continue;s+=String.fromCharCode(m)}}}if(s.charCodeAt(0)===xe&&r.push(Ke(s)),u.length>0&&i){if(i.kind==="rule")throw new Error(`Missing closing } at ${i.selector}`);if(i.kind==="at-rule")throw new Error(`Missing closing } at ${i.name} ${i.params}`)}return o.length>0?o.concat(r):r}function Ke(e,r=[]){for(let o=5;o<e.length;o++){let t=e.charCodeAt(o);if(t===X||t===G){let i=e.slice(0,o).trim(),c=e.slice(o).trim();return R(i,c,r)}}return R(e.trim(),"",r)}function Oe(e,r=e.indexOf(":")){if(r===-1)return null;let o=e.indexOf("!important",r+1);return n(e.slice(0,r).trim(),e.slice(r+1,o===-1?e.length:o).trim(),o!==-1)}function je(e){if(arguments.length===0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(e),o=r.length,t=-1,i,c="",s=r.charCodeAt(0);if(o===1&&s===45)return"\\"+r;for(;++t<o;){if(i=r.charCodeAt(t),i===0){c+="�";continue}if(i>=1&&i<=31||i===127||t===0&&i>=48&&i<=57||t===1&&i>=48&&i<=57&&s===45){c+="\\"+i.toString(16)+" ";continue}if(i>=128||i===45||i===95||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122){c+=r.charAt(t);continue}c+="\\"+r.charAt(t)}return c}function pe(e){return e.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g,r=>r.length>2?String.fromCodePoint(Number.parseInt(r.slice(1).trim(),16)):r[1])}var Ae=new Map([["--font",["--font-weight","--font-size"]],["--inset",["--inset-shadow","--inset-ring"]],["--text",["--text-color","--text-decoration-color","--text-decoration-thickness","--text-indent","--text-shadow","--text-underline-offset"]]]);function st(e,r){return(Ae.get(r)??[]).some(o=>e===o||e.startsWith(`${o}-`))}var Ct=class{constructor(e=new Map,r=new Set([])){this.values=e,this.keyframes=r}prefix=null;add(e,r,o=0){if(e.endsWith("-*")){if(r!=="initial")throw new Error(`Invalid theme value \`${r}\` for namespace \`${e}\``);e==="--*"?this.values.clear():this.clearNamespace(e.slice(0,-2),0)}if(o&4){let t=this.values.get(e);if(t&&!(t.options&4))return}r==="initial"?this.values.delete(e):this.values.set(e,{value:r,options:o})}keysInNamespaces(e){let r=[];for(let o of e){let t=`${o}-`;for(let i of this.values.keys())i.startsWith(t)&&i.indexOf("--",2)===-1&&(st(i,o)||r.push(i.slice(t.length)))}return r}get(e){for(let r of e){let o=this.values.get(r);if(o)return o.value}return null}hasDefault(e){return(this.getOptions(e)&4)===4}getOptions(e){return e=pe(this.#r(e)),this.values.get(e)?.options??0}entries(){return this.prefix?Array.from(this.values,e=>(e[0]=this.prefixKey(e[0]),e)):this.values.entries()}prefixKey(e){return this.prefix?`--${this.prefix}-${e.slice(2)}`:e}#r(e){return this.prefix?`--${e.slice(3+this.prefix.length)}`:e}clearNamespace(e,r){let o=Ae.get(e)??[];e:for(let t of this.values.keys())if(t.startsWith(e)){if(r!==0&&(this.getOptions(t)&r)!==r)continue;for(let i of o)if(t.startsWith(i))continue e;this.values.delete(t)}}#e(e,r){for(let o of r){let t=e!==null?`${o}-${e}`:o;if(!this.values.has(t))if(e!==null&&e.includes(".")){if(t=`${o}-${e.replaceAll(".","_")}`,!this.values.has(t))continue}else continue;if(!st(t,o))return t}return null}#t(e){let r=this.values.get(e);if(!r)return null;let o=null;return r.options&2&&(o=r.value),`var(${je(this.prefixKey(e))}${o?`, ${o}`:""})`}markUsedVariable(e){let r=pe(this.#r(e)),o=this.values.get(r);if(!o)return!1;let t=o.options&16;return o.options|=16,!t}resolve(e,r,o=0){let t=this.#e(e,r);if(!t)return null;let i=this.values.get(t);return(o|i.options)&1?i.value:this.#t(t)}resolveValue(e,r){let o=this.#e(e,r);return o?this.values.get(o).value:null}resolveWith(e,r,o=[]){let t=this.#e(e,r);if(!t)return null;let i={};for(let s of o){let u=`${t}${s}`,l=this.values.get(u);l&&(l.options&1?i[s]=l.value:i[s]=this.#t(u))}let c=this.values.get(t);return c.options&1?[c.value,i]:[this.#t(t),i]}namespace(e){let r=new Map,o=`${e}-`;for(let[t,i]of this.values)t===e?r.set(null,i.value):t.startsWith(`${o}-`)?r.set(t.slice(e.length),i.value):t.startsWith(o)&&r.set(t.slice(o.length),i.value);return r}addKeyframes(e){this.keyframes.add(e)}getKeyframes(){return Array.from(this.keyframes)}},le=class extends Map{constructor(e){super(),this.factory=e}get(e){let r=super.get(e);return r===void 0&&(r=this.factory(e,this),this.set(e,r)),r}};function Ce(e){return{kind:"word",value:e}}function Q(e,r){return{kind:"function",value:e,nodes:r}}function Pe(e){return{kind:"separator",value:e}}function ke(e,r,o=null){for(let t=0;t<e.length;t++){let i=e[t],c=!1,s=0,u=r(i,{parent:o,replaceWith(l){c||(c=!0,Array.isArray(l)?l.length===0?(e.splice(t,1),s=0):l.length===1?(e[t]=l[0],s=1):(e.splice(t,1,...l),s=l.length):e[t]=l)}})??0;if(c){u===0?t--:t+=s-1;continue}if(u===2||u!==1&&i.kind==="function"&&ke(i.nodes,r,i)===2)return 2}}function ee(e){let r="";for(let o of e)switch(o.kind){case"word":case"separator":{r+=o.value;break}case"function":r+=o.value+"("+ee(o.nodes)+")"}return r}var Fe=92,St=41,Xe=58,Qt=44,zo=34,er=61,tr=62,rr=60,or=10,To=40,jo=39,ar=47,ir=32,nr=9;function oe(e){e=e.replaceAll(`\r
4
4
  `,`
@@ -1 +1 @@
1
- {"version":"1764172067931"}
1
+ {"version":"1764256618561"}
@@ -5,11 +5,11 @@
5
5
  <link rel="icon" href="./favicon.png" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1" />
7
7
 
8
- <link rel="modulepreload" href="./_app/immutable/entry/start.BFbyydjl.js">
9
- <link rel="modulepreload" href="./_app/immutable/chunks/Cka1vezo.js">
8
+ <link rel="modulepreload" href="./_app/immutable/entry/start.B49AGbh4.js">
9
+ <link rel="modulepreload" href="./_app/immutable/chunks/B1VQlL-o.js">
10
10
  <link rel="modulepreload" href="./_app/immutable/chunks/D54U55sL.js">
11
11
  <link rel="modulepreload" href="./_app/immutable/chunks/Cx_YT9bD.js">
12
- <link rel="modulepreload" href="./_app/immutable/entry/app.BMADe28q.js">
12
+ <link rel="modulepreload" href="./_app/immutable/entry/app.CsTU4Z7r.js">
13
13
  <link rel="modulepreload" href="./_app/immutable/chunks/B0YFyw9m.js">
14
14
  <link rel="modulepreload" href="./_app/immutable/chunks/NZTpNUN0.js">
15
15
  <link rel="modulepreload" href="./_app/immutable/chunks/DePuinxN.js">
@@ -18,7 +18,7 @@
18
18
  <div style="display: contents">
19
19
  <script>
20
20
  {
21
- __sveltekit_1rbi5cv = {
21
+ __sveltekit_68quhp = {
22
22
  base: new URL(".", location).pathname.slice(0, -1),
23
23
  assets: "/configurator"
24
24
  };
@@ -26,8 +26,8 @@
26
26
  const element = document.currentScript.parentElement;
27
27
 
28
28
  Promise.all([
29
- import("./_app/immutable/entry/start.BFbyydjl.js"),
30
- import("./_app/immutable/entry/app.BMADe28q.js")
29
+ import("./_app/immutable/entry/start.B49AGbh4.js"),
30
+ import("./_app/immutable/entry/app.CsTU4Z7r.js")
31
31
  ]).then(([kit, app]) => {
32
32
  kit.start(app, element);
33
33
  });
@@ -5,11 +5,11 @@
5
5
  <link rel="icon" href="./favicon.png" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1" />
7
7
 
8
- <link rel="modulepreload" href="./_app/immutable/entry/start.BFbyydjl.js">
9
- <link rel="modulepreload" href="./_app/immutable/chunks/Cka1vezo.js">
8
+ <link rel="modulepreload" href="./_app/immutable/entry/start.B49AGbh4.js">
9
+ <link rel="modulepreload" href="./_app/immutable/chunks/B1VQlL-o.js">
10
10
  <link rel="modulepreload" href="./_app/immutable/chunks/D54U55sL.js">
11
11
  <link rel="modulepreload" href="./_app/immutable/chunks/Cx_YT9bD.js">
12
- <link rel="modulepreload" href="./_app/immutable/entry/app.BMADe28q.js">
12
+ <link rel="modulepreload" href="./_app/immutable/entry/app.CsTU4Z7r.js">
13
13
  <link rel="modulepreload" href="./_app/immutable/chunks/B0YFyw9m.js">
14
14
  <link rel="modulepreload" href="./_app/immutable/chunks/NZTpNUN0.js">
15
15
  <link rel="modulepreload" href="./_app/immutable/chunks/DePuinxN.js">
@@ -18,7 +18,7 @@
18
18
  <div style="display: contents">
19
19
  <script>
20
20
  {
21
- __sveltekit_1rbi5cv = {
21
+ __sveltekit_68quhp = {
22
22
  base: new URL(".", location).pathname.slice(0, -1),
23
23
  assets: "/configurator"
24
24
  };
@@ -26,8 +26,8 @@
26
26
  const element = document.currentScript.parentElement;
27
27
 
28
28
  Promise.all([
29
- import("./_app/immutable/entry/start.BFbyydjl.js"),
30
- import("./_app/immutable/entry/app.BMADe28q.js")
29
+ import("./_app/immutable/entry/start.B49AGbh4.js"),
30
+ import("./_app/immutable/entry/app.CsTU4Z7r.js")
31
31
  ]).then(([kit, app]) => {
32
32
  kit.start(app, element);
33
33
  });
package/index.cjs CHANGED
@@ -10599,6 +10599,11 @@ var chatSelectorTranslationSchema = exports_external.object({
10599
10599
  placeholder: exports_external.string(),
10600
10600
  values: exports_external.record(exports_external.string(), exports_external.string())
10601
10601
  });
10602
+ var popup = exports_external.object({
10603
+ hash: exports_external.string(),
10604
+ title: exports_external.string(),
10605
+ content: exports_external.string()
10606
+ });
10602
10607
  var translationSchema = exports_external.object({
10603
10608
  introductionTitle: exports_external.string(),
10604
10609
  introductionDisclaimer: exports_external.string().optional(),
@@ -10675,6 +10680,7 @@ var translationSchema = exports_external.object({
10675
10680
  ariaSettingsRegion: exports_external.string(),
10676
10681
  ariaReferencesRegion: exports_external.string(),
10677
10682
  ariaFlyoutRegion: exports_external.string(),
10683
+ popups: exports_external.array(popup).optional(),
10678
10684
  termsTitle: exports_external.string().optional(),
10679
10685
  termsContent: exports_external.string().optional(),
10680
10686
  selectors: exports_external.record(exports_external.string(), chatSelectorTranslationSchema).optional(),
package/index.d.ts CHANGED
@@ -2180,6 +2180,19 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<[
2180
2180
  ariaSettingsRegion: z.ZodString;
2181
2181
  ariaReferencesRegion: z.ZodString;
2182
2182
  ariaFlyoutRegion: z.ZodString;
2183
+ popups: z.ZodOptional<z.ZodArray<z.ZodObject<{
2184
+ hash: z.ZodString;
2185
+ title: z.ZodString;
2186
+ content: z.ZodString;
2187
+ }, "strip", z.ZodTypeAny, {
2188
+ content: string;
2189
+ title: string;
2190
+ hash: string;
2191
+ }, {
2192
+ content: string;
2193
+ title: string;
2194
+ hash: string;
2195
+ }>, "many">>;
2183
2196
  termsTitle: z.ZodOptional<z.ZodString>;
2184
2197
  termsContent: z.ZodOptional<z.ZodString>;
2185
2198
  selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -2289,6 +2302,11 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<[
2289
2302
  openButtonTitle?: string | undefined;
2290
2303
  openButtonDescription?: string | undefined;
2291
2304
  aboutThisChat?: string | undefined;
2305
+ popups?: {
2306
+ content: string;
2307
+ title: string;
2308
+ hash: string;
2309
+ }[] | undefined;
2292
2310
  termsTitle?: string | undefined;
2293
2311
  termsContent?: string | undefined;
2294
2312
  selectors?: Record<string, {
@@ -2380,6 +2398,11 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<[
2380
2398
  openButtonTitle?: string | undefined;
2381
2399
  openButtonDescription?: string | undefined;
2382
2400
  aboutThisChat?: string | undefined;
2401
+ popups?: {
2402
+ content: string;
2403
+ title: string;
2404
+ hash: string;
2405
+ }[] | undefined;
2383
2406
  termsTitle?: string | undefined;
2384
2407
  termsContent?: string | undefined;
2385
2408
  selectors?: Record<string, {
@@ -6767,6 +6790,19 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6767
6790
  ariaSettingsRegion: z.ZodOptional<z.ZodString>;
6768
6791
  ariaReferencesRegion: z.ZodOptional<z.ZodString>;
6769
6792
  ariaFlyoutRegion: z.ZodOptional<z.ZodString>;
6793
+ popups: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
6794
+ hash: z.ZodString;
6795
+ title: z.ZodString;
6796
+ content: z.ZodString;
6797
+ }, "strip", z.ZodTypeAny, {
6798
+ content: string;
6799
+ title: string;
6800
+ hash: string;
6801
+ }, {
6802
+ content: string;
6803
+ title: string;
6804
+ hash: string;
6805
+ }>, "many">>>;
6770
6806
  termsTitle: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6771
6807
  termsContent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6772
6808
  hideSettings: z.ZodOptional<z.ZodString>;
@@ -6871,6 +6907,11 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6871
6907
  ariaSettingsRegion?: string | undefined;
6872
6908
  ariaReferencesRegion?: string | undefined;
6873
6909
  ariaFlyoutRegion?: string | undefined;
6910
+ popups?: {
6911
+ content: string;
6912
+ title: string;
6913
+ hash: string;
6914
+ }[] | undefined;
6874
6915
  termsTitle?: string | undefined;
6875
6916
  termsContent?: string | undefined;
6876
6917
  selectors?: Record<string, {
@@ -6962,6 +7003,11 @@ export declare const completeChatConfigSchema: z.ZodObject<{
6962
7003
  ariaSettingsRegion?: string | undefined;
6963
7004
  ariaReferencesRegion?: string | undefined;
6964
7005
  ariaFlyoutRegion?: string | undefined;
7006
+ popups?: {
7007
+ content: string;
7008
+ title: string;
7009
+ hash: string;
7010
+ }[] | undefined;
6965
7011
  termsTitle?: string | undefined;
6966
7012
  termsContent?: string | undefined;
6967
7013
  selectors?: Record<string, {
@@ -7489,6 +7535,11 @@ export declare const completeChatConfigSchema: z.ZodObject<{
7489
7535
  ariaSettingsRegion?: string | undefined;
7490
7536
  ariaReferencesRegion?: string | undefined;
7491
7537
  ariaFlyoutRegion?: string | undefined;
7538
+ popups?: {
7539
+ content: string;
7540
+ title: string;
7541
+ hash: string;
7542
+ }[] | undefined;
7492
7543
  termsTitle?: string | undefined;
7493
7544
  termsContent?: string | undefined;
7494
7545
  selectors?: Record<string, {
@@ -7998,6 +8049,11 @@ export declare const completeChatConfigSchema: z.ZodObject<{
7998
8049
  ariaSettingsRegion?: string | undefined;
7999
8050
  ariaReferencesRegion?: string | undefined;
8000
8051
  ariaFlyoutRegion?: string | undefined;
8052
+ popups?: {
8053
+ content: string;
8054
+ title: string;
8055
+ hash: string;
8056
+ }[] | undefined;
8001
8057
  termsTitle?: string | undefined;
8002
8058
  termsContent?: string | undefined;
8003
8059
  selectors?: Record<string, {
@@ -12381,6 +12437,19 @@ export declare const chatConfigSchema: z.ZodObject<{
12381
12437
  ariaSettingsRegion: z.ZodOptional<z.ZodString>;
12382
12438
  ariaReferencesRegion: z.ZodOptional<z.ZodString>;
12383
12439
  ariaFlyoutRegion: z.ZodOptional<z.ZodString>;
12440
+ popups: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
12441
+ hash: z.ZodString;
12442
+ title: z.ZodString;
12443
+ content: z.ZodString;
12444
+ }, "strip", z.ZodTypeAny, {
12445
+ content: string;
12446
+ title: string;
12447
+ hash: string;
12448
+ }, {
12449
+ content: string;
12450
+ title: string;
12451
+ hash: string;
12452
+ }>, "many">>>;
12384
12453
  termsTitle: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12385
12454
  termsContent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12386
12455
  hideSettings: z.ZodOptional<z.ZodString>;
@@ -12485,6 +12554,11 @@ export declare const chatConfigSchema: z.ZodObject<{
12485
12554
  ariaSettingsRegion?: string | undefined;
12486
12555
  ariaReferencesRegion?: string | undefined;
12487
12556
  ariaFlyoutRegion?: string | undefined;
12557
+ popups?: {
12558
+ content: string;
12559
+ title: string;
12560
+ hash: string;
12561
+ }[] | undefined;
12488
12562
  termsTitle?: string | undefined;
12489
12563
  termsContent?: string | undefined;
12490
12564
  selectors?: Record<string, {
@@ -12576,6 +12650,11 @@ export declare const chatConfigSchema: z.ZodObject<{
12576
12650
  ariaSettingsRegion?: string | undefined;
12577
12651
  ariaReferencesRegion?: string | undefined;
12578
12652
  ariaFlyoutRegion?: string | undefined;
12653
+ popups?: {
12654
+ content: string;
12655
+ title: string;
12656
+ hash: string;
12657
+ }[] | undefined;
12579
12658
  termsTitle?: string | undefined;
12580
12659
  termsContent?: string | undefined;
12581
12660
  selectors?: Record<string, {
@@ -13112,6 +13191,11 @@ export declare const chatConfigSchema: z.ZodObject<{
13112
13191
  ariaSettingsRegion?: string | undefined;
13113
13192
  ariaReferencesRegion?: string | undefined;
13114
13193
  ariaFlyoutRegion?: string | undefined;
13194
+ popups?: {
13195
+ content: string;
13196
+ title: string;
13197
+ hash: string;
13198
+ }[] | undefined;
13115
13199
  termsTitle?: string | undefined;
13116
13200
  termsContent?: string | undefined;
13117
13201
  selectors?: Record<string, {
@@ -13621,6 +13705,11 @@ export declare const chatConfigSchema: z.ZodObject<{
13621
13705
  ariaSettingsRegion?: string | undefined;
13622
13706
  ariaReferencesRegion?: string | undefined;
13623
13707
  ariaFlyoutRegion?: string | undefined;
13708
+ popups?: {
13709
+ content: string;
13710
+ title: string;
13711
+ hash: string;
13712
+ }[] | undefined;
13624
13713
  termsTitle?: string | undefined;
13625
13714
  termsContent?: string | undefined;
13626
13715
  selectors?: Record<string, {
@@ -17982,6 +18071,19 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
17982
18071
  ariaSettingsRegion: z.ZodOptional<z.ZodString>;
17983
18072
  ariaReferencesRegion: z.ZodOptional<z.ZodString>;
17984
18073
  ariaFlyoutRegion: z.ZodOptional<z.ZodString>;
18074
+ popups: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
18075
+ hash: z.ZodString;
18076
+ title: z.ZodString;
18077
+ content: z.ZodString;
18078
+ }, "strip", z.ZodTypeAny, {
18079
+ content: string;
18080
+ title: string;
18081
+ hash: string;
18082
+ }, {
18083
+ content: string;
18084
+ title: string;
18085
+ hash: string;
18086
+ }>, "many">>>;
17985
18087
  termsTitle: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17986
18088
  termsContent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17987
18089
  hideSettings: z.ZodOptional<z.ZodString>;
@@ -18086,6 +18188,11 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
18086
18188
  ariaSettingsRegion?: string | undefined;
18087
18189
  ariaReferencesRegion?: string | undefined;
18088
18190
  ariaFlyoutRegion?: string | undefined;
18191
+ popups?: {
18192
+ content: string;
18193
+ title: string;
18194
+ hash: string;
18195
+ }[] | undefined;
18089
18196
  termsTitle?: string | undefined;
18090
18197
  termsContent?: string | undefined;
18091
18198
  selectors?: Record<string, {
@@ -18177,6 +18284,11 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
18177
18284
  ariaSettingsRegion?: string | undefined;
18178
18285
  ariaReferencesRegion?: string | undefined;
18179
18286
  ariaFlyoutRegion?: string | undefined;
18287
+ popups?: {
18288
+ content: string;
18289
+ title: string;
18290
+ hash: string;
18291
+ }[] | undefined;
18180
18292
  termsTitle?: string | undefined;
18181
18293
  termsContent?: string | undefined;
18182
18294
  selectors?: Record<string, {
@@ -18713,6 +18825,11 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
18713
18825
  ariaSettingsRegion?: string | undefined;
18714
18826
  ariaReferencesRegion?: string | undefined;
18715
18827
  ariaFlyoutRegion?: string | undefined;
18828
+ popups?: {
18829
+ content: string;
18830
+ title: string;
18831
+ hash: string;
18832
+ }[] | undefined;
18716
18833
  termsTitle?: string | undefined;
18717
18834
  termsContent?: string | undefined;
18718
18835
  selectors?: Record<string, {
@@ -19222,6 +19339,11 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
19222
19339
  ariaSettingsRegion?: string | undefined;
19223
19340
  ariaReferencesRegion?: string | undefined;
19224
19341
  ariaFlyoutRegion?: string | undefined;
19342
+ popups?: {
19343
+ content: string;
19344
+ title: string;
19345
+ hash: string;
19346
+ }[] | undefined;
19225
19347
  termsTitle?: string | undefined;
19226
19348
  termsContent?: string | undefined;
19227
19349
  selectors?: Record<string, {
package/index.js CHANGED
@@ -10563,6 +10563,11 @@ var chatSelectorTranslationSchema = exports_external.object({
10563
10563
  placeholder: exports_external.string(),
10564
10564
  values: exports_external.record(exports_external.string(), exports_external.string())
10565
10565
  });
10566
+ var popup = exports_external.object({
10567
+ hash: exports_external.string(),
10568
+ title: exports_external.string(),
10569
+ content: exports_external.string()
10570
+ });
10566
10571
  var translationSchema = exports_external.object({
10567
10572
  introductionTitle: exports_external.string(),
10568
10573
  introductionDisclaimer: exports_external.string().optional(),
@@ -10639,6 +10644,7 @@ var translationSchema = exports_external.object({
10639
10644
  ariaSettingsRegion: exports_external.string(),
10640
10645
  ariaReferencesRegion: exports_external.string(),
10641
10646
  ariaFlyoutRegion: exports_external.string(),
10647
+ popups: exports_external.array(popup).optional(),
10642
10648
  termsTitle: exports_external.string().optional(),
10643
10649
  termsContent: exports_external.string().optional(),
10644
10650
  selectors: exports_external.record(exports_external.string(), chatSelectorTranslationSchema).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liip/liipgpt",
3
- "version": "3.1.5",
3
+ "version": "3.1.7",
4
4
  "description": "LiipGPT Chat and Library",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1 +0,0 @@
1
- import"./NZTpNUN0.js";import{p as k,F as B,G as d,H as m,d as T,v as r,c as A}from"./Cx_YT9bD.js";import{p as o,s as R}from"./DePuinxN.js";import{C as U}from"./CJz3G_dw.js";import{E as _}from"./BY9g7Fs-.js";function E(S,t){k(t,!0);let a=o(t,"forceTheme",7),l=o(t,"apiUrl",7),i=o(t,"apiKey",7),u=o(t,"speechRecognitionApiKey",7),n=o(t,"lang",7),y=o(t,"features",7),s=o(t,"loaderBackground",7),g=o(t,"loaderColor",7),f=o(t,"flyout",7),c=o(t,"flyoutStyle",7),p=o(t,"flyoutClass",7),h=m(()=>({forceTheme:a(),apiUrl:l(),apiKey:i(),speechRecognitionApiKey:u(),lang:n(),features:y(),loaderBackground:s(),loaderColor:g(),flyout:f(),flyoutStyle:c(),flyoutClass:p()}));{const e=(b,K=B)=>{U(b,R({host:t.$$host,get onError(){return K()}},()=>d(h)))};let C=m(()=>d(h).flyout??!1);_(S,{get silent(){return d(C)},body:e,$$slots:{body:!0}})}return T({get forceTheme(){return a()},set forceTheme(e){a(e),r()},get apiUrl(){return l()},set apiUrl(e){l(e),r()},get apiKey(){return i()},set apiKey(e){i(e),r()},get speechRecognitionApiKey(){return u()},set speechRecognitionApiKey(e){u(e),r()},get lang(){return n()},set lang(e){n(e),r()},get features(){return y()},set features(e){y(e),r()},get loaderBackground(){return s()},set loaderBackground(e){s(e),r()},get loaderColor(){return g()},set loaderColor(e){g(e),r()},get flyout(){return f()},set flyout(e){f(e),r()},get flyoutStyle(){return c()},set flyoutStyle(e){c(e),r()},get flyoutClass(){return p()},set flyoutClass(e){p(e),r()}})}customElements.define("liipgpt-chat",A(E,{forceTheme:{attribute:"force-theme",type:"String"},apiUrl:{attribute:"api-url",type:"String"},apiKey:{attribute:"api-key",type:"String"},speechRecognitionApiKey:{attribute:"speech-recognition-api-key",type:"String"},lang:{attribute:"lang",type:"String"},features:{attribute:"features",type:"String"},loaderBackground:{attribute:"loader-background",type:"String"},loaderColor:{attribute:"loader-color",type:"String"},flyout:{attribute:"flyout",type:"Boolean"},flyoutStyle:{attribute:"flyout-style",type:"String"},flyoutClass:{attribute:"flyout-class",type:"String"}},[],[],!0));export{E as LiipGPTChat};