@sockethub/examples 1.0.0-alpha.6 → 1.0.0-alpha.8

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 (62) hide show
  1. package/build/_app/immutable/assets/0.JUA-HkH6.css +1 -0
  2. package/build/_app/immutable/assets/{sockethub.CMYouZ3z.css → sockethub.Bpv0Wt6b.css} +1 -1
  3. package/build/_app/immutable/chunks/B-2myMF5.js +1 -0
  4. package/build/_app/immutable/chunks/BBdxXcNs.js +23 -0
  5. package/build/_app/immutable/chunks/BGxeqChl.js +1 -0
  6. package/build/_app/immutable/chunks/BhL0iima.js +4 -0
  7. package/build/_app/immutable/chunks/BnKTx64M.js +1 -0
  8. package/build/_app/immutable/chunks/C1LF9VyP.js +1 -0
  9. package/build/_app/immutable/chunks/C3iWIn4n.js +1 -0
  10. package/build/_app/immutable/chunks/CARmnL8B.js +1 -0
  11. package/build/_app/immutable/chunks/CC-fhLYv.js +1 -0
  12. package/build/_app/immutable/chunks/CFHe0i8O.js +1 -0
  13. package/build/_app/immutable/chunks/Cf7Xaqef.js +1 -0
  14. package/build/_app/immutable/chunks/Ciq9INsC.js +1 -0
  15. package/build/_app/immutable/chunks/CoHdmBcD.js +1 -0
  16. package/build/_app/immutable/chunks/D_xw8KSE.js +1 -0
  17. package/build/_app/immutable/chunks/DqdrLdzV.js +2 -0
  18. package/build/_app/immutable/chunks/P3PHXZz3.js +2 -0
  19. package/build/_app/immutable/entry/app.CAAPrK1G.js +2 -0
  20. package/build/_app/immutable/entry/start.0uZro58w.js +1 -0
  21. package/build/_app/immutable/nodes/0.DqHF7LwB.js +39 -0
  22. package/build/_app/immutable/nodes/1.DT4DtoC7.js +1 -0
  23. package/build/_app/immutable/nodes/{2.C82p4PuU.js → 2.CHi_bFz8.js} +2 -2
  24. package/build/_app/immutable/nodes/3.1s4AoiT3.js +1 -0
  25. package/build/_app/immutable/nodes/4.Ck-0hor4.js +1 -0
  26. package/build/_app/immutable/nodes/5.BV2I1j0o.js +1 -0
  27. package/build/_app/immutable/nodes/6.PZ-pmrq7.js +1 -0
  28. package/build/_app/immutable/nodes/7.C7IiHO6h.js +1 -0
  29. package/build/_app/version.json +1 -1
  30. package/build/dummy.html +12 -11
  31. package/build/feeds.html +12 -11
  32. package/build/index.html +12 -11
  33. package/build/irc.html +12 -11
  34. package/build/metadata.html +12 -11
  35. package/build/xmpp.html +12 -11
  36. package/package.json +20 -20
  37. package/build/_app/immutable/assets/0.BzjUWlsR.css +0 -1
  38. package/build/_app/immutable/assets/_layout.BzjUWlsR.css +0 -1
  39. package/build/_app/immutable/chunks/B38kwwg4.js +0 -1
  40. package/build/_app/immutable/chunks/B6g3iar1.js +0 -1
  41. package/build/_app/immutable/chunks/BRC80mQd.js +0 -1
  42. package/build/_app/immutable/chunks/BeYzO5Mt.js +0 -1
  43. package/build/_app/immutable/chunks/BoR-lgka.js +0 -1
  44. package/build/_app/immutable/chunks/CLEQVYcW.js +0 -2
  45. package/build/_app/immutable/chunks/CN8LF06-.js +0 -1
  46. package/build/_app/immutable/chunks/CZFJHIMN.js +0 -1
  47. package/build/_app/immutable/chunks/CfqRDpBM.js +0 -1
  48. package/build/_app/immutable/chunks/D3w1dc5i.js +0 -8
  49. package/build/_app/immutable/chunks/DEHNjQUQ.js +0 -1
  50. package/build/_app/immutable/chunks/DOX7w-st.js +0 -4
  51. package/build/_app/immutable/chunks/DPf-AoMq.js +0 -3
  52. package/build/_app/immutable/chunks/Dd_3LBWN.js +0 -1
  53. package/build/_app/immutable/chunks/Dkd6l8cV.js +0 -1
  54. package/build/_app/immutable/entry/app.DyZOSd3E.js +0 -2
  55. package/build/_app/immutable/entry/start.D446A-gj.js +0 -1
  56. package/build/_app/immutable/nodes/0.B3I8sqxJ.js +0 -39
  57. package/build/_app/immutable/nodes/1.T9u7GlsR.js +0 -1
  58. package/build/_app/immutable/nodes/3.BOQ3BB3w.js +0 -1
  59. package/build/_app/immutable/nodes/4.iuW-HqsR.js +0 -1
  60. package/build/_app/immutable/nodes/5.DyVFGAXq.js +0 -1
  61. package/build/_app/immutable/nodes/6.DJAHzi0b.js +0 -1
  62. package/build/_app/immutable/nodes/7.CLSdyL18.js +0 -1
@@ -0,0 +1 @@
1
+ import{f as d,a as r,c as R,e as Z}from"./DqdrLdzV.js";import{p as L,s as C,c as g,r as f,t as $,a as D,g as i,u as H,e as A,f as J,n as Y,b as S,d as U}from"./Ciq9INsC.js";import{r as N,a as ee,c as te}from"./P3PHXZz3.js";import{b as O,S as X}from"./CFHe0i8O.js";import{p as E,s as I,c as q,b as V,i as T}from"./Cf7Xaqef.js";import{T as se}from"./BhL0iima.js";import{a as ae,s as G}from"./BBdxXcNs.js";var oe=d('<div class="pb-4"><label for="actor-id-input" class="pr-3">Actor ID</label> <input id="actor-id-input" type="text"/></div>');function _e(h,e){L(e,!0);let t=E(e,"value",15),p=E(e,"class",3,"bg-white border border-solid border-gray-300 rounded");var v=oe(),s=C(g(v),2);N(s),f(v),$(()=>ee(s,1,te(p()))),O(s,t),r(h,v),D()}function Se(h,e){L(e,!0);const t=()=>V(e.sockethubState,"$sockethubState",p),[p,v]=I();function s(a){const u={context:e.context,type:"credentials",actor:e.actor.id,object:JSON.parse(a)};console.log("sending credentials: ",u),ae.socket.emit("credentials",u,n=>{if(n!=null&&n.error)throw new Error(n.error);q(e.sockethubState,A(t).credentialsSet=!0,A(t))})}{let a=H(()=>!t().actorSet||t().credentialsSet||!1);se(h,{title:"Credentials",get obj(){return e.credentials},buttonText:"Set Credentials",submitData:s,get disabled(){return i(a)}})}D(),v()}var re=d('<div class="flex items-center space-x-2"><svg class="animate-spin h-4 w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle><path class="opacity-75" fill="currentColor" d="m4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path></svg> <span>Connecting...</span></div>'),ne=d('<div class="flex items-center space-x-2"><svg class="h-4 w-4 text-green-500" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> <span>Connected</span></div>'),ie=d('<div class="flex items-center space-x-2"><svg class="h-4 w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M13.19 8.688a4.5 4.5 0 011.242 7.244l-4.5 4.5a4.5 4.5 0 01-6.364-6.364l1.757-1.757m13.35-.622l1.757-1.757a4.5 4.5 0 00-6.364-6.364l-4.5 4.5a4.5 4.5 0 001.242 7.244"></path></svg> <span>Connect</span></div>'),le=d('<div class="w-full flex justify-end"><!></div>');function Ce(h,e){L(e,!0);const t=()=>V(e.sockethubState,"$sockethubState",p),[p,v]=I();let s=E(e,"disabled",3,!1),a=H(()=>s()||!t().credentialsSet||t().connected||e.connecting);var u=le(),n=g(u);X(n,{get disabled(){return i(a)},get buttonAction(){return e.onConnect},children:(k,y)=>{var w=R(),x=J(w);{var z=c=>{var j=re();r(c,j)},l=c=>{var j=R(),_=J(j);{var B=m=>{var o=ne();r(m,o)},P=m=>{var o=ie();r(m,o)};T(_,m=>{t().connected?m(B):m(P,!1)},!0)}r(c,j)};T(x,c=>{e.connecting?c(z):c(l,!1)})}r(k,w)}}),f(u),r(h,u),D(),v()}var ce=d('<div class="flex items-center space-x-2"><svg class="animate-spin h-4 w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle><path class="opacity-75" fill="currentColor" d="m4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path></svg> <span>Joining...</span></div>'),de=d('<div class="flex items-center space-x-2"><svg class="h-4 w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> <span>Joined</span></div>'),ve=d('<div class="flex items-center space-x-2"><svg class="h-4 w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m7.5-7.5h-15"></path></svg> <span>Join Room</span></div>'),ue=d('<div class="bg-gradient-to-r from-indigo-50 to-purple-50 border border-indigo-200 rounded-xl p-6 shadow-sm"><h4 class="text-lg font-bold text-indigo-900 mb-4 flex items-center"><span class="mr-2">🏠</span> Join Chat Room</h4> <div class="space-y-4"><div class="w-full space-y-2"><label for="room" class="block text-sm font-semibold text-gray-700">Room/Channel</label> <input id="room" class="w-full px-4 py-3 border border-gray-300 rounded-lg shadow-sm focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 transition-colors duration-200 text-gray-900 placeholder-gray-500" placeholder="#general, kosmos-random@kosmos.chat"/> <p class="text-gray-500 text-xs">💡 IRC: Use #channel-name | XMPP: Use room@server.com</p></div> <div class="flex justify-end"><!></div></div></div>');function je(h,e){L(e,!0);const t=()=>V(e.sockethubState,"$sockethubState",p),[p,v]=I();let s=E(e,"room",15),a=U(!1);async function u(){return S(a,!0),await G({context:e.context,type:"join",actor:e.actor.id,target:{id:s(),name:s(),type:"room"}}).catch(()=>{q(e.sockethubState,A(t).joined=!1,A(t)),S(a,!1)}).then(()=>{q(e.sockethubState,A(t).joined=!0,A(t)),S(a,!1)})}var n=ue(),k=C(g(n),2),y=g(k),w=C(g(y),2);N(w),Y(2),f(y);var x=C(y,2),z=g(x);{let l=H(()=>!t().connected||t().joined||i(a));X(z,{get disabled(){return i(l)},buttonAction:u,children:(c,j)=>{var _=R(),B=J(_);{var P=o=>{var b=ce();r(o,b)},m=o=>{var b=R(),K=J(b);{var Q=M=>{var F=de();r(M,F)},W=M=>{var F=ve();r(M,F)};T(K,M=>{t().joined?M(Q):M(W,!1)},!0)}r(o,b)};T(B,o=>{i(a)?o(P):o(m,!1)})}r(c,_)}})}f(x),f(k),f(n),O(w,s),r(h,n),D(),v()}var me=d('<div class="flex items-center space-x-2"><svg class="animate-spin h-4 w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle><path class="opacity-75" fill="currentColor" d="m4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path></svg> <span class="hidden sm:inline">Sending...</span></div>'),ge=d('<div class="flex items-center space-x-2"><svg class="h-4 w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M6 12L3.269 3.126A59.768 59.768 0 0121.485 12 59.77 59.77 0 013.27 20.876L5.999 12zm0 0h7.5"></path></svg> <span class="hidden sm:inline">Send</span></div>'),fe=d('<div class="bg-gradient-to-r from-green-50 to-emerald-50 border border-green-200 rounded-xl p-6 shadow-sm"><h4 class="text-lg font-bold text-green-900 mb-4 flex items-center"><span class="mr-2">💬</span> Send Message</h4> <div class="space-y-4"><div class="w-full space-y-2"><label for="sendMessage" class="block text-sm font-semibold text-gray-700">Your Message</label> <div class="flex space-x-3"><input id="sendMessage" class="flex-1 px-4 py-3 border border-gray-300 rounded-lg shadow-sm focus:ring-2 focus:ring-green-500 focus:border-green-500 transition-colors duration-200 text-gray-900 placeholder-gray-500" placeholder="Type your message here..."/> <!></div> <p class="text-gray-500 text-xs">💡 Press Enter to send quickly</p></div></div></div>');function Me(h,e){L(e,!0);const t=()=>V(e.sockethubState,"$sockethubState",p),[p,v]=I();let s=U(""),a=U(!1);async function u(){if(!i(s).trim())return;S(a,!0);const l=i(s).trim();console.log("send message: ",l);try{await G({context:e.context,type:"send",actor:e.actor.id,object:{type:"message",content:l},target:{id:e.room,name:e.room,type:"room"}}),S(s,"")}catch(c){console.error("Failed to send message:",c)}finally{S(a,!1)}}var n=fe(),k=C(g(n),2),y=g(k),w=C(g(y),2),x=g(w);N(x);var z=C(x,2);{let l=H(()=>!t().connected||i(a)||!i(s).trim());X(z,{get disabled(){return i(l)},buttonAction:u,children:(c,j)=>{var _=R(),B=J(_);{var P=o=>{var b=me();r(o,b)},m=o=>{var b=ge();r(o,b)};T(B,o=>{i(a)?o(P):o(m,!1)})}r(c,_)}})}f(w),Y(2),f(y),f(k),f(n),O(x,()=>i(s),l=>S(s,l)),Z("keydown",x,l=>{l.key==="Enter"&&!i(a)&&t().connected&&u()}),r(h,n),D(),v()}export{_e as A,Se as C,Ce as P,je as R,Me as S};
@@ -0,0 +1 @@
1
+ import{f as l,a as p,s as h}from"./DqdrLdzV.js";import{c as t,F as x,r as a,s as b,t as g}from"./Ciq9INsC.js";import{b as c}from"./P3PHXZz3.js";var u=l('<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-8"><!></div>');function y(e,o){var r=u(),s=t(r);c(s,()=>o.children??x),a(r),p(e,r)}var _=l('<div class="bg-white shadow-sm border border-gray-200 rounded-xl overflow-hidden"><div class="bg-gradient-to-r from-blue-50 to-indigo-50 px-8 py-6 border-b border-gray-200"><h1 class="text-3xl font-bold text-gray-900 tracking-tight"> </h1></div> <div class="px-8 py-6"><!></div></div>');function A(e,o){y(e,{children:(r,s)=>{var i=_(),d=t(i),v=t(d),m=t(v,!0);a(v),a(d);var n=b(d,2),f=t(n);c(f,()=>o.children??x),a(n),a(i),g(()=>h(m,o.title)),p(r,i)}})}export{A as I};
@@ -0,0 +1,2 @@
1
+ var Me=Object.defineProperty;var pe=t=>{throw TypeError(t)};var Oe=(t,e,r)=>e in t?Me(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var ee=(t,e,r)=>Oe(t,typeof e!="symbol"?e+"":e,r),te=(t,e,r)=>e.has(t)||pe("Cannot "+r);var n=(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,i)=>(te(t,e,"write to private field"),i?i.call(t,r):e.set(t,r),r),p=(t,e,r)=>(te(t,e,"access private method"),r);import{aw as Ie,g as we,X as Ne,J as Ce,e as Fe,ax as ge,ai as de,B as v,A as E,W as F,L as Pe,M as Re,ay as he,P as Ve,z as M,az as G,x as re,y as U,aA as Be,a3 as Q,aB as B,aC as ve,aD as Ye,aE as se,h as Se,C as xe,aF as ye,aG as We,aH as me,aI as He,aJ as Ue,w as ne,R as j,n as je,Q as qe,aK as Ee,aL as ze,N as Ge,aM as Xe,aN as $e,aO as Je,U as Qe,aP as Ke,T as Ze,aQ as ie,aR as et,aS as tt,aT as rt,aU as nt,aV as st,aW as ae,aX as it,aY as at,aZ as oe,S as X,a_ as ot,a$ as ut,b0 as lt,b1 as ft,p as ct,b2 as dt,b3 as ht,a as _t}from"./Ciq9INsC.js";function pt(t){let e=0,r=Ne(0),i;return()=>{Ie()&&(we(r),Ce(()=>(e===0&&(i=Fe(()=>t(()=>ge(r)))),e+=1,()=>{de(()=>{e-=1,e===0&&(i==null||i(),i=void 0,ge(r))})})))}}var gt=Ge|Xe|$e;function vt(t,e,r){new yt(t,e,r)}var g,q,b,O,T,m,h,w,S,k,I,A,C,Y,x,D,K,l,Ae,ke,ue,$,J,le;class yt{constructor(e,r,i){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,O);f(this,T);f(this,m,null);f(this,h,null);f(this,w,null);f(this,S,null);f(this,k,null);f(this,I,0);f(this,A,0);f(this,C,!1);f(this,Y,new Set);f(this,x,new Set);f(this,D,null);f(this,K,pt(()=>(a(this,D,Ne(n(this,I))),()=>{a(this,D,null)})));a(this,g,e),a(this,b,r),a(this,O,i),this.parent=F.b,this.is_pending=!!n(this,b).pending,a(this,T,Pe(()=>{if(F.b=this,E){const s=n(this,q);Re(),s.nodeType===he&&s.data===Ve?p(this,l,ke).call(this):(p(this,l,Ae).call(this),n(this,A)===0&&(this.is_pending=!1))}else{var o=p(this,l,ue).call(this);try{a(this,m,M(()=>i(o)))}catch(s){this.error(s)}n(this,A)>0?p(this,l,J).call(this):this.is_pending=!1}return()=>{var s;(s=n(this,k))==null||s.remove()}},gt)),E&&a(this,g,v)}defer_effect(e){Be(e,n(this,Y),n(this,x))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!n(this,b).pending}update_pending_count(e){p(this,l,le).call(this,e),a(this,I,n(this,I)+e),n(this,D)&&Ue(n(this,D),n(this,I))}get_effect_pending(){return n(this,K).call(this),we(n(this,D))}error(e){var r=n(this,b).onerror;let i=n(this,b).failed;if(n(this,C)||!r&&!i)throw e;n(this,m)&&(ne(n(this,m)),a(this,m,null)),n(this,h)&&(ne(n(this,h)),a(this,h,null)),n(this,w)&&(ne(n(this,w)),a(this,w,null)),E&&(j(n(this,q)),je(),j(qe()));var o=!1,s=!1;const u=()=>{if(o){Je();return}o=!0,s&&ze(),G.ensure(),a(this,I,0),n(this,w)!==null&&re(n(this,w),()=>{a(this,w,null)}),this.is_pending=this.has_pending_snippet(),a(this,m,p(this,l,$).call(this,()=>(a(this,C,!1),M(()=>n(this,O).call(this,n(this,g)))))),n(this,A)>0?p(this,l,J).call(this):this.is_pending=!1};var y=se;try{B(null),s=!0,r==null||r(e,u),s=!1}catch(_){Ee(_,n(this,T)&&n(this,T).parent)}finally{B(y)}i&&de(()=>{a(this,w,p(this,l,$).call(this,()=>{G.ensure(),a(this,C,!0);try{return M(()=>{i(n(this,g),()=>e,()=>u)})}catch(_){return Ee(_,n(this,T).parent),null}finally{a(this,C,!1)}}))})}}g=new WeakMap,q=new WeakMap,b=new WeakMap,O=new WeakMap,T=new WeakMap,m=new WeakMap,h=new WeakMap,w=new WeakMap,S=new WeakMap,k=new WeakMap,I=new WeakMap,A=new WeakMap,C=new WeakMap,Y=new WeakMap,x=new WeakMap,D=new WeakMap,K=new WeakMap,l=new WeakSet,Ae=function(){try{a(this,m,M(()=>n(this,O).call(this,n(this,g))))}catch(e){this.error(e)}},ke=function(){const e=n(this,b).pending;e&&(a(this,h,M(()=>e(n(this,g)))),G.enqueue(()=>{var r=p(this,l,ue).call(this);a(this,m,p(this,l,$).call(this,()=>(G.ensure(),M(()=>n(this,O).call(this,r))))),n(this,A)>0?p(this,l,J).call(this):(re(n(this,h),()=>{a(this,h,null)}),this.is_pending=!1)}))},ue=function(){var e=n(this,g);return this.is_pending&&(a(this,k,U()),n(this,g).before(n(this,k)),e=n(this,k)),e},$=function(e){var r=F,i=se,o=Se;Q(n(this,T)),B(n(this,T)),ve(n(this,T).ctx);try{return e()}catch(s){return Ye(s),null}finally{Q(r),B(i),ve(o)}},J=function(){const e=n(this,b).pending;n(this,m)!==null&&(a(this,S,document.createDocumentFragment()),n(this,S).append(n(this,k)),xe(n(this,m),n(this,S))),n(this,h)===null&&a(this,h,M(()=>e(n(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,A,n(this,A)+e),n(this,A)===0){this.is_pending=!1;for(const i of n(this,Y))ye(i,We),me(i);for(const i of n(this,x))ye(i,He),me(i);n(this,Y).clear(),n(this,x).clear(),n(this,h)&&re(n(this,h),()=>{a(this,h,null)}),n(this,S)&&(n(this,g).before(n(this,S)),a(this,S,null))}};function Dt(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 Lt(t){return mt.includes(t)}const Et={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 Mt(t){return t=t.toLowerCase(),Et[t]??t}const bt=["touchstart","touchmove"];function Tt(t){return bt.includes(t)}const De=new Set,fe=new Set;function wt(t,e,r,i={}){function o(s){if(i.capture||H.call(e,s),!s.cancelBubble)return Ke(()=>r==null?void 0:r.call(this,s))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?de(()=>{e.addEventListener(t,o,i)}):e.addEventListener(t,o,i),o}function Ot(t,e,r,i,o){var s={capture:i,passive:o},u=wt(t,e,r,s);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&Ze(()=>{e.removeEventListener(t,u,s)})}function It(t){for(var e=0;e<t.length;e++)De.add(t[e]);for(var r of fe)r(t)}let be=null;function H(t){var _e;var e=this,r=e.ownerDocument,i=t.type,o=((_e=t.composedPath)==null?void 0:_e.call(t))||[],s=o[0]||t.target;be=t;var u=0,y=be===t&&t.__root;if(y){var _=o.indexOf(y);if(_!==-1&&(e===document||e===window)){t.__root=e;return}var P=o.indexOf(e);if(P===-1)return;_<=P&&(u=_)}if(s=o[u]||t.target,s!==e){Qe(t,"currentTarget",{configurable:!0,get(){return s||r}});var Z=se,N=F;B(null),Q(null);try{for(var c,d=[];s!==null;){var R=s.assignedSlot||s.parentNode||s.host||null;try{var W=s["__"+i];W!=null&&(!s.disabled||t.target===s)&&W.call(s,t)}catch(z){c?d.push(z):c=z}if(t.cancelBubble||R===e||R===null)break;s=R}if(c){for(let z of d)queueMicrotask(()=>{throw z});throw c}}finally{t.__root=e,delete t.currentTarget,B(Z),Q(N)}}}function Nt(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function L(t,e){var r=F;r.nodes===null&&(r.nodes={start:t,end:e,a:null,t:null})}function Ct(t,e){var r=(e&tt)!==0,i=(e&rt)!==0,o,s=!t.startsWith("<!>");return()=>{if(E)return L(v,null),v;o===void 0&&(o=Nt(s?t:"<!>"+t),r||(o=ie(o)));var u=i||et?document.importNode(o,!0):o.cloneNode(!0);if(r){var y=ie(u),_=u.lastChild;L(y,_)}else L(u,u);return u}}function Ft(t=""){if(!E){var e=U(t+"");return L(e,e),e}var r=v;return r.nodeType!==st&&(r.before(r=U()),j(r)),L(r,r),r}function Pt(){if(E)return L(v,null),v;var t=document.createDocumentFragment(),e=document.createComment(""),r=U();return t.append(e,r),L(e,r),t}function Vt(t,e){if(E){var r=F;((r.f&nt)===0||r.nodes.end===null)&&(r.nodes.end=v),Re();return}t!==null&&t.before(e)}function Bt(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 Rt(t,e){return Le(t,e)}function Yt(t,e){ae(),e.intro=e.intro??!1;const r=e.target,i=E,o=v;try{for(var s=ie(r);s&&(s.nodeType!==he||s.data!==it);)s=at(s);if(!s)throw oe;X(!0),j(s);const u=Le(t,{...e,anchor:s});return X(!1),u}catch(u){if(u instanceof Error&&u.message.split(`
2
+ `).some(y=>y.startsWith("https://svelte.dev/e/")))throw u;return u!==oe&&console.warn("Failed to hydrate: ",u),e.recover===!1&&ot(),ae(),ut(r),X(!1),Rt(t,e)}finally{X(i),j(o)}}const V=new Map;function Le(t,{target:e,anchor:r,props:i={},events:o,context:s,intro:u=!0}){ae();var y=new Set,_=N=>{for(var c=0;c<N.length;c++){var d=N[c];if(!y.has(d)){y.add(d);var R=Tt(d);e.addEventListener(d,H,{passive:R});var W=V.get(d);W===void 0?(document.addEventListener(d,H,{passive:R}),V.set(d,1)):V.set(d,W+1)}}};_(lt(De)),fe.add(_);var P=void 0,Z=ft(()=>{var N=r??e.appendChild(U());return vt(N,{pending:()=>{}},c=>{if(s){ct({});var d=Se;d.c=s}if(o&&(i.$$events=o),E&&L(c,null),P=t(c,i)||{},E&&(F.nodes.end=v,v===null||v.nodeType!==he||v.data!==dt))throw ht(),oe;s&&_t()}),()=>{var R;for(var c of y){e.removeEventListener(c,H);var d=V.get(c);--d===0?(document.removeEventListener(c,H),V.delete(c)):V.set(c,d)}fe.delete(_),N!==r&&((R=N.parentNode)==null||R.removeChild(N))}});return ce.set(P,Z),P}let ce=new WeakMap;function xt(t,e){const r=ce.get(t);return r?(ce.delete(t),r(e)):Promise.resolve()}const St="5";var Te;typeof window<"u"&&((Te=window.__svelte??(window.__svelte={})).v??(Te.v=new Set)).add(St);export{Vt as a,wt as b,Pt as c,It as d,Ot as e,Ct as f,Lt as g,Yt as h,Dt as i,L as j,Nt as k,Rt as m,Mt as n,Bt as s,Ft as t,xt as u};
@@ -0,0 +1,2 @@
1
+ import{L as W,N as X,ak as H,w as P,z as Y,ah as q,A as p,ae as m,al as x,am as rr,T as ir,an as fr,g as ar,ao as tr,S as U,ap as sr,aq as ur,ai as er,ar as or,as as lr,at as cr,au as nr,av as vr}from"./Ciq9INsC.js";import{B as dr}from"./CC-fhLYv.js";import{i as gr,b as br,d as hr,n as Ar,g as _r}from"./DqdrLdzV.js";function jr(r,a,...i){var f=new dr(r);W(()=>{const t=a()??null;f.ensure(t,t&&(s=>t(s,...i)))},X)}function Nr(r,a){var i=void 0,f;H(()=>{i!==(i=a())&&(f&&(P(f),f=null),i&&(f=Y(()=>{q(()=>i(r))})))})}function z(r){var a,i,f="";if(typeof r=="string"||typeof r=="number")f+=r;else if(typeof r=="object")if(Array.isArray(r)){var t=r.length;for(a=0;a<t;a++)r[a]&&(i=z(r[a]))&&(f&&(f+=" "),f+=i)}else for(i in r)r[i]&&(f&&(f+=" "),f+=i);return f}function pr(){for(var r,a,i=0,f="",t=arguments.length;i<t;i++)(r=arguments[i])&&(a=z(r))&&(f&&(f+=" "),f+=a);return f}function Sr(r){return typeof r=="object"?pr(r):r??""}const B=[...`
2
+ \r\f \v\uFEFF`];function Tr(r,a,i){var f=r==null?"":""+r;if(a&&(f=f?f+" "+a:a),i){for(var t in i)if(i[t])f=f?f+" "+t:t;else if(f.length)for(var s=t.length,o=0;(o=f.indexOf(t,o))>=0;){var c=o+s;(o===0||B.includes(f[o-1]))&&(c===f.length||B.includes(f[c]))?f=(o===0?"":f.substring(0,o))+f.substring(c+1):o=c}}return f===""?null:f}function V(r,a=!1){var i=a?" !important;":";",f="";for(var t in r){var s=r[t];s!=null&&s!==""&&(f+=" "+t+": "+s+i)}return f}function M(r){return r[0]!=="-"||r[1]!=="-"?r.toLowerCase():r}function Er(r,a){if(a){var i="",f,t;if(Array.isArray(a)?(f=a[0],t=a[1]):f=a,r){r=String(r).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var s=!1,o=0,c=!1,d=[];f&&d.push(...Object.keys(f).map(M)),t&&d.push(...Object.keys(t).map(M));var n=0,h=-1;const T=r.length;for(var v=0;v<T;v++){var u=r[v];if(c?u==="/"&&r[v-1]==="*"&&(c=!1):s?s===u&&(s=!1):u==="/"&&r[v+1]==="*"?c=!0:u==='"'||u==="'"?s=u:u==="("?o++:u===")"&&o--,!c&&s===!1&&o===0){if(u===":"&&h===-1)h=v;else if(u===";"||v===T-1){if(h!==-1){var S=M(r.substring(n,h).trim());if(!d.includes(S)){u!==";"&&v++;var N=r.substring(n,v).trim();i+=" "+N+";"}}n=v+1,h=-1}}}}return f&&(i+=V(f)),t&&(i+=V(t,!0)),i=i.trim(),i===""?null:i}return r==null?null:String(r)}function Lr(r,a,i,f,t,s){var o=r.__className;if(p||o!==i||o===void 0){var c=Tr(i,f,s);(!p||c!==r.getAttribute("class"))&&(c==null?r.removeAttribute("class"):a?r.className=c:r.setAttribute("class",c)),r.__className=i}else if(s&&t!==s)for(var d in s){var n=!!s[d];(t==null||n!==!!t[d])&&r.classList.toggle(d,n)}return s}function k(r,a={},i,f){for(var t in i){var s=i[t];a[t]!==s&&(i[t]==null?r.style.removeProperty(t):r.style.setProperty(t,s,f))}}function Ir(r,a,i,f){var t=r.__style;if(p||t!==a){var s=Er(a,f);(!p||s!==r.getAttribute("style"))&&(s==null?r.removeAttribute("style"):r.style.cssText=s),r.__style=a}else f&&(Array.isArray(f)?(k(r,i==null?void 0:i[0],f[0]),k(r,i==null?void 0:i[1],f[1],"important")):k(r,i,f));return f}function $(r,a,i=!1){if(r.multiple){if(a==null)return;if(!m(a))return x();for(var f of r.options)f.selected=a.includes(y(f));return}for(f of r.options){var t=y(f);if(rr(t,a)){f.selected=!0;return}}(!i||a!==void 0)&&(r.selectedIndex=-1)}function Or(r){var a=new MutationObserver(()=>{$(r,r.__value)});a.observe(r,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),ir(()=>{a.disconnect()})}function y(r){return"__value"in r?r.__value:r.value}const O=Symbol("class"),I=Symbol("style"),D=Symbol("is custom element"),K=Symbol("is html");function Cr(r){if(p){var a=!1,i=()=>{if(!a){if(a=!0,r.hasAttribute("value")){var f=r.value;C(r,"value",null),r.value=f}if(r.hasAttribute("checked")){var t=r.checked;C(r,"checked",null),r.checked=t}}};r.__on_r=i,er(i),or()}}function wr(r,a){a?r.hasAttribute("selected")||r.setAttribute("selected",""):r.removeAttribute("selected")}function C(r,a,i,f){var t=G(r);p&&(t[a]=r.getAttribute(a),a==="src"||a==="srcset"||a==="href"&&r.nodeName==="LINK")||t[a]!==(t[a]=i)&&(a==="loading"&&(r[nr]=i),i==null?r.removeAttribute(a):typeof i!="string"&&Z(r).includes(a)?r[a]=i:r.setAttribute(a,i))}function Mr(r,a,i,f,t=!1,s=!1){if(p&&t&&r.tagName==="INPUT"){var o=r,c=o.type==="checkbox"?"defaultChecked":"defaultValue";c in i||Cr(o)}var d=G(r),n=d[D],h=!d[K];let v=p&&n;v&&U(!1);var u=a||{},S=r.tagName==="OPTION";for(var N in a)N in i||(i[N]=null);i.class?i.class=Sr(i.class):i.class=null,i[I]&&(i.style??(i.style=null));var T=Z(r);for(const e in i){let l=i[e];if(S&&e==="value"&&l==null){r.value=r.__value="",u[e]=l;continue}if(e==="class"){var L=r.namespaceURI==="http://www.w3.org/1999/xhtml";Lr(r,L,l,f,a==null?void 0:a[O],i[O]),u[e]=l,u[O]=i[O];continue}if(e==="style"){Ir(r,l,a==null?void 0:a[I],i[I]),u[e]=l,u[I]=i[I];continue}var A=u[e];if(!(l===A&&!(l===void 0&&r.hasAttribute(e)))){u[e]=l;var j=e[0]+e[1];if(j!=="$$")if(j==="on"){const _={},E="$$"+e;let g=e.slice(2);var w=_r(g);if(gr(g)&&(g=g.slice(0,-7),_.capture=!0),!w&&A){if(l!=null)continue;r.removeEventListener(g,u[E],_),u[E]=null}if(l!=null)if(w)r[`__${g}`]=l,hr([g]);else{let J=function(Q){u[e].call(this,Q)};u[E]=br(g,r,J,_)}else w&&(r[`__${g}`]=void 0)}else if(e==="style")C(r,e,l);else if(e==="autofocus")sr(r,!!l);else if(!n&&(e==="__value"||e==="value"&&l!=null))r.value=r.__value=l;else if(e==="selected"&&S)wr(r,l);else{var b=e;h||(b=Ar(b));var R=b==="defaultValue"||b==="defaultChecked";if(l==null&&!n&&!R)if(d[e]=null,b==="value"||b==="checked"){let _=r;const E=a===void 0;if(b==="value"){let g=_.defaultValue;_.removeAttribute(b),_.defaultValue=g,_.value=_.__value=E?g:null}else{let g=_.defaultChecked;_.removeAttribute(b),_.defaultChecked=g,_.checked=E?g:!1}}else r.removeAttribute(e);else R||T.includes(b)&&(n||typeof l!="string")?(r[b]=l,b in d&&(d[b]=ur)):typeof l!="function"&&C(r,b,l)}}}return v&&U(!0),u}function Rr(r,a,i=[],f=[],t=[],s,o=!1,c=!1){fr(t,i,f,d=>{var n=void 0,h={},v=r.nodeName==="SELECT",u=!1;if(H(()=>{var N=a(...d.map(ar)),T=Mr(r,n,N,s,o,c);u&&v&&"value"in N&&$(r,N.value);for(let A of Object.getOwnPropertySymbols(h))N[A]||P(h[A]);for(let A of Object.getOwnPropertySymbols(N)){var L=N[A];A.description===tr&&(!n||L!==n[A])&&(h[A]&&P(h[A]),h[A]=Y(()=>Nr(r,()=>L))),T[A]=L}n=T}),v){var S=r;q(()=>{$(S,n.value,!0),Or(S)})}u=!0})}function G(r){return r.__attributes??(r.__attributes={[D]:r.nodeName.includes("-"),[K]:r.namespaceURI===lr})}var F=new Map;function Z(r){var a=r.getAttribute("is")||r.nodeName,i=F.get(a);if(i)return i;F.set(a,i=[]);for(var f,t=r,s=Element.prototype;s!==t;){f=vr(t);for(var o in f)f[o].set&&i.push(o);t=cr(t)}return i}export{O as C,Lr as a,jr as b,Sr as c,Rr as d,Cr as r,C as s};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.DqHF7LwB.js","../chunks/DqdrLdzV.js","../chunks/Ciq9INsC.js","../chunks/P3PHXZz3.js","../chunks/CC-fhLYv.js","../chunks/BBdxXcNs.js","../chunks/BnKTx64M.js","../chunks/CARmnL8B.js","../chunks/B-2myMF5.js","../chunks/Cf7Xaqef.js","../assets/sockethub.Bpv0Wt6b.css","../chunks/BGxeqChl.js","../chunks/C3iWIn4n.js","../assets/0.JUA-HkH6.css","../nodes/1.DT4DtoC7.js","../nodes/2.CHi_bFz8.js","../chunks/D_xw8KSE.js","../nodes/3.1s4AoiT3.js","../chunks/BhL0iima.js","../chunks/CFHe0i8O.js","../chunks/CoHdmBcD.js","../chunks/C1LF9VyP.js","../nodes/4.Ck-0hor4.js","../nodes/5.BV2I1j0o.js","../nodes/6.PZ-pmrq7.js","../nodes/7.C7IiHO6h.js"])))=>i.map(i=>d[i]);
2
+ var M=e=>{throw TypeError(e)};var N=(e,t,r)=>t.has(e)||M("Cannot "+r);var f=(e,t,r)=>(N(e,t,"read from private field"),r?r.call(e):t.get(e)),p=(e,t,r)=>t.has(e)?M("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),j=(e,t,r,o)=>(N(e,t,"write to private field"),o?o.call(e,r):t.set(e,r),r);import{A as Q,M as X,L as Z,N as $,ah as tt,J as et,e as rt,ai as st,aa as at,b as S,ab as nt,g as v,aj as ot,U as it,V as ct,p as ut,i as lt,j as ft,d as I,I as mt,f as x,s as dt,a as ht,c as _t,r as vt,u as V,t as gt}from"../chunks/Ciq9INsC.js";import{h as Et,m as yt,u as Pt,f as J,a as L,c as C,t as bt,s as Rt}from"../chunks/DqdrLdzV.js";import{o as Ot}from"../chunks/CARmnL8B.js";import{p as D,i as B}from"../chunks/Cf7Xaqef.js";import{B as At}from"../chunks/CC-fhLYv.js";function q(e,t,r){Q&&X();var o=new At(e);Z(()=>{var n=t()??null;o.ensure(n,n&&(i=>r(i,n)))},$)}function Y(e,t){return e===t||(e==null?void 0:e[at])===t}function U(e={},t,r,o){return tt(()=>{var n,i;return et(()=>{n=i,i=[],rt(()=>{e!==r(...i)&&(t(e,...i),n&&Y(r(...n),e)&&t(null,...n))})}),()=>{st(()=>{i&&Y(r(...i),e)&&t(null,...i)})}}),e}function Lt(e){return class extends kt{constructor(t){super({component:e,...t})}}}var g,m;class kt{constructor(t){p(this,g);p(this,m);var i;var r=new Map,o=(a,s)=>{var u=ct(s,!1,!1);return r.set(a,u),u};const n=new Proxy({...t.props||{},$$events:{}},{get(a,s){return v(r.get(s)??o(s,Reflect.get(a,s)))},has(a,s){return s===nt?!0:(v(r.get(s)??o(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,u){return S(r.get(s)??o(s,u),u),Reflect.set(a,s,u)}});j(this,m,(t.hydrate?Et:yt)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((i=t==null?void 0:t.props)!=null&&i.$$host)||t.sync===!1)&&ot(),j(this,g,n.$$events);for(const a of Object.keys(f(this,m)))a==="$set"||a==="$destroy"||a==="$on"||it(this,a,{get(){return f(this,m)[a]},set(s){f(this,m)[a]=s},enumerable:!0});f(this,m).$set=a=>{Object.assign(n,a)},f(this,m).$destroy=()=>{Pt(f(this,m))}}$set(t){f(this,m).$set(t)}$on(t,r){f(this,g)[t]=f(this,g)[t]||[];const o=(...n)=>r.call(this,...n);return f(this,g)[t].push(o),()=>{f(this,g)[t]=f(this,g)[t].filter(n=>n!==o)}}$destroy(){f(this,m).$destroy()}}g=new WeakMap,m=new WeakMap;const Tt="modulepreload",wt=function(e,t){return new URL(e,t).href},G={},E=function(t,r,o){let n=Promise.resolve();if(r&&r.length>0){let a=function(l){return Promise.all(l.map(_=>Promise.resolve(_).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};const s=document.getElementsByTagName("link"),u=document.querySelector("meta[property=csp-nonce]"),k=(u==null?void 0:u.nonce)||(u==null?void 0:u.getAttribute("nonce"));n=a(r.map(l=>{if(l=wt(l,o),l in G)return;G[l]=!0;const _=l.endsWith(".css"),y=_?'[rel="stylesheet"]':"";if(o)for(let P=s.length-1;P>=0;P--){const c=s[P];if(c.href===l&&(!_||c.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${y}`))return;const h=document.createElement("link");if(h.rel=_?"stylesheet":Tt,_||(h.as="script"),h.crossOrigin="",h.href=l,k&&h.setAttribute("nonce",k),document.head.appendChild(h),_)return new Promise((P,c)=>{h.addEventListener("load",P),h.addEventListener("error",()=>c(Error(`Unable to preload CSS for ${l}`)))})}))}function i(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return n.then(a=>{for(const s of a||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},Ft={};var xt=J('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),St=J("<!> <!>",1);function pt(e,t){ut(t,!0);let r=D(t,"components",23,()=>[]),o=D(t,"data_0",3,null),n=D(t,"data_1",3,null);lt(()=>t.stores.page.set(t.page)),ft(()=>{t.stores,t.page,t.constructors,r(),t.form,o(),n(),t.stores.page.notify()});let i=I(!1),a=I(!1),s=I(null);Ot(()=>{const c=t.stores.page.subscribe(()=>{v(i)&&(S(a,!0),mt().then(()=>{S(s,document.title||"untitled page",!0)}))});return S(i,!0),c});const u=V(()=>t.constructors[1]);var k=St(),l=x(k);{var _=c=>{const b=V(()=>t.constructors[0]);var R=C(),T=x(R);q(T,()=>v(b),(O,A)=>{U(A(O,{get data(){return o()},get form(){return t.form},get params(){return t.page.params},children:(d,It)=>{var F=C(),z=x(F);q(z,()=>v(u),(H,K)=>{U(K(H,{get data(){return n()},get form(){return t.form},get params(){return t.page.params}}),w=>r()[1]=w,()=>{var w;return(w=r())==null?void 0:w[1]})}),L(d,F)},$$slots:{default:!0}}),d=>r()[0]=d,()=>{var d;return(d=r())==null?void 0:d[0]})}),L(c,R)},y=c=>{const b=V(()=>t.constructors[0]);var R=C(),T=x(R);q(T,()=>v(b),(O,A)=>{U(A(O,{get data(){return o()},get form(){return t.form},get params(){return t.page.params}}),d=>r()[0]=d,()=>{var d;return(d=r())==null?void 0:d[0]})}),L(c,R)};B(l,c=>{t.constructors[1]?c(_):c(y,!1)})}var h=dt(l,2);{var P=c=>{var b=xt(),R=_t(b);{var T=O=>{var A=bt();gt(()=>Rt(A,v(s))),L(O,A)};B(R,O=>{v(a)&&O(T)})}vt(b),L(c,b)};B(h,c=>{v(i)&&c(P)})}L(e,k),ht()}const Mt=Lt(pt),Nt=[()=>E(()=>import("../nodes/0.DqHF7LwB.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url),()=>E(()=>import("../nodes/1.DT4DtoC7.js"),__vite__mapDeps([14,1,2,6,8,12,7,11]),import.meta.url),()=>E(()=>import("../nodes/2.CHi_bFz8.js"),__vite__mapDeps([15,1,2,6,3,4,11,16]),import.meta.url),()=>E(()=>import("../nodes/3.1s4AoiT3.js"),__vite__mapDeps([17,1,2,9,4,7,18,3,19,5,6,8,10,16,20,21]),import.meta.url),()=>E(()=>import("../nodes/4.Ck-0hor4.js"),__vite__mapDeps([22,1,2,7,18,9,4,3,19,5,6,8,10,16,21]),import.meta.url),()=>E(()=>import("../nodes/5.BV2I1j0o.js"),__vite__mapDeps([23,1,2,9,4,7,18,3,19,5,6,8,10,16,20]),import.meta.url),()=>E(()=>import("../nodes/6.PZ-pmrq7.js"),__vite__mapDeps([24,1,2,7,18,9,4,3,19,5,6,8,10,16,21]),import.meta.url),()=>E(()=>import("../nodes/7.C7IiHO6h.js"),__vite__mapDeps([25,1,2,5,6,7,8,9,4,3,10,19,16,21]),import.meta.url)],Yt=[],Gt={"/":[2],"/dummy":[7],"/feeds":[4],"/irc":[3],"/metadata":[6],"/xmpp":[5]},W={handleError:({error:e})=>{console.error(e)},reroute:()=>{},transport:{}},jt=Object.fromEntries(Object.entries(W.transport).map(([e,t])=>[e,t.decode])),Jt=Object.fromEntries(Object.entries(W.transport).map(([e,t])=>[e,t.encode])),Wt=!1,zt=(e,t)=>jt[e](t);export{zt as decode,jt as decoders,Gt as dictionary,Jt as encoders,Wt as hash,W as hooks,Ft as matchers,Nt as nodes,Mt as root,Yt as server_loads};
@@ -0,0 +1 @@
1
+ import{l as o,a as r}from"../chunks/C3iWIn4n.js";export{o as load_css,r as start};
@@ -0,0 +1,39 @@
1
+ import{f as x,a as g,s as y,c as W}from"../chunks/DqdrLdzV.js";import{t as S,c as t,n as C,r as e,s as m,p as q,a as z,g as f,u as D,ag as E,f as F,F as B}from"../chunks/Ciq9INsC.js";import{a as w,s as k,b as H}from"../chunks/P3PHXZz3.js";import{c as N,e as V,i as X,h as G,b as J}from"../chunks/BBdxXcNs.js";import{b as A}from"../chunks/BGxeqChl.js";import"../chunks/BnKTx64M.js";import{i as K,s as I,b as T}from"../chunks/Cf7Xaqef.js";import{i as Q}from"../chunks/B-2myMF5.js";import{s as U}from"../chunks/C3iWIn4n.js";const Y=!0,Z=!1,fe=Object.freeze(Object.defineProperty({__proto__:null,prerender:Y,ssr:Z},Symbol.toStringTag,{value:"Module"})),ee=`<style>/*!
2
+ Theme: Edge Light
3
+ Author: cjayross (https://github.com/cjayross)
4
+ License: ~ MIT (or more permissive) [via base16-schemes-source]
5
+ Maintainer: @highlightjs/core-team
6
+ Version: 2021.09.0
7
+ */pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#5e646f;background:#fafafa}.hljs::selection,
8
+ .hljs ::selection{background-color:#d69822;color:#5e646f}.hljs-comment{color:#5e646f}.hljs-tag{color:#6587bf}.hljs-subst,
9
+ .hljs-punctuation,
10
+ .hljs-operator{color:#5e646f}.hljs-operator{opacity:0.7}.hljs-bullet,
11
+ .hljs-variable,
12
+ .hljs-template-variable,
13
+ .hljs-selector-tag,
14
+ .hljs-name,
15
+ .hljs-deletion,.hljs-symbol,
16
+ .hljs-number,
17
+ .hljs-link,
18
+ .hljs-attr,
19
+ .hljs-variable.constant_,
20
+ .hljs-literal{color:#db7070}.hljs-title,
21
+ .hljs-class .hljs-title,
22
+ .hljs-title.class_,.hljs-strong{color:#d69822}.hljs-strong{font-weight:bold}.hljs-code,
23
+ .hljs-addition,
24
+ .hljs-title.class_.inherited__,
25
+ .hljs-string{color:#7c9f4b}.hljs-built_in,
26
+ .hljs-doctag,
27
+ .hljs-quote,
28
+ .hljs-keyword.hljs-atrule,
29
+ .hljs-regexp{color:#509c93}.hljs-function .hljs-title,
30
+ .hljs-attribute,
31
+ .ruby .hljs-property,
32
+ .hljs-title.function_,
33
+ .hljs-section{color:#6587bf}.hljs-type,
34
+ .hljs-template-tag,
35
+ .diff .hljs-meta,
36
+ .hljs-keyword,.hljs-emphasis{color:#b870ce}.hljs-emphasis{font-style:italic}.hljs-meta,
37
+ .hljs-meta .hljs-keyword,
38
+ .hljs-meta .hljs-string{color:#509c93}.hljs-meta .hljs-keyword,
39
+ .hljs-meta-keyword{font-weight:bold}</style>`;var te=x('<p class="text-xs text-gray-500 text-center mt-2">Make sure Sockethub server is running</p>'),se=x('<div class="bg-white border border-gray-200 rounded-lg p-4 shadow-sm"><div class="flex items-center justify-center space-x-3"><div class="flex items-center space-x-2"><div></div> <span class="text-sm font-medium text-gray-700">Sockethub Connection</span></div> <span> </span></div> <!></div>');function ae(s){const r=()=>T(N,"$connected",d),[d,h]=I();var o=se(),p=t(o),a=t(p),b=t(a);C(2),e(a);var l=m(a,2),n=t(l,!0);e(l),e(p);var u=m(p,2);{var j=i=>{var v=te();g(i,v)};K(u,i=>{r()||i(j)})}e(o),S(()=>{w(b,1,`w-3 h-3 rounded-full ${r()?"bg-green-400 animate-pulse":"bg-gray-300"}`),w(l,1,`px-3 py-1 rounded-full text-xs font-bold uppercase tracking-wide ${r()?"bg-green-100 text-green-800":"bg-gray-100 text-gray-600"}`),y(n,r()?"Connected":"Disconnected")}),g(s,o),h()}const re=()=>{const s=U;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},oe={subscribe(s){return re().page.subscribe(s)}};var le=x('<a><span class="text-sm"> </span> <span class="ml-1"> </span> <div class="absolute bottom-full left-1/2 transform -translate-x-1/2 mb-2 px-2 py-1 bg-gray-800 text-white text-xs rounded opacity-0 group-hover:opacity-100 transition-opacity duration-200 pointer-events-none whitespace-nowrap z-10"> <div class="absolute top-full left-1/2 transform -translate-x-1/2 border-2 border-transparent border-t-gray-800"></div></div></a>'),ne=x('<nav class="flex justify-center flex-wrap gap-2 p-2"></nav>');function ie(s,r){q(r,!1);const d=()=>T(oe,"$page",h),[h,o]=I(),p=[["🏠","Home","/","Start here to understand Sockethub"],["🔧","Dummy","/dummy","Basic examples • Start here"],["📰","Feeds","/feeds","RSS/ATOM feed parsing"],["🔍","Metadata","/metadata","Web page metadata extraction"],["💬","IRC","/irc","Internet Relay Chat • Advanced"],["📨","XMPP","/xmpp","Extensible messaging • Advanced"]];Q();var a=ne();V(a,5,()=>p,X,(b,l)=>{var n=D(()=>E(f(l),4));let u=()=>f(n)[0],j=()=>f(n)[1],i=()=>f(n)[2],v=()=>f(n)[3];var c=le(),_=t(c),L=t(_,!0);e(_);var $=m(_,2),O=t($,!0);e($);var M=m($,2),P=t(M);C(),e(M),e(c),S(R=>{w(c,1,`group relative rounded-lg px-3 py-2 font-medium transition-all duration-200 no-underline ${R??""}`),k(c,"href",`${A??""}${i()??""}`),k(c,"title",v()),y(L,u()),y(O,j()),y(P,`${v()??""} `)},[()=>d().url.pathname.endsWith(i())?"bg-orange-600 text-blue-50 shadow-md":"text-slate-700 hover:bg-slate-200 hover:shadow-sm"]),g(b,c)}),e(a),g(s,a),z(),o()}var ce=x('<main><div><div><img class="m-auto" alt="Sockethub"/></div> <div class="col-span-2 md:mt-3"><!></div> <div class="w-full text-center"><!></div></div> <div class="pt-5"><!></div></main>');function xe(s,r){var d=ce();G("12qhfyh",i=>{var v=W(),c=F(v);J(c,()=>ee),g(i,v)});var h=t(d),o=t(h),p=t(o);e(o);var a=m(o,2),b=t(a);ie(b,{}),e(a);var l=m(a,2),n=t(l);ae(n),e(l),e(h);var u=m(h,2),j=t(u);H(j,()=>r.children??B),e(u),e(d),S(()=>k(p,"src",`${A??""}/sockethub-logo.svg`)),g(s,d)}export{xe as component,fe as universal};
@@ -0,0 +1 @@
1
+ import{f as h,a as g,s as e}from"../chunks/DqdrLdzV.js";import"../chunks/BnKTx64M.js";import{p as l,f as v,t as d,a as _,c as o,r as p,s as x}from"../chunks/Ciq9INsC.js";import{i as $}from"../chunks/B-2myMF5.js";import{s as k,p as m}from"../chunks/C3iWIn4n.js";const b={get error(){return m.error},get status(){return m.status}};k.updated.check;const i=b;var E=h("<h1> </h1> <p> </p>",1);function A(f,c){l(c,!1),$();var t=E(),r=v(t),n=o(r,!0);p(r);var s=x(r,2),u=o(s,!0);p(s),d(()=>{var a;e(n,i.status),e(u,(a=i.error)==null?void 0:a.message)}),g(f,t),_()}export{A as component};
@@ -1,5 +1,5 @@
1
- import{t as x,a as f}from"../chunks/Dkd6l8cV.js";import"../chunks/CZFJHIMN.js";import{s as e,f as y,c as t,r as s,n as w}from"../chunks/B6g3iar1.js";import{s as a}from"../chunks/CLEQVYcW.js";import{b as r}from"../chunks/B38kwwg4.js";import{I as S}from"../chunks/Dd_3LBWN.js";var k=x(`<title>Sockethub Examples</title> <div class="space-y-6"><div class="bg-blue-50 border-l-4 border-blue-400 p-4 rounded-r-lg"><h2 class="text-xl font-semibold text-blue-800 mb-2">What is Sockethub?</h2> <p class="text-blue-700 mb-3">Sockethub is a <strong>protocol gateway</strong> that bridges web applications with various internet protocols
1
+ import{f as x,a as f}from"../chunks/DqdrLdzV.js";import"../chunks/BnKTx64M.js";import{s as e,f as y,c as t,r as s,n as w,t as S}from"../chunks/Ciq9INsC.js";import{s as a}from"../chunks/P3PHXZz3.js";import{b as r}from"../chunks/BGxeqChl.js";import{I as k}from"../chunks/D_xw8KSE.js";var P=x(`<title>Sockethub Examples</title> <div class="space-y-6"><div class="bg-blue-50 border-l-4 border-blue-400 p-4 rounded-r-lg"><h2 class="text-xl font-semibold text-blue-800 mb-2">What is Sockethub?</h2> <p class="text-blue-700 mb-3">Sockethub is a <strong>protocol gateway</strong> that bridges web applications with various internet protocols
2
2
  like IRC, XMPP, RSS/ATOM feeds, and more. Instead of implementing each protocol directly in your web app,
3
3
  you send standardized <strong>ActivityStreams</strong> messages to Sockethub, which handles the protocol-specific details.</p> <p class="text-blue-700">Think of it as a universal translator that lets your web application communicate with
4
4
  chat servers, feed readers, and other internet services using a single, consistent API.</p></div> <div class="bg-green-50 border-l-4 border-green-400 p-4 rounded-r-lg"><h2 class="text-xl font-semibold text-green-800 mb-2">Key Concepts</h2> <div class="space-y-3"><div><h3 class="font-semibold text-green-700">🎭 Actor</h3> <p class="text-green-600 text-sm">Your identity on a platform (e.g., IRC nickname, XMPP username, feed URL)</p></div> <div><h3 class="font-semibold text-green-700">🔧 Platform</h3> <p class="text-green-600 text-sm">A protocol handler (IRC, XMPP, Feeds, etc.) that runs as a separate process</p></div> <div><h3 class="font-semibold text-green-700">📝 ActivityStreams</h3> <p class="text-green-600 text-sm">Standardized JSON format for describing activities like "send message", "connect", "fetch"</p></div> <div><h3 class="font-semibold text-green-700">🔐 Credentials</h3> <p class="text-green-600 text-sm">Connection details securely stored per session (servers, passwords, API keys)</p></div></div></div> <div class="bg-yellow-50 border-l-4 border-yellow-400 p-4 rounded-r-lg"><h2 class="text-xl font-semibold text-yellow-800 mb-2">How It Works</h2> <ol class="text-yellow-700 space-y-2 text-sm"><li><span class="font-semibold">1.</span> Your web app connects to Sockethub via WebSocket</li> <li><span class="font-semibold">2.</span> You send ActivityStreams messages describing what you want to do</li> <li><span class="font-semibold">3.</span> Sockethub routes messages to the appropriate platform</li> <li><span class="font-semibold">4.</span> Platform handles protocol-specific communication</li> <li><span class="font-semibold">5.</span> Results are sent back to your web app as ActivityStreams</li></ol></div> <div class="bg-purple-50 border-l-4 border-purple-400 p-4 rounded-r-lg"><h2 class="text-xl font-semibold text-purple-800 mb-2">Explore the Examples</h2> <p class="text-purple-700 mb-3">Each example demonstrates a different platform. Start with <strong>Dummy</strong> to understand
5
- the basic flow, then explore real-world protocols:</p> <div class="grid gap-3 text-sm"><a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors border-l-4 border-l-green-400"><div class="flex items-center justify-between"><div><div class="font-semibold text-purple-800">🔧 Dummy Platform</div> <div class="text-purple-600">Learn the basics with simple echo/fail examples</div></div> <span class="text-xs bg-green-100 text-green-700 px-2 py-1 rounded">Start Here</span></div></a> <div class="grid md:grid-cols-2 gap-3"><a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors"><div class="font-semibold text-purple-800">📰 RSS/ATOM Feeds</div> <div class="text-purple-600">Fetch and parse web feeds</div></a> <a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors"><div class="font-semibold text-purple-800">🔍 Metadata</div> <div class="text-purple-600">Extract metadata from web pages</div></a></div> <div class="grid md:grid-cols-2 gap-3"><a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors border-l-4 border-l-orange-400"><div class="flex items-center justify-between"><div><div class="font-semibold text-purple-800">💬 IRC Chat</div> <div class="text-purple-600">Connect to IRC servers and channels</div></div> <span class="text-xs bg-orange-100 text-orange-700 px-2 py-1 rounded">Advanced</span></div></a> <a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors border-l-4 border-l-orange-400"><div class="flex items-center justify-between"><div><div class="font-semibold text-purple-800">📨 XMPP Messaging</div> <div class="text-purple-600">Send and receive XMPP messages</div></div> <span class="text-xs bg-orange-100 text-orange-700 px-2 py-1 rounded">Advanced</span></div></a></div></div></div> <div class="text-center text-gray-600 text-sm bg-gray-50 p-4 rounded-lg">💡 <strong>Tip:</strong> Watch the connection status at the top and the activity log at the bottom of each example to understand what's happening behind the scenes.</div></div>`,1);function $(m){S(m,{title:"Sockethub Examples",children:(g,P)=>{var i=k(),l=e(y(i),2),d=e(t(l),6),n=e(t(d),4),p=t(n);a(p,"href",`${r??""}/dummy`);var o=e(p,2),c=t(o);a(c,"href",`${r??""}/feeds`);var h=e(c,2);a(h,"href",`${r??""}/metadata`),s(o);var b=e(o,2),v=t(b);a(v,"href",`${r??""}/irc`);var u=e(v,2);a(u,"href",`${r??""}/xmpp`),s(b),s(n),s(d),w(2),s(l),f(g,i)}})}export{$ as component};
5
+ the basic flow, then explore real-world protocols:</p> <div class="grid gap-3 text-sm"><a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors border-l-4 border-l-green-400"><div class="flex items-center justify-between"><div><div class="font-semibold text-purple-800">🔧 Dummy Platform</div> <div class="text-purple-600">Learn the basics with simple echo/fail examples</div></div> <span class="text-xs bg-green-100 text-green-700 px-2 py-1 rounded">Start Here</span></div></a> <div class="grid md:grid-cols-2 gap-3"><a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors"><div class="font-semibold text-purple-800">📰 RSS/ATOM Feeds</div> <div class="text-purple-600">Fetch and parse web feeds</div></a> <a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors"><div class="font-semibold text-purple-800">🔍 Metadata</div> <div class="text-purple-600">Extract metadata from web pages</div></a></div> <div class="grid md:grid-cols-2 gap-3"><a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors border-l-4 border-l-orange-400"><div class="flex items-center justify-between"><div><div class="font-semibold text-purple-800">💬 IRC Chat</div> <div class="text-purple-600">Connect to IRC servers and channels</div></div> <span class="text-xs bg-orange-100 text-orange-700 px-2 py-1 rounded">Advanced</span></div></a> <a class="block p-3 bg-white rounded border hover:bg-purple-50 transition-colors border-l-4 border-l-orange-400"><div class="flex items-center justify-between"><div><div class="font-semibold text-purple-800">📨 XMPP Messaging</div> <div class="text-purple-600">Send and receive XMPP messages</div></div> <span class="text-xs bg-orange-100 text-orange-700 px-2 py-1 rounded">Advanced</span></div></a></div></div></div> <div class="text-center text-gray-600 text-sm bg-gray-50 p-4 rounded-lg">💡 <strong>Tip:</strong> Watch the connection status at the top and the activity log at the bottom of each example to understand what's happening behind the scenes.</div></div>`,1);function E(m){k(m,{title:"Sockethub Examples",children:(g,_)=>{var i=P(),l=e(y(i),2),d=e(t(l),6),n=e(t(d),4),p=t(n),o=e(p,2),c=t(o),h=e(c,2);s(o);var b=e(o,2),v=t(b),u=e(v,2);s(b),s(n),s(d),w(2),s(l),S(()=>{a(p,"href",`${r??""}/dummy`),a(c,"href",`${r??""}/feeds`),a(h,"href",`${r??""}/metadata`),a(v,"href",`${r??""}/irc`),a(u,"href",`${r??""}/xmpp`)}),f(g,i)}})}export{E as component};
@@ -0,0 +1 @@
1
+ import{f as y,a as C}from"../chunks/DqdrLdzV.js";import{p as ee,a as te,s as e,f as re,c as n,g as o,u as q,r as d,b as l,d as S,e as a}from"../chunks/Ciq9INsC.js";import{s as se,a as oe,m as ae,b as z,i as ne,c as v}from"../chunks/Cf7Xaqef.js";import{A as de}from"../chunks/BhL0iima.js";import{A as ce,C as ie,P as le,R as ve,S as me}from"../chunks/CoHdmBcD.js";import{B as ue}from"../chunks/CFHe0i8O.js";import{F as N}from"../chunks/C1LF9VyP.js";import{I as ge,s as pe}from"../chunks/BBdxXcNs.js";import{w as Y}from"../chunks/CARmnL8B.js";var fe=y('<div class="bg-gradient-to-r from-emerald-50 to-green-50 border border-emerald-200 rounded-xl p-6 shadow-sm"><h4 class="text-lg font-bold text-emerald-900 mb-4 flex items-center"><span class="mr-3 w-8 h-8 bg-emerald-600 text-white rounded-full flex items-center justify-center text-sm font-bold">4</span> Join Channel and Chat</h4> <div class="space-y-6"><!> <!> <!></div></div>'),be=y('<div class="bg-gradient-to-r from-gray-50 to-slate-50 border border-gray-200 rounded-xl p-6 text-center shadow-sm"><div class="flex items-center justify-center mb-3"><span class="w-8 h-8 bg-gray-400 text-white rounded-full flex items-center justify-center text-sm font-bold">4</span></div> <p class="text-gray-600 font-medium">Connect to the IRC server to access chat features</p> <p class="text-gray-500 text-sm mt-1">Complete steps 1-3 above to unlock this section</p></div>'),he=y('<div class="bg-orange-50 border-l-4 border-orange-400 p-4 rounded-r-lg mb-6"><h3 class="text-lg font-semibold text-orange-800 mb-2">💬 IRC Connection Process</h3> <p class="text-orange-700 text-sm mb-3">IRC (Internet Relay Chat) requires several steps to get connected and chatting.</p> <div class="text-orange-700 text-sm space-y-1"><div><strong>1. 🎭 Set Actor:</strong> Choose your IRC nickname</div> <div><strong>2. 🔐 Set Credentials:</strong> Provide server connection details</div> <div><strong>3. 🔌 Connect:</strong> Establish connection to IRC server</div> <div><strong>4. 🏠 Join Room:</strong> Enter a channel to start chatting</div> <div><strong>5. 💬 Send Messages:</strong> Chat with other users</div></div></div> <div class="space-y-6"><div class="bg-gradient-to-r from-green-50 to-emerald-50 border border-green-200 rounded-xl p-6 shadow-sm"><h4 class="text-lg font-bold text-green-900 mb-4 flex items-center"><span class="mr-3 w-8 h-8 bg-green-600 text-white rounded-full flex items-center justify-center text-sm font-bold">1</span> Choose Your IRC Nickname</h4> <div class="space-y-4"><!> <!></div></div> <div class="bg-gradient-to-r from-blue-50 to-sky-50 border border-blue-200 rounded-xl p-6 shadow-sm"><h4 class="text-lg font-bold text-blue-900 mb-4 flex items-center"><span class="mr-3 w-8 h-8 bg-blue-600 text-white rounded-full flex items-center justify-center text-sm font-bold">2</span> Configure Server Connection</h4> <div class="space-y-4"><div class="grid md:grid-cols-2 gap-4"><!> <!></div> <div class="bg-blue-100 border border-blue-200 rounded-lg p-3"><p class="text-blue-800 text-sm">💡 <strong>Popular IRC networks:</strong> irc.libera.chat, irc.oftc.net, irc.rizon.net</p></div> <!></div></div> <div class="bg-gradient-to-r from-purple-50 to-violet-50 border border-purple-200 rounded-xl p-6 shadow-sm"><h4 class="text-lg font-bold text-purple-900 mb-4 flex items-center"><span class="mr-3 w-8 h-8 bg-purple-600 text-white rounded-full flex items-center justify-center text-sm font-bold">3</span> Connect to Server</h4> <!></div> <!></div>',1);function $e(D,G){ee(G,!0);const c=()=>z(I,"$actorIdStore",w),r=()=>z(s,"$sockethubState",w),[w,H]=se(),I=Y(`sh-${(Math.random()+1).toString(36).substring(7)}`);let g=S("chat.freenode.net"),p=S(6697),k="#sh-random",m=S(!1);const s=Y({actorSet:!1,credentialsSet:!1,connected:!1,joined:!1});let u=q(()=>({id:c(),type:"person",name:c()})),K=q(()=>({type:"credentials",nick:c(),server:o(g),port:o(p),secure:!0}));function R(){v(s,a(r).actorSet=!1,a(r)),v(s,a(r).credentialsSet=!1,a(r)),v(s,a(r).connected=!1,a(r)),v(s,a(r).joined=!1,a(r)),l(m,!1)}async function L(){l(m,!0),await pe({context:"irc",type:"connect",actor:c()}).catch(()=>{R()}).then(()=>{v(s,a(r).connected=!0,a(r)),l(m,!1)},f=>{console.error(f),R()})}ue(D,{title:"IRC Platform Example",description:"Connect to IRC servers, join channels, and send messages using Sockethub's IRC platform.",children:(f,xe)=>{var j=he(),$=e(re(j),2),b=n($),P=e(n(b),2),A=n(P);ce(A,{get value(){return ae(),c()},set value(t){oe(I,t)}});var O=e(A,2);de(O,{get actor(){return o(u)},get sockethubState(){return s}}),d(P),d(b);var h=e(b,2),E=e(n(h),2),x=n(E),F=n(x);N(F,{label:"IRC Server",id:"server",placeholder:"irc.libera.chat",get value(){return o(g)},set value(t){l(g,t,!0)}});var Q=e(F,2);N(Q,{label:"Port",id:"port",type:"number",placeholder:"6697",get value(){return o(p)},set value(t){l(p,t,!0)}}),d(x);var T=e(x,4);ie(T,{context:"irc",get credentials(){return o(K)},get actor(){return o(u)},get sockethubState(){return s}}),d(E),d(h);var _=e(h,2),U=e(n(_),2);le(U,{get sockethubState(){return s},get connecting(){return o(m)},onConnect:L}),d(_);var V=e(_,2);{var W=t=>{var i=fe(),M=e(n(i),2),B=n(M);ve(B,{get actor(){return o(u)},get sockethubState(){return s},room:k,context:"irc"});var J=e(B,2);ge(J,{});var Z=e(J,2);me(Z,{context:"irc",get actor(){return o(u)},get sockethubState(){return s},room:k}),d(M),d(i),C(t,i)},X=t=>{var i=be();C(t,i)};ne(V,t=>{r().connected?t(W):t(X,!1)})}d($),C(f,j)}}),te(),H()}export{$e as component};
@@ -0,0 +1 @@
1
+ import{f as y,t as w,a as f}from"../chunks/DqdrLdzV.js";import{p as k,a as A,s as o,f as F,c as p,b as R,d as _,g as e,u as T,n as O,r as m}from"../chunks/Ciq9INsC.js";import{w as L}from"../chunks/CARmnL8B.js";import{A as P}from"../chunks/BhL0iima.js";import{B as U,S as $}from"../chunks/CFHe0i8O.js";import{F as M}from"../chunks/C1LF9VyP.js";import{s as j}from"../chunks/BBdxXcNs.js";var B=y('<div class="bg-green-50 border-l-4 border-green-400 p-4 rounded-r-lg mb-6"><h3 class="text-lg font-semibold text-green-800 mb-2">📰 How Feed Processing Works</h3> <p class="text-green-700 text-sm mb-3">This example shows how Sockethub can fetch and parse RSS/ATOM feeds from any website.</p> <div class="text-green-700 text-sm space-y-1"><div><strong>🌐 Fetching:</strong> Sockethub downloads the feed content from the URL</div> <div><strong>🔍 Parsing:</strong> Content is parsed from RSS/ATOM format</div> <div><strong>📝 Converting:</strong> Each feed entry becomes an ActivityStreams object</div> <div><strong>📊 Results:</strong> You receive an array of structured feed entries</div></div></div> <div class="space-y-4"><!> <p class="text-gray-600 text-sm">⬆️ Try different RSS/ATOM feeds: news sites, blogs, podcasts, etc.</p> <!> <div class="bg-blue-50 border border-blue-200 p-3 rounded-lg"><p class="text-blue-700 text-sm"><strong>💡 What happens when you click Fetch:</strong><br/> The feed URL becomes the "actor" (like a website identity), and Sockethub sends a "fetch" activity to download and parse the feed content.</p></div> <div class="w-full text-right"><!></div></div>',1);function I(h,g){k(g,!0);const v=L({actorSet:!1});let t=_("https://sockethub.org/feed.xml");const a=T(()=>({type:"website",id:e(t)}));function u(s){return{context:"feeds",type:s,actor:e(a)}}async function b(){j(u("fetch"))}U(h,{title:"Feeds Platform Example",description:"The feeds platform takes an RSS/ATOM feed URL, fetches and parses it, and returns an array of Activity Objects for each entry.",children:(s,E)=>{var n=B(),d=o(F(n),2),i=p(d);M(i,{label:"Feed URL",id:"URL",placeholder:"https://example.com/feed.xml",get value(){return e(t)},set value(r){R(t,r,!0)}});var c=o(i,4);P(c,{get actor(){return e(a)},get sockethubState(){return v}});var l=o(c,4),x=p(l);$(x,{buttonAction:b,children:(r,C)=>{O();var S=w("Fetch Feed");f(r,S)}}),m(l),m(d),f(s,n)}}),A()}export{I as component};
@@ -0,0 +1 @@
1
+ import{f as P,a as f}from"../chunks/DqdrLdzV.js";import{p as L,a as N,s as r,f as O,c as n,g as o,u as x,r as c,n as Q,d as T,b as E,e as s}from"../chunks/Ciq9INsC.js";import{s as V,a as W,m as Z,b as I,i as ee,c as d}from"../chunks/Cf7Xaqef.js";import{A as te}from"../chunks/BhL0iima.js";import{A as re,C as se,P as oe,R as ae,S as ne}from"../chunks/CoHdmBcD.js";import{B as ce}from"../chunks/CFHe0i8O.js";import{I as ie,s as de}from"../chunks/BBdxXcNs.js";import{w as j}from"../chunks/CARmnL8B.js";var le=P('<div class="bg-white border border-gray-200 rounded-lg p-4"><h4 class="font-semibold text-gray-800 mb-3">Step 4 & 5: Join Room and Chat</h4> <div class="space-y-4"><!> <!> <!></div></div>'),ge=P('<div class="bg-gray-50 border border-gray-200 rounded-lg p-4 text-center"><p class="text-gray-500">Connect to the XMPP server to access chat features</p></div>'),me=P('<div class="bg-indigo-50 border-l-4 border-indigo-400 p-4 rounded-r-lg mb-6"><h3 class="text-lg font-semibold text-indigo-800 mb-2">📨 XMPP Connection Process</h3> <p class="text-indigo-700 text-sm mb-3">XMPP (Extensible Messaging and Presence Protocol) is a real-time communication protocol used by services like Jabber.</p> <div class="text-indigo-700 text-sm space-y-1"><div><strong>1. 🎭 Set Actor:</strong> Your XMPP address (e.g., user@jabber.org)</div> <div><strong>2. 🔐 Set Credentials:</strong> Your XMPP login and password</div> <div><strong>3. 🔌 Connect:</strong> Establish connection to XMPP server</div> <div><strong>4. 🏠 Join Room:</strong> Enter a multi-user chat room</div> <div><strong>5. 💬 Send Messages:</strong> Chat with other users in real-time</div></div></div> <div class="space-y-6"><div class="bg-white border border-gray-200 rounded-lg p-4"><h4 class="font-semibold text-gray-800 mb-3">Step 1: Set Your XMPP Address</h4> <!> <p class="text-gray-600 text-sm mt-2">💡 Format: username@server.com (e.g., user@jabber.org, alice@conversations.im)</p> <!></div> <div class="bg-white border border-gray-200 rounded-lg p-4"><h4 class="font-semibold text-gray-800 mb-3">Step 2: Set Your Credentials</h4> <!> <p class="text-gray-600 text-sm mt-2">🔐 Use your actual XMPP account credentials to connect</p></div> <div class="bg-white border border-gray-200 rounded-lg p-4"><h4 class="font-semibold text-gray-800 mb-3">Step 3: Connect to XMPP Server</h4> <!></div> <!></div>',1);function _e(J,R){L(R,!0);const g=()=>I(_,"$actorIdStore",S),e=()=>I(t,"$sockethubState",S),[S,Y]=V(),_=j("user@jabber.org");let m=T(!1),u=x(()=>`${g()}/SockethubExample`);const y="kosmos-random@kosmos.chat",t=j({actorSet:!1,credentialsSet:!1,connected:!1,joined:!1});let l=x(()=>({id:o(u),type:"person",name:o(u)})),B=x(()=>({type:"credentials",userAddress:g(),password:"123456",resource:"SockethubExample"}));function k(){d(t,s(e).actorSet=!1,s(e)),d(t,s(e).credentialsSet=!1,s(e)),d(t,s(e).connected=!1,s(e)),d(t,s(e).joined=!1,s(e)),E(m,!1)}async function F(){return E(m,!0),await de({context:"xmpp",type:"connect",actor:o(u)}).then(()=>{d(t,s(e).connected=!0,s(e))},v=>{console.error(v),k()}).catch(()=>{k()})}ce(J,{title:"XMPP Platform Example",description:"Connect to XMPP servers (Jabber), join multi-user chats, and exchange messages using Sockethub's XMPP platform.",children:(v,ue)=>{var M=me(),C=r(O(M),2),p=n(C),X=r(n(p),2);re(X,{get value(){return Z(),g()},set value(a){W(_,a)}});var U=r(X,4);te(U,{get actor(){return o(l)},get sockethubState(){return t}}),c(p);var b=r(p,2),q=r(n(b),2);se(q,{context:"xmpp",get credentials(){return o(B)},get actor(){return o(l)},get sockethubState(){return t}}),Q(2),c(b);var h=r(b,2),z=r(n(h),2);oe(z,{get sockethubState(){return t},get connecting(){return o(m)},onConnect:F}),c(h);var D=r(h,2);{var G=a=>{var i=le(),w=r(n(i),2),$=n(w);ae($,{get actor(){return o(l)},get sockethubState(){return t},room:y,context:"xmpp"});var A=r($,2);ie(A,{});var K=r(A,2);ne(K,{context:"xmpp",get actor(){return o(l)},get sockethubState(){return t},room:y}),c(w),c(i),f(a,i)},H=a=>{var i=ge();f(a,i)};ee(D,a=>{e().connected?a(G):a(H,!1)})}c(C),f(v,M)}}),N(),Y()}export{_e as component};
@@ -0,0 +1 @@
1
+ import{f as S,t as k,a as p}from"../chunks/DqdrLdzV.js";import{p as y,a as _,s as r,f as F,c as m,b as A,d as E,g as t,u as L,n as P,r as u}from"../chunks/Ciq9INsC.js";import{w as R}from"../chunks/CARmnL8B.js";import{A as $}from"../chunks/BhL0iima.js";import{B as T,S as U}from"../chunks/CFHe0i8O.js";import{F as B}from"../chunks/C1LF9VyP.js";import{s as M}from"../chunks/BBdxXcNs.js";var O=S('<div class="bg-purple-50 border-l-4 border-purple-400 p-4 rounded-r-lg mb-6"><h3 class="text-lg font-semibold text-purple-800 mb-2">🔍 How Metadata Extraction Works</h3> <p class="text-purple-700 text-sm mb-3">This example shows how Sockethub can extract structured metadata from any web page.</p> <div class="text-purple-700 text-sm space-y-1"><div><strong>🌐 Fetching:</strong> Sockethub downloads the web page content</div> <div><strong>🔍 Scanning:</strong> Searches for Open Graph, Twitter Cards, JSON-LD, and meta tags</div> <div><strong>📊 Extracting:</strong> Pulls out titles, descriptions, images, and other metadata</div> <div><strong>📋 Returning:</strong> Provides structured data about the page</div></div></div> <div class="space-y-4"><!> <p class="text-gray-600 text-sm">⬆️ Try different websites: news articles, social media posts, product pages, etc.</p> <!> <div class="bg-blue-50 border border-blue-200 p-3 rounded-lg"><p class="text-blue-700 text-sm"><strong>💡 What happens when you click Fetch:</strong><br/> The website URL becomes the "actor", and Sockethub sends a "fetch" activity to download the page and extract all available metadata like page titles, descriptions, and social media preview data.</p></div> <div class="w-full text-right"><!></div></div>',1);function z(h,g){y(g,!0);const b=R({actorSet:!1});let e=E("https://sockethub.org"),o=L(()=>({id:t(e),type:"website"}));function v(a){return{context:"metadata",type:a,actor:t(o)}}async function f(){M(v("fetch"))}T(h,{title:"Metadata Platform Example",description:"Sockethub's metadata platform takes a URL, fetches and parses it for any metadata.",children:(a,W)=>{var i=O(),d=r(F(i),2),n=m(d);B(n,{label:"Website URL",id:"URL",placeholder:"https://example.com",get value(){return t(e)},set value(s){A(e,s,!0)}});var c=r(n,4);$(c,{get actor(){return t(o)},get sockethubState(){return b}});var l=r(c,4),x=m(l);U(x,{buttonAction:f,children:(s,j)=>{P();var w=k("Extract Metadata");p(s,w)}}),u(l),u(d),p(a,i)}}),_()}export{z as component};
@@ -0,0 +1 @@
1
+ import{f as L,t as o,a as r}from"../chunks/DqdrLdzV.js";import{p as M,a as O,s,f as W,c as e,b as z,d as J,g as E,n as l,r as t}from"../chunks/Ciq9INsC.js";import{s as n}from"../chunks/BBdxXcNs.js";import{B as K,S as c}from"../chunks/CFHe0i8O.js";import{F as N}from"../chunks/C1LF9VyP.js";var Q=L(`<div class="bg-gradient-to-r from-blue-50 to-blue-100 border border-blue-200 rounded-xl p-6 shadow-sm"><h3 class="text-xl font-bold text-blue-900 mb-3 flex items-center"><span class="mr-2">💡</span> What You'll Learn</h3> <p class="text-blue-800 mb-4 leading-relaxed">This example demonstrates the core Sockethub workflow with a test platform that doesn't require external connections.</p> <div class="grid md:grid-cols-2 gap-3 text-blue-800"><div class="flex items-start space-x-2"><span class="text-lg">📤</span> <div><div class="font-semibold">Sending</div> <div class="text-sm text-blue-700">How to create and send ActivityStreams messages</div></div></div> <div class="flex items-start space-x-2"><span class="text-lg">📥</span> <div><div class="font-semibold">Receiving</div> <div class="text-sm text-blue-700">How Sockethub responds with results or errors</div></div></div> <div class="flex items-start space-x-2"><span class="text-lg">🎯</span> <div><div class="font-semibold">Actor</div> <div class="text-sm text-blue-700">How your identity is represented</div></div></div> <div class="flex items-start space-x-2"><span class="text-lg">🔄</span> <div><div class="font-semibold">Types</div> <div class="text-sm text-blue-700">Different activity types (echo, greet, fail, throw)</div></div></div></div></div> <div class="space-y-4"><!> <p class="text-gray-600 text-sm">⬆️ This text will be included in the <code>object.content</code> field of your ActivityStreams message.</p> <div class="bg-gradient-to-r from-amber-50 to-yellow-50 border border-amber-200 rounded-xl p-6 shadow-sm"><h4 class="text-lg font-bold text-amber-900 mb-3 flex items-center"><span class="mr-2">🚀</span> Try Different Activity Types</h4> <p class="text-amber-800 mb-4 leading-relaxed">Each button sends the same basic message structure but with a different <code class="bg-amber-100 px-1 rounded text-sm">type</code> field:</p> <div class="grid md:grid-cols-2 gap-4"><div class="space-y-4"><div class="bg-white rounded-lg p-4 border border-amber-200"><div class="flex items-center justify-between"><div class="flex-1"><div class="font-semibold text-amber-900 mb-1">Echo</div> <p class="text-amber-700 text-sm">Returns your message back unchanged</p></div> <!></div></div> <div class="bg-white rounded-lg p-4 border border-amber-200"><div class="flex items-center justify-between"><div class="flex-1"><div class="font-semibold text-amber-900 mb-1">Greet</div> <p class="text-amber-700 text-sm">Returns a friendly greeting</p></div> <!></div></div></div> <div class="space-y-4"><div class="bg-white rounded-lg p-4 border border-amber-200"><div class="flex items-center justify-between"><div class="flex-1"><div class="font-semibold text-amber-900 mb-1">Fail</div> <p class="text-amber-700 text-sm">Returns an error message (for testing error handling)</p></div> <!></div></div> <div class="bg-white rounded-lg p-4 border border-amber-200"><div class="flex items-center justify-between"><div class="flex-1"><div class="font-semibold text-amber-900 mb-1">Throw</div> <p class="text-amber-700 text-sm">Throws an exception (for testing exception handling)</p></div> <!></div></div></div></div></div></div>`,1);function se(F,P){M(P,!0);const H="https://sockethub.org/examples/dummy";let v=J("");function d(m){return{context:"dummy",type:m,actor:{type:"person",id:H},object:{type:"message",content:E(v)}}}async function R(){n(d("echo"))}async function B(){n(d("fail"))}async function D(){n(d("throw"))}async function G(){n(d("greet"))}K(F,{title:"Dummy Platform Example",description:"The dummy platform is the most basic test to communicate via Sockethub to a platform, and receive a response back. You can use either the echo or fail types on your Activity Stream object.",children:(m,U)=>{var f=Q(),h=s(W(f),2),g=e(h);N(g,{label:"Message Content",id:"objectContent",placeholder:"Hello from Sockethub",get value(){return E(v)},set value(a){z(v,a,!0)}});var y=s(g,4),w=s(e(y),4),b=e(w),p=e(b),_=e(p),C=s(e(_),2);c(C,{buttonAction:R,children:(a,u)=>{l();var i=o("Echo");r(a,i)}}),t(_),t(p);var S=s(p,2),$=e(S),Y=s(e($),2);c(Y,{buttonAction:G,children:(a,u)=>{l();var i=o("Greet");r(a,i)}}),t($),t(S),t(b);var A=s(b,2),x=e(A),T=e(x),q=s(e(T),2);c(q,{buttonAction:B,children:(a,u)=>{l();var i=o("Fail");r(a,i)}}),t(T),t(x);var j=s(x,2),k=e(j),I=s(e(k),2);c(I,{buttonAction:D,children:(a,u)=>{l();var i=o("Throw");r(a,i)}}),t(k),t(j),t(A),t(w),t(y),t(h),r(m,f)}}),O()}export{se as component};
@@ -1 +1 @@
1
- {"version":"1768862543412"}
1
+ {"version":"1769097709824"}
package/build/dummy.html CHANGED
@@ -5,28 +5,29 @@
5
5
  <link rel="icon" href="./favicon.ico" />
6
6
  <meta name="viewport" content="width=device-width" />
7
7
 
8
- <link rel="modulepreload" href="./_app/immutable/entry/start.D446A-gj.js">
9
- <link rel="modulepreload" href="./_app/immutable/chunks/DPf-AoMq.js">
10
- <link rel="modulepreload" href="./_app/immutable/chunks/B6g3iar1.js">
11
- <link rel="modulepreload" href="./_app/immutable/chunks/BoR-lgka.js">
12
- <link rel="modulepreload" href="./_app/immutable/chunks/B38kwwg4.js">
13
- <link rel="modulepreload" href="./_app/immutable/entry/app.DyZOSd3E.js">
14
- <link rel="modulepreload" href="./_app/immutable/chunks/Dkd6l8cV.js">
15
- <link rel="modulepreload" href="./_app/immutable/chunks/CfqRDpBM.js">
8
+ <link rel="modulepreload" href="./_app/immutable/entry/start.0uZro58w.js">
9
+ <link rel="modulepreload" href="./_app/immutable/chunks/C3iWIn4n.js">
10
+ <link rel="modulepreload" href="./_app/immutable/chunks/Ciq9INsC.js">
11
+ <link rel="modulepreload" href="./_app/immutable/chunks/CARmnL8B.js">
12
+ <link rel="modulepreload" href="./_app/immutable/chunks/BGxeqChl.js">
13
+ <link rel="modulepreload" href="./_app/immutable/entry/app.CAAPrK1G.js">
14
+ <link rel="modulepreload" href="./_app/immutable/chunks/DqdrLdzV.js">
15
+ <link rel="modulepreload" href="./_app/immutable/chunks/Cf7Xaqef.js">
16
+ <link rel="modulepreload" href="./_app/immutable/chunks/CC-fhLYv.js">
16
17
  </head>
17
18
  <body class="bg-white-100">
18
19
  <div class="container mx-auto pl-2 pr-2 pt-2">
19
20
  <script>
20
21
  {
21
- __sveltekit_8mb5n8 = {
22
+ __sveltekit_eab92q = {
22
23
  base: new URL(".", location).pathname.slice(0, -1)
23
24
  };
24
25
 
25
26
  const element = document.currentScript.parentElement;
26
27
 
27
28
  Promise.all([
28
- import("./_app/immutable/entry/start.D446A-gj.js"),
29
- import("./_app/immutable/entry/app.DyZOSd3E.js")
29
+ import("./_app/immutable/entry/start.0uZro58w.js"),
30
+ import("./_app/immutable/entry/app.CAAPrK1G.js")
30
31
  ]).then(([kit, app]) => {
31
32
  kit.start(app, element);
32
33
  });
package/build/feeds.html CHANGED
@@ -5,28 +5,29 @@
5
5
  <link rel="icon" href="./favicon.ico" />
6
6
  <meta name="viewport" content="width=device-width" />
7
7
 
8
- <link rel="modulepreload" href="./_app/immutable/entry/start.D446A-gj.js">
9
- <link rel="modulepreload" href="./_app/immutable/chunks/DPf-AoMq.js">
10
- <link rel="modulepreload" href="./_app/immutable/chunks/B6g3iar1.js">
11
- <link rel="modulepreload" href="./_app/immutable/chunks/BoR-lgka.js">
12
- <link rel="modulepreload" href="./_app/immutable/chunks/B38kwwg4.js">
13
- <link rel="modulepreload" href="./_app/immutable/entry/app.DyZOSd3E.js">
14
- <link rel="modulepreload" href="./_app/immutable/chunks/Dkd6l8cV.js">
15
- <link rel="modulepreload" href="./_app/immutable/chunks/CfqRDpBM.js">
8
+ <link rel="modulepreload" href="./_app/immutable/entry/start.0uZro58w.js">
9
+ <link rel="modulepreload" href="./_app/immutable/chunks/C3iWIn4n.js">
10
+ <link rel="modulepreload" href="./_app/immutable/chunks/Ciq9INsC.js">
11
+ <link rel="modulepreload" href="./_app/immutable/chunks/CARmnL8B.js">
12
+ <link rel="modulepreload" href="./_app/immutable/chunks/BGxeqChl.js">
13
+ <link rel="modulepreload" href="./_app/immutable/entry/app.CAAPrK1G.js">
14
+ <link rel="modulepreload" href="./_app/immutable/chunks/DqdrLdzV.js">
15
+ <link rel="modulepreload" href="./_app/immutable/chunks/Cf7Xaqef.js">
16
+ <link rel="modulepreload" href="./_app/immutable/chunks/CC-fhLYv.js">
16
17
  </head>
17
18
  <body class="bg-white-100">
18
19
  <div class="container mx-auto pl-2 pr-2 pt-2">
19
20
  <script>
20
21
  {
21
- __sveltekit_8mb5n8 = {
22
+ __sveltekit_eab92q = {
22
23
  base: new URL(".", location).pathname.slice(0, -1)
23
24
  };
24
25
 
25
26
  const element = document.currentScript.parentElement;
26
27
 
27
28
  Promise.all([
28
- import("./_app/immutable/entry/start.D446A-gj.js"),
29
- import("./_app/immutable/entry/app.DyZOSd3E.js")
29
+ import("./_app/immutable/entry/start.0uZro58w.js"),
30
+ import("./_app/immutable/entry/app.CAAPrK1G.js")
30
31
  ]).then(([kit, app]) => {
31
32
  kit.start(app, element);
32
33
  });
package/build/index.html CHANGED
@@ -5,28 +5,29 @@
5
5
  <link rel="icon" href="/favicon.ico" />
6
6
  <meta name="viewport" content="width=device-width" />
7
7
 
8
- <link rel="modulepreload" href="/_app/immutable/entry/start.D446A-gj.js">
9
- <link rel="modulepreload" href="/_app/immutable/chunks/DPf-AoMq.js">
10
- <link rel="modulepreload" href="/_app/immutable/chunks/B6g3iar1.js">
11
- <link rel="modulepreload" href="/_app/immutable/chunks/BoR-lgka.js">
12
- <link rel="modulepreload" href="/_app/immutable/chunks/B38kwwg4.js">
13
- <link rel="modulepreload" href="/_app/immutable/entry/app.DyZOSd3E.js">
14
- <link rel="modulepreload" href="/_app/immutable/chunks/Dkd6l8cV.js">
15
- <link rel="modulepreload" href="/_app/immutable/chunks/CfqRDpBM.js">
8
+ <link rel="modulepreload" href="/_app/immutable/entry/start.0uZro58w.js">
9
+ <link rel="modulepreload" href="/_app/immutable/chunks/C3iWIn4n.js">
10
+ <link rel="modulepreload" href="/_app/immutable/chunks/Ciq9INsC.js">
11
+ <link rel="modulepreload" href="/_app/immutable/chunks/CARmnL8B.js">
12
+ <link rel="modulepreload" href="/_app/immutable/chunks/BGxeqChl.js">
13
+ <link rel="modulepreload" href="/_app/immutable/entry/app.CAAPrK1G.js">
14
+ <link rel="modulepreload" href="/_app/immutable/chunks/DqdrLdzV.js">
15
+ <link rel="modulepreload" href="/_app/immutable/chunks/Cf7Xaqef.js">
16
+ <link rel="modulepreload" href="/_app/immutable/chunks/CC-fhLYv.js">
16
17
  </head>
17
18
  <body class="bg-white-100">
18
19
  <div class="container mx-auto pl-2 pr-2 pt-2">
19
20
  <script>
20
21
  {
21
- __sveltekit_8mb5n8 = {
22
+ __sveltekit_eab92q = {
22
23
  base: ""
23
24
  };
24
25
 
25
26
  const element = document.currentScript.parentElement;
26
27
 
27
28
  Promise.all([
28
- import("/_app/immutable/entry/start.D446A-gj.js"),
29
- import("/_app/immutable/entry/app.DyZOSd3E.js")
29
+ import("/_app/immutable/entry/start.0uZro58w.js"),
30
+ import("/_app/immutable/entry/app.CAAPrK1G.js")
30
31
  ]).then(([kit, app]) => {
31
32
  kit.start(app, element);
32
33
  });
package/build/irc.html CHANGED
@@ -5,28 +5,29 @@
5
5
  <link rel="icon" href="./favicon.ico" />
6
6
  <meta name="viewport" content="width=device-width" />
7
7
 
8
- <link rel="modulepreload" href="./_app/immutable/entry/start.D446A-gj.js">
9
- <link rel="modulepreload" href="./_app/immutable/chunks/DPf-AoMq.js">
10
- <link rel="modulepreload" href="./_app/immutable/chunks/B6g3iar1.js">
11
- <link rel="modulepreload" href="./_app/immutable/chunks/BoR-lgka.js">
12
- <link rel="modulepreload" href="./_app/immutable/chunks/B38kwwg4.js">
13
- <link rel="modulepreload" href="./_app/immutable/entry/app.DyZOSd3E.js">
14
- <link rel="modulepreload" href="./_app/immutable/chunks/Dkd6l8cV.js">
15
- <link rel="modulepreload" href="./_app/immutable/chunks/CfqRDpBM.js">
8
+ <link rel="modulepreload" href="./_app/immutable/entry/start.0uZro58w.js">
9
+ <link rel="modulepreload" href="./_app/immutable/chunks/C3iWIn4n.js">
10
+ <link rel="modulepreload" href="./_app/immutable/chunks/Ciq9INsC.js">
11
+ <link rel="modulepreload" href="./_app/immutable/chunks/CARmnL8B.js">
12
+ <link rel="modulepreload" href="./_app/immutable/chunks/BGxeqChl.js">
13
+ <link rel="modulepreload" href="./_app/immutable/entry/app.CAAPrK1G.js">
14
+ <link rel="modulepreload" href="./_app/immutable/chunks/DqdrLdzV.js">
15
+ <link rel="modulepreload" href="./_app/immutable/chunks/Cf7Xaqef.js">
16
+ <link rel="modulepreload" href="./_app/immutable/chunks/CC-fhLYv.js">
16
17
  </head>
17
18
  <body class="bg-white-100">
18
19
  <div class="container mx-auto pl-2 pr-2 pt-2">
19
20
  <script>
20
21
  {
21
- __sveltekit_8mb5n8 = {
22
+ __sveltekit_eab92q = {
22
23
  base: new URL(".", location).pathname.slice(0, -1)
23
24
  };
24
25
 
25
26
  const element = document.currentScript.parentElement;
26
27
 
27
28
  Promise.all([
28
- import("./_app/immutable/entry/start.D446A-gj.js"),
29
- import("./_app/immutable/entry/app.DyZOSd3E.js")
29
+ import("./_app/immutable/entry/start.0uZro58w.js"),
30
+ import("./_app/immutable/entry/app.CAAPrK1G.js")
30
31
  ]).then(([kit, app]) => {
31
32
  kit.start(app, element);
32
33
  });
@@ -5,28 +5,29 @@
5
5
  <link rel="icon" href="./favicon.ico" />
6
6
  <meta name="viewport" content="width=device-width" />
7
7
 
8
- <link rel="modulepreload" href="./_app/immutable/entry/start.D446A-gj.js">
9
- <link rel="modulepreload" href="./_app/immutable/chunks/DPf-AoMq.js">
10
- <link rel="modulepreload" href="./_app/immutable/chunks/B6g3iar1.js">
11
- <link rel="modulepreload" href="./_app/immutable/chunks/BoR-lgka.js">
12
- <link rel="modulepreload" href="./_app/immutable/chunks/B38kwwg4.js">
13
- <link rel="modulepreload" href="./_app/immutable/entry/app.DyZOSd3E.js">
14
- <link rel="modulepreload" href="./_app/immutable/chunks/Dkd6l8cV.js">
15
- <link rel="modulepreload" href="./_app/immutable/chunks/CfqRDpBM.js">
8
+ <link rel="modulepreload" href="./_app/immutable/entry/start.0uZro58w.js">
9
+ <link rel="modulepreload" href="./_app/immutable/chunks/C3iWIn4n.js">
10
+ <link rel="modulepreload" href="./_app/immutable/chunks/Ciq9INsC.js">
11
+ <link rel="modulepreload" href="./_app/immutable/chunks/CARmnL8B.js">
12
+ <link rel="modulepreload" href="./_app/immutable/chunks/BGxeqChl.js">
13
+ <link rel="modulepreload" href="./_app/immutable/entry/app.CAAPrK1G.js">
14
+ <link rel="modulepreload" href="./_app/immutable/chunks/DqdrLdzV.js">
15
+ <link rel="modulepreload" href="./_app/immutable/chunks/Cf7Xaqef.js">
16
+ <link rel="modulepreload" href="./_app/immutable/chunks/CC-fhLYv.js">
16
17
  </head>
17
18
  <body class="bg-white-100">
18
19
  <div class="container mx-auto pl-2 pr-2 pt-2">
19
20
  <script>
20
21
  {
21
- __sveltekit_8mb5n8 = {
22
+ __sveltekit_eab92q = {
22
23
  base: new URL(".", location).pathname.slice(0, -1)
23
24
  };
24
25
 
25
26
  const element = document.currentScript.parentElement;
26
27
 
27
28
  Promise.all([
28
- import("./_app/immutable/entry/start.D446A-gj.js"),
29
- import("./_app/immutable/entry/app.DyZOSd3E.js")
29
+ import("./_app/immutable/entry/start.0uZro58w.js"),
30
+ import("./_app/immutable/entry/app.CAAPrK1G.js")
30
31
  ]).then(([kit, app]) => {
31
32
  kit.start(app, element);
32
33
  });
package/build/xmpp.html CHANGED
@@ -5,28 +5,29 @@
5
5
  <link rel="icon" href="./favicon.ico" />
6
6
  <meta name="viewport" content="width=device-width" />
7
7
 
8
- <link rel="modulepreload" href="./_app/immutable/entry/start.D446A-gj.js">
9
- <link rel="modulepreload" href="./_app/immutable/chunks/DPf-AoMq.js">
10
- <link rel="modulepreload" href="./_app/immutable/chunks/B6g3iar1.js">
11
- <link rel="modulepreload" href="./_app/immutable/chunks/BoR-lgka.js">
12
- <link rel="modulepreload" href="./_app/immutable/chunks/B38kwwg4.js">
13
- <link rel="modulepreload" href="./_app/immutable/entry/app.DyZOSd3E.js">
14
- <link rel="modulepreload" href="./_app/immutable/chunks/Dkd6l8cV.js">
15
- <link rel="modulepreload" href="./_app/immutable/chunks/CfqRDpBM.js">
8
+ <link rel="modulepreload" href="./_app/immutable/entry/start.0uZro58w.js">
9
+ <link rel="modulepreload" href="./_app/immutable/chunks/C3iWIn4n.js">
10
+ <link rel="modulepreload" href="./_app/immutable/chunks/Ciq9INsC.js">
11
+ <link rel="modulepreload" href="./_app/immutable/chunks/CARmnL8B.js">
12
+ <link rel="modulepreload" href="./_app/immutable/chunks/BGxeqChl.js">
13
+ <link rel="modulepreload" href="./_app/immutable/entry/app.CAAPrK1G.js">
14
+ <link rel="modulepreload" href="./_app/immutable/chunks/DqdrLdzV.js">
15
+ <link rel="modulepreload" href="./_app/immutable/chunks/Cf7Xaqef.js">
16
+ <link rel="modulepreload" href="./_app/immutable/chunks/CC-fhLYv.js">
16
17
  </head>
17
18
  <body class="bg-white-100">
18
19
  <div class="container mx-auto pl-2 pr-2 pt-2">
19
20
  <script>
20
21
  {
21
- __sveltekit_8mb5n8 = {
22
+ __sveltekit_eab92q = {
22
23
  base: new URL(".", location).pathname.slice(0, -1)
23
24
  };
24
25
 
25
26
  const element = document.currentScript.parentElement;
26
27
 
27
28
  Promise.all([
28
- import("./_app/immutable/entry/start.D446A-gj.js"),
29
- import("./_app/immutable/entry/app.DyZOSd3E.js")
29
+ import("./_app/immutable/entry/start.0uZro58w.js"),
30
+ import("./_app/immutable/entry/app.CAAPrK1G.js")
30
31
  ]).then(([kit, app]) => {
31
32
  kit.start(app, element);
32
33
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sockethub/examples",
3
- "version": "1.0.0-alpha.6",
3
+ "version": "1.0.0-alpha.8",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "build"
@@ -39,25 +39,25 @@
39
39
  "check:watch": "bunx --bun svelte-kit sync && bunx --bun svelte-check --tsconfig ./tsconfig.json --watch"
40
40
  },
41
41
  "devDependencies": {
42
- "@playwright/test": "^1.50.1",
43
- "@sockethub/client": "^5.0.0-alpha.6",
44
- "@sveltejs/adapter-static": "^3.0.8",
45
- "@sveltejs/kit": "^2.16.1",
46
- "@sveltejs/vite-plugin-svelte": "^5.0.3",
47
- "@tailwindcss/postcss": "^4.0.3",
48
- "autoprefixer": "^10.4.20",
49
- "globals": "^15.14.0",
42
+ "@playwright/test": "^1.57.0",
43
+ "@sockethub/client": "^5.0.0-alpha.8",
44
+ "@sveltejs/adapter-static": "^3.0.10",
45
+ "@sveltejs/kit": "^2.50.0",
46
+ "@sveltejs/vite-plugin-svelte": "^5.1.1",
47
+ "@tailwindcss/postcss": "^4.1.18",
48
+ "autoprefixer": "^10.4.23",
49
+ "globals": "^15.15.0",
50
50
  "highlight.js": "^11.11.1",
51
- "postcss": "^8.5.1",
52
- "socket.io-client": "4.8.1",
53
- "svelte": "^5.19.6",
54
- "svelte-check": "^4.1.4",
55
- "svelte-highlight": "^7.8.2",
56
- "tailwindcss": "^4.0.3",
57
- "typescript": "^5.7.3",
58
- "update-browserslist-db": "^1.1.3",
59
- "vite": "^6.3.6",
60
- "vitest": "^3.0.4"
51
+ "postcss": "^8.5.6",
52
+ "socket.io-client": "^4.8.3",
53
+ "svelte": "^5.47.1",
54
+ "svelte-check": "^4.3.5",
55
+ "svelte-highlight": "^7.9.0",
56
+ "tailwindcss": "^4.1.18",
57
+ "typescript": "^5.9.3",
58
+ "update-browserslist-db": "^1.2.3",
59
+ "vite": "^6.4.1",
60
+ "vitest": "^3.2.4"
61
61
  },
62
- "gitHead": "f8a937e071e7a209f94b94f63e68faa27784e00e"
62
+ "gitHead": "8ce2bb763f6c2ac7c5f211f1629c27cf9a3f8e19"
63
63
  }