@sockethub/examples 1.0.0-alpha.19 → 1.0.0-alpha.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/README.md +1 -1
  2. package/build/_app/immutable/assets/0.C4UYQlfe.css +1 -0
  3. package/build/_app/immutable/chunks/{BWVzoQAP.js → 3J8QMP2Y.js} +1 -1
  4. package/build/_app/immutable/chunks/{BJa-K1HI.js → B9A0qc9a.js} +1 -1
  5. package/build/_app/immutable/chunks/{BFggNCH_.js → BYPKMD8u.js} +1 -1
  6. package/build/_app/immutable/chunks/{Dd3sOYF9.js → BdtHEGL_.js} +1 -1
  7. package/build/_app/immutable/chunks/{C6XyCGtk.js → C7RIZnpe.js} +1 -1
  8. package/build/_app/immutable/chunks/{sOXp0zzN.js → CD2k2u89.js} +1 -1
  9. package/build/_app/immutable/chunks/CbROi3Jn.js +1 -0
  10. package/build/_app/immutable/chunks/{BxTKoTn_.js → Cj_plMLy.js} +1 -1
  11. package/build/_app/immutable/chunks/{B4QvvF9v.js → DKx16QfD.js} +1 -1
  12. package/build/_app/immutable/chunks/{B6vwNo36.js → DRQf9AgU.js} +1 -1
  13. package/build/_app/immutable/chunks/{DHN3DyXv.js → DhdgPWDb.js} +2 -2
  14. package/build/_app/immutable/chunks/{Cfa_Aa1G.js → Dm9HHmcs.js} +1 -1
  15. package/build/_app/immutable/chunks/DwTLqTAf.js +43 -0
  16. package/build/_app/immutable/chunks/{BkzolYRb.js → M4yGBGmj.js} +1 -1
  17. package/build/_app/immutable/chunks/{CUJhLo5A.js → XtX2ckS1.js} +1 -1
  18. package/build/_app/immutable/chunks/hmWg30fU.js +1 -0
  19. package/build/_app/immutable/entry/app.CJ3NoyW-.js +2 -0
  20. package/build/_app/immutable/entry/start.tteBvzOb.js +1 -0
  21. package/build/_app/immutable/nodes/0.BG1tT4ER.js +39 -0
  22. package/build/_app/immutable/nodes/{1.D3qZV2vo.js → 1.QkdmjIv3.js} +1 -1
  23. package/build/_app/immutable/nodes/{2.BysUTzcv.js → 2.DHzfe_7I.js} +2 -2
  24. package/build/_app/immutable/nodes/{8.DQNerIii.js → 3.BgzPo3wO.js} +1 -1
  25. package/build/_app/immutable/nodes/{4.DB8UnEA8.js → 4.BKsANTJg.js} +1 -1
  26. package/build/_app/immutable/nodes/{3.DKJ83Cvw.js → 5.BOOK1ims.js} +1 -1
  27. package/build/_app/immutable/nodes/{5.Cj8bv369.js → 6.Cki5_5wn.js} +1 -1
  28. package/build/_app/immutable/nodes/7.DPbQKnzj.js +1 -0
  29. package/build/_app/immutable/nodes/{7.Bi3xoTlo.js → 8.DfIFUyXA.js} +1 -1
  30. package/build/_app/immutable/nodes/{6.eKf13UwC.js → 9.DG2yRUwB.js} +1 -1
  31. package/build/_app/version.json +1 -1
  32. package/build/caldav.html +12 -12
  33. package/build/carddav.html +38 -0
  34. package/build/dummy.html +12 -12
  35. package/build/feeds.html +12 -12
  36. package/build/index.html +12 -12
  37. package/build/irc.html +12 -12
  38. package/build/metadata.html +12 -12
  39. package/build/xmpp.html +12 -12
  40. package/package.json +6 -3
  41. package/build/_app/immutable/assets/0.liGoyvVW.css +0 -1
  42. package/build/_app/immutable/chunks/BUnlO8zl.js +0 -36
  43. package/build/_app/immutable/chunks/D0ikSVuC.js +0 -1
  44. package/build/_app/immutable/chunks/DvphjqsX.js +0 -1
  45. package/build/_app/immutable/entry/app.DfHa-4d4.js +0 -2
  46. package/build/_app/immutable/entry/start.Bf_hVfxy.js +0 -1
  47. package/build/_app/immutable/nodes/0.Cd2_Nfba.js +0 -39
  48. /package/build/{config.json → examples-config.json} +0 -0
@@ -1,2 +1,2 @@
1
- var Ie=Object.defineProperty;var pe=t=>{throw TypeError(t)};var Le=(t,e,r)=>e in t?Ie(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var ee=(t,e,r)=>Le(t,typeof e!="symbol"?e+"":e,r),te=(t,e,r)=>e.has(t)||pe("Cannot "+r);var s=(t,e,r)=>(te(t,e,"read from private field"),r?r.call(t):e.get(t)),f=(t,e,r)=>e.has(t)?pe("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),a=(t,e,r,n)=>(te(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),p=(t,e,r)=>(te(t,e,"access private method"),r);import{aw as Ce,g as we,_ as Re,K as Fe,e as Me,ax as ge,O as de,C as v,B as E,Z as M,P as Pe,Q as Ne,ay as he,T as Ve,A as I,az as G,y as re,z as U,aA as Be,a5 as Q,aB as B,aC as ve,aD as Ye,aE as ie,i as Ae,D as xe,aF as me,aG as We,aH as ye,aI as He,aJ as Ue,x as se,V as j,n as je,U as qe,aK as Ee,aL as ze,R as Ge,aM as Xe,aN as $e,aO as Ke,X as Qe,aP as Ze,aQ as ne,aR as Je,aS as et,aT as tt,aU as rt,aV as st,aW as ae,aX as it,aY as nt,aZ as oe,W as X,a_ as at,a$ as ot,b0 as ut,b1 as lt,p as ft,b2 as ct,b3 as dt,a as ht}from"./sOXp0zzN.js";function _t(t){let e=0,r=Re(0),n;return()=>{Ce()&&(we(r),Fe(()=>(e===0&&(n=Me(()=>t(()=>ge(r)))),e+=1,()=>{de(()=>{e-=1,e===0&&(n==null||n(),n=void 0,ge(r))})})))}}var pt=Ge|Xe|$e;function gt(t,e,r){new vt(t,e,r)}var g,q,b,L,T,y,h,w,A,D,C,S,F,Y,x,k,Z,l,Se,De,ue,$,K,le;class vt{constructor(e,r,n){f(this,l);ee(this,"parent");ee(this,"is_pending",!1);f(this,g);f(this,q,E?v:null);f(this,b);f(this,L);f(this,T);f(this,y,null);f(this,h,null);f(this,w,null);f(this,A,null);f(this,D,null);f(this,C,0);f(this,S,0);f(this,F,!1);f(this,Y,new Set);f(this,x,new Set);f(this,k,null);f(this,Z,_t(()=>(a(this,k,Re(s(this,C))),()=>{a(this,k,null)})));a(this,g,e),a(this,b,r),a(this,L,n),this.parent=M.b,this.is_pending=!!s(this,b).pending,a(this,T,Pe(()=>{if(M.b=this,E){const i=s(this,q);Ne(),i.nodeType===he&&i.data===Ve?p(this,l,De).call(this):(p(this,l,Se).call(this),s(this,S)===0&&(this.is_pending=!1))}else{var o=p(this,l,ue).call(this);try{a(this,y,I(()=>n(o)))}catch(i){this.error(i)}s(this,S)>0?p(this,l,K).call(this):this.is_pending=!1}return()=>{var i;(i=s(this,D))==null||i.remove()}},pt)),E&&a(this,g,v)}defer_effect(e){Be(e,s(this,Y),s(this,x))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!s(this,b).pending}update_pending_count(e){p(this,l,le).call(this,e),a(this,C,s(this,C)+e),s(this,k)&&Ue(s(this,k),s(this,C))}get_effect_pending(){return s(this,Z).call(this),we(s(this,k))}error(e){var r=s(this,b).onerror;let n=s(this,b).failed;if(s(this,F)||!r&&!n)throw e;s(this,y)&&(se(s(this,y)),a(this,y,null)),s(this,h)&&(se(s(this,h)),a(this,h,null)),s(this,w)&&(se(s(this,w)),a(this,w,null)),E&&(j(s(this,q)),je(),j(qe()));var o=!1,i=!1;const u=()=>{if(o){Ke();return}o=!0,i&&ze(),G.ensure(),a(this,C,0),s(this,w)!==null&&re(s(this,w),()=>{a(this,w,null)}),this.is_pending=this.has_pending_snippet(),a(this,y,p(this,l,$).call(this,()=>(a(this,F,!1),I(()=>s(this,L).call(this,s(this,g)))))),s(this,S)>0?p(this,l,K).call(this):this.is_pending=!1};var m=ie;try{B(null),i=!0,r==null||r(e,u),i=!1}catch(_){Ee(_,s(this,T)&&s(this,T).parent)}finally{B(m)}n&&de(()=>{a(this,w,p(this,l,$).call(this,()=>{G.ensure(),a(this,F,!0);try{return I(()=>{n(s(this,g),()=>e,()=>u)})}catch(_){return Ee(_,s(this,T).parent),null}finally{a(this,F,!1)}}))})}}g=new WeakMap,q=new WeakMap,b=new WeakMap,L=new WeakMap,T=new WeakMap,y=new WeakMap,h=new WeakMap,w=new WeakMap,A=new WeakMap,D=new WeakMap,C=new WeakMap,S=new WeakMap,F=new WeakMap,Y=new WeakMap,x=new WeakMap,k=new WeakMap,Z=new WeakMap,l=new WeakSet,Se=function(){try{a(this,y,I(()=>s(this,L).call(this,s(this,g))))}catch(e){this.error(e)}},De=function(){const e=s(this,b).pending;e&&(a(this,h,I(()=>e(s(this,g)))),G.enqueue(()=>{var r=p(this,l,ue).call(this);a(this,y,p(this,l,$).call(this,()=>(G.ensure(),I(()=>s(this,L).call(this,r))))),s(this,S)>0?p(this,l,K).call(this):(re(s(this,h),()=>{a(this,h,null)}),this.is_pending=!1)}))},ue=function(){var e=s(this,g);return this.is_pending&&(a(this,D,U()),s(this,g).before(s(this,D)),e=s(this,D)),e},$=function(e){var r=M,n=ie,o=Ae;Q(s(this,T)),B(s(this,T)),ve(s(this,T).ctx);try{return e()}catch(i){return Ye(i),null}finally{Q(r),B(n),ve(o)}},K=function(){const e=s(this,b).pending;s(this,y)!==null&&(a(this,A,document.createDocumentFragment()),s(this,A).append(s(this,D)),xe(s(this,y),s(this,A))),s(this,h)===null&&a(this,h,I(()=>e(s(this,g))))},le=function(e){var r;if(!this.has_pending_snippet()){this.parent&&p(r=this.parent,l,le).call(r,e);return}if(a(this,S,s(this,S)+e),s(this,S)===0){this.is_pending=!1;for(const n of s(this,Y))me(n,We),ye(n);for(const n of s(this,x))me(n,He),ye(n);s(this,Y).clear(),s(this,x).clear(),s(this,h)&&re(s(this,h),()=>{a(this,h,null)}),s(this,A)&&(s(this,g).before(s(this,A)),a(this,A,null))}};function St(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const mt=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Dt(t){return mt.includes(t)}const yt={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 kt(t){return t=t.toLowerCase(),yt[t]??t}const Et=["touchstart","touchmove"];function bt(t){return Et.includes(t)}const ke=new Set,fe=new Set;function Ot(t,e,r,n={}){function o(i){if(n.capture||H.call(e,i),!i.cancelBubble)return Ze(()=>r==null?void 0:r.call(this,i))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?de(()=>{e.addEventListener(t,o,n)}):e.addEventListener(t,o,n),o}function It(t){for(var e=0;e<t.length;e++)ke.add(t[e]);for(var r of fe)r(t)}let be=null;function H(t){var _e;var e=this,r=e.ownerDocument,n=t.type,o=((_e=t.composedPath)==null?void 0:_e.call(t))||[],i=o[0]||t.target;be=t;var u=0,m=be===t&&t.__root;if(m){var _=o.indexOf(m);if(_!==-1&&(e===document||e===window)){t.__root=e;return}var P=o.indexOf(e);if(P===-1)return;_<=P&&(u=_)}if(i=o[u]||t.target,i!==e){Qe(t,"currentTarget",{configurable:!0,get(){return i||r}});var J=ie,R=M;B(null),Q(null);try{for(var c,d=[];i!==null;){var N=i.assignedSlot||i.parentNode||i.host||null;try{var W=i["__"+n];W!=null&&(!i.disabled||t.target===i)&&W.call(i,t)}catch(z){c?d.push(z):c=z}if(t.cancelBubble||N===e||N===null)break;i=N}if(c){for(let z of d)queueMicrotask(()=>{throw z});throw c}}finally{t.__root=e,delete t.currentTarget,B(J),Q(R)}}}function Tt(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function O(t,e){var r=M;r.nodes===null&&(r.nodes={start:t,end:e,a:null,t:null})}function Lt(t,e){var r=(e&et)!==0,n=(e&tt)!==0,o,i=!t.startsWith("<!>");return()=>{if(E)return O(v,null),v;o===void 0&&(o=Tt(i?t:"<!>"+t),r||(o=ne(o)));var u=n||Je?document.importNode(o,!0):o.cloneNode(!0);if(r){var m=ne(u),_=u.lastChild;O(m,_)}else O(u,u);return u}}function Ct(t=""){if(!E){var e=U(t+"");return O(e,e),e}var r=v;return r.nodeType!==st&&(r.before(r=U()),j(r)),O(r,r),r}function Ft(){if(E)return O(v,null),v;var t=document.createDocumentFragment(),e=document.createComment(""),r=U();return t.append(e,r),O(e,r),t}function Mt(t,e){if(E){var r=M;((r.f&rt)===0||r.nodes.end===null)&&(r.nodes.end=v),Ne();return}t!==null&&t.before(e)}function Pt(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 wt(t,e){return Oe(t,e)}function Vt(t,e){ae(),e.intro=e.intro??!1;const r=e.target,n=E,o=v;try{for(var i=ne(r);i&&(i.nodeType!==he||i.data!==it);)i=nt(i);if(!i)throw oe;X(!0),j(i);const u=Oe(t,{...e,anchor:i});return X(!1),u}catch(u){if(u instanceof Error&&u.message.split(`
1
+ var Ie=Object.defineProperty;var pe=t=>{throw TypeError(t)};var Le=(t,e,r)=>e in t?Ie(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var ee=(t,e,r)=>Le(t,typeof e!="symbol"?e+"":e,r),te=(t,e,r)=>e.has(t)||pe("Cannot "+r);var s=(t,e,r)=>(te(t,e,"read from private field"),r?r.call(t):e.get(t)),f=(t,e,r)=>e.has(t)?pe("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),a=(t,e,r,n)=>(te(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),p=(t,e,r)=>(te(t,e,"access private method"),r);import{aw as Ce,g as we,_ as Re,K as Fe,e as Me,ax as ge,O as de,C as v,B as E,Z as M,P as Pe,Q as Ne,ay as he,T as Ve,A as I,az as G,y as re,z as U,aA as Be,a5 as Q,aB as B,aC as ve,aD as Ye,aE as ie,i as Ae,D as xe,aF as me,aG as We,aH as ye,aI as He,aJ as Ue,x as se,V as j,n as je,U as qe,aK as Ee,aL as ze,R as Ge,aM as Xe,aN as $e,aO as Ke,X as Qe,aP as Ze,aQ as ne,aR as Je,aS as et,aT as tt,aU as rt,aV as st,aW as ae,aX as it,aY as nt,aZ as oe,W as X,a_ as at,a$ as ot,b0 as ut,b1 as lt,p as ft,b2 as ct,b3 as dt,a as ht}from"./CD2k2u89.js";function _t(t){let e=0,r=Re(0),n;return()=>{Ce()&&(we(r),Fe(()=>(e===0&&(n=Me(()=>t(()=>ge(r)))),e+=1,()=>{de(()=>{e-=1,e===0&&(n==null||n(),n=void 0,ge(r))})})))}}var pt=Ge|Xe|$e;function gt(t,e,r){new vt(t,e,r)}var g,q,b,L,T,y,h,w,A,D,C,S,F,Y,x,k,Z,l,Se,De,ue,$,K,le;class vt{constructor(e,r,n){f(this,l);ee(this,"parent");ee(this,"is_pending",!1);f(this,g);f(this,q,E?v:null);f(this,b);f(this,L);f(this,T);f(this,y,null);f(this,h,null);f(this,w,null);f(this,A,null);f(this,D,null);f(this,C,0);f(this,S,0);f(this,F,!1);f(this,Y,new Set);f(this,x,new Set);f(this,k,null);f(this,Z,_t(()=>(a(this,k,Re(s(this,C))),()=>{a(this,k,null)})));a(this,g,e),a(this,b,r),a(this,L,n),this.parent=M.b,this.is_pending=!!s(this,b).pending,a(this,T,Pe(()=>{if(M.b=this,E){const i=s(this,q);Ne(),i.nodeType===he&&i.data===Ve?p(this,l,De).call(this):(p(this,l,Se).call(this),s(this,S)===0&&(this.is_pending=!1))}else{var o=p(this,l,ue).call(this);try{a(this,y,I(()=>n(o)))}catch(i){this.error(i)}s(this,S)>0?p(this,l,K).call(this):this.is_pending=!1}return()=>{var i;(i=s(this,D))==null||i.remove()}},pt)),E&&a(this,g,v)}defer_effect(e){Be(e,s(this,Y),s(this,x))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!s(this,b).pending}update_pending_count(e){p(this,l,le).call(this,e),a(this,C,s(this,C)+e),s(this,k)&&Ue(s(this,k),s(this,C))}get_effect_pending(){return s(this,Z).call(this),we(s(this,k))}error(e){var r=s(this,b).onerror;let n=s(this,b).failed;if(s(this,F)||!r&&!n)throw e;s(this,y)&&(se(s(this,y)),a(this,y,null)),s(this,h)&&(se(s(this,h)),a(this,h,null)),s(this,w)&&(se(s(this,w)),a(this,w,null)),E&&(j(s(this,q)),je(),j(qe()));var o=!1,i=!1;const u=()=>{if(o){Ke();return}o=!0,i&&ze(),G.ensure(),a(this,C,0),s(this,w)!==null&&re(s(this,w),()=>{a(this,w,null)}),this.is_pending=this.has_pending_snippet(),a(this,y,p(this,l,$).call(this,()=>(a(this,F,!1),I(()=>s(this,L).call(this,s(this,g)))))),s(this,S)>0?p(this,l,K).call(this):this.is_pending=!1};var m=ie;try{B(null),i=!0,r==null||r(e,u),i=!1}catch(_){Ee(_,s(this,T)&&s(this,T).parent)}finally{B(m)}n&&de(()=>{a(this,w,p(this,l,$).call(this,()=>{G.ensure(),a(this,F,!0);try{return I(()=>{n(s(this,g),()=>e,()=>u)})}catch(_){return Ee(_,s(this,T).parent),null}finally{a(this,F,!1)}}))})}}g=new WeakMap,q=new WeakMap,b=new WeakMap,L=new WeakMap,T=new WeakMap,y=new WeakMap,h=new WeakMap,w=new WeakMap,A=new WeakMap,D=new WeakMap,C=new WeakMap,S=new WeakMap,F=new WeakMap,Y=new WeakMap,x=new WeakMap,k=new WeakMap,Z=new WeakMap,l=new WeakSet,Se=function(){try{a(this,y,I(()=>s(this,L).call(this,s(this,g))))}catch(e){this.error(e)}},De=function(){const e=s(this,b).pending;e&&(a(this,h,I(()=>e(s(this,g)))),G.enqueue(()=>{var r=p(this,l,ue).call(this);a(this,y,p(this,l,$).call(this,()=>(G.ensure(),I(()=>s(this,L).call(this,r))))),s(this,S)>0?p(this,l,K).call(this):(re(s(this,h),()=>{a(this,h,null)}),this.is_pending=!1)}))},ue=function(){var e=s(this,g);return this.is_pending&&(a(this,D,U()),s(this,g).before(s(this,D)),e=s(this,D)),e},$=function(e){var r=M,n=ie,o=Ae;Q(s(this,T)),B(s(this,T)),ve(s(this,T).ctx);try{return e()}catch(i){return Ye(i),null}finally{Q(r),B(n),ve(o)}},K=function(){const e=s(this,b).pending;s(this,y)!==null&&(a(this,A,document.createDocumentFragment()),s(this,A).append(s(this,D)),xe(s(this,y),s(this,A))),s(this,h)===null&&a(this,h,I(()=>e(s(this,g))))},le=function(e){var r;if(!this.has_pending_snippet()){this.parent&&p(r=this.parent,l,le).call(r,e);return}if(a(this,S,s(this,S)+e),s(this,S)===0){this.is_pending=!1;for(const n of s(this,Y))me(n,We),ye(n);for(const n of s(this,x))me(n,He),ye(n);s(this,Y).clear(),s(this,x).clear(),s(this,h)&&re(s(this,h),()=>{a(this,h,null)}),s(this,A)&&(s(this,g).before(s(this,A)),a(this,A,null))}};function St(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const mt=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Dt(t){return mt.includes(t)}const yt={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 kt(t){return t=t.toLowerCase(),yt[t]??t}const Et=["touchstart","touchmove"];function bt(t){return Et.includes(t)}const ke=new Set,fe=new Set;function Ot(t,e,r,n={}){function o(i){if(n.capture||H.call(e,i),!i.cancelBubble)return Ze(()=>r==null?void 0:r.call(this,i))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?de(()=>{e.addEventListener(t,o,n)}):e.addEventListener(t,o,n),o}function It(t){for(var e=0;e<t.length;e++)ke.add(t[e]);for(var r of fe)r(t)}let be=null;function H(t){var _e;var e=this,r=e.ownerDocument,n=t.type,o=((_e=t.composedPath)==null?void 0:_e.call(t))||[],i=o[0]||t.target;be=t;var u=0,m=be===t&&t.__root;if(m){var _=o.indexOf(m);if(_!==-1&&(e===document||e===window)){t.__root=e;return}var P=o.indexOf(e);if(P===-1)return;_<=P&&(u=_)}if(i=o[u]||t.target,i!==e){Qe(t,"currentTarget",{configurable:!0,get(){return i||r}});var J=ie,R=M;B(null),Q(null);try{for(var c,d=[];i!==null;){var N=i.assignedSlot||i.parentNode||i.host||null;try{var W=i["__"+n];W!=null&&(!i.disabled||t.target===i)&&W.call(i,t)}catch(z){c?d.push(z):c=z}if(t.cancelBubble||N===e||N===null)break;i=N}if(c){for(let z of d)queueMicrotask(()=>{throw z});throw c}}finally{t.__root=e,delete t.currentTarget,B(J),Q(R)}}}function Tt(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function O(t,e){var r=M;r.nodes===null&&(r.nodes={start:t,end:e,a:null,t:null})}function Lt(t,e){var r=(e&et)!==0,n=(e&tt)!==0,o,i=!t.startsWith("<!>");return()=>{if(E)return O(v,null),v;o===void 0&&(o=Tt(i?t:"<!>"+t),r||(o=ne(o)));var u=n||Je?document.importNode(o,!0):o.cloneNode(!0);if(r){var m=ne(u),_=u.lastChild;O(m,_)}else O(u,u);return u}}function Ct(t=""){if(!E){var e=U(t+"");return O(e,e),e}var r=v;return r.nodeType!==st&&(r.before(r=U()),j(r)),O(r,r),r}function Ft(){if(E)return O(v,null),v;var t=document.createDocumentFragment(),e=document.createComment(""),r=U();return t.append(e,r),O(e,r),t}function Mt(t,e){if(E){var r=M;((r.f&rt)===0||r.nodes.end===null)&&(r.nodes.end=v),Ne();return}t!==null&&t.before(e)}function Pt(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 wt(t,e){return Oe(t,e)}function Vt(t,e){ae(),e.intro=e.intro??!1;const r=e.target,n=E,o=v;try{for(var i=ne(r);i&&(i.nodeType!==he||i.data!==it);)i=nt(i);if(!i)throw oe;X(!0),j(i);const u=Oe(t,{...e,anchor:i});return X(!1),u}catch(u){if(u instanceof Error&&u.message.split(`
2
2
  `).some(m=>m.startsWith("https://svelte.dev/e/")))throw u;return u!==oe&&console.warn("Failed to hydrate: ",u),e.recover===!1&&at(),ae(),ot(r),X(!1),wt(t,e)}finally{X(n),j(o)}}const V=new Map;function Oe(t,{target:e,anchor:r,props:n={},events:o,context:i,intro:u=!0}){ae();var m=new Set,_=R=>{for(var c=0;c<R.length;c++){var d=R[c];if(!m.has(d)){m.add(d);var N=bt(d);e.addEventListener(d,H,{passive:N});var W=V.get(d);W===void 0?(document.addEventListener(d,H,{passive:N}),V.set(d,1)):V.set(d,W+1)}}};_(ut(ke)),fe.add(_);var P=void 0,J=lt(()=>{var R=r??e.appendChild(U());return gt(R,{pending:()=>{}},c=>{if(i){ft({});var d=Ae;d.c=i}if(o&&(n.$$events=o),E&&O(c,null),P=t(c,n)||{},E&&(M.nodes.end=v,v===null||v.nodeType!==he||v.data!==ct))throw dt(),oe;i&&ht()}),()=>{var N;for(var c of m){e.removeEventListener(c,H);var d=V.get(c);--d===0?(document.removeEventListener(c,H),V.delete(c)):V.set(c,d)}fe.delete(_),R!==r&&((N=R.parentNode)==null||N.removeChild(R))}});return ce.set(P,J),P}let ce=new WeakMap;function Bt(t,e){const r=ce.get(t);return r?(ce.delete(t),r(e)):Promise.resolve()}const Rt="5";var Te;typeof window<"u"&&((Te=window.__svelte??(window.__svelte={})).v??(Te.v=new Set)).add(Rt);export{Mt as a,Ot as b,Ft as c,It as d,Dt as e,Lt as f,O as g,Vt as h,St as i,Tt as j,wt as m,kt as n,Pt as s,Ct as t,Bt as u};