@liip/liipgpt 3.6.3 → 3.6.4

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 (56) hide show
  1. package/button/liipgpt-button.iife.js +36 -31
  2. package/chat/liipgpt-chat.iife.js +43 -38
  3. package/config/index.cjs +42 -18
  4. package/config/index.d.ts +67 -0
  5. package/config/index.js +42 -18
  6. package/configurator/_app/env.js +1 -1
  7. package/configurator/_app/immutable/chunks/4rln5D2N.js +1 -0
  8. package/configurator/_app/immutable/chunks/B-P0cQBf.js +1 -0
  9. package/configurator/_app/immutable/chunks/{MRyhzcyW.js → BQwc7106.js} +1 -1
  10. package/configurator/_app/immutable/chunks/{CKIDNEuR.js → BiGeVjFa.js} +2 -2
  11. package/configurator/_app/immutable/chunks/BiTRwaVm.js +15 -0
  12. package/configurator/_app/immutable/chunks/CPPDi2Fg.js +1 -0
  13. package/configurator/_app/immutable/chunks/CqzYdUi6.js +2 -0
  14. package/configurator/_app/immutable/chunks/{D6Qx_EAy.js → Czdz2g0u.js} +5 -5
  15. package/configurator/_app/immutable/chunks/D4hsPSLS.js +1 -0
  16. package/configurator/_app/immutable/chunks/DRq9fhs9.js +1 -0
  17. package/configurator/_app/immutable/chunks/{6JdeEzKi.js → DSTWBVLS.js} +1 -1
  18. package/configurator/_app/immutable/chunks/DTspBV79.js +16 -0
  19. package/configurator/_app/immutable/chunks/{-NcnoUoN.js → DcOGFwCk.js} +2 -1
  20. package/configurator/_app/immutable/chunks/DzOV-etd.js +61 -0
  21. package/configurator/_app/immutable/chunks/{BsL0-YLl.js → H_Qz1t09.js} +1 -1
  22. package/configurator/_app/immutable/chunks/IsmK4Fpw.js +143 -0
  23. package/configurator/_app/immutable/chunks/{DV91TmsB.js → JEKVFENx.js} +6 -1
  24. package/configurator/_app/immutable/chunks/TZgETsNt.js +1 -0
  25. package/configurator/_app/immutable/chunks/nqjonts_.js +1 -0
  26. package/configurator/_app/immutable/chunks/rEsbAd0y.js +3 -0
  27. package/configurator/_app/immutable/entry/app.Du0Ip1qt.js +2 -0
  28. package/configurator/_app/immutable/entry/start.A4roapPb.js +1 -0
  29. package/configurator/_app/immutable/nodes/{0.Z8aHQ8Ms.js → 0.BJaEr5tZ.js} +77 -3
  30. package/configurator/_app/immutable/nodes/1.C4Q2p2ww.js +1 -0
  31. package/configurator/_app/immutable/nodes/{2.BoZGqQ9G.js → 2.zTSXNJuk.js} +8 -8
  32. package/configurator/_app/immutable/nodes/{3.Bg8nwFnb.js → 3.BJjkyEoj.js} +13 -13
  33. package/configurator/_app/version.json +1 -1
  34. package/configurator/index.html +7 -7
  35. package/configurator/sidebar.html +7 -7
  36. package/index.cjs +59 -18
  37. package/index.d.ts +310 -0
  38. package/index.js +59 -18
  39. package/package.json +1 -1
  40. package/search-summary/liipgpt-search-summary.iife.js +18 -13
  41. package/configurator/_app/immutable/chunks/BmUm-Ak4.js +0 -15
  42. package/configurator/_app/immutable/chunks/C00ruT0L.js +0 -3
  43. package/configurator/_app/immutable/chunks/C4ORIoWK.js +0 -1
  44. package/configurator/_app/immutable/chunks/C59SVKNf.js +0 -1
  45. package/configurator/_app/immutable/chunks/CZiOHSGl.js +0 -1
  46. package/configurator/_app/immutable/chunks/Cz0dIq0O.js +0 -1
  47. package/configurator/_app/immutable/chunks/D7xeAlKo.js +0 -143
  48. package/configurator/_app/immutable/chunks/DVeOoWpz.js +0 -1
  49. package/configurator/_app/immutable/chunks/DembPZun.js +0 -2
  50. package/configurator/_app/immutable/chunks/GwQP32Cz.js +0 -61
  51. package/configurator/_app/immutable/chunks/NtMAcZ7G.js +0 -1
  52. package/configurator/_app/immutable/chunks/Nw8j0Xyw.js +0 -1
  53. package/configurator/_app/immutable/chunks/QyXFn05f.js +0 -16
  54. package/configurator/_app/immutable/entry/app.C_qls3uJ.js +0 -2
  55. package/configurator/_app/immutable/entry/start.CJocbWmY.js +0 -1
  56. package/configurator/_app/immutable/nodes/1.D_R2KrSw.js +0 -1
@@ -0,0 +1,3 @@
1
+ import{n as e}from"./CibALFW0.js";var t=Array.isArray,n=Array.prototype.indexOf,r=Array.prototype.includes,i=Array.from,a=Object.keys,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyDescriptors,l=Object.prototype,u=Array.prototype,d=Object.getPrototypeOf,f=Object.isExtensible;function p(e){return typeof e==`function`}var m=()=>{};function h(e){return typeof e?.then==`function`}function g(e){return e()}function _(e){for(var t=0;t<e.length;t++)e[t]()}function v(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}function y(e,t){if(Array.isArray(e))return e;if(t===void 0||!(Symbol.iterator in e))return Array.from(e);let n=[];for(let r of e)if(n.push(r),n.length===t)break;return n}var ee=1<<24,b=1024,x=2048,te=4096,ne=8192,re=16384,ie=32768,ae=1<<25,oe=65536,se=1<<18,ce=1<<19,le=1<<20,ue=1<<25,de=65536,fe=1<<21,pe=1<<22,me=1<<23,he=Symbol(`$state`),ge=Symbol(`legacy props`),_e=Symbol(``),ve=Symbol(`proxy path`),ye=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},be=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function xe(e){throw Error(`https://svelte.dev/e/experimental_async_required`)}function Se(e){throw Error(`https://svelte.dev/e/lifecycle_outside_component`)}function Ce(){throw Error(`https://svelte.dev/e/missing_context`)}function we(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function Te(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function Ee(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function De(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function Oe(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function ke(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Ae(){throw Error(`https://svelte.dev/e/fork_discarded`)}function je(){throw Error(`https://svelte.dev/e/fork_timing`)}function Me(){throw Error(`https://svelte.dev/e/get_abort_signal_outside_reaction`)}function Ne(){throw Error(`https://svelte.dev/e/hydration_failed`)}function Pe(e){throw Error(`https://svelte.dev/e/lifecycle_legacy_only`)}function Fe(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function Ie(){throw Error(`https://svelte.dev/e/set_context_after_init`)}function Le(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Re(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function ze(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Be(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}var Ve={},S=Symbol(),He=`http://www.w3.org/1999/xhtml`,Ue=`http://www.w3.org/2000/svg`,We=`http://www.w3.org/1998/Math/MathML`,Ge=`@attach`;function Ke(e){console.warn(`https://svelte.dev/e/hydratable_missing_but_expected`)}function qe(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Je(){console.warn(`https://svelte.dev/e/select_multiple_invalid_value`)}function Ye(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var C=!1;function w(e){C=e}var T;function E(e){if(e===null)throw qe(),Ve;return T=e}function D(){return E(R(T))}function Xe(e){if(C){if(R(T)!==null)throw qe(),Ve;T=e}}function Ze(e=1){if(C){for(var t=e,n=T;t--;)n=R(n);T=n}}function Qe(e=!0){for(var t=0,n=T;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=R(n);e&&n.remove(),n=i}}function $e(e){if(!e||e.nodeType!==8)throw qe(),Ve;return e.data}function et(e){return e===this.v}function tt(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function nt(e){return!tt(e,this.v)}var O=!1,rt=!1;function it(){rt=!0}var at=[];function ot(e,t=!1,n=!1){return st(e,new Map,``,at,null,n)}function st(e,n,r,i,a=null,o=!1){if(typeof e==`object`&&e){var s=n.get(e);if(s!==void 0)return s;if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);if(t(e)){var c=Array(e.length);n.set(e,c),a!==null&&n.set(a,c);for(var u=0;u<e.length;u+=1){var f=e[u];u in e&&(c[u]=st(f,n,r,i,null,o))}return c}if(d(e)===l){c={},n.set(e,c),a!==null&&n.set(a,c);for(var p of Object.keys(e))c[p]=st(e[p],n,r,i,null,o);return c}if(e instanceof Date)return structuredClone(e);if(typeof e.toJSON==`function`&&!o)return st(e.toJSON(),n,r,i,e)}if(e instanceof EventTarget)return e;try{return structuredClone(e)}catch{return e}}function ct(e,t){return e.label=t,lt(e.v,t),e}function lt(e,t){return e?.[ve]?.(t),e}function ut(e){return typeof e==`symbol`?`Symbol(${e.description})`:typeof e==`function`?`<function>`:typeof e==`object`&&e?`<object>`:String(e)}var k=null;function dt(e){k=e}function ft(){let e={};return[()=>(ht(e)||Ce(),pt(e)),t=>mt(e,t)]}function pt(e){return bt(`getContext`).get(e)}function mt(e,t){let n=bt(`setContext`);if(O){var r=G.f;!H&&r&32&&!k.i||Ie()}return n.set(e,t),t}function ht(e){return bt(`hasContext`).has(e)}function gt(){return bt(`getAllContexts`)}function _t(e,t=!1,n){k={p:k,i:!1,c:null,e:null,s:e,x:null,r:G,l:rt&&!t?{s:null,u:null,$:[]}:null}}function vt(e){var t=k,n=t.e;if(n!==null){t.e=null;for(var r of n)ar(r)}return e!==void 0&&(t.x=e),t.i=!0,k=t.p,e??{}}function yt(){return!rt||k!==null&&k.l===null}function bt(e){return k===null&&Se(e),k.c??=new Map(xt(k)||void 0)}function xt(e){let t=e.p;for(;t!==null;){let e=t.c;if(e!==null)return e;t=t.p}return null}var St=[];function Ct(){var e=St;St=[],_(e)}function A(e){if(St.length===0&&!Rt){var t=St;queueMicrotask(()=>{t===St&&Ct()})}St.push(e)}function wt(){for(;St.length>0;)Ct()}function Tt(e){var t=G;if(t===null)return H.f|=me,e;if(!(t.f&32768)&&!(t.f&4))throw e;Et(e,t)}function Et(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var Dt=~(x|te|b);function j(e,t){e.f=e.f&Dt|t}function Ot(e){e.f&512||e.deps===null?j(e,b):j(e,te)}function kt(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=de,kt(t.deps))}function At(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),kt(e.deps),j(e,b)}var jt=[];function Mt(e,t=m){let n=null,r=new Set;function i(t){if(tt(e,t)&&(e=t,n)){let t=!jt.length;for(let t of r)t[1](),jt.push(t,e);if(t){for(let e=0;e<jt.length;e+=2)jt[e][0](jt[e+1]);jt.length=0}}}function a(t){i(t(e))}function o(o,s=m){let c=[o,s];return r.add(c),r.size===1&&(n=t(i,a)||m),o(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:i,update:a,subscribe:o}}var Nt=!1,Pt=!1;function Ft(e){var t=Pt;try{return Pt=!1,[e(),Pt]}finally{Pt=t}}var M=new Set,N=null,It=null,P=null,Lt=null,Rt=!1,zt=!1,Bt=null,Vt=null,Ht=0,Ut=1,Wt=class e{id=Ut++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=0;#r=0;#i=null;#a=[];#o=new Set;#s=new Set;#c=new Map;is_fork=!1;#l=!1;#u(){return this.is_fork||this.#r>0}skip_effect(e){this.#c.has(e)||this.#c.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#c.get(e);if(t){this.#c.delete(e);for(var n of t.d)j(n,x),this.schedule(n);for(n of t.m)j(n,te),this.schedule(n)}}#d(){if(Ht++>1e3&&(M.delete(this),Kt()),!this.#u()){for(let e of this.#o)this.#s.delete(e),j(e,x),this.schedule(e);for(let e of this.#s)j(e,te),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=Bt=[],r=[],i=Vt=[];for(let e of t)try{this.#f(e,n,r)}catch(t){throw en(e),t}if(N=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(Bt=null,Vt=null,this.#u()){this.#p(r),this.#p(n);for(let[e,t]of this.#c)$t(e,t)}else{this.#n===0&&M.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),It=this,Jt(r),Jt(n),It=null,this.#i?.resolve()}var o=N;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(M.add(o),o.#d()),M.has(this)||this.#m()}#f(e,t,n){e.f^=b;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#c.has(r))&&r.fn!==null){a?r.f^=b:i&4?t.push(r):O&&i&16777224?n.push(r):Ir(r)&&(i&16&&this.#s.add(r),Vr(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#p(e){for(var t=0;t<e.length;t+=1)At(e[t],this.#o,this.#s)}capture(e,t){t!==S&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,e.v),P?.set(e,e.v))}activate(){N=this}deactivate(){N=null,P=null}flush(){try{zt=!0,N=this,this.#d()}finally{Ht=0,Lt=null,Bt=null,Vt=null,zt=!1,N=null,P=null,Sn.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),M.delete(this)}#m(){for(let s of M){var e=s.id<this.id,t=[];for(let[n,r]of this.current){if(s.current.has(n))if(e&&r!==s.current.get(n))s.current.set(n,r);else continue;t.push(n)}var n=[...s.current.keys()].filter(e=>!this.current.has(e));if(n.length===0)e&&s.discard();else if(t.length>0){s.activate();var r=new Set,i=new Map;for(var a of t)Yt(a,n,r,i);if(s.#a.length>0){s.apply();for(var o of s.#a)s.#f(o,[],[]);s.#a=[]}s.deactivate()}}}increment(e){this.#n+=1,e&&(this.#r+=1)}decrement(e,t){--this.#n,e&&--this.#r,!(this.#l||t)&&(this.#l=!0,A(()=>{this.#l=!1,this.flush()}))}transfer_effects(e,t){for(let t of e)this.#o.add(t);for(let e of t)this.#s.add(e);e.clear(),t.clear()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=v()).promise}static ensure(){if(N===null){let t=N=new e;zt||(M.add(N),Rt||A(()=>{N===t&&t.flush()}))}return N}apply(){if(!O||!this.is_fork&&M.size===1){P=null;return}P=new Map(this.current);for(let e of M)if(!(e===this||e.is_fork))for(let[t,n]of e.previous)P.has(t)||P.set(t,n)}schedule(e){if(Lt=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(Bt!==null&&t===G&&(O||(H===null||!(H.f&2))&&!Nt))return;if(n&96){if(!(n&1024))return;t.f^=b}}this.#a.push(t)}};function Gt(e){var t=Rt;Rt=!0;try{var n;for(e&&(N!==null&&!N.is_fork&&N.flush(),n=e());;){if(wt(),N===null)return n;N.flush()}}finally{Rt=t}}function Kt(){try{ke()}catch(e){Et(e,Lt)}}var qt=null;function Jt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Ir(r)&&(qt=new Set,Vr(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&yr(r),qt?.size>0)){Sn.clear();for(let e of qt){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)qt.has(n)&&(qt.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Vr(n)}}qt.clear()}}qt=null}}function Yt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?Yt(i,t,n,r):e&4194320&&!(e&2048)&&Zt(i,t,r)&&(j(i,x),Qt(i))}}function Xt(e,t){if(e.reactions!==null)for(let n of e.reactions){let e=n.f;e&2?Xt(n,t):e&131072&&(j(n,x),t.add(n))}}function Zt(e,t,n){let i=n.get(e);if(i!==void 0)return i;if(e.deps!==null)for(let i of e.deps){if(r.call(t,i))return!0;if(i.f&2&&Zt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Qt(e){N.schedule(e)}function $t(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),j(e,b);for(var n=e.first;n!==null;)$t(n,t),n=n.next}}function en(e){j(e,b);for(var t=e.first;t!==null;)en(t),t=t.next}function tn(e){O||xe(`fork`),N!==null&&je();var t=Wt.ensure();t.is_fork=!0,P=new Map;var n=!1,r=t.settled();Gt(e);for(var[i,a]of t.previous)i.v=a;return{commit:async()=>{if(n){await r;return}M.has(t)||Ae(),n=!0,t.is_fork=!1;for(var[e,i]of t.current)e.v=i,e.wv=Fr();Gt(()=>{var e=new Set;for(var n of t.current.keys())Xt(n,e);Cn(e),kn()}),t.flush(),await r},discard:()=>{for(var e of t.current.keys())e.wv=Fr();!n&&M.has(t)&&t.discard()}}}function nn(e){let t=0,n=Tn(0),r;return()=>{nr()&&(Z(n),dr(()=>(t===0&&(r=Q(()=>e(()=>An(n)))),t+=1,()=>{A(()=>{--t,t===0&&(r?.(),r=void 0,An(n))})})))}}var rn=oe|ce;function an(e,t,n,r){new on(e,t,n,r)}var on=class{parent;is_pending=!1;transform_error;#e;#t=C?T:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=nn(()=>(this.#m=Tn(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=G;t.b=this,t.f|=128,n(e)},this.parent=G.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=pr(()=>{if(C){let e=this.#t;D();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},rn),C&&(this.#e=T)}#g(){try{this.#a=B(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=B(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=B(()=>e(this.#e)),A(()=>{var e=this.#c=document.createDocumentFragment(),t=I();e.append(t),this.#a=this.#x(()=>B(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,br(this.#o,()=>{this.#o=null}),this.#b(N))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=B(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();wr(this.#a,e);let t=this.#n.pending;this.#o=B(()=>t(this.#e))}else this.#b(N)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){At(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=G,n=H,r=k;K(this.#i),W(this.#i),dt(this.#i.ctx);try{return Wt.ensure(),e()}catch(e){return Tt(e),null}finally{K(t),W(n),dt(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&br(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,A(()=>{this.#d=!1,this.#m&&On(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),Z(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(V(this.#a),null),this.#o&&=(V(this.#o),null),this.#s&&=(V(this.#s),null),C&&(E(this.#t),Ze(),E(Qe()));var r=!1,i=!1;let a=()=>{if(r){Ye();return}r=!0,i&&Be(),this.#s!==null&&br(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){Et(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return B(()=>{var t=G;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return Et(e,this.#i.parent),null}}))};A(()=>{var t;try{t=this.transform_error(e)}catch(e){Et(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>Et(e,this.#i&&this.#i.parent)):o(t)})}};function sn(e,t,n,r){let i=yt()?dn:mn;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=G,s=cn(),c=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function l(e){s();try{r(e)}catch(e){o.f&16384||Et(e,o)}ln()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=un();function d(){Promise.all(n.map(e=>fn(e))).then(e=>l([...t.map(i),...e])).catch(e=>Et(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),ln()}):d()}function cn(){var e=G,t=H,n=k,r=N;return function(i=!0){K(e),W(t),dt(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function ln(e=!0){K(null),W(null),dt(null),e&&N?.deactivate()}function un(){var e=G.b,t=N,n=e.is_rendered();return e.update_pending_count(1,t),t.increment(n),(r=!1)=>{e.update_pending_count(-1,t),t.decrement(n,r)}}function dn(e){var t=2|x,n=H!==null&&H.f&2?H:null;return G!==null&&(G.f|=ce),{ctx:k,deps:null,effects:null,equals:et,f:t,fn:e,reactions:null,rv:0,v:S,wv:0,parent:n??G,ac:null}}function fn(e,t,n){let r=G;r===null&&we();var i=void 0,a=Tn(S),o=!H,s=new Map;return ur(()=>{var t=G,n=v();i=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(ln)}catch(e){n.reject(e),ln()}var c=N;if(o){if(t.f&32768)var l=un();if(r.b.is_rendered())s.get(c)?.reject(ye),s.delete(c);else{for(let e of s.values())e.reject(ye);s.clear()}s.set(c,n)}let u=(e,n=void 0)=>{if(l&&l(n===ye),!(n===ye||t.f&16384)){if(c.activate(),n)a.f|=me,On(a,n);else{a.f&8388608&&(a.f^=me),On(a,e);for(let[e,t]of s){if(s.delete(e),e===c)break;t.reject(ye)}}c.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),rr(()=>{for(let e of s.values())e.reject(ye)}),new Promise(e=>{function t(n){function r(){n===i?e(a):t(i)}n.then(r,r)}t(i)})}function pn(e){let t=dn(e);return O||kr(t),t}function mn(e){let t=dn(e);return t.equals=nt,t}function hn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)V(t[n])}}function gn(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function _n(e){var t,n=G;K(gn(e));try{e.f&=~de,hn(e),t=Rr(e)}finally{K(n)}return t}function vn(e){var t=e.v,n=_n(e);if(!e.equals(n)&&(e.wv=Fr(),(!N?.is_fork||e.deps===null)&&(e.v=n,N?.capture(e,t),e.deps===null))){j(e,b);return}Dr||(P===null?Ot(e):(nr()||N?.is_fork)&&P.set(e,n))}function yn(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(ye),t.teardown=m,t.ac=null,Br(t,0),gr(t))}function bn(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&Vr(t)}var xn=new Set,Sn=new Map;function Cn(e){xn=e}var wn=!1;function Tn(e,t){return{f:0,v:e,reactions:null,equals:et,rv:0,wv:0}}function En(e,t){let n=Tn(e,t);return kr(n),n}function Dn(e,t=!1,n=!0){let r=Tn(e);return t||(r.equals=nt),rt&&n&&k!==null&&k.l!==null&&(k.l.s??=[]).push(r),r}function F(e,t,n=!1){return H!==null&&(!U||H.f&131072)&&yt()&&H.f&4325394&&(q===null||!r.call(q,e))&&ze(),On(e,n?Mn(t):t,Vt)}function On(e,t,n=null){if(!e.equals(t)){var r=e.v;Dr?Sn.set(e,t):Sn.set(e,r),e.v=t;var i=Wt.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&_n(t),P===null&&Ot(t)}e.wv=Fr(),jn(e,x,n),yt()&&G!==null&&G.f&1024&&!(G.f&96)&&(X===null?Ar([e]):X.push(e)),!i.is_fork&&xn.size>0&&!wn&&kn()}return t}function kn(){wn=!1;for(let e of xn)e.f&1024&&j(e,te),Ir(e)&&Vr(e);xn.clear()}function An(e){F(e,e.v+1)}function jn(e,t,n){var r=e.reactions;if(r!==null)for(var i=yt(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===G)){var l=(c&x)===0;if(l&&j(s,t),c&2){var u=s;P?.delete(u),c&65536||(c&512&&(s.f|=de),jn(u,te,n))}else if(l){var d=s;c&16&&qt!==null&&qt.add(d),n===null?Qt(d):n.push(d)}}}}function Mn(e){if(typeof e!=`object`||!e||he in e)return e;let n=d(e);if(n!==l&&n!==u)return e;var r=new Map,i=t(e),a=En(0),o=null,c=Nr,f=e=>{if(Nr===c)return e();var t=H,n=Nr;W(null),Pr(c);var r=e();return W(t),Pr(n),r};return i&&r.set(`length`,En(e.length,o)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&Le();var i=r.get(t);return i===void 0?f(()=>{var e=En(n.value,o);return r.set(t,e),e}):F(i,n.value,!0),!0},deleteProperty(e,t){var n=r.get(t);if(n===void 0){if(t in e){let e=f(()=>En(S,o));r.set(t,e),An(a)}}else F(n,S),An(a);return!0},get(t,n,i){if(n===he)return e;var a=r.get(n),c=n in t;if(a===void 0&&(!c||s(t,n)?.writable)&&(a=f(()=>En(Mn(c?t[n]:S),o)),r.set(n,a)),a!==void 0){var l=Z(a);return l===S?void 0:l}return Reflect.get(t,n,i)},getOwnPropertyDescriptor(e,t){var n=Reflect.getOwnPropertyDescriptor(e,t);if(n&&`value`in n){var i=r.get(t);i&&(n.value=Z(i))}else if(n===void 0){var a=r.get(t),o=a?.v;if(a!==void 0&&o!==S)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return n},has(e,t){if(t===he)return!0;var n=r.get(t),i=n!==void 0&&n.v!==S||Reflect.has(e,t);return(n!==void 0||G!==null&&(!i||s(e,t)?.writable))&&(n===void 0&&(n=f(()=>En(i?Mn(e[t]):S,o)),r.set(t,n)),Z(n)===S)?!1:i},set(e,t,n,c){var l=r.get(t),u=t in e;if(i&&t===`length`)for(var d=n;d<l.v;d+=1){var p=r.get(d+``);p===void 0?d in e&&(p=f(()=>En(S,o)),r.set(d+``,p)):F(p,S)}if(l===void 0)(!u||s(e,t)?.writable)&&(l=f(()=>En(void 0,o)),F(l,Mn(n)),r.set(t,l));else{u=l.v!==S;var m=f(()=>Mn(n));F(l,m)}var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(c,n),!u){if(i&&typeof t==`string`){var g=r.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&F(g,_+1)}An(a)}return!0},ownKeys(e){Z(a);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==S});for(var[n,i]of r)i.v!==S&&!(n in e)&&t.push(n);return t},setPrototypeOf(){Re()}})}function Nn(e){try{if(typeof e==`object`&&e&&he in e)return e[he]}catch{}return e}function Pn(e,t){return Object.is(Nn(e),Nn(t))}var Fn,In,Ln,Rn,zn;function Bn(){if(Fn===void 0){Fn=window,In=document,Ln=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Rn=s(t,`firstChild`).get,zn=s(t,`nextSibling`).get,f(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),f(n)&&(n.__t=void 0)}}function I(e=``){return document.createTextNode(e)}function L(e){return Rn.call(e)}function R(e){return zn.call(e)}function Vn(e,t){if(!C)return L(e);var n=L(T);if(n===null)n=T.appendChild(I());else if(t&&n.nodeType!==3){var r=I();return n?.before(r),E(r),r}return t&&qn(n),E(n),n}function Hn(e,t=!1){if(!C){var n=L(e);return n instanceof Comment&&n.data===``?R(n):n}if(t){if(T?.nodeType!==3){var r=I();return T?.before(r),E(r),r}qn(T)}return T}function Un(e,t=1,n=!1){let r=C?T:e;for(var i;t--;)i=r,r=R(r);if(!C)return r;if(n){if(r?.nodeType!==3){var a=I();return r===null?i?.after(a):r.before(a),E(a),a}qn(r)}return E(r),r}function Wn(e){e.textContent=``}function Gn(){return!O||qt!==null?!1:(G.f&ie)!==0}function Kn(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function qn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Jn(e,t){if(t){let t=document.body;e.autofocus=!0,A(()=>{document.activeElement===t&&e.focus()})}}function Yn(e){C&&L(e)!==null&&Wn(e)}var Xn=!1;function Zn(){Xn||(Xn=!0,document.addEventListener(`reset`,e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(let t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Qn(e){var t=H,n=G;W(null),K(null);try{return e()}finally{W(t),K(n)}}function $n(e,t,n,r=n){e.addEventListener(t,()=>Qn(n));let i=e.__on_r;i?e.__on_r=()=>{i(),r(!0)}:e.__on_r=()=>r(!0),Zn()}function er(e){G===null&&(H===null&&Oe(e),De()),Dr&&Ee(e)}function tr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function z(e,t){var n=G;n!==null&&n.f&8192&&(e|=ne);var r={ctx:k,deps:null,nodes:null,f:e|x|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if(e&4)Bt===null?Wt.ensure().schedule(r):Bt.push(r);else if(t!==null){try{Vr(r)}catch(e){throw V(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=oe))}if(i!==null&&(i.parent=n,n!==null&&tr(i,n),H!==null&&H.f&2&&!(e&64))){var a=H;(a.effects??=[]).push(i)}return r}function nr(){return H!==null&&!U}function rr(e){let t=z(8,null);return j(t,b),t.teardown=e,t}function ir(e){er(`$effect`);var t=G.f;if(!H&&t&32&&!(t&32768)){var n=k;(n.e??=[]).push(e)}else return ar(e)}function ar(e){return z(4|le,e)}function or(e){return er(`$effect.pre`),z(8|le,e)}function sr(e){Wt.ensure();let t=z(64|ce,e);return()=>{V(t)}}function cr(e){Wt.ensure();let t=z(64|ce,e);return(e={})=>new Promise(n=>{e.outro?br(t,()=>{V(t),n(void 0)}):(V(t),n(void 0))})}function lr(e){return z(4,e)}function ur(e){return z(pe|ce,e)}function dr(e,t=0){return z(8|t,e)}function fr(e,t=[],n=[],r=[]){sn(r,t,n,t=>{z(8,()=>e(...t.map(Z)))})}function pr(e,t=0){return z(16|t,e)}function mr(e,t=0){return z(ee|t,e)}function B(e){return z(32|ce,e)}function hr(e){var t=e.teardown;if(t!==null){let e=Dr,n=H;Or(!0),W(null);try{t.call(null)}finally{Or(e),W(n)}}}function gr(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&Qn(()=>{e.abort(ye)});var r=n.next;n.f&64?n.parent=null:V(n,t),n=r}}function _r(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||V(t),t=n}}function V(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(vr(e.nodes.start,e.nodes.end),n=!0),j(e,ae),gr(e,t&&!n),Br(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();hr(e),e.f^=ae,e.f|=re;var i=e.parent;i!==null&&i.first!==null&&yr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function vr(e,t){for(;e!==null;){var n=e===t?null:R(e);e.remove(),e=n}}function yr(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function br(e,t,n=!0){var r=[];xr(e,r,!0);var i=()=>{n&&V(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function xr(e,t,n){if(!(e.f&8192)){e.f^=ne;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next,o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;xr(i,t,o?n:!1),i=a}}}function Sr(e){Cr(e,!0)}function Cr(e,t){if(e.f&8192){e.f^=ne,e.f&1024||(j(e,x),Wt.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;Cr(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function wr(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:R(n);t.append(n),n=i}}var Tr=null,Er=!1,Dr=!1;function Or(e){Dr=e}var H=null,U=!1;function W(e){H=e}var G=null;function K(e){G=e}var q=null;function kr(e){H!==null&&(!O||H.f&2)&&(q===null?q=[e]:q.push(e))}var J=null,Y=0,X=null;function Ar(e){X=e}var jr=1,Mr=0,Nr=Mr;function Pr(e){Nr=e}function Fr(){return++jr}function Ir(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~de),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Ir(a)&&vn(a),a.wv>e.wv)return!0}t&512&&P===null&&j(e,b)}return!1}function Lr(e,t,n=!0){var i=e.reactions;if(i!==null&&!(!O&&q!==null&&r.call(q,e)))for(var a=0;a<i.length;a++){var o=i[a];o.f&2?Lr(o,t,!1):t===o&&(n?j(o,x):o.f&1024&&j(o,te),Qt(o))}}function Rr(e){var t=J,n=Y,r=X,i=H,a=q,o=k,s=U,c=Nr,l=e.f;J=null,Y=0,X=null,H=l&96?null:e,q=null,dt(e.ctx),U=!1,Nr=++Mr,e.ac!==null&&(Qn(()=>{e.ac.abort(ye)}),e.ac=null);try{e.f|=fe;var u=e.fn,d=u();e.f|=ie;var f=e.deps,p=N?.is_fork;if(J!==null){var m;if(p||Br(e,Y),f!==null&&Y>0)for(f.length=Y+J.length,m=0;m<J.length;m++)f[Y+m]=J[m];else e.deps=f=J;if(nr()&&e.f&512)for(m=Y;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&Y<f.length&&(Br(e,Y),f.length=Y);if(yt()&&X!==null&&!U&&f!==null&&!(e.f&6146))for(m=0;m<X.length;m++)Lr(X[m],e);if(i!==null&&i!==e){if(Mr++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Mr;if(t!==null)for(let e of t)e.rv=Mr;X!==null&&(r===null?r=X:r.push(...X))}return e.f&8388608&&(e.f^=me),d}catch(e){return Tt(e)}finally{e.f^=fe,J=t,Y=n,X=r,H=i,q=a,dt(o),U=s,Nr=c}}function zr(e,t){let i=t.reactions;if(i!==null){var a=n.call(i,e);if(a!==-1){var o=i.length-1;o===0?i=t.reactions=null:(i[a]=i[o],i.pop())}}if(i===null&&t.f&2&&(J===null||!r.call(J,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~de),Ot(s),yn(s),Br(s,0)}}function Br(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)zr(e,n[r])}function Vr(e){var t=e.f;if(!(t&16384)){j(e,b);var n=G,r=Er;G=e,Er=!0;try{t&16777232?_r(e):gr(e),hr(e);var i=Rr(e);e.teardown=typeof i==`function`?i:null,e.wv=jr}finally{Er=r,G=n}}}async function Hr(){if(O)return new Promise(e=>{requestAnimationFrame(()=>e()),setTimeout(()=>e())});await Promise.resolve(),Gt()}function Ur(){return Wt.ensure().settled()}function Z(e){var t=(e.f&2)!=0;if(Tr?.add(e),H!==null&&!U&&!(G!==null&&G.f&16384)&&(q===null||!r.call(q,e))){var n=H.deps;if(H.f&2097152)e.rv<Mr&&(e.rv=Mr,J===null&&n!==null&&n[Y]===e?Y++:J===null?J=[e]:J.push(e));else{(H.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[H]:r.call(i,H)||i.push(H)}}if(Dr&&Sn.has(e))return Sn.get(e);if(t){var a=e;if(Dr){var o=a.v;return(!(a.f&1024)&&a.reactions!==null||Gr(a))&&(o=_n(a)),Sn.set(a,o),o}var s=(a.f&512)==0&&!U&&H!==null&&(Er||(H.f&512)!=0),c=(a.f&ie)===0;Ir(a)&&(s&&(a.f|=512),vn(a)),s&&!c&&(bn(a),Wr(a))}if(P?.has(e))return P.get(e);if(e.f&8388608)throw e.v;return e.v}function Wr(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(bn(t),Wr(t))}function Gr(e){if(e.v===S)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(Sn.has(t)||t.f&2&&Gr(t))return!0;return!1}function Q(e){var t=U;try{return U=!0,e()}finally{U=t}}function Kr(e){if(!(typeof e!=`object`||!e||e instanceof EventTarget)){if(he in e)qr(e);else if(!Array.isArray(e))for(let t in e){let n=e[t];typeof n==`object`&&n&&he in n&&qr(n)}}}function qr(e,t=new Set){if(typeof e==`object`&&e&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let n in e)try{qr(e[n],t)}catch{}let n=d(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){let t=c(n);for(let n in t){let r=t[n].get;if(r)try{r.call(e)}catch{}}}}}function Jr(){return Symbol(Ge)}function Yr(e){return e.endsWith(`capture`)&&e!==`gotpointercapture`&&e!==`lostpointercapture`}var Xr=[`beforeinput`,`click`,`change`,`dblclick`,`contextmenu`,`focusin`,`focusout`,`input`,`keydown`,`keyup`,`mousedown`,`mousemove`,`mouseout`,`mouseover`,`mouseup`,`pointerdown`,`pointermove`,`pointerout`,`pointerover`,`pointerup`,`touchend`,`touchmove`,`touchstart`];function Zr(e){return Xr.includes(e)}var Qr=`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`),$r={formnovalidate:`formNoValidate`,ismap:`isMap`,nomodule:`noModule`,playsinline:`playsInline`,readonly:`readOnly`,defaultvalue:`defaultValue`,defaultchecked:`defaultChecked`,srcobject:`srcObject`,novalidate:`noValidate`,allowfullscreen:`allowFullscreen`,disablepictureinpicture:`disablePictureInPicture`,disableremoteplayback:`disableRemotePlayback`};function ei(e){return e=e.toLowerCase(),$r[e]??e}[...Qr];var ti=[`touchstart`,`touchmove`];function ni(e){return ti.includes(e)}var ri=[`textarea`,`script`,`style`,`title`];function ii(e){return ri.includes(e)}var ai=Symbol(`events`),oi=new Set,si=new Set;function ci(e,t,n,r={}){function i(e){if(r.capture||mi.call(t,e),!e.cancelBubble)return Qn(()=>n?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?A(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function li(e,t,n,r={}){var i=ci(t,e,n,r);return()=>{e.removeEventListener(t,i,r)}}function ui(e,t,n,r,i){var a={capture:r,passive:i},o=ci(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&rr(()=>{t.removeEventListener(e,o,a)})}function di(e,t,n){(t[ai]??={})[e]=n}function fi(e){for(var t=0;t<e.length;t++)oi.add(e[t]);for(var n of si)n(e)}var pi=null;function mi(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;pi=e;var s=0,c=pi===e&&e[ai];if(c){var l=i.indexOf(c);if(l!==-1&&(t===document||t===window)){e[ai]=t;return}var u=i.indexOf(t);if(u===-1)return;l<=u&&(s=l)}if(a=i[s]||e.target,a!==t){o(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=H,f=G;W(null),K(null);try{for(var p,m=[];a!==null;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var g=a[ai]?.[r];g!=null&&(!a.disabled||e.target===a)&&g.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble||h===t||h===null)break;a=h}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[ai]=t,delete e.currentTarget,W(d),K(f)}}}var hi=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function gi(e){return hi?.createHTML(e)??e}function _i(e){var t=Kn(`template`);return t.innerHTML=gi(e.replaceAll(`<!>`,`<!---->`)),t.content}var vi=be?`script`:`SCRIPT`;function $(e,t){var n=G;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function yi(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(C)return $(T,null),T;i===void 0&&(i=_i(a?e:`<!>`+e),n||(i=L(i)));var t=r||Ln?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=L(t),s=t.lastChild;$(o,s)}else $(t,t);return t}}function bi(e,t,n=`svg`){var r=!e.startsWith(`<!>`),i=(t&1)!=0,a=`<${n}>${r?e:`<!>`+e}</${n}>`,o;return()=>{if(C)return $(T,null),T;if(!o){var e=L(_i(a));if(i)for(o=document.createDocumentFragment();L(e);)o.appendChild(L(e));else o=L(e)}var t=o.cloneNode(!0);if(i){var n=L(t),r=t.lastChild;$(n,r)}else $(t,t);return t}}function xi(e,t){return bi(e,t,`svg`)}function Si(e){return()=>Ci(e())}function Ci(e){if(C)return e;let t=e.nodeType===11,n=e.nodeName===vi?[e]:e.querySelectorAll(`script`),r=G;for(let a of n){let n=Kn(`script`);for(var i of a.attributes)n.setAttribute(i.name,i.value);n.textContent=a.textContent,(t?e.firstChild===a:e===a)&&(r.nodes.start=n),(t?e.lastChild===a:e===a)&&(r.nodes.end=n),a.replaceWith(n)}return e}function wi(e=``){if(!C){var t=I(e+``);return $(t,t),t}var n=T;return n.nodeType===3?qn(n):(n.before(n=I()),E(n)),$(n,n),n}function Ti(){if(C)return $(T,null),T;var e=document.createDocumentFragment(),t=document.createComment(``),n=I();return e.append(t,n),$(t,n),e}function Ei(e,t){if(C){var n=G;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=T),D();return}e!==null&&e.before(t)}function Di(){if(C&&T&&T.nodeType===8&&T.textContent?.startsWith(`$`)){let e=T.textContent.substring(1);return D(),e}return(window.__svelte??={}).uid??=1,`c${window.__svelte.uid++}`}var Oi=!0;function ki(e){Oi=e}function Ai(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function ji(e,t){return Pi(e,t)}function Mi(e,t){Bn(),t.intro=t.intro??!1;let n=t.target,r=C,i=T;try{for(var a=L(n);a&&(a.nodeType!==8||a.data!==`[`);)a=R(a);if(!a)throw Ve;w(!0),E(a);let r=Pi(e,{...t,anchor:a});return w(!1),r}catch(r){if(r instanceof Error&&r.message.split(`
2
+ `).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw r;return r!==Ve&&console.warn(`Failed to hydrate: `,r),t.recover===!1&&Ne(),Bn(),Wn(n),w(!1),ji(e,t)}finally{w(r),E(i)}}var Ni=new Map;function Pi(e,{target:t,anchor:n,props:r={},events:a,context:o,intro:s=!0,transformError:c}){Bn();var l=void 0,u=cr(()=>{var u=n??t.appendChild(I());an(u,{pending:()=>{}},t=>{_t({});var n=k;if(o&&(n.c=o),a&&(r.$$events=a),C&&$(t,null),Oi=s,l=e(t,r)||{},Oi=!0,C&&(G.nodes.end=T,T===null||T.nodeType!==8||T.data!==`]`))throw qe(),Ve;vt()},c);var d=new Set,f=e=>{for(var n=0;n<e.length;n++){var r=e[n];if(!d.has(r)){d.add(r);var i=ni(r);for(let e of[t,document]){var a=Ni.get(e);a===void 0&&(a=new Map,Ni.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,mi,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(i(oi)),si.add(f),()=>{for(var e of d)for(let n of[t,document]){var r=Ni.get(n),i=r.get(e);--i==0?(n.removeEventListener(e,mi),r.delete(e),r.size===0&&Ni.delete(n)):r.set(e,i)}si.delete(f),u!==n&&u.parentNode?.removeChild(u)}});return Fi.set(l,u),l}var Fi=new WeakMap;function Ii(e,t){let n=Fi.get(e);return n?(Fi.delete(e),n(t)):Promise.resolve()}var Li=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)Sr(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(V(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();wr(r,t),t.append(I()),this.#n.set(e,{effect:r,fragment:t})}else V(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),br(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(V(n.effect),this.#n.delete(e))};ensure(e,t){var n=N,r=Gn();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=I();i.append(a),this.#n.set(e,{effect:B(()=>t(a)),fragment:i})}else this.#t.set(e,B(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else C&&(this.anchor=T),this.#a(n)}},Ri=0,zi=1,Bi=2;function Vi(e,t,n,r,i){C&&D();var a=yt(),o=S,s=a?Tn(o):Dn(o,!1,!1),c=a?Tn(o):Dn(o,!1,!1),l=new Li(e);pr(()=>{var a=N;a.deactivate();var o=t();a.activate();var u=!1;let d=C&&h(o)===(e.data===`[!`);if(d&&(E(Qe()),w(!1)),h(o)){var f=cn(),p=!1;let e=e=>{if(!u){p=!0,f(!1),Wt.ensure(),C&&w(!1);try{e()}finally{ln(!1),Rt||Gt()}}};o.then(t=>{e(()=>{On(s,t),l.ensure(zi,r&&(e=>r(e,s)))})},t=>{e(()=>{if(On(c,t),l.ensure(Bi,i&&(e=>i(e,c))),!i)throw c.v})}),C?l.ensure(Ri,n):A(()=>{p||e(()=>{l.ensure(Ri,n)})})}else On(s,o),l.ensure(zi,r&&(e=>r(e,s)));return d&&w(!0),()=>{u=!0}})}function Hi(e,t,n=!1){var r;C&&(r=T,D());var i=new Li(e),a=n?oe:0;function o(e,t){if(C){var n=$e(r);if(e!==parseInt(n.substring(1))){var a=Qe();E(a),i.anchor=a,w(!1),i.ensure(e,t),w(!0);return}}i.ensure(e,t)}pr(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}var Ui=Symbol(`NaN`);function Wi(e,t,n){C&&D();var r=new Li(e),i=!yt();pr(()=>{var e=t();e!==e&&(e=Ui),i&&typeof e==`object`&&e&&(e={}),r.ensure(e,n)})}function Gi(e,t){return t}function Ki(e,t,n){for(var r=[],a=t.length,o,s=t.length,c=0;c<a;c++){let n=t[c];br(n,()=>{if(o){if(o.pending.delete(n),o.done.add(n),o.pending.size===0){var t=e.outrogroups;qi(e,i(o.done)),t.delete(o),t.size===0&&(e.outrogroups=null)}}else --s},!1)}if(s===0){var l=r.length===0&&n!==null;if(l){var u=n,d=u.parentNode;Wn(d),d.append(u),e.items.clear()}qi(e,t,!l)}else o={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(o)}function qi(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=ue,wr(a,document.createDocumentFragment())):V(t[i],n)}}var Ji;function Yi(e,n,r,a,o,s=null){var c=e,l=new Map;if(n&4){var u=e;c=C?E(L(u)):u.appendChild(I())}C&&D();var d=null,f=mn(()=>{var e=r();return t(e)?e:e==null?[]:i(e)}),p,m=new Map,h=!0;function g(e){v.effect.f&16384||(v.pending.delete(e),v.fallback=d,Zi(v,p,c,n,a),d!==null&&(p.length===0?d.f&33554432?(d.f^=ue,$i(d,null,c)):Sr(d):br(d,()=>{d=null})))}function _(e){v.pending.delete(e)}var v={effect:pr(()=>{p=Z(f);var e=p.length;let t=!1;C&&$e(c)===`[!`!=(e===0)&&(c=Qe(),E(c),w(!1),t=!0);for(var i=new Set,u=N,v=Gn(),y=0;y<e;y+=1){C&&T.nodeType===8&&T.data===`]`&&(c=T,t=!0,w(!1));var ee=p[y],b=a(ee,y),x=h?null:l.get(b);x?(x.v&&On(x.v,ee),x.i&&On(x.i,y),v&&u.unskip_effect(x.e)):(x=Qi(l,h?c:Ji??=I(),ee,b,y,o,n,r),h||(x.e.f|=ue),l.set(b,x)),i.add(b)}if(e===0&&s&&!d&&(h?d=B(()=>s(c)):(d=B(()=>s(Ji??=I())),d.f|=ue)),e>i.size&&Te(``,``,``),C&&e>0&&E(Qe()),!h)if(m.set(u,i),v){for(let[e,t]of l)i.has(e)||u.skip_effect(t.e);u.oncommit(g),u.ondiscard(_)}else g(u);t&&w(!0),Z(f)}),flags:n,items:l,pending:m,outrogroups:null,fallback:d};h=!1,C&&(c=T)}function Xi(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function Zi(e,t,n,r,a){var o=(r&8)!=0,s=t.length,c=e.items,l=Xi(e.effect.first),u,d=null,f,p=[],m=[],h,g,_,v;if(o)for(v=0;v<s;v+=1)h=t[v],g=a(h,v),_=c.get(g).e,_.f&33554432||(_.nodes?.a?.measure(),(f??=new Set).add(_));for(v=0;v<s;v+=1){if(h=t[v],g=a(h,v),_=c.get(g).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(_),t.done.delete(_);if(_.f&8192&&(Sr(_),o&&(_.nodes?.a?.unfix(),(f??=new Set).delete(_))),_.f&33554432)if(_.f^=ue,_===l)$i(_,null,n);else{var y=d?d.next:l;_===e.effect.last&&(e.effect.last=_.prev),_.prev&&(_.prev.next=_.next),_.next&&(_.next.prev=_.prev),ea(e,d,_),ea(e,_,y),$i(_,y,n),d=_,p=[],m=[],l=Xi(d.next);continue}if(_!==l){if(u!==void 0&&u.has(_)){if(p.length<m.length){var ee=m[0],b;d=ee.prev;var x=p[0],te=p[p.length-1];for(b=0;b<p.length;b+=1)$i(p[b],ee,n);for(b=0;b<m.length;b+=1)u.delete(m[b]);ea(e,x.prev,te.next),ea(e,d,x),ea(e,te,ee),l=ee,d=te,--v,p=[],m=[]}else u.delete(_),$i(_,l,n),ea(e,_.prev,_.next),ea(e,_,d===null?e.effect.first:d.next),ea(e,d,_),d=_;continue}for(p=[],m=[];l!==null&&l!==_;)(u??=new Set).add(l),m.push(l),l=Xi(l.next);if(l===null)continue}_.f&33554432||p.push(_),d=_,l=Xi(_.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(qi(e,i(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||u!==void 0){var ne=[];if(u!==void 0)for(_ of u)_.f&8192||ne.push(_);for(;l!==null;)!(l.f&8192)&&l!==e.fallback&&ne.push(l),l=Xi(l.next);var re=ne.length;if(re>0){var ie=r&4&&s===0?n:null;if(o){for(v=0;v<re;v+=1)ne[v].nodes?.a?.measure();for(v=0;v<re;v+=1)ne[v].nodes?.a?.fix()}Ki(e,ne,ie)}}o&&A(()=>{if(f!==void 0)for(_ of f)_.nodes?.a?.apply()})}function Qi(e,t,n,r,i,a,o,s){var c=o&1?o&16?Tn(n):Dn(n,!1,!1):null,l=o&2?Tn(i):null;return{v:c,i:l,e:B(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function $i(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=R(r);if(a.before(r),r===i)return;r=o}}function ea(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function ta(e,t,n=!1,r=!1,i=!1,a=!1){var o=e,s=``;if(n){var c=e;C&&(o=E(L(c)))}fr(()=>{var e=G;if(s===(s=t()??``)){C&&D();return}if(n&&!C){e.nodes=null,c.innerHTML=s,s!==``&&$(L(c),c.lastChild);return}if(e.nodes!==null&&(vr(e.nodes.start,e.nodes.end),e.nodes=null),s!==``){if(C){for(var a=T.data,l=D(),u=l;l!==null&&(l.nodeType!==8||l.data!==``);)u=l,l=R(l);if(l===null)throw qe(),Ve;$(T,u),o=E(l);return}var d=Kn(r?`svg`:i?`math`:`template`,r?Ue:i?We:void 0);d.innerHTML=s;var f=r||i?d:d.content;if($(L(f),f.lastChild),r||i)for(;L(f);)o.before(L(f));else o.before(f)}})}function na(e,t,n,r,i){C&&D();var a=t.$$slots?.[n],o=!1;a===!0&&(a=t[n===`default`?`children`:n],o=!0),a===void 0?i!==null&&i(e):a(e,o?()=>r:r)}function ra(e,t,...n){var r=new Li(e);pr(()=>{let e=t()??null;r.ensure(e,e&&(t=>e(t,...n)))},oe)}function ia(e){return(t,...n)=>{var r=e(...n),i;C?(i=T,D()):(i=L(_i(r.render().trim())),t.before(i));let a=r.setup?.(i);$(i,i),typeof a==`function`&&rr(a)}}function aa(e,t,n){var r;C&&(r=T,D());var i=new Li(e);pr(()=>{var e=t()??null;if(C&&$e(r)===`[`!=(e!==null)){var a=Qe();E(a),i.anchor=a,w(!1),i.ensure(e,e&&(t=>n(t,e))),w(!0);return}i.ensure(e,e&&(t=>n(t,e)))},oe)}var oa=()=>performance.now(),sa={tick:e=>requestAnimationFrame(e),now:()=>oa(),tasks:new Set};function ca(){let e=sa.now();sa.tasks.forEach(t=>{t.c(e)||(sa.tasks.delete(t),t.f())}),sa.tasks.size!==0&&sa.tick(ca)}function la(e){let t;return sa.tasks.size===0&&sa.tick(ca),{promise:new Promise(n=>{sa.tasks.add(t={c:e,f:n})}),abort(){sa.tasks.delete(t)}}}function ua(e,t){Qn(()=>{e.dispatchEvent(new CustomEvent(t))})}function da(e){if(e===`float`)return`cssFloat`;if(e===`offset`)return`cssOffset`;if(e.startsWith(`--`))return e;let t=e.split(`-`);return t.length===1?t[0]:t[0]+t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join(``)}function fa(e){let t={},n=e.split(`;`);for(let e of n){let[n,r]=e.split(`:`);if(!n||r===void 0)break;let i=da(n.trim());t[i]=r.trim()}return t}var pa=e=>e;function ma(e,t,n,r){var i=(e&1)!=0,a=(e&2)!=0,o=i&&a,s=(e&4)!=0,c=o?`both`:i?`in`:`out`,l,u=t.inert,d=t.style.overflow,f,p;function m(){return Qn(()=>l??=n()(t,r?.()??{},{direction:c}))}var h={is_global:s,in(){if(t.inert=u,!i){p?.abort(),p?.reset?.();return}a||f?.abort(),f=ha(t,m(),p,1,()=>{ua(t,`introend`),f?.abort(),f=l=void 0,t.style.overflow=d})},out(e){if(!a){e?.(),l=void 0;return}t.inert=!0,p=ha(t,m(),f,0,()=>{ua(t,`outroend`),e?.()})},stop:()=>{f?.abort(),p?.abort()}},g=G;if((g.nodes.t??=[]).push(h),i&&Oi){var _=s;if(!_){for(var v=g.parent;v&&v.f&65536;)for(;(v=v.parent)&&!(v.f&16););_=!v||(v.f&32768)!=0}_&&lr(()=>{Q(()=>h.in())})}}function ha(e,t,n,r,i){var a=r===1;if(p(t)){var o,s=!1;return A(()=>{s||(o=ha(e,t({direction:a?`in`:`out`}),n,r,i))}),{abort:()=>{s=!0,o?.abort()},deactivate:()=>o.deactivate(),reset:()=>o.reset(),t:()=>o.t()}}if(n?.deactivate(),!t?.duration&&!t?.delay)return ua(e,a?`introstart`:`outrostart`),i(),{abort:m,deactivate:m,reset:m,t:()=>r};let{delay:c=0,css:l,tick:u,easing:d=pa}=t;var f=[];if(a&&n===void 0&&(u&&u(0,1),l)){var h=fa(l(0,1));f.push(h,h)}var g=()=>1-r,_=e.animate(f,{duration:c,fill:`forwards`});return _.onfinish=()=>{_.cancel(),ua(e,a?`introstart`:`outrostart`);var o=n?.t()??1-r;n?.abort();var s=r-o,c=t.duration*Math.abs(s),f=[];if(c>0){var p=!1;if(l)for(var m=Math.ceil(c/(1e3/60)),h=0;h<=m;h+=1){var v=o+s*d(h/m),y=fa(l(v,1-v));f.push(y),p||=y.overflow===`hidden`}p&&(e.style.overflow=`hidden`),g=()=>{var e=_.currentTime;return o+s*d(e/c)},u&&la(()=>{if(_.playState!==`running`)return!1;var e=g();return u(e,1-e),!0})}_=e.animate(f,{duration:c,fill:`forwards`}),_.onfinish=()=>{g=()=>r,u?.(r,1-r),i()}},{abort:()=>{_&&(_.cancel(),_.effect=null,_.onfinish=m)},deactivate:()=>{i=m},reset:()=>{r===0&&u?.(1,0)},t:()=>g()}}function ga(e,t,n,r,i,a){let o=C;C&&D();var s=null;C&&T.nodeType===1&&(s=T,D());var c=C?T:e,l=new Li(c,!1);pr(()=>{let e=t()||null;var a=i?i():n||e===`svg`?Ue:void 0;if(e===null){l.ensure(null,null),ki(!0);return}return l.ensure(e,t=>{if(e){if(s=C?s:Kn(e,a),$(s,s),r){C&&ii(e)&&s.append(document.createComment(``));var n=C?L(s):s.appendChild(I());C&&(n===null?w(!1):E(n)),r(s,n)}G.nodes.end=s,t.before(s)}C&&E(t)}),ki(!0),()=>{e&&ki(!1)}},oe),rr(()=>{ki(!0)}),o&&(w(!0),E(c))}function _a(e,t){let n=null,r=C;var i;if(C){n=T;for(var a=L(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=R(a);if(a===null)w(!1);else{var o=R(a);a.remove(),E(o)}}C||(i=document.head.appendChild(I()));try{pr(()=>t(i),se|ce)}finally{r&&(w(!0),E(n))}}function va(e,t){lr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=Kn(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}function ya(e,t,n){lr(()=>{var r=Q(()=>t(e,n?.())||{});if(n&&r?.update){var i=!1,a={};dr(()=>{var e=n();Kr(e),i&&tt(a,e)&&(a=e,r.update(e))}),i=!0}if(r?.destroy)return()=>r.destroy()})}function ba(e,t){var n=void 0,r;mr(()=>{n!==(n=t())&&(r&&=(V(r),null),n&&(r=B(()=>{lr(()=>n(e))})))})}function xa(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=xa(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function Sa(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=xa(e))&&(r&&(r+=` `),r+=t);return r}function Ca(e){return typeof e==`object`?Sa(e):e??``}var wa=[...`
3
+ \r\f\xA0\v`];function Ta(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||wa.includes(r[o-1]))&&(s===r.length||wa.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function Ea(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function Da(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function Oa(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(Da)),i&&c.push(...Object.keys(i).map(Da));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=Da(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=Ea(r)),i&&(n+=Ea(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function ka(e,t,n,r,i,a){var o=e.__className;if(C||o!==n||o===void 0){var s=Ta(n,r,a);(!C||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e.__className=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}function Aa(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function ja(e,t,n,r){var i=e.__style;if(C||i!==t){var a=Oa(t,r);(!C||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e.__style=t}else r&&(Array.isArray(r)?(Aa(e,n?.[0],r[0]),Aa(e,n?.[1],r[1],`important`)):Aa(e,n,r));return r}function Ma(e,n,r=!1){if(e.multiple){if(n==null)return;if(!t(n))return Je();for(var i of e.options)i.selected=n.includes(Fa(i));return}for(i of e.options)if(Pn(Fa(i),n)){i.selected=!0;return}(!r||n!==void 0)&&(e.selectedIndex=-1)}function Na(e){var t=new MutationObserver(()=>{Ma(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`value`]}),rr(()=>{t.disconnect()})}function Pa(e,t,n=t){var r=new WeakSet,i=!0;$n(e,`change`,t=>{var i=t?`[selected]`:`:checked`,a;if(e.multiple)a=[].map.call(e.querySelectorAll(i),Fa);else{var o=e.querySelector(i)??e.querySelector(`option:not([disabled])`);a=o&&Fa(o)}n(a),e.__value=a,N!==null&&r.add(N)}),lr(()=>{var a=t();if(e===document.activeElement){var o=O?It:N;if(r.has(o))return}if(Ma(e,a,i),i&&a===void 0){var s=e.querySelector(`:checked`);s!==null&&(a=Fa(s),n(a))}e.__value=a,i=!1}),Na(e)}function Fa(e){return`__value`in e?e.__value:e.value}var Ia=Symbol(`class`),La=Symbol(`style`),Ra=Symbol(`is custom element`),za=Symbol(`is html`),Ba=be?`link`:`LINK`,Va=be?`input`:`INPUT`,Ha=be?`option`:`OPTION`,Ua=be?`select`:`SELECT`,Wa=be?`progress`:`PROGRESS`;function Ga(e){if(C){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute(`value`)){var n=e.value;Ya(e,`value`,null),e.value=n}if(e.hasAttribute(`checked`)){var r=e.checked;Ya(e,`checked`,null),e.checked=r}}};e.__on_r=n,A(n),Zn()}}function Ka(e,t){var n=$a(e);n.value===(n.value=t??void 0)||e.value===t&&(t!==0||e.nodeName!==Wa)||(e.value=t??``)}function qa(e,t){var n=$a(e);n.checked!==(n.checked=t??void 0)&&(e.checked=t)}function Ja(e,t){t?e.hasAttribute(`selected`)||e.setAttribute(`selected`,``):e.removeAttribute(`selected`)}function Ya(e,t,n,r){var i=$a(e);C&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Ba)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[_e]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&to(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Xa(e,t,n){var r=H,i=G;let a=C;C&&w(!1),W(null),K(null);try{t!==`style`&&(eo.has(e.getAttribute(`is`)||e.nodeName)||!customElements||customElements.get(e.getAttribute(`is`)||e.nodeName.toLowerCase())?to(e).includes(t):n&&typeof n==`object`)?e[t]=n:Ya(e,t,n==null?n:String(n))}finally{W(r),K(i),a&&w(!0)}}function Za(e,t,n,r,i=!1,a=!1){if(C&&i&&e.nodeName===Va){var o=e;(o.type===`checkbox`?`defaultChecked`:`defaultValue`)in n||Ga(o)}var s=$a(e),c=s[Ra],l=!s[za];let u=C&&c;u&&w(!1);var d=t||{},f=e.nodeName===Ha;for(var p in t)p in n||(n[p]=null);n.class?n.class=Ca(n.class):(r||n[Ia])&&(n.class=null),n[La]&&(n.style??=null);var m=to(e);for(let i in n){let o=n[i];if(f&&i===`value`&&o==null){e.value=e.__value=``,d[i]=o;continue}if(i===`class`){ka(e,e.namespaceURI===`http://www.w3.org/1999/xhtml`,o,r,t?.[Ia],n[Ia]),d[i]=o,d[Ia]=n[Ia];continue}if(i===`style`){ja(e,o,t?.[La],n[La]),d[i]=o,d[La]=n[La];continue}var h=d[i];if(!(o===h&&!(o===void 0&&e.hasAttribute(i)))){d[i]=o;var g=i[0]+i[1];if(g!==`$$`)if(g===`on`){let t={},n=`$$`+i,r=i.slice(2);var _=Zr(r);if(Yr(r)&&(r=r.slice(0,-7),t.capture=!0),!_&&h){if(o!=null)continue;e.removeEventListener(r,d[n],t),d[n]=null}if(_)di(r,e,o),fi([r]);else if(o!=null){function a(e){d[i].call(this,e)}d[n]=ci(r,e,a,t)}}else if(i===`style`)Ya(e,i,o);else if(i===`autofocus`)Jn(e,!!o);else if(!c&&(i===`__value`||i===`value`&&o!=null))e.value=e.__value=o;else if(i===`selected`&&f)Ja(e,o);else{var v=i;l||(v=ei(v));var y=v===`defaultValue`||v===`defaultChecked`;if(o==null&&!c&&!y)if(s[i]=null,v===`value`||v===`checked`){let n=e,r=t===void 0;if(v===`value`){let e=n.defaultValue;n.removeAttribute(v),n.defaultValue=e,n.value=n.__value=r?e:null}else{let e=n.defaultChecked;n.removeAttribute(v),n.defaultChecked=e,n.checked=r?e:!1}}else e.removeAttribute(i);else y||m.includes(v)&&(c||typeof o!=`string`)?(e[v]=o,v in s&&(s[v]=S)):typeof o!=`function`&&Ya(e,v,o,a)}}}return u&&w(!0),d}function Qa(e,t,n=[],r=[],i=[],a,o=!1,s=!1){sn(i,n,r,n=>{var r=void 0,i={},c=e.nodeName===Ua,l=!1;if(mr(()=>{var u=t(...n.map(Z)),d=Za(e,r,u,a,o,s);l&&c&&`value`in u&&Ma(e,u.value);for(let e of Object.getOwnPropertySymbols(i))u[e]||V(i[e]);for(let t of Object.getOwnPropertySymbols(u)){var f=u[t];t.description===`@attach`&&(!r||f!==r[t])&&(i[t]&&V(i[t]),i[t]=B(()=>ba(e,()=>f))),d[t]=f}r=d}),c){var u=e;lr(()=>{Ma(u,r.value,!0),Na(u)})}l=!0})}function $a(e){return e.__attributes??={[Ra]:e.nodeName.includes(`-`),[za]:e.namespaceURI===He}}var eo=new Map;function to(e){var t=e.getAttribute(`is`)||e.nodeName,n=eo.get(t);if(n)return n;eo.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=c(i),r)r[o].set&&n.push(o);i=d(i)}return n}function no(e,t,n=t){var r=new WeakSet;$n(e,`input`,async i=>{var a=i?e.defaultValue:e.value;if(a=oo(e)?so(a):a,n(a),N!==null&&r.add(N),await Hr(),a!==(a=t())){var o=e.selectionStart,s=e.selectionEnd,c=e.value.length;if(e.value=a??``,s!==null){var l=e.value.length;o===s&&s===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(s,l))}}}),(C&&e.defaultValue!==e.value||Q(t)==null&&e.value)&&(n(oo(e)?so(e.value):e.value),N!==null&&r.add(N)),dr(()=>{var n=t();if(e===document.activeElement){var i=O?It:N;if(r.has(i))return}oo(e)&&n===so(e.value)||e.type===`date`&&!n&&!e.value||n!==e.value&&(e.value=n??``)})}var ro=new Set;function io(e,t,n,r,i=r){var a=n.getAttribute(`type`)===`checkbox`,o=e;let s=!1;if(t!==null)for(var c of t)o=o[c]??=[];o.push(n),$n(n,`change`,()=>{var e=n.__value;a&&(e=ao(o,e,n.checked)),i(e)},()=>i(a?[]:null)),dr(()=>{var e=r();if(C&&n.defaultChecked!==n.checked){s=!0;return}a?(e||=[],n.checked=e.includes(n.__value)):n.checked=Pn(n.__value,e)}),rr(()=>{var e=o.indexOf(n);e!==-1&&o.splice(e,1)}),ro.has(o)||(ro.add(o),A(()=>{o.sort((e,t)=>e.compareDocumentPosition(t)===4?-1:1),ro.delete(o)})),A(()=>{if(s){var e=a?ao(o,e,n.checked):o.find(e=>e.checked)?.__value;i(e)}})}function ao(e,t,n){for(var r=new Set,i=0;i<e.length;i+=1)e[i].checked&&r.add(e[i].__value);return n||r.delete(t),Array.from(r)}function oo(e){var t=e.type;return t===`number`||t===`range`}function so(e){return e===``?null:+e}var co=new class e{#e=new WeakMap;#t;#n;static entries=new WeakMap;constructor(e){this.#n=e}observe(e,t){var n=this.#e.get(e)||new Set;return n.add(t),this.#e.set(e,n),this.#r().observe(e,this.#n),()=>{var n=this.#e.get(e);n.delete(t),n.size===0&&(this.#e.delete(e),this.#t.unobserve(e))}}#r(){return this.#t??=new ResizeObserver(t=>{for(var n of t){e.entries.set(n.target,n);for(var r of this.#e.get(n.target)||[])r(n)}})}}({box:`border-box`});function lo(e,t,n){var r=co.observe(e,()=>n(e[t]));lr(()=>(Q(()=>n(e[t])),r))}function uo(e,t){return e===t||e?.[he]===t}function fo(e={},t,n,r){var i=k.r,a=G;return lr(()=>{var o,s;return dr(()=>{o=s,s=r?.()||[],Q(()=>{e!==n(...s)&&(t(e,...s),o&&uo(n(...o),e)&&t(null,...o))})}),()=>{let r=a;for(;r!==i&&r.parent!==null&&r.parent.f&33554432;)r=r.parent;let o=()=>{s&&uo(n(...s),e)&&t(null,...s)},c=r.teardown;r.teardown=()=>{o(),c?.()}}}),e}function po(e=!1){let t=k,n=t.l.u;if(!n)return;let r=()=>Kr(t.s);if(e){let e=0,n={},i=dn(()=>{let r=!1,i=t.s;for(let e in i)i[e]!==n[e]&&(n[e]=i[e],r=!0);return r&&e++,e});r=()=>Z(i)}n.b.length&&or(()=>{mo(t,r),_(n.b)}),ir(()=>{let e=Q(()=>n.m.map(g));return()=>{for(let t of e)typeof t==`function`&&t()}}),n.a.length&&ir(()=>{mo(t,r),_(n.a)})}function mo(e,t){if(e.l.s)for(let t of e.l.s)Z(t);t()}var ho={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function go(e,t,n){return new Proxy({props:e,exclude:t},ho)}var _o={get(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(p(r)&&(r=r()),typeof r==`object`&&r&&t in r)return r[t]}},set(e,t,n){let r=e.props.length;for(;r--;){let i=e.props[r];p(i)&&(i=i());let a=s(i,t);if(a&&a.set)return a.set(n),!0}return!1},getOwnPropertyDescriptor(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(p(r)&&(r=r()),typeof r==`object`&&r&&t in r){let e=s(r,t);return e&&!e.configurable&&(e.configurable=!0),e}}},has(e,t){if(t===he||t===ge)return!1;for(let n of e.props)if(p(n)&&(n=n()),n!=null&&t in n)return!0;return!1},ownKeys(e){let t=[];for(let n of e.props)if(p(n)&&(n=n()),n){for(let e in n)t.includes(e)||t.push(e);for(let e of Object.getOwnPropertySymbols(n))t.includes(e)||t.push(e)}return t}};function vo(...e){return new Proxy({props:e},_o)}function yo(e,t,n,r){var i=!rt||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,c=r,l=!0,u=()=>(l&&(l=!1,c=o?Q(r):r),c);let d;if(a){var f=he in e||ge in e;d=s(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=Ft(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=u(),d&&(i&&Fe(t),d(p)));var h=i?()=>{var n=e[t];return n===void 0?u():(l=!0,n)}:()=>{var n=e[t];return n!==void 0&&(c=void 0),n===void 0?c:n};if(i&&!(n&4))return h;if(d){var g=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||g||m)&&d(t?h():e),e):h()})}var _=!1,v=(n&1?dn:mn)(()=>(_=!1,h()));a&&Z(v);var y=G;return(function(e,t){if(arguments.length>0){let n=t?Z(v):i&&a?Mn(e):e;return F(v,n),_=!0,c!==void 0&&(c=n),e}return Dr&&_||y.f&16384?v.v:Z(v)})}function bo(e){return new So(e)}function xo(e){return class extends So{constructor(t){super({component:e,...t})}}}var So=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=Dn(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return Z(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===ge?!0:(Z(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return F(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?Mi:ji)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!O&&(!e?.props?.$$host||e.sync===!1)&&Gt(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||o(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{Ii(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},Co;typeof HTMLElement==`function`&&(Co=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=Kn(`slot`);e!==`default`&&(n.name=e),Ei(t,n)}}let t={},n=To(this);for(let r of this.$$s)r in n&&(r===`default`&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=wo(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=bo({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=sr(()=>{dr(()=>{this.$$r=!0;for(let e of a(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=wo(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=wo(e,n,this.$$p_d,`toProp`),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return a(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function wo(e,t,n,r){let i=n[e]?.type;if(t=i===`Boolean`&&typeof t!=`boolean`?t!=null:t,!r||!n[e])return t;if(r===`toAttribute`)switch(i){case`Object`:case`Array`:return t==null?null:JSON.stringify(t);case`Boolean`:return t?``:null;case`Number`:return t??null;default:return t}else switch(i){case`Object`:case`Array`:return t&&JSON.parse(t);case`Boolean`:return t;case`Number`:return t==null?t:+t;default:return t}}function To(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function Eo(e,t,n,r,i,c){let l=class extends Co{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return a(t).map(e=>(t[e].attribute||e).toLowerCase())}};return a(t).forEach(e=>{o(l.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=wo(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(s(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{o(l.prototype,e,{get(){return this.$$c?.[e]}})}),c&&(l=c(l)),e.element=l,l}function Do(e,t){if(O||xe(`hydratable`),C){let t=window.__svelte?.h;if(t?.has(e))return t.get(e);Ke(e)}return t()}var Oo=e({afterUpdate:()=>Fo,beforeUpdate:()=>Po,createContext:()=>ft,createEventDispatcher:()=>No,createRawSnippet:()=>ia,flushSync:()=>Gt,fork:()=>tn,getAbortSignal:()=>ko,getAllContexts:()=>gt,getContext:()=>pt,hasContext:()=>ht,hydratable:()=>Do,hydrate:()=>Mi,mount:()=>ji,onDestroy:()=>jo,onMount:()=>Ao,setContext:()=>mt,settled:()=>Ur,tick:()=>Hr,unmount:()=>Ii,untrack:()=>Q});function ko(){return H===null&&Me(),(H.ac??=new AbortController).signal}function Ao(e){k===null&&Se(`onMount`),rt&&k.l!==null?Io(k).m.push(e):ir(()=>{let t=Q(e);if(typeof t==`function`)return t})}function jo(e){k===null&&Se(`onDestroy`),Ao(()=>()=>Q(e))}function Mo(e,t,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:r})}function No(){let e=k;return e===null&&Se(`createEventDispatcher`),(n,r,i)=>{let a=e.s.$$events?.[n];if(a){let o=t(a)?a.slice():[a],s=Mo(n,r,i);for(let t of o)t.call(e.x,s);return!s.defaultPrevented}return!0}}function Po(e){k===null&&Se(`beforeUpdate`),k.l===null&&Pe(`beforeUpdate`),Io(k).b.push(e)}function Fo(e){k===null&&Se(`afterUpdate`),k.l===null&&Pe(`afterUpdate`),Io(k).a.push(e)}function Io(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}export{wi as $,va as A,an as At,Yi as B,ut as Bt,Na as C,Mn as Ct,Ca as D,En as Dt,ka as E,Tn as Et,sa as F,pt as Ft,ji as G,Xe as Gt,Wi as H,ot as Ht,aa as I,ht as It,Ei as J,Ai as K,m as Kt,ra as L,vt as Lt,ga as M,Gt as Mt,ma as N,Mt as Nt,Sa as O,mn as Ot,la as P,gt as Pt,Di as Q,na as R,_t as Rt,Pa as S,Un as St,ja as T,F as Tt,Hi as U,it as Ut,Gi as V,ct as Vt,Vi as W,Ze as Wt,yi as X,Ti as Y,xi as Z,Ga as _,Yn as _t,xo as a,Jr as at,Xa as b,Vn as bt,vo as c,Hr as ct,lo as d,lr as dt,Si as et,io as f,sr as ft,Qa as g,or as gt,La as h,ir as ht,Eo as i,li as it,_a as j,nn as jt,ya as k,pn as kt,po as l,Q as lt,Ia as m,fr as mt,jo as n,di as nt,yo as o,Z as ot,no as p,dr as pt,Ii as q,y as qt,Ao as r,ui as rt,go as s,Ur as st,Oo as t,fi as tt,fo as u,Nr as ut,Ya as v,In as vt,Ma as w,An as wt,Ka as x,Hn as xt,qa as y,Fn as yt,ta as z,mt as zt};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BJaEr5tZ.js","../chunks/CibALFW0.js","../chunks/DcOGFwCk.js","../chunks/rEsbAd0y.js","../chunks/JEKVFENx.js","../chunks/BQwc7106.js","../chunks/CFKVnMbq.js","../chunks/Ct405RO9.js","../chunks/tFLMI64R.js","../nodes/1.C4Q2p2ww.js","../chunks/TZgETsNt.js","../chunks/DSTWBVLS.js","../chunks/CPPDi2Fg.js","../chunks/Bo0U8J3e.js","../nodes/2.zTSXNJuk.js","../chunks/DjVmpym-.js","../chunks/DTspBV79.js","../chunks/DzOV-etd.js","../chunks/4rln5D2N.js","../chunks/B-P0cQBf.js","../chunks/Czdz2g0u.js","../chunks/CqCdl07t.js","../chunks/BiGeVjFa.js","../nodes/3.BJjkyEoj.js","../chunks/IsmK4Fpw.js","../chunks/DRq9fhs9.js"])))=>i.map(i=>d[i]);
2
+ import{$ as e,Dt as t,Gt as n,I as r,J as i,K as a,Lt as o,Mt as s,Rt as c,St as l,Tt as u,U as d,X as f,Y as p,a as m,bt as h,ct as g,gt as _,ht as v,i as y,kt as b,mt as x,o as S,ot as C,r as w,u as T,xt as E}from"../chunks/rEsbAd0y.js";import{t as D}from"../chunks/DjVmpym-.js";import"../chunks/CFKVnMbq.js";var O={},k=f(`<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>`),A=f(`<!> <!>`,1);function j(f,m){c(m,!0);let y=S(m,`stores`,7),D=S(m,`page`,7),O=S(m,`constructors`,7),j=S(m,`components`,23,()=>[]),M=S(m,`form`,7),N=S(m,`data_0`,7,null),P=S(m,`data_1`,7,null);_(()=>y().page.set(D())),v(()=>{y(),D(),O(),j(),M(),N(),P(),y().page.notify()});let F=t(!1),I=t(!1),L=t(null);w(()=>{let e=y().page.subscribe(()=>{C(F)&&(u(I,!0),g().then(()=>{u(L,document.title||`untitled page`,!0)}))});return u(F,!0),e});let R=b(()=>O()[1]);var z={get stores(){return y()},set stores(e){y(e),s()},get page(){return D()},set page(e){D(e),s()},get constructors(){return O()},set constructors(e){O(e),s()},get components(){return j()},set components(e=[]){j(e),s()},get form(){return M()},set form(e){M(e),s()},get data_0(){return N()},set data_0(e=null){N(e),s()},get data_1(){return P()},set data_1(e=null){P(e),s()}},B=A(),V=E(B),H=e=>{let t=b(()=>O()[0]);var n=p();r(E(n),()=>C(t),(e,t)=>{T(t(e,{get data(){return N()},get form(){return M()},get params(){return D().params},children:(e,t)=>{var n=p();r(E(n),()=>C(R),(e,t)=>{T(t(e,{get data(){return P()},get form(){return M()},get params(){return D().params}}),e=>j()[1]=e,()=>j()?.[1])}),i(e,n)},$$slots:{default:!0}}),e=>j()[0]=e,()=>j()?.[0])}),i(e,n)},U=e=>{let t=b(()=>O()[0]);var n=p();r(E(n),()=>C(t),(e,t)=>{T(t(e,{get data(){return N()},get form(){return M()},get params(){return D().params}}),e=>j()[0]=e,()=>j()?.[0])}),i(e,n)};d(V,e=>{O()[1]?e(H):e(U,-1)});var W=l(V,2),G=t=>{var r=k(),o=h(r),s=t=>{var n=e();x(()=>a(n,C(L))),i(t,n)};d(o,e=>{C(I)&&e(s)}),n(r),i(t,r)};return d(W,e=>{C(F)&&e(G)}),i(f,B),o(z)}y(j,{stores:{},page:{},constructors:{},components:{},form:{},data_0:{},data_1:{}},[],[],{mode:`open`});var M=m(j),N=[()=>D(()=>import(`../nodes/0.BJaEr5tZ.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url),()=>D(()=>import(`../nodes/1.C4Q2p2ww.js`),__vite__mapDeps([9,10,3,1,11,6,12,13]),import.meta.url),()=>D(()=>import(`../nodes/2.zTSXNJuk.js`),__vite__mapDeps([14,10,3,1,2,15,16,17,5,18,19,20,4,21,22,11,6,12,13,8]),import.meta.url),()=>D(()=>import(`../nodes/3.BJjkyEoj.js`),__vite__mapDeps([23,10,3,1,2,16,17,5,18,19,15,20,4,21,22,11,24,25,6,12,13,7,8]),import.meta.url)],P=[],F={"/":[2],"/sidebar":[3]},I={handleError:(({error:e})=>{console.error(e)}),reroute:(()=>{}),transport:{}},L=Object.fromEntries(Object.entries(I.transport).map(([e,t])=>[e,t.decode])),R=Object.fromEntries(Object.entries(I.transport).map(([e,t])=>[e,t.encode])),z=!1,B=(e,t)=>L[e](t);export{B as decode,L as decoders,F as dictionary,R as encoders,z as hash,I as hooks,O as matchers,N as nodes,M as root,P as server_loads};
@@ -0,0 +1 @@
1
+ import"../chunks/rEsbAd0y.js";import{n as e,s as t}from"../chunks/TZgETsNt.js";import"../chunks/Bo0U8J3e.js";export{t as load_css,e as start};
@@ -1,4 +1,4 @@
1
- import{n as e}from"../chunks/CibALFW0.js";import{I as t,It as n,J as r,Lt as i,bt as a,i as o,jt as s,o as c,q as l}from"../chunks/C00ruT0L.js";import"../chunks/CFKVnMbq.js";import{r as u}from"../chunks/Ct405RO9.js";import{l as d,n as f,o as p,t as m}from"../chunks/-NcnoUoN.js";import"../chunks/DV91TmsB.js";import"../chunks/MRyhzcyW.js";import"../chunks/tFLMI64R.js";var h=async e=>await(await e(`https://liipgpt.api.dev.genai.liip.ch/configurator/api/all-org-names`)).json(),g=[`baselcitygpt`],_=async e=>{let t=await h(e).catch(e=>(console.error(`Error fetching org names:`,e),[]));t.push(`liipgpt`);let n=t.map(e=>g.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(n)},v=`/**
1
+ import{n as e}from"../chunks/CibALFW0.js";import{J as t,L as n,Lt as r,Mt as i,Rt as a,Y as o,i as s,o as c,xt as l}from"../chunks/rEsbAd0y.js";import"../chunks/CFKVnMbq.js";import{r as u}from"../chunks/Ct405RO9.js";import{l as d,n as f,o as p,t as m}from"../chunks/DcOGFwCk.js";import"../chunks/JEKVFENx.js";import"../chunks/BQwc7106.js";import"../chunks/tFLMI64R.js";var h=async e=>await(await e(`https://liipgpt.api.dev.genai.liip.ch/configurator/api/all-org-names`)).json(),g=[`baselcitygpt`],_=async e=>{let t=await h(e).catch(e=>(console.error(`Error fetching org names:`,e),[]));t.push(`liipgpt`);let n=t.map(e=>g.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(n)},v=`/**
2
2
  * @type {import('@liip/liipgpt/config').ChatConfig} ChatConfig
3
3
  */
4
4
  const CHAT_CONFIG_OVERRIDE = {
@@ -85,7 +85,81 @@ const CHAT_CONFIG_OVERRIDE = {
85
85
  ],
86
86
  */
87
87
  // parentPageContext: { extractSelectors: ["#preview-form"] }
88
- // enableBackdrop: true,
88
+ // enableBackdrop: true,
89
+
90
+ /*
91
+ Custom form shown as an option below each bot answer. All labels are translatable
92
+ (defaulting to the first supported language). On submit, the field values plus the
93
+ related question and answer are sent by email to \`receiverEmail\` via the backend.
94
+ */
95
+ /* answerForm: {
96
+ // receiverEmail must be allow-listed on the LiipGPT backend (customForm.allowedReceivers in the org's *-config.service.ts); otherwise /customform is rejected with ERROR_NOT_ALLOWED.
97
+ receiverEmail: "team@example.com",
98
+ triggerLabel: {
99
+ fr: "Transférer la question à notre équipe",
100
+ en: "Forward the question to our team",
101
+ de: "Frage an unser Team weiterleiten",
102
+ it: "Inoltra la domanda al nostro team",
103
+ },
104
+ caption: {
105
+ fr: "Remplissez ce formulaire et notre équipe vous répondra par e-mail.",
106
+ en: "Fill in this form and our team will get back to you by email.",
107
+ de: "Füllen Sie dieses Formular aus und unser Team meldet sich per E-Mail bei Ihnen.",
108
+ it: "Compila questo modulo e il nostro team ti risponderà via e-mail.",
109
+ },
110
+ submitLabel: {
111
+ fr: "Envoyer",
112
+ en: "Send",
113
+ de: "Senden",
114
+ it: "Invia",
115
+ },
116
+ fields: [
117
+ {
118
+ type: "text",
119
+ name: "fullName",
120
+ required: true,
121
+ label: { fr: "Nom complet", en: "Full name", de: "Vollständiger Name", it: "Nome completo" },
122
+ placeholder: { fr: "Votre nom", en: "Your name", de: "Ihr Name", it: "Il tuo nome" },
123
+ },
124
+ {
125
+ type: "text",
126
+ name: "email",
127
+ required: true,
128
+ label: { fr: "E-mail", en: "Email", de: "E-Mail", it: "E-mail" },
129
+ placeholder: { fr: "vous@exemple.com", en: "you@example.com", de: "sie@beispiel.com", it: "tu@esempio.com" },
130
+ },
131
+ {
132
+ type: "select",
133
+ name: "topic",
134
+ label: { fr: "Sujet", en: "Topic", de: "Thema", it: "Argomento" },
135
+ placeholder: { fr: "Choisir…", en: "Choose…", de: "Auswählen…", it: "Scegli…" },
136
+ options: [
137
+ { value: "billing", label: { fr: "Facturation", en: "Billing", de: "Abrechnung", it: "Fatturazione" } },
138
+ { value: "technical", label: { fr: "Technique", en: "Technical", de: "Technisch", it: "Tecnico" } },
139
+ ],
140
+ },
141
+ {
142
+ type: "radio",
143
+ name: "urgency",
144
+ required: true,
145
+ label: { fr: "Urgence", en: "Urgency", de: "Dringlichkeit", it: "Urgenza" },
146
+ options: [
147
+ { value: "low", label: { fr: "Faible", en: "Low", de: "Niedrig", it: "Bassa" } },
148
+ { value: "high", label: { fr: "Élevée", en: "High", de: "Hoch", it: "Alta" } },
149
+ ],
150
+ },
151
+ {
152
+ type: "checkbox",
153
+ name: "channels",
154
+ label: { fr: "Canaux de contact", en: "Contact channels", de: "Kontaktkanäle", it: "Canali di contatto" },
155
+ options: [
156
+ { value: "email", label: { fr: "E-mail", en: "Email", de: "E-Mail", it: "E-mail" } },
157
+ { value: "phone", label: { fr: "Téléphone", en: "Phone", de: "Telefon", it: "Telefono" } },
158
+ ],
159
+ },
160
+ ],
161
+ },
162
+ */
89
163
  // This will be needed for the alva confidence experiment
90
164
  /*
91
165
  contextVersion: 1,
@@ -154,4 +228,4 @@ window.CHAT_CONFIG_OVERRIDE = CHAT_CONFIG_OVERRIDE;
154
228
  </g>
155
229
  </svg>
156
230
  </div>
157
- `,b={"api-org":{type:`string`,values:[],value:`liipgpt`,description:`Select the organization to to get the API URL`},"prod-api":{type:`boolean`,value:!1,description:`Select to use the production API URL`},"api-url":{type:`string`,required:!0,value:d,description:``},lang:{type:`string`,values:[`en`,`de`,`fr`,`it`],value:`en`,description:`Initial language of the embed.`},"chat-class":{type:`string`,value:``,description:`This is the class attribute of the chat-app container. With this the chat appearance can be customized.`},"inline-layout":{type:`boolean`,value:!1,description:"If set, the layout will be updated to fit into other website layouts: forces 100vh height and scrolls into view on interactions. Per-instance override of the backend's `inlineLayout` config."},flyout:{type:`boolean`,value:!1,description:`If set the chat will be put in a default flyout container.`},"force-chat-page":{type:`boolean`,value:!1,description:'If set, the app starts directly on the chat-page (skipping the start-page) and the "new discussion" button is hidden. Per-instance override of the backend\'s `forceChatPage` config.'},"autofire-predefined-question-id":{type:`string`,value:``,description:'When set, the app routes directly to the chat-page on init and auto-submits the predefined question with the given id. Per-instance only (no backend config equivalent). Composes with `force-chat-page` to also hide the "new discussion" button.'},question:{type:`string`,value:``,description:"When set, the app routes directly to the chat-page on init and auto-submits this free-text question. Per-instance only (no backend config equivalent). The URL `q` param takes precedence if also present."},"additional-start-parameters":{type:`string`,value:`{"availableTopicIds":["yxx","yyy","aaa"]}`,description:`A JSON object of arbitrary key/value pairs sent to the backend on the very first init (login) call, so it can react on init. Wrap the attribute in single quotes in your HTML so the inner JSON double-quotes stay valid. Clear to omit.`},"flyout-style":{type:`string`,value:`width: 400px; height: 600px;`,description:`This is the style attribute of the flyout container. With this the flyout size and position can be customized.`},"flyout-class":{type:`string`,value:`custom-flyout-class`,description:`This is the class attribute of the flyout container. With this the flyout size and position can be customized.`},"button-class":{type:`string`,value:``,description:"This is the class attribute of the `<liipgpt-button>` link button. Only used when `show-link-button` is set."},"button-style":{type:`string`,value:``,description:"This is the style attribute of the `<liipgpt-button>` link button. Only used when `show-link-button` is set."},"loader-background":{type:`string`,value:`linear-gradient(0deg, #1B181E 0%, #2A2440 90%)`,description:`This is the background color of the loading spinner.`},"loader-color":{type:`string`,value:`#9C92EE`,description:`This is the color of the loading spinner.`},"custom-loader":{type:`string`,value:y,description:`This is an example how you can provide a custom loading spinner when the chat is loading.`},onclosechat:{type:`string`,value:`document.querySelector("liipgpt-chat").addEventListener("closechat", () => console.log("received: closechat"));`,description:`This is the event listener create a custom handler to the closechat event. RELOAD the page to avoid multiple listeners.`},cdn:{type:`boolean`,value:!0,description:`When set, a fixed CDN URL will be used. Instead of providing the code from the backend.`},"use-sri":{type:`boolean`,value:!1,description:`When enabled, generates embed code with a fixed versioned URL and Subresource Integrity (SRI) hash for stricter security.`},CHAT_CONFIG_OVERRIDE:{type:`string`,value:v,description:`This is only for demo purposes and should not be used in production. RELOAD the page to see the effects.`},"preview-components":{type:`boolean`,value:!1,description:`Previews all the components for designing purposes.`},"hide-sidebar":{type:`boolean`,value:!1,description:``},"preview-background":{type:`string`,value:``,description:`Enter an image URL (.png, .jpg, .webp) for a static background`},"preview-form":{type:`boolean`,value:!1,description:`When true and flyout active it will show a form on the parent page which can be used to demo page context extraction.`},"use-chat-config":{type:`boolean`,value:!1,description:`Enable chatconfig mode: theme and translations are loaded from /chatconfig. Required for FORCE-THEME. When disabled, use the disclaimer slot and HOST-CSS instead.`},"host-css":{type:`string`,value:p,description:`Host-page CSS for the widget and slot buttons. Use a host class as the anchor (e.g. .your-custom-class-wrapper .search-summary). The class is inferred from this CSS and applied to <liipgpt-search-summary class="…"> in the embed snippet.`},"opt-in":{type:`boolean`,value:!0,description:`Show an opt-in gate before streaming. Consent is persisted in localStorage. When enabled in Host CSS mode, also reveals DISCLAIMER-SLOT below.`},"disclaimer-slot":{type:`string`,required:!0,value:f,description:`Inner HTML for the <div slot="disclaimer"> injected into the embed code (when OPT-IN is enabled, Host CSS mode only).`},height:{type:`string`,value:`280`,description:`Collapsed widget height before expand. Use a pixel number (e.g. 280) or any CSS height value (e.g. calc(30svh - 30px)).`},"buttons-slots":{type:`string`,value:m,description:`HTML for the action slot buttons injected into the embed code (Host CSS mode only). Use class names that match HOST-CSS. Clear to omit slot buttons.`}},x=async e=>{let t=await _(e),n=b;return n[`api-org`].values=Object.keys(t),{optionsDefinition:n,apiUrls:t}},S=e({load:()=>E,prerender:()=>!0,ssr:()=>!1}),C=(e,t)=>{let n=structuredClone(e);return Object.entries(e).forEach(([r,i])=>{let a=t.get(r);i.type===`boolean`&&(n[r].required=!0),a===null?i.required?n[r].value=e[r].value:n[r].value=void 0:(i.type===`boolean`&&(n[r].value=a!==`false`),i.type===`string`&&(n[r].value=String(a)))}),n},w,T=e=>{let t=new URLSearchParams(e);return t.has(`show-components`)&&!t.has(`preview-components`)&&(t.set(`preview-components`,t.get(`show-components`)),t.delete(`show-components`)),t},E=async({url:e,fetch:t})=>{let{optionsDefinition:n,apiUrls:r}=await x(t),i=C(n,T(e.searchParams)),a=!!(w&&w[`api-org`].value!==i[`api-org`].value),o=!!(w&&w[`prod-api`].value!==i[`prod-api`].value),s=e.searchParams.has(`api-url`);if(i[`api-org`].value&&(!w||a||o)&&(a||o||!s)){let e=r[i[`api-org`].value];i[`api-url`].value=i[`prod-api`].value?e.prod:e.dev}return w=i,{optionsDefinition:n,options:i,embedTab:u(e.searchParams)}};function D(e,o){i(o,!0);let u=c(o,`children`,7);var d={get children(){return u()},set children(e){u(e),s()}},f=r();return t(a(f),u),l(e,f),n(d)}o(D,{children:{}},[],[],{mode:`open`});export{D as component,S as universal};
231
+ `,b={"api-org":{type:`string`,values:[],value:`liipgpt`,description:`Select the organization to to get the API URL`},"prod-api":{type:`boolean`,value:!1,description:`Select to use the production API URL`},"api-url":{type:`string`,required:!0,value:d,description:``},lang:{type:`string`,values:[`en`,`de`,`fr`,`it`],value:`en`,description:`Initial language of the embed.`},"chat-class":{type:`string`,value:``,description:`This is the class attribute of the chat-app container. With this the chat appearance can be customized.`},"inline-layout":{type:`boolean`,value:!1,description:"If set, the layout will be updated to fit into other website layouts: forces 100vh height and scrolls into view on interactions. Per-instance override of the backend's `inlineLayout` config."},flyout:{type:`boolean`,value:!1,description:`If set the chat will be put in a default flyout container.`},"force-chat-page":{type:`boolean`,value:!1,description:'If set, the app starts directly on the chat-page (skipping the start-page) and the "new discussion" button is hidden. Per-instance override of the backend\'s `forceChatPage` config.'},"autofire-predefined-question-id":{type:`string`,value:``,description:'When set, the app routes directly to the chat-page on init and auto-submits the predefined question with the given id. Per-instance only (no backend config equivalent). Composes with `force-chat-page` to also hide the "new discussion" button.'},question:{type:`string`,value:``,description:"When set, the app routes directly to the chat-page on init and auto-submits this free-text question. Per-instance only (no backend config equivalent). The URL `q` param takes precedence if also present."},"additional-start-parameters":{type:`string`,value:`{"availableTopicIds":["yxx","yyy","aaa"]}`,description:`A JSON object of arbitrary key/value pairs sent to the backend on the very first init (login) call, so it can react on init. Wrap the attribute in single quotes in your HTML so the inner JSON double-quotes stay valid. Clear to omit.`},"flyout-style":{type:`string`,value:`width: 400px; height: 600px;`,description:`This is the style attribute of the flyout container. With this the flyout size and position can be customized.`},"flyout-class":{type:`string`,value:`custom-flyout-class`,description:`This is the class attribute of the flyout container. With this the flyout size and position can be customized.`},"button-class":{type:`string`,value:``,description:"This is the class attribute of the `<liipgpt-button>` link button. Only used when `show-link-button` is set."},"button-style":{type:`string`,value:``,description:"This is the style attribute of the `<liipgpt-button>` link button. Only used when `show-link-button` is set."},"loader-background":{type:`string`,value:`linear-gradient(0deg, #1B181E 0%, #2A2440 90%)`,description:`This is the background color of the loading spinner.`},"loader-color":{type:`string`,value:`#9C92EE`,description:`This is the color of the loading spinner.`},"custom-loader":{type:`string`,value:y,description:`This is an example how you can provide a custom loading spinner when the chat is loading.`},onclosechat:{type:`string`,value:`document.querySelector("liipgpt-chat").addEventListener("closechat", () => console.log("received: closechat"));`,description:`This is the event listener create a custom handler to the closechat event. RELOAD the page to avoid multiple listeners.`},cdn:{type:`boolean`,value:!0,description:`When set, a fixed CDN URL will be used. Instead of providing the code from the backend.`},"use-sri":{type:`boolean`,value:!1,description:`When enabled, generates embed code with a fixed versioned URL and Subresource Integrity (SRI) hash for stricter security.`},CHAT_CONFIG_OVERRIDE:{type:`string`,value:v,description:`This is only for demo purposes and should not be used in production. RELOAD the page to see the effects.`},"preview-components":{type:`boolean`,value:!1,description:`Previews all the components for designing purposes.`},"hide-sidebar":{type:`boolean`,value:!1,description:``},"preview-background":{type:`string`,value:``,description:`Enter an image URL (.png, .jpg, .webp) for a static background`},"preview-form":{type:`boolean`,value:!1,description:`When true and flyout active it will show a form on the parent page which can be used to demo page context extraction.`},"use-chat-config":{type:`boolean`,value:!1,description:`Enable chatconfig mode: theme and translations are loaded from /chatconfig. Required for FORCE-THEME. When disabled, use the disclaimer slot and HOST-CSS instead.`},"host-css":{type:`string`,value:p,description:`Host-page CSS for the widget and slot buttons. Use a host class as the anchor (e.g. .your-custom-class-wrapper .search-summary). The class is inferred from this CSS and applied to <liipgpt-search-summary class="…"> in the embed snippet.`},"opt-in":{type:`boolean`,value:!0,description:`Show an opt-in gate before streaming. Consent is persisted in localStorage. When enabled in Host CSS mode, also reveals DISCLAIMER-SLOT below.`},"disclaimer-slot":{type:`string`,required:!0,value:f,description:`Inner HTML for the <div slot="disclaimer"> injected into the embed code (when OPT-IN is enabled, Host CSS mode only).`},height:{type:`string`,value:`280`,description:`Collapsed widget height before expand. Use a pixel number (e.g. 280) or any CSS height value (e.g. calc(30svh - 30px)).`},"buttons-slots":{type:`string`,value:m,description:`HTML for the action slot buttons injected into the embed code (Host CSS mode only). Use class names that match HOST-CSS. Clear to omit slot buttons.`}},x=async e=>{let t=await _(e),n=b;return n[`api-org`].values=Object.keys(t),{optionsDefinition:n,apiUrls:t}},S=e({load:()=>E,prerender:()=>!0,ssr:()=>!1}),C=(e,t)=>{let n=structuredClone(e);return Object.entries(e).forEach(([r,i])=>{let a=t.get(r);i.type===`boolean`&&(n[r].required=!0),a===null?i.required?n[r].value=e[r].value:n[r].value=void 0:(i.type===`boolean`&&(n[r].value=a!==`false`),i.type===`string`&&(n[r].value=String(a)))}),n},w,T=e=>{let t=new URLSearchParams(e);return t.has(`show-components`)&&!t.has(`preview-components`)&&(t.set(`preview-components`,t.get(`show-components`)),t.delete(`show-components`)),t},E=async({url:e,fetch:t})=>{let{optionsDefinition:n,apiUrls:r}=await x(t),i=C(n,T(e.searchParams)),a=!!(w&&w[`api-org`].value!==i[`api-org`].value),o=!!(w&&w[`prod-api`].value!==i[`prod-api`].value),s=e.searchParams.has(`api-url`);if(i[`api-org`].value&&(!w||a||o)&&(a||o||!s)){let e=r[i[`api-org`].value];i[`api-url`].value=i[`prod-api`].value?e.prod:e.dev}return w=i,{optionsDefinition:n,options:i,embedTab:u(e.searchParams)}};function D(e,s){a(s,!0);let u=c(s,`children`,7);var d={get children(){return u()},set children(e){u(e),i()}},f=o();return n(l(f),u),t(e,f),r(d)}s(D,{children:{}},[],[],{mode:`open`});export{D as component,S as universal};
@@ -0,0 +1 @@
1
+ import{Gt as e,J as t,K as n,Lt as r,Rt as i,St as a,X as o,bt as s,i as c,l,mt as u,xt as d}from"../chunks/rEsbAd0y.js";import"../chunks/TZgETsNt.js";import"../chunks/Bo0U8J3e.js";import"../chunks/CFKVnMbq.js";import"../chunks/CPPDi2Fg.js";import{t as f}from"../chunks/DSTWBVLS.js";var p=o(`<h1> </h1> <p> </p>`,1);function m(o,c){i(c,!1),l();var m=p(),h=d(m),g=s(h,!0);e(h);var _=a(h,2),v=s(_,!0);e(_),u(()=>{n(g,f.status),n(v,f.error?.message)}),t(o,m),r()}c(m,{},[],[],{mode:`open`});export{m as component};
@@ -1,8 +1,8 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/NtMAcZ7G.js","../chunks/QyXFn05f.js","../chunks/GwQP32Cz.js","../chunks/C00ruT0L.js","../chunks/CibALFW0.js","../chunks/MRyhzcyW.js","../chunks/CZiOHSGl.js","../chunks/C4ORIoWK.js","../chunks/DjVmpym-.js","../chunks/D6Qx_EAy.js","../chunks/DV91TmsB.js","../chunks/CqCdl07t.js","../chunks/D7xeAlKo.js","../chunks/C59SVKNf.js","../chunks/CFKVnMbq.js","../chunks/DVeOoWpz.js","../chunks/Bo0U8J3e.js","../chunks/BmUm-Ak4.js","../chunks/Cz0dIq0O.js","../chunks/DembPZun.js","../chunks/tFLMI64R.js"])))=>i.map(i=>d[i]);
2
- import{A as e,B as t,E as n,Et as r,G as i,H as a,It as o,J as s,Kt as c,Lt as l,M as u,O as d,Ot as f,R as p,T as m,Ut as h,V as g,Wt as _,Y as v,_t as y,at as b,b as x,bt as S,c as C,ct as ee,i as w,jt as T,k as E,kt as D,mt as O,nt as k,o as A,pt as j,q as M,s as te,u as N,ut as P,v as F,w as I,wt as L,xt as R,yt as z,z as B}from"../chunks/C00ruT0L.js";import{t as V}from"../chunks/Nw8j0Xyw.js";import"../chunks/Bo0U8J3e.js";import{t as H}from"../chunks/DjVmpym-.js";import"../chunks/CFKVnMbq.js";import{a as U,c as W,r as G,s as ne}from"../chunks/-NcnoUoN.js";import"../chunks/DV91TmsB.js";import"../chunks/D6Qx_EAy.js";import"../chunks/MRyhzcyW.js";import"../chunks/tFLMI64R.js";import"../chunks/DVeOoWpz.js";import{t as re}from"../chunks/6JdeEzKi.js";import{t as K}from"../chunks/CKIDNEuR.js";import{n as q,t as J}from"../chunks/GwQP32Cz.js";import"../chunks/CZiOHSGl.js";import{n as Y,r as X}from"../chunks/C4ORIoWK.js";import{R as Z,a as ie,c as ae,d as oe,h as se,i as ce,l as le,n as ue,o as de,r as fe,s as pe,t as me,u as he,z as ge}from"../chunks/QyXFn05f.js";var _e=v(`<div class="swatch svelte-1inuijp"><div class="swatch__color svelte-1inuijp"></div> <div class="swatch__label svelte-1inuijp"> </div></div>`),ve={hash:`svelte-1inuijp`,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-1inuijp {opacity:1;}}.swatch__color.svelte-1inuijp {aspect-ratio:1;width:100%;}.swatch__label.svelte-1inuijp {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/nqjonts_.js","../chunks/DTspBV79.js","../chunks/DzOV-etd.js","../chunks/rEsbAd0y.js","../chunks/CibALFW0.js","../chunks/BQwc7106.js","../chunks/4rln5D2N.js","../chunks/B-P0cQBf.js","../chunks/DjVmpym-.js","../chunks/Czdz2g0u.js","../chunks/JEKVFENx.js","../chunks/CqCdl07t.js","../chunks/IsmK4Fpw.js","../chunks/DRq9fhs9.js","../chunks/CFKVnMbq.js","../chunks/CPPDi2Fg.js","../chunks/Bo0U8J3e.js","../chunks/BiTRwaVm.js","../chunks/D4hsPSLS.js","../chunks/CqzYdUi6.js","../chunks/tFLMI64R.js"])))=>i.map(i=>d[i]);
2
+ import{A as e,At as t,B as n,D as r,Dt as i,E as a,Gt as o,H as s,J as c,K as l,Lt as u,Mt as d,N as f,Rt as p,St as m,T as h,Tt as g,U as _,V as v,Wt as y,X as b,Y as x,b as S,bt as C,c as w,dt as T,ht as E,i as D,j as O,k,kt as A,lt as j,mt as M,o as N,ot as P,qt as F,rt as ee,s as I,u as L,v as R,vt as z,xt as B,z as te}from"../chunks/rEsbAd0y.js";import{t as V}from"../chunks/TZgETsNt.js";import"../chunks/Bo0U8J3e.js";import{t as H}from"../chunks/DjVmpym-.js";import"../chunks/CFKVnMbq.js";import{a as U,c as W,r as G,s as ne}from"../chunks/DcOGFwCk.js";import"../chunks/JEKVFENx.js";import"../chunks/Czdz2g0u.js";import"../chunks/BQwc7106.js";import"../chunks/tFLMI64R.js";import"../chunks/CPPDi2Fg.js";import{t as re}from"../chunks/DSTWBVLS.js";import{t as K}from"../chunks/BiGeVjFa.js";import{n as q,t as J}from"../chunks/DzOV-etd.js";import"../chunks/4rln5D2N.js";import{n as Y,r as X}from"../chunks/B-P0cQBf.js";import{B as Z,V as ie,_ as ae,a as oe,c as se,f as ce,i as le,l as ue,n as de,o as fe,p as pe,r as me,s as he,t as ge}from"../chunks/DTspBV79.js";var _e=b(`<div class="swatch svelte-1inuijp"><div class="swatch__color svelte-1inuijp"></div> <div class="swatch__label svelte-1inuijp"> </div></div>`),ve={hash:`svelte-1inuijp`,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-1inuijp {opacity:1;}}.swatch__color.svelte-1inuijp {aspect-ratio:1;width:100%;}.swatch__label.svelte-1inuijp {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
- }}`};function ye(e,t){l(t,!1),E(e,ve);let n=A(t,`name`,12),r=A(t,`key`,12),a=A(t,`value`,12);var s={get name(){return n()},set name(e){n(e),T()},get key(){return r()},set key(e){r(e),T()},get value(){return a()},set value(e){a(e),T()}},c=_e(),u=z(c),d=R(u,2),f=z(d,!0);return _(d),_(c),j(()=>{F(c,`title`,`Color ${r()}: ${a()}`),I(u,`background-color: var(--color-${n()??``}-${r()??``});`),i(f,r())}),M(e,c),o(s)}w(ye,{name:{},key:{},value:{}},[],[],{mode:`open`});var be=v(`<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 xe(e){M(e,be())}w(xe,{},[],[],{mode:`open`});var Se=v(`<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-4x0tmq">Text-sm: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque
5
+ }}`};function ye(t,n){p(n,!1),e(t,ve);let r=N(n,`name`,12),i=N(n,`key`,12),a=N(n,`value`,12);var s={get name(){return r()},set name(e){r(e),d()},get key(){return i()},set key(e){i(e),d()},get value(){return a()},set value(e){a(e),d()}},f=_e(),g=C(f),_=m(g,2),v=C(_,!0);return o(_),o(f),M(()=>{R(f,`title`,`Color ${i()}: ${a()}`),h(g,`background-color: var(--color-${r()??``}-${i()??``});`),l(v,i())}),c(t,f),u(s)}D(ye,{name:{},key:{},value:{}},[],[],{mode:`open`});var be=b(`<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 xe(e){c(e,be())}D(xe,{},[],[],{mode:`open`});var Se=b(`<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-4x0tmq">Text-sm: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque
6
6
  lacus.</p> <p class="text-xs svelte-4x0tmq">Text-xs: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque
7
7
  lacus.</p> <h2>Title h2</h2> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus. Sed sed
8
8
  enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis.</p> <h3>Title h3</h3> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus. Sed sed
@@ -10,7 +10,7 @@ import{A as e,B as t,E as n,Et as r,G as i,H as a,It as o,J as s,Kt as c,Lt as l
10
10
  enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis.</p> <ul><li>Unordered List 1</li> <li>Unordered List 2</li> <li>Unordered List 3</li></ul> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus. Sed sed
11
11
  enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis. Lorem ipsum dolor sit amet sed sed enim in elit vulputate
12
12
  finibus.</p> <table><tbody><tr><th>Name</th><th>Role</th><th>Location</th></tr><tr><td>Sarah Hilse</td><td>Software Developer</td><td>Zürich</td></tr><tr><td>Sarah Perrollaz</td><td>User Experience Designer</td><td>Bern</td></tr><tr><td>Sarah Bähler</td><td>User Experience Designer</td><td>Fribourg</td></tr></tbody></table> <ol><li>Ordered List 1</li> <li>Ordered List 2</li> <li>Ordered List 3</li></ol> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus. Sed sed
13
- enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis. Lorem ipsum dolor sit amet <a href="https://www.google.com">Check it on google</a> sed sed enim in elit vulputate finibus.</p>`,1),Ce={hash:`svelte-4x0tmq`,code:`.text-sm.svelte-4x0tmq {font-size:var(--base-font-size-sm);}.text-xs.svelte-4x0tmq {font-size:var(--base-font-size-xs);}`};function we(e){E(e,Ce);var t=Se();h(30),M(e,t)}w(we,{},[],[],{mode:`open`});var Te=[{type:`user`,time:`2025-01-22T08:03:11.044Z`,message:`Ok, let's inspect this dummy discussion`},{state:`done`,errors:[],type:`bot`,time:`2025-03-31T15:37:53.914Z`,noFeedback:!1,message:{markdown:`Leider kann ich Ihnen bei der Frage nach "test" nicht weiterhelfen, da die Informationen dazu nicht in den gelieferten Inhalten enthalten sind.
13
+ enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis. Lorem ipsum dolor sit amet <a href="https://www.google.com">Check it on google</a> sed sed enim in elit vulputate finibus.</p>`,1),Ce={hash:`svelte-4x0tmq`,code:`.text-sm.svelte-4x0tmq {font-size:var(--base-font-size-sm);}.text-xs.svelte-4x0tmq {font-size:var(--base-font-size-xs);}`};function we(t){e(t,Ce);var n=Se();y(30),c(t,n)}D(we,{},[],[],{mode:`open`});var Te=[{type:`user`,time:`2025-01-22T08:03:11.044Z`,message:`Ok, let's inspect this dummy discussion`},{state:`done`,errors:[],type:`bot`,time:`2025-03-31T15:37:53.914Z`,noFeedback:!1,message:{markdown:`Leider kann ich Ihnen bei der Frage nach "test" nicht weiterhelfen, da die Informationen dazu nicht in den gelieferten Inhalten enthalten sind.
14
14
 
15
15
  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[^4].
16
16
 
@@ -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`,id:`f47ac10b-58cc-4372-a567-0e02b2c3d479`,data:{caption:{de:`Was ist deine Lieblings<b>frucht</b>?`,en:`What is your favorite <b>fruit</b>?`,fr:`Quel est ton <b>fruit</b> préféré ?`,it:`Qual è il tuo <b>frutto</b> preferito?`},placeholder:{de:`Frucht suchen`,en:`Search a fruit`,fr:`Rechercher un fruit`,it:`Cerca un frutto`},values:[{value:`mango`,label:{de:`Mango`,en:`Mango`,fr:`Mangue`,it:`Mango`}},{value:`watermelon`,label:{de:`Wassermelone`,en:`Watermelon`,fr:`Pastèque`,it:`Anguria`}},{value:`apple`,label:{de:`Apfel`,en:`Apple`,fr:`Pomme`,it:`Mela`}},{value:`pineapple`,label:{de:`Ananas`,en:`Pineapple`,fr:`Ananas`,it:`Ananas`}},{value:`orange`,label:{de:`Orange`,en:`Orange`,fr:`Orange`,it:`Arancia`}},{value:`grape`,label:{de:`Traube`,en:`Grape`,fr:`Raisin`,it:`Uva`}},{value:`strawberry`,label:{de:`Erdbeere`,en:`Strawberry`,fr:`Fraise`,it:`Fragola`}},{value:`banana`,label:{de:`Banane`,en:`Banana`,fr:`Banane`,it:`Banana`}},{value:`kiwi`,label:{de:`Kiwi`,en:`Kiwi`,fr:`Kiwi`,it:`Kiwi`}},{value:`peach`,label:{de:`Pfirsich`,en:`Peach`,fr:`Pêche`,it:`Pesca`}},{value:`cherry`,label:{de:`Kirsche`,en:`Cherry`,fr:`Cerise`,it:`Ciliegia`}},{value:`blueberry`,label:{de:`Heidelbeere`,en:`Blueberry`,fr:`Myrtille`,it:`Mirtillo`}},{value:`raspberry`,label:{de:`Himbeere`,en:`Raspberry`,fr:`Framboise`,it:`Lampone`}},{value:`blackberry`,label:{de:`Brombeere`,en:`Blackberry`,fr:`Mûre`,it:`Mora`}},{value:`plum`,label:{de:`Pflaume`,en:`Plum`,fr:`Prune`,it:`Prugna`}},{value:`apricot`,label:{de:`Aprikose`,en:`Apricot`,fr:`Abricot`,it:`Albicocca`}},{value:`pear`,label:{de:`Birne`,en:`Pear`,fr:`Poire`,it:`Pera`}},{value:`grapefruit`,label:{de:`Grapefruit`,en:`Grapefruit`,fr:`Pamplemousse`,it:`Pompelmo`}}],removeComponentAfterValueSelection:!0,selectorKey:`fruit`}},{type:`component`,id:`a3b8f2c1-7d4e-4a9f-b6c2-8e1d5f3a2b7c`,componentName:`buttons`,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`}]}}],Ee=v(`<link rel="stylesheet"/>`),De=v(`<!> <!> <!> <!> <!>`,1),Oe=v(`<div class="context-menu svelte-1vjvg2x"><!></div>`),ke=v(`<div class="chat-app__loader-container">Loading...</div>`),Ae=v(`<div class="dialog-content svelte-1vjvg2x"><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>`),je=v(`<p>No popup at index 1 defined.</p>`),Me=v(`<div class="container text-container" style="padding-bottom: 200px;"><hr/> <h2>Popups</h2> <!></div>`),Ne=v(`<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-1vjvg2x"><!></div> <h3 class="h4">Highlight Colors (optional)</h3> <div class="color-swatches svelte-1vjvg2x"><!></div> <h3 class="h4">Grey Colors</h3> <div class="color-swatches svelte-1vjvg2x"><!></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`,id:`f47ac10b-58cc-4372-a567-0e02b2c3d479`,data:{caption:{de:`Was ist deine Lieblings<b>frucht</b>?`,en:`What is your favorite <b>fruit</b>?`,fr:`Quel est ton <b>fruit</b> préféré ?`,it:`Qual è il tuo <b>frutto</b> preferito?`},placeholder:{de:`Frucht suchen`,en:`Search a fruit`,fr:`Rechercher un fruit`,it:`Cerca un frutto`},values:[{value:`mango`,label:{de:`Mango`,en:`Mango`,fr:`Mangue`,it:`Mango`}},{value:`watermelon`,label:{de:`Wassermelone`,en:`Watermelon`,fr:`Pastèque`,it:`Anguria`}},{value:`apple`,label:{de:`Apfel`,en:`Apple`,fr:`Pomme`,it:`Mela`}},{value:`pineapple`,label:{de:`Ananas`,en:`Pineapple`,fr:`Ananas`,it:`Ananas`}},{value:`orange`,label:{de:`Orange`,en:`Orange`,fr:`Orange`,it:`Arancia`}},{value:`grape`,label:{de:`Traube`,en:`Grape`,fr:`Raisin`,it:`Uva`}},{value:`strawberry`,label:{de:`Erdbeere`,en:`Strawberry`,fr:`Fraise`,it:`Fragola`}},{value:`banana`,label:{de:`Banane`,en:`Banana`,fr:`Banane`,it:`Banana`}},{value:`kiwi`,label:{de:`Kiwi`,en:`Kiwi`,fr:`Kiwi`,it:`Kiwi`}},{value:`peach`,label:{de:`Pfirsich`,en:`Peach`,fr:`Pêche`,it:`Pesca`}},{value:`cherry`,label:{de:`Kirsche`,en:`Cherry`,fr:`Cerise`,it:`Ciliegia`}},{value:`blueberry`,label:{de:`Heidelbeere`,en:`Blueberry`,fr:`Myrtille`,it:`Mirtillo`}},{value:`raspberry`,label:{de:`Himbeere`,en:`Raspberry`,fr:`Framboise`,it:`Lampone`}},{value:`blackberry`,label:{de:`Brombeere`,en:`Blackberry`,fr:`Mûre`,it:`Mora`}},{value:`plum`,label:{de:`Pflaume`,en:`Plum`,fr:`Prune`,it:`Prugna`}},{value:`apricot`,label:{de:`Aprikose`,en:`Apricot`,fr:`Abricot`,it:`Albicocca`}},{value:`pear`,label:{de:`Birne`,en:`Pear`,fr:`Poire`,it:`Pera`}},{value:`grapefruit`,label:{de:`Grapefruit`,en:`Grapefruit`,fr:`Pamplemousse`,it:`Pompelmo`}}],removeComponentAfterValueSelection:!0,selectorKey:`fruit`}},{type:`component`,id:`a3b8f2c1-7d4e-4a9f-b6c2-8e1d5f3a2b7c`,componentName:`buttons`,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`}]}}],Ee=b(`<link rel="stylesheet"/>`),De=b(`<!> <!> <!> <!> <!>`,1),Oe=b(`<div class="context-menu svelte-1vjvg2x"><!></div>`),ke=b(`<div class="chat-app__loader-container">Loading...</div>`),Ae=b(`<div class="dialog-content svelte-1vjvg2x"><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>`),je=b(`<p>No popup at index 1 defined.</p>`),Me=b(`<div class="container text-container" style="padding-bottom: 200px;"><hr/> <h2>Popups</h2> <!></div>`),Ne=b(`<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-1vjvg2x"><!></div> <h3 class="h4">Highlight Colors (optional)</h3> <div class="color-swatches svelte-1vjvg2x"><!></div> <h3 class="h4">Grey Colors</h3> <div class="color-swatches svelte-1vjvg2x"><!></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-1vjvg2x">Card</div></div> <div class="container text-container" style="padding-top: 100px;"><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-1vjvg2x"><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
- 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-1vjvg2x"><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-1vjvg2x"><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" style="padding-bottom: var(--spacer-r-40)"><hr/> <h2>Notifications</h2> <!></div> <div class="container text-container"><hr/> <h2>Chat</h2></div> <div class="chat-page__messages svelte-1vjvg2x"></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; padding-bottom: var(--spacer-r-40)"><!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!></div></div> <!>`,3),Pe=v(`<main class="chat-app svelte-1vjvg2x"><!> <div class="chat-app__container"><div class="chat-app__main svelte-1vjvg2x"><div class="chat-app__portals"></div> <!></div></div> <div></div></main>`),Fe={hash:`svelte-1vjvg2x`,code:`.color-swatches.svelte-1vjvg2x {display:flex;grid-template-columns:repeat(13, 1fr);max-width:100%;margin:0;gap:0.25rem;}.chat-app.svelte-1vjvg2x {display:block;flex-grow:1;&::after {z-index:-1;position:fixed;top:0;left:0;width:100%;height:100%;background:var(--body-background);content:"";}}.chat-page__messages.svelte-1vjvg2x {min-height:auto;padding-bottom:200px;}.context-menu.svelte-1vjvg2x {z-index:1000;position:fixed;top:20px;right:20px;}.chat-app__main.svelte-1vjvg2x {overflow:visible;overscroll-behavior:auto;background:transparent;touch-action:auto;}.card.svelte-1vjvg2x {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-1vjvg2x {position:relative;top:0;left:0;transform:none;}.references__container.svelte-1vjvg2x {background-color:var(--aside-background);}.context-box__content.svelte-1vjvg2x {position:relative;}`};function Q(n,r){l(r,!0),E(n,Fe);let m=A(r,`data`,7),g=f(()=>Y.t);O(()=>{let e={lang:m().options.lang.value,forceTheme:m().options?.[`force-theme`]?.value,apiUrl:m().options[`api-url`].value,features:``};ee(()=>X.init(e).catch(e=>{console.error(`Failed to init chat logic`,e)}))});let v=Te;var y={get data(){return m()},set data(e){m(e),T()}},C=Pe();e(`1vjvg2x`,e=>{var n=s(),r=S(n),i=e=>{var n=De(),r=S(n);B(r,17,()=>Y.themeBase.fontURLs??[],t,(e,t)=>{var n=Ee();j(()=>F(n,`href`,b(t))),M(e,n)});var i=R(r,2);q(i,{id:`font-css`,get css(){return Y.themeBase.fontCSS}});var a=R(i,2);{let e=f(()=>J(Y.theme));q(a,{id:`theme-css`,get css(){return b(e)}})}var o=R(a,2);q(o,{id:`app-css`,get css(){return ue}}),q(R(o,2),{id:`custom-css`,get css(){return Y.themeBase.customCSS}}),M(e,n)};a(r,e=>{Y.initialized&&e(i)}),M(e,n)});let w;var D=z(C),te=e=>{var t=Oe();de(z(t),{}),_(t),M(e,t)};a(D,e=>{Y.initialized&&e(te)});var N=R(D,2),P=z(N),L=z(P);d(L,(e,t)=>ge?.(e,t),()=>`portals`);var V=R(L,2),H=e=>{var t=ke();u(2,t,()=>me,()=>({duration:200,delay:300})),M(e,t)},U=e=>{var n=Ne(),r=S(n),o=R(z(r),8),l=z(o),u=e=>{var n=s();B(S(n),17,()=>Object.entries(Y.theme.colors.brand),t,(e,t)=>{var n=f(()=>c(b(t),2));let r=()=>b(n)[0],i=()=>b(n)[1];ye(e,{name:`brand`,get key(){return r()},get value(){return i()}})}),M(e,n)};a(l,e=>{Y.theme.colors?.brand&&e(u)}),_(o);var d=R(o,4),m=z(d),y=e=>{var n=s();B(S(n),17,()=>Object.entries(Y.theme.colors.highlight),t,(e,t)=>{var n=f(()=>c(b(t),2));let r=()=>b(n)[0],i=()=>b(n)[1];ye(e,{name:`highlight`,get key(){return r()},get value(){return i()}})}),M(e,n)};a(m,e=>{Y.theme?.colors?.highlight&&e(y)}),_(d);var C=R(d,4),ee=z(C),w=e=>{var n=s();B(S(n),17,()=>Object.entries(Y.theme.colors.grey),t,(e,t)=>{var n=f(()=>c(b(t),2));let r=()=>b(n)[0],i=()=>b(n)[1];ye(e,{name:`grey`,get key(){return r()},get value(){return i()}})}),M(e,n)};a(ee,e=>{Y.theme?.colors?.grey&&e(w)}),_(C),_(r);var T=R(r,4),E=R(z(T),8),D=z(E);Z(D,{name:`avatar`,class:`introduction__avatar`}),Z(R(D,2),{name:`avatar`,class:`message__bot-avatar`}),_(E);var O=R(E,4);le(O,{onSubmit:()=>{},avoidFocusOnMount:!0});var A=R(O,2),te=z(A);ce(te,{predefinedQuestion:{id:`preview-1`,label:`Question one`,question:``},onSubmit:()=>{},index:0});var N=R(te,2);ce(N,{predefinedQuestion:{id:`preview-2`,label:`Question two`,question:``},onSubmit:()=>{},index:1}),ce(R(N,2),{predefinedQuestion:{id:`preview-3`,label:`Question three`,question:``},onSubmit:()=>{},index:2}),_(A);var P=R(A,4),I=z(P),L=z(I);fe(L,{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 V=R(L,2);fe(V,{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}}}),fe(R(V,2),{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}}}),_(I),_(P);var H=R(P,2),U=z(H),W=R(z(U));x(W,`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`}}})),x(W,`data-used-index`,`1`),x(W,`data-all-index`,`3`),h(),_(U),_(H);var G=R(H,2),ne=z(G),re=z(ne);Z(R(z(re),2),{name:`externalLink`,class:`reference__icon transition-colors`}),_(re),h(4),_(ne),_(G);var K=R(G,4),q=z(K),J=z(q);ie(J,{});var X=R(J,2);de(X,{});var oe=R(X,2);{let e=f(()=>b(g).aboutThisChat||``);pe(oe,{get content(){return b(e)}})}he(R(oe,2),{onclick:()=>{}}),_(q),_(K);var ue=R(K,4),me=z(ue),ge=z(me);Z(z(ge),{name:`externalLink`}),h(2),_(ge),_(me);var _e=R(me,4),ve=R(z(_e),2),be=z(ve);Z(z(be),{name:`internalLink`}),h(2),_(be);var Se=R(be,2);Z(z(Se),{name:`internalLink`}),h(2),_(Se);var Ce=R(Se,2);Z(z(Ce),{name:`internalLink`}),h(2),_(Ce);var Te=R(Ce,2);Z(z(Te),{name:`internalLink`}),h(2),_(Te),_(ve),_(_e);var Ee=R(_e,4),De=z(Ee),Oe=z(De);Z(z(Oe),{name:`lightMode`}),h(2),_(Oe);var ke=R(Oe,4);Z(z(ke),{name:`darkMode`}),h(2),_(ke),_(De),_(Ee),_(ue);var Pe=R(ue,4),Fe=R(z(Pe),2),Q=z(Fe),Ie=z(Q);ae(Ie,{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 Le=R(Ie,2),Re=z(Le),ze=z(Re,!0);_(Re);var Be=R(Re,2);_(Le);var Ve=R(Le,2),$=z(Ve),He=z($,!0);_($);var Ue=R($,2);_(Ve),_(Q),_(Fe),_(Pe),h(4),_(T);var We=R(T,2);xe(R(z(We),4),{}),_(We);var Ge=R(We,4);B(Ge,21,()=>v,t,(e,t,n)=>{se(e,{get message(){return b(t)},index:n,onmessageupdate:()=>{},onbotmessageinit:()=>{},onaskQuestion:()=>{}})}),_(Ge);var Ke=R(Ge,2),qe=R(z(Ke),4);we(qe,{});var Je=R(qe,6),Ye=z(Je);Z(Ye,{name:`predefinedQuestion`});var Xe=R(Ye,2);Z(Xe,{name:`edit`});var Ze=R(Xe,2);Z(Ze,{name:`newConversation`});var Qe=R(Ze,2);Z(Qe,{name:`voteUp`});var $e=R(Qe,2);Z($e,{name:`voteDown`});var et=R($e,2);Z(et,{name:`retry`});var tt=R(et,2);Z(tt,{name:`message`});var nt=R(tt,2);Z(nt,{name:`thread`});var rt=R(nt,2);Z(rt,{name:`submit`});var it=R(rt,2);Z(it,{name:`expand`});var at=R(it,2);Z(at,{name:`help`});var ot=R(at,2);Z(ot,{name:`attach`});var st=R(ot,2);Z(st,{name:`record`});var ct=R(st,2);Z(ct,{name:`reward`});var lt=R(ct,2);Z(lt,{name:`share`});var ut=R(lt,2);Z(ut,{name:`audio`});var dt=R(ut,2);Z(dt,{name:`copy`});var ft=R(dt,2);Z(ft,{name:`dismiss`});var pt=R(ft,2);Z(pt,{name:`menu`});var mt=R(pt,2);Z(mt,{name:`listUnordered`});var ht=R(mt,2);Z(ht,{name:`lightMode`}),Z(R(ht,2),{name:`darkMode`}),_(Je),_(Ke);var gt=R(Ke,2),_t=e=>{var t=Me(),n=R(z(t),4),r=e=>{var t=Ae(),n=z(t),r=z(n);p(r,()=>b(g).popups[1].title,!0),_(r);var i=R(r,2);Z(R(z(i),2),{name:`dismiss`}),_(i),_(n);var a=R(n,2);p(a,()=>b(g).popups[1].content,!0),_(a),_(t),M(e,t)},i=e=>{M(e,je())};a(n,e=>{b(g).popups?.[1]?e(r):e(i,-1)}),_(t),M(e,t)};a(gt,e=>{b(g).popups&&b(g).popups?.length>0&&e(_t)}),j(()=>{F(Q,`aria-label`,b(g).feedbackFormTitle),i(ze,b(g).feedbackFormMessage),F(Be,`placeholder`,b(g).feedbackFormMessagePlaceholder),i(He,b(g).feedbackFormEmail),F(Ue,`placeholder`,b(g).feedbackFormEmailPlaceholder)}),k(`submit`,Q,async()=>{}),M(e,n)};a(V,e=>{Y.initialized?e(U,-1):e(H)}),_(P),_(N);var W=R(N,2);return _(C),j(()=>{w=I(C,``,w,{"color-scheme":Y.colorScheme}),F(W,`id`,oe)}),M(n,C),o(y)}w(Q,{data:{}},[],[],{mode:`open`});var Ie=v(`<iframe title="sidebar" id="sidebar" class="svelte-1uha8ag"></iframe>`),Le=v(`<div id="preview-form" style="font-family: system-ui, sans-serif; color: #1a1a1a; line-height: 1.6; padding: 0 1.5rem 2rem;" class="svelte-1uha8ag"><div style="border-bottom: 4px solid #888; padding: 0.75rem 0;"></div> <h1 style="font-size: 1.5rem; font-weight: 400; margin: 1.5rem 0 0.5rem;">Recht &amp; Justiz</h1> <div style="display: flex; gap: 1.5rem; border-bottom: 1px solid #ddd; margin-bottom: 1.5rem;"><span style="padding: 0.5rem 0; color: #666; cursor: pointer;">Übersicht</span> <span style="padding: 0.5rem 0; border-bottom: 2px solid #1a1a1a; font-weight: 600; cursor: pointer;">Beglaubigungen</span></div> <div style="display: flex; gap: 2.5rem; align-items: flex-start;"><div style="flex: 1; min-width: 0;"><h2 style="font-size: 1.75rem; font-weight: 700; margin: 0 0 1rem;">Notarielle Beglaubigung anmelden</h2> <p style="margin: 0 0 1rem; color: #444;">Los geht's. Sie können beim Bearbeiten Ihrer Anmeldung jederzeit pausieren oder einen Schritt
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-1vjvg2x"><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-1vjvg2x"><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" style="padding-bottom: var(--spacer-r-40)"><hr/> <h2>Notifications</h2> <!></div> <div class="container text-container"><hr/> <h2>Chat</h2></div> <div class="chat-page__messages svelte-1vjvg2x"></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; padding-bottom: var(--spacer-r-40)"><!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!></div></div> <!>`,3),Pe=b(`<main class="chat-app svelte-1vjvg2x"><!> <div class="chat-app__container"><div class="chat-app__main svelte-1vjvg2x"><div class="chat-app__portals"></div> <!></div></div> <div></div></main>`),Fe={hash:`svelte-1vjvg2x`,code:`.color-swatches.svelte-1vjvg2x {display:flex;grid-template-columns:repeat(13, 1fr);max-width:100%;margin:0;gap:0.25rem;}.chat-app.svelte-1vjvg2x {display:block;flex-grow:1;&::after {z-index:-1;position:fixed;top:0;left:0;width:100%;height:100%;background:var(--body-background);content:"";}}.chat-page__messages.svelte-1vjvg2x {min-height:auto;padding-bottom:200px;}.context-menu.svelte-1vjvg2x {z-index:1000;position:fixed;top:20px;right:20px;}.chat-app__main.svelte-1vjvg2x {overflow:visible;overscroll-behavior:auto;background:transparent;touch-action:auto;}.card.svelte-1vjvg2x {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-1vjvg2x {position:relative;top:0;left:0;transform:none;}.references__container.svelte-1vjvg2x {background-color:var(--aside-background);}.context-box__content.svelte-1vjvg2x {position:relative;}`};function Q(t,r){p(r,!0),e(t,Fe);let i=N(r,`data`,7),a=A(()=>Y.t);E(()=>{let e={lang:i().options.lang.value,forceTheme:i().options?.[`force-theme`]?.value,apiUrl:i().options[`api-url`].value,features:``};j(()=>X.init(e).catch(e=>{console.error(`Failed to init chat logic`,e)}))});let s=Te;var g={get data(){return i()},set data(e){i(e),d()}},b=Pe();O(`1vjvg2x`,e=>{var t=x(),r=B(t),i=e=>{var t=De(),r=B(t);n(r,17,()=>Y.themeBase.fontURLs??[],v,(e,t)=>{var n=Ee();M(()=>R(n,`href`,P(t))),c(e,n)});var i=m(r,2);q(i,{id:`font-css`,get css(){return Y.themeBase.fontCSS}});var a=m(i,2);{let e=A(()=>J(Y.theme));q(a,{id:`theme-css`,get css(){return P(e)}})}var o=m(a,2);q(o,{id:`app-css`,get css(){return de}}),q(m(o,2),{id:`custom-css`,get css(){return Y.themeBase.customCSS}}),c(e,t)};_(r,e=>{Y.initialized&&e(i)}),c(e,t)});let w;var T=C(b),D=e=>{var t=Oe();fe(C(t),{}),o(t),c(e,t)};_(T,e=>{Y.initialized&&e(D)});var I=m(T,2),L=C(I),z=C(L);k(z,(e,t)=>ie?.(e,t),()=>`portals`);var V=m(z,2),H=e=>{var t=ke();f(2,t,()=>ge,()=>({duration:200,delay:300})),c(e,t)},U=e=>{var t=Ne(),r=B(t),i=m(C(r),8),u=C(i),d=e=>{var t=x();n(B(t),17,()=>Object.entries(Y.theme.colors.brand),v,(e,t)=>{var n=A(()=>F(P(t),2));let r=()=>P(n)[0],i=()=>P(n)[1];ye(e,{name:`brand`,get key(){return r()},get value(){return i()}})}),c(e,t)};_(u,e=>{Y.theme.colors?.brand&&e(d)}),o(i);var f=m(i,4),p=C(f),h=e=>{var t=x();n(B(t),17,()=>Object.entries(Y.theme.colors.highlight),v,(e,t)=>{var n=A(()=>F(P(t),2));let r=()=>P(n)[0],i=()=>P(n)[1];ye(e,{name:`highlight`,get key(){return r()},get value(){return i()}})}),c(e,t)};_(p,e=>{Y.theme?.colors?.highlight&&e(h)}),o(f);var g=m(f,4),b=C(g),w=e=>{var t=x();n(B(t),17,()=>Object.entries(Y.theme.colors.grey),v,(e,t)=>{var n=A(()=>F(P(t),2));let r=()=>P(n)[0],i=()=>P(n)[1];ye(e,{name:`grey`,get key(){return r()},get value(){return i()}})}),c(e,t)};_(b,e=>{Y.theme?.colors?.grey&&e(w)}),o(g),o(r);var T=m(r,4),E=m(C(T),8),D=C(E);Z(D,{name:`avatar`,class:`introduction__avatar`}),Z(m(D,2),{name:`avatar`,class:`message__bot-avatar`}),o(E);var O=m(E,4);ue(O,{onSubmit:()=>{},avoidFocusOnMount:!0});var k=m(O,2),j=C(k);le(j,{predefinedQuestion:{id:`preview-1`,label:`Question one`,question:``},onSubmit:()=>{},index:0});var N=m(j,2);le(N,{predefinedQuestion:{id:`preview-2`,label:`Question two`,question:``},onSubmit:()=>{},index:1}),le(m(N,2),{predefinedQuestion:{id:`preview-3`,label:`Question three`,question:``},onSubmit:()=>{},index:2}),o(k);var I=m(k,4),L=C(I),z=C(L);me(z,{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 V=m(z,2);me(V,{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}}}),me(m(V,2),{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}}}),o(L),o(I);var H=m(I,2),U=C(H),W=m(C(U));S(W,`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`}}})),S(W,`data-used-index`,`1`),S(W,`data-all-index`,`3`),y(),o(U),o(H);var G=m(H,2),ne=C(G),re=C(ne);Z(m(C(re),2),{name:`externalLink`,class:`reference__icon transition-colors`}),o(re),y(4),o(ne),o(G);var K=m(G,4),q=C(K),J=C(q);oe(J,{});var X=m(J,2);fe(X,{});var ie=m(X,2);{let e=A(()=>P(a).aboutThisChat||``);he(ie,{get content(){return P(e)}})}ce(m(ie,2),{onclick:()=>{}}),o(q),o(K);var de=m(K,4),pe=C(de),ge=C(pe);Z(C(ge),{name:`externalLink`}),y(2),o(ge),o(pe);var _e=m(pe,4),ve=m(C(_e),2),be=C(ve);Z(C(be),{name:`internalLink`}),y(2),o(be);var Se=m(be,2);Z(C(Se),{name:`internalLink`}),y(2),o(Se);var Ce=m(Se,2);Z(C(Ce),{name:`internalLink`}),y(2),o(Ce);var Te=m(Ce,2);Z(C(Te),{name:`internalLink`}),y(2),o(Te),o(ve),o(_e);var Ee=m(_e,4),De=C(Ee),Oe=C(De);Z(C(Oe),{name:`lightMode`}),y(2),o(Oe);var ke=m(Oe,4);Z(C(ke),{name:`darkMode`}),y(2),o(ke),o(De),o(Ee),o(de);var Pe=m(de,4),Fe=m(C(Pe),2),Q=C(Fe),Ie=C(Q);se(Ie,{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 Le=m(Ie,2),Re=C(Le),ze=C(Re,!0);o(Re);var Be=m(Re,2);o(Le);var Ve=m(Le,2),$=C(Ve),He=C($,!0);o($);var Ue=m($,2);o(Ve),o(Q),o(Fe),o(Pe),y(4),o(T);var We=m(T,2);xe(m(C(We),4),{}),o(We);var Ge=m(We,4);n(Ge,21,()=>s,v,(e,t,n)=>{ae(e,{get message(){return P(t)},index:n,onmessageupdate:()=>{},onbotmessageinit:()=>{},onaskQuestion:()=>{}})}),o(Ge);var Ke=m(Ge,2),qe=m(C(Ke),4);we(qe,{});var Je=m(qe,6),Ye=C(Je);Z(Ye,{name:`predefinedQuestion`});var Xe=m(Ye,2);Z(Xe,{name:`edit`});var Ze=m(Xe,2);Z(Ze,{name:`newConversation`});var Qe=m(Ze,2);Z(Qe,{name:`voteUp`});var $e=m(Qe,2);Z($e,{name:`voteDown`});var et=m($e,2);Z(et,{name:`retry`});var tt=m(et,2);Z(tt,{name:`message`});var nt=m(tt,2);Z(nt,{name:`thread`});var rt=m(nt,2);Z(rt,{name:`submit`});var it=m(rt,2);Z(it,{name:`expand`});var at=m(it,2);Z(at,{name:`help`});var ot=m(at,2);Z(ot,{name:`attach`});var st=m(ot,2);Z(st,{name:`record`});var ct=m(st,2);Z(ct,{name:`reward`});var lt=m(ct,2);Z(lt,{name:`share`});var ut=m(lt,2);Z(ut,{name:`audio`});var dt=m(ut,2);Z(dt,{name:`copy`});var ft=m(dt,2);Z(ft,{name:`dismiss`});var pt=m(ft,2);Z(pt,{name:`menu`});var mt=m(pt,2);Z(mt,{name:`listUnordered`});var ht=m(mt,2);Z(ht,{name:`lightMode`}),Z(m(ht,2),{name:`darkMode`}),o(Je),o(Ke);var gt=m(Ke,2),_t=e=>{var t=Me(),n=m(C(t),4),r=e=>{var t=Ae(),n=C(t),r=C(n);te(r,()=>P(a).popups[1].title,!0),o(r);var i=m(r,2);Z(m(C(i),2),{name:`dismiss`}),o(i),o(n);var s=m(n,2);te(s,()=>P(a).popups[1].content,!0),o(s),o(t),c(e,t)},i=e=>{c(e,je())};_(n,e=>{P(a).popups?.[1]?e(r):e(i,-1)}),o(t),c(e,t)};_(gt,e=>{P(a).popups&&P(a).popups?.length>0&&e(_t)}),M(()=>{R(Q,`aria-label`,P(a).feedbackFormTitle),l(ze,P(a).feedbackFormMessage),R(Be,`placeholder`,P(a).feedbackFormMessagePlaceholder),l(He,P(a).feedbackFormEmail),R(Ue,`placeholder`,P(a).feedbackFormEmailPlaceholder)}),ee(`submit`,Q,async()=>{}),c(e,t)};_(V,e=>{Y.initialized?e(U,-1):e(H)}),o(L),o(I);var W=m(I,2);return o(b),M(()=>{w=h(b,``,w,{"color-scheme":Y.colorScheme}),R(W,`id`,pe)}),c(t,b),u(g)}D(Q,{data:{}},[],[],{mode:`open`});var Ie=b(`<iframe title="sidebar" id="sidebar" class="svelte-1uha8ag"></iframe>`),Le=b(`<div id="preview-form" style="font-family: system-ui, sans-serif; color: #1a1a1a; line-height: 1.6; padding: 0 1.5rem 2rem;" class="svelte-1uha8ag"><div style="border-bottom: 4px solid #888; padding: 0.75rem 0;"></div> <h1 style="font-size: 1.5rem; font-weight: 400; margin: 1.5rem 0 0.5rem;">Recht &amp; Justiz</h1> <div style="display: flex; gap: 1.5rem; border-bottom: 1px solid #ddd; margin-bottom: 1.5rem;"><span style="padding: 0.5rem 0; color: #666; cursor: pointer;">Übersicht</span> <span style="padding: 0.5rem 0; border-bottom: 2px solid #1a1a1a; font-weight: 600; cursor: pointer;">Beglaubigungen</span></div> <div style="display: flex; gap: 2.5rem; align-items: flex-start;"><div style="flex: 1; min-width: 0;"><h2 style="font-size: 1.75rem; font-weight: 700; margin: 0 0 1rem;">Notarielle Beglaubigung anmelden</h2> <p style="margin: 0 0 1rem; color: #444;">Los geht's. Sie können beim Bearbeiten Ihrer Anmeldung jederzeit pausieren oder einen Schritt
28
28
  zurückgehen. In der blauen Infobox finden Sie Hinweise zu den Angaben und Dokumenten, die Sie
29
29
  bereithalten sollten.</p> <p style="margin: 0 0 2rem; color: #444;">Um eine Unterschrift oder ein Dokument beglaubigen zu lassen, müssen Sie die entsprechenden Unterlagen
30
30
  vor Ort beim Notariat vorlegen. Mit der digitalen Anmeldung beschleunigen Sie den Prozess: Das Formular
@@ -37,7 +37,7 @@ Bitte lassen Sie mich wissen, ob Sie weitere Informationen zu einem bestimmten T
37
37
  kann durch eine Beglaubigung bestätigt werden.</p> <h2 style="font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.75rem;">Wichtig ist:</h2> <p style="margin: 0 0 1rem;">Die Beglaubigung bezieht sich ausschliesslich auf die jeweilige Unterschrift oder die Übereinstimmung
38
38
  zum Originaldokument, nicht aber auf den Inhalt von Dokumenten. Die Notariate übernehmen keine
39
39
  Verantwortung für die Gültigkeit oder den Inhalt Ihrer Dokumente.</p> <h2 style="font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.75rem;">Einige Dokumente können nicht beglaubigt werden:</h2> <ul style="margin: 0 0 1rem 1.25rem; padding: 0;"><li>Bürgschaften, diese verlangen eine öffentliche Beurkundung</li> <li>Affidavits (eidesstaatliche Erklärungen)</li> <li>Diese Liste ist nicht abschliessend, das Notariat prüft jedes Dokument individuell.</li></ul></div> <div style="width: 280px; flex-shrink: 0;"><details open="" style="margin-bottom: 0.5rem; border: 1px solid #ddd; border-radius: 4px;"><summary style="padding: 0.75rem 1rem; font-weight: 600; cursor: pointer; list-style: none; background: #fafafa;">Wichtige Hinweise</summary> <div style="padding: 0.75rem 1rem;"><h4 style="font-size: 0.95rem; font-weight: 600; margin: 0 0 0.5rem;">Dokumente und Angaben</h4> <p style="margin: 0 0 0.25rem; font-size: 0.9rem; color: #444;">Benötigte Dokumente und Angaben:</p> <ul style="margin: 0 0 1rem 1.25rem; padding: 0; font-size: 0.9rem; color: #444;"><li>Kopie von ID oder Pass</li> <li>Kopie des Dokuments, das beglaubigt werden soll</li></ul> <h4 style="font-size: 0.95rem; font-weight: 600; margin: 0 0 0.5rem;">Rückmeldung</h4> <p style="margin: 0 0 1rem; font-size: 0.9rem; color: #444;">Das Notariat kontaktiert Sie in der Regel innert 5 Arbeitstagen.</p> <h4 style="font-size: 0.95rem; font-weight: 600; margin: 0 0 0.5rem;">Kosten</h4> <ul style="margin: 0 0 0.5rem 1.25rem; padding: 0; font-size: 0.9rem; color: #444;"><li>Beglaubigung der ersten Unterschrift: Fr. 30</li> <li>Jede weitere Unterschrift auf demselben Schriftstück: Fr. 20</li> <li>Beglaubigung einer Kopie: Fr. 20</li> <li>Jedes weitere Dokument desselben Geschäfts: Fr. 10</li></ul> <p style="margin: 0; font-size: 0.85rem; color: #666;">Die Gebühren unterliegen der Mehrwertsteuer. Allfällige Zusatzleistungen im Rahmen von
40
- Beglaubigungen werden zusätzlich verrechnet.</p></div></details> <details style="margin-bottom: 0.5rem; border: 1px solid #ddd; border-radius: 4px;"><summary style="padding: 0.75rem 1rem; font-weight: 600; cursor: pointer; list-style: none; background: #fafafa;">Fragen &amp; Antworten</summary> <div style="padding: 0.75rem 1rem; font-size: 0.9rem; color: #444;"><p style="margin: 0;">Hier finden Sie Antworten auf häufig gestellte Fragen rund um notarielle Beglaubigungen.</p></div></details> <details style="border: 1px solid #ddd; border-radius: 4px;"><summary style="padding: 0.75rem 1rem; font-weight: 600; cursor: pointer; list-style: none; background: #fafafa;">Hilfe &amp; Kontakt</summary> <div style="padding: 0.75rem 1rem; font-size: 0.9rem; color: #444;"><p style="margin: 0;">Bei Fragen wenden Sie sich bitte an das zuständige Notariat.</p></div></details></div></div></div>`),Re=v(`<img class="preview-bg-image svelte-1uha8ag" alt="Preview background"/>`),ze=v(`<div id="chat-wrapper"><!> <!> <div></div> <!> <div></div></div>`),Be=v(`<div id="preview"><div><!></div> <!> <!></div>`),Ve={hash:`svelte-1uha8ag`,code:`html,
40
+ Beglaubigungen werden zusätzlich verrechnet.</p></div></details> <details style="margin-bottom: 0.5rem; border: 1px solid #ddd; border-radius: 4px;"><summary style="padding: 0.75rem 1rem; font-weight: 600; cursor: pointer; list-style: none; background: #fafafa;">Fragen &amp; Antworten</summary> <div style="padding: 0.75rem 1rem; font-size: 0.9rem; color: #444;"><p style="margin: 0;">Hier finden Sie Antworten auf häufig gestellte Fragen rund um notarielle Beglaubigungen.</p></div></details> <details style="border: 1px solid #ddd; border-radius: 4px;"><summary style="padding: 0.75rem 1rem; font-weight: 600; cursor: pointer; list-style: none; background: #fafafa;">Hilfe &amp; Kontakt</summary> <div style="padding: 0.75rem 1rem; font-size: 0.9rem; color: #444;"><p style="margin: 0;">Bei Fragen wenden Sie sich bitte an das zuständige Notariat.</p></div></details></div></div></div>`),Re=b(`<img class="preview-bg-image svelte-1uha8ag" alt="Preview background"/>`),ze=b(`<div id="chat-wrapper"><!> <!> <div></div> <!> <div></div></div>`),Be=b(`<div id="preview"><div><!></div> <!> <!></div>`),Ve={hash:`svelte-1uha8ag`,code:`html,
41
41
  body {width:100%;height:100%;margin:0;padding:0;}.sidebar-slot.svelte-1uha8ag {flex-shrink:0;width:430px;height:100%;overflow:hidden;}.sidebar-slot--hidden.svelte-1uha8ag {width:0;min-width:0;overflow:visible;}#sidebar.svelte-1uha8ag {display:block;width:430px;height:100%;border:none;}#preview.svelte-1uha8ag {display:flex;align-items:flex-start;justify-content:flex-start;width:100%;height:100%;&.components-preview,
42
42
  &:has(.has-bg-image:where(.svelte-1uha8ag)),
43
43
  &:has(#preview-form:where(.svelte-1uha8ag)) {height:auto;& .sidebar-slot:where(.svelte-1uha8ag) {position:sticky;top:0;height:100vh;}}}#chat-wrapper.svelte-1uha8ag {container-name:preview-container;
@@ -46,4 +46,4 @@ Bitte lassen Sie mich wissen, ob Sie weitere Informationen zu einem bestimmten T
46
46
 
47
47
  /* Keep widget hidden until the component marks itself ready (avoids barebone/unthemed flash) */liipgpt-search-summary .search-summary:not(.search-summary--ready) {opacity:0;}#chat-wrapper.has-bg-image.svelte-1uha8ag,
48
48
  #chat-wrapper.svelte-1uha8ag:has(#preview-form:where(.svelte-1uha8ag)) {
49
- /* stylelint-disable-next-line property-disallowed-list */container-type:inline-size;height:auto;min-height:100%;}.preview-bg-image.svelte-1uha8ag {display:block;width:100%;height:auto;pointer-events:none;user-select:none;}`};function $(t,i){l(i,!0),E(t,Ve);let c=te(i,[`$$slots`,`$$events`,`$$legacy`,`$$host`]),u=f(()=>i.data);O(()=>{window.onmessage=function(e){typeof e.data==`string`&&e.data.startsWith(`liipgpt-url:`)&&V(`?`+new URLSearchParams(e.data.replace(`liipgpt-url:`,``)).toString(),{replaceState:!0})}});let d=e=>`/build/${e}/liipgpt-${e}.iife.js`,v=e=>/\.(png|jpe?g|gif|webp|svg|bmp|ico)(\?.*)?$/i.test(e),x=async e=>{e===`build`&&(await H(()=>import(d(`chat`)),[],import.meta.url),await H(()=>import(d(`button`)),[],import.meta.url),await H(()=>import(d(`search-summary`)),[],import.meta.url)),e===`dev`&&(await H(()=>import(`../chunks/NtMAcZ7G.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url),await H(()=>import(`../chunks/Cz0dIq0O.js`),__vite__mapDeps([18,2,3,4,5,6,10,13,7,8,9,14,16,17]),import.meta.url),await H(()=>import(`../chunks/DembPZun.js`),__vite__mapDeps([19,8,2,3,4,5,6,11,14,16,20]),import.meta.url)),e===`server`&&(H(()=>import(U(i.data.options,`chat`)),[],import.meta.url),H(()=>import(U(i.data.options,`button`)),[],import.meta.url),H(()=>import(U(i.data.options,`search-summary`)),[],import.meta.url))},ee=f(()=>i.data.options?.[`preview-mode`]?.value??`server`);O(()=>{x(b(ee))});let w=`./sidebar${re.url.search}`,T=r(void 0),k=r(void 0),A=(e,t)=>{let n=document.createElement(`script`),r=document.createTextNode(`{${t}}`);n.appendChild(r),e.replaceChildren(n)};O(()=>{b(T)&&A(b(T),b(u).options.CHAT_CONFIG_OVERRIDE.value||``)}),O(()=>{b(k)&&b(u).embedTab===`chat`?A(b(k),b(u).options.onclosechat.value||``):b(k)&&b(k).replaceChildren()});let I=f(()=>b(u)&&b(u).options[`preview-components`].value),B=f(()=>b(u).embedTab===`chat`),q=f(()=>b(u).embedTab===`search-summary`);O(()=>{if(!b(q)){W();return}let e=b(u).options[`use-chat-config`]?.value?``:b(u).options[`host-css`]?.value??``;e?ne(e):W()});var J=Be();e(`1uha8ag`,e=>{var t=s(),n=S(t),r=e=>{P(()=>{y.title=`LiipGPT Configurator | Components`})},i=e=>{P(()=>{y.title=`LiipGPT Configurator`})};a(n,e=>{b(u).options[`preview-components`].value?e(r,1):e(i,-1)}),M(e,t)});var Y=z(J);let X;var Z=z(Y),ie=e=>{var t=Ie();j(()=>F(t,`src`,w)),M(e,t)};a(Z,e=>{b(u).options[`hide-sidebar`].value||e(ie)}),_(Y);var ae=R(Y,2),oe=e=>{K(e,{mode:`show`})};a(ae,e=>{b(u).options[`hide-sidebar`].value&&e(oe)}),g(R(ae,2),()=>b(u),e=>{var t=s(),n=S(t),r=e=>{var t=s();D(S(t),{onerror:e=>console.error(`Rendering error of components`,e)},e=>{Q(e,C(()=>c))}),M(e,t)},i=e=>{var t=ze();let n;var r=z(t),i=e=>{var t=Le(),n=R(z(t),6),r=z(n),i=R(z(r),6),a=R(z(i),2),o=R(z(a),14),s=R(z(o),2),c=z(s);c.value=c.__value=``;var l=R(c);l.value=l.__value=`ch`;var u=R(l);u.value=u.__value=`de`;var d=R(u);d.value=d.__value=`at`,_(s),_(o);var f=R(o,12),p=R(z(f),2),m=z(p);m.value=m.__value=``;var g=R(m);g.value=g.__value=`a`;var v=R(g);v.value=v.__value=`b`;var y=R(v);y.value=y.__value=`c`,_(p),_(f),h(2),_(a),_(i),h(16),_(r),h(2),_(n),_(t),M(e,t)};a(r,e=>{b(B)&&b(u).options.flyout.value&&b(u).options[`preview-form`].value&&e(i)});var o=R(r,2),c=e=>{var t=s(),n=S(t),r=e=>{var t=Re();j(()=>F(t,`src`,b(u).options[`preview-background`].value)),M(e,t)},i=f(()=>v(b(u).options[`preview-background`].value));a(n,e=>{b(i)&&e(r)}),M(e,t)};a(o,e=>{b(B)&&b(u).options.flyout.value&&b(u).options[`preview-background`].value&&e(c)});var l=R(o,2);N(l,e=>L(T,e),()=>b(T));var d=R(l,2);p(d,()=>G(b(u).options,b(u).embedTab)),N(R(d,2),e=>L(k,e),()=>b(k)),_(t),j(e=>n=m(t,1,`svelte-1uha8ag`,null,n,e),[()=>({"has-bg-image":b(u).options.flyout.value&&b(u).options[`preview-background`].value&&v(b(u).options[`preview-background`].value),"search-summary-preview":b(q)})]),M(e,t)};a(n,e=>{b(I)?e(r):e(i,-1)}),M(e,t)}),_(J),j(()=>{m(J,1,n([{"components-preview":b(I)}]),`svelte-1uha8ag`),X=m(Y,1,`sidebar-slot svelte-1uha8ag`,null,X,{"sidebar-slot--hidden":b(u).options[`hide-sidebar`].value})}),M(t,J),o()}w($,{},[],[],{mode:`open`});export{$ as component};
49
+ /* stylelint-disable-next-line property-disallowed-list */container-type:inline-size;height:auto;min-height:100%;}.preview-bg-image.svelte-1uha8ag {display:block;width:100%;height:auto;pointer-events:none;user-select:none;}`};function $(n,l){p(l,!0),e(n,Ve);let d=I(l,[`$$slots`,`$$events`,`$$legacy`,`$$host`]),f=A(()=>l.data);E(()=>{window.onmessage=function(e){typeof e.data==`string`&&e.data.startsWith(`liipgpt-url:`)&&V(`?`+new URLSearchParams(e.data.replace(`liipgpt-url:`,``)).toString(),{replaceState:!0})}});let h=e=>`/build/${e}/liipgpt-${e}.iife.js`,v=e=>/\.(png|jpe?g|gif|webp|svg|bmp|ico)(\?.*)?$/i.test(e),b=async e=>{e===`build`&&(await H(()=>import(h(`chat`)),[],import.meta.url),await H(()=>import(h(`button`)),[],import.meta.url),await H(()=>import(h(`search-summary`)),[],import.meta.url)),e===`dev`&&(await H(()=>import(`../chunks/nqjonts_.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url),await H(()=>import(`../chunks/D4hsPSLS.js`),__vite__mapDeps([18,2,3,4,5,6,10,13,7,8,9,14,16,17]),import.meta.url),await H(()=>import(`../chunks/CqzYdUi6.js`),__vite__mapDeps([19,8,2,3,4,5,6,11,14,16,20]),import.meta.url)),e===`server`&&(H(()=>import(U(l.data.options,`chat`)),[],import.meta.url),H(()=>import(U(l.data.options,`button`)),[],import.meta.url),H(()=>import(U(l.data.options,`search-summary`)),[],import.meta.url))},S=A(()=>l.data.options?.[`preview-mode`]?.value??`server`);E(()=>{b(P(S))});let D=`./sidebar${re.url.search}`,k=i(void 0),j=i(void 0),N=(e,t)=>{let n=document.createElement(`script`),r=document.createTextNode(`{${t}}`);n.appendChild(r),e.replaceChildren(n)};E(()=>{P(k)&&N(P(k),P(f).options.CHAT_CONFIG_OVERRIDE.value||``)}),E(()=>{P(j)&&P(f).embedTab===`chat`?N(P(j),P(f).options.onclosechat.value||``):P(j)&&P(j).replaceChildren()});let F=A(()=>P(f)&&P(f).options[`preview-components`].value),ee=A(()=>P(f).embedTab===`chat`),q=A(()=>P(f).embedTab===`search-summary`);E(()=>{if(!P(q)){W();return}let e=P(f).options[`use-chat-config`]?.value?``:P(f).options[`host-css`]?.value??``;e?ne(e):W()});var J=Be();O(`1uha8ag`,e=>{var t=x(),n=B(t),r=e=>{T(()=>{z.title=`LiipGPT Configurator | Components`})},i=e=>{T(()=>{z.title=`LiipGPT Configurator`})};_(n,e=>{P(f).options[`preview-components`].value?e(r,1):e(i,-1)}),c(e,t)});var Y=C(J);let X;var Z=C(Y),ie=e=>{var t=Ie();M(()=>R(t,`src`,D)),c(e,t)};_(Z,e=>{P(f).options[`hide-sidebar`].value||e(ie)}),o(Y);var ae=m(Y,2),oe=e=>{K(e,{mode:`show`})};_(ae,e=>{P(f).options[`hide-sidebar`].value&&e(oe)}),s(m(ae,2),()=>P(f),e=>{var n=x(),r=B(n),i=e=>{var n=x();t(B(n),{onerror:e=>console.error(`Rendering error of components`,e)},e=>{Q(e,w(()=>d))}),c(e,n)},s=e=>{var t=ze();let n;var r=C(t),i=e=>{var t=Le(),n=m(C(t),6),r=C(n),i=m(C(r),6),a=m(C(i),2),s=m(C(a),14),l=m(C(s),2),u=C(l);u.value=u.__value=``;var d=m(u);d.value=d.__value=`ch`;var f=m(d);f.value=f.__value=`de`;var p=m(f);p.value=p.__value=`at`,o(l),o(s);var h=m(s,12),g=m(C(h),2),_=C(g);_.value=_.__value=``;var v=m(_);v.value=v.__value=`a`;var b=m(v);b.value=b.__value=`b`;var x=m(b);x.value=x.__value=`c`,o(g),o(h),y(2),o(a),o(i),y(16),o(r),y(2),o(n),o(t),c(e,t)};_(r,e=>{P(ee)&&P(f).options.flyout.value&&P(f).options[`preview-form`].value&&e(i)});var s=m(r,2),l=e=>{var t=x(),n=B(t),r=e=>{var t=Re();M(()=>R(t,`src`,P(f).options[`preview-background`].value)),c(e,t)},i=A(()=>v(P(f).options[`preview-background`].value));_(n,e=>{P(i)&&e(r)}),c(e,t)};_(s,e=>{P(ee)&&P(f).options.flyout.value&&P(f).options[`preview-background`].value&&e(l)});var u=m(s,2);L(u,e=>g(k,e),()=>P(k));var d=m(u,2);te(d,()=>G(P(f).options,P(f).embedTab)),L(m(d,2),e=>g(j,e),()=>P(j)),o(t),M(e=>n=a(t,1,`svelte-1uha8ag`,null,n,e),[()=>({"has-bg-image":P(f).options.flyout.value&&P(f).options[`preview-background`].value&&v(P(f).options[`preview-background`].value),"search-summary-preview":P(q)})]),c(e,t)};_(r,e=>{P(F)?e(i):e(s,-1)}),c(e,n)}),o(J),M(()=>{a(J,1,r([{"components-preview":P(F)}]),`svelte-1uha8ag`),X=a(Y,1,`sidebar-slot svelte-1uha8ag`,null,X,{"sidebar-slot--hidden":P(f).options[`hide-sidebar`].value})}),c(n,J),u()}D($,{},[],[],{mode:`open`});export{$ as component};