@sesamy/sesamy-components 2.21.13 → 2.21.14

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.
@@ -6,7 +6,7 @@ var Od = (t, e, r) => e in t ? Td(t, e, { enumerable: !0, configurable: !0, writ
6
6
  var Dt = (t, e, r) => Od(t, typeof e != "symbol" ? e + "" : e, r), Ro = (t, e, r) => e.has(t) || Lo("Cannot " + r);
7
7
  var st = (t, e, r) => (Ro(t, e, "read from private field"), r ? r.call(t) : e.get(t)), pa = (t, e, r) => e.has(t) ? Lo("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), ba = (t, e, r, n) => (Ro(t, e, "write to private field"), n ? n.call(t, r) : e.set(t, r), r);
8
8
  import { Events as wn } from "@sesamy/sesamy-js";
9
- const Gd = "2.21.13", Bd = "5";
9
+ const Gd = "2.21.14", Bd = "5";
10
10
  var Q0;
11
11
  typeof window < "u" && ((Q0 = window.__svelte ?? (window.__svelte = {})).v ?? (Q0.v = /* @__PURE__ */ new Set())).add(Bd);
12
12
  const to = 1, ro = 2, _0 = 4, zd = 8, jd = 16, Yd = 1, Zd = 2, ei = 4, Vd = 8, Wd = 16, Hd = 4, ti = 1, Ud = 2, no = "[", na = "[!", ao = "]", Nr = {}, _e = Symbol(), $d = "http://www.w3.org/1999/xhtml", Xd = "http://www.w3.org/2000/svg", Jd = "@attach", Eo = !1;
@@ -13792,12 +13792,14 @@ function Ag(t, e) {
13792
13792
  }
13793
13793
  }
13794
13794
  async function c(m) {
13795
+ var h, v, p;
13795
13796
  try {
13796
- d();
13797
- const h = await f(m);
13798
- await g(h), a() !== "event" && s(m);
13799
- } catch (h) {
13800
- console.error("Error unlocking content:", h);
13797
+ if (await new Promise((I) => setTimeout(I, 500)), !((h = e.$$host) != null && h.isConnected) || (d(), !((v = e.$$host) != null && v.isConnected))) return;
13798
+ const A = await f(m);
13799
+ if (!((p = e.$$host) != null && p.isConnected)) return;
13800
+ await g(A), a() !== "event" && s(m);
13801
+ } catch (A) {
13802
+ console.error("Error unlocking content:", A);
13801
13803
  }
13802
13804
  }
13803
13805
  return tn(t, {
@@ -1,4 +1,4 @@
1
- (function(me,De){typeof exports=="object"&&typeof module<"u"?De(exports,require("@sesamy/sesamy-js")):typeof define=="function"&&define.amd?define(["exports","@sesamy/sesamy-js"],De):(me=typeof globalThis<"u"?globalThis:me||self,De(me["@sesamy/sesamy-components"]={},me.SesamyJS))})(this,(function(me,De){"use strict";var i5=Object.defineProperty;var Yd=me=>{throw TypeError(me)};var d5=(me,De,qe)=>De in me?i5(me,De,{enumerable:!0,configurable:!0,writable:!0,value:qe}):me[De]=qe;var jt=(me,De,qe)=>d5(me,typeof De!="symbol"?De+"":De,qe),Vd=(me,De,qe)=>De.has(me)||Yd("Cannot "+qe);var mt=(me,De,qe)=>(Vd(me,De,"read from private field"),qe?qe.call(me):De.get(me)),Lo=(me,De,qe)=>De.has(me)?Yd("Cannot add the same private member more than once"):De instanceof WeakSet?De.add(me):De.set(me,qe),Ro=(me,De,qe,ba)=>(Vd(me,De,"write to private field"),ba?ba.call(me,qe):De.set(me,qe),qe);var zd,ir,Pt;const qe="2.21.13";typeof window<"u"&&((zd=window.__svelte??(window.__svelte={})).v??(zd.v=new Set)).add("5");const Ca=1,ya=2,Eo=4,Zd=8,Wd=16,Hd=1,Ud=2,So=4,_d=8,Xd=16,qd=4,Fo=1,Jd=2,Aa="[",In="[!",wa="]",Nr={},Qe=Symbol(),Kd="http://www.w3.org/1999/xhtml",Qd="http://www.w3.org/2000/svg",e1="@attach",To=!1;var jr=Array.isArray,t1=Array.prototype.indexOf,Ia=Array.from,xn=Object.keys,kn=Object.defineProperty,Yt=Object.getOwnPropertyDescriptor,Oo=Object.getOwnPropertyDescriptors,r1=Object.prototype,n1=Array.prototype,xa=Object.getPrototypeOf,Go=Object.isExtensible;function Yr(t){return typeof t=="function"}const Vr=()=>{};function $o(t){return typeof(t==null?void 0:t.then)=="function"}function a1(t){return t()}function Nn(t){for(var e=0;e<t.length;e++)t[e]()}const Rt=2,Bo=4,Pn=8,Mn=16,Qt=32,Pr=64,ka=128,vt=256,Dn=512,at=1024,Vt=2048,dr=4096,er=8192,Na=16384,Pa=32768,Zr=65536,o1=1<<17,i1=1<<19,zo=1<<20,Ma=1<<21,Zt=Symbol("$state"),Da=Symbol("legacy props"),d1=Symbol("");function jo(t){return t===this.v}function Yo(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function La(t){return!Yo(t,this.v)}function l1(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function s1(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function u1(t){throw new Error("https://svelte.dev/e/effect_orphan")}function c1(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function f1(){throw new Error("https://svelte.dev/e/hydration_failed")}function g1(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function h1(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function m1(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function v1(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let Wr=!1,p1=!1;function b1(){Wr=!0}function Ln(){throw new Error("https://svelte.dev/e/invalid_default_snippet")}function Ra(t){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}let Se=null;function Rn(t){Se=t}function ye(t,e=!1,r){var n=Se={p:Se,c:null,d:!1,e:null,m:!1,s:t,x:null,l:null};Wr&&!e&&(Se.l={s:null,u:null,r1:[],r2:sr(!1)}),Fa(()=>{n.d=!0})}function Ae(t){const e=Se;if(e!==null){t!==void 0&&(e.x=t);const i=e.e;if(i!==null){var r=be,n=Ee;e.e=null;try{for(var a=0;a<i.length;a++){var o=i[a];wt(o.effect),ft(o.reaction),Xe(o.fn)}}finally{wt(r),ft(n)}}Se=e.p,e.m=!0}return t||{}}function Hr(){return!Wr||Se!==null&&Se.l===null}function Et(t){if(typeof t!="object"||t===null||Zt in t)return t;const e=xa(t);if(e!==r1&&e!==n1)return t;var r=new Map,n=jr(t),a=de(0),o=Ee,i=d=>{var l=Ee;ft(o);var s=d();return ft(l),s};return n&&r.set("length",de(t.length)),new Proxy(t,{defineProperty(d,l,s){return(!("value"in s)||s.configurable===!1||s.enumerable===!1||s.writable===!1)&&h1(),i(()=>{var g=r.get(l);g===void 0?(g=de(s.value),r.set(l,g)):T(g,s.value,!0)}),!0},deleteProperty(d,l){var s=r.get(l);if(s===void 0){if(l in d){const c=i(()=>de(Qe));r.set(l,c),Ea(a)}}else{if(n&&typeof l=="string"){var g=r.get("length"),f=Number(l);Number.isInteger(f)&&f<g.v&&T(g,f)}T(s,Qe),Ea(a)}return!0},get(d,l,s){var m;if(l===Zt)return t;var g=r.get(l),f=l in d;if(g===void 0&&(!f||(m=Yt(d,l))!=null&&m.writable)&&(g=i(()=>{var h=Et(f?d[l]:Qe),v=de(h);return v}),r.set(l,g)),g!==void 0){var c=u(g);return c===Qe?void 0:c}return Reflect.get(d,l,s)},getOwnPropertyDescriptor(d,l){var s=Reflect.getOwnPropertyDescriptor(d,l);if(s&&"value"in s){var g=r.get(l);g&&(s.value=u(g))}else if(s===void 0){var f=r.get(l),c=f==null?void 0:f.v;if(f!==void 0&&c!==Qe)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return s},has(d,l){var c;if(l===Zt)return!0;var s=r.get(l),g=s!==void 0&&s.v!==Qe||Reflect.has(d,l);if(s!==void 0||be!==null&&(!g||(c=Yt(d,l))!=null&&c.writable)){s===void 0&&(s=i(()=>{var m=g?Et(d[l]):Qe,h=de(m);return h}),r.set(l,s));var f=u(s);if(f===Qe)return!1}return g},set(d,l,s,g){var b;var f=r.get(l),c=l in d;if(n&&l==="length")for(var m=s;m<f.v;m+=1){var h=r.get(m+"");h!==void 0?T(h,Qe):m in d&&(h=i(()=>de(Qe)),r.set(m+"",h))}if(f===void 0)(!c||(b=Yt(d,l))!=null&&b.writable)&&(f=i(()=>{var C=de(void 0);return T(C,Et(s)),C}),r.set(l,f));else{c=f.v!==Qe;var v=i(()=>Et(s));T(f,v)}var p=Reflect.getOwnPropertyDescriptor(d,l);if(p!=null&&p.set&&p.set.call(g,s),!c){if(n&&typeof l=="string"){var y=r.get("length"),I=Number(l);Number.isInteger(I)&&I>=y.v&&T(y,I+1)}Ea(a)}return!0},ownKeys(d){u(a);var l=Reflect.ownKeys(d).filter(f=>{var c=r.get(f);return c===void 0||c.v!==Qe});for(var[s,g]of r)g.v!==Qe&&!(s in d)&&l.push(s);return l},setPrototypeOf(){m1()}})}function Ea(t,e=1){T(t,t.v+e)}function Vo(t){try{if(t!==null&&typeof t=="object"&&Zt in t)return t[Zt]}catch{}return t}function C1(t,e){return Object.is(Vo(t),Vo(e))}function Mr(t){var e=Rt|Vt,r=Ee!==null&&(Ee.f&Rt)!==0?Ee:null;return be===null||r!==null&&(r.f&vt)!==0?e|=vt:be.f|=zo,{ctx:Se,deps:null,effects:null,equals:jo,f:e,fn:t,reactions:null,rv:0,v:null,wv:0,parent:r??be}}function U(t){const e=Mr(t);return gi(e),e}function lr(t){const e=Mr(t);return e.equals=La,e}function Zo(t){var e=t.effects;if(e!==null){t.effects=null;for(var r=0;r<e.length;r+=1)ct(e[r])}}function y1(t){for(var e=t.parent;e!==null;){if((e.f&Rt)===0)return e;e=e.parent}return null}function Wo(t){var e,r=be;wt(y1(t));try{Zo(t),e=pi(t)}finally{wt(r)}return e}function Ho(t){var e=Wo(t);if(t.equals(e)||(t.v=e,t.wv=mi()),!Xr){var r=(hr||(t.f&vt)!==0)&&t.deps!==null?dr:at;xt(t,r)}}const on=new Map;function sr(t,e){var r={f:0,v:t,reactions:null,equals:jo,rv:0,wv:0};return r}function de(t,e){const r=sr(t);return gi(r),r}function ur(t,e=!1){var n;const r=sr(t);return e||(r.equals=La),Wr&&Se!==null&&Se.l!==null&&((n=Se.l).s??(n.s=[])).push(r),r}function T(t,e,r=!1){Ee!==null&&!_t&&Hr()&&(Ee.f&(Rt|Mn))!==0&&!(it!=null&&it.includes(t))&&v1();let n=r?Et(e):e;return Ur(t,n)}function Ur(t,e){if(!t.equals(e)){var r=t.v;Xr?on.set(t,e):on.set(t,r),t.v=e,(t.f&Rt)!==0&&((t.f&Vt)!==0&&Wo(t),xt(t,(t.f&vt)===0?at:dr)),t.wv=mi(),_o(t,Vt),Hr()&&be!==null&&(be.f&at)!==0&&(be.f&(Qt|Pr))===0&&(It===null?R1([t]):It.push(t))}return e}function Uo(t,e=1){var r=u(t),n=e===1?r++:r--;return T(t,r),n}function _o(t,e){var r=t.reactions;if(r!==null)for(var n=Hr(),a=r.length,o=0;o<a;o++){var i=r[o],d=i.f;(d&Vt)===0&&(!n&&i===be||(xt(i,e),(d&(at|vt))!==0&&((d&Rt)!==0?_o(i,dr):Gn(i))))}}function dn(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function A1(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}let J=!1;function ot(t){J=t}let ge;function et(t){if(t===null)throw dn(),Nr;return ge=t}function Wt(){return et(Ut(ge))}function P(t){if(J){if(Ut(ge)!==null)throw dn(),Nr;ge=t}}function Ht(t=1){if(J){for(var e=t,r=ge;e--;)r=Ut(r);ge=r}}function En(){for(var t=0,e=ge;;){if(e.nodeType===8){var r=e.data;if(r===wa){if(t===0)return e;t-=1}else(r===Aa||r===In)&&(t+=1)}var n=Ut(e);e.remove(),e=n}}function Xo(t){if(!t||t.nodeType!==8)throw dn(),Nr;return t.data}var qo,Jo,Ko,Qo;function Sa(){if(qo===void 0){qo=window,Jo=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;Ko=Yt(e,"firstChild").get,Qo=Yt(e,"nextSibling").get,Go(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Go(r)&&(r.__t=void 0)}}function tr(t=""){return document.createTextNode(t)}function Je(t){return Ko.call(t)}function Ut(t){return Qo.call(t)}function M(t,e){if(!J)return Je(t);var r=Je(ge);if(r===null)r=ge.appendChild(tr());else if(e&&r.nodeType!==3){var n=tr();return r==null||r.before(n),et(n),n}return et(r),r}function Y(t,e){if(!J){var r=Je(t);return r instanceof Comment&&r.data===""?Ut(r):r}return ge}function N(t,e=1,r=!1){let n=J?ge:t;for(var a;e--;)a=n,n=Ut(n);if(!J)return n;var o=n==null?void 0:n.nodeType;if(r&&o!==3){var i=tr();return n===null?a==null||a.after(i):n.before(i),et(i),i}return et(n),n}function ei(t){t.textContent=""}function ti(t){be===null&&Ee===null&&u1(),Ee!==null&&(Ee.f&vt)!==0&&be===null&&s1(),Xr&&l1()}function w1(t,e){var r=e.last;r===null?e.last=e.first=t:(r.next=t,t.prev=r,e.last=t)}function Dr(t,e,r,n=!0){var a=be,o={ctx:Se,deps:null,nodes_start:null,nodes_end:null,f:t|Vt,first:null,fn:e,last:null,next:null,parent:a,prev:null,teardown:null,transitions:null,wv:0};if(r)try{On(o),o.f|=Pa}catch(l){throw ct(o),l}else e!==null&&Gn(o);var i=r&&o.deps===null&&o.first===null&&o.nodes_start===null&&o.teardown===null&&(o.f&(zo|ka))===0;if(!i&&n&&(a!==null&&w1(o,a),Ee!==null&&(Ee.f&Rt)!==0)){var d=Ee;(d.effects??(d.effects=[])).push(o)}return o}function Fa(t){const e=Dr(Pn,null,!1);return xt(e,at),e.teardown=t,e}function Lr(t){ti();var e=be!==null&&(be.f&Qt)!==0&&Se!==null&&!Se.m;if(e){var r=Se;(r.e??(r.e=[])).push({fn:t,effect:be,reaction:Ee})}else{var n=Xe(t);return n}}function I1(t){return ti(),Rr(t)}function x1(t){const e=Dr(Pr,t,!0);return()=>{ct(e)}}function k1(t){const e=Dr(Pr,t,!0);return(r={})=>new Promise(n=>{r.outro?fr(e,()=>{ct(e),n(void 0)}):(ct(e),n(void 0))})}function Xe(t){return Dr(Bo,t,!1)}function Sn(t,e){var r=Se,n={effect:null,ran:!1};r.l.r1.push(n),n.effect=Rr(()=>{t(),!n.ran&&(n.ran=!0,T(r.l.r2,!0),St(e))})}function ri(){var t=Se;Rr(()=>{if(u(t.l.r2)){for(var e of t.l.r1){var r=e.effect;(r.f&at)!==0&&xt(r,dr),qr(r)&&On(r),e.ran=!1}t.l.r2.v=!1}})}function Rr(t){return Dr(Pn,t,!0)}function z(t,e=[],r=Mr){const n=e.map(r);return cr(()=>t(...n.map(u)))}function cr(t,e=0){return Dr(Pn|Mn|e,t,!0)}function pt(t,e=!0){return Dr(Pn|Qt,t,!0,e)}function ni(t){var e=t.teardown;if(e!==null){const r=Xr,n=Ee;fi(!0),ft(null);try{e.call(null)}finally{fi(r),ft(n)}}}function ai(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){var n=r.next;(r.f&Pr)!==0?r.parent=null:ct(r,e),r=n}}function N1(t){for(var e=t.first;e!==null;){var r=e.next;(e.f&Qt)===0&&ct(e),e=r}}function ct(t,e=!0){var r=!1;(e||(t.f&i1)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(oi(t.nodes_start,t.nodes_end),r=!0),ai(t,e&&!r),Tn(t,0),xt(t,Na);var n=t.transitions;if(n!==null)for(const o of n)o.stop();ni(t);var a=t.parent;a!==null&&a.first!==null&&ii(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=null}function oi(t,e){for(;t!==null;){var r=t===e?null:Ut(t);t.remove(),t=r}}function ii(t){var e=t.parent,r=t.prev,n=t.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),e!==null&&(e.first===t&&(e.first=n),e.last===t&&(e.last=r))}function fr(t,e){var r=[];Ta(t,r,!0),di(r,()=>{ct(t),e&&e()})}function di(t,e){var r=t.length;if(r>0){var n=()=>--r||e();for(var a of t)a.out(n)}else e()}function Ta(t,e,r){if((t.f&er)===0){if(t.f^=er,t.transitions!==null)for(const i of t.transitions)(i.is_global||r)&&e.push(i);for(var n=t.first;n!==null;){var a=n.next,o=(n.f&Zr)!==0||(n.f&Qt)!==0;Ta(n,e,o?r:!1),n=a}}}function gr(t){li(t,!0)}function li(t,e){if((t.f&er)!==0){t.f^=er,(t.f&at)===0&&(t.f^=at),qr(t)&&(xt(t,Vt),Gn(t));for(var r=t.first;r!==null;){var n=r.next,a=(r.f&Zr)!==0||(r.f&Qt)!==0;li(r,a?e:!1),r=n}if(t.transitions!==null)for(const o of t.transitions)(o.is_global||e)&&o.in()}}const P1=typeof requestIdleCallback>"u"?t=>setTimeout(t,1):requestIdleCallback;let ln=[],sn=[];function si(){var t=ln;ln=[],Nn(t)}function ui(){var t=sn;sn=[],Nn(t)}function _r(t){ln.length===0&&queueMicrotask(si),ln.push(t)}function M1(t){sn.length===0&&P1(ui),sn.push(t)}function D1(){ln.length>0&&si(),sn.length>0&&ui()}function L1(t){var e=be;if((e.f&Pa)===0){if((e.f&ka)===0)throw t;e.fn(t)}else ci(t,e)}function ci(t,e){for(;e!==null;){if((e.f&ka)!==0)try{e.fn(t);return}catch{}e=e.parent}throw t}let un=!1,cn=null,Er=!1,Xr=!1;function fi(t){Xr=t}let fn=[],l5=[],Ee=null,_t=!1;function ft(t){Ee=t}let be=null;function wt(t){be=t}let it=null;function gi(t){Ee!==null&&Ee.f&Ma&&(it===null?it=[t]:it.push(t))}let dt=null,bt=0,It=null;function R1(t){It=t}let hi=1,Fn=0,hr=!1;function mi(){return++hi}function qr(t){var f;var e=t.f;if((e&Vt)!==0)return!0;if((e&dr)!==0){var r=t.deps,n=(e&vt)!==0;if(r!==null){var a,o,i=(e&Dn)!==0,d=n&&be!==null&&!hr,l=r.length;if(i||d){var s=t,g=s.parent;for(a=0;a<l;a++)o=r[a],(i||!((f=o==null?void 0:o.reactions)!=null&&f.includes(s)))&&(o.reactions??(o.reactions=[])).push(s);i&&(s.f^=Dn),d&&g!==null&&(g.f&vt)===0&&(s.f^=vt)}for(a=0;a<l;a++)if(o=r[a],qr(o)&&Ho(o),o.wv>t.wv)return!0}(!n||be!==null&&!hr)&&xt(t,at)}return!1}function vi(t,e,r=!0){var n=t.reactions;if(n!==null)for(var a=0;a<n.length;a++){var o=n[a];it!=null&&it.includes(t)||((o.f&Rt)!==0?vi(o,e,!1):e===o&&(r?xt(o,Vt):(o.f&at)!==0&&xt(o,dr),Gn(o)))}}function pi(t){var m;var e=dt,r=bt,n=It,a=Ee,o=hr,i=it,d=Se,l=_t,s=t.f;dt=null,bt=0,It=null,hr=(s&vt)!==0&&(_t||!Er||Ee===null),Ee=(s&(Qt|Pr))===0?t:null,it=null,Rn(t.ctx),_t=!1,Fn++,t.f|=Ma;try{var g=(0,t.fn)(),f=t.deps;if(dt!==null){var c;if(Tn(t,bt),f!==null&&bt>0)for(f.length=bt+dt.length,c=0;c<dt.length;c++)f[bt+c]=dt[c];else t.deps=f=dt;if(!hr)for(c=bt;c<f.length;c++)((m=f[c]).reactions??(m.reactions=[])).push(t)}else f!==null&&bt<f.length&&(Tn(t,bt),f.length=bt);if(Hr()&&It!==null&&!_t&&f!==null&&(t.f&(Rt|dr|Vt))===0)for(c=0;c<It.length;c++)vi(It[c],t);return a!==null&&a!==t&&(Fn++,It!==null&&(n===null?n=It:n.push(...It))),g}catch(h){L1(h)}finally{dt=e,bt=r,It=n,Ee=a,hr=o,it=i,Rn(d),_t=l,t.f^=Ma}}function E1(t,e){let r=e.reactions;if(r!==null){var n=t1.call(r,t);if(n!==-1){var a=r.length-1;a===0?r=e.reactions=null:(r[n]=r[a],r.pop())}}r===null&&(e.f&Rt)!==0&&(dt===null||!dt.includes(e))&&(xt(e,dr),(e.f&(vt|Dn))===0&&(e.f^=Dn),Zo(e),Tn(e,0))}function Tn(t,e){var r=t.deps;if(r!==null)for(var n=e;n<r.length;n++)E1(t,r[n])}function On(t){var e=t.f;if((e&Na)===0){xt(t,at);var r=be,n=Er;be=t,Er=!0;try{(e&Mn)!==0?N1(t):ai(t),ni(t);var a=pi(t);t.teardown=typeof a=="function"?a:null,t.wv=hi;var o;To&&p1&&(t.f&Vt)!==0&&t.deps}finally{Er=n,be=r}}}function S1(){try{c1()}catch(t){if(cn!==null)ci(t,cn);else throw t}}function bi(){var t=Er;try{var e=0;for(Er=!0;fn.length>0;){e++>1e3&&S1();var r=fn,n=r.length;fn=[];for(var a=0;a<n;a++){var o=T1(r[a]);F1(o)}on.clear()}}finally{un=!1,Er=t,cn=null}}function F1(t){var e=t.length;if(e!==0)for(var r=0;r<e;r++){var n=t[r];(n.f&(Na|er))===0&&qr(n)&&(On(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null?ii(n):n.fn=null))}}function Gn(t){un||(un=!0,queueMicrotask(bi));for(var e=cn=t;e.parent!==null;){e=e.parent;var r=e.f;if((r&(Pr|Qt))!==0){if((r&at)===0)return;e.f^=at}}fn.push(e)}function T1(t){for(var e=[],r=t;r!==null;){var n=r.f,a=(n&(Qt|Pr))!==0,o=a&&(n&at)!==0;if(!o&&(n&er)===0){(n&Bo)!==0?e.push(r):a?r.f^=at:qr(r)&&On(r);var i=r.first;if(i!==null){r=i;continue}}var d=r.parent;for(r=r.next;r===null&&d!==null;)r=d.next,d=d.parent}return e}function Ze(t){for(var e;;){if(D1(),fn.length===0)return un=!1,cn=null,e;un=!0,bi()}}async function Ci(){await Promise.resolve(),Ze()}function u(t){var e=t.f,r=(e&Rt)!==0;if(Ee!==null&&!_t){if(!(it!=null&&it.includes(t))){var n=Ee.deps;t.rv<Fn&&(t.rv=Fn,dt===null&&n!==null&&n[bt]===t?bt++:dt===null?dt=[t]:(!hr||!dt.includes(t))&&dt.push(t))}}else if(r&&t.deps===null&&t.effects===null){var a=t,o=a.parent;o!==null&&(o.f&vt)===0&&(a.f^=vt)}return r&&(a=t,qr(a)&&Ho(a)),Xr&&on.has(t)?on.get(t):t.v}function St(t){var e=_t;try{return _t=!0,t()}finally{_t=e}}const O1=-7169;function xt(t,e){t.f=t.f&O1|e}function mr(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(Zt in t)Oa(t);else if(!Array.isArray(t))for(let e in t){const r=t[e];typeof r=="object"&&r&&Zt in r&&Oa(r)}}}function Oa(t,e=new Set){if(typeof t=="object"&&t!==null&&!(t instanceof EventTarget)&&!e.has(t)){e.add(t),t instanceof Date&&t.getTime();for(let n in t)try{Oa(t[n],e)}catch{}const r=xa(t);if(r!==Object.prototype&&r!==Array.prototype&&r!==Map.prototype&&r!==Set.prototype&&r!==Date.prototype){const n=Oo(r);for(let a in n){const o=n[a].get;if(o)try{o.call(t)}catch{}}}}}function G1(t,e){if(e){const r=document.body;t.autofocus=!0,_r(()=>{document.activeElement===r&&t.focus()})}}let yi=!1;function Ai(){yi||(yi=!0,document.addEventListener("reset",t=>{Promise.resolve().then(()=>{var e;if(!t.defaultPrevented)for(const r of t.target.elements)(e=r.__on_r)==null||e.call(r)})},{capture:!0}))}function Ga(t){var e=Ee,r=be;ft(null),wt(null);try{return t()}finally{ft(e),wt(r)}}function wi(t,e,r,n=r){t.addEventListener(e,()=>Ga(r));const a=t.__on_r;a?t.__on_r=()=>{a(),n(!0)}:t.__on_r=()=>n(!0),Ai()}const Ii=new Set,$a=new Set;function xi(t,e,r,n={}){function a(o){if(n.capture||gn.call(e,o),!o.cancelBubble)return Ga(()=>r==null?void 0:r.call(this,o))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?_r(()=>{e.addEventListener(t,a,n)}):e.addEventListener(t,a,n),a}function Ct(t,e,r,n,a){var o={capture:n,passive:a},i=xi(t,e,r,o);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&Fa(()=>{e.removeEventListener(t,i,o)})}function Jr(t){for(var e=0;e<t.length;e++)Ii.add(t[e]);for(var r of $a)r(t)}function gn(t){var I;var e=this,r=e.ownerDocument,n=t.type,a=((I=t.composedPath)==null?void 0:I.call(t))||[],o=a[0]||t.target,i=0,d=t.__root;if(d){var l=a.indexOf(d);if(l!==-1&&(e===document||e===window)){t.__root=e;return}var s=a.indexOf(e);if(s===-1)return;l<=s&&(i=l)}if(o=a[i]||t.target,o!==e){kn(t,"currentTarget",{configurable:!0,get(){return o||r}});var g=Ee,f=be;ft(null),wt(null);try{for(var c,m=[];o!==null;){var h=o.assignedSlot||o.parentNode||o.host||null;try{var v=o["__"+n];if(v!=null&&(!o.disabled||t.target===o))if(jr(v)){var[p,...y]=v;p.apply(o,[t,...y])}else v.call(o,t)}catch(b){c?m.push(b):c=b}if(t.cancelBubble||h===e||h===null)break;o=h}if(c){for(let b of m)queueMicrotask(()=>{throw b});throw c}}finally{t.__root=e,delete t.currentTarget,ft(g),wt(f)}}}function Ba(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function gt(t,e){var r=be;r.nodes_start===null&&(r.nodes_start=t,r.nodes_end=e)}function E(t,e){var r=(e&Fo)!==0,n=(e&Jd)!==0,a,o=!t.startsWith("<!>");return()=>{if(J)return gt(ge,null),ge;a===void 0&&(a=Ba(o?t:"<!>"+t),r||(a=Je(a)));var i=n||Jo?document.importNode(a,!0):a.cloneNode(!0);if(r){var d=Je(i),l=i.lastChild;gt(d,l)}else gt(i,i);return i}}function $1(t,e,r="svg"){var n=!t.startsWith("<!>"),a=(e&Fo)!==0,o=`<${r}>${n?t:"<!>"+t}</${r}>`,i;return()=>{if(J)return gt(ge,null),ge;if(!i){var d=Ba(o),l=Je(d);if(a)for(i=document.createDocumentFragment();Je(l);)i.appendChild(Je(l));else i=Je(l)}var s=i.cloneNode(!0);if(a){var g=Je(s),f=s.lastChild;gt(g,f)}else gt(s,s);return s}}function Xt(t,e){return $1(t,e,"svg")}function qt(t=""){if(!J){var e=tr(t+"");return gt(e,e),e}var r=ge;return r.nodeType!==3&&(r.before(r=tr()),et(r)),gt(r,r),r}function Ne(){if(J)return gt(ge,null),ge;var t=document.createDocumentFragment(),e=document.createComment(""),r=tr();return t.append(e,r),gt(e,r),t}function w(t,e){if(J){be.nodes_end=ge,Wt();return}t!==null&&t.before(e)}function B1(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const z1=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function j1(t){return z1.includes(t)}const Y1={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 V1(t){return t=t.toLowerCase(),Y1[t]??t}const Z1=["touchstart","touchmove"];function W1(t){return Z1.includes(t)}const H1=["textarea","script","style","title"];function U1(t){return H1.includes(t)}let $n=!0;function ki(t){$n=t}function _(t,e){var r=e==null?"":typeof e=="object"?e+"":e;r!==(t.__t??(t.__t=t.nodeValue))&&(t.__t=r,t.nodeValue=r+"")}function Ni(t,e){return Pi(t,e)}function _1(t,e){Sa(),e.intro=e.intro??!1;const r=e.target,n=J,a=ge;try{for(var o=Je(r);o&&(o.nodeType!==8||o.data!==Aa);)o=Ut(o);if(!o)throw Nr;ot(!0),et(o),Wt();const i=Pi(t,{...e,anchor:o});if(ge===null||ge.nodeType!==8||ge.data!==wa)throw dn(),Nr;return ot(!1),i}catch(i){if(i===Nr)return e.recover===!1&&f1(),Sa(),ei(r),ot(!1),Ni(t,e);throw i}finally{ot(n),et(a)}}const Kr=new Map;function Pi(t,{target:e,anchor:r,props:n={},events:a,context:o,intro:i=!0}){Sa();var d=new Set,l=f=>{for(var c=0;c<f.length;c++){var m=f[c];if(!d.has(m)){d.add(m);var h=W1(m);e.addEventListener(m,gn,{passive:h});var v=Kr.get(m);v===void 0?(document.addEventListener(m,gn,{passive:h}),Kr.set(m,1)):Kr.set(m,v+1)}}};l(Ia(Ii)),$a.add(l);var s=void 0,g=k1(()=>{var f=r??e.appendChild(tr());return pt(()=>{if(o){ye({});var c=Se;c.c=o}a&&(n.$$events=a),J&&gt(f,null),$n=i,s=t(f,n)||{},$n=!0,J&&(be.nodes_end=ge),o&&Ae()}),()=>{var h;for(var c of d){e.removeEventListener(c,gn);var m=Kr.get(c);--m===0?(document.removeEventListener(c,gn),Kr.delete(c)):Kr.set(c,m)}$a.delete(l),f!==r&&((h=f.parentNode)==null||h.removeChild(f))}});return za.set(s,g),s}let za=new WeakMap;function X1(t,e){const r=za.get(t);return r?(za.delete(t),r(e)):Promise.resolve()}function Sr(t,e,...r){var n=t,a=Vr,o;cr(()=>{a!==(a=e())&&(o&&(ct(o),o=null),o=pt(()=>a(n,...r)))},Zr),J&&(n=ge)}function ja(t){Se===null&&Ra(),Wr&&Se.l!==null?K1(Se).m.push(t):Lr(()=>{const e=St(t);if(typeof e=="function")return e})}function Mi(t){Se===null&&Ra(),ja(()=>()=>St(t))}function q1(t,e,{bubbles:r=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:e,bubbles:r,cancelable:n})}function J1(){const t=Se;return t===null&&Ra(),(e,r,n)=>{var o;const a=(o=t.s.$$events)==null?void 0:o[e];if(a){const i=jr(a)?a.slice():[a],d=q1(e,r,n);for(const l of i)l.call(t.x,d);return!d.defaultPrevented}return!0}}function K1(t){var e=t.l;return e.u??(e.u={a:[],b:[],m:[]})}const Ya=0,Bn=1,Va=2;function Ft(t,e,r,n,a){J&&Wt();var o=t,i=Hr(),d=Se,l=Qe,s,g,f,c=(i?sr:ur)(void 0),m=(i?sr:ur)(void 0),h=!1;function v(y,I){h=!0,I&&(wt(p),ft(p),Rn(d));try{y===Ya&&r&&(s?gr(s):s=pt(()=>r(o))),y===Bn&&n&&(g?gr(g):g=pt(()=>n(o,c))),y===Va&&a&&(f?gr(f):f=pt(()=>a(o,m))),y!==Ya&&s&&fr(s,()=>s=null),y!==Bn&&g&&fr(g,()=>g=null),y!==Va&&f&&fr(f,()=>f=null)}finally{I&&(Rn(null),ft(null),wt(null),Ze())}}var p=cr(()=>{if(l===(l=e()))return;let y=J&&$o(l)===(o.data===In);if(y&&(o=En(),et(o),ot(!1),y=!0),$o(l)){var I=l;h=!1,I.then(b=>{I===l&&(Ur(c,b),v(Bn,!0))},b=>{if(I===l&&(Ur(m,b),v(Va,!0),!a))throw m.v}),J?r&&(s=pt(()=>r(o))):_r(()=>{h||v(Ya,!0)})}else Ur(c,l),v(Bn,!1);return y&&ot(!0),()=>l=Qe});J&&(o=ge)}function j(t,e,[r,n]=[0,0]){J&&r===0&&Wt();var a=t,o=null,i=null,d=Qe,l=r>0?Zr:0,s=!1;const g=(c,m=!0)=>{s=!0,f(m,c)},f=(c,m)=>{if(d===(d=c))return;let h=!1;if(J&&n!==-1){if(r===0){const p=Xo(a);p===Aa?n=0:p===In?n=1/0:(n=parseInt(p.substring(1)),n!==n&&(n=d?1/0:-1))}const v=n>r;!!d===v&&(a=En(),et(a),ot(!1),h=!0,n=-1)}d?(o?gr(o):m&&(o=pt(()=>m(a))),i&&fr(i,()=>{i=null})):(i?gr(i):m&&(i=pt(()=>m(a,[r+1,n]))),o&&fr(o,()=>{o=null})),h&&ot(!0)};cr(()=>{s=!1,e(g),s||f(null,null)},l),J&&(a=ge)}function zn(t,e){return e}function Q1(t,e,r,n){for(var a=[],o=e.length,i=0;i<o;i++)Ta(e[i].e,a,!0);var d=o>0&&a.length===0&&r!==null;if(d){var l=r.parentNode;ei(l),l.append(r),n.clear(),vr(t,e[0].prev,e[o-1].next)}di(a,()=>{for(var s=0;s<o;s++){var g=e[s];d||(n.delete(g.k),vr(t,g.prev,g.next)),ct(g.e,!d)}})}function Fr(t,e,r,n,a,o=null){var i=t,d={flags:e,items:new Map,first:null},l=(e&Eo)!==0;if(l){var s=t;i=J?et(Je(s)):s.appendChild(tr())}J&&Wt();var g=null,f=!1,c=lr(()=>{var m=r();return jr(m)?m:m==null?[]:Ia(m)});cr(()=>{var m=u(c),h=m.length;if(f&&h===0)return;f=h===0;let v=!1;if(J){var p=Xo(i)===In;p!==(h===0)&&(i=En(),et(i),ot(!1),v=!0)}if(J){for(var y=null,I,b=0;b<h;b++){if(ge.nodeType===8&&ge.data===wa){i=ge,v=!0,ot(!1);break}var C=m[b],x=n(C,b);I=Di(ge,d,y,null,C,x,b,a,e,r),d.items.set(x,I),y=I}h>0&&et(En())}J||e2(m,d,i,a,e,n,r),o!==null&&(h===0?g?gr(g):g=pt(()=>o(i)):g!==null&&fr(g,()=>{g=null})),v&&ot(!0),u(c)}),J&&(i=ge)}function e2(t,e,r,n,a,o,i){var ae,G,B,O;var d=(a&Zd)!==0,l=(a&(Ca|ya))!==0,s=t.length,g=e.items,f=e.first,c=f,m,h=null,v,p=[],y=[],I,b,C,x;if(d)for(x=0;x<s;x+=1)I=t[x],b=o(I,x),C=g.get(b),C!==void 0&&((ae=C.a)==null||ae.measure(),(v??(v=new Set)).add(C));for(x=0;x<s;x+=1){if(I=t[x],b=o(I,x),C=g.get(b),C===void 0){var D=c?c.e.nodes_start:r;h=Di(D,e,h,h===null?e.first:h.next,I,b,x,n,a,i),g.set(b,h),p=[],y=[],c=h.next;continue}if(l&&t2(C,I,x,a),(C.e.f&er)!==0&&(gr(C.e),d&&((G=C.a)==null||G.unfix(),(v??(v=new Set)).delete(C))),C!==c){if(m!==void 0&&m.has(C)){if(p.length<y.length){var F=y[0],A;h=F.prev;var L=p[0],W=p[p.length-1];for(A=0;A<p.length;A+=1)Li(p[A],F,r);for(A=0;A<y.length;A+=1)m.delete(y[A]);vr(e,L.prev,W.next),vr(e,h,L),vr(e,W,F),c=F,h=W,x-=1,p=[],y=[]}else m.delete(C),Li(C,c,r),vr(e,C.prev,C.next),vr(e,C,h===null?e.first:h.next),vr(e,h,C),h=C;continue}for(p=[],y=[];c!==null&&c.k!==b;)(c.e.f&er)===0&&(m??(m=new Set)).add(c),y.push(c),c=c.next;if(c===null)continue;C=c}p.push(C),h=C,c=C.next}if(c!==null||m!==void 0){for(var K=m===void 0?[]:Ia(m);c!==null;)(c.e.f&er)===0&&K.push(c),c=c.next;var ne=K.length;if(ne>0){var ve=(a&Eo)!==0&&s===0?r:null;if(d){for(x=0;x<ne;x+=1)(B=K[x].a)==null||B.measure();for(x=0;x<ne;x+=1)(O=K[x].a)==null||O.fix()}Q1(e,K,ve,g)}}d&&_r(()=>{var X;if(v!==void 0)for(C of v)(X=C.a)==null||X.apply()}),be.first=e.first&&e.first.e,be.last=h&&h.e}function t2(t,e,r,n){(n&Ca)!==0&&Ur(t.v,e),(n&ya)!==0?Ur(t.i,r):t.i=r}function Di(t,e,r,n,a,o,i,d,l,s){var g=(l&Ca)!==0,f=(l&Wd)===0,c=g?f?ur(a):sr(a):a,m=(l&ya)===0?i:sr(i),h={i:m,v:c,k:o,a:null,e:null,prev:r,next:n};try{return h.e=pt(()=>d(t,c,m,s),J),h.e.prev=r&&r.e,h.e.next=n&&n.e,r===null?e.first=h:(r.next=h,r.e.next=h.e),n!==null&&(n.prev=h,n.e.prev=h.e),h}finally{}}function Li(t,e,r){for(var n=t.next?t.next.e.nodes_start:r,a=e?e.e.nodes_start:r,o=t.e.nodes_start;o!==n;){var i=Ut(o);a.before(o),o=i}}function vr(t,e,r){e===null?t.first=r:(e.next=r,e.e.next=r&&r.e),r!==null&&(r.prev=e,r.e.prev=e&&e.e)}function pr(t,e,r=!1,n=!1,a=!1){var o=t,i="";z(()=>{var d=be;if(i===(i=e()??"")){J&&Wt();return}if(d.nodes_start!==null&&(oi(d.nodes_start,d.nodes_end),d.nodes_start=d.nodes_end=null),i!==""){if(J){ge.data;for(var l=Wt(),s=l;l!==null&&(l.nodeType!==8||l.data!=="");)s=l,l=Ut(l);if(l===null)throw dn(),Nr;gt(ge,s),o=et(l);return}var g=i+"";r?g=`<svg>${g}</svg>`:n&&(g=`<math>${g}</math>`);var f=Ba(g);if((r||n)&&(f=Je(f)),gt(Je(f),f.lastChild),r||n)for(;Je(f);)o.before(Je(f));else o.before(f)}})}function lt(t,e,r,n,a){var d;J&&Wt();var o=(d=e.$$slots)==null?void 0:d[r],i=!1;o===!0&&(o=e[r==="default"?"children":r],i=!0),o===void 0?a!==null&&a(t):o(t,i?()=>n:n)}function jn(t,e,r,n,a,o){let i=J;J&&Wt();var d,l,s=null;J&&ge.nodeType===1&&(s=ge,Wt());var g=J?ge:t,f;cr(()=>{const c=e()||null;var m=c==="svg"?Qd:null;c!==d&&(f&&(c===null?fr(f,()=>{f=null,l=null}):c===l?gr(f):(ct(f),ki(!1))),c&&c!==l&&(f=pt(()=>{if(s=J?s:m?document.createElementNS(m,c):document.createElement(c),gt(s,s),n){J&&U1(c)&&s.append(document.createComment(""));var h=J?Je(s):s.appendChild(tr());J&&(h===null?ot(!1):et(h)),n(s,h)}be.nodes_end=s,g.before(s)})),d=c,d&&(l=d),ki(!0))},Zr),i&&(ot(!0),et(g))}function r2(t,e,r){Xe(()=>{var n=St(()=>e(t,r==null?void 0:r())||{});if(r&&(n!=null&&n.update)){var a=!1,o={};Rr(()=>{var i=r();mr(i),a&&Yo(o,i)&&(o=i,n.update(i))}),a=!0}if(n!=null&&n.destroy)return()=>n.destroy()})}function n2(t,e){var r=void 0,n;cr(()=>{r!==(r=e())&&(n&&(ct(n),n=null),r&&(n=pt(()=>{Xe(()=>r(t))})))})}function Ri(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(e=0;e<a;e++)t[e]&&(r=Ri(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function a2(){for(var t,e,r=0,n="",a=arguments.length;r<a;r++)(t=arguments[r])&&(e=Ri(t))&&(n&&(n+=" "),n+=e);return n}function Me(t){return typeof t=="object"?a2(t):t??""}const Ei=[...`
1
+ (function(me,De){typeof exports=="object"&&typeof module<"u"?De(exports,require("@sesamy/sesamy-js")):typeof define=="function"&&define.amd?define(["exports","@sesamy/sesamy-js"],De):(me=typeof globalThis<"u"?globalThis:me||self,De(me["@sesamy/sesamy-components"]={},me.SesamyJS))})(this,(function(me,De){"use strict";var i5=Object.defineProperty;var Yd=me=>{throw TypeError(me)};var d5=(me,De,qe)=>De in me?i5(me,De,{enumerable:!0,configurable:!0,writable:!0,value:qe}):me[De]=qe;var jt=(me,De,qe)=>d5(me,typeof De!="symbol"?De+"":De,qe),Vd=(me,De,qe)=>De.has(me)||Yd("Cannot "+qe);var mt=(me,De,qe)=>(Vd(me,De,"read from private field"),qe?qe.call(me):De.get(me)),Lo=(me,De,qe)=>De.has(me)?Yd("Cannot add the same private member more than once"):De instanceof WeakSet?De.add(me):De.set(me,qe),Ro=(me,De,qe,ba)=>(Vd(me,De,"write to private field"),ba?ba.call(me,qe):De.set(me,qe),qe);var zd,ir,Pt;const qe="2.21.14";typeof window<"u"&&((zd=window.__svelte??(window.__svelte={})).v??(zd.v=new Set)).add("5");const Ca=1,ya=2,Eo=4,Zd=8,Wd=16,Hd=1,Ud=2,So=4,_d=8,Xd=16,qd=4,Fo=1,Jd=2,Aa="[",In="[!",wa="]",Nr={},Qe=Symbol(),Kd="http://www.w3.org/1999/xhtml",Qd="http://www.w3.org/2000/svg",e1="@attach",To=!1;var jr=Array.isArray,t1=Array.prototype.indexOf,Ia=Array.from,xn=Object.keys,kn=Object.defineProperty,Yt=Object.getOwnPropertyDescriptor,Oo=Object.getOwnPropertyDescriptors,r1=Object.prototype,n1=Array.prototype,xa=Object.getPrototypeOf,Go=Object.isExtensible;function Yr(t){return typeof t=="function"}const Vr=()=>{};function $o(t){return typeof(t==null?void 0:t.then)=="function"}function a1(t){return t()}function Nn(t){for(var e=0;e<t.length;e++)t[e]()}const Rt=2,Bo=4,Pn=8,Mn=16,Qt=32,Pr=64,ka=128,vt=256,Dn=512,at=1024,Vt=2048,dr=4096,er=8192,Na=16384,Pa=32768,Zr=65536,o1=1<<17,i1=1<<19,zo=1<<20,Ma=1<<21,Zt=Symbol("$state"),Da=Symbol("legacy props"),d1=Symbol("");function jo(t){return t===this.v}function Yo(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function La(t){return!Yo(t,this.v)}function l1(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function s1(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function u1(t){throw new Error("https://svelte.dev/e/effect_orphan")}function c1(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function f1(){throw new Error("https://svelte.dev/e/hydration_failed")}function g1(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function h1(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function m1(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function v1(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let Wr=!1,p1=!1;function b1(){Wr=!0}function Ln(){throw new Error("https://svelte.dev/e/invalid_default_snippet")}function Ra(t){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}let Se=null;function Rn(t){Se=t}function ye(t,e=!1,r){var n=Se={p:Se,c:null,d:!1,e:null,m:!1,s:t,x:null,l:null};Wr&&!e&&(Se.l={s:null,u:null,r1:[],r2:sr(!1)}),Fa(()=>{n.d=!0})}function Ae(t){const e=Se;if(e!==null){t!==void 0&&(e.x=t);const i=e.e;if(i!==null){var r=be,n=Ee;e.e=null;try{for(var a=0;a<i.length;a++){var o=i[a];wt(o.effect),ft(o.reaction),Xe(o.fn)}}finally{wt(r),ft(n)}}Se=e.p,e.m=!0}return t||{}}function Hr(){return!Wr||Se!==null&&Se.l===null}function Et(t){if(typeof t!="object"||t===null||Zt in t)return t;const e=xa(t);if(e!==r1&&e!==n1)return t;var r=new Map,n=jr(t),a=de(0),o=Ee,i=d=>{var l=Ee;ft(o);var s=d();return ft(l),s};return n&&r.set("length",de(t.length)),new Proxy(t,{defineProperty(d,l,s){return(!("value"in s)||s.configurable===!1||s.enumerable===!1||s.writable===!1)&&h1(),i(()=>{var g=r.get(l);g===void 0?(g=de(s.value),r.set(l,g)):T(g,s.value,!0)}),!0},deleteProperty(d,l){var s=r.get(l);if(s===void 0){if(l in d){const c=i(()=>de(Qe));r.set(l,c),Ea(a)}}else{if(n&&typeof l=="string"){var g=r.get("length"),f=Number(l);Number.isInteger(f)&&f<g.v&&T(g,f)}T(s,Qe),Ea(a)}return!0},get(d,l,s){var m;if(l===Zt)return t;var g=r.get(l),f=l in d;if(g===void 0&&(!f||(m=Yt(d,l))!=null&&m.writable)&&(g=i(()=>{var h=Et(f?d[l]:Qe),v=de(h);return v}),r.set(l,g)),g!==void 0){var c=u(g);return c===Qe?void 0:c}return Reflect.get(d,l,s)},getOwnPropertyDescriptor(d,l){var s=Reflect.getOwnPropertyDescriptor(d,l);if(s&&"value"in s){var g=r.get(l);g&&(s.value=u(g))}else if(s===void 0){var f=r.get(l),c=f==null?void 0:f.v;if(f!==void 0&&c!==Qe)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return s},has(d,l){var c;if(l===Zt)return!0;var s=r.get(l),g=s!==void 0&&s.v!==Qe||Reflect.has(d,l);if(s!==void 0||be!==null&&(!g||(c=Yt(d,l))!=null&&c.writable)){s===void 0&&(s=i(()=>{var m=g?Et(d[l]):Qe,h=de(m);return h}),r.set(l,s));var f=u(s);if(f===Qe)return!1}return g},set(d,l,s,g){var b;var f=r.get(l),c=l in d;if(n&&l==="length")for(var m=s;m<f.v;m+=1){var h=r.get(m+"");h!==void 0?T(h,Qe):m in d&&(h=i(()=>de(Qe)),r.set(m+"",h))}if(f===void 0)(!c||(b=Yt(d,l))!=null&&b.writable)&&(f=i(()=>{var C=de(void 0);return T(C,Et(s)),C}),r.set(l,f));else{c=f.v!==Qe;var v=i(()=>Et(s));T(f,v)}var p=Reflect.getOwnPropertyDescriptor(d,l);if(p!=null&&p.set&&p.set.call(g,s),!c){if(n&&typeof l=="string"){var y=r.get("length"),I=Number(l);Number.isInteger(I)&&I>=y.v&&T(y,I+1)}Ea(a)}return!0},ownKeys(d){u(a);var l=Reflect.ownKeys(d).filter(f=>{var c=r.get(f);return c===void 0||c.v!==Qe});for(var[s,g]of r)g.v!==Qe&&!(s in d)&&l.push(s);return l},setPrototypeOf(){m1()}})}function Ea(t,e=1){T(t,t.v+e)}function Vo(t){try{if(t!==null&&typeof t=="object"&&Zt in t)return t[Zt]}catch{}return t}function C1(t,e){return Object.is(Vo(t),Vo(e))}function Mr(t){var e=Rt|Vt,r=Ee!==null&&(Ee.f&Rt)!==0?Ee:null;return be===null||r!==null&&(r.f&vt)!==0?e|=vt:be.f|=zo,{ctx:Se,deps:null,effects:null,equals:jo,f:e,fn:t,reactions:null,rv:0,v:null,wv:0,parent:r??be}}function U(t){const e=Mr(t);return gi(e),e}function lr(t){const e=Mr(t);return e.equals=La,e}function Zo(t){var e=t.effects;if(e!==null){t.effects=null;for(var r=0;r<e.length;r+=1)ct(e[r])}}function y1(t){for(var e=t.parent;e!==null;){if((e.f&Rt)===0)return e;e=e.parent}return null}function Wo(t){var e,r=be;wt(y1(t));try{Zo(t),e=pi(t)}finally{wt(r)}return e}function Ho(t){var e=Wo(t);if(t.equals(e)||(t.v=e,t.wv=mi()),!Xr){var r=(hr||(t.f&vt)!==0)&&t.deps!==null?dr:at;xt(t,r)}}const on=new Map;function sr(t,e){var r={f:0,v:t,reactions:null,equals:jo,rv:0,wv:0};return r}function de(t,e){const r=sr(t);return gi(r),r}function ur(t,e=!1){var n;const r=sr(t);return e||(r.equals=La),Wr&&Se!==null&&Se.l!==null&&((n=Se.l).s??(n.s=[])).push(r),r}function T(t,e,r=!1){Ee!==null&&!_t&&Hr()&&(Ee.f&(Rt|Mn))!==0&&!(it!=null&&it.includes(t))&&v1();let n=r?Et(e):e;return Ur(t,n)}function Ur(t,e){if(!t.equals(e)){var r=t.v;Xr?on.set(t,e):on.set(t,r),t.v=e,(t.f&Rt)!==0&&((t.f&Vt)!==0&&Wo(t),xt(t,(t.f&vt)===0?at:dr)),t.wv=mi(),_o(t,Vt),Hr()&&be!==null&&(be.f&at)!==0&&(be.f&(Qt|Pr))===0&&(It===null?R1([t]):It.push(t))}return e}function Uo(t,e=1){var r=u(t),n=e===1?r++:r--;return T(t,r),n}function _o(t,e){var r=t.reactions;if(r!==null)for(var n=Hr(),a=r.length,o=0;o<a;o++){var i=r[o],d=i.f;(d&Vt)===0&&(!n&&i===be||(xt(i,e),(d&(at|vt))!==0&&((d&Rt)!==0?_o(i,dr):Gn(i))))}}function dn(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function A1(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}let J=!1;function ot(t){J=t}let ge;function et(t){if(t===null)throw dn(),Nr;return ge=t}function Wt(){return et(Ut(ge))}function P(t){if(J){if(Ut(ge)!==null)throw dn(),Nr;ge=t}}function Ht(t=1){if(J){for(var e=t,r=ge;e--;)r=Ut(r);ge=r}}function En(){for(var t=0,e=ge;;){if(e.nodeType===8){var r=e.data;if(r===wa){if(t===0)return e;t-=1}else(r===Aa||r===In)&&(t+=1)}var n=Ut(e);e.remove(),e=n}}function Xo(t){if(!t||t.nodeType!==8)throw dn(),Nr;return t.data}var qo,Jo,Ko,Qo;function Sa(){if(qo===void 0){qo=window,Jo=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;Ko=Yt(e,"firstChild").get,Qo=Yt(e,"nextSibling").get,Go(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Go(r)&&(r.__t=void 0)}}function tr(t=""){return document.createTextNode(t)}function Je(t){return Ko.call(t)}function Ut(t){return Qo.call(t)}function M(t,e){if(!J)return Je(t);var r=Je(ge);if(r===null)r=ge.appendChild(tr());else if(e&&r.nodeType!==3){var n=tr();return r==null||r.before(n),et(n),n}return et(r),r}function Y(t,e){if(!J){var r=Je(t);return r instanceof Comment&&r.data===""?Ut(r):r}return ge}function N(t,e=1,r=!1){let n=J?ge:t;for(var a;e--;)a=n,n=Ut(n);if(!J)return n;var o=n==null?void 0:n.nodeType;if(r&&o!==3){var i=tr();return n===null?a==null||a.after(i):n.before(i),et(i),i}return et(n),n}function ei(t){t.textContent=""}function ti(t){be===null&&Ee===null&&u1(),Ee!==null&&(Ee.f&vt)!==0&&be===null&&s1(),Xr&&l1()}function w1(t,e){var r=e.last;r===null?e.last=e.first=t:(r.next=t,t.prev=r,e.last=t)}function Dr(t,e,r,n=!0){var a=be,o={ctx:Se,deps:null,nodes_start:null,nodes_end:null,f:t|Vt,first:null,fn:e,last:null,next:null,parent:a,prev:null,teardown:null,transitions:null,wv:0};if(r)try{On(o),o.f|=Pa}catch(l){throw ct(o),l}else e!==null&&Gn(o);var i=r&&o.deps===null&&o.first===null&&o.nodes_start===null&&o.teardown===null&&(o.f&(zo|ka))===0;if(!i&&n&&(a!==null&&w1(o,a),Ee!==null&&(Ee.f&Rt)!==0)){var d=Ee;(d.effects??(d.effects=[])).push(o)}return o}function Fa(t){const e=Dr(Pn,null,!1);return xt(e,at),e.teardown=t,e}function Lr(t){ti();var e=be!==null&&(be.f&Qt)!==0&&Se!==null&&!Se.m;if(e){var r=Se;(r.e??(r.e=[])).push({fn:t,effect:be,reaction:Ee})}else{var n=Xe(t);return n}}function I1(t){return ti(),Rr(t)}function x1(t){const e=Dr(Pr,t,!0);return()=>{ct(e)}}function k1(t){const e=Dr(Pr,t,!0);return(r={})=>new Promise(n=>{r.outro?fr(e,()=>{ct(e),n(void 0)}):(ct(e),n(void 0))})}function Xe(t){return Dr(Bo,t,!1)}function Sn(t,e){var r=Se,n={effect:null,ran:!1};r.l.r1.push(n),n.effect=Rr(()=>{t(),!n.ran&&(n.ran=!0,T(r.l.r2,!0),St(e))})}function ri(){var t=Se;Rr(()=>{if(u(t.l.r2)){for(var e of t.l.r1){var r=e.effect;(r.f&at)!==0&&xt(r,dr),qr(r)&&On(r),e.ran=!1}t.l.r2.v=!1}})}function Rr(t){return Dr(Pn,t,!0)}function z(t,e=[],r=Mr){const n=e.map(r);return cr(()=>t(...n.map(u)))}function cr(t,e=0){return Dr(Pn|Mn|e,t,!0)}function pt(t,e=!0){return Dr(Pn|Qt,t,!0,e)}function ni(t){var e=t.teardown;if(e!==null){const r=Xr,n=Ee;fi(!0),ft(null);try{e.call(null)}finally{fi(r),ft(n)}}}function ai(t,e=!1){var r=t.first;for(t.first=t.last=null;r!==null;){var n=r.next;(r.f&Pr)!==0?r.parent=null:ct(r,e),r=n}}function N1(t){for(var e=t.first;e!==null;){var r=e.next;(e.f&Qt)===0&&ct(e),e=r}}function ct(t,e=!0){var r=!1;(e||(t.f&i1)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(oi(t.nodes_start,t.nodes_end),r=!0),ai(t,e&&!r),Tn(t,0),xt(t,Na);var n=t.transitions;if(n!==null)for(const o of n)o.stop();ni(t);var a=t.parent;a!==null&&a.first!==null&&ii(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=null}function oi(t,e){for(;t!==null;){var r=t===e?null:Ut(t);t.remove(),t=r}}function ii(t){var e=t.parent,r=t.prev,n=t.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),e!==null&&(e.first===t&&(e.first=n),e.last===t&&(e.last=r))}function fr(t,e){var r=[];Ta(t,r,!0),di(r,()=>{ct(t),e&&e()})}function di(t,e){var r=t.length;if(r>0){var n=()=>--r||e();for(var a of t)a.out(n)}else e()}function Ta(t,e,r){if((t.f&er)===0){if(t.f^=er,t.transitions!==null)for(const i of t.transitions)(i.is_global||r)&&e.push(i);for(var n=t.first;n!==null;){var a=n.next,o=(n.f&Zr)!==0||(n.f&Qt)!==0;Ta(n,e,o?r:!1),n=a}}}function gr(t){li(t,!0)}function li(t,e){if((t.f&er)!==0){t.f^=er,(t.f&at)===0&&(t.f^=at),qr(t)&&(xt(t,Vt),Gn(t));for(var r=t.first;r!==null;){var n=r.next,a=(r.f&Zr)!==0||(r.f&Qt)!==0;li(r,a?e:!1),r=n}if(t.transitions!==null)for(const o of t.transitions)(o.is_global||e)&&o.in()}}const P1=typeof requestIdleCallback>"u"?t=>setTimeout(t,1):requestIdleCallback;let ln=[],sn=[];function si(){var t=ln;ln=[],Nn(t)}function ui(){var t=sn;sn=[],Nn(t)}function _r(t){ln.length===0&&queueMicrotask(si),ln.push(t)}function M1(t){sn.length===0&&P1(ui),sn.push(t)}function D1(){ln.length>0&&si(),sn.length>0&&ui()}function L1(t){var e=be;if((e.f&Pa)===0){if((e.f&ka)===0)throw t;e.fn(t)}else ci(t,e)}function ci(t,e){for(;e!==null;){if((e.f&ka)!==0)try{e.fn(t);return}catch{}e=e.parent}throw t}let un=!1,cn=null,Er=!1,Xr=!1;function fi(t){Xr=t}let fn=[],l5=[],Ee=null,_t=!1;function ft(t){Ee=t}let be=null;function wt(t){be=t}let it=null;function gi(t){Ee!==null&&Ee.f&Ma&&(it===null?it=[t]:it.push(t))}let dt=null,bt=0,It=null;function R1(t){It=t}let hi=1,Fn=0,hr=!1;function mi(){return++hi}function qr(t){var f;var e=t.f;if((e&Vt)!==0)return!0;if((e&dr)!==0){var r=t.deps,n=(e&vt)!==0;if(r!==null){var a,o,i=(e&Dn)!==0,d=n&&be!==null&&!hr,l=r.length;if(i||d){var s=t,g=s.parent;for(a=0;a<l;a++)o=r[a],(i||!((f=o==null?void 0:o.reactions)!=null&&f.includes(s)))&&(o.reactions??(o.reactions=[])).push(s);i&&(s.f^=Dn),d&&g!==null&&(g.f&vt)===0&&(s.f^=vt)}for(a=0;a<l;a++)if(o=r[a],qr(o)&&Ho(o),o.wv>t.wv)return!0}(!n||be!==null&&!hr)&&xt(t,at)}return!1}function vi(t,e,r=!0){var n=t.reactions;if(n!==null)for(var a=0;a<n.length;a++){var o=n[a];it!=null&&it.includes(t)||((o.f&Rt)!==0?vi(o,e,!1):e===o&&(r?xt(o,Vt):(o.f&at)!==0&&xt(o,dr),Gn(o)))}}function pi(t){var m;var e=dt,r=bt,n=It,a=Ee,o=hr,i=it,d=Se,l=_t,s=t.f;dt=null,bt=0,It=null,hr=(s&vt)!==0&&(_t||!Er||Ee===null),Ee=(s&(Qt|Pr))===0?t:null,it=null,Rn(t.ctx),_t=!1,Fn++,t.f|=Ma;try{var g=(0,t.fn)(),f=t.deps;if(dt!==null){var c;if(Tn(t,bt),f!==null&&bt>0)for(f.length=bt+dt.length,c=0;c<dt.length;c++)f[bt+c]=dt[c];else t.deps=f=dt;if(!hr)for(c=bt;c<f.length;c++)((m=f[c]).reactions??(m.reactions=[])).push(t)}else f!==null&&bt<f.length&&(Tn(t,bt),f.length=bt);if(Hr()&&It!==null&&!_t&&f!==null&&(t.f&(Rt|dr|Vt))===0)for(c=0;c<It.length;c++)vi(It[c],t);return a!==null&&a!==t&&(Fn++,It!==null&&(n===null?n=It:n.push(...It))),g}catch(h){L1(h)}finally{dt=e,bt=r,It=n,Ee=a,hr=o,it=i,Rn(d),_t=l,t.f^=Ma}}function E1(t,e){let r=e.reactions;if(r!==null){var n=t1.call(r,t);if(n!==-1){var a=r.length-1;a===0?r=e.reactions=null:(r[n]=r[a],r.pop())}}r===null&&(e.f&Rt)!==0&&(dt===null||!dt.includes(e))&&(xt(e,dr),(e.f&(vt|Dn))===0&&(e.f^=Dn),Zo(e),Tn(e,0))}function Tn(t,e){var r=t.deps;if(r!==null)for(var n=e;n<r.length;n++)E1(t,r[n])}function On(t){var e=t.f;if((e&Na)===0){xt(t,at);var r=be,n=Er;be=t,Er=!0;try{(e&Mn)!==0?N1(t):ai(t),ni(t);var a=pi(t);t.teardown=typeof a=="function"?a:null,t.wv=hi;var o;To&&p1&&(t.f&Vt)!==0&&t.deps}finally{Er=n,be=r}}}function S1(){try{c1()}catch(t){if(cn!==null)ci(t,cn);else throw t}}function bi(){var t=Er;try{var e=0;for(Er=!0;fn.length>0;){e++>1e3&&S1();var r=fn,n=r.length;fn=[];for(var a=0;a<n;a++){var o=T1(r[a]);F1(o)}on.clear()}}finally{un=!1,Er=t,cn=null}}function F1(t){var e=t.length;if(e!==0)for(var r=0;r<e;r++){var n=t[r];(n.f&(Na|er))===0&&qr(n)&&(On(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null?ii(n):n.fn=null))}}function Gn(t){un||(un=!0,queueMicrotask(bi));for(var e=cn=t;e.parent!==null;){e=e.parent;var r=e.f;if((r&(Pr|Qt))!==0){if((r&at)===0)return;e.f^=at}}fn.push(e)}function T1(t){for(var e=[],r=t;r!==null;){var n=r.f,a=(n&(Qt|Pr))!==0,o=a&&(n&at)!==0;if(!o&&(n&er)===0){(n&Bo)!==0?e.push(r):a?r.f^=at:qr(r)&&On(r);var i=r.first;if(i!==null){r=i;continue}}var d=r.parent;for(r=r.next;r===null&&d!==null;)r=d.next,d=d.parent}return e}function Ze(t){for(var e;;){if(D1(),fn.length===0)return un=!1,cn=null,e;un=!0,bi()}}async function Ci(){await Promise.resolve(),Ze()}function u(t){var e=t.f,r=(e&Rt)!==0;if(Ee!==null&&!_t){if(!(it!=null&&it.includes(t))){var n=Ee.deps;t.rv<Fn&&(t.rv=Fn,dt===null&&n!==null&&n[bt]===t?bt++:dt===null?dt=[t]:(!hr||!dt.includes(t))&&dt.push(t))}}else if(r&&t.deps===null&&t.effects===null){var a=t,o=a.parent;o!==null&&(o.f&vt)===0&&(a.f^=vt)}return r&&(a=t,qr(a)&&Ho(a)),Xr&&on.has(t)?on.get(t):t.v}function St(t){var e=_t;try{return _t=!0,t()}finally{_t=e}}const O1=-7169;function xt(t,e){t.f=t.f&O1|e}function mr(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(Zt in t)Oa(t);else if(!Array.isArray(t))for(let e in t){const r=t[e];typeof r=="object"&&r&&Zt in r&&Oa(r)}}}function Oa(t,e=new Set){if(typeof t=="object"&&t!==null&&!(t instanceof EventTarget)&&!e.has(t)){e.add(t),t instanceof Date&&t.getTime();for(let n in t)try{Oa(t[n],e)}catch{}const r=xa(t);if(r!==Object.prototype&&r!==Array.prototype&&r!==Map.prototype&&r!==Set.prototype&&r!==Date.prototype){const n=Oo(r);for(let a in n){const o=n[a].get;if(o)try{o.call(t)}catch{}}}}}function G1(t,e){if(e){const r=document.body;t.autofocus=!0,_r(()=>{document.activeElement===r&&t.focus()})}}let yi=!1;function Ai(){yi||(yi=!0,document.addEventListener("reset",t=>{Promise.resolve().then(()=>{var e;if(!t.defaultPrevented)for(const r of t.target.elements)(e=r.__on_r)==null||e.call(r)})},{capture:!0}))}function Ga(t){var e=Ee,r=be;ft(null),wt(null);try{return t()}finally{ft(e),wt(r)}}function wi(t,e,r,n=r){t.addEventListener(e,()=>Ga(r));const a=t.__on_r;a?t.__on_r=()=>{a(),n(!0)}:t.__on_r=()=>n(!0),Ai()}const Ii=new Set,$a=new Set;function xi(t,e,r,n={}){function a(o){if(n.capture||gn.call(e,o),!o.cancelBubble)return Ga(()=>r==null?void 0:r.call(this,o))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?_r(()=>{e.addEventListener(t,a,n)}):e.addEventListener(t,a,n),a}function Ct(t,e,r,n,a){var o={capture:n,passive:a},i=xi(t,e,r,o);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&Fa(()=>{e.removeEventListener(t,i,o)})}function Jr(t){for(var e=0;e<t.length;e++)Ii.add(t[e]);for(var r of $a)r(t)}function gn(t){var I;var e=this,r=e.ownerDocument,n=t.type,a=((I=t.composedPath)==null?void 0:I.call(t))||[],o=a[0]||t.target,i=0,d=t.__root;if(d){var l=a.indexOf(d);if(l!==-1&&(e===document||e===window)){t.__root=e;return}var s=a.indexOf(e);if(s===-1)return;l<=s&&(i=l)}if(o=a[i]||t.target,o!==e){kn(t,"currentTarget",{configurable:!0,get(){return o||r}});var g=Ee,f=be;ft(null),wt(null);try{for(var c,m=[];o!==null;){var h=o.assignedSlot||o.parentNode||o.host||null;try{var v=o["__"+n];if(v!=null&&(!o.disabled||t.target===o))if(jr(v)){var[p,...y]=v;p.apply(o,[t,...y])}else v.call(o,t)}catch(b){c?m.push(b):c=b}if(t.cancelBubble||h===e||h===null)break;o=h}if(c){for(let b of m)queueMicrotask(()=>{throw b});throw c}}finally{t.__root=e,delete t.currentTarget,ft(g),wt(f)}}}function Ba(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function gt(t,e){var r=be;r.nodes_start===null&&(r.nodes_start=t,r.nodes_end=e)}function E(t,e){var r=(e&Fo)!==0,n=(e&Jd)!==0,a,o=!t.startsWith("<!>");return()=>{if(J)return gt(ge,null),ge;a===void 0&&(a=Ba(o?t:"<!>"+t),r||(a=Je(a)));var i=n||Jo?document.importNode(a,!0):a.cloneNode(!0);if(r){var d=Je(i),l=i.lastChild;gt(d,l)}else gt(i,i);return i}}function $1(t,e,r="svg"){var n=!t.startsWith("<!>"),a=(e&Fo)!==0,o=`<${r}>${n?t:"<!>"+t}</${r}>`,i;return()=>{if(J)return gt(ge,null),ge;if(!i){var d=Ba(o),l=Je(d);if(a)for(i=document.createDocumentFragment();Je(l);)i.appendChild(Je(l));else i=Je(l)}var s=i.cloneNode(!0);if(a){var g=Je(s),f=s.lastChild;gt(g,f)}else gt(s,s);return s}}function Xt(t,e){return $1(t,e,"svg")}function qt(t=""){if(!J){var e=tr(t+"");return gt(e,e),e}var r=ge;return r.nodeType!==3&&(r.before(r=tr()),et(r)),gt(r,r),r}function Ne(){if(J)return gt(ge,null),ge;var t=document.createDocumentFragment(),e=document.createComment(""),r=tr();return t.append(e,r),gt(e,r),t}function w(t,e){if(J){be.nodes_end=ge,Wt();return}t!==null&&t.before(e)}function B1(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const z1=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function j1(t){return z1.includes(t)}const Y1={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 V1(t){return t=t.toLowerCase(),Y1[t]??t}const Z1=["touchstart","touchmove"];function W1(t){return Z1.includes(t)}const H1=["textarea","script","style","title"];function U1(t){return H1.includes(t)}let $n=!0;function ki(t){$n=t}function _(t,e){var r=e==null?"":typeof e=="object"?e+"":e;r!==(t.__t??(t.__t=t.nodeValue))&&(t.__t=r,t.nodeValue=r+"")}function Ni(t,e){return Pi(t,e)}function _1(t,e){Sa(),e.intro=e.intro??!1;const r=e.target,n=J,a=ge;try{for(var o=Je(r);o&&(o.nodeType!==8||o.data!==Aa);)o=Ut(o);if(!o)throw Nr;ot(!0),et(o),Wt();const i=Pi(t,{...e,anchor:o});if(ge===null||ge.nodeType!==8||ge.data!==wa)throw dn(),Nr;return ot(!1),i}catch(i){if(i===Nr)return e.recover===!1&&f1(),Sa(),ei(r),ot(!1),Ni(t,e);throw i}finally{ot(n),et(a)}}const Kr=new Map;function Pi(t,{target:e,anchor:r,props:n={},events:a,context:o,intro:i=!0}){Sa();var d=new Set,l=f=>{for(var c=0;c<f.length;c++){var m=f[c];if(!d.has(m)){d.add(m);var h=W1(m);e.addEventListener(m,gn,{passive:h});var v=Kr.get(m);v===void 0?(document.addEventListener(m,gn,{passive:h}),Kr.set(m,1)):Kr.set(m,v+1)}}};l(Ia(Ii)),$a.add(l);var s=void 0,g=k1(()=>{var f=r??e.appendChild(tr());return pt(()=>{if(o){ye({});var c=Se;c.c=o}a&&(n.$$events=a),J&&gt(f,null),$n=i,s=t(f,n)||{},$n=!0,J&&(be.nodes_end=ge),o&&Ae()}),()=>{var h;for(var c of d){e.removeEventListener(c,gn);var m=Kr.get(c);--m===0?(document.removeEventListener(c,gn),Kr.delete(c)):Kr.set(c,m)}$a.delete(l),f!==r&&((h=f.parentNode)==null||h.removeChild(f))}});return za.set(s,g),s}let za=new WeakMap;function X1(t,e){const r=za.get(t);return r?(za.delete(t),r(e)):Promise.resolve()}function Sr(t,e,...r){var n=t,a=Vr,o;cr(()=>{a!==(a=e())&&(o&&(ct(o),o=null),o=pt(()=>a(n,...r)))},Zr),J&&(n=ge)}function ja(t){Se===null&&Ra(),Wr&&Se.l!==null?K1(Se).m.push(t):Lr(()=>{const e=St(t);if(typeof e=="function")return e})}function Mi(t){Se===null&&Ra(),ja(()=>()=>St(t))}function q1(t,e,{bubbles:r=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:e,bubbles:r,cancelable:n})}function J1(){const t=Se;return t===null&&Ra(),(e,r,n)=>{var o;const a=(o=t.s.$$events)==null?void 0:o[e];if(a){const i=jr(a)?a.slice():[a],d=q1(e,r,n);for(const l of i)l.call(t.x,d);return!d.defaultPrevented}return!0}}function K1(t){var e=t.l;return e.u??(e.u={a:[],b:[],m:[]})}const Ya=0,Bn=1,Va=2;function Ft(t,e,r,n,a){J&&Wt();var o=t,i=Hr(),d=Se,l=Qe,s,g,f,c=(i?sr:ur)(void 0),m=(i?sr:ur)(void 0),h=!1;function v(y,I){h=!0,I&&(wt(p),ft(p),Rn(d));try{y===Ya&&r&&(s?gr(s):s=pt(()=>r(o))),y===Bn&&n&&(g?gr(g):g=pt(()=>n(o,c))),y===Va&&a&&(f?gr(f):f=pt(()=>a(o,m))),y!==Ya&&s&&fr(s,()=>s=null),y!==Bn&&g&&fr(g,()=>g=null),y!==Va&&f&&fr(f,()=>f=null)}finally{I&&(Rn(null),ft(null),wt(null),Ze())}}var p=cr(()=>{if(l===(l=e()))return;let y=J&&$o(l)===(o.data===In);if(y&&(o=En(),et(o),ot(!1),y=!0),$o(l)){var I=l;h=!1,I.then(b=>{I===l&&(Ur(c,b),v(Bn,!0))},b=>{if(I===l&&(Ur(m,b),v(Va,!0),!a))throw m.v}),J?r&&(s=pt(()=>r(o))):_r(()=>{h||v(Ya,!0)})}else Ur(c,l),v(Bn,!1);return y&&ot(!0),()=>l=Qe});J&&(o=ge)}function j(t,e,[r,n]=[0,0]){J&&r===0&&Wt();var a=t,o=null,i=null,d=Qe,l=r>0?Zr:0,s=!1;const g=(c,m=!0)=>{s=!0,f(m,c)},f=(c,m)=>{if(d===(d=c))return;let h=!1;if(J&&n!==-1){if(r===0){const p=Xo(a);p===Aa?n=0:p===In?n=1/0:(n=parseInt(p.substring(1)),n!==n&&(n=d?1/0:-1))}const v=n>r;!!d===v&&(a=En(),et(a),ot(!1),h=!0,n=-1)}d?(o?gr(o):m&&(o=pt(()=>m(a))),i&&fr(i,()=>{i=null})):(i?gr(i):m&&(i=pt(()=>m(a,[r+1,n]))),o&&fr(o,()=>{o=null})),h&&ot(!0)};cr(()=>{s=!1,e(g),s||f(null,null)},l),J&&(a=ge)}function zn(t,e){return e}function Q1(t,e,r,n){for(var a=[],o=e.length,i=0;i<o;i++)Ta(e[i].e,a,!0);var d=o>0&&a.length===0&&r!==null;if(d){var l=r.parentNode;ei(l),l.append(r),n.clear(),vr(t,e[0].prev,e[o-1].next)}di(a,()=>{for(var s=0;s<o;s++){var g=e[s];d||(n.delete(g.k),vr(t,g.prev,g.next)),ct(g.e,!d)}})}function Fr(t,e,r,n,a,o=null){var i=t,d={flags:e,items:new Map,first:null},l=(e&Eo)!==0;if(l){var s=t;i=J?et(Je(s)):s.appendChild(tr())}J&&Wt();var g=null,f=!1,c=lr(()=>{var m=r();return jr(m)?m:m==null?[]:Ia(m)});cr(()=>{var m=u(c),h=m.length;if(f&&h===0)return;f=h===0;let v=!1;if(J){var p=Xo(i)===In;p!==(h===0)&&(i=En(),et(i),ot(!1),v=!0)}if(J){for(var y=null,I,b=0;b<h;b++){if(ge.nodeType===8&&ge.data===wa){i=ge,v=!0,ot(!1);break}var C=m[b],x=n(C,b);I=Di(ge,d,y,null,C,x,b,a,e,r),d.items.set(x,I),y=I}h>0&&et(En())}J||e2(m,d,i,a,e,n,r),o!==null&&(h===0?g?gr(g):g=pt(()=>o(i)):g!==null&&fr(g,()=>{g=null})),v&&ot(!0),u(c)}),J&&(i=ge)}function e2(t,e,r,n,a,o,i){var ae,G,B,O;var d=(a&Zd)!==0,l=(a&(Ca|ya))!==0,s=t.length,g=e.items,f=e.first,c=f,m,h=null,v,p=[],y=[],I,b,C,x;if(d)for(x=0;x<s;x+=1)I=t[x],b=o(I,x),C=g.get(b),C!==void 0&&((ae=C.a)==null||ae.measure(),(v??(v=new Set)).add(C));for(x=0;x<s;x+=1){if(I=t[x],b=o(I,x),C=g.get(b),C===void 0){var D=c?c.e.nodes_start:r;h=Di(D,e,h,h===null?e.first:h.next,I,b,x,n,a,i),g.set(b,h),p=[],y=[],c=h.next;continue}if(l&&t2(C,I,x,a),(C.e.f&er)!==0&&(gr(C.e),d&&((G=C.a)==null||G.unfix(),(v??(v=new Set)).delete(C))),C!==c){if(m!==void 0&&m.has(C)){if(p.length<y.length){var F=y[0],A;h=F.prev;var L=p[0],W=p[p.length-1];for(A=0;A<p.length;A+=1)Li(p[A],F,r);for(A=0;A<y.length;A+=1)m.delete(y[A]);vr(e,L.prev,W.next),vr(e,h,L),vr(e,W,F),c=F,h=W,x-=1,p=[],y=[]}else m.delete(C),Li(C,c,r),vr(e,C.prev,C.next),vr(e,C,h===null?e.first:h.next),vr(e,h,C),h=C;continue}for(p=[],y=[];c!==null&&c.k!==b;)(c.e.f&er)===0&&(m??(m=new Set)).add(c),y.push(c),c=c.next;if(c===null)continue;C=c}p.push(C),h=C,c=C.next}if(c!==null||m!==void 0){for(var K=m===void 0?[]:Ia(m);c!==null;)(c.e.f&er)===0&&K.push(c),c=c.next;var ne=K.length;if(ne>0){var ve=(a&Eo)!==0&&s===0?r:null;if(d){for(x=0;x<ne;x+=1)(B=K[x].a)==null||B.measure();for(x=0;x<ne;x+=1)(O=K[x].a)==null||O.fix()}Q1(e,K,ve,g)}}d&&_r(()=>{var X;if(v!==void 0)for(C of v)(X=C.a)==null||X.apply()}),be.first=e.first&&e.first.e,be.last=h&&h.e}function t2(t,e,r,n){(n&Ca)!==0&&Ur(t.v,e),(n&ya)!==0?Ur(t.i,r):t.i=r}function Di(t,e,r,n,a,o,i,d,l,s){var g=(l&Ca)!==0,f=(l&Wd)===0,c=g?f?ur(a):sr(a):a,m=(l&ya)===0?i:sr(i),h={i:m,v:c,k:o,a:null,e:null,prev:r,next:n};try{return h.e=pt(()=>d(t,c,m,s),J),h.e.prev=r&&r.e,h.e.next=n&&n.e,r===null?e.first=h:(r.next=h,r.e.next=h.e),n!==null&&(n.prev=h,n.e.prev=h.e),h}finally{}}function Li(t,e,r){for(var n=t.next?t.next.e.nodes_start:r,a=e?e.e.nodes_start:r,o=t.e.nodes_start;o!==n;){var i=Ut(o);a.before(o),o=i}}function vr(t,e,r){e===null?t.first=r:(e.next=r,e.e.next=r&&r.e),r!==null&&(r.prev=e,r.e.prev=e&&e.e)}function pr(t,e,r=!1,n=!1,a=!1){var o=t,i="";z(()=>{var d=be;if(i===(i=e()??"")){J&&Wt();return}if(d.nodes_start!==null&&(oi(d.nodes_start,d.nodes_end),d.nodes_start=d.nodes_end=null),i!==""){if(J){ge.data;for(var l=Wt(),s=l;l!==null&&(l.nodeType!==8||l.data!=="");)s=l,l=Ut(l);if(l===null)throw dn(),Nr;gt(ge,s),o=et(l);return}var g=i+"";r?g=`<svg>${g}</svg>`:n&&(g=`<math>${g}</math>`);var f=Ba(g);if((r||n)&&(f=Je(f)),gt(Je(f),f.lastChild),r||n)for(;Je(f);)o.before(Je(f));else o.before(f)}})}function lt(t,e,r,n,a){var d;J&&Wt();var o=(d=e.$$slots)==null?void 0:d[r],i=!1;o===!0&&(o=e[r==="default"?"children":r],i=!0),o===void 0?a!==null&&a(t):o(t,i?()=>n:n)}function jn(t,e,r,n,a,o){let i=J;J&&Wt();var d,l,s=null;J&&ge.nodeType===1&&(s=ge,Wt());var g=J?ge:t,f;cr(()=>{const c=e()||null;var m=c==="svg"?Qd:null;c!==d&&(f&&(c===null?fr(f,()=>{f=null,l=null}):c===l?gr(f):(ct(f),ki(!1))),c&&c!==l&&(f=pt(()=>{if(s=J?s:m?document.createElementNS(m,c):document.createElement(c),gt(s,s),n){J&&U1(c)&&s.append(document.createComment(""));var h=J?Je(s):s.appendChild(tr());J&&(h===null?ot(!1):et(h)),n(s,h)}be.nodes_end=s,g.before(s)})),d=c,d&&(l=d),ki(!0))},Zr),i&&(ot(!0),et(g))}function r2(t,e,r){Xe(()=>{var n=St(()=>e(t,r==null?void 0:r())||{});if(r&&(n!=null&&n.update)){var a=!1,o={};Rr(()=>{var i=r();mr(i),a&&Yo(o,i)&&(o=i,n.update(i))}),a=!0}if(n!=null&&n.destroy)return()=>n.destroy()})}function n2(t,e){var r=void 0,n;cr(()=>{r!==(r=e())&&(n&&(ct(n),n=null),r&&(n=pt(()=>{Xe(()=>r(t))})))})}function Ri(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(e=0;e<a;e++)t[e]&&(r=Ri(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function a2(){for(var t,e,r=0,n="",a=arguments.length;r<a;r++)(t=arguments[r])&&(e=Ri(t))&&(n&&(n+=" "),n+=e);return n}function Me(t){return typeof t=="object"?a2(t):t??""}const Ei=[...`
2
2
  \r\f \v\uFEFF`];function o2(t,e,r){var n=t==null?"":""+t;if(r){for(var a in r)if(r[a])n=n?n+" "+a:a;else if(n.length)for(var o=a.length,i=0;(i=n.indexOf(a,i))>=0;){var d=i+o;(i===0||Ei.includes(n[i-1]))&&(d===n.length||Ei.includes(n[d]))?n=(i===0?"":n.substring(0,i))+n.substring(d+1):i=d}}return n===""?null:n}function Si(t,e=!1){var r=e?" !important;":";",n="";for(var a in t){var o=t[a];o!=null&&o!==""&&(n+=" "+a+": "+o+r)}return n}function Za(t){return t[0]!=="-"||t[1]!=="-"?t.toLowerCase():t}function i2(t,e){if(e){var r="",n,a;if(Array.isArray(e)?(n=e[0],a=e[1]):n=e,t){t=String(t).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var o=!1,i=0,d=!1,l=[];n&&l.push(...Object.keys(n).map(Za)),a&&l.push(...Object.keys(a).map(Za));var s=0,g=-1;const v=t.length;for(var f=0;f<v;f++){var c=t[f];if(d?c==="/"&&t[f-1]==="*"&&(d=!1):o?o===c&&(o=!1):c==="/"&&t[f+1]==="*"?d=!0:c==='"'||c==="'"?o=c:c==="("?i++:c===")"&&i--,!d&&o===!1&&i===0){if(c===":"&&g===-1)g=f;else if(c===";"||f===v-1){if(g!==-1){var m=Za(t.substring(s,g).trim());if(!l.includes(m)){c!==";"&&f++;var h=t.substring(s,f).trim();r+=" "+h+";"}}s=f+1,g=-1}}}}return n&&(r+=Si(n)),a&&(r+=Si(a,!0)),r=r.trim(),r===""?null:r}return t==null?null:String(t)}function we(t,e,r,n,a,o){var i=t.__className;if(J||i!==r||i===void 0){var d=o2(r,n,o);(!J||d!==t.getAttribute("class"))&&(d==null?t.removeAttribute("class"):e?t.className=d:t.setAttribute("class",d)),t.__className=r}else if(o&&a!==o)for(var l in o){var s=!!o[l];(a==null||s!==!!a[l])&&t.classList.toggle(l,s)}return o}function Wa(t,e={},r,n){for(var a in r){var o=r[a];e[a]!==o&&(r[a]==null?t.style.removeProperty(a):t.style.setProperty(a,o,n))}}function d2(t,e,r,n){var a=t.__style;if(J||a!==e){var o=i2(e,n);(!J||o!==t.getAttribute("style"))&&(o==null?t.removeAttribute("style"):t.style.cssText=o),t.__style=e}else n&&(Array.isArray(n)?(Wa(t,r==null?void 0:r[0],n[0]),Wa(t,r==null?void 0:r[1],n[1],"important")):Wa(t,r,n));return n}function Yn(t,e,r){if(t.multiple){if(e==null)return;if(!jr(e))return A1();for(var n of t.options)n.selected=e.includes(hn(n));return}for(n of t.options){var a=hn(n);if(C1(a,e)){n.selected=!0;return}}(!r||e!==void 0)&&(t.selectedIndex=-1)}function Fi(t,e){let r=!0;Xe(()=>{e&&Yn(t,St(e),r),r=!1;var n=new MutationObserver(()=>{var a=t.__value;Yn(t,a)});return n.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),()=>{n.disconnect()}})}function Ti(t,e,r=e){var n=!0;wi(t,"change",a=>{var o=a?"[selected]":":checked",i;if(t.multiple)i=[].map.call(t.querySelectorAll(o),hn);else{var d=t.querySelector(o)??t.querySelector("option:not([disabled])");i=d&&hn(d)}r(i)}),Xe(()=>{var a=e();if(Yn(t,a,n),n&&a===void 0){var o=t.querySelector(":checked");o!==null&&(a=hn(o),r(a))}t.__value=a,n=!1}),Fi(t)}function hn(t){return"__value"in t?t.__value:t.value}const mn=Symbol("class"),vn=Symbol("style"),Oi=Symbol("is custom element"),Gi=Symbol("is html");function Ha(t){if(J){var e=!1,r=()=>{if(!e){if(e=!0,t.hasAttribute("value")){var n=t.value;Ce(t,"value",null),t.value=n}if(t.hasAttribute("checked")){var a=t.checked;Ce(t,"checked",null),t.checked=a}}};t.__on_r=r,M1(r),Ai()}}function l2(t,e){var r=Ua(t);r.checked!==(r.checked=e??void 0)&&(t.checked=e)}function s2(t,e){e?t.hasAttribute("selected")||t.setAttribute("selected",""):t.removeAttribute("selected")}function Ce(t,e,r,n){var a=Ua(t);J&&(a[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||a[e]!==(a[e]=r)&&(e==="loading"&&(t[d1]=r),r==null?t.removeAttribute(e):typeof r!="string"&&Bi(t).includes(e)?t[e]=r:t.setAttribute(e,r))}function u2(t,e,r,n,a=!1){var o=Ua(t),i=o[Oi],d=!o[Gi];let l=J&&i;l&&ot(!1);var s=e||{},g=t.tagName==="OPTION";for(var f in e)f in r||(r[f]=null);r.class?r.class=Me(r.class):r[mn]&&(r.class=null),r[vn]&&(r.style??(r.style=null));var c=Bi(t);for(const b in r){let C=r[b];if(g&&b==="value"&&C==null){t.value=t.__value="",s[b]=C;continue}if(b==="class"){var m=t.namespaceURI==="http://www.w3.org/1999/xhtml";we(t,m,C,n,e==null?void 0:e[mn],r[mn]),s[b]=C,s[mn]=r[mn];continue}if(b==="style"){d2(t,C,e==null?void 0:e[vn],r[vn]),s[b]=C,s[vn]=r[vn];continue}var h=s[b];if(C!==h){s[b]=C;var v=b[0]+b[1];if(v!=="$$")if(v==="on"){const x={},D="$$"+b;let F=b.slice(2);var p=j1(F);if(B1(F)&&(F=F.slice(0,-7),x.capture=!0),!p&&h){if(C!=null)continue;t.removeEventListener(F,s[D],x),s[D]=null}if(C!=null)if(p)t[`__${F}`]=C,Jr([F]);else{let A=function(L){s[b].call(this,L)};s[D]=xi(F,t,A,x)}else p&&(t[`__${F}`]=void 0)}else if(b==="style")Ce(t,b,C);else if(b==="autofocus")G1(t,!!C);else if(!i&&(b==="__value"||b==="value"&&C!=null))t.value=t.__value=C;else if(b==="selected"&&g)s2(t,C);else{var y=b;d||(y=V1(y));var I=y==="defaultValue"||y==="defaultChecked";if(C==null&&!i&&!I)if(o[b]=null,y==="value"||y==="checked"){let x=t;const D=e===void 0;if(y==="value"){let F=x.defaultValue;x.removeAttribute(y),x.defaultValue=F,x.value=x.__value=D?F:null}else{let F=x.defaultChecked;x.removeAttribute(y),x.defaultChecked=F,x.checked=D?F:!1}}else t.removeAttribute(b);else I||c.includes(y)&&(i||typeof C!="string")?t[y]=C:typeof C!="function"&&Ce(t,y,C)}}}return l&&ot(!0),s}function Tt(t,e,r=[],n,a=!1,o=Mr){const i=r.map(o);var d=void 0,l={},s=t.nodeName==="SELECT",g=!1;cr(()=>{var f=e(...i.map(u));u2(t,d,f,n,a),g&&s&&"value"in f&&Yn(t,f.value,!1);for(let m of Object.getOwnPropertySymbols(l))f[m]||ct(l[m]);for(let m of Object.getOwnPropertySymbols(f)){var c=f[m];m.description===e1&&(!d||c!==d[m])&&(l[m]&&ct(l[m]),l[m]=pt(()=>n2(t,()=>c)))}d=f}),s&&Fi(t,()=>d.value),g=!0}function Ua(t){return t.__attributes??(t.__attributes={[Oi]:t.nodeName.includes("-"),[Gi]:t.namespaceURI===Kd})}var $i=new Map;function Bi(t){var e=$i.get(t.nodeName);if(e)return e;$i.set(t.nodeName,e=[]);for(var r,n=t,a=Element.prototype;a!==n;){r=Oo(n);for(var o in r)r[o].set&&e.push(o);n=xa(n)}return e}const c2=()=>performance.now(),rr={tick:t=>requestAnimationFrame(t),now:()=>c2(),tasks:new Set};function zi(){const t=rr.now();rr.tasks.forEach(e=>{e.c(t)||(rr.tasks.delete(e),e.f())}),rr.tasks.size!==0&&rr.tick(zi)}function f2(t){let e;return rr.tasks.size===0&&rr.tick(zi),{promise:new Promise(r=>{rr.tasks.add(e={c:t,f:r})}),abort(){rr.tasks.delete(e)}}}function Vn(t,e){Ga(()=>{t.dispatchEvent(new CustomEvent(e))})}function g2(t){if(t==="float")return"cssFloat";if(t==="offset")return"cssOffset";if(t.startsWith("--"))return t;const e=t.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(r=>r[0].toUpperCase()+r.slice(1)).join("")}function ji(t){const e={},r=t.split(";");for(const n of r){const[a,o]=n.split(":");if(!a||o===void 0)break;const i=g2(a.trim());e[i]=o.trim()}return e}const h2=t=>t;function m2(t,e,r,n){var a=(t&qd)!==0,o="both",i,d=e.inert,l=e.style.overflow,s,g;function f(){var p=Ee,y=be;ft(null),wt(null);try{return i??(i=r()(e,(n==null?void 0:n())??{},{direction:o}))}finally{ft(p),wt(y)}}var c={is_global:a,in(){e.inert=d,Vn(e,"introstart"),s=_a(e,f(),g,1,()=>{Vn(e,"introend"),s==null||s.abort(),s=i=void 0,e.style.overflow=l})},out(p){e.inert=!0,Vn(e,"outrostart"),g=_a(e,f(),s,0,()=>{Vn(e,"outroend"),p==null||p()})},stop:()=>{s==null||s.abort(),g==null||g.abort()}},m=be;if((m.transitions??(m.transitions=[])).push(c),$n){var h=a;if(!h){for(var v=m.parent;v&&(v.f&Zr)!==0;)for(;(v=v.parent)&&(v.f&Mn)===0;);h=!v||(v.f&Pa)!==0}h&&Xe(()=>{St(()=>c.in())})}}function _a(t,e,r,n,a){var o=n===1;if(Yr(e)){var i,d=!1;return _r(()=>{if(!d){var p=e({direction:o?"in":"out"});i=_a(t,p,r,n,a)}}),{abort:()=>{d=!0,i==null||i.abort()},deactivate:()=>i.deactivate(),reset:()=>i.reset(),t:()=>i.t()}}if(r==null||r.deactivate(),!(e!=null&&e.duration))return a(),{abort:Vr,deactivate:Vr,reset:Vr,t:()=>n};const{delay:l=0,css:s,tick:g,easing:f=h2}=e;var c=[];if(o&&r===void 0&&(g&&g(0,1),s)){var m=ji(s(0,1));c.push(m,m)}var h=()=>1-n,v=t.animate(c,{duration:l,fill:"forwards"});return v.onfinish=()=>{v.cancel();var p=(r==null?void 0:r.t())??1-n;r==null||r.abort();var y=n-p,I=e.duration*Math.abs(y),b=[];if(I>0){var C=!1;if(s)for(var x=Math.ceil(I/16.666666666666668),D=0;D<=x;D+=1){var F=p+y*f(D/x),A=ji(s(F,1-F));b.push(A),C||(C=A.overflow==="hidden")}C&&(t.style.overflow="hidden"),h=()=>{var L=v.currentTime;return p+y*f(L/I)},g&&f2(()=>{if(v.playState!=="running")return!1;var L=h();return g(L,1-L),!0})}v=t.animate(b,{duration:I,fill:"forwards"}),v.onfinish=()=>{h=()=>n,g==null||g(n,1-n),a()}},{abort:()=>{v&&(v.cancel(),v.effect=null,v.onfinish=Vr)},deactivate:()=>{a=Vr},reset:()=>{n===0&&(g==null||g(1,0))},t:()=>h()}}function v2(t,e,r=e){var n=Hr();wi(t,"input",a=>{var o=a?t.defaultValue:t.value;if(o=Xa(t)?qa(o):o,r(o),n&&o!==(o=e())){var i=t.selectionStart,d=t.selectionEnd;t.value=o??"",d!==null&&(t.selectionStart=i,t.selectionEnd=Math.min(d,t.value.length))}}),(J&&t.defaultValue!==t.value||St(e)==null&&t.value)&&r(Xa(t)?qa(t.value):t.value),Rr(()=>{var a=e();Xa(t)&&a===qa(t.value)||t.type==="date"&&!a&&!t.value||a!==t.value&&(t.value=a??"")})}function Xa(t){var e=t.type;return e==="number"||e==="range"}function qa(t){return t===""?null:+t}function p2(t,e,r){var n=Yt(t,e);n&&n.set&&(t[e]=r,Fa(()=>{t[e]=null}))}function Yi(t,e){return t===e||(t==null?void 0:t[Zt])===e}function pn(t={},e,r,n){return Xe(()=>{var a,o;return Rr(()=>{a=o,o=[],St(()=>{t!==r(...o)&&(e(t,...o),a&&Yi(r(...a),t)&&e(null,...a))})}),()=>{_r(()=>{o&&Yi(r(...o),t)&&e(null,...o)})}}),t}function Zn(t=!1){const e=Se,r=e.l.u;if(!r)return;let n=()=>mr(e.s);if(t){let a=0,o={};const i=Mr(()=>{let d=!1;const l=e.s;for(const s in l)l[s]!==o[s]&&(o[s]=l[s],d=!0);return d&&a++,a});n=()=>u(i)}r.b.length&&I1(()=>{Vi(e,n),Nn(r.b)}),Lr(()=>{const a=St(()=>r.m.map(a1));return()=>{for(const o of a)typeof o=="function"&&o()}}),r.a.length&&Lr(()=>{Vi(e,n),Nn(r.a)})}function Vi(t,e){if(t.l.s)for(const r of t.l.s)u(r);e()}function Jt(t,e){var o;var r=(o=t.$$events)==null?void 0:o[e.type],n=jr(r)?r.slice():r==null?[]:[r];for(var a of n)a.call(this,e)}let Wn=!1;function b2(t){var e=Wn;try{return Wn=!1,[t(),Wn]}finally{Wn=e}}const C2={get(t,e){if(!t.exclude.includes(e))return t.props[e]},set(t,e){return!1},getOwnPropertyDescriptor(t,e){if(!t.exclude.includes(e)&&e in t.props)return{enumerable:!0,configurable:!0,value:t.props[e]}},has(t,e){return t.exclude.includes(e)?!1:e in t.props},ownKeys(t){return Reflect.ownKeys(t.props).filter(e=>!t.exclude.includes(e))}};function kt(t,e,r){return new Proxy({props:t,exclude:e},C2)}const y2={get(t,e){if(!t.exclude.includes(e))return u(t.version),e in t.special?t.special[e]():t.props[e]},set(t,e,r){return e in t.special||(t.special[e]=$({get[e](){return t.props[e]}},e,So)),t.special[e](r),Uo(t.version),!0},getOwnPropertyDescriptor(t,e){if(!t.exclude.includes(e)&&e in t.props)return{enumerable:!0,configurable:!0,value:t.props[e]}},deleteProperty(t,e){return t.exclude.includes(e)||(t.exclude.push(e),Uo(t.version)),!0},has(t,e){return t.exclude.includes(e)?!1:e in t.props},ownKeys(t){return Reflect.ownKeys(t.props).filter(e=>!t.exclude.includes(e))}};function Zi(t,e){return new Proxy({props:t,exclude:e,special:{},version:sr(0)},y2)}const A2={get(t,e){let r=t.props.length;for(;r--;){let n=t.props[r];if(Yr(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n)return n[e]}},set(t,e,r){let n=t.props.length;for(;n--;){let a=t.props[n];Yr(a)&&(a=a());const o=Yt(a,e);if(o&&o.set)return o.set(r),!0}return!1},getOwnPropertyDescriptor(t,e){let r=t.props.length;for(;r--;){let n=t.props[r];if(Yr(n)&&(n=n()),typeof n=="object"&&n!==null&&e in n){const a=Yt(n,e);return a&&!a.configurable&&(a.configurable=!0),a}}},has(t,e){if(e===Zt||e===Da)return!1;for(let r of t.props)if(Yr(r)&&(r=r()),r!=null&&e in r)return!0;return!1},ownKeys(t){const e=[];for(let r of t.props)if(Yr(r)&&(r=r()),!!r){for(const n in r)e.includes(n)||e.push(n);for(const n of Object.getOwnPropertySymbols(r))e.includes(n)||e.push(n)}return e}};function br(...t){return new Proxy({props:t},A2)}function Wi(t){var e;return((e=t.ctx)==null?void 0:e.d)??!1}function $(t,e,r,n){var D;var a=(r&Hd)!==0,o=!Wr||(r&Ud)!==0,i=(r&_d)!==0,d=(r&Xd)!==0,l=!1,s;i?[s,l]=b2(()=>t[e]):s=t[e];var g=Zt in t||Da in t,f=i&&(((D=Yt(t,e))==null?void 0:D.set)??(g&&e in t&&(F=>t[e]=F)))||void 0,c=n,m=!0,h=!1,v=()=>(h=!0,m&&(m=!1,d?c=St(n):c=n),c);s===void 0&&n!==void 0&&(f&&o&&g1(),s=v(),f&&f(s));var p;if(o)p=()=>{var F=t[e];return F===void 0?v():(m=!0,h=!1,F)};else{var y=(a?Mr:lr)(()=>t[e]);y.f|=o1,p=()=>{var F=u(y);return F!==void 0&&(c=void 0),F===void 0?c:F}}if((r&So)===0&&o)return p;if(f){var I=t.$$legacy;return function(F,A){return arguments.length>0?((!o||!A||I||l)&&f(A?p():F),F):p()}}var b=!1,C=ur(s),x=Mr(()=>{var F=p(),A=u(C);return b?(b=!1,A):C.v=F});return i&&u(x),a||(x.equals=La),function(F,A){if(arguments.length>0){const L=A?u(x):o&&i?Et(F):F;if(!x.equals(L)){if(b=!0,T(C,L),h&&c!==void 0&&(c=L),Wi(x))return F;St(()=>u(x))}return F}return Wi(x)?x.v:u(x)}}function w2(t){return new I2(t)}class I2{constructor(e){Lo(this,ir);Lo(this,Pt);var o;var r=new Map,n=(i,d)=>{var l=ur(d);return r.set(i,l),l};const a=new Proxy({...e.props||{},$$events:{}},{get(i,d){return u(r.get(d)??n(d,Reflect.get(i,d)))},has(i,d){return d===Da?!0:(u(r.get(d)??n(d,Reflect.get(i,d))),Reflect.has(i,d))},set(i,d,l){return T(r.get(d)??n(d,l),l),Reflect.set(i,d,l)}});Ro(this,Pt,(e.hydrate?_1:Ni)(e.component,{target:e.target,anchor:e.anchor,props:a,context:e.context,intro:e.intro??!1,recover:e.recover})),(!((o=e==null?void 0:e.props)!=null&&o.$$host)||e.sync===!1)&&Ze(),Ro(this,ir,a.$$events);for(const i of Object.keys(mt(this,Pt)))i==="$set"||i==="$destroy"||i==="$on"||kn(this,i,{get(){return mt(this,Pt)[i]},set(d){mt(this,Pt)[i]=d},enumerable:!0});mt(this,Pt).$set=i=>{Object.assign(a,i)},mt(this,Pt).$destroy=()=>{X1(mt(this,Pt))}}$set(e){mt(this,Pt).$set(e)}$on(e,r){mt(this,ir)[e]=mt(this,ir)[e]||[];const n=(...a)=>r.call(this,...a);return mt(this,ir)[e].push(n),()=>{mt(this,ir)[e]=mt(this,ir)[e].filter(a=>a!==n)}}$destroy(){mt(this,Pt).$destroy()}}ir=new WeakMap,Pt=new WeakMap;let Hi;typeof HTMLElement=="function"&&(Hi=class extends HTMLElement{constructor(e,r,n){super();jt(this,"$$ctor");jt(this,"$$s");jt(this,"$$c");jt(this,"$$cn",!1);jt(this,"$$d",{});jt(this,"$$r",!1);jt(this,"$$p_d",{});jt(this,"$$l",{});jt(this,"$$l_u",new Map);jt(this,"$$me");this.$$ctor=e,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(e,r,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(r),this.$$c){const a=this.$$c.$on(e,r);this.$$l_u.set(r,a)}super.addEventListener(e,r,n)}removeEventListener(e,r,n){if(super.removeEventListener(e,r,n),this.$$c){const a=this.$$l_u.get(r);a&&(a(),this.$$l_u.delete(r))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(a){return o=>{const i=document.createElement("slot");a!=="default"&&(i.name=a),w(o,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=x2(this);for(const a of this.$$s)a in n&&(a==="default"&&!this.$$d.children?(this.$$d.children=e(a),r.default=!0):r[a]=e(a));for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=Hn(o,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=w2({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:r,$$host:this}}),this.$$me=x1(()=>{Rr(()=>{var a;this.$$r=!0;for(const o of xn(this.$$c)){if(!((a=this.$$p_d[o])!=null&&a.reflect))continue;this.$$d[o]=this.$$c[o];const i=Hn(o,this.$$d[o],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,i)}this.$$r=!1})});for(const a in this.$$l)for(const o of this.$$l[a]){const i=this.$$c.$on(a,o);this.$$l_u.set(o,i)}this.$$l={}}}attributeChangedCallback(e,r,n){var a;this.$$r||(e=this.$$g_p(e),this.$$d[e]=Hn(e,n,this.$$p_d,"toProp"),(a=this.$$c)==null||a.$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 xn(this.$$p_d).find(r=>this.$$p_d[r].attribute===e||!this.$$p_d[r].attribute&&r.toLowerCase()===e)||e}});function Hn(t,e,r,n){var o;const a=(o=r[t])==null?void 0:o.type;if(e=a==="Boolean"&&typeof e!="boolean"?e!=null:e,!n||!r[t])return e;if(n==="toAttribute")switch(a){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(a){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function x2(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function Tr(t,e,r,n,a,o){let i=class extends Hi{constructor(){super(t,r,a),this.$$p_d=e}static get observedAttributes(){return xn(e).map(d=>(e[d].attribute||d).toLowerCase())}};return xn(e).forEach(d=>{kn(i.prototype,d,{get(){return this.$$c&&d in this.$$c?this.$$c[d]:this.$$d[d]},set(l){var f;l=Hn(d,l,e),this.$$d[d]=l;var s=this.$$c;if(s){var g=(f=Yt(s,d))==null?void 0:f.get;g?s[d]=l:s.$set({[d]:l})}}})}),n.forEach(d=>{kn(i.prototype,d,{get(){var l;return(l=this.$$c)==null?void 0:l[d]}})}),t.element=i,i}const k2=`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.-right-1\\.5{right:-.375rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-px{bottom:1px}.left-0{left:0}.left-1\\/2{left:50%}.left-4{left:1rem}.left-\\[84px\\]{left:84px}.left-px{left:1px}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-1\\/2{top:50%}.top-2{top:.5rem}.top-5{top:1.25rem}.top-full{top:100%}.z-10{z-index:10}.z-20{z-index:20}.z-\\[--s-login-popup-zindex\\]{z-index:var(--s-login-popup-zindex)}.-m-px{margin:-1px}.mx-auto{margin-left:auto;margin-right:auto}.my-px{margin-top:1px;margin-bottom:1px}.-mb-0\\.5{margin-bottom:-.125rem}.-mt-px{margin-top:-1px}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-6{margin-bottom:1.5rem}.mr-2{margin-right:.5rem}.mt-0{margin-top:0}.mt-0\\.5{margin-top:.125rem}.mt-1\\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.aspect-\\[4\\/3\\]{aspect-ratio:4/3}.h-1\\.5{height:.375rem}.h-12{height:3rem}.h-16{height:4rem}.h-3\\/4{height:75%}.h-4{height:1rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-full{height:100%}.h-px{height:1px}.w-1\\.5{width:.375rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-3\\/4{width:75%}.w-4{width:1rem}.w-8{width:2rem}.w-\\[--s-login-popup-width\\]{width:var(--s-login-popup-width)}.w-\\[calc\\(100\\%\\+1px\\)\\]{width:calc(100% + 1px)}.w-\\[calc\\(100\\%\\+2px\\)\\]{width:calc(100% + 2px)}.w-full{width:100%}.max-w-\\[600px\\]{max-width:600px}.max-w-\\[800px\\]{max-width:800px}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-3\\.5{--tw-translate-y: -.875rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-\\[calc\\(50\\%\\+theme\\(space\\.3\\)\\)\\]{--tw-translate-y: calc((50% + .75rem)*-1) ;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-3{--tw-rotate: 3deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.auto-rows-fr{grid-auto-rows:minmax(0,1fr)}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\\[0fr\\]{grid-template-rows:0fr}.grid-rows-\\[1fr\\]{grid-template-rows:1fr}.\\!flex-nowrap{flex-wrap:nowrap!important}.items-center{align-items:center}.justify-center{justify-content:center}.\\!justify-between{justify-content:space-between!important}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-y-0\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-\\[--s-login-button-border-radius\\]{border-radius:var(--s-login-button-border-radius)}.rounded-\\[--s-login-popup-border-radius\\]{border-radius:var(--s-login-popup-border-radius)}.rounded-\\[var\\(--s-paywall-border-radius\\)\\]{border-radius:var(--s-paywall-border-radius)}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-\\[length\\:--s-login-button-border-width\\]{border-width:var(--s-login-button-border-width)}.border-\\[length\\:--s-login-popup-border-width\\]{border-width:var(--s-login-popup-border-width)}.border-x{border-left-width:1px;border-right-width:1px}.border-b{border-bottom-width:1px}.\\!border-red-500{--tw-border-opacity: 1 !important;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))!important}.border-\\[color\\:--s-login-button-border-color\\]{border-color:var(--s-login-button-border-color)}.border-\\[color\\:--s-login-popup-border-color\\]{border-color:var(--s-login-popup-border-color)}.border-current{border-color:currentColor}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-primary{border-color:var(--s-primary-color)}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-r-transparent{border-right-color:transparent}.bg-\\[\\#1F72CD\\]{--tw-bg-opacity: 1;background-color:rgb(31 114 205 / var(--tw-bg-opacity, 1))}.bg-\\[\\#FEB4C7\\]{--tw-bg-opacity: 1;background-color:rgb(254 180 199 / var(--tw-bg-opacity, 1))}.bg-\\[--s-login-popup-bgcolor\\]{background-color:var(--s-login-popup-bgcolor)}.bg-\\[color\\:--s-login-button-background-color\\]{background-color:var(--s-login-button-background-color)}.bg-\\[var\\(--s-paywall-bg-color\\)\\]{background-color:var(--s-paywall-bg-color)}.bg-\\[var\\(--s-paywall-btn-bg-color\\)\\]{background-color:var(--s-paywall-btn-bg-color)}.bg-\\[var\\(--s-paywall-tag-bg-color\\)\\]{background-color:var(--s-paywall-tag-bg-color)}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-primary{background-color:var(--s-primary-color)}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-none{background-image:none}.from-transparent{--tw-gradient-from: transparent var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-primary{--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--s-primary-color) var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.fill-\\[\\#3C4043\\]{fill:#3c4043}.fill-\\[\\#4A4A49\\]{fill:#4a4a49}.fill-black{fill:#000}.fill-current{fill:currentColor}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pl-4{padding-left:1rem}.pl-\\[84px\\]{padding-left:84px}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.\\!text-sm{font-size:.875rem!important;line-height:1.25rem!important}.\\!text-xs{font-size:.75rem!important;line-height:1rem!important}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\\[0\\.9em\\]{font-size:.9em}.text-\\[8px\\]{font-size:8px}.text-\\[length\\:--s-login-button-text-size\\]{font-size:var(--s-login-button-text-size)}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.\\!font-\\[--s-login-button-font-weight\\]{font-weight:var(--s-login-button-font-weight)!important}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.uppercase{text-transform:uppercase}.leading-\\[1\\.43\\]{line-height:1.43}.leading-none{line-height:1}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.text-\\[--s-login-popup-textcolor\\]{color:var(--s-login-popup-textcolor)}.text-\\[color\\:--s-login-button-text-color\\]{color:var(--s-login-button-text-color)}.text-\\[var\\(--s-paywall-btn-text-color\\)\\]{color:var(--s-paywall-btn-text-color)}.text-\\[var\\(--s-paywall-tag-text-color\\)\\]{color:var(--s-paywall-tag-text-color)}.text-\\[var\\(--s-paywall-text-color\\)\\]{color:var(--s-paywall-text-color)}.text-\\[var\\(--s-paywall-text-color-70\\)\\]{color:var(--s-paywall-text-color-70)}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-primary{color:var(--s-primary-color)}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline-0{outline-width:0px}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-transparent{--tw-ring-color: transparent}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[transform\\,font-size\\]{transition-property:transform,font-size;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-75{transition-duration:75ms}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.content-\\[\\'\\'\\]{--tw-content: "";content:var(--tw-content)}.row-up-left{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start;justify-content:flex-start}.row-up{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start;justify-content:center}.row-up-right{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start;justify-content:flex-end}.row-left{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start}.row{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:center}.row-right{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-end}.row-down-left{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-end;justify-content:flex-start}.row-down{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-end;justify-content:center}.row-down-right{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-end;justify-content:flex-end}.column-up-left{display:flex;flex-direction:column;align-items:flex-start}.column-up{display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.column-up-right{display:flex;flex-direction:column;align-items:flex-end}.column-left{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.column{display:flex;flex-direction:column;align-items:center;justify-content:center}.column-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:center}.column-down-left{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end}.column-down{display:flex;flex-direction:column;align-items:center;justify-content:flex-end}.column-down-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end}.\\@container{container-type:inline-size}.\\@container\\/box{container-type:inline-size;container-name:box}.markdown-container{font-size:.875rem;line-height:1.25rem}.markdown-container .headline{font-size:1.25em;font-weight:700;margin-bottom:.5em}.markdown-container p{margin-bottom:.5em}:is(.markdown-container p):last-child{margin-bottom:0}.markdown-container a,.inline-link{display:inline-block;position:relative;color:color-mix(in srgb,currentColor 80%,transparent)}:is(.markdown-container a,.inline-link):after{content:"";position:absolute;left:0;bottom:1px;width:100%;border-bottom:1px dashed currentColor}:is(.markdown-container a,.inline-link):hover{color:currentColor}:is(.markdown-container a,.inline-link):hover:after{border-bottom-style:solid}.with-icon:is(.markdown-container a,.inline-link){display:inline-flex;align-items:center;gap:.25em}.with-icon:is(.markdown-container a,.inline-link):after{width:calc(100% - 1.25em)}.with-icon:is(.markdown-container a,.inline-link) svg{transform:translateY(-1px)}.placeholder\\:text-gray-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.placeholder\\:text-gray-400::placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.placeholder\\:text-transparent::-moz-placeholder{color:transparent}.placeholder\\:text-transparent::placeholder{color:transparent}.focus-within\\:z-10:focus-within{z-index:10}.focus-within\\:text-gray-400:focus-within{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:bg-gray-100\\/50:hover{background-color:#f3f4f680}.hover\\:underline:hover{text-decoration-line:underline}.focus\\:z-10:focus{z-index:10}.focus\\:border-gray-300:focus{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.active\\:enabled\\:translate-y-px:enabled:active{--tw-translate-y: 1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\\:opacity-\\[20\\%\\]:disabled{opacity:20%}.group:hover .group-hover\\:opacity-80{opacity:.8}.peer:checked~.peer-checked\\:border-primary{border-color:var(--s-primary-color)}.peer:checked~.peer-checked\\:bg-primary{background-color:var(--s-primary-color)}.peer:focus~.peer-focus\\:-translate-y-\\[calc\\(50\\%\\+theme\\(space\\.3\\)\\)\\]{--tw-translate-y: calc((50% + .75rem)*-1) ;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:focus~.peer-focus\\:text-xs{font-size:.75rem;line-height:1rem}.peer:focus~.peer-focus\\:ring-primary{--tw-ring-color: var(--s-primary-color)}.peer:focus-visible~.peer-focus-visible\\:text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.has-\\[input\\:checked\\]\\:border-primary:has(input:checked){border-color:var(--s-primary-color)}@container box (min-width: 20rem){.\\@xs\\/box\\:h-7{height:1.75rem}.\\@xs\\/box\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.\\@xs\\/box\\:text-lg{font-size:1.125rem;line-height:1.75rem}}@container (min-width: 20rem){.\\@xs\\:px-8{padding-left:2rem;padding-right:2rem}}@container (min-width: 24rem){.\\@sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.\\@sm\\:p-8{padding:2rem}.\\@sm\\:pb-10{padding-bottom:2.5rem}}@container (min-width: 28rem){.\\@md\\:mt-8{margin-top:2rem}.\\@md\\:gap-4{gap:1rem}.\\@md\\:space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.\\@md\\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.\\@md\\:pb-8{padding-bottom:2rem}.\\@md\\:pt-4{padding-top:1rem}.\\@md\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.\\@md\\:row-left{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start}.\\@md\\:column-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:center}}@container (min-width: 36rem){.\\@xl\\:auto-rows-fr{grid-auto-rows:minmax(0,1fr)}.\\@xl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.\\@xl\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.\\@xl\\:gap-4{gap:1rem}.\\@xl\\:rounded-\\[var\\(--s-paywall-border-radius-desktop\\)\\]{border-radius:var(--s-paywall-border-radius-desktop)}.\\@xl\\:p-1{padding:.25rem}.\\@xl\\:text-base{font-size:1rem;line-height:1.5rem}.\\@xl\\:text-lg{font-size:1.125rem;line-height:1.75rem}.\\@xl\\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.\\@xl\\:row-left{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start}}@container (min-width: 48rem){.\\@3xl\\:p-16{padding:4rem}.\\@3xl\\:p-4{padding:1rem}.\\@3xl\\:px-16{padding-left:4rem;padding-right:4rem}.\\@3xl\\:pt-10{padding-top:2.5rem}}@container (min-width: 80rem){.\\@7xl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.dark\\:border:is(.dark *){border-width:1px}.dark\\:border-gray-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}.dark\\:border-gray-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.dark\\:border-gray-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity, 1))}.dark\\:bg-black:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.dark\\:bg-black\\/25:is(.dark *){background-color:#00000040}.dark\\:fill-white:is(.dark *){fill:#fff}.dark\\:text-black:is(.dark *){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.dark\\:text-gray-100:is(.dark *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity, 1))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.dark\\:focus\\:border-gray-600:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1))}@media not all and (min-width:640px){.max-sm\\:gap-0{gap:0px}}@media(min-width:640px){.sm\\:text-xs{font-size:.75rem;line-height:1rem}}@media not all and (min-width:640px){.max-sm\\:\\[\\&\\>\\*\\:first-child\\>\\*\\:first-child\\>label\\:first-of-type\\>\\:where\\(select\\,input\\)\\]\\:rounded-t-md>*:first-child>*:first-child>label:first-of-type>:where(select,input){border-top-left-radius:.375rem;border-top-right-radius:.375rem}.max-sm\\:\\[\\&\\>\\*\\:last-child\\>\\*\\:last-child\\>label\\:last-of-type\\>\\:where\\(select\\,input\\)\\]\\:rounded-b-md>*:last-child>*:last-child>label:last-of-type>:where(select,input){border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}.max-sm\\:\\[\\&\\>\\*\\]\\:gap-0>*{gap:0px}}.\\[\\&\\>label\\:first-child\\>\\:where\\(select\\,input\\)\\]\\:rounded-t-md>label:first-child>:where(select,input){border-top-left-radius:.375rem;border-top-right-radius:.375rem}.\\[\\&\\>label\\:last-child\\>\\:where\\(select\\,input\\)\\]\\:rounded-b-md>label:last-child>:where(select,input){border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}.\\[\\&\\>label\\>\\:where\\(select\\,input\\)\\]\\:rounded-none>label>:where(select,input){border-radius:0}.\\[\\&\\>svg\\]\\:max-w-full>svg{max-width:100%}.\\[\\&_label\\>\\:where\\(select\\,input\\)\\]\\:-mt-px label>:where(select,input){margin-top:-1px}@media not all and (min-width:640px){.max-sm\\:\\[\\&_label\\>\\:where\\(select\\,input\\)\\]\\:rounded-none label>:where(select,input){border-radius:0}}.\\[\\&_label\\>select\\]\\:-mt-px label>select{margin-top:-1px}`;async function Ui(){var t;return(t=window.sesamy)!=null&&t.isReady()?window.sesamy:new Promise((e,r)=>{const n=setTimeout(()=>{window.sesamy?e(window.sesamy):r(new Error("sesamyReady event did not occur within the expected time."))},5e3);function a(){window.sesamy?(clearTimeout(n),window.removeEventListener("sesamyJsReady",a),e(window.sesamy)):r(new Error("Sesamy API is not available"))}window.addEventListener("sesamyJsReady",a)})}const _i={cs:{already_subscribing:"Už jste se přihlásili k odběru?",birthdate_required:"Vyžaduje se datum narození",click_to_update:"Klikněte pro aktualizaci",continue:"Pokračovat",country:"Země",date_of_birth:"Datum narození",day:"Den",did_you_mean:"Měl jste na mysli",email:"E-mailová adresa",first_name:"Křestní jméno",first_name_required:"Křestní jméno je povinné",go_back:"Vrátit se zpět",got_referred:"Někdo mi doporučil",invalid_birth_date:"Neplatné datum narození",invalid_birth_day:"Neplatný den",invalid_birth_month:"Neplatný měsíc",invalid_birth_year:"Nesprávný rok",invalid_email:"Neplatná e-mailová adresa",invalid_phone_number:"Neplatné telefonní číslo",is_gift:"Darujte dárek",last_name:"Příjmení",last_name_required:"Příjmení je povinné",login:"Přihlášení",logo_of:"Logo společnosti",logout:"Odhlášení",month:"Měsíc",my_account:"Můj účet",not_gift:"Kupte si pro sebe",pay_now:"Zaplaťte nyní",phone_number:"Telefonní číslo",phone_number_required:"Vyžaduje se telefonní číslo",powered_by_sesamy:"Platby, paywall a předplatné poháněné platformou <0>Sesamy subscription platform</0>.",read_more:"Přečtěte si více",recipient_details:"Údaje o příjemci",referral_email:"Doporučující e-mail",referral_email_required:"Je vyžadován doporučující e-mail",secure_payment:"Bezpečná platba šifrovaná pomocí SSL",something_went_wrong:"Něco se pokazilo",user_already_owns_item:"Tento produkt již vlastníte",year:"Rok",your_details:"Vaše údaje"},en:{already_subscribing:"Already subscribing?",birthdate_required:"Date of birth is required",click_to_update:"Click to update",continue:"Continue",country:"Country",date_of_birth:"Date of birth",day:"Day",did_you_mean:"Did you mean",email:"Email address",first_name:"First name",first_name_required:"First name is required",go_back:"Go back",got_referred:"I got referred by someone",invalid_birth_date:"Invalid date of birth",invalid_birth_day:"Invalid day",invalid_birth_month:"Invalid month",invalid_birth_year:"Invalid year",invalid_email:"Invalid email address",invalid_phone_number:"Invalid phone number",is_gift:"Give as a gift",last_name:"Last name",last_name_required:"Last name is required",login:"Login",logo_of:"Logo of",logout:"Log out",month:"Month",my_account:"My account",not_gift:"Buy for yourself",pay_now:"Pay now",phone_number:"Phone number",phone_number_required:"Phone number is required",powered_by_sesamy:"Payments, paywall and subscriptions powered by <0>Sesamy subscription platform</0>.",read_more:"Read more",recipient_details:"The recipient's details",referral_email:"Referral email",referral_email_required:"Referral email is required",secure_payment:"Secure SSL encrypted payment",something_went_wrong:"Something went wrong",user_already_owns_item:"You already own this product",year:"Year",your_details:"Your details"},fi:{already_subscribing:"Oletko jo tilannut?",birthdate_required:"Syntymäaika vaaditaan",click_to_update:"Klikkaa päivittääksesi",continue:"Jatka",country:"Maa",date_of_birth:"Syntymäaika",day:"Päivä",did_you_mean:"Tarkoititko",email:"Sähköpostiosoite",first_name:"Etunimi",first_name_required:"Etunimi vaaditaan",go_back:"Palaa takaisin",got_referred:"Minut lähetti joku",invalid_birth_date:"Virheellinen syntymäaika",invalid_birth_day:"Virheellinen päivä",invalid_birth_month:"Virheellinen kuukausi",invalid_birth_year:"Virheellinen vuosi",invalid_email:"Virheellinen sähköpostiosoite",invalid_phone_number:"Virheellinen puhelinnumero",is_gift:"Anna lahjaksi",last_name:"Sukunimi",last_name_required:"Sukunimi vaaditaan",login:"Kirjaudu sisään",logo_of:"Logo of",logout:"Kirjaudu ulos",month:"Kuukausi",my_account:"Tilini",not_gift:"Osta itsellesi",pay_now:"Maksa nyt",phone_number:"Puhelinnumero",phone_number_required:"Puhelinnumero vaaditaan",powered_by_sesamy:"Maksut, maksuseinät ja tilaukset, joita tukee <0>Sesamy-tilausalusta</0>.",read_more:"Lue lisää",recipient_details:"Vastaanottajan tiedot",referral_email:"Suosittelusähköposti",referral_email_required:"Suosittelusähköposti vaaditaan",secure_payment:"Turvallinen SSL-salattu maksu",something_went_wrong:"Jokin meni pieleen",user_already_owns_item:"Omistat jo tämän tuotteen",year:"Vuosi",your_details:"Tietosi"},it:{already_subscribing:"Siete già abbonati?",birthdate_required:"È richiesta la data di nascita",click_to_update:"Fare clic per aggiornare",continue:"Continua",country:"Paese",date_of_birth:"Data di nascita",day:"Giorno",did_you_mean:"Intendeva",email:"Indirizzo e-mail",first_name:"Nome",first_name_required:"Il nome è obbligatorio",go_back:"Torna indietro",got_referred:"Sono stato indirizzato da qualcuno",invalid_birth_date:"Data di nascita non valida",invalid_birth_day:"Giorno non valido",invalid_birth_month:"Mese non valido",invalid_birth_year:"Anno non valido",invalid_email:"Indirizzo e-mail non valido",invalid_phone_number:"Numero di telefono non valido",is_gift:"Regalo",last_name:"Cognome",last_name_required:"Il cognome è obbligatorio",login:"Accesso",logo_of:"Logo di",logout:"Disconnettersi",month:"Mese",my_account:"Il mio account",not_gift:"Comprati",pay_now:"Paga ora",phone_number:"Numero di telefono",phone_number_required:"Il numero di telefono è richiesto",powered_by_sesamy:"Pagamenti, paywall e abbonamenti alimentati dalla <0>piattaforma di abbonamento Sesamy</0>.",read_more:"Per saperne di più",recipient_details:"I dati del destinatario",referral_email:"Email di rinvio",referral_email_required:"L'e-mail di riferimento è necessaria",secure_payment:"Pagamento sicuro con crittografia SSL",something_went_wrong:"Qualcosa è andato storto",user_already_owns_item:"Possiedi già questo prodotto",year:"Anno",your_details:"I vostri dati"},nb:{already_subscribing:"Abonnerer du allerede?",birthdate_required:"Fødselsdato er påkrevd",click_to_update:"Klikk for å oppdatere",continue:"Fortsett",country:"Land",date_of_birth:"Fødselsdato",day:"Dag",did_you_mean:"Mente du",email:"E-postadresse",first_name:"Fornavn",first_name_required:"Fornavn er påkrevd",go_back:"Gå tilbake",got_referred:"Jeg har blitt vervet av noen",invalid_birth_date:"Ugyldig fødselsdato",invalid_birth_day:"Ugyldig dag",invalid_birth_month:"Ugyldig måned",invalid_birth_year:"Ugyldig år",invalid_email:"Ugyldig e-postadresse",invalid_phone_number:"Ugyldig telefonnummer",is_gift:"Gi som gave",last_name:"Etternavn",last_name_required:"Etternavn er påkrevd",login:"Logg inn",logo_of:"Logoen til",logout:"Logg ut",month:"Måned",my_account:"Min konto",not_gift:"Kjøp til deg",pay_now:"Betal nå",phone_number:"Telefonnummer",phone_number_required:"Telefonnummer er påkrevd",powered_by_sesamy:"Betalinger, paywall og abonnementer via <0>Sesamys abonnementplattform</0>.",read_more:"Les mer",recipient_details:"Mottakerens opplysninger",referral_email:"Henvisnings-e-post",referral_email_required:"Henvisnings-e-post er påkrevd",secure_payment:"Sikker SSL-kryptert betaling",something_went_wrong:"Noe gikk galt",user_already_owns_item:"Du eier allerede dette produktet",year:"År",your_details:"Dine opplysninger"},pl:{already_subscribing:"Już subskrybujesz?",birthdate_required:"Wymagana jest data urodzenia",click_to_update:"Kliknij, aby zaktualizować",continue:"Kontynuuj",country:"Kraj",date_of_birth:"Data urodzenia",day:"Dzień",did_you_mean:"Czy miałeś na myśli",email:"Adres e-mail",first_name:"Imię",first_name_required:"Imię jest wymagane",go_back:"Wróć",got_referred:"Zostałem polecony przez kogoś",invalid_birth_date:"Nieprawidłowa data urodzenia",invalid_birth_day:"Nieprawidłowy dzień",invalid_birth_month:"Nieprawidłowy miesiąc",invalid_birth_year:"Nieprawidłowy rok",invalid_email:"Nieprawidłowy adres e-mail",invalid_phone_number:"Nieprawidłowy numer telefonu",is_gift:"Podaruj prezent",last_name:"Nazwisko",last_name_required:"Nazwisko jest wymagane",login:"Logowanie",logo_of:"Logo",logout:"Wylogowanie",month:"Miesiąc",my_account:"Moje konto",not_gift:"Kup dla siebie",pay_now:"Zapłać teraz",phone_number:"Numer telefonu",phone_number_required:"Numer telefonu jest wymagany",powered_by_sesamy:"Płatności, paywall i subskrypcje zasilane przez <0>platformę subskrypcyjną Sesamy</0>.",read_more:"Czytaj więcej",recipient_details:"Dane odbiorcy",referral_email:"E-mail polecający",referral_email_required:"Wymagany jest e-mail polecający",secure_payment:"Bezpieczna płatność szyfrowana SSL",something_went_wrong:"Coś poszło nie tak",user_already_owns_item:"Posiadasz już ten produkt",year:"Rok",your_details:"Twoje dane"},sv:{already_subscribing:"Prenumererar du redan?",birthdate_required:"Födelsedatum är obligatoriskt",click_to_update:"Klicka för att uppdatera",continue:"Fortsätt",country:"Land",date_of_birth:"Födelsedatum",day:"Dag",did_you_mean:"Menade du",email:"E-postadress",first_name:"Förnamn",first_name_required:"Förnamn är obligatoriskt",go_back:"Gå tillbaka",got_referred:"Jag blev rekommenderad av någon",invalid_birth_date:"Ogiltigt födelsedatum",invalid_birth_day:"Ogiltig dag",invalid_birth_month:"Ogiltig månad",invalid_birth_year:"Ogiltigt år",invalid_email:"Ogiltig e-postadress",invalid_phone_number:"Ogiltigt telefonnummer",is_gift:"Ge gåva",last_name:"Efternamn",last_name_required:"Efternamn är obligatoriskt",login:"Logga in",logo_of:"Logotyp för",logout:"Logga ut",month:"Månad",my_account:"Mitt konto",not_gift:"Köp till dig",pay_now:"Betala nu",phone_number:"Telefonnummer",phone_number_required:"Telefonnummer är obligatoriskt",powered_by_sesamy:"Betalningar, betalvägg och prenumerationer via <0>Sesamys prenumerationsplattform</0>.",read_more:"Läs mer",recipient_details:"Mottagarens uppgifter",referral_email:"Referens e-post",referral_email_required:"Referens e-post krävs",secure_payment:"Säker SSL-krypterad betalning",something_went_wrong:"Något gick fel",user_already_owns_item:"Du har redan köpt den här produkten",year:"År",your_details:"Dina uppgifter"},da:{already_subscribing:"Abonnerer du allerede?",birthdate_required:"Fødselsdato er påkrævet",click_to_update:"Klik for at opdatere",continue:"Fortsæt",country:"Land",date_of_birth:"Fødselsdato",day:"Dag",did_you_mean:"Mente du, at",email:"E-mail-adresse",first_name:"Fornavn",first_name_required:"Fornavn er påkrævet",go_back:"Gå tilbage",got_referred:"Jeg blev henvist af nogen",invalid_birth_date:"Ugyldig fødselsdato",invalid_birth_day:"Ugyldig dag",invalid_birth_month:"Ugyldig måned",invalid_birth_year:"Ugyldigt år",invalid_email:"Ugyldig e-mailadresse",invalid_phone_number:"Ugyldigt telefonnummer",is_gift:"Giv en gave",last_name:"Efternavn",last_name_required:"Efternavn er påkrævet",login:"Login",logo_of:"Logo for",logout:"Log ud",month:"Måned",my_account:"Min konto",not_gift:"Køb til dig",pay_now:"Betal nu",phone_number:"Telefonnummer",phone_number_required:"Telefonnummer er påkrævet",powered_by_sesamy:"Betalinger, betalingsvæg og abonnementer via <0>Sesamys abonnementsplatform</0>.",read_more:"Læs mere",recipient_details:"Modtagerens oplysninger",referral_email:"Henvisnings-e-mail",referral_email_required:"Henvisnings-e-mail er påkrævet",secure_payment:"Sikker SSL-krypteret betaling",something_went_wrong:"Noget gik galt",user_already_owns_item:"Du ejer allerede dette produkt",year:"År",your_details:"Dine oplysninger"}};function N2(t,e){return e?t.replace(/<(\d+)>(.*?)<\/\1>/g,(r,n,a)=>{const o=n.toString();return e[o]?e[o](a):a}):t}function P2(t){const e=_i[t]?t:"en";return(r,n)=>{var o;const a=((o=_i[e])==null?void 0:o[r])||r;return N2(a,n)}}var M2=E('<p style="color: red"> </p>'),D2=E("<!> <!>",1);function Qr(t,e){ye(e,!0);let r=$(e,"applyStyles",3,!0);const n=Ui(),a=n.then(f=>{const c=e.lang||f.content.getLanguage();return P2(c)});let i=r()?"<style>"+k2+`
3
3
  :host {
4
4
  display: contents;
@@ -70,4 +70,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
70
70
  --s-paywall-border-radius: var(--sesamy-paywall-border-radius, 0.5rem);
71
71
  --s-paywall-border-radius-desktop: var(--sesamy-paywall-border-radius-desktop, calc(var(--s-paywall-border-radius) * 3));
72
72
  }
73
- `+"</style>";const b=()=>{clearTimeout(s),s=setTimeout(()=>{var A;T(g,((A=T0.run({email:u(f)}))==null?void 0:A.full)||"",!0)},400)},C=async()=>{var L;let A=!1;try{A=await e.api.auth.isAuthenticated()}catch(W){console.error("Auth check failed:",W)}return A||((L=e.onShown)==null||L.call(e),e.host&&wr(e.host,"sesamy:paywall-shown",{reason:"unauthenticated"})),A},x=async(A,L)=>{var W;A.preventDefault();try{await L.auth.login({authorizationParams:{login_hint:u(f),metadata:l!=null&&l.name?{firstName:u(c),lastName:u(m)}:void 0},appState:{source:"registration-wall"}}),(W=e.onAccessGranted)==null||W.call(e)}catch(K){console.error("Login failed:",K)}};var D=Ne(),F=Y(D);Ft(F,C,null,(A,L)=>{var W=Ne(),K=Y(W);{var ne=ve=>{var ae=e5(),G=Y(ae),B=M(G),O=M(B);const X=U(()=>te("w-full rounded-[var(--s-paywall-border-radius)] @xl:rounded-[var(--s-paywall-border-radius-desktop)]",(d==null?void 0:d.showBackground)&&"bg-[var(--s-paywall-bg-color)] text-[var(--s-paywall-text-color)]",(d==null?void 0:d.showBackground)&&(d==null?void 0:d.dropShadow)&&"shadow-md @xl:shadow-lg",v&&"dark"));Nt(O,{get class(){return u(X)},children:(S,oe)=>{const ee=U(()=>te("gap-2 @md:gap-4 pt-0 w-full max-w-[800px]",(d==null?void 0:d.showBackground)&&"px-2.5 py-4 @sm:p-8 @sm:pb-10 @3xl:p-16 @3xl:pt-10"));Nt(S,{get class(){return u(ee)},up:!0,left:!0,children:(Pe,Ie)=>{var R=Qu(),k=Y(R);Nt(k,{left:!0,class:"w-full gap-6",children:(Q,Fe)=>{var ke=_u(),ce=Y(ke);{var Le=Ue=>{var tt=Hu();z(rt=>{Ce(tt,"src",a),Ce(tt,"alt",rt)},[()=>`${e.t("logo_of")} ${o}`]),w(Ue,tt)};j(ce,Ue=>{i&&Ue(Le)})}var Ve=N(ce,2);Nt(Ve,{left:!0,class:"gap-3",children:(Ue,tt)=>{var rt=Uu(),re=Y(rt),le=M(re,!0);P(re);var q=N(re,2);jn(q,()=>"slot",!1,(xe,se)=>{Tt(xe,()=>({name:"below-headline"}))}),z(()=>_(le,r)),w(Ue,rt)},$$slots:{default:!0}}),w(Q,ke)},$$slots:{default:!0}});var H=N(k,2);ao(H,{children:(Q,Fe)=>{var ke=Ku(),ce=Y(ke);const Le=U(()=>e.t("email"));Ot(ce,{onkeyup:b,compact:!0,get placeholder(){return u(Le)},get value(){return u(f)},set value(re){T(f,re,!0)}});var Ve=N(ce,2);{var Ue=re=>{var le=qu();le.__click=[Xu,f,g];var q=M(le);Kt(q,{class:"text-primary text-xl",name:"info"});var xe=N(q,2),se=M(xe),pe=N(se),Te=M(pe,!0);P(pe),Ht(),P(xe),P(le),z($e=>{_(se,`${$e??""} `),_(Te,u(g))},[()=>e.t("did_you_mean")]),w(re,le)};j(Ve,re=>{u(g)&&re(Ue)})}var tt=N(Ve,2);{var rt=re=>{var le=Ju(),q=Y(le);const xe=U(()=>e.t("first_name"));Ot(q,{compact:!0,get placeholder(){return u(xe)},get value(){return u(c)},set value(Te){T(c,Te,!0)}});var se=N(q,2);const pe=U(()=>e.t("last_name"));Ot(se,{compact:!0,get placeholder(){return u(pe)},get value(){return u(m)},set value(Te){T(m,Te,!0)}}),w(re,le)};j(tt,re=>{l!=null&&l.name&&re(rt)})}w(Q,ke)},$$slots:{default:!0}});var ie=N(H,2);v0(ie,{type:"submit",class:"w-full shadow-md",children:(Q,Fe)=>{Ht();var ke=qt();z(ce=>_(ke,ce),[()=>e.t("continue")]),w(Q,ke)},$$slots:{default:!0}}),w(Pe,R)},$$slots:{default:!0}})},$$slots:{default:!0}}),P(B),P(G);var he=N(G,2);pr(he,()=>I),Ct("submit",B,S=>x(S,e.api)),w(ve,ae)};j(K,ve=>{u(L)||ve(ne)})}w(A,W)}),w(t,D),Ae()}Jr(["click"]);var r5=E(" <!>",1),n5=E('<div class="sesamy-paywall-error"> </div>'),a5=E('<div class="sesamy-paywall" style="display: contents"><!></div>');function Td(t,e){ye(e,!0);let r=kt(e,["$$slots","$$events","$$legacy","$$host"]),n=!1,a=!1;const o=()=>{n=!0},i=()=>{a=!0};Mi(()=>{n&&!a&&wr(e.$$host,"sesamy:paywall-dismissed",{})});async function d(l){var y;const s=e.$$host,f=new URLSearchParams(window.location.search).has("lab_opts"),c=(y=l.content.get(s))==null?void 0:y.paywallUrl,m=f?c||r["settings-url"]:r["settings-url"]||c;if(!m)return null;const h=await fetch(m);if(!h.ok)throw new Error(`Failed to fetch paywall: ${h.status} ${h.statusText}`);const v=await h.json(),p=(v==null?void 0:v.settings.template)||"";return{paywall:v,template:p}}Qr(t,{children:Ln,$$slots:{default:(l,s)=>{const g=U(()=>s.api),f=U(()=>s.t);var c=Ne();const m=U(()=>e.$$host);var h=Y(c);Ft(h,()=>d(u(g)),v=>{var p=a5(),y=M(p);lt(y,e,"default",br({get api(){return u(g)},get t(){return u(f)}},()=>r),null),P(p),w(v,p)},(v,p)=>{var y=Ne(),I=Y(y);{var b=C=>{var x=r5(),D=Y(x),F=N(D);{var A=W=>{Fd(W,br({get api(){return u(g)},get paywall(){return u(p).paywall},get host(){return u(m)},get t(){return u(f)},onShown:o,onAccessGranted:i},()=>r))},L=(W,K)=>{{var ne=ae=>{Fd(ae,br({horizontal:!0,get api(){return u(g)},get paywall(){return u(p).paywall},get host(){return u(m)},get t(){return u(f)},onShown:o,onAccessGranted:i},()=>r))},ve=(ae,G)=>{{var B=O=>{t5(O,br({get api(){return u(g)},get t(){return u(f)},get paywall(){return u(p).paywall},get host(){return u(m)},onShown:o,onAccessGranted:i},()=>r))};j(ae,O=>{u(p).template==="LOGIN"&&O(B)},G)}};j(W,ae=>{u(p).template==="BOXES"?ae(ne):ae(ve,!1)},K)}};j(F,W=>{u(p).template==="ARTICLE"?W(A):W(L,!1)})}z(W=>_(D,`${W??""} `),[()=>u(g).log(`sesamy-paywall with template ${u(p).template}`)]),w(C,x)};j(I,C=>{u(p)&&C(b)})}w(v,y)},(v,p)=>{var y=n5(),I=M(y);P(y),z(()=>_(I,`Error loading paywall: ${u(p).message??""}`)),w(v,y)}),w(l,c)}}}),Ae()}customElements.define("sesamy-paywall",Tr(Td,{},["default"],[],!0));function Od(t,e){let r=kt(e,["$$slots","$$events","$$legacy","$$host"]);Qr(t,{children:(n,a)=>{to(n,br(()=>r))},$$slots:{default:!0}})}customElements.define("sesamy-avatar",Tr(Od,{},[],[],!0));function Gd(t,e){ye(e,!0);let r=$(e,"item-src",7,""),n=$(e,"publisher-content-id",7),a=$(e,"lock-mode",7,"embed"),o=$(e,"locked-content-selector",7),i=null;function d(){const m=e.$$host;if(!m||i)return;const h=m.querySelector('[slot="content"]');h&&(i=h.cloneNode(!0),h.remove())}async function l(m){const h=m.content.get(e.$$host);if(h){if(h.accessLevel==="public")return m.log("Content is public"),!0}else return m.log("No content found for host"),!1;return m.log("Checking access"),m.content.hasAccess(e.$$host)}function s(m){var I,b;const h=e.$$host,v=n()||((I=m.content.get(h))==null?void 0:I.id)||"",p=new CustomEvent("sesamyUnlocked",{detail:{publisherContentId:v,itemSrc:r()},bubbles:!0,composed:!0});dispatchEvent(p);const y=((b=h.dataset)==null?void 0:b.dcaContentName)??v??"";wr(h,"sesamy:content-unlocked",{contentName:y})}async function g(m){var b;if(!m)return;const h=e.$$host;if(!h)return;const v=document.createElement("div");v.setAttribute("position","relative");const p=h.getAttribute("class");p&&v.setAttribute("class",p),v.innerHTML=m;const y=v.querySelectorAll("script"),I=[];y.forEach(C=>{var x;try{const D=document.createElement("script");Array.from(C.attributes).forEach(F=>D.setAttribute(F.name,F.value)),C.src?document.head.appendChild(D):(D.textContent=C.textContent,I.push(D)),(x=C.parentNode)==null||x.removeChild(C)}catch(D){console.error("Failed to process script:",D,C)}}),(b=h.parentElement)==null||b.insertBefore(v,h),I.forEach(C=>{try{document.head.appendChild(C),C.type!=="module"&&document.head.removeChild(C)}catch(x){console.error("Failed to execute inline script:",x,C)}})}async function f(m){switch(a()){case"encode":const h=(i==null?void 0:i.innerHTML)||"";try{return new TextDecoder().decode(Uint8Array.from(atob(h),v=>v.charCodeAt(0)))}catch(v){return console.error("Error decoding content:",v),""}case"event":return s(m),"";case"proxy":case"signedUrl":return m.content.unlock(e.$$host.parentElement,o());case"embed":return(i==null?void 0:i.innerHTML)||"";default:return console.error("Invalid lock mode"),""}}async function c(m){try{d();const h=await f(m);await g(h),a()!=="event"&&s(m)}catch(h){console.error("Error unlocking content:",h)}}return Qr(t,{applyStyles:!1,children:Ln,$$slots:{default:(m,h)=>{const v=U(()=>h.api);var p=Ne(),y=Y(p);Ft(y,()=>l(u(v)),I=>{var b=Ne(),C=Y(b);lt(C,e,"preview",{},null),w(I,b)},(I,b)=>{var C=Ne(),x=Y(C);{var D=A=>{var L=Ne(),W=Y(L);Ft(W,()=>c(u(v)),K=>{var ne=Ne(),ve=Y(ne);lt(ve,e,"preview",{},null),w(K,ne)},K=>{}),w(A,L)},F=A=>{var L=Ne(),W=Y(L);lt(W,e,"preview",{},null),w(A,L)};j(x,A=>{u(b)?A(D):A(F,!1)})}w(I,C)}),w(m,p)}}}),Ae({get"item-src"(){return r()},set"item-src"(m=""){r(m),Ze()},get"publisher-content-id"(){return n()},set"publisher-content-id"(m){n(m),Ze()},get"lock-mode"(){return a()},set"lock-mode"(m="embed"){a(m),Ze()},get"locked-content-selector"(){return o()},set"locked-content-selector"(m){o(m),Ze()}})}customElements.define("sesamy-content-container",Tr(Gd,{"item-src":{},"publisher-content-id":{},"lock-mode":{},"locked-content-selector":{}},["preview"],[],!0));function $d(t,e){ye(e,!1);const r=Ui(),n=async()=>{try{return(await r).auth.isAuthenticated()}catch(i){return console.error("Error checking login status:",i),!1}};Zn();var a=Ne(),o=Y(a);Ft(o,n,null,(i,d)=>{var l=Ne(),s=Y(l);{var g=c=>{var m=Ne(),h=Y(m);lt(h,e,"logged-in",{},null),w(c,m)},f=c=>{var m=Ne(),h=Y(m);lt(h,e,"not-logged-in",{},null),w(c,m)};j(s,c=>{u(d)?c(g):c(f,!1)})}w(i,l)}),w(t,a),Ae()}customElements.define("sesamy-visibility",Tr($d,{},["logged-in","not-logged-in"],[],!0));function Bd(t,e){let r=kt(e,["$$slots","$$events","$$legacy","$$host"]);Qr(t,{children:Ln,$$slots:{default:(n,a)=>{const o=U(()=>a.api),i=U(()=>a.t);qn(n,br({get api(){return u(o)},get t(){return u(i)}},()=>r))}}})}customElements.define("sesamy-login-menu-item",Tr(Bd,{},[],[],!0));const o5=qe;me.Avatar=Od,me.ContentContainer=Gd,me.Login=p0,me.LoginMenuItem=Bd,me.Paywall=Td,me.SesamyEventName=Dl,me.Visibility=$d,me.sesamyComponentsVersion=o5,Object.defineProperty(me,Symbol.toStringTag,{value:"Module"})}));
73
+ `+"</style>";const b=()=>{clearTimeout(s),s=setTimeout(()=>{var A;T(g,((A=T0.run({email:u(f)}))==null?void 0:A.full)||"",!0)},400)},C=async()=>{var L;let A=!1;try{A=await e.api.auth.isAuthenticated()}catch(W){console.error("Auth check failed:",W)}return A||((L=e.onShown)==null||L.call(e),e.host&&wr(e.host,"sesamy:paywall-shown",{reason:"unauthenticated"})),A},x=async(A,L)=>{var W;A.preventDefault();try{await L.auth.login({authorizationParams:{login_hint:u(f),metadata:l!=null&&l.name?{firstName:u(c),lastName:u(m)}:void 0},appState:{source:"registration-wall"}}),(W=e.onAccessGranted)==null||W.call(e)}catch(K){console.error("Login failed:",K)}};var D=Ne(),F=Y(D);Ft(F,C,null,(A,L)=>{var W=Ne(),K=Y(W);{var ne=ve=>{var ae=e5(),G=Y(ae),B=M(G),O=M(B);const X=U(()=>te("w-full rounded-[var(--s-paywall-border-radius)] @xl:rounded-[var(--s-paywall-border-radius-desktop)]",(d==null?void 0:d.showBackground)&&"bg-[var(--s-paywall-bg-color)] text-[var(--s-paywall-text-color)]",(d==null?void 0:d.showBackground)&&(d==null?void 0:d.dropShadow)&&"shadow-md @xl:shadow-lg",v&&"dark"));Nt(O,{get class(){return u(X)},children:(S,oe)=>{const ee=U(()=>te("gap-2 @md:gap-4 pt-0 w-full max-w-[800px]",(d==null?void 0:d.showBackground)&&"px-2.5 py-4 @sm:p-8 @sm:pb-10 @3xl:p-16 @3xl:pt-10"));Nt(S,{get class(){return u(ee)},up:!0,left:!0,children:(Pe,Ie)=>{var R=Qu(),k=Y(R);Nt(k,{left:!0,class:"w-full gap-6",children:(Q,Fe)=>{var ke=_u(),ce=Y(ke);{var Le=Ue=>{var tt=Hu();z(rt=>{Ce(tt,"src",a),Ce(tt,"alt",rt)},[()=>`${e.t("logo_of")} ${o}`]),w(Ue,tt)};j(ce,Ue=>{i&&Ue(Le)})}var Ve=N(ce,2);Nt(Ve,{left:!0,class:"gap-3",children:(Ue,tt)=>{var rt=Uu(),re=Y(rt),le=M(re,!0);P(re);var q=N(re,2);jn(q,()=>"slot",!1,(xe,se)=>{Tt(xe,()=>({name:"below-headline"}))}),z(()=>_(le,r)),w(Ue,rt)},$$slots:{default:!0}}),w(Q,ke)},$$slots:{default:!0}});var H=N(k,2);ao(H,{children:(Q,Fe)=>{var ke=Ku(),ce=Y(ke);const Le=U(()=>e.t("email"));Ot(ce,{onkeyup:b,compact:!0,get placeholder(){return u(Le)},get value(){return u(f)},set value(re){T(f,re,!0)}});var Ve=N(ce,2);{var Ue=re=>{var le=qu();le.__click=[Xu,f,g];var q=M(le);Kt(q,{class:"text-primary text-xl",name:"info"});var xe=N(q,2),se=M(xe),pe=N(se),Te=M(pe,!0);P(pe),Ht(),P(xe),P(le),z($e=>{_(se,`${$e??""} `),_(Te,u(g))},[()=>e.t("did_you_mean")]),w(re,le)};j(Ve,re=>{u(g)&&re(Ue)})}var tt=N(Ve,2);{var rt=re=>{var le=Ju(),q=Y(le);const xe=U(()=>e.t("first_name"));Ot(q,{compact:!0,get placeholder(){return u(xe)},get value(){return u(c)},set value(Te){T(c,Te,!0)}});var se=N(q,2);const pe=U(()=>e.t("last_name"));Ot(se,{compact:!0,get placeholder(){return u(pe)},get value(){return u(m)},set value(Te){T(m,Te,!0)}}),w(re,le)};j(tt,re=>{l!=null&&l.name&&re(rt)})}w(Q,ke)},$$slots:{default:!0}});var ie=N(H,2);v0(ie,{type:"submit",class:"w-full shadow-md",children:(Q,Fe)=>{Ht();var ke=qt();z(ce=>_(ke,ce),[()=>e.t("continue")]),w(Q,ke)},$$slots:{default:!0}}),w(Pe,R)},$$slots:{default:!0}})},$$slots:{default:!0}}),P(B),P(G);var he=N(G,2);pr(he,()=>I),Ct("submit",B,S=>x(S,e.api)),w(ve,ae)};j(K,ve=>{u(L)||ve(ne)})}w(A,W)}),w(t,D),Ae()}Jr(["click"]);var r5=E(" <!>",1),n5=E('<div class="sesamy-paywall-error"> </div>'),a5=E('<div class="sesamy-paywall" style="display: contents"><!></div>');function Td(t,e){ye(e,!0);let r=kt(e,["$$slots","$$events","$$legacy","$$host"]),n=!1,a=!1;const o=()=>{n=!0},i=()=>{a=!0};Mi(()=>{n&&!a&&wr(e.$$host,"sesamy:paywall-dismissed",{})});async function d(l){var y;const s=e.$$host,f=new URLSearchParams(window.location.search).has("lab_opts"),c=(y=l.content.get(s))==null?void 0:y.paywallUrl,m=f?c||r["settings-url"]:r["settings-url"]||c;if(!m)return null;const h=await fetch(m);if(!h.ok)throw new Error(`Failed to fetch paywall: ${h.status} ${h.statusText}`);const v=await h.json(),p=(v==null?void 0:v.settings.template)||"";return{paywall:v,template:p}}Qr(t,{children:Ln,$$slots:{default:(l,s)=>{const g=U(()=>s.api),f=U(()=>s.t);var c=Ne();const m=U(()=>e.$$host);var h=Y(c);Ft(h,()=>d(u(g)),v=>{var p=a5(),y=M(p);lt(y,e,"default",br({get api(){return u(g)},get t(){return u(f)}},()=>r),null),P(p),w(v,p)},(v,p)=>{var y=Ne(),I=Y(y);{var b=C=>{var x=r5(),D=Y(x),F=N(D);{var A=W=>{Fd(W,br({get api(){return u(g)},get paywall(){return u(p).paywall},get host(){return u(m)},get t(){return u(f)},onShown:o,onAccessGranted:i},()=>r))},L=(W,K)=>{{var ne=ae=>{Fd(ae,br({horizontal:!0,get api(){return u(g)},get paywall(){return u(p).paywall},get host(){return u(m)},get t(){return u(f)},onShown:o,onAccessGranted:i},()=>r))},ve=(ae,G)=>{{var B=O=>{t5(O,br({get api(){return u(g)},get t(){return u(f)},get paywall(){return u(p).paywall},get host(){return u(m)},onShown:o,onAccessGranted:i},()=>r))};j(ae,O=>{u(p).template==="LOGIN"&&O(B)},G)}};j(W,ae=>{u(p).template==="BOXES"?ae(ne):ae(ve,!1)},K)}};j(F,W=>{u(p).template==="ARTICLE"?W(A):W(L,!1)})}z(W=>_(D,`${W??""} `),[()=>u(g).log(`sesamy-paywall with template ${u(p).template}`)]),w(C,x)};j(I,C=>{u(p)&&C(b)})}w(v,y)},(v,p)=>{var y=n5(),I=M(y);P(y),z(()=>_(I,`Error loading paywall: ${u(p).message??""}`)),w(v,y)}),w(l,c)}}}),Ae()}customElements.define("sesamy-paywall",Tr(Td,{},["default"],[],!0));function Od(t,e){let r=kt(e,["$$slots","$$events","$$legacy","$$host"]);Qr(t,{children:(n,a)=>{to(n,br(()=>r))},$$slots:{default:!0}})}customElements.define("sesamy-avatar",Tr(Od,{},[],[],!0));function Gd(t,e){ye(e,!0);let r=$(e,"item-src",7,""),n=$(e,"publisher-content-id",7),a=$(e,"lock-mode",7,"embed"),o=$(e,"locked-content-selector",7),i=null;function d(){const m=e.$$host;if(!m||i)return;const h=m.querySelector('[slot="content"]');h&&(i=h.cloneNode(!0),h.remove())}async function l(m){const h=m.content.get(e.$$host);if(h){if(h.accessLevel==="public")return m.log("Content is public"),!0}else return m.log("No content found for host"),!1;return m.log("Checking access"),m.content.hasAccess(e.$$host)}function s(m){var I,b;const h=e.$$host,v=n()||((I=m.content.get(h))==null?void 0:I.id)||"",p=new CustomEvent("sesamyUnlocked",{detail:{publisherContentId:v,itemSrc:r()},bubbles:!0,composed:!0});dispatchEvent(p);const y=((b=h.dataset)==null?void 0:b.dcaContentName)??v??"";wr(h,"sesamy:content-unlocked",{contentName:y})}async function g(m){var b;if(!m)return;const h=e.$$host;if(!h)return;const v=document.createElement("div");v.setAttribute("position","relative");const p=h.getAttribute("class");p&&v.setAttribute("class",p),v.innerHTML=m;const y=v.querySelectorAll("script"),I=[];y.forEach(C=>{var x;try{const D=document.createElement("script");Array.from(C.attributes).forEach(F=>D.setAttribute(F.name,F.value)),C.src?document.head.appendChild(D):(D.textContent=C.textContent,I.push(D)),(x=C.parentNode)==null||x.removeChild(C)}catch(D){console.error("Failed to process script:",D,C)}}),(b=h.parentElement)==null||b.insertBefore(v,h),I.forEach(C=>{try{document.head.appendChild(C),C.type!=="module"&&document.head.removeChild(C)}catch(x){console.error("Failed to execute inline script:",x,C)}})}async function f(m){switch(a()){case"encode":const h=(i==null?void 0:i.innerHTML)||"";try{return new TextDecoder().decode(Uint8Array.from(atob(h),v=>v.charCodeAt(0)))}catch(v){return console.error("Error decoding content:",v),""}case"event":return s(m),"";case"proxy":case"signedUrl":return m.content.unlock(e.$$host.parentElement,o());case"embed":return(i==null?void 0:i.innerHTML)||"";default:return console.error("Invalid lock mode"),""}}async function c(m){var h,v,p;try{if(await new Promise(I=>setTimeout(I,500)),!((h=e.$$host)!=null&&h.isConnected)||(d(),!((v=e.$$host)!=null&&v.isConnected)))return;const y=await f(m);if(!((p=e.$$host)!=null&&p.isConnected))return;await g(y),a()!=="event"&&s(m)}catch(y){console.error("Error unlocking content:",y)}}return Qr(t,{applyStyles:!1,children:Ln,$$slots:{default:(m,h)=>{const v=U(()=>h.api);var p=Ne(),y=Y(p);Ft(y,()=>l(u(v)),I=>{var b=Ne(),C=Y(b);lt(C,e,"preview",{},null),w(I,b)},(I,b)=>{var C=Ne(),x=Y(C);{var D=A=>{var L=Ne(),W=Y(L);Ft(W,()=>c(u(v)),K=>{var ne=Ne(),ve=Y(ne);lt(ve,e,"preview",{},null),w(K,ne)},K=>{}),w(A,L)},F=A=>{var L=Ne(),W=Y(L);lt(W,e,"preview",{},null),w(A,L)};j(x,A=>{u(b)?A(D):A(F,!1)})}w(I,C)}),w(m,p)}}}),Ae({get"item-src"(){return r()},set"item-src"(m=""){r(m),Ze()},get"publisher-content-id"(){return n()},set"publisher-content-id"(m){n(m),Ze()},get"lock-mode"(){return a()},set"lock-mode"(m="embed"){a(m),Ze()},get"locked-content-selector"(){return o()},set"locked-content-selector"(m){o(m),Ze()}})}customElements.define("sesamy-content-container",Tr(Gd,{"item-src":{},"publisher-content-id":{},"lock-mode":{},"locked-content-selector":{}},["preview"],[],!0));function $d(t,e){ye(e,!1);const r=Ui(),n=async()=>{try{return(await r).auth.isAuthenticated()}catch(i){return console.error("Error checking login status:",i),!1}};Zn();var a=Ne(),o=Y(a);Ft(o,n,null,(i,d)=>{var l=Ne(),s=Y(l);{var g=c=>{var m=Ne(),h=Y(m);lt(h,e,"logged-in",{},null),w(c,m)},f=c=>{var m=Ne(),h=Y(m);lt(h,e,"not-logged-in",{},null),w(c,m)};j(s,c=>{u(d)?c(g):c(f,!1)})}w(i,l)}),w(t,a),Ae()}customElements.define("sesamy-visibility",Tr($d,{},["logged-in","not-logged-in"],[],!0));function Bd(t,e){let r=kt(e,["$$slots","$$events","$$legacy","$$host"]);Qr(t,{children:Ln,$$slots:{default:(n,a)=>{const o=U(()=>a.api),i=U(()=>a.t);qn(n,br({get api(){return u(o)},get t(){return u(i)}},()=>r))}}})}customElements.define("sesamy-login-menu-item",Tr(Bd,{},[],[],!0));const o5=qe;me.Avatar=Od,me.ContentContainer=Gd,me.Login=p0,me.LoginMenuItem=Bd,me.Paywall=Td,me.SesamyEventName=Dl,me.Visibility=$d,me.sesamyComponentsVersion=o5,Object.defineProperty(me,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sesamy/sesamy-components",
3
3
  "description": "Shareable web components library built with Vite + Svelte",
4
- "version": "2.21.13",
4
+ "version": "2.21.14",
5
5
  "type": "module",
6
6
  "module": "dist/lib/sesamy-components.es.js",
7
7
  "main": "dist/lib/sesamy-components.umd.js",