@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.
- package/build/_app/immutable/assets/0.JUA-HkH6.css +1 -0
- package/build/_app/immutable/assets/{sockethub.CMYouZ3z.css → sockethub.Bpv0Wt6b.css} +1 -1
- package/build/_app/immutable/chunks/B-2myMF5.js +1 -0
- package/build/_app/immutable/chunks/BBdxXcNs.js +23 -0
- package/build/_app/immutable/chunks/BGxeqChl.js +1 -0
- package/build/_app/immutable/chunks/BhL0iima.js +4 -0
- package/build/_app/immutable/chunks/BnKTx64M.js +1 -0
- package/build/_app/immutable/chunks/C1LF9VyP.js +1 -0
- package/build/_app/immutable/chunks/C3iWIn4n.js +1 -0
- package/build/_app/immutable/chunks/CARmnL8B.js +1 -0
- package/build/_app/immutable/chunks/CC-fhLYv.js +1 -0
- package/build/_app/immutable/chunks/CFHe0i8O.js +1 -0
- package/build/_app/immutable/chunks/Cf7Xaqef.js +1 -0
- package/build/_app/immutable/chunks/Ciq9INsC.js +1 -0
- package/build/_app/immutable/chunks/CoHdmBcD.js +1 -0
- package/build/_app/immutable/chunks/D_xw8KSE.js +1 -0
- package/build/_app/immutable/chunks/DqdrLdzV.js +2 -0
- package/build/_app/immutable/chunks/P3PHXZz3.js +2 -0
- package/build/_app/immutable/entry/app.CAAPrK1G.js +2 -0
- package/build/_app/immutable/entry/start.0uZro58w.js +1 -0
- package/build/_app/immutable/nodes/0.DqHF7LwB.js +39 -0
- package/build/_app/immutable/nodes/1.DT4DtoC7.js +1 -0
- package/build/_app/immutable/nodes/{2.C82p4PuU.js → 2.CHi_bFz8.js} +2 -2
- package/build/_app/immutable/nodes/3.1s4AoiT3.js +1 -0
- package/build/_app/immutable/nodes/4.Ck-0hor4.js +1 -0
- package/build/_app/immutable/nodes/5.BV2I1j0o.js +1 -0
- package/build/_app/immutable/nodes/6.PZ-pmrq7.js +1 -0
- package/build/_app/immutable/nodes/7.C7IiHO6h.js +1 -0
- package/build/_app/version.json +1 -1
- package/build/dummy.html +12 -11
- package/build/feeds.html +12 -11
- package/build/index.html +12 -11
- package/build/irc.html +12 -11
- package/build/metadata.html +12 -11
- package/build/xmpp.html +12 -11
- package/package.json +20 -20
- package/build/_app/immutable/assets/0.BzjUWlsR.css +0 -1
- package/build/_app/immutable/assets/_layout.BzjUWlsR.css +0 -1
- package/build/_app/immutable/chunks/B38kwwg4.js +0 -1
- package/build/_app/immutable/chunks/B6g3iar1.js +0 -1
- package/build/_app/immutable/chunks/BRC80mQd.js +0 -1
- package/build/_app/immutable/chunks/BeYzO5Mt.js +0 -1
- package/build/_app/immutable/chunks/BoR-lgka.js +0 -1
- package/build/_app/immutable/chunks/CLEQVYcW.js +0 -2
- package/build/_app/immutable/chunks/CN8LF06-.js +0 -1
- package/build/_app/immutable/chunks/CZFJHIMN.js +0 -1
- package/build/_app/immutable/chunks/CfqRDpBM.js +0 -1
- package/build/_app/immutable/chunks/D3w1dc5i.js +0 -8
- package/build/_app/immutable/chunks/DEHNjQUQ.js +0 -1
- package/build/_app/immutable/chunks/DOX7w-st.js +0 -4
- package/build/_app/immutable/chunks/DPf-AoMq.js +0 -3
- package/build/_app/immutable/chunks/Dd_3LBWN.js +0 -1
- package/build/_app/immutable/chunks/Dkd6l8cV.js +0 -1
- package/build/_app/immutable/entry/app.DyZOSd3E.js +0 -2
- package/build/_app/immutable/entry/start.D446A-gj.js +0 -1
- package/build/_app/immutable/nodes/0.B3I8sqxJ.js +0 -39
- package/build/_app/immutable/nodes/1.T9u7GlsR.js +0 -1
- package/build/_app/immutable/nodes/3.BOQ3BB3w.js +0 -1
- package/build/_app/immutable/nodes/4.iuW-HqsR.js +0 -1
- package/build/_app/immutable/nodes/5.DyVFGAXq.js +0 -1
- package/build/_app/immutable/nodes/6.DJAHzi0b.js +0 -1
- package/build/_app/immutable/nodes/7.CLSdyL18.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tailwindcss v4.0.13 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(.971 .013 17.38);--color-red-100:oklch(.936 .032 17.717);--color-red-200:oklch(.885 .062 18.334);--color-red-500:oklch(.637 .237 25.331);--color-red-700:oklch(.505 .213 27.518);--color-red-800:oklch(.444 .177 26.899);--color-orange-50:oklch(.98 .016 73.684);--color-orange-100:oklch(.954 .038 75.164);--color-orange-400:oklch(.75 .183 55.934);--color-orange-600:oklch(.646 .222 41.116);--color-orange-700:oklch(.553 .195 38.402);--color-orange-800:oklch(.47 .157 37.304);--color-amber-50:oklch(.987 .022 95.277);--color-amber-100:oklch(.962 .059 95.617);--color-amber-200:oklch(.924 .12 95.746);--color-amber-700:oklch(.555 .163 48.998);--color-amber-800:oklch(.473 .137 46.201);--color-amber-900:oklch(.414 .112 45.904);--color-yellow-50:oklch(.987 .026 102.212);--color-yellow-400:oklch(.852 .199 91.936);--color-yellow-700:oklch(.554 .135 66.442);--color-yellow-800:oklch(.476 .114 61.907);--color-green-50:oklch(.982 .018 155.826);--color-green-100:oklch(.962 .044 156.743);--color-green-200:oklch(.925 .084 155.995);--color-green-400:oklch(.792 .209 151.711);--color-green-500:oklch(.723 .219 149.579);--color-green-600:oklch(.627 .194 149.214);--color-green-700:oklch(.527 .154 150.069);--color-green-800:oklch(.448 .119 151.328);--color-green-900:oklch(.393 .095 152.535);--color-emerald-50:oklch(.979 .021 166.113);--color-emerald-200:oklch(.905 .093 164.15);--color-emerald-600:oklch(.596 .145 163.225);--color-emerald-900:oklch(.378 .077 168.94);--color-cyan-50:oklch(.984 .019 200.873);--color-sky-50:oklch(.977 .013 236.62);--color-blue-50:oklch(.97 .014 254.604);--color-blue-100:oklch(.932 .032 255.585);--color-blue-200:oklch(.882 .059 254.128);--color-blue-400:oklch(.707 .165 254.624);--color-blue-500:oklch(.623 .214 259.815);--color-blue-600:oklch(.546 .245 262.881);--color-blue-700:oklch(.488 .243 264.376);--color-blue-800:oklch(.424 .199 265.638);--color-blue-900:oklch(.379 .146 265.522);--color-indigo-50:oklch(.962 .018 272.314);--color-indigo-200:oklch(.87 .065 274.039);--color-indigo-400:oklch(.673 .182 276.935);--color-indigo-500:oklch(.585 .233 277.117);--color-indigo-600:oklch(.511 .262 276.966);--color-indigo-700:oklch(.457 .24 277.023);--color-indigo-800:oklch(.398 .195 277.366);--color-indigo-900:oklch(.359 .144 278.697);--color-violet-50:oklch(.969 .016 293.756);--color-purple-50:oklch(.977 .014 308.299);--color-purple-100:oklch(.946 .033 307.174);--color-purple-200:oklch(.902 .063 306.703);--color-purple-400:oklch(.714 .203 305.504);--color-purple-600:oklch(.558 .288 302.321);--color-purple-700:oklch(.496 .265 301.924);--color-purple-800:oklch(.438 .218 303.724);--color-purple-900:oklch(.381 .176 304.987);--color-slate-50:oklch(.984 .003 247.858);--color-slate-200:oklch(.929 .013 255.508);--color-slate-700:oklch(.372 .044 257.287);--color-gray-50:oklch(.985 .002 247.839);--color-gray-100:oklch(.967 .003 264.542);--color-gray-200:oklch(.928 .006 264.531);--color-gray-300:oklch(.872 .01 258.338);--color-gray-400:oklch(.707 .022 261.325);--color-gray-500:oklch(.551 .027 264.364);--color-gray-600:oklch(.446 .03 256.802);--color-gray-700:oklch(.373 .034 259.733);--color-gray-800:oklch(.278 .033 256.848);--color-gray-900:oklch(.21 .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-4xl:56rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wide:.025em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-font-feature-settings:var(--font-sans--font-feature-settings);--default-font-variation-settings:var(--font-sans--font-variation-settings);--default-mono-font-family:var(--font-mono);--default-mono-font-feature-settings:var(--font-mono--font-feature-settings);--default-mono-font-variation-settings:var(--font-mono--font-variation-settings)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1;color:color-mix(in oklab,currentColor 50%,transparent)}::placeholder{opacity:1;color:color-mix(in oklab,currentColor 50%,transparent)}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}h1{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}h2{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}h3{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}a{color:var(--color-blue-600);text-decoration-line:underline}button:disabled,button:disabled:hover{background-color:#d3d3d3!important}pre{white-space:pre-wrap}}@layer components{.incoming-messages{height:20em;margin:0;padding:0;list-style-type:none;overflow:scroll}.incoming-messages li{padding:.1em 1%}.incoming-messages li:nth-child(odd){background:#eee}.incoming-messages-container{overflow-anchor:none;border:1px solid #ccc;height:20rem;display:block;overflow:scroll}.incoming-messages-anchor{overflow-anchor:auto;height:1px}}@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.top-0{top:calc(var(--spacing)*0)}.top-full{top:100%}.bottom-full{bottom:100%}.left-0{left:calc(var(--spacing)*0)}.left-1\/2{left:50%}.z-10{z-index:10}.z-50{z-index:50}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing)*0)}.m-auto{margin:auto}.mx-auto{margin-inline:auto}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-8{margin-top:calc(var(--spacing)*8)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-3{margin-right:calc(var(--spacing)*3)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-1{margin-left:calc(var(--spacing)*1)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-full{height:100%}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\[90vh\]{max-height:90vh}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-32{width:calc(var(--spacing)*32)}.w-full{width:100%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-6xl{max-width:var(--container-6xl)}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-gray-100>:not(:last-child)){border-color:var(--color-gray-100)}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-lg{border-top-left-radius:var(--radius-lg);border-top-right-radius:var(--radius-lg)}.rounded-r-lg{border-top-right-radius:var(--radius-lg);border-bottom-right-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-solid{--tw-border-style:solid;border-style:solid}.border-amber-200{border-color:var(--color-amber-200)}.border-blue-200{border-color:var(--color-blue-200)}.border-blue-400{border-color:var(--color-blue-400)}.border-emerald-200{border-color:var(--color-emerald-200)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-green-200{border-color:var(--color-green-200)}.border-green-400{border-color:var(--color-green-400)}.border-indigo-200{border-color:var(--color-indigo-200)}.border-indigo-400{border-color:var(--color-indigo-400)}.border-orange-400{border-color:var(--color-orange-400)}.border-purple-200{border-color:var(--color-purple-200)}.border-purple-400{border-color:var(--color-purple-400)}.border-red-200{border-color:var(--color-red-200)}.border-transparent{border-color:#0000}.border-yellow-400{border-color:var(--color-yellow-400)}.border-t-gray-800{border-top-color:var(--color-gray-800)}.border-l-green-400{border-left-color:var(--color-green-400)}.border-l-orange-400{border-left-color:var(--color-orange-400)}.bg-amber-100{background-color:var(--color-amber-100)}.bg-black{background-color:var(--color-black)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-emerald-600{background-color:var(--color-emerald-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-300{background-color:var(--color-gray-300)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-400{background-color:var(--color-green-400)}.bg-green-500{background-color:var(--color-green-500)}.bg-green-600{background-color:var(--color-green-600)}.bg-indigo-50{background-color:var(--color-indigo-50)}.bg-indigo-600{background-color:var(--color-indigo-600)}.bg-orange-50{background-color:var(--color-orange-50)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-orange-400{background-color:var(--color-orange-400)}.bg-orange-600{background-color:var(--color-orange-600)}.bg-purple-50{background-color:var(--color-purple-50)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-purple-600{background-color:var(--color-purple-600)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-amber-50{--tw-gradient-from:var(--color-amber-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-50{--tw-gradient-from:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-emerald-50{--tw-gradient-from:var(--color-emerald-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-50{--tw-gradient-from:var(--color-gray-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-green-50{--tw-gradient-from:var(--color-green-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-indigo-50{--tw-gradient-from:var(--color-indigo-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-purple-50{--tw-gradient-from:var(--color-purple-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-slate-50{--tw-gradient-from:var(--color-slate-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-blue-100{--tw-gradient-to:var(--color-blue-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-cyan-50{--tw-gradient-to:var(--color-cyan-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-emerald-50{--tw-gradient-to:var(--color-emerald-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-gray-50{--tw-gradient-to:var(--color-gray-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-green-50{--tw-gradient-to:var(--color-green-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-indigo-50{--tw-gradient-to:var(--color-indigo-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-50{--tw-gradient-to:var(--color-purple-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-sky-50{--tw-gradient-to:var(--color-sky-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-slate-50{--tw-gradient-to:var(--color-slate-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-violet-50{--tw-gradient-to:var(--color-violet-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-yellow-50{--tw-gradient-to:var(--color-yellow-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.bg-clip-padding{background-clip:padding-box}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-6{padding-block:calc(var(--spacing)*6)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-5{padding-top:calc(var(--spacing)*5)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-2{padding-left:calc(var(--spacing)*2)}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.whitespace-nowrap{white-space:nowrap}.text-amber-700{color:var(--color-amber-700)}.text-amber-800{color:var(--color-amber-800)}.text-amber-900{color:var(--color-amber-900)}.text-blue-50{color:var(--color-blue-50)}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-blue-800{color:var(--color-blue-800)}.text-blue-900{color:var(--color-blue-900)}.text-emerald-900{color:var(--color-emerald-900)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-green-700{color:var(--color-green-700)}.text-green-800{color:var(--color-green-800)}.text-green-900{color:var(--color-green-900)}.text-indigo-600{color:var(--color-indigo-600)}.text-indigo-700{color:var(--color-indigo-700)}.text-indigo-800{color:var(--color-indigo-800)}.text-indigo-900{color:var(--color-indigo-900)}.text-orange-700{color:var(--color-orange-700)}.text-orange-800{color:var(--color-orange-800)}.text-purple-600{color:var(--color-purple-600)}.text-purple-700{color:var(--color-purple-700)}.text-purple-800{color:var(--color-purple-800)}.text-purple-900{color:var(--color-purple-900)}.text-red-500{color:var(--color-red-500)}.text-red-700{color:var(--color-red-700)}.text-red-800{color:var(--color-red-800)}.text-slate-700{color:var(--color-slate-700)}.text-white{color:var(--color-white)}.text-yellow-700{color:var(--color-yellow-700)}.text-yellow-800{color:var(--color-yellow-800)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.placeholder-gray-500::-moz-placeholder{color:var(--color-gray-500)}.placeholder-gray-500::placeholder{color:var(--color-gray-500)}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}@media (hover:hover){.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}.hover\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-indigo-50:hover{background-color:var(--color-indigo-50)}.hover\:bg-indigo-700:hover{background-color:var(--color-indigo-700)}.hover\:bg-purple-50:hover{background-color:var(--color-purple-50)}.hover\:bg-red-100:hover{background-color:var(--color-red-100)}.hover\:bg-slate-200:hover{background-color:var(--color-slate-200)}.hover\:text-blue-800:hover{color:var(--color-blue-800)}.hover\:text-gray-600:hover{color:var(--color-gray-600)}.hover\:text-indigo-800:hover{color:var(--color-indigo-800)}.hover\:shadow-sm:hover{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\:border-blue-600:focus{border-color:var(--color-blue-600)}.focus\:border-green-500:focus{border-color:var(--color-green-500)}.focus\:border-indigo-500:focus{border-color:var(--color-indigo-500)}.focus\:bg-white:focus{background-color:var(--color-white)}.focus\:text-gray-700:focus{color:var(--color-gray-700)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\:ring-green-500:focus{--tw-ring-color:var(--color-green-500)}.focus\:ring-indigo-500:focus{--tw-ring-color:var(--color-indigo-500)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}@media (width>=40rem){.sm\:inline{display:inline}.sm\:px-6{padding-inline:calc(var(--spacing)*6)}}@media (width>=48rem){.md\:mt-3{margin-top:calc(var(--spacing)*3)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=64rem){.lg\:px-8{padding-inline:calc(var(--spacing)*8)}}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! tailwindcss v4.0.13 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(.971 .013 17.38);--color-red-100:oklch(.936 .032 17.717);--color-red-200:oklch(.885 .062 18.334);--color-red-500:oklch(.637 .237 25.331);--color-red-700:oklch(.505 .213 27.518);--color-red-800:oklch(.444 .177 26.899);--color-orange-50:oklch(.98 .016 73.684);--color-orange-100:oklch(.954 .038 75.164);--color-orange-400:oklch(.75 .183 55.934);--color-orange-600:oklch(.646 .222 41.116);--color-orange-700:oklch(.553 .195 38.402);--color-orange-800:oklch(.47 .157 37.304);--color-amber-50:oklch(.987 .022 95.277);--color-amber-100:oklch(.962 .059 95.617);--color-amber-200:oklch(.924 .12 95.746);--color-amber-700:oklch(.555 .163 48.998);--color-amber-800:oklch(.473 .137 46.201);--color-amber-900:oklch(.414 .112 45.904);--color-yellow-50:oklch(.987 .026 102.212);--color-yellow-400:oklch(.852 .199 91.936);--color-yellow-700:oklch(.554 .135 66.442);--color-yellow-800:oklch(.476 .114 61.907);--color-green-50:oklch(.982 .018 155.826);--color-green-100:oklch(.962 .044 156.743);--color-green-200:oklch(.925 .084 155.995);--color-green-400:oklch(.792 .209 151.711);--color-green-500:oklch(.723 .219 149.579);--color-green-600:oklch(.627 .194 149.214);--color-green-700:oklch(.527 .154 150.069);--color-green-800:oklch(.448 .119 151.328);--color-green-900:oklch(.393 .095 152.535);--color-emerald-50:oklch(.979 .021 166.113);--color-emerald-200:oklch(.905 .093 164.15);--color-emerald-600:oklch(.596 .145 163.225);--color-emerald-900:oklch(.378 .077 168.94);--color-cyan-50:oklch(.984 .019 200.873);--color-sky-50:oklch(.977 .013 236.62);--color-blue-50:oklch(.97 .014 254.604);--color-blue-100:oklch(.932 .032 255.585);--color-blue-200:oklch(.882 .059 254.128);--color-blue-400:oklch(.707 .165 254.624);--color-blue-500:oklch(.623 .214 259.815);--color-blue-600:oklch(.546 .245 262.881);--color-blue-700:oklch(.488 .243 264.376);--color-blue-800:oklch(.424 .199 265.638);--color-blue-900:oklch(.379 .146 265.522);--color-indigo-50:oklch(.962 .018 272.314);--color-indigo-200:oklch(.87 .065 274.039);--color-indigo-400:oklch(.673 .182 276.935);--color-indigo-500:oklch(.585 .233 277.117);--color-indigo-600:oklch(.511 .262 276.966);--color-indigo-700:oklch(.457 .24 277.023);--color-indigo-800:oklch(.398 .195 277.366);--color-indigo-900:oklch(.359 .144 278.697);--color-violet-50:oklch(.969 .016 293.756);--color-purple-50:oklch(.977 .014 308.299);--color-purple-100:oklch(.946 .033 307.174);--color-purple-200:oklch(.902 .063 306.703);--color-purple-400:oklch(.714 .203 305.504);--color-purple-600:oklch(.558 .288 302.321);--color-purple-700:oklch(.496 .265 301.924);--color-purple-800:oklch(.438 .218 303.724);--color-purple-900:oklch(.381 .176 304.987);--color-slate-50:oklch(.984 .003 247.858);--color-slate-200:oklch(.929 .013 255.508);--color-slate-700:oklch(.372 .044 257.287);--color-gray-50:oklch(.985 .002 247.839);--color-gray-100:oklch(.967 .003 264.542);--color-gray-200:oklch(.928 .006 264.531);--color-gray-300:oklch(.872 .01 258.338);--color-gray-400:oklch(.707 .022 261.325);--color-gray-500:oklch(.551 .027 264.364);--color-gray-600:oklch(.446 .03 256.802);--color-gray-700:oklch(.373 .034 259.733);--color-gray-800:oklch(.278 .033 256.848);--color-gray-900:oklch(.21 .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-4xl:56rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wide:.025em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-font-feature-settings:var(--font-sans--font-feature-settings);--default-font-variation-settings:var(--font-sans--font-variation-settings);--default-mono-font-family:var(--font-mono);--default-mono-font-feature-settings:var(--font-mono--font-feature-settings);--default-mono-font-variation-settings:var(--font-mono--font-variation-settings)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1;color:color-mix(in oklab,currentColor 50%,transparent)}::placeholder{opacity:1;color:color-mix(in oklab,currentColor 50%,transparent)}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}h1{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}h2{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}h3{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}a{color:var(--color-blue-600);text-decoration-line:underline}button:disabled,button:disabled:hover{background-color:#d3d3d3!important}pre{white-space:pre-wrap}}@layer components{.incoming-messages{height:20em;margin:0;padding:0;list-style-type:none;overflow:scroll}.incoming-messages li{padding:.1em 1%}.incoming-messages li:nth-child(odd){background:#eee}.incoming-messages-container{overflow-anchor:none;border:1px solid #ccc;height:20rem;display:block;overflow:scroll}.incoming-messages-anchor{overflow-anchor:auto;height:1px}}@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.top-0{top:calc(var(--spacing)*0)}.top-full{top:100%}.bottom-full{bottom:100%}.left-0{left:calc(var(--spacing)*0)}.left-1\/2{left:50%}.z-10{z-index:10}.z-50{z-index:50}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing)*0)}.m-auto{margin:auto}.mx-auto{margin-inline:auto}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-8{margin-top:calc(var(--spacing)*8)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-3{margin-right:calc(var(--spacing)*3)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-1{margin-left:calc(var(--spacing)*1)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-full{height:100%}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\[90vh\]{max-height:90vh}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-32{width:calc(var(--spacing)*32)}.w-full{width:100%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-6xl{max-width:var(--container-6xl)}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-gray-100>:not(:last-child)){border-color:var(--color-gray-100)}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-lg{border-top-left-radius:var(--radius-lg);border-top-right-radius:var(--radius-lg)}.rounded-r-lg{border-top-right-radius:var(--radius-lg);border-bottom-right-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-solid{--tw-border-style:solid;border-style:solid}.border-amber-200{border-color:var(--color-amber-200)}.border-blue-200{border-color:var(--color-blue-200)}.border-blue-400{border-color:var(--color-blue-400)}.border-emerald-200{border-color:var(--color-emerald-200)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-green-200{border-color:var(--color-green-200)}.border-green-400{border-color:var(--color-green-400)}.border-indigo-200{border-color:var(--color-indigo-200)}.border-indigo-400{border-color:var(--color-indigo-400)}.border-orange-400{border-color:var(--color-orange-400)}.border-purple-200{border-color:var(--color-purple-200)}.border-purple-400{border-color:var(--color-purple-400)}.border-red-200{border-color:var(--color-red-200)}.border-transparent{border-color:#0000}.border-yellow-400{border-color:var(--color-yellow-400)}.border-t-gray-800{border-top-color:var(--color-gray-800)}.border-l-green-400{border-left-color:var(--color-green-400)}.border-l-orange-400{border-left-color:var(--color-orange-400)}.bg-amber-100{background-color:var(--color-amber-100)}.bg-black{background-color:var(--color-black)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-emerald-600{background-color:var(--color-emerald-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-300{background-color:var(--color-gray-300)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-400{background-color:var(--color-green-400)}.bg-green-500{background-color:var(--color-green-500)}.bg-green-600{background-color:var(--color-green-600)}.bg-indigo-50{background-color:var(--color-indigo-50)}.bg-indigo-600{background-color:var(--color-indigo-600)}.bg-orange-50{background-color:var(--color-orange-50)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-orange-400{background-color:var(--color-orange-400)}.bg-orange-600{background-color:var(--color-orange-600)}.bg-purple-50{background-color:var(--color-purple-50)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-purple-600{background-color:var(--color-purple-600)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-amber-50{--tw-gradient-from:var(--color-amber-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-50{--tw-gradient-from:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-emerald-50{--tw-gradient-from:var(--color-emerald-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-50{--tw-gradient-from:var(--color-gray-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-green-50{--tw-gradient-from:var(--color-green-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-indigo-50{--tw-gradient-from:var(--color-indigo-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-purple-50{--tw-gradient-from:var(--color-purple-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-slate-50{--tw-gradient-from:var(--color-slate-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-blue-100{--tw-gradient-to:var(--color-blue-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-cyan-50{--tw-gradient-to:var(--color-cyan-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-emerald-50{--tw-gradient-to:var(--color-emerald-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-gray-50{--tw-gradient-to:var(--color-gray-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-green-50{--tw-gradient-to:var(--color-green-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-indigo-50{--tw-gradient-to:var(--color-indigo-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-50{--tw-gradient-to:var(--color-purple-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-sky-50{--tw-gradient-to:var(--color-sky-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-slate-50{--tw-gradient-to:var(--color-slate-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-violet-50{--tw-gradient-to:var(--color-violet-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-yellow-50{--tw-gradient-to:var(--color-yellow-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.bg-clip-padding{background-clip:padding-box}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-6{padding-block:calc(var(--spacing)*6)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-5{padding-top:calc(var(--spacing)*5)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-2{padding-left:calc(var(--spacing)*2)}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.whitespace-nowrap{white-space:nowrap}.text-amber-700{color:var(--color-amber-700)}.text-amber-800{color:var(--color-amber-800)}.text-amber-900{color:var(--color-amber-900)}.text-blue-50{color:var(--color-blue-50)}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-blue-800{color:var(--color-blue-800)}.text-blue-900{color:var(--color-blue-900)}.text-emerald-900{color:var(--color-emerald-900)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-green-700{color:var(--color-green-700)}.text-green-800{color:var(--color-green-800)}.text-green-900{color:var(--color-green-900)}.text-indigo-600{color:var(--color-indigo-600)}.text-indigo-700{color:var(--color-indigo-700)}.text-indigo-800{color:var(--color-indigo-800)}.text-indigo-900{color:var(--color-indigo-900)}.text-orange-700{color:var(--color-orange-700)}.text-orange-800{color:var(--color-orange-800)}.text-purple-600{color:var(--color-purple-600)}.text-purple-700{color:var(--color-purple-700)}.text-purple-800{color:var(--color-purple-800)}.text-purple-900{color:var(--color-purple-900)}.text-red-500{color:var(--color-red-500)}.text-red-700{color:var(--color-red-700)}.text-red-800{color:var(--color-red-800)}.text-slate-700{color:var(--color-slate-700)}.text-white{color:var(--color-white)}.text-yellow-700{color:var(--color-yellow-700)}.text-yellow-800{color:var(--color-yellow-800)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.placeholder-gray-500::-moz-placeholder{color:var(--color-gray-500)}.placeholder-gray-500::placeholder{color:var(--color-gray-500)}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}@media (hover:hover){.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}.hover\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-indigo-50:hover{background-color:var(--color-indigo-50)}.hover\:bg-indigo-700:hover{background-color:var(--color-indigo-700)}.hover\:bg-purple-50:hover{background-color:var(--color-purple-50)}.hover\:bg-red-100:hover{background-color:var(--color-red-100)}.hover\:bg-slate-200:hover{background-color:var(--color-slate-200)}.hover\:text-blue-800:hover{color:var(--color-blue-800)}.hover\:text-gray-600:hover{color:var(--color-gray-600)}.hover\:text-indigo-800:hover{color:var(--color-indigo-800)}.hover\:shadow-sm:hover{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\:border-blue-600:focus{border-color:var(--color-blue-600)}.focus\:border-green-500:focus{border-color:var(--color-green-500)}.focus\:border-indigo-500:focus{border-color:var(--color-indigo-500)}.focus\:bg-white:focus{background-color:var(--color-white)}.focus\:text-gray-700:focus{color:var(--color-gray-700)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\:ring-green-500:focus{--tw-ring-color:var(--color-green-500)}.focus\:ring-indigo-500:focus{--tw-ring-color:var(--color-indigo-500)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}@media (width>=40rem){.sm\:inline{display:inline}.sm\:px-6{padding-inline:calc(var(--spacing)*6)}}@media (width>=48rem){.md\:mt-3{margin-top:calc(var(--spacing)*3)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=64rem){.lg\:px-8{padding-inline:calc(var(--spacing)*8)}}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var s;const e=((s=globalThis.__sveltekit_8mb5n8)==null?void 0:s.base)??"";var a;const t=((a=globalThis.__sveltekit_8mb5n8)==null?void 0:a.assets)??e;export{t as a,e as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var Fn=Array.isArray,Jt=Array.prototype.indexOf,Mn=Array.from,Ln=Object.defineProperty,pt=Object.getOwnPropertyDescriptor,Wt=Object.getOwnPropertyDescriptors,qn=Object.prototype,Yn=Array.prototype,Xt=Object.getPrototypeOf;function Hn(t){return typeof t=="function"}const jn=()=>{};function Bn(t){return t()}function gt(t){for(var n=0;n<t.length;n++)t[n]()}const y=2,Tt=4,Q=8,ft=16,I=32,P=64,G=128,E=256,K=512,v=1024,D=2048,C=4096,b=8192,tt=16384,Qt=32768,mt=65536,Un=1<<17,tn=1<<19,At=1<<20,ht=Symbol("$state"),Vn=Symbol("legacy props"),Gn=Symbol("");function xt(t){return t===this.v}function nn(t,n){return t!=t?n==n:t!==n||t!==null&&typeof t=="object"||typeof t=="function"}function It(t){return!nn(t,this.v)}function rn(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function en(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function an(t){throw new Error("https://svelte.dev/e/effect_orphan")}function ln(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Kn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Zn(t){throw new Error("https://svelte.dev/e/lifecycle_legacy_only")}function $n(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function zn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Jn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function sn(){throw new Error("https://svelte.dev/e/state_unsafe_local_read")}function un(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let nt=!1;function Wn(){nt=!0}const Xn=1,Qn=2,tr=4,nr=8,rr=16,er=1,ar=2,lr=4,sr=8,ur=16,or=1,fr=2,on="[",fn="[!",_n="]",kt={},ir=Symbol(),_r="http://www.w3.org/1999/xhtml";function Dt(t){console.warn("https://svelte.dev/e/hydration_mismatch")}let f=null;function dt(t){f=t}function cr(t,n=!1,r){var e=f={p:f,c:null,d:!1,e:null,m:!1,s:t,x:null,l:null};nt&&!n&&(f.l={s:null,u:null,r1:[],r2:it(!1)}),wn(()=>{e.d=!0})}function vr(t){const n=f;if(n!==null){const s=n.e;if(s!==null){var r=o,e=u;n.e=null;try{for(var l=0;l<s.length;l++){var a=s[l];J(a.effect),z(a.reaction),Lt(a.fn)}}finally{J(r),z(e)}}f=n.p,n.m=!0}return{}}function rt(){return!nt||f!==null&&f.l===null}const q=new Map;function it(t,n){var r={f:0,v:t,reactions:null,equals:xt,rv:0,wv:0};return r}function pr(t){return Rt(it(t))}function cn(t,n=!1){var e;const r=it(t);return n||(r.equals=It),nt&&f!==null&&f.l!==null&&((e=f.l).s??(e.s=[])).push(r),r}function hr(t,n=!1){return Rt(cn(t,n))}function Rt(t){return u!==null&&!w&&(u.f&y)!==0&&(A===null?xn([t]):A.push(t)),t}function St(t,n){return u!==null&&!w&&rt()&&(u.f&(y|ft))!==0&&(A===null||!A.includes(t))&&un(),vn(t,n)}function vn(t,n){if(!t.equals(n)){var r=t.v;B?q.set(t,n):q.set(t,r),t.v=n,t.wv=Kt(),Ot(t,D),rt()&&o!==null&&(o.f&v)!==0&&(o.f&(I|P))===0&&(x===null?In([t]):x.push(t))}return n}function dr(t,n=1){var r=ct(t),e=n===1?r++:r--;return St(t,r),e}function Ot(t,n){var r=t.reactions;if(r!==null)for(var e=rt(),l=r.length,a=0;a<l;a++){var s=r[a],i=s.f;(i&D)===0&&(!e&&s===o||(T(s,n),(i&(v|E))!==0&&((i&y)!==0?Ot(s,C):lt(s))))}}let S=!1;function Er(t){S=t}let g;function Y(t){if(t===null)throw Dt(),kt;return g=t}function wr(){return Y(N(g))}function yr(t){if(S){if(N(g)!==null)throw Dt(),kt;g=t}}function gr(t=1){if(S){for(var n=t,r=g;n--;)r=N(r);g=r}}function Tr(){for(var t=0,n=g;;){if(n.nodeType===8){var r=n.data;if(r===_n){if(t===0)return n;t-=1}else(r===on||r===fn)&&(t+=1)}var e=N(n);n.remove(),n=e}}var Et,pn,Ct,Nt;function mr(){if(Et===void 0){Et=window,pn=/Firefox/.test(navigator.userAgent);var t=Element.prototype,n=Node.prototype;Ct=pt(n,"firstChild").get,Nt=pt(n,"nextSibling").get,t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0,Text.prototype.__t=void 0}}function st(t=""){return document.createTextNode(t)}function ut(t){return Ct.call(t)}function N(t){return Nt.call(t)}function Ar(t,n){if(!S)return ut(t);var r=ut(g);if(r===null)r=g.appendChild(st());else if(n&&r.nodeType!==3){var e=st();return r==null||r.before(e),Y(e),e}return Y(r),r}function xr(t,n){if(!S){var r=ut(t);return r instanceof Comment&&r.data===""?N(r):r}return g}function Ir(t,n=1,r=!1){let e=S?g:t;for(var l;n--;)l=e,e=N(e);if(!S)return e;var a=e==null?void 0:e.nodeType;if(r&&a!==3){var s=st();return e===null?l==null||l.after(s):e.before(s),Y(s),s}return Y(e),e}function kr(t){t.textContent=""}function bt(t){var n=y|D,r=u!==null&&(u.f&y)!==0?u:null;return o===null||r!==null&&(r.f&E)!==0?n|=E:o.f|=At,{ctx:f,deps:null,effects:null,equals:xt,f:n,fn:t,reactions:null,rv:0,v:null,wv:0,parent:r??o}}function Dr(t){const n=bt(t);return n.equals=It,n}function Pt(t){var n=t.effects;if(n!==null){t.effects=null;for(var r=0;r<n.length;r+=1)O(n[r])}}function hn(t){for(var n=t.parent;n!==null;){if((n.f&y)===0)return n;n=n.parent}return null}function dn(t){var n,r=o;J(hn(t));try{Pt(t),n=$t(t)}finally{J(r)}return n}function Ft(t){var n=dn(t),r=(k||(t.f&E)!==0)&&t.deps!==null?C:v;T(t,r),t.equals(n)||(t.v=n,t.wv=Kt())}function Mt(t){o===null&&u===null&&an(),u!==null&&(u.f&E)!==0&&o===null&&en(),B&&rn()}function En(t,n){var r=n.last;r===null?n.last=n.first=t:(r.next=t,t.prev=r,n.last=t)}function F(t,n,r,e=!0){var l=o,a={ctx:f,deps:null,nodes_start:null,nodes_end:null,f:t|D,first:null,fn:n,last:null,next:null,parent:l,prev:null,teardown:null,transitions:null,wv:0};if(r)try{at(a),a.f|=Qt}catch(_){throw O(a),_}else n!==null&<(a);var s=r&&a.deps===null&&a.first===null&&a.nodes_start===null&&a.teardown===null&&(a.f&(At|G))===0;if(!s&&e&&(l!==null&&En(a,l),u!==null&&(u.f&y)!==0)){var i=u;(i.effects??(i.effects=[])).push(a)}return a}function wn(t){const n=F(Q,null,!1);return T(n,v),n.teardown=t,n}function Rr(t){Mt();var n=o!==null&&(o.f&I)!==0&&f!==null&&!f.m;if(n){var r=f;(r.e??(r.e=[])).push({fn:t,effect:o,reaction:u})}else{var e=Lt(t);return e}}function Sr(t){return Mt(),_t(t)}function Or(t){const n=F(P,t,!0);return(r={})=>new Promise(e=>{r.outro?Tn(n,()=>{O(n),e(void 0)}):(O(n),e(void 0))})}function Lt(t){return F(Tt,t,!1)}function Cr(t,n){var r=f,e={effect:null,ran:!1};r.l.r1.push(e),e.effect=_t(()=>{t(),!e.ran&&(e.ran=!0,St(r.l.r2,!0),bn(n))})}function Nr(){var t=f;_t(()=>{if(ct(t.l.r2)){for(var n of t.l.r1){var r=n.effect;(r.f&v)!==0&&T(r,C),M(r)&&at(r),n.ran=!1}t.l.r2.v=!1}})}function _t(t){return F(Q,t,!0)}function br(t,n=[],r=bt){const e=n.map(r);return yn(()=>t(...e.map(ct)))}function yn(t,n=0){return F(Q|ft|n,t,!0)}function Pr(t,n=!0){return F(Q|I,t,!0,n)}function qt(t){var n=t.teardown;if(n!==null){const r=B,e=u;yt(!0),z(null);try{n.call(null)}finally{yt(r),z(e)}}}function Yt(t,n=!1){var r=t.first;for(t.first=t.last=null;r!==null;){var e=r.next;(r.f&P)!==0?r.parent=null:O(r,n),r=e}}function gn(t){for(var n=t.first;n!==null;){var r=n.next;(n.f&I)===0&&O(n),n=r}}function O(t,n=!0){var r=!1;if((n||(t.f&tn)!==0)&&t.nodes_start!==null){for(var e=t.nodes_start,l=t.nodes_end;e!==null;){var a=e===l?null:N(e);e.remove(),e=a}r=!0}Yt(t,n&&!r),X(t,0),T(t,tt);var s=t.transitions;if(s!==null)for(const _ of s)_.stop();qt(t);var i=t.parent;i!==null&&i.first!==null&&Ht(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=null}function Ht(t){var n=t.parent,r=t.prev,e=t.next;r!==null&&(r.next=e),e!==null&&(e.prev=r),n!==null&&(n.first===t&&(n.first=e),n.last===t&&(n.last=r))}function Tn(t,n){var r=[];jt(t,r,!0),mn(r,()=>{O(t),n&&n()})}function mn(t,n){var r=t.length;if(r>0){var e=()=>--r||n();for(var l of t)l.out(e)}else n()}function jt(t,n,r){if((t.f&b)===0){if(t.f^=b,t.transitions!==null)for(const s of t.transitions)(s.is_global||r)&&n.push(s);for(var e=t.first;e!==null;){var l=e.next,a=(e.f&mt)!==0||(e.f&I)!==0;jt(e,n,a?r:!1),e=l}}}function Fr(t){Bt(t,!0)}function Bt(t,n){if((t.f&b)!==0){t.f^=b,(t.f&v)===0&&(t.f^=v),M(t)&&(T(t,D),lt(t));for(var r=t.first;r!==null;){var e=r.next,l=(r.f&mt)!==0||(r.f&I)!==0;Bt(r,l?n:!1),r=e}if(t.transitions!==null)for(const a of t.transitions)(a.is_global||n)&&a.in()}}const An=typeof requestIdleCallback>"u"?t=>setTimeout(t,1):requestIdleCallback;let H=[],j=[];function Ut(){var t=H;H=[],gt(t)}function Vt(){var t=j;j=[],gt(t)}function Mr(t){H.length===0&&queueMicrotask(Ut),H.push(t)}function Lr(t){j.length===0&&An(Vt),j.push(t)}function wt(){H.length>0&&Ut(),j.length>0&&Vt()}let V=!1,Z=!1,$=null,R=!1,B=!1;function yt(t){B=t}let L=[];let u=null,w=!1;function z(t){u=t}let o=null;function J(t){o=t}let A=null;function xn(t){A=t}let c=null,d=0,x=null;function In(t){x=t}let Gt=1,W=0,k=!1;function Kt(){return++Gt}function M(t){var p;var n=t.f;if((n&D)!==0)return!0;if((n&C)!==0){var r=t.deps,e=(n&E)!==0;if(r!==null){var l,a,s=(n&K)!==0,i=e&&o!==null&&!k,_=r.length;if(s||i){var m=t,U=m.parent;for(l=0;l<_;l++)a=r[l],(s||!((p=a==null?void 0:a.reactions)!=null&&p.includes(m)))&&(a.reactions??(a.reactions=[])).push(m);s&&(m.f^=K),i&&U!==null&&(U.f&E)===0&&(m.f^=E)}for(l=0;l<_;l++)if(a=r[l],M(a)&&Ft(a),a.wv>t.wv)return!0}(!e||o!==null&&!k)&&T(t,v)}return!1}function kn(t,n){for(var r=n;r!==null;){if((r.f&G)!==0)try{r.fn(t);return}catch{r.f^=G}r=r.parent}throw V=!1,t}function Dn(t){return(t.f&tt)===0&&(t.parent===null||(t.parent.f&G)===0)}function et(t,n,r,e){if(V){if(r===null&&(V=!1),Dn(n))throw t;return}r!==null&&(V=!0);{kn(t,n);return}}function Zt(t,n,r=!0){var e=t.reactions;if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];(a.f&y)!==0?Zt(a,n,!1):n===a&&(r?T(a,D):(a.f&v)!==0&&T(a,C),lt(a))}}function $t(t){var vt;var n=c,r=d,e=x,l=u,a=k,s=A,i=f,_=w,m=t.f;c=null,d=0,x=null,k=(m&E)!==0&&(w||!R||u===null),u=(m&(I|P))===0?t:null,A=null,dt(t.ctx),w=!1,W++;try{var U=(0,t.fn)(),p=t.deps;if(c!==null){var h;if(X(t,d),p!==null&&d>0)for(p.length=d+c.length,h=0;h<c.length;h++)p[d+h]=c[h];else t.deps=p=c;if(!k)for(h=d;h<p.length;h++)((vt=p[h]).reactions??(vt.reactions=[])).push(t)}else p!==null&&d<p.length&&(X(t,d),p.length=d);if(rt()&&x!==null&&!w&&p!==null&&(t.f&(y|C|D))===0)for(h=0;h<x.length;h++)Zt(x[h],t);return l!==null&&W++,U}finally{c=n,d=r,x=e,u=l,k=a,A=s,dt(i),w=_}}function Rn(t,n){let r=n.reactions;if(r!==null){var e=Jt.call(r,t);if(e!==-1){var l=r.length-1;l===0?r=n.reactions=null:(r[e]=r[l],r.pop())}}r===null&&(n.f&y)!==0&&(c===null||!c.includes(n))&&(T(n,C),(n.f&(E|K))===0&&(n.f^=K),Pt(n),X(n,0))}function X(t,n){var r=t.deps;if(r!==null)for(var e=n;e<r.length;e++)Rn(t,r[e])}function at(t){var n=t.f;if((n&tt)===0){T(t,v);var r=o,e=f,l=R;o=t,R=!0;try{(n&ft)!==0?gn(t):Yt(t),qt(t);var a=$t(t);t.teardown=typeof a=="function"?a:null,t.wv=Gt;var s=t.deps,i}catch(_){et(_,t,r,e||t.ctx)}finally{R=l,o=r}}}function Sn(){try{ln()}catch(t){if($!==null)et(t,$,null);else throw t}}function zt(){var t=R;try{var n=0;for(R=!0;L.length>0;){n++>1e3&&Sn();var r=L,e=r.length;L=[];for(var l=0;l<e;l++){var a=Cn(r[l]);On(a)}}}finally{Z=!1,R=t,$=null,q.clear()}}function On(t){var n=t.length;if(n!==0)for(var r=0;r<n;r++){var e=t[r];if((e.f&(tt|b))===0)try{M(e)&&(at(e),e.deps===null&&e.first===null&&e.nodes_start===null&&(e.teardown===null?Ht(e):e.fn=null))}catch(l){et(l,e,null,e.ctx)}}}function lt(t){Z||(Z=!0,queueMicrotask(zt));for(var n=$=t;n.parent!==null;){n=n.parent;var r=n.f;if((r&(P|I))!==0){if((r&v)===0)return;n.f^=v}}L.push(n)}function Cn(t){for(var n=[],r=t;r!==null;){var e=r.f,l=(e&(I|P))!==0,a=l&&(e&v)!==0;if(!a&&(e&b)===0){if((e&Tt)!==0)n.push(r);else if(l)r.f^=v;else{var s=u;try{u=r,M(r)&&at(r)}catch(m){et(m,r,null,r.ctx)}finally{u=s}}var i=r.first;if(i!==null){r=i;continue}}var _=r.parent;for(r=r.next;r===null&&_!==null;)r=_.next,_=_.parent}return n}function Nn(t){var n;for(wt();L.length>0;)Z=!0,zt(),wt();return n}async function qr(){await Promise.resolve(),Nn()}function ct(t){var n=t.f,r=(n&y)!==0;if(u!==null&&!w){A!==null&&A.includes(t)&&sn();var e=u.deps;t.rv<W&&(t.rv=W,c===null&&e!==null&&e[d]===t?d++:c===null?c=[t]:(!k||!c.includes(t))&&c.push(t))}else if(r&&t.deps===null&&t.effects===null){var l=t,a=l.parent;a!==null&&(a.f&E)===0&&(l.f^=E)}return r&&(l=t,M(l)&&Ft(l)),B&&q.has(t)?q.get(t):t.v}function bn(t){var n=w;try{return w=!0,t()}finally{w=n}}const Pn=-7169;function T(t,n){t.f=t.f&Pn|n}function Yr(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(ht in t)ot(t);else if(!Array.isArray(t))for(let n in t){const r=t[n];typeof r=="object"&&r&&ht in r&&ot(r)}}}function ot(t,n=new Set){if(typeof t=="object"&&t!==null&&!(t instanceof EventTarget)&&!n.has(t)){n.add(t),t instanceof Date&&t.getTime();for(let e in t)try{ot(t[e],n)}catch{}const r=Xt(t);if(r!==Object.prototype&&r!==Array.prototype&&r!==Map.prototype&&r!==Set.prototype&&r!==Date.prototype){const e=Wt(r);for(let l in e){const a=e[l].get;if(a)try{a.call(t)}catch{}}}}}export{dr as $,it as A,Jn as B,pt as C,o as D,zn as E,Xt as F,Fn as G,yn as H,wr as I,mt as J,on as K,fn as L,Tr as M,Y as N,Er as O,Fr as P,Pr as Q,Tn as R,ht as S,g as T,ir as U,wn as V,Ln as W,cn as X,$n as Y,Un as Z,Dr as _,vr as a,Vn as a0,nt as a1,ar as a2,sr as a3,ur as a4,lr as a5,It as a6,er as a7,Hn as a8,nn as a9,Mn as aA,Or as aB,b as aC,vn as aD,Qn as aE,jt as aF,mn as aG,Xn as aH,rr as aI,tr as aJ,nr as aK,Cr as aL,Nr as aM,hr as aN,Zn as aa,O as ab,_r as ac,Wt as ad,Lr as ae,Gn as af,Lt as ag,Mr as ah,Nn as ai,qr as aj,ut as ak,kr as al,z as am,J as an,u as ao,st as ap,tn as aq,N as ar,pn as as,or as at,fr as au,mr as av,kt as aw,_n as ax,Dt as ay,Kn as az,St as b,Ar as c,bt as d,pr as e,xr as f,ct as g,f as h,Sr as i,Rr as j,gt as k,Bn as l,Yr as m,gr as n,Wn as o,cr as p,jn as q,yr as r,Ir as s,br as t,bn as u,rt as v,S as w,_t as x,qn as y,Yn as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as d,a as r,c as U,e as W}from"./Dkd6l8cV.js";import{p as J,s as j,c as g,r as m,t as Z,a as T,g as i,d as D,u as A,f as q,n as Y,b as C,e as V}from"./B6g3iar1.js";import{r as N,a as $,c as ee}from"./CLEQVYcW.js";import{b as O,S as X}from"./CN8LF06-.js";import{d as L,s as E,c as F,b as H,i as R}from"./CfqRDpBM.js";import{T as te}from"./DOX7w-st.js";import{a as se,s as G}from"./D3w1dc5i.js";var ae=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 ye(f,e){J(e,!0);let h=L(e,"value",15),p=L(e,"class",3,"bg-white border border-solid border-gray-300 rounded");var t=ae(),s=j(g(t),2);N(s),m(t),Z(()=>$(s,1,ee(p()))),O(s,h),r(f,t),T()}function _e(f,e){J(e,!0);const[h,p]=E(),t=()=>H(e.sockethubState,"$sockethubState",h);function s(v){const l={context:e.context,type:"credentials",actor:e.actor.id,object:JSON.parse(v)};console.log("sending credentials: ",l),se.socket.emit("credentials",l,c=>{if(c!=null&&c.error)throw new Error(c.error);F(e.sockethubState,A(t).credentialsSet=!0,A(t))})}const o=D(()=>!t().actorSet||t().credentialsSet||!1);te(f,{title:"Credentials",get obj(){return e.credentials},buttonText:"Set Credentials",submitData:s,get disabled(){return i(o)}}),T(),p()}var oe=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>'),re=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>'),ne=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>'),ie=d('<div class="w-full flex justify-end"><!></div>');function Se(f,e){J(e,!0);const[h,p]=E(),t=()=>H(e.sockethubState,"$sockethubState",h);let s=L(e,"disabled",3,!1),o=D(()=>s()||!t().credentialsSet||t().connected||e.connecting);var v=ie(),l=g(v);X(l,{get disabled(){return i(o)},get buttonAction(){return e.onConnect},children:(c,b)=>{var w=U(),x=q(w);{var z=a=>{var k=oe();r(a,k)},B=(a,k)=>{{var y=u=>{var _=re();r(u,_)},P=u=>{var _=ne();r(u,_)};R(a,u=>{t().connected?u(y):u(P,!1)},k)}};R(x,a=>{e.connecting?a(z):a(B,!1)})}r(c,w)}}),m(v),r(f,v),T(),p()}var le=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>'),ce=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>'),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="M12 4.5v15m7.5-7.5h-15"></path></svg> <span>Join Room</span></div>'),ve=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 Ce(f,e){J(e,!0);const[h,p]=E(),t=()=>H(e.sockethubState,"$sockethubState",h);let s=L(e,"room",15),o=V(!1);async function v(){return C(o,!0),await G({context:e.context,type:"join",actor:e.actor.id,target:{id:s(),name:s(),type:"room"}}).catch(()=>{F(e.sockethubState,A(t).joined=!1,A(t)),C(o,!1)}).then(()=>{F(e.sockethubState,A(t).joined=!0,A(t)),C(o,!1)})}var l=ve(),c=j(g(l),2),b=g(c),w=j(g(b),2);N(w),Y(2),m(b);var x=j(b,2),z=g(x);const B=D(()=>!t().connected||t().joined||i(o));X(z,{get disabled(){return i(B)},buttonAction:v,children:(a,k)=>{var y=U(),P=q(y);{var u=n=>{var S=le();r(n,S)},_=(n,S)=>{{var K=M=>{var I=ce();r(M,I)},Q=M=>{var I=de();r(M,I)};R(n,M=>{t().joined?M(K):M(Q,!1)},S)}};R(P,n=>{i(o)?n(u):n(_,!1)})}r(a,y)}}),m(x),m(c),m(l),O(w,s),r(f,l),T(),p()}var ue=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>'),me=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 je(f,e){J(e,!0);const[h,p]=E(),t=()=>H(e.sockethubState,"$sockethubState",h);let s=V(""),o=V(!1);async function v(){if(!i(s).trim())return;C(o,!0);const a=i(s).trim();console.log("send message: ",a);try{await G({context:e.context,type:"send",actor:e.actor.id,object:{type:"message",content:a},target:{id:e.room,name:e.room,type:"room"}}),C(s,"")}catch(k){console.error("Failed to send message:",k)}finally{C(o,!1)}}var l=me(),c=j(g(l),2),b=g(c),w=j(g(b),2),x=g(w);N(x);var z=j(x,2);const B=D(()=>!t().connected||i(o)||!i(s).trim());X(z,{get disabled(){return i(B)},buttonAction:v,children:(a,k)=>{var y=U(),P=q(y);{var u=n=>{var S=ue();r(n,S)},_=n=>{var S=ge();r(n,S)};R(P,n=>{i(o)?n(u):n(_,!1)})}r(a,y)}}),m(w),Y(2),m(b),m(c),m(l),O(x,()=>i(s),a=>C(s,a)),W("keydown",x,a=>{a.key==="Enter"&&!i(o)&&t().connected&&v()}),r(f,l),T(),p()}export{ye as A,_e as C,Se as P,Ce as R,je as S};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as d,i as g,j as c,k as l,u as m,l as b,g as p,m as h,d as k}from"./B6g3iar1.js";function x(n=!1){const s=d,e=s.l.u;if(!e)return;let r=()=>h(s.s);if(n){let o=0,t={};const _=k(()=>{let i=!1;const a=s.s;for(const f in a)a[f]!==t[f]&&(t[f]=a[f],i=!0);return i&&o++,o});r=()=>p(_)}e.b.length&&g(()=>{u(s,r),l(e.b)}),c(()=>{const o=m(()=>e.m.map(b));return()=>{for(const t of o)typeof t=="function"&&t()}}),e.a.length&&c(()=>{u(s,r),l(e.a)})}function u(n,s){if(n.l.s)for(const e of n.l.s)p(e);s()}export{x as i};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{q as f,u as p,a9 as m,j as h,h as r,G as g,aa as v,a1 as y}from"./B6g3iar1.js";function _(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function w(e,n,t){if(e==null)return n(void 0),f;const s=p(()=>e.subscribe(n,t));return s.unsubscribe?()=>s.unsubscribe():s}const i=[];function k(e,n=f){let t=null;const s=new Set;function o(c){if(m(e,c)&&(e=c,t)){const l=!i.length;for(const u of s)u[1](),i.push(u,e);if(l){for(let u=0;u<i.length;u+=2)i[u][0](i[u+1]);i.length=0}}}function a(c){o(c(e))}function b(c,l=f){const u=[c,l];return s.add(u),s.size===1&&(t=n(o,a)||f),c(e),()=>{s.delete(u),s.size===0&&t&&(t(),t=null)}}return{set:o,update:a,subscribe:b}}function E(e){let n;return w(e,t=>n=t)(),n}function z(e){r===null&&_(),y&&r.l!==null?d(r).m.push(e):h(()=>{const n=p(e);if(typeof n=="function")return n})}function q(e,n,{bubbles:t=!1,cancelable:s=!1}={}){return new CustomEvent(e,{detail:n,bubbles:t,cancelable:s})}function $(){const e=r;return e===null&&_(),(n,t,s)=>{var a;const o=(a=e.s.$$events)==null?void 0:a[n];if(o){const b=g(o)?o.slice():[o],c=q(n,t,s);for(const l of b)l.call(e.x,c);return!c.defaultPrevented}return!0}}function j(e){r===null&&_(),r.l===null&&v(),d(r).a.push(e)}function d(e){var n=e.l;return n.u??(n.u={a:[],b:[],m:[]})}export{j as a,$ as c,E as g,z as o,w as s,k as w};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{H as Y,J as z,Q as D,q as G,ab as J,w as p,T as K,ac as Q,F as W,ad as X,O as w,ae as Z,af as y}from"./B6g3iar1.js";import{i as m,f as x,d as rr,g as fr,n as ir,h as sr,j as ar}from"./Dkd6l8cV.js";function hr(r,s,...f){var i=r,a=G,t;Y(()=>{a!==(a=s())&&(t&&(J(t),t=null),t=D(()=>a(i,...f)))},z),p&&(i=K)}function k(r){var s,f,i="";if(typeof r=="string"||typeof r=="number")i+=r;else if(typeof r=="object")if(Array.isArray(r)){var a=r.length;for(s=0;s<a;s++)r[s]&&(f=k(r[s]))&&(i&&(i+=" "),i+=f)}else for(f in r)r[f]&&(i&&(i+=" "),i+=f);return i}function tr(){for(var r,s,f=0,i="",a=arguments.length;f<a;f++)(r=arguments[f])&&(s=k(r))&&(i&&(i+=" "),i+=s);return i}function ur(r){return typeof r=="object"?tr(r):r??""}const j=[...`
|
|
2
|
-
\r\f \v\uFEFF`];function or(r,s,f){var i=r==null?"":""+r;if(s&&(i=i?i+" "+s:s),f){for(var a in f)if(f[a])i=i?i+" "+a:a;else if(i.length)for(var t=a.length,l=0;(l=i.indexOf(a,l))>=0;){var e=l+t;(l===0||j.includes(i[l-1]))&&(e===i.length||j.includes(i[e]))?i=(l===0?"":i.substring(0,l))+i.substring(e+1):l=e}}return i===""?null:i}function P(r,s=!1){var f=s?" !important;":";",i="";for(var a in r){var t=r[a];t!=null&&t!==""&&(i+=" "+a+": "+t+f)}return i}function I(r){return r[0]!=="-"||r[1]!=="-"?r.toLowerCase():r}function lr(r,s){if(s){var f="",i,a;if(Array.isArray(s)?(i=s[0],a=s[1]):i=s,r){r=String(r).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var t=!1,l=0,e=!1,A=[];i&&A.push(...Object.keys(i).map(I)),a&&A.push(...Object.keys(a).map(I));var c=0,b=-1;const S=r.length;for(var v=0;v<S;v++){var g=r[v];if(e?g==="/"&&r[v-1]==="*"&&(e=!1):t?t===g&&(t=!1):g==="/"&&r[v+1]==="*"?e=!0:g==='"'||g==="'"?t=g:g==="("?l++:g===")"&&l--,!e&&t===!1&&l===0){if(g===":"&&b===-1)b=v;else if(g===";"||v===S-1){if(b!==-1){var C=I(r.substring(c,b).trim());if(!A.includes(C)){g!==";"&&v++;var T=r.substring(c,v).trim();f+=" "+T+";"}}c=v+1,b=-1}}}}return i&&(f+=P(i)),a&&(f+=P(a,!0)),f=f.trim(),f===""?null:f}return r==null?null:String(r)}function cr(r,s,f,i,a,t){var l=r.__className;if(p||l!==f){var e=or(f,i,t);(!p||e!==r.getAttribute("class"))&&(e==null?r.removeAttribute("class"):s?r.className=e:r.setAttribute("class",e)),r.__className=f}else if(t&&a!==t)for(var A in t){var c=!!t[A];(a==null||c!==!!a[A])&&r.classList.toggle(A,c)}return t}function M(r,s={},f,i){for(var a in f){var t=f[a];s[a]!==t&&(f[a]==null?r.style.removeProperty(a):r.style.setProperty(a,t,i))}}function er(r,s,f,i){var a=r.__style;if(p||a!==s){var t=lr(s,i);(!p||t!==r.getAttribute("style"))&&(t==null?r.removeAttribute("style"):r.style.cssText=t),r.__style=s}else i&&(Array.isArray(i)?(M(r,f==null?void 0:f[0],i[0]),M(r,f==null?void 0:f[1],i[1],"important")):M(r,f,i));return i}const E=Symbol("class"),_=Symbol("style"),F=Symbol("is custom element"),H=Symbol("is html");function dr(r){if(p){var s=!1,f=()=>{if(!s){if(s=!0,r.hasAttribute("value")){var i=r.value;L(r,"value",null),r.value=i}if(r.hasAttribute("checked")){var a=r.checked;L(r,"checked",null),r.checked=a}}};r.__on_r=f,Z(f),sr()}}function nr(r,s){s?r.hasAttribute("selected")||r.setAttribute("selected",""):r.removeAttribute("selected")}function L(r,s,f,i){var a=U(r);p&&(a[s]=r.getAttribute(s),s==="src"||s==="srcset"||s==="href"&&r.nodeName==="LINK")||a[s]!==(a[s]=f)&&(s==="loading"&&(r[y]=f),f==null?r.removeAttribute(s):typeof f!="string"&&V(r).includes(s)?r[s]=f:r.setAttribute(s,f))}function Ar(r,s,f,i,a=!1){var t=U(r),l=t[F],e=!t[H];let A=p&&l;A&&w(!1);var c=s||{},b=r.tagName==="OPTION";for(var v in s)v in f||(f[v]=null);f.class?f.class=ur(f.class):f.class=null,f[_]&&(f.style??(f.style=null));var g=V(r);for(const u in f){let o=f[u];if(b&&u==="value"&&o==null){r.value=r.__value="",c[u]=o;continue}if(u==="class"){var C=r.namespaceURI==="http://www.w3.org/1999/xhtml";cr(r,C,o,i,s==null?void 0:s[E],f[E]),c[u]=o,c[E]=f[E];continue}if(u==="style"){er(r,o,s==null?void 0:s[_],f[_]),c[u]=o,c[_]=f[_];continue}var T=c[u];if(o!==T){c[u]=o;var S=u[0]+u[1];if(S!=="$$")if(S==="on"){const h={},N="$$"+u;let n=u.slice(2);var O=ar(n);if(m(n)&&(n=n.slice(0,-7),h.capture=!0),!O&&T){if(o!=null)continue;r.removeEventListener(n,c[N],h),c[N]=null}if(o!=null)if(O)r[`__${n}`]=o,rr([n]);else{let q=function(B){c[u].call(this,B)};c[N]=x(n,r,q,h)}else O&&(r[`__${n}`]=void 0)}else if(u==="style")L(r,u,o);else if(u==="autofocus")fr(r,!!o);else if(!l&&(u==="__value"||u==="value"&&o!=null))r.value=r.__value=o;else if(u==="selected"&&b)nr(r,o);else{var d=u;e||(d=ir(d));var $=d==="defaultValue"||d==="defaultChecked";if(o==null&&!l&&!$)if(t[u]=null,d==="value"||d==="checked"){let h=r;const N=s===void 0;if(d==="value"){let n=h.defaultValue;h.removeAttribute(d),h.defaultValue=n,h.value=h.__value=N?n:null}else{let n=h.defaultChecked;h.removeAttribute(d),h.defaultChecked=n,h.checked=N?n:!1}}else r.removeAttribute(u);else $||g.includes(d)&&(l||typeof o!="string")?r[d]=o:typeof o!="function"&&L(r,d,o)}}}return A&&w(!0),c}function U(r){return r.__attributes??(r.__attributes={[F]:r.nodeName.includes("-"),[H]:r.namespaceURI===Q})}var R=new Map;function V(r){var s=R.get(r.nodeName);if(s)return s;R.set(r.nodeName,s=[]);for(var f,i=r,a=Element.prototype;a!==i;){f=X(i);for(var t in f)f[t].set&&s.push(t);i=W(i)}return s}export{E as C,cr as a,hr as b,ur as c,Ar as d,dr as r,L as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{v as P,w as V,u as q,x as D,c as i,g,d as H,r as d,t as S,f as B,q as A,s as w}from"./B6g3iar1.js";import{l as N,d as F,t as f,a as u,c as G,s as j}from"./Dkd6l8cV.js";import{i as E,b as J,s as K}from"./CfqRDpBM.js";import{a as O,s as Q,b as M}from"./CLEQVYcW.js";import{c as R,L as T}from"./D3w1dc5i.js";import{I as U}from"./Dd_3LBWN.js";function le(e,t,n=t){var v=P();N(e,"input",a=>{var r=a?e.defaultValue:e.value;if(r=y(e)?k(r):r,n(r),v&&r!==(r=t())){var s=e.selectionStart,c=e.selectionEnd;e.value=r??"",c!==null&&(e.selectionStart=s,e.selectionEnd=Math.min(c,e.value.length))}}),(V&&e.defaultValue!==e.value||q(t)==null&&e.value)&&n(y(e)?k(e.value):e.value),D(()=>{var a=t();y(e)&&a===k(e.value)||e.type==="date"&&!a&&!e.value||a!==e.value&&(e.value=a??"")})}function y(e){var t=e.type;return t==="number"||t==="range"}function k(e){return e===""?null:+e}var W=f('<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 9v3.75m0-10.036A11.959 11.959 0 013.598 6 11.99 11.99 0 003 9.75c0 5.592 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.57-.598-3.75A11.959 11.959 0 0112 2.704z"></path><path stroke-linecap="round" stroke-linejoin="round" d="M12 15.75h.007v.008H12v-.008z"></path></svg> <span class="text-xs">Not Connected</span></div>'),X=f("<button><!></button>");function ne(e,t){const[n,v]=K(),a=()=>J(R,"$connected",n),r=H(()=>a()?!!t.disabled:!0);var s=X();s.__click=function(...o){var l;(l=t.buttonAction)==null||l.apply(this,o)};var c=i(s);{var m=o=>{var l=W();u(o,l)},x=o=>{var l=G(),b=B(l);M(b,()=>t.children??A),u(o,l)};E(c,o=>{!a()&&g(r)?o(m):o(x,!1)})}d(s),S(()=>{O(s,1,`inline-flex items-center justify-center px-6 py-3 text-sm font-semibold border border-transparent rounded-lg shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:cursor-not-allowed transition-all duration-200 ${(g(r)&&!a()?"bg-red-100 text-red-700 border-red-200 hover:bg-red-100":g(r)?"bg-gray-100 text-gray-500 border-gray-200 hover:bg-gray-100":"text-white bg-blue-600 hover:bg-blue-700 focus:ring-blue-500")??""}`),s.disabled=g(r),Q(s,"title",a()?"":"Please connect to Sockethub first")}),u(e,s),v()}F(["click"]);var Y=f('<p class="text-lg text-gray-600 leading-relaxed"> </p>'),Z=f("<title> </title> <!>",1),$=f('<!> <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 space-y-8"><div class="bg-white shadow-sm border border-gray-200 rounded-xl p-8"><div class="space-y-8"><!></div></div></div> <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 mt-8"><!></div>',1);function ie(e,t){var n=$(),v=B(n);U(v,{get title(){return t.title},children:(o,l)=>{var b=Z(),_=B(b),z=i(_,!0);d(_);var C=w(_,2);{var I=h=>{var p=Y(),L=i(p,!0);d(p),S(()=>j(L,t.description)),u(h,p)};E(C,h=>{t.description&&h(I)})}S(()=>j(z,t.title)),u(o,b)}});var a=w(v,2),r=i(a),s=i(r),c=i(s);M(c,()=>t.children??A),d(s),d(r),d(a);var m=w(a,2),x=i(m);T(x,{}),d(m),u(e,n)}export{ie as B,ne as S,le as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{o as a}from"./B6g3iar1.js";a();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{S as D,y as Q,z as W,A as I,B as X,g as P,U as p,b as h,C as O,D as k,E as ee,F as re,G as ne,H as se,w as Y,I as te,J as ie,K as ue,L as fe,M as ae,N as le,O as M,P as x,Q as B,R as j,T as ce,V as oe,W as de,q as C,X as z,Y as ve,Z as _e,_ as be,$,d as F,a0 as V,a1 as pe,a2 as ge,u as G,a3 as Pe,a4 as he,a5 as J,a6 as we,a7 as me,a8 as A}from"./B6g3iar1.js";import{s as Ie,g as ye}from"./BoR-lgka.js";function S(e,r=null,t){if(typeof e!="object"||e===null||D in e)return e;const n=re(e);if(n!==Q&&n!==W)return e;var i=new Map,o=ne(e),v=I(0);o&&i.set("length",I(e.length));var g;return new Proxy(e,{defineProperty(l,s,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&ee();var a=i.get(s);return a===void 0?(a=I(u.value),i.set(s,a)):h(a,S(u.value,g)),!0},deleteProperty(l,s){var u=i.get(s);if(u===void 0)s in l&&i.set(s,I(p));else{if(o&&typeof s=="string"){var a=i.get("length"),f=Number(s);Number.isInteger(f)&&f<a.v&&h(a,f)}h(u,p),H(v)}return!0},get(l,s,u){var _;if(s===D)return e;var a=i.get(s),f=s in l;if(a===void 0&&(!f||(_=O(l,s))!=null&&_.writable)&&(a=I(S(f?l[s]:p,g)),i.set(s,a)),a!==void 0){var c=P(a);return c===p?void 0:c}return Reflect.get(l,s,u)},getOwnPropertyDescriptor(l,s){var u=Reflect.getOwnPropertyDescriptor(l,s);if(u&&"value"in u){var a=i.get(s);a&&(u.value=P(a))}else if(u===void 0){var f=i.get(s),c=f==null?void 0:f.v;if(f!==void 0&&c!==p)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return u},has(l,s){var c;if(s===D)return!0;var u=i.get(s),a=u!==void 0&&u.v!==p||Reflect.has(l,s);if(u!==void 0||k!==null&&(!a||(c=O(l,s))!=null&&c.writable)){u===void 0&&(u=I(a?S(l[s],g):p),i.set(s,u));var f=P(u);if(f===p)return!1}return a},set(l,s,u,a){var y;var f=i.get(s),c=s in l;if(o&&s==="length")for(var _=u;_<f.v;_+=1){var w=i.get(_+"");w!==void 0?h(w,p):_ in l&&(w=I(p),i.set(_+"",w))}f===void 0?(!c||(y=O(l,s))!=null&&y.writable)&&(f=I(void 0),h(f,S(u,g)),i.set(s,f)):(c=f.v!==p,h(f,S(u,g)));var b=Reflect.getOwnPropertyDescriptor(l,s);if(b!=null&&b.set&&b.set.call(a,u),!c){if(o&&typeof s=="string"){var E=i.get("length"),T=Number(s);Number.isInteger(T)&&T>=E.v&&h(E,T+1)}H(v)}return!0},ownKeys(l){P(v);var s=Reflect.ownKeys(l).filter(f=>{var c=i.get(f);return c===void 0||c.v!==p});for(var[u,a]of i)a.v!==p&&!(u in l)&&s.push(u);return s},setPrototypeOf(){X()}})}function H(e,r=1){h(e,e.v+r)}function Ne(e,r,[t,n]=[0,0]){Y&&t===0&&te();var i=e,o=null,v=null,g=p,l=t>0?ie:0,s=!1;const u=(f,c=!0)=>{s=!0,a(c,f)},a=(f,c)=>{if(g===(g=f))return;let _=!1;if(Y&&n!==-1){if(t===0){const b=i.data;b===ue?n=0:b===fe?n=1/0:(n=parseInt(b.substring(1)),n!==n&&(n=g?1/0:-1))}const w=n>t;!!g===w&&(i=ae(),le(i),M(!1),_=!0,n=-1)}g?(o?x(o):c&&(o=B(()=>c(i))),v&&j(v,()=>{v=null})):(v?x(v):c&&(v=B(()=>c(i,[t+1,n]))),o&&j(o,()=>{o=null})),_&&M(!0)};se(()=>{s=!1,r(u),s||a(null,null)},l),Y&&(i=ce)}let N=!1,q=Symbol();function De(e,r,t){const n=t[r]??(t[r]={store:null,source:z(void 0),unsubscribe:C});if(n.store!==e&&!(q in t))if(n.unsubscribe(),n.store=e??null,e==null)n.source.v=void 0,n.unsubscribe=C;else{var i=!0;n.unsubscribe=Ie(e,o=>{i?n.source.v=o:h(n.source,o)}),i=!1}return e&&q in t?ye(e):P(n.source)}function Le(e,r){return e.set(r),r}function Ue(){const e={};function r(){oe(()=>{for(var t in e)e[t].unsubscribe();de(e,q,{enumerable:!1,value:!0})})}return[e,r]}function Ye(e,r,t){return e.set(t),r}function qe(){N=!0}function Re(e){var r=N;try{return N=!1,[e(),N]}finally{N=r}}const Se={get(e,r){if(!e.exclude.includes(r))return P(e.version),r in e.special?e.special[r]():e.props[r]},set(e,r,t){return r in e.special||(e.special[r]=Ee({get[r](){return e.props[r]}},r,J)),e.special[r](t),$(e.version),!0},getOwnPropertyDescriptor(e,r){if(!e.exclude.includes(r)&&r in e.props)return{enumerable:!0,configurable:!0,value:e.props[r]}},deleteProperty(e,r){return e.exclude.includes(r)||(e.exclude.push(r),$(e.version)),!0},has(e,r){return e.exclude.includes(r)?!1:r in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(r=>!e.exclude.includes(r))}};function Ke(e,r){return new Proxy({props:e,exclude:r,special:{},version:I(0)},Se)}const Oe={get(e,r){let t=e.props.length;for(;t--;){let n=e.props[t];if(A(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n)return n[r]}},set(e,r,t){let n=e.props.length;for(;n--;){let i=e.props[n];A(i)&&(i=i());const o=O(i,r);if(o&&o.set)return o.set(t),!0}return!1},getOwnPropertyDescriptor(e,r){let t=e.props.length;for(;t--;){let n=e.props[t];if(A(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n){const i=O(n,r);return i&&!i.configurable&&(i.configurable=!0),i}}},has(e,r){if(r===D||r===V)return!1;for(let t of e.props)if(A(t)&&(t=t()),t!=null&&r in t)return!0;return!1},ownKeys(e){const r=[];for(let t of e.props){A(t)&&(t=t());for(const n in t)r.includes(n)||r.push(n)}return r}};function Me(...e){return new Proxy({props:e},Oe)}function Z(e){var r;return((r=e.ctx)==null?void 0:r.d)??!1}function Ee(e,r,t,n){var K;var i=(t&me)!==0,o=!pe||(t&ge)!==0,v=(t&Pe)!==0,g=(t&he)!==0,l=!1,s;v?[s,l]=Re(()=>e[r]):s=e[r];var u=D in e||V in e,a=v&&(((K=O(e,r))==null?void 0:K.set)??(u&&r in e&&(d=>e[r]=d)))||void 0,f=n,c=!0,_=!1,w=()=>(_=!0,c&&(c=!1,g?f=G(n):f=n),f);s===void 0&&n!==void 0&&(a&&o&&ve(),s=w(),a&&a(s));var b;if(o)b=()=>{var d=e[r];return d===void 0?w():(c=!0,_=!1,d)};else{var E=(i?F:be)(()=>e[r]);E.f|=_e,b=()=>{var d=P(E);return d!==void 0&&(f=void 0),d===void 0?f:d}}if((t&J)===0)return b;if(a){var T=e.$$legacy;return function(d,R){return arguments.length>0?((!o||!R||T||l)&&a(R?b():d),d):b()}}var y=!1,L=z(s),m=F(()=>{var d=b(),R=P(L);return y?(y=!1,R):L.v=d});return v&&P(m),i||(m.equals=we),function(d,R){if(arguments.length>0){const U=R?P(m):o&&v?S(d):d;if(!m.equals(U)){if(y=!0,h(L,U),_&&f!==void 0&&(f=U),Z(m))return d;G(()=>P(m))}return d}return Z(m)?m.v:P(m)}}export{Le as a,De as b,Ye as c,Ee as d,Me as e,Ne as i,Ke as l,qe as m,S as p,Ue as s};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{p as jn,q as vr,t as re,a as K,s as le,c as He,b as rs,d as is,k as _r}from"./Dkd6l8cV.js";import"./CZFJHIMN.js";import{ap as mr,H as os,N as gt,w as xe,ak as as,I as wt,g as z,_ as cs,L as br,M as Un,O as Ht,T as Ue,ax as wr,P as ls,Q as un,R as Er,aC as qt,aA as hs,D as Hn,aD as qn,X as xr,A as Fn,G as kr,aE as fn,aF as Or,al as Ar,aG as Sr,ab as us,aH as dn,aI as Rr,ar as fs,aJ as ds,ah as Tr,aK as Nr,ay as Cr,aw as Mr,p as Le,s as G,c as B,r as C,n as ps,a as Ie,t as ue,f as ye,aL as Br,aM as Lr,aN as Ir,b as qe,m as Vn,e as ut,d as tt}from"./B6g3iar1.js";import{i as gs}from"./BeYzO5Mt.js";import{b as Pr,s as Dr,i as he,l as Et,d as Fe,e as jr,p as Ft}from"./CfqRDpBM.js";import{w as pn,g as Ur,c as Hr,a as qr}from"./BoR-lgka.js";import{s as Fr,a as gn,d as Vr,C as Kr}from"./CLEQVYcW.js";function Qt(n,e){return e}function Wr(n,e,t,s){for(var i=[],o=e.length,a=0;a<o;a++)Or(e[a].e,i,!0);var h=o>0&&i.length===0&&t!==null;if(h){var l=t.parentNode;Ar(l),l.append(t),s.clear(),Me(n,e[0].prev,e[o-1].next)}Sr(i,()=>{for(var f=0;f<o;f++){var u=e[f];h||(s.delete(u.k),Me(n,u.prev,u.next)),us(u.e,!h)}})}function Zt(n,e,t,s,i,o=null){var a=n,h={flags:e,items:new Map,first:null},l=(e&ds)!==0;if(l){var f=n;a=xe?gt(as(f)):f.appendChild(mr())}xe&&wt();var u=null,y=!1,b=cs(()=>{var k=t();return kr(k)?k:k==null?[]:hs(k)});os(()=>{var k=z(b),p=k.length;if(y&&p===0)return;y=p===0;let S=!1;if(xe){var m=a.data===br;m!==(p===0)&&(a=Un(),gt(a),Ht(!1),S=!0)}if(xe){for(var q=null,F,O=0;O<p;O++){if(Ue.nodeType===8&&Ue.data===wr){a=Ue,S=!0,Ht(!1);break}var T=k[O],M=s(T,O);F=ys(Ue,h,q,null,T,M,O,i,e,t),h.items.set(M,F),q=F}p>0&>(Un())}xe||zr(k,h,a,i,e,s,t),o!==null&&(p===0?u?ls(u):u=un(()=>o(a)):u!==null&&Er(u,()=>{u=null})),S&&Ht(!0),z(b)}),xe&&(a=Ue)}function zr(n,e,t,s,i,o,a){var te,de,ne,ie;var h=(i&Nr)!==0,l=(i&(dn|fn))!==0,f=n.length,u=e.items,y=e.first,b=y,k,p=null,S,m=[],q=[],F,O,T,M;if(h)for(M=0;M<f;M+=1)F=n[M],O=o(F,M),T=u.get(O),T!==void 0&&((te=T.a)==null||te.measure(),(S??(S=new Set)).add(T));for(M=0;M<f;M+=1){if(F=n[M],O=o(F,M),T=u.get(O),T===void 0){var Ae=b?b.e.nodes_start:t;p=ys(Ae,e,p,p===null?e.first:p.next,F,O,M,s,i,a),u.set(O,p),m=[],q=[],b=p.next;continue}if(l&&Gr(T,F,M,i),(T.e.f&qt)!==0&&(ls(T.e),h&&((de=T.a)==null||de.unfix(),(S??(S=new Set)).delete(T))),T!==b){if(k!==void 0&&k.has(T)){if(m.length<q.length){var fe=q[0],I;p=fe.prev;var X=m[0],D=m[m.length-1];for(I=0;I<m.length;I+=1)Kn(m[I],fe,t);for(I=0;I<q.length;I+=1)k.delete(q[I]);Me(e,X.prev,D.next),Me(e,p,X),Me(e,D,fe),b=fe,p=D,M-=1,m=[],q=[]}else k.delete(T),Kn(T,b,t),Me(e,T.prev,T.next),Me(e,T,p===null?e.first:p.next),Me(e,p,T),p=T;continue}for(m=[],q=[];b!==null&&b.k!==O;)(b.e.f&qt)===0&&(k??(k=new Set)).add(b),q.push(b),b=b.next;if(b===null)continue;T=b}m.push(T),p=T,b=T.next}if(b!==null||k!==void 0){for(var j=k===void 0?[]:hs(k);b!==null;)(b.e.f&qt)===0&&j.push(b),b=b.next;var P=j.length;if(P>0){var W=(i&ds)!==0&&f===0?t:null;if(h){for(M=0;M<P;M+=1)(ne=j[M].a)==null||ne.measure();for(M=0;M<P;M+=1)(ie=j[M].a)==null||ie.fix()}Wr(e,j,W,u)}}h&&Tr(()=>{var pe;if(S!==void 0)for(T of S)(pe=T.a)==null||pe.apply()}),Hn.first=e.first&&e.first.e,Hn.last=p&&p.e}function Gr(n,e,t,s){(s&dn)!==0&&qn(n.v,e),(s&fn)!==0?qn(n.i,t):n.i=t}function ys(n,e,t,s,i,o,a,h,l,f){var u=(l&dn)!==0,y=(l&Rr)===0,b=u?y?xr(i):Fn(i):i,k=(l&fn)===0?a:Fn(a),p={i:k,v:b,k:o,a:null,e:null,prev:t,next:s};try{return p.e=un(()=>h(n,b,k,f),xe),p.e.prev=t&&t.e,p.e.next=s&&s.e,t===null?e.first=p:(t.next=p,t.e.next=p.e),s!==null&&(s.prev=p,s.e.prev=p.e),p}finally{}}function Kn(n,e,t){for(var s=n.next?n.next.e.nodes_start:t,i=e?e.e.nodes_start:t,o=n.e.nodes_start;o!==s;){var a=fs(o);i.before(o),o=a}}function Me(n,e,t){e===null?n.first=t:(e.next=t,e.e.next=t&&t.e),t!==null&&(t.prev=e,t.e.prev=e&&e.e)}function vs(n,e,t,s,i){var o=n,a="",h;os(()=>{if(a===(a=e()??"")){xe&&wt();return}h!==void 0&&(us(h),h=void 0),a!==""&&(h=un(()=>{if(xe){Ue.data;for(var l=wt(),f=l;l!==null&&(l.nodeType!==8||l.data!=="");)f=l,l=fs(l);if(l===null)throw Cr(),Mr;jn(Ue,f),o=gt(l);return}var u=a+"",y=vr(u);jn(as(y),y.lastChild),o.before(y)}))})}function Xr(n,e,t,s,i){var h;xe&&wt();var o=(h=e.$$slots)==null?void 0:h[t],a=!1;o===!0&&(o=e.children,a=!0),o===void 0?i!==null&&i(n):o(n,a?()=>s:s)}const $t=pn([]),ft=new Map;function _s(n,e=!1){var t,s,i;if(console.log("displayMessage called:",{type:n.type,context:n.context,isResponse:e,actor:n.actor,content:(t=n.object)==null?void 0:t.content}),n.type==="send"&&((s=n.object)==null?void 0:s.type)==="message"){const o=typeof n.actor=="string"?n.actor:((i=n.actor)==null?void 0:i.name)||"",a=n.object.content||"",h=`${o}:${a}`,l=Date.now(),f=ft.get(h);if(f&&l-f<2e3){console.log("Skipping duplicate message:",h);return}ft.set(h,l);for(const[u,y]of ft)l-y>5e3&&ft.delete(u);$t.set([...Ur($t),[o,a]]),console.log("Message displayed:",{actorName:o,content:a,isResponse:e,context:n.context})}}var Yr=re("<li> </li>"),Jr=re('<div><label for="incomingMessagesContainer" class="text-gray-900 font-bold">Incoming Messages</label> <div id="incomingMessagesContainer" class="incoming-messages-container w-full"><ui class="incoming-messages"></ui> <div class="incoming-messages-anchor"></div></div></div>');function Lo(n,e){Le(e,!1);const[t,s]=Dr(),i=()=>Pr($t,"$messages",t);gs();var o=Jr(),a=G(B(o),2),h=B(a);Zt(h,5,i,Qt,(l,f)=>{var u=Yr(),y=B(u);C(u),ue(()=>le(y,`${z(f)[0]??""}: ${z(f)[1]??""}`)),K(l,u)}),C(h),ps(2),C(a),C(o),K(n,o),Ie(),s()}var Qr=re("<span> </span>");function yn(n,e){Le(e,!0);var t=Qr(),s=B(t);C(t),ue(()=>le(s,`[${e.entry.context??""}:${e.entry.type??""}]`)),K(n,t),Ie()}var Zr=re("<!> <span> </span> <span> </span>",1);function $r(n,e){Le(e,!0);var t=Zr(),s=ye(t);yn(s,{get entry(){return e.entry}});var i=G(s,2),o=B(i);C(i);var a=G(i,2),h=B(a,!0);C(a),ue(()=>{var l,f,u;le(o,`#${e.id??""}
|
|
2
|
-
${(typeof e.entry.actor=="string"?e.entry.actor:((l=e.entry.actor)==null?void 0:l.name)||((f=e.entry.actor)==null?void 0:f.id))??""}:`),le(h,((u=e.entry.object)==null?void 0:u.content)||"")}),K(n,t),Ie()}var ei=re('<span class="font-medium">📰 Fetched feed:</span> <span></span> <span class="text-gray-500"> </span>',1),ti=re("<span></span>"),ni=re('<span class="text-gray-500 text-xs italic"> </span>'),si=re('<span class="text-gray-500"> </span> <!> <span><a rel="noreferrer" target="_blank" class="text-blue-600 hover:text-blue-800 underline"><!></a></span> <!>',1),ri=re("<!> <!>",1);function ii(n,e){var u,y,b;Le(e,!0);const t=e.entry.totalItems!==void 0,s=t?e.entry.summary:(u=e.entry.object)==null?void 0:u.url,i=typeof e.entry.actor=="string"?e.entry.actor:((y=e.entry.actor)==null?void 0:y.name)||((b=e.entry.actor)==null?void 0:b.id);var o=ri(),a=ye(o);yn(a,{get entry(){return e.entry}});var h=G(a,2);{var l=k=>{var p=ei(),S=G(ye(p),2);S.textContent=s;var m=G(S,2),q=B(m);C(m),ue(()=>le(q,`(${e.entry.totalItems??""} ${(e.entry.totalItems===1?"item":"items")??""})`)),K(k,p)},f=k=>{var p=si(),S=ye(p),m=B(S);C(S);var q=G(S,2);{var F=D=>{var j=ti();j.textContent=`${i??""}:`,K(D,j)};he(q,D=>{i&&D(F)})}var O=G(q,2),T=B(O),M=B(T);{var Ae=D=>{var j=He(),P=ye(j);vs(P,()=>{var W;return(W=e.entry.object)==null?void 0:W.title}),K(D,j)},fe=D=>{var j=rs();ue(()=>{var P,W;return le(j,(P=e.entry.object)!=null&&P.title||typeof e.entry.target=="string"?e.entry.target:(W=e.entry.target)==null?void 0:W.id)}),K(D,j)};he(M,D=>{var j;((j=e.entry.object)==null?void 0:j.contentType)==="html"?D(Ae):D(fe,!1)})}C(T),C(O);var I=G(O,2);{var X=D=>{var j=ni(),P=B(j,!0);C(j),ue(W=>le(P,W),[()=>{var W;return(W=e.entry.object)==null?void 0:W.published.split("T")[0]}]),K(D,j)};he(I,D=>{var j;(j=e.entry.object)!=null&&j.published&&D(X)})}ue(()=>{var D;le(m,`#${e.id??""}`),Fr(T,"href",(D=e.entry.object)==null?void 0:D.url)}),K(k,p)};he(h,k=>{t?k(l):k(f,!1)})}K(n,o),Ie()}var oi=re("<!> <span> </span>",1);function ai(n,e){Le(e,!0);var t=oi(),s=ye(t);yn(s,{get entry(){return e.entry}});var i=G(s,2),o=B(i);C(i),ue(()=>{var a,h;return le(o,`#${e.id??""}
|
|
3
|
-
${(typeof e.entry.actor=="string"?e.entry.actor:((a=e.entry.actor)==null?void 0:a.name)||((h=e.entry.actor)==null?void 0:h.id))??""}`)}),K(n,t),Ie()}var ci=re('<span class="px-2 py-1 bg-blue-100 text-blue-800 text-xs font-medium rounded-full"> </span>'),li=re('<span class="px-2 py-1 bg-purple-100 text-purple-800 text-xs font-medium rounded-full"> </span>'),hi=re('<div class="mt-2 p-3 bg-red-50 border border-red-200 rounded-lg"><div class="flex items-center space-x-2"><svg class="w-4 h-4 text-red-500" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> <span class="text-red-800 font-medium text-sm">Error:</span> <span class="text-red-700 text-sm"> </span></div></div>'),ui=re('<li class="p-4 hover:bg-gray-50 transition-colors"><div class="flex items-start space-x-3"><div class="flex flex-col items-center space-y-1 mt-1"><div></div> <div class="text-xs text-gray-400 font-mono"> </div></div> <div class="flex-1 min-w-0"><div class="flex items-center justify-between mb-2"><div class="flex items-center space-x-2"><span class="text-sm font-semibold text-gray-700"> </span> <!> <!></div> <button class="px-3 py-1 text-xs font-medium text-indigo-600 hover:text-indigo-800 hover:bg-indigo-50 rounded-md transition-colors flex items-center space-x-1"><svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"></path></svg> <span>View Details</span></button></div> <div class="text-sm text-gray-600"><!></div> <!></div></div></li>');function Vt(n,e){Le(e,!0);var t=ui(),s=B(t),i=B(s),o=B(i),a=G(o,2),h=B(a);C(a),C(i);var l=G(i,2),f=B(l),u=B(f),y=B(u),b=B(y,!0);C(y);var k=G(y,2);{var p=I=>{var X=ci(),D=B(X,!0);C(X),ue(j=>le(D,j),[()=>e.entry.context.toUpperCase()]),K(I,X)};he(k,I=>{e.entry.context&&I(p)})}var S=G(k,2);{var m=I=>{var X=li(),D=B(X,!0);C(X),ue(()=>le(D,e.entry.type)),K(I,X)};he(S,I=>{e.entry.type&&I(m)})}C(u);var q=G(u,2);q.__click=function(...I){var X;(X=e.buttonAction)==null||X.apply(this,I)},C(f);var F=G(f,2),O=B(F);{var T=I=>{$r(I,{get id(){return e.id},get entry(){return e.entry}})},M=(I,X)=>{{var D=P=>{ii(P,{get id(){return e.id},get entry(){return e.entry}})},j=P=>{ai(P,{get id(){return e.id},get entry(){return e.entry}})};he(I,P=>{e.entry.context==="feeds"?P(D):P(j,!1)},X)}};he(O,I=>{e.entry.context==="dummy"?I(T):I(M,!1)})}C(F);var Ae=G(F,2);{var fe=I=>{var X=hi(),D=B(X),j=G(B(D),4),P=B(j,!0);C(j),C(D),C(X),ue(()=>le(P,e.entry.error)),K(I,X)};he(Ae,I=>{e.entry.error&&I(fe)})}C(l),C(s),C(t),ue(()=>{gn(o,1,`w-3 h-3 ${(e.response?"bg-green-500":"bg-orange-400")??""} rounded-full`),le(h,`#${e.id??""}`),le(b,e.response?"📥 Response":"📤 Sent")}),K(n,t),Ie()}is(["click"]);function ms(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Kt,Wn;function fi(){if(Wn)return Kt;Wn=1;function n(r){return r instanceof Map?r.clear=r.delete=r.set=function(){throw new Error("map is read-only")}:r instanceof Set&&(r.add=r.clear=r.delete=function(){throw new Error("set is read-only")}),Object.freeze(r),Object.getOwnPropertyNames(r).forEach(c=>{const g=r[c],R=typeof g;(R==="object"||R==="function")&&!Object.isFrozen(g)&&n(g)}),r}class e{constructor(c){c.data===void 0&&(c.data={}),this.data=c.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function t(r){return r.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function s(r,...c){const g=Object.create(null);for(const R in r)g[R]=r[R];return c.forEach(function(R){for(const Q in R)g[Q]=R[Q]}),g}const i="</span>",o=r=>!!r.scope,a=(r,{prefix:c})=>{if(r.startsWith("language:"))return r.replace("language:","language-");if(r.includes(".")){const g=r.split(".");return[`${c}${g.shift()}`,...g.map((R,Q)=>`${R}${"_".repeat(Q+1)}`)].join(" ")}return`${c}${r}`};class h{constructor(c,g){this.buffer="",this.classPrefix=g.classPrefix,c.walk(this)}addText(c){this.buffer+=t(c)}openNode(c){if(!o(c))return;const g=a(c.scope,{prefix:this.classPrefix});this.span(g)}closeNode(c){o(c)&&(this.buffer+=i)}value(){return this.buffer}span(c){this.buffer+=`<span class="${c}">`}}const l=(r={})=>{const c={children:[]};return Object.assign(c,r),c};class f{constructor(){this.rootNode=l(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(c){this.top.children.push(c)}openNode(c){const g=l({scope:c});this.add(g),this.stack.push(g)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(c){return this.constructor._walk(c,this.rootNode)}static _walk(c,g){return typeof g=="string"?c.addText(g):g.children&&(c.openNode(g),g.children.forEach(R=>this._walk(c,R)),c.closeNode(g)),c}static _collapse(c){typeof c!="string"&&c.children&&(c.children.every(g=>typeof g=="string")?c.children=[c.children.join("")]:c.children.forEach(g=>{f._collapse(g)}))}}class u extends f{constructor(c){super(),this.options=c}addText(c){c!==""&&this.add(c)}startScope(c){this.openNode(c)}endScope(){this.closeNode()}__addSublanguage(c,g){const R=c.root;g&&(R.scope=`language:${g}`),this.add(R)}toHTML(){return new h(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function y(r){return r?typeof r=="string"?r:r.source:null}function b(r){return S("(?=",r,")")}function k(r){return S("(?:",r,")*")}function p(r){return S("(?:",r,")?")}function S(...r){return r.map(g=>y(g)).join("")}function m(r){const c=r[r.length-1];return typeof c=="object"&&c.constructor===Object?(r.splice(r.length-1,1),c):{}}function q(...r){return"("+(m(r).capture?"":"?:")+r.map(R=>y(R)).join("|")+")"}function F(r){return new RegExp(r.toString()+"|").exec("").length-1}function O(r,c){const g=r&&r.exec(c);return g&&g.index===0}const T=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function M(r,{joinWith:c}){let g=0;return r.map(R=>{g+=1;const Q=g;let Z=y(R),w="";for(;Z.length>0;){const _=T.exec(Z);if(!_){w+=Z;break}w+=Z.substring(0,_.index),Z=Z.substring(_.index+_[0].length),_[0][0]==="\\"&&_[1]?w+="\\"+String(Number(_[1])+Q):(w+=_[0],_[0]==="("&&g++)}return w}).map(R=>`(${R})`).join(c)}const Ae=/\b\B/,fe="[a-zA-Z]\\w*",I="[a-zA-Z_]\\w*",X="\\b\\d+(\\.\\d+)?",D="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",j="\\b(0b[01]+)",P="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",W=(r={})=>{const c=/^#![ ]*\//;return r.binary&&(r.begin=S(c,/.*\b/,r.binary,/\b.*/)),s({scope:"meta",begin:c,end:/$/,relevance:0,"on:begin":(g,R)=>{g.index!==0&&R.ignoreMatch()}},r)},te={begin:"\\\\[\\s\\S]",relevance:0},de={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[te]},ne={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[te]},ie={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},pe=function(r,c,g={}){const R=s({scope:"comment",begin:r,end:c,contains:[]},g);R.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const Q=q("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return R.contains.push({begin:S(/[ ]+/,"(",Q,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),R},Pe=pe("//","$"),At=pe("/\\*","\\*/"),St=pe("#","$"),Re={scope:"number",begin:X,relevance:0},Ve={scope:"number",begin:D,relevance:0},Qe={scope:"number",begin:j,relevance:0},Ze={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[te,{begin:/\[/,end:/\]/,relevance:0,contains:[te]}]},_e={scope:"title",begin:fe,relevance:0},Te={scope:"title",begin:I,relevance:0},rt={begin:"\\.\\s*"+I,relevance:0};var Ke=Object.freeze({__proto__:null,APOS_STRING_MODE:de,BACKSLASH_ESCAPE:te,BINARY_NUMBER_MODE:Qe,BINARY_NUMBER_RE:j,COMMENT:pe,C_BLOCK_COMMENT_MODE:At,C_LINE_COMMENT_MODE:Pe,C_NUMBER_MODE:Ve,C_NUMBER_RE:D,END_SAME_AS_BEGIN:function(r){return Object.assign(r,{"on:begin":(c,g)=>{g.data._beginMatch=c[1]},"on:end":(c,g)=>{g.data._beginMatch!==c[1]&&g.ignoreMatch()}})},HASH_COMMENT_MODE:St,IDENT_RE:fe,MATCH_NOTHING_RE:Ae,METHOD_GUARD:rt,NUMBER_MODE:Re,NUMBER_RE:X,PHRASAL_WORDS_MODE:ie,QUOTE_STRING_MODE:ne,REGEXP_MODE:Ze,RE_STARTERS_RE:P,SHEBANG:W,TITLE_MODE:_e,UNDERSCORE_IDENT_RE:I,UNDERSCORE_TITLE_MODE:Te});function Tt(r,c){r.input[r.index-1]==="."&&c.ignoreMatch()}function $e(r,c){r.className!==void 0&&(r.scope=r.className,delete r.className)}function Nt(r,c){c&&r.beginKeywords&&(r.begin="\\b("+r.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",r.__beforeBegin=Tt,r.keywords=r.keywords||r.beginKeywords,delete r.beginKeywords,r.relevance===void 0&&(r.relevance=0))}function Ct(r,c){Array.isArray(r.illegal)&&(r.illegal=q(...r.illegal))}function Mt(r,c){if(r.match){if(r.begin||r.end)throw new Error("begin & end are not supported with match");r.begin=r.match,delete r.match}}function js(r,c){r.relevance===void 0&&(r.relevance=1)}const Us=(r,c)=>{if(!r.beforeMatch)return;if(r.starts)throw new Error("beforeMatch cannot be used with starts");const g=Object.assign({},r);Object.keys(r).forEach(R=>{delete r[R]}),r.keywords=g.keywords,r.begin=S(g.beforeMatch,b(g.begin)),r.starts={relevance:0,contains:[Object.assign(g,{endsParent:!0})]},r.relevance=0,delete g.beforeMatch},Hs=["of","and","for","in","not","or","if","then","parent","list","value"],qs="keyword";function En(r,c,g=qs){const R=Object.create(null);return typeof r=="string"?Q(g,r.split(" ")):Array.isArray(r)?Q(g,r):Object.keys(r).forEach(function(Z){Object.assign(R,En(r[Z],c,Z))}),R;function Q(Z,w){c&&(w=w.map(_=>_.toLowerCase())),w.forEach(function(_){const A=_.split("|");R[A[0]]=[Z,Fs(A[0],A[1])]})}}function Fs(r,c){return c?Number(c):Vs(r)?0:1}function Vs(r){return Hs.includes(r.toLowerCase())}const xn={},De=r=>{console.error(r)},kn=(r,...c)=>{console.log(`WARN: ${r}`,...c)},We=(r,c)=>{xn[`${r}/${c}`]||(console.log(`Deprecated as of ${r}. ${c}`),xn[`${r}/${c}`]=!0)},it=new Error;function On(r,c,{key:g}){let R=0;const Q=r[g],Z={},w={};for(let _=1;_<=c.length;_++)w[_+R]=Q[_],Z[_+R]=!0,R+=F(c[_-1]);r[g]=w,r[g]._emit=Z,r[g]._multi=!0}function Ks(r){if(Array.isArray(r.begin)){if(r.skip||r.excludeBegin||r.returnBegin)throw De("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),it;if(typeof r.beginScope!="object"||r.beginScope===null)throw De("beginScope must be object"),it;On(r,r.begin,{key:"beginScope"}),r.begin=M(r.begin,{joinWith:""})}}function Ws(r){if(Array.isArray(r.end)){if(r.skip||r.excludeEnd||r.returnEnd)throw De("skip, excludeEnd, returnEnd not compatible with endScope: {}"),it;if(typeof r.endScope!="object"||r.endScope===null)throw De("endScope must be object"),it;On(r,r.end,{key:"endScope"}),r.end=M(r.end,{joinWith:""})}}function zs(r){r.scope&&typeof r.scope=="object"&&r.scope!==null&&(r.beginScope=r.scope,delete r.scope)}function Gs(r){zs(r),typeof r.beginScope=="string"&&(r.beginScope={_wrap:r.beginScope}),typeof r.endScope=="string"&&(r.endScope={_wrap:r.endScope}),Ks(r),Ws(r)}function Xs(r){function c(w,_){return new RegExp(y(w),"m"+(r.case_insensitive?"i":"")+(r.unicodeRegex?"u":"")+(_?"g":""))}class g{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(_,A){A.position=this.position++,this.matchIndexes[this.matchAt]=A,this.regexes.push([A,_]),this.matchAt+=F(_)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const _=this.regexes.map(A=>A[1]);this.matcherRe=c(M(_,{joinWith:"|"}),!0),this.lastIndex=0}exec(_){this.matcherRe.lastIndex=this.lastIndex;const A=this.matcherRe.exec(_);if(!A)return null;const oe=A.findIndex((et,Lt)=>Lt>0&&et!==void 0),$=this.matchIndexes[oe];return A.splice(0,oe),Object.assign(A,$)}}class R{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(_){if(this.multiRegexes[_])return this.multiRegexes[_];const A=new g;return this.rules.slice(_).forEach(([oe,$])=>A.addRule(oe,$)),A.compile(),this.multiRegexes[_]=A,A}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(_,A){this.rules.push([_,A]),A.type==="begin"&&this.count++}exec(_){const A=this.getMatcher(this.regexIndex);A.lastIndex=this.lastIndex;let oe=A.exec(_);if(this.resumingScanAtSamePosition()&&!(oe&&oe.index===this.lastIndex)){const $=this.getMatcher(0);$.lastIndex=this.lastIndex+1,oe=$.exec(_)}return oe&&(this.regexIndex+=oe.position+1,this.regexIndex===this.count&&this.considerAll()),oe}}function Q(w){const _=new R;return w.contains.forEach(A=>_.addRule(A.begin,{rule:A,type:"begin"})),w.terminatorEnd&&_.addRule(w.terminatorEnd,{type:"end"}),w.illegal&&_.addRule(w.illegal,{type:"illegal"}),_}function Z(w,_){const A=w;if(w.isCompiled)return A;[$e,Mt,Gs,Us].forEach($=>$(w,_)),r.compilerExtensions.forEach($=>$(w,_)),w.__beforeBegin=null,[Nt,Ct,js].forEach($=>$(w,_)),w.isCompiled=!0;let oe=null;return typeof w.keywords=="object"&&w.keywords.$pattern&&(w.keywords=Object.assign({},w.keywords),oe=w.keywords.$pattern,delete w.keywords.$pattern),oe=oe||/\w+/,w.keywords&&(w.keywords=En(w.keywords,r.case_insensitive)),A.keywordPatternRe=c(oe,!0),_&&(w.begin||(w.begin=/\B|\b/),A.beginRe=c(A.begin),!w.end&&!w.endsWithParent&&(w.end=/\B|\b/),w.end&&(A.endRe=c(A.end)),A.terminatorEnd=y(A.end)||"",w.endsWithParent&&_.terminatorEnd&&(A.terminatorEnd+=(w.end?"|":"")+_.terminatorEnd)),w.illegal&&(A.illegalRe=c(w.illegal)),w.contains||(w.contains=[]),w.contains=[].concat(...w.contains.map(function($){return Ys($==="self"?w:$)})),w.contains.forEach(function($){Z($,A)}),w.starts&&Z(w.starts,_),A.matcher=Q(A),A}if(r.compilerExtensions||(r.compilerExtensions=[]),r.contains&&r.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return r.classNameAliases=s(r.classNameAliases||{}),Z(r)}function An(r){return r?r.endsWithParent||An(r.starts):!1}function Ys(r){return r.variants&&!r.cachedVariants&&(r.cachedVariants=r.variants.map(function(c){return s(r,{variants:null},c)})),r.cachedVariants?r.cachedVariants:An(r)?s(r,{starts:r.starts?s(r.starts):null}):Object.isFrozen(r)?s(r):r}var Js="11.11.1";class Qs extends Error{constructor(c,g){super(c),this.name="HTMLInjectionError",this.html=g}}const Bt=t,Sn=s,Rn=Symbol("nomatch"),Zs=7,Tn=function(r){const c=Object.create(null),g=Object.create(null),R=[];let Q=!0;const Z="Could not find the language '{}', did you forget to load/include a language module?",w={disableAutodetect:!0,name:"Plain text",contains:[]};let _={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:u};function A(d){return _.noHighlightRe.test(d)}function oe(d){let x=d.className+" ";x+=d.parentNode?d.parentNode.className:"";const U=_.languageDetectRe.exec(x);if(U){const Y=Ne(U[1]);return Y||(kn(Z.replace("{}",U[1])),kn("Falling back to no-highlight mode for this block.",d)),Y?U[1]:"no-highlight"}return x.split(/\s+/).find(Y=>A(Y)||Ne(Y))}function $(d,x,U){let Y="",se="";typeof x=="object"?(Y=d,U=x.ignoreIllegals,se=x.language):(We("10.7.0","highlight(lang, code, ...args) has been deprecated."),We("10.7.0",`Please use highlight(code, options) instead.
|
|
4
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),se=d,Y=x),U===void 0&&(U=!0);const me={code:Y,language:se};at("before:highlight",me);const Ce=me.result?me.result:et(me.language,me.code,U);return Ce.code=me.code,at("after:highlight",Ce),Ce}function et(d,x,U,Y){const se=Object.create(null);function me(v,E){return v.keywords[E]}function Ce(){if(!N.keywords){ae.addText(J);return}let v=0;N.keywordPatternRe.lastIndex=0;let E=N.keywordPatternRe.exec(J),L="";for(;E;){L+=J.substring(v,E.index);const V=Ee.case_insensitive?E[0].toLowerCase():E[0],ce=me(N,V);if(ce){const[Se,gr]=ce;if(ae.addText(L),L="",se[V]=(se[V]||0)+1,se[V]<=Zs&&(ht+=gr),Se.startsWith("_"))L+=E[0];else{const yr=Ee.classNameAliases[Se]||Se;we(E[0],yr)}}else L+=E[0];v=N.keywordPatternRe.lastIndex,E=N.keywordPatternRe.exec(J)}L+=J.substring(v),ae.addText(L)}function ct(){if(J==="")return;let v=null;if(typeof N.subLanguage=="string"){if(!c[N.subLanguage]){ae.addText(J);return}v=et(N.subLanguage,J,!0,Dn[N.subLanguage]),Dn[N.subLanguage]=v._top}else v=It(J,N.subLanguage.length?N.subLanguage:null);N.relevance>0&&(ht+=v.relevance),ae.__addSublanguage(v._emitter,v.language)}function ge(){N.subLanguage!=null?ct():Ce(),J=""}function we(v,E){v!==""&&(ae.startScope(E),ae.addText(v),ae.endScope())}function Bn(v,E){let L=1;const V=E.length-1;for(;L<=V;){if(!v._emit[L]){L++;continue}const ce=Ee.classNameAliases[v[L]]||v[L],Se=E[L];ce?we(Se,ce):(J=Se,Ce(),J=""),L++}}function Ln(v,E){return v.scope&&typeof v.scope=="string"&&ae.openNode(Ee.classNameAliases[v.scope]||v.scope),v.beginScope&&(v.beginScope._wrap?(we(J,Ee.classNameAliases[v.beginScope._wrap]||v.beginScope._wrap),J=""):v.beginScope._multi&&(Bn(v.beginScope,E),J="")),N=Object.create(v,{parent:{value:N}}),N}function In(v,E,L){let V=O(v.endRe,L);if(V){if(v["on:end"]){const ce=new e(v);v["on:end"](E,ce),ce.isMatchIgnored&&(V=!1)}if(V){for(;v.endsParent&&v.parent;)v=v.parent;return v}}if(v.endsWithParent)return In(v.parent,E,L)}function hr(v){return N.matcher.regexIndex===0?(J+=v[0],1):(Ut=!0,0)}function ur(v){const E=v[0],L=v.rule,V=new e(L),ce=[L.__beforeBegin,L["on:begin"]];for(const Se of ce)if(Se&&(Se(v,V),V.isMatchIgnored))return hr(E);return L.skip?J+=E:(L.excludeBegin&&(J+=E),ge(),!L.returnBegin&&!L.excludeBegin&&(J=E)),Ln(L,v),L.returnBegin?0:E.length}function fr(v){const E=v[0],L=x.substring(v.index),V=In(N,v,L);if(!V)return Rn;const ce=N;N.endScope&&N.endScope._wrap?(ge(),we(E,N.endScope._wrap)):N.endScope&&N.endScope._multi?(ge(),Bn(N.endScope,v)):ce.skip?J+=E:(ce.returnEnd||ce.excludeEnd||(J+=E),ge(),ce.excludeEnd&&(J=E));do N.scope&&ae.closeNode(),!N.skip&&!N.subLanguage&&(ht+=N.relevance),N=N.parent;while(N!==V.parent);return V.starts&&Ln(V.starts,v),ce.returnEnd?0:E.length}function dr(){const v=[];for(let E=N;E!==Ee;E=E.parent)E.scope&&v.unshift(E.scope);v.forEach(E=>ae.openNode(E))}let lt={};function Pn(v,E){const L=E&&E[0];if(J+=v,L==null)return ge(),0;if(lt.type==="begin"&&E.type==="end"&<.index===E.index&&L===""){if(J+=x.slice(E.index,E.index+1),!Q){const V=new Error(`0 width match regex (${d})`);throw V.languageName=d,V.badRule=lt.rule,V}return 1}if(lt=E,E.type==="begin")return ur(E);if(E.type==="illegal"&&!U){const V=new Error('Illegal lexeme "'+L+'" for mode "'+(N.scope||"<unnamed>")+'"');throw V.mode=N,V}else if(E.type==="end"){const V=fr(E);if(V!==Rn)return V}if(E.type==="illegal"&&L==="")return J+=`
|
|
5
|
-
`,1;if(jt>1e5&&jt>E.index*3)throw new Error("potential infinite loop, way more iterations than matches");return J+=L,L.length}const Ee=Ne(d);if(!Ee)throw De(Z.replace("{}",d)),new Error('Unknown language: "'+d+'"');const pr=Xs(Ee);let Dt="",N=Y||pr;const Dn={},ae=new _.__emitter(_);dr();let J="",ht=0,je=0,jt=0,Ut=!1;try{if(Ee.__emitTokens)Ee.__emitTokens(x,ae);else{for(N.matcher.considerAll();;){jt++,Ut?Ut=!1:N.matcher.considerAll(),N.matcher.lastIndex=je;const v=N.matcher.exec(x);if(!v)break;const E=x.substring(je,v.index),L=Pn(E,v);je=v.index+L}Pn(x.substring(je))}return ae.finalize(),Dt=ae.toHTML(),{language:d,value:Dt,relevance:ht,illegal:!1,_emitter:ae,_top:N}}catch(v){if(v.message&&v.message.includes("Illegal"))return{language:d,value:Bt(x),illegal:!0,relevance:0,_illegalBy:{message:v.message,index:je,context:x.slice(je-100,je+100),mode:v.mode,resultSoFar:Dt},_emitter:ae};if(Q)return{language:d,value:Bt(x),illegal:!1,relevance:0,errorRaised:v,_emitter:ae,_top:N};throw v}}function Lt(d){const x={value:Bt(d),illegal:!1,relevance:0,_top:w,_emitter:new _.__emitter(_)};return x._emitter.addText(d),x}function It(d,x){x=x||_.languages||Object.keys(c);const U=Lt(d),Y=x.filter(Ne).filter(Mn).map(ge=>et(ge,d,!1));Y.unshift(U);const se=Y.sort((ge,we)=>{if(ge.relevance!==we.relevance)return we.relevance-ge.relevance;if(ge.language&&we.language){if(Ne(ge.language).supersetOf===we.language)return 1;if(Ne(we.language).supersetOf===ge.language)return-1}return 0}),[me,Ce]=se,ct=me;return ct.secondBest=Ce,ct}function $s(d,x,U){const Y=x&&g[x]||U;d.classList.add("hljs"),d.classList.add(`language-${Y}`)}function Pt(d){let x=null;const U=oe(d);if(A(U))return;if(at("before:highlightElement",{el:d,language:U}),d.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",d);return}if(d.children.length>0&&(_.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(d)),_.throwUnescapedHTML))throw new Qs("One of your code blocks includes unescaped HTML.",d.innerHTML);x=d;const Y=x.textContent,se=U?$(Y,{language:U,ignoreIllegals:!0}):It(Y);d.innerHTML=se.value,d.dataset.highlighted="yes",$s(d,U,se.language),d.result={language:se.language,re:se.relevance,relevance:se.relevance},se.secondBest&&(d.secondBest={language:se.secondBest.language,relevance:se.secondBest.relevance}),at("after:highlightElement",{el:d,result:se,text:Y})}function er(d){_=Sn(_,d)}const tr=()=>{ot(),We("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function nr(){ot(),We("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Nn=!1;function ot(){function d(){ot()}if(document.readyState==="loading"){Nn||window.addEventListener("DOMContentLoaded",d,!1),Nn=!0;return}document.querySelectorAll(_.cssSelector).forEach(Pt)}function sr(d,x){let U=null;try{U=x(r)}catch(Y){if(De("Language definition for '{}' could not be registered.".replace("{}",d)),Q)De(Y);else throw Y;U=w}U.name||(U.name=d),c[d]=U,U.rawDefinition=x.bind(null,r),U.aliases&&Cn(U.aliases,{languageName:d})}function rr(d){delete c[d];for(const x of Object.keys(g))g[x]===d&&delete g[x]}function ir(){return Object.keys(c)}function Ne(d){return d=(d||"").toLowerCase(),c[d]||c[g[d]]}function Cn(d,{languageName:x}){typeof d=="string"&&(d=[d]),d.forEach(U=>{g[U.toLowerCase()]=x})}function Mn(d){const x=Ne(d);return x&&!x.disableAutodetect}function or(d){d["before:highlightBlock"]&&!d["before:highlightElement"]&&(d["before:highlightElement"]=x=>{d["before:highlightBlock"](Object.assign({block:x.el},x))}),d["after:highlightBlock"]&&!d["after:highlightElement"]&&(d["after:highlightElement"]=x=>{d["after:highlightBlock"](Object.assign({block:x.el},x))})}function ar(d){or(d),R.push(d)}function cr(d){const x=R.indexOf(d);x!==-1&&R.splice(x,1)}function at(d,x){const U=d;R.forEach(function(Y){Y[U]&&Y[U](x)})}function lr(d){return We("10.7.0","highlightBlock will be removed entirely in v12.0"),We("10.7.0","Please use highlightElement now."),Pt(d)}Object.assign(r,{highlight:$,highlightAuto:It,highlightAll:ot,highlightElement:Pt,highlightBlock:lr,configure:er,initHighlighting:tr,initHighlightingOnLoad:nr,registerLanguage:sr,unregisterLanguage:rr,listLanguages:ir,getLanguage:Ne,registerAliases:Cn,autoDetection:Mn,inherit:Sn,addPlugin:ar,removePlugin:cr}),r.debugMode=function(){Q=!1},r.safeMode=function(){Q=!0},r.versionString=Js,r.regex={concat:S,lookahead:b,either:q,optional:p,anyNumberOfTimes:k};for(const d in Ke)typeof Ke[d]=="object"&&n(Ke[d]);return Object.assign(r,Ke),r},ze=Tn({});return ze.newInstance=()=>Tn({}),Kt=ze,ze.HighlightJS=ze,ze.default=ze,Kt}var di=fi();const zn=ms(di);var pi=re("<pre><code><!></code></pre>");function gi(n,e){const t=Et(e,["children","$$slots","$$events","$$legacy"]),s=Et(t,["code","highlighted","languageName","langtag"]);let i=Fe(e,"code",8),o=Fe(e,"highlighted",8),a=Fe(e,"languageName",8,"plaintext"),h=Fe(e,"langtag",8,!1);var l=pi();let f;var u=B(l);gn(u,1,"",null,{},{hljs:!0});var y=B(u);{var b=p=>{var S=He(),m=ye(S);vs(m,o),K(p,S)},k=p=>{var S=rs();ue(()=>le(S,i())),K(p,S)};he(y,p=>{o()?p(b):p(k,!1)})}C(u),C(l),ue(p=>f=Vr(l,f,{"data-language":a(),...s,[Kr]:p},"svelte-1w9vok"),[()=>({langtag:h()})],cs),K(n,l)}function Gn(n,e){const t=Et(e,["children","$$slots","$$events","$$legacy"]),s=Et(t,["language","code","langtag"]);Le(e,!1);let i=Fe(e,"language",8),o=Fe(e,"code",8),a=Fe(e,"langtag",8,!1);const h=Hr();let l=Ir("");qr(()=>{z(l)&&h("highlight",{highlighted:z(l)})}),Br(()=>(Vn(i()),Vn(o())),()=>{zn.registerLanguage(i().name,i().register),qe(l,zn.highlight(o(),{language:i().name}).value)}),Lr(),gs();var f=He(),u=ye(f);Xr(u,e,"default",{get highlighted(){return z(l)}},y=>{gi(y,jr(()=>s,{get languageName(){return i().name},get langtag(){return a()},get highlighted(){return z(l)},get code(){return o()}}))}),K(n,f),Ie()}function yi(n){const e={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},t={match:/[{}[\],:]/,className:"punctuation",relevance:0},s=["true","false","null"],i={scope:"literal",beginKeywords:s.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:s},contains:[e,t,n.QUOTE_STRING_MODE,i,n.C_NUMBER_MODE,n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}const Xn={name:"json",register:yi},bs=pn({});let Yn=0;function Wt(n,e,t=!1){let s;return e.id?s=e.id:s=`${++Yn}`,e.id=s,t&&(s=`${s}-${++Yn}`),bs.update(i=>{if(!i[s])n==="SEND"?i[s]=[e,{}]:i[s]=[{},e];else{const o=n==="SEND"?0:1;i[s][o]=e}return i}),e}var vi=re(`<style>body {
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
}</style>`),_i=re('<div class="p-8 text-center text-gray-500"><div class="text-4xl mb-2">📭</div> <p class="font-medium">No activity yet</p> <p class="text-sm">Activity will appear here when you interact with Sockethub</p></div>'),mi=re('<ul class="divide-y divide-gray-100"></ul>'),bi=(n,e)=>qe(e,!1),wi=(n,e)=>qe(e,!1),Ei=re(`<div class="bg-gradient-to-r from-slate-50 to-gray-50 border border-gray-200 rounded-xl p-6 shadow-sm"><div class="flex items-center justify-between mb-4"><div><h3 class="text-xl font-bold text-gray-900 flex items-center"><span class="mr-2">📡</span> Sockethub Activity Log</h3> <p class="text-gray-600 text-sm mt-1">Real-time communication between your browser and Sockethub server</p></div> <div class="flex items-center space-x-4 text-xs"><div class="flex items-center space-x-1"><div class="w-3 h-3 bg-orange-400 rounded-full"></div> <span class="text-gray-600">Outgoing</span></div> <div class="flex items-center space-x-1"><div class="w-3 h-3 bg-green-500 rounded-full"></div> <span class="text-gray-600">Response</span></div></div></div> <div class="bg-white rounded-lg border border-gray-200 shadow-sm"><div class="p-4 border-b border-gray-200 bg-gray-50 rounded-t-lg"><p class="text-sm text-gray-700">💡 <strong>How to read this log:</strong> Each entry shows messages sent to and received from Sockethub.
|
|
8
|
-
Click "View Details" to see the full JSON data being exchanged.</p></div> <div id="messages" class="max-h-96 overflow-y-auto"><!></div></div></div> <div><div class="bg-white rounded-xl shadow-2xl max-w-4xl w-full max-h-[90vh] overflow-hidden flex flex-col"><div class="bg-gradient-to-r from-indigo-50 to-purple-50 px-6 py-4 border-b border-gray-200"><div class="flex items-center justify-between"><h3 class="text-lg font-bold text-gray-900 flex items-center"><span class="mr-2">🔍</span> ActivityStreams Data Exchange</h3> <button class="text-gray-400 hover:text-gray-600 transition-colors"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></button></div> <p class="text-gray-600 text-sm mt-1">Raw JSON data showing the ActivityStreams message exchange with Sockethub</p></div> <div class="flex-1 overflow-auto p-6 space-y-6"><div class="bg-gradient-to-r from-blue-50 to-cyan-50 border border-blue-200 rounded-lg p-4"><h4 class="font-semibold text-blue-900 mb-3 flex items-center"><span class="mr-2">📤</span> Sent to Sockethub</h4> <div class="bg-white rounded border border-blue-200 overflow-hidden"><!></div></div> <div class="bg-gradient-to-r from-green-50 to-emerald-50 border border-green-200 rounded-lg p-4"><h4 class="font-semibold text-green-900 mb-3 flex items-center"><span class="mr-2">📥</span> Response from Sockethub</h4> <div class="bg-white rounded border border-green-200 overflow-hidden"><!></div></div></div> <div class="bg-gray-50 px-6 py-4 border-t border-gray-200 flex justify-end"><button class="px-6 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition-colors font-medium">Close</button></div></div></div>`,1);function Io(n,e){Le(e,!0);let t=ut(void 0),s=ut(!1),i=ut(""),o=ut("");bs.subscribe(P=>{qe(t,Ft(P))});function a(P){return()=>{let W=P,te=P;P.includes("-")&&(W=P.split("-")[0]),console.log(`indexSend:${W} indexResp:${te}`),console.log("logs: ",z(t)),qe(s,!0),qe(i,Ft(JSON.stringify(z(t)[W][0],null,2))),qe(o,Ft(JSON.stringify(z(t)[te][1]||{},null,2)))}}var h=Ei();_r(P=>{var W=He(),te=ye(W);{var de=ne=>{var ie=vi();K(ne,ie)};he(te,ne=>{z(s)&&ne(de)})}K(P,W)});var l=ye(h),f=G(B(l),2),u=G(B(f),2),y=B(u);{var b=P=>{var W=_i();K(P,W)},k=P=>{var W=mi();Zt(W,21,()=>Object.entries(z(t)).sort((te,de)=>{let ne=te[0],ie,pe=de[0],Pe;return te[0].includes("-")&&([ne,ie]=te[0].split("-")),de[0].includes("-")&&([pe,Pe]=de[0].split("-")),ie&&Pe?parseInt(ie)>=parseInt(Pe)?-1:1:parseInt(ne)>=parseInt(pe)?-1:1}),Qt,(te,de)=>{let ne=()=>z(de)[0],ie=()=>z(de)[1];var pe=He(),Pe=ye(pe);{var At=Re=>{var Ve=He(),Qe=ye(Ve);Zt(Qe,17,()=>Object.entries(ie()[ie().length-1]),Qt,(Ze,_e)=>{let Te=()=>z(_e)[0],rt=()=>z(_e)[1];var Rt=He(),Ke=ye(Rt);{var Tt=$e=>{const Nt=tt(()=>a(`${ne()}-${Te()}`)),Ct=tt(()=>typeof z(t)[ne()][1]<"u"),Mt=tt(()=>`${ne()}-${Te()}`);Vt($e,{get buttonAction(){return z(Nt)},get response(){return z(Ct)},get id(){return z(Mt)},get entry(){return rt()}})};he(Ke,$e=>{rt()&&$e(Tt)})}K(Ze,Rt)}),K(Re,Ve)},St=(Re,Ve)=>{{var Qe=_e=>{const Te=tt(()=>a(ne()));Vt(_e,{get buttonAction(){return z(Te)},get id(){return ne()},response:!0,get entry(){return ie()[1]}})},Ze=_e=>{const Te=tt(()=>a(ne()));Vt(_e,{get buttonAction(){return z(Te)},get id(){return ne()},response:!1,get entry(){return ie()[0]}})};he(Re,_e=>{Object.prototype.hasOwnProperty.call(ie()[1],"context")?_e(Qe):_e(Ze,!1)},Ve)}};he(Pe,Re=>{Array.isArray(ie()[ie().length-1])?Re(At):Re(St,!1)})}K(te,pe)}),C(W),K(P,W)};he(y,P=>{Object.keys(z(t)).length===0?P(b):P(k,!1)})}C(u),C(f),C(l);var p=G(l,2),S=B(p),m=B(S),q=B(m),F=G(B(q),2);F.__click=[bi,s],C(q),ps(2),C(m);var O=G(m,2),T=B(O),M=G(B(T),2),Ae=B(M);Gn(Ae,{language:Xn,get code(){return z(i)}}),C(M),C(T);var fe=G(T,2),I=G(B(fe),2),X=B(I);Gn(X,{language:Xn,get code(){return z(o)}}),C(I),C(fe),C(O);var D=G(O,2),j=B(D);j.__click=[wi,s],C(D),C(S),C(p),ue(()=>gn(p,1,`${(z(s)?"flex items-center justify-center":"hidden")??""} bg-black bg-opacity-50 fixed top-0 left-0 w-full h-full z-50 p-4`)),K(n,h),Ie()}is(["click"]);var zt={exports:{}},Jn;function xi(){return Jn||(Jn=1,function(n){var e=Object.prototype.hasOwnProperty,t="~";function s(){}Object.create&&(s.prototype=Object.create(null),new s().__proto__||(t=!1));function i(l,f,u){this.fn=l,this.context=f,this.once=u||!1}function o(l,f,u,y,b){if(typeof u!="function")throw new TypeError("The listener must be a function");var k=new i(u,y||l,b),p=t?t+f:f;return l._events[p]?l._events[p].fn?l._events[p]=[l._events[p],k]:l._events[p].push(k):(l._events[p]=k,l._eventsCount++),l}function a(l,f){--l._eventsCount===0?l._events=new s:delete l._events[f]}function h(){this._events=new s,this._eventsCount=0}h.prototype.eventNames=function(){var f=[],u,y;if(this._eventsCount===0)return f;for(y in u=this._events)e.call(u,y)&&f.push(t?y.slice(1):y);return Object.getOwnPropertySymbols?f.concat(Object.getOwnPropertySymbols(u)):f},h.prototype.listeners=function(f){var u=t?t+f:f,y=this._events[u];if(!y)return[];if(y.fn)return[y.fn];for(var b=0,k=y.length,p=new Array(k);b<k;b++)p[b]=y[b].fn;return p},h.prototype.listenerCount=function(f){var u=t?t+f:f,y=this._events[u];return y?y.fn?1:y.length:0},h.prototype.emit=function(f,u,y,b,k,p){var S=t?t+f:f;if(!this._events[S])return!1;var m=this._events[S],q=arguments.length,F,O;if(m.fn){switch(m.once&&this.removeListener(f,m.fn,void 0,!0),q){case 1:return m.fn.call(m.context),!0;case 2:return m.fn.call(m.context,u),!0;case 3:return m.fn.call(m.context,u,y),!0;case 4:return m.fn.call(m.context,u,y,b),!0;case 5:return m.fn.call(m.context,u,y,b,k),!0;case 6:return m.fn.call(m.context,u,y,b,k,p),!0}for(O=1,F=new Array(q-1);O<q;O++)F[O-1]=arguments[O];m.fn.apply(m.context,F)}else{var T=m.length,M;for(O=0;O<T;O++)switch(m[O].once&&this.removeListener(f,m[O].fn,void 0,!0),q){case 1:m[O].fn.call(m[O].context);break;case 2:m[O].fn.call(m[O].context,u);break;case 3:m[O].fn.call(m[O].context,u,y);break;case 4:m[O].fn.call(m[O].context,u,y,b);break;default:if(!F)for(M=1,F=new Array(q-1);M<q;M++)F[M-1]=arguments[M];m[O].fn.apply(m[O].context,F)}}return!0},h.prototype.on=function(f,u,y){return o(this,f,u,y,!1)},h.prototype.once=function(f,u,y){return o(this,f,u,y,!0)},h.prototype.removeListener=function(f,u,y,b){var k=t?t+f:f;if(!this._events[k])return this;if(!u)return a(this,k),this;var p=this._events[k];if(p.fn)p.fn===u&&(!b||p.once)&&(!y||p.context===y)&&a(this,k);else{for(var S=0,m=[],q=p.length;S<q;S++)(p[S].fn!==u||b&&!p[S].once||y&&p[S].context!==y)&&m.push(p[S]);m.length?this._events[k]=m.length===1?m[0]:m:a(this,k)}return this},h.prototype.removeAllListeners=function(f){var u;return f?(u=t?t+f:f,this._events[u]&&a(this,u)):(this._events=new s,this._eventsCount=0),this},h.prototype.off=h.prototype.removeListener,h.prototype.addListener=h.prototype.on,h.prefixed=t,h.EventEmitter=h,n.exports=h}(zt)),zt.exports}var ki=xi();const ws=ms(ki),Ye=new ws,yt={stream:["id","type","actor","target","object","context","context","published","error"],object:["id","type","context","alias","attachedTo","attachment","attributedTo","attributedWith","condition","content","contentMap","context","contextOf","name","endTime","generator","generatorOf","group","icon","image","inReplyTo","members","memberOf","message","location","locationOf","objectOf","originOf","presence","preview","previewOf","provider","providerOf","published","rating","relationship","resultOf","replies","role","scope","scopeOf","startTime","status","summary","topic","tag","tagOf","targetOf","title","titleMap","updated","url","xmpp:stanza-id"]},Es={"@id":"id","@type":"type",verb:"type",displayName:"name",objectType:"type",platform:"context"},Qn={actor:{primary:"id",props:yt},target:{primary:"id",props:yt},object:{primary:"content",props:yt}},Xe=new Map,en={};let tn=!1,nn=!0,xs=[];function Oi(n,e){return!!(en[n]instanceof Object&&en[n].includes(e))}function Ai(n,e){return n[Es[e]]=n[e],delete n[e],n}function sn(n,e,t=!1){if(e===null)throw new Error(`ActivityStreams validation failed: the "${n}" property is null. Example: { id: "user@example.com", type: "person" }`);if(e===void 0)throw new Error(`ActivityStreams validation failed: the "${n}" property is undefined. Example: { id: "user@example.com", type: "person" }`);if(typeof e=="string")throw new Error(`ActivityStreams validation failed: the "${n}" property received string "${e}" but expected an object. Use: { id: "${e}", type: "person" }`);if(typeof e!="object"||Array.isArray(e)){const o=Array.isArray(e)?"array":typeof e,a=String(e);throw new Error(`ActivityStreams validation failed: the "${n}" property must be an object, received ${o} (${a}). Example: { id: "user@example.com", type: "person" }`)}if(t&&!e.id)throw new Error(`ActivityStreams validation failed: the "${n}" property requires an 'id' property. Example: { id: "user@example.com", type: "person" }`);const i=Object.keys(e).filter(o=>!yt[n].includes(o));for(const o of i){let a=e;if(Es[o]){a=Ai(a,o);continue}if(!Oi(a.type,o)&&!xs.includes(a.type)){console.log(a);const h=typeof a[o]=="string"?`"${a[o]}"`:String(a[o]),l=`ActivityStreams validation failed: property "${o}" with value ${h} is not allowed on the "${n}" object of type "${a.type}".`;if(tn)throw new Error(l);nn&&console.warn(l)}}}function Si(n){const e={};for(const t of Object.keys(n))if(typeof n[t]=="string")e[t]=Xe.get(n[t])||n[t];else if(Array.isArray(n[t])){e[t]=[];for(const s of n[t])typeof s=="string"&&e[t].push(Xe.get(s)||s)}else e[t]=n[t];for(const t of Object.keys(Qn))if(typeof e[t]=="string"){const s=Qn[t].primary,i={};i[s]=e[t],e[t]=i}return e}function Ri(n){sn("stream",n),typeof n.object=="object"&&sn("object",n.object);const e=Si(n);return Ye.emit("activity-stream",e),e}const Ti={create:n=>{sn("object",n,!0);const e=n;return Xe.set(e.id,e),Ye.emit("activity-object-create",e),e},delete:n=>{const e=Xe.delete(n);return e&&Ye.emit("activity-object-delete",n),e},get:(n,e)=>{let t=Xe.get(n);if(!t){if(!e)return n;t={id:n}}return t},list:()=>Xe.keys()};function ks(n={}){xs=(n==null?void 0:n.specialObjs)||[],tn=typeof n.failOnUnknownObjectProperties=="boolean"?n.failOnUnknownObjectProperties:tn,nn=typeof n.warnOnUnknownObjectProperties=="boolean"?n.warnOnUnknownObjectProperties:nn;for(const e of Object.keys(n.customProps||{}))typeof n.customProps[e]=="object"&&(en[e]=n.customProps[e]);return{Stream:Ri,Object:Ti,on:(e,t)=>Ye.on(e,t),once:(e,t)=>Ye.once(e,t),off:(e,t)=>Ye.off(e,t)}}(n=>{n.ASFactor=ks})(typeof window=="object"?window:{});class xt{constructor(e){if(this.events={credentials:new Map,"activity-object":new Map,connect:new Map,join:new Map},this.debug=!0,!e)throw new Error("SockethubClient requires a socket.io instance");this._socket=e,this.socket=this.createPublicEmitter(),this.registerSocketIOHandlers(),this.initActivityStreams(),this.ActivityStreams.on("activity-object-create",t=>{e.emit("activity-object",t,s=>{s?console.error("failed to create activity-object ",s):this.eventActivityObject(t)})}),e.on("activity-object",t=>{this.ActivityStreams.Object.create(t)})}initActivityStreams(){this.ActivityStreams=ks({specialObjs:["credentials"]})}clearCredentials(){this.events.credentials.clear()}createPublicEmitter(){const e=new ws;return e._emit=e.emit,e.emit=(t,s,i)=>{t==="credentials"?this.eventCredentials(s):t==="activity-object"?this.eventActivityObject(s):t==="message"&&this.eventMessage(s),this._socket.emit(t,s,i)},e.connected=!1,e.disconnect=()=>{this._socket.disconnect()},e.connect=()=>{this._socket.connect()},e}eventActivityObject(e){e.id&&this.events["activity-object"].set(e.id,e)}eventCredentials(e){if(e.object&&e.object.type==="credentials"){const t=e.actor.id||e.actor;this.events.credentials.set(t,e)}}eventMessage(e){if(!this._socket.connected)return;const t=xt.getKey(e);e.type==="join"||e.type==="connect"?this.events[e.type].set(t,e):e.type==="leave"?this.events.join.delete(t):e.type==="disconnect"&&this.events.connect.delete(t)}static getKey(e){var i;const t=((i=e.actor)==null?void 0:i.id)||e.actor;if(!t)throw new Error(`actor property not present for message type: ${e==null?void 0:e.type}`);const s=e.target?e.target.id||e.target:"";return`${t}-${s}`}log(e,t){this.debug&&console.log(e,t)}registerSocketIOHandlers(){const e=t=>async s=>{t==="connect"?(this.socket.id=this._socket.id,this.socket.connected=!0,this.replay("activity-object",this.events["activity-object"]),this.replay("credentials",this.events.credentials),this.replay("message",this.events.connect),this.replay("message",this.events.join)):t==="disconnect"&&(this.socket.connected=!1),this.socket._emit(t,s)};this._socket.on("connect",e("connect")),this._socket.on("connect_error",e("connect_error")),this._socket.on("disconnect",e("disconnect")),this._socket.on("message",t=>{this.socket._emit("message",this.ActivityStreams.Stream(t))})}hasActorId(e){return"actor"in e&&e.actor!==null&&typeof e.actor=="object"&&"id"in e.actor&&typeof e.actor.id=="string"}replay(e,t){for(const s of t.values()){const i=this.ActivityStreams.Stream(s);let o=i==null?void 0:i.id;this.hasActorId(i)&&(o=i.actor.id),this.log(`replaying ${e} for ${o}`),this._socket.emit(e,i)}}}(n=>{n.SockethubClient=xt})(typeof window=="object"?window:{});const Oe=Object.create(null);Oe.open="0";Oe.close="1";Oe.ping="2";Oe.pong="3";Oe.message="4";Oe.upgrade="5";Oe.noop="6";const vt=Object.create(null);Object.keys(Oe).forEach(n=>{vt[Oe[n]]=n});const rn={type:"error",data:"parser error"},Os=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",As=typeof ArrayBuffer=="function",Ss=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n&&n.buffer instanceof ArrayBuffer,vn=({type:n,data:e},t,s)=>Os&&e instanceof Blob?t?s(e):Zn(e,s):As&&(e instanceof ArrayBuffer||Ss(e))?t?s(e):Zn(new Blob([e]),s):s(Oe[n]+(e||"")),Zn=(n,e)=>{const t=new FileReader;return t.onload=function(){const s=t.result.split(",")[1];e("b"+(s||""))},t.readAsDataURL(n)};function $n(n){return n instanceof Uint8Array?n:n instanceof ArrayBuffer?new Uint8Array(n):new Uint8Array(n.buffer,n.byteOffset,n.byteLength)}let Gt;function Ni(n,e){if(Os&&n.data instanceof Blob)return n.data.arrayBuffer().then($n).then(e);if(As&&(n.data instanceof ArrayBuffer||Ss(n.data)))return e($n(n.data));vn(n,!1,t=>{Gt||(Gt=new TextEncoder),e(Gt.encode(t))})}const es="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",st=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let n=0;n<es.length;n++)st[es.charCodeAt(n)]=n;const Ci=n=>{let e=n.length*.75,t=n.length,s,i=0,o,a,h,l;n[n.length-1]==="="&&(e--,n[n.length-2]==="="&&e--);const f=new ArrayBuffer(e),u=new Uint8Array(f);for(s=0;s<t;s+=4)o=st[n.charCodeAt(s)],a=st[n.charCodeAt(s+1)],h=st[n.charCodeAt(s+2)],l=st[n.charCodeAt(s+3)],u[i++]=o<<2|a>>4,u[i++]=(a&15)<<4|h>>2,u[i++]=(h&3)<<6|l&63;return f},Mi=typeof ArrayBuffer=="function",_n=(n,e)=>{if(typeof n!="string")return{type:"message",data:Rs(n,e)};const t=n.charAt(0);return t==="b"?{type:"message",data:Bi(n.substring(1),e)}:vt[t]?n.length>1?{type:vt[t],data:n.substring(1)}:{type:vt[t]}:rn},Bi=(n,e)=>{if(Mi){const t=Ci(n);return Rs(t,e)}else return{base64:!0,data:n}},Rs=(n,e)=>{switch(e){case"blob":return n instanceof Blob?n:new Blob([n]);case"arraybuffer":default:return n instanceof ArrayBuffer?n:n.buffer}},Ts="",Li=(n,e)=>{const t=n.length,s=new Array(t);let i=0;n.forEach((o,a)=>{vn(o,!1,h=>{s[a]=h,++i===t&&e(s.join(Ts))})})},Ii=(n,e)=>{const t=n.split(Ts),s=[];for(let i=0;i<t.length;i++){const o=_n(t[i],e);if(s.push(o),o.type==="error")break}return s};function Pi(){return new TransformStream({transform(n,e){Ni(n,t=>{const s=t.length;let i;if(s<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,s);else if(s<65536){i=new Uint8Array(3);const o=new DataView(i.buffer);o.setUint8(0,126),o.setUint16(1,s)}else{i=new Uint8Array(9);const o=new DataView(i.buffer);o.setUint8(0,127),o.setBigUint64(1,BigInt(s))}n.data&&typeof n.data!="string"&&(i[0]|=128),e.enqueue(i),e.enqueue(t)})}})}let Xt;function dt(n){return n.reduce((e,t)=>e+t.length,0)}function pt(n,e){if(n[0].length===e)return n.shift();const t=new Uint8Array(e);let s=0;for(let i=0;i<e;i++)t[i]=n[0][s++],s===n[0].length&&(n.shift(),s=0);return n.length&&s<n[0].length&&(n[0]=n[0].slice(s)),t}function Di(n,e){Xt||(Xt=new TextDecoder);const t=[];let s=0,i=-1,o=!1;return new TransformStream({transform(a,h){for(t.push(a);;){if(s===0){if(dt(t)<1)break;const l=pt(t,1);o=(l[0]&128)===128,i=l[0]&127,i<126?s=3:i===126?s=1:s=2}else if(s===1){if(dt(t)<2)break;const l=pt(t,2);i=new DataView(l.buffer,l.byteOffset,l.length).getUint16(0),s=3}else if(s===2){if(dt(t)<8)break;const l=pt(t,8),f=new DataView(l.buffer,l.byteOffset,l.length),u=f.getUint32(0);if(u>Math.pow(2,21)-1){h.enqueue(rn);break}i=u*Math.pow(2,32)+f.getUint32(4),s=3}else{if(dt(t)<i)break;const l=pt(t,i);h.enqueue(_n(o?l:Xt.decode(l),e)),s=0}if(i===0||i>n){h.enqueue(rn);break}}}})}const Ns=4;function ee(n){if(n)return ji(n)}function ji(n){for(var e in ee.prototype)n[e]=ee.prototype[e];return n}ee.prototype.on=ee.prototype.addEventListener=function(n,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+n]=this._callbacks["$"+n]||[]).push(e),this};ee.prototype.once=function(n,e){function t(){this.off(n,t),e.apply(this,arguments)}return t.fn=e,this.on(n,t),this};ee.prototype.off=ee.prototype.removeListener=ee.prototype.removeAllListeners=ee.prototype.removeEventListener=function(n,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var t=this._callbacks["$"+n];if(!t)return this;if(arguments.length==1)return delete this._callbacks["$"+n],this;for(var s,i=0;i<t.length;i++)if(s=t[i],s===e||s.fn===e){t.splice(i,1);break}return t.length===0&&delete this._callbacks["$"+n],this};ee.prototype.emit=function(n){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),t=this._callbacks["$"+n],s=1;s<arguments.length;s++)e[s-1]=arguments[s];if(t){t=t.slice(0);for(var s=0,i=t.length;s<i;++s)t[s].apply(this,e)}return this};ee.prototype.emitReserved=ee.prototype.emit;ee.prototype.listeners=function(n){return this._callbacks=this._callbacks||{},this._callbacks["$"+n]||[]};ee.prototype.hasListeners=function(n){return!!this.listeners(n).length};const kt=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,t)=>t(e,0),ve=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),Ui="arraybuffer";function Cs(n,...e){return e.reduce((t,s)=>(n.hasOwnProperty(s)&&(t[s]=n[s]),t),{})}const Hi=ve.setTimeout,qi=ve.clearTimeout;function Ot(n,e){e.useNativeTimers?(n.setTimeoutFn=Hi.bind(ve),n.clearTimeoutFn=qi.bind(ve)):(n.setTimeoutFn=ve.setTimeout.bind(ve),n.clearTimeoutFn=ve.clearTimeout.bind(ve))}const Fi=1.33;function Vi(n){return typeof n=="string"?Ki(n):Math.ceil((n.byteLength||n.size)*Fi)}function Ki(n){let e=0,t=0;for(let s=0,i=n.length;s<i;s++)e=n.charCodeAt(s),e<128?t+=1:e<2048?t+=2:e<55296||e>=57344?t+=3:(s++,t+=4);return t}function Ms(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function Wi(n){let e="";for(let t in n)n.hasOwnProperty(t)&&(e.length&&(e+="&"),e+=encodeURIComponent(t)+"="+encodeURIComponent(n[t]));return e}function zi(n){let e={},t=n.split("&");for(let s=0,i=t.length;s<i;s++){let o=t[s].split("=");e[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return e}class Gi extends Error{constructor(e,t,s){super(e),this.description=t,this.context=s,this.type="TransportError"}}class mn extends ee{constructor(e){super(),this.writable=!1,Ot(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,s){return super.emitReserved("error",new Gi(e,t,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=_n(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){const e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){const t=Wi(e);return t.length?"?"+t:""}}class Xi extends mn{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let s=0;this._polling&&(s++,this.once("pollComplete",function(){--s||t()})),this.writable||(s++,this.once("drain",function(){--s||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const t=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};Ii(e,this.socket.binaryType).forEach(t),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,Li(e,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=Ms()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}}let Bs=!1;try{Bs=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const Yi=Bs;function Ji(){}class Qi extends Xi{constructor(e){if(super(e),typeof location<"u"){const t=location.protocol==="https:";let s=location.port;s||(s=t?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||s!==e.port}}doWrite(e,t){const s=this.request({method:"POST",data:e});s.on("success",t),s.on("error",(i,o)=>{this.onError("xhr post error",i,o)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(t,s)=>{this.onError("xhr poll error",t,s)}),this.pollXhr=e}}class ke extends ee{constructor(e,t,s){super(),this.createRequest=e,Ot(this,s),this._opts=s,this._method=s.method||"GET",this._uri=t,this._data=s.data!==void 0?s.data:null,this._create()}_create(){var e;const t=Cs(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this._opts.xd;const s=this._xhr=this.createRequest(t);try{s.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){s.setDisableHeaderCheck&&s.setDisableHeaderCheck(!0);for(let i in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(i)&&s.setRequestHeader(i,this._opts.extraHeaders[i])}}catch{}if(this._method==="POST")try{s.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{s.setRequestHeader("Accept","*/*")}catch{}(e=this._opts.cookieJar)===null||e===void 0||e.addCookies(s),"withCredentials"in s&&(s.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(s.timeout=this._opts.requestTimeout),s.onreadystatechange=()=>{var i;s.readyState===3&&((i=this._opts.cookieJar)===null||i===void 0||i.parseCookies(s.getResponseHeader("set-cookie"))),s.readyState===4&&(s.status===200||s.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof s.status=="number"?s.status:0)},0))},s.send(this._data)}catch(i){this.setTimeoutFn(()=>{this._onError(i)},0);return}typeof document<"u"&&(this._index=ke.requestsCount++,ke.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=Ji,e)try{this._xhr.abort()}catch{}typeof document<"u"&&delete ke.requests[this._index],this._xhr=null}}_onLoad(){const e=this._xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}ke.requestsCount=0;ke.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",ts);else if(typeof addEventListener=="function"){const n="onpagehide"in ve?"pagehide":"unload";addEventListener(n,ts,!1)}}function ts(){for(let n in ke.requests)ke.requests.hasOwnProperty(n)&&ke.requests[n].abort()}const Zi=function(){const n=Ls({xdomain:!1});return n&&n.responseType!==null}();class $i extends Qi{constructor(e){super(e);const t=e&&e.forceBase64;this.supportsBinary=Zi&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new ke(Ls,this.uri(),e)}}function Ls(n){const e=n.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||Yi))return new XMLHttpRequest}catch{}if(!e)try{return new ve[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Is=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class eo extends mn{get name(){return"websocket"}doOpen(){const e=this.uri(),t=this.opts.protocols,s=Is?{}:Cs(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,s)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const s=e[t],i=t===e.length-1;vn(s,this.supportsBinary,o=>{try{this.doWrite(s,o)}catch{}i&&kt(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=Ms()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}}const Yt=ve.WebSocket||ve.MozWebSocket;class to extends eo{createSocket(e,t,s){return Is?new Yt(e,t,s):t?new Yt(e,t):new Yt(e)}doWrite(e,t){this.ws.send(t)}}class no extends mn{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{const t=Di(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=e.readable.pipeThrough(t).getReader(),i=Pi();i.readable.pipeTo(e.writable),this._writer=i.writable.getWriter();const o=()=>{s.read().then(({done:h,value:l})=>{h||(this.onPacket(l),o())}).catch(h=>{})};o();const a={type:"open"};this.query.sid&&(a.data=`{"sid":"${this.query.sid}"}`),this._writer.write(a).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const s=e[t],i=t===e.length-1;this._writer.write(s).then(()=>{i&&kt(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}}const so={websocket:to,webtransport:no,polling:$i},ro=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,io=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function on(n){if(n.length>8e3)throw"URI too long";const e=n,t=n.indexOf("["),s=n.indexOf("]");t!=-1&&s!=-1&&(n=n.substring(0,t)+n.substring(t,s).replace(/:/g,";")+n.substring(s,n.length));let i=ro.exec(n||""),o={},a=14;for(;a--;)o[io[a]]=i[a]||"";return t!=-1&&s!=-1&&(o.source=e,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=oo(o,o.path),o.queryKey=ao(o,o.query),o}function oo(n,e){const t=/\/{2,9}/g,s=e.replace(t,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&s.splice(0,1),e.slice(-1)=="/"&&s.splice(s.length-1,1),s}function ao(n,e){const t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,i,o){i&&(t[i]=o)}),t}const an=typeof addEventListener=="function"&&typeof removeEventListener=="function",_t=[];an&&addEventListener("offline",()=>{_t.forEach(n=>n())},!1);class Be extends ee{constructor(e,t){if(super(),this.binaryType=Ui,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&typeof e=="object"&&(t=e,e=null),e){const s=on(e);t.hostname=s.host,t.secure=s.protocol==="https"||s.protocol==="wss",t.port=s.port,s.query&&(t.query=s.query)}else t.host&&(t.hostname=on(t.host).host);Ot(this,t),this.secure=t.secure!=null?t.secure:typeof location<"u"&&location.protocol==="https:",t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=t.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},t.transports.forEach(s=>{const i=s.prototype.name;this.transports.push(i),this._transportsByName[i]=s}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=zi(this.opts.query)),an&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},_t.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=Ns,t.transport=e,this.id&&(t.sid=this.id);const s=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](s)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const e=this.opts.rememberUpgrade&&Be.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const t=this.createTransport(e);t.open(),this.setTransport(t)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",t=>this._onClose("transport close",t))}onOpen(){this.readyState="open",Be.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const t=new Error("server error");t.code=e.data,this._onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let t=1;for(let s=0;s<this.writeBuffer.length;s++){const i=this.writeBuffer[s].data;if(i&&(t+=Vi(i)),s>0&&t>this._maxPayload)return this.writeBuffer.slice(0,s);t+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,kt(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,t,s){return this._sendPacket("message",e,t,s),this}send(e,t,s){return this._sendPacket("message",e,t,s),this}_sendPacket(e,t,s,i){if(typeof t=="function"&&(i=t,t=void 0),typeof s=="function"&&(i=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const o={type:e,data:t,options:s};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const e=()=>{this._onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},s=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():e()}):this.upgrading?s():e()),this}_onError(e){if(Be.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),an&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const s=_t.indexOf(this._offlineEventListener);s!==-1&&_t.splice(s,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this._prevBufferLen=0}}}Be.protocol=Ns;class co extends Be{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),s=!1;Be.priorWebsocketSuccess=!1;const i=()=>{s||(t.send([{type:"ping",data:"probe"}]),t.once("packet",y=>{if(!s)if(y.type==="pong"&&y.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;Be.priorWebsocketSuccess=t.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(u(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{const b=new Error("probe error");b.transport=t.name,this.emitReserved("upgradeError",b)}}))};function o(){s||(s=!0,u(),t.close(),t=null)}const a=y=>{const b=new Error("probe error: "+y);b.transport=t.name,o(),this.emitReserved("upgradeError",b)};function h(){a("transport closed")}function l(){a("socket closed")}function f(y){t&&y.name!==t.name&&o()}const u=()=>{t.removeListener("open",i),t.removeListener("error",a),t.removeListener("close",h),this.off("close",l),this.off("upgrading",f)};t.once("open",i),t.once("error",a),t.once("close",h),this.once("close",l),this.once("upgrading",f),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{s||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){const t=[];for(let s=0;s<e.length;s++)~this.transports.indexOf(e[s])&&t.push(e[s]);return t}}let lo=class extends co{constructor(e,t={}){const s=typeof e=="object"?e:t;(!s.transports||s.transports&&typeof s.transports[0]=="string")&&(s.transports=(s.transports||["polling","websocket","webtransport"]).map(i=>so[i]).filter(i=>!!i)),super(e,s)}};function ho(n,e="",t){let s=n;t=t||typeof location<"u"&&location,n==null&&(n=t.protocol+"//"+t.host),typeof n=="string"&&(n.charAt(0)==="/"&&(n.charAt(1)==="/"?n=t.protocol+n:n=t.host+n),/^(https?|wss?):\/\//.test(n)||(typeof t<"u"?n=t.protocol+"//"+n:n="https://"+n),s=on(n)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const o=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+o+":"+s.port+e,s.href=s.protocol+"://"+o+(t&&t.port===s.port?"":":"+s.port),s}const uo=typeof ArrayBuffer=="function",fo=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n.buffer instanceof ArrayBuffer,Ps=Object.prototype.toString,po=typeof Blob=="function"||typeof Blob<"u"&&Ps.call(Blob)==="[object BlobConstructor]",go=typeof File=="function"||typeof File<"u"&&Ps.call(File)==="[object FileConstructor]";function bn(n){return uo&&(n instanceof ArrayBuffer||fo(n))||po&&n instanceof Blob||go&&n instanceof File}function mt(n,e){if(!n||typeof n!="object")return!1;if(Array.isArray(n)){for(let t=0,s=n.length;t<s;t++)if(mt(n[t]))return!0;return!1}if(bn(n))return!0;if(n.toJSON&&typeof n.toJSON=="function"&&arguments.length===1)return mt(n.toJSON(),!0);for(const t in n)if(Object.prototype.hasOwnProperty.call(n,t)&&mt(n[t]))return!0;return!1}function yo(n){const e=[],t=n.data,s=n;return s.data=cn(t,e),s.attachments=e.length,{packet:s,buffers:e}}function cn(n,e){if(!n)return n;if(bn(n)){const t={_placeholder:!0,num:e.length};return e.push(n),t}else if(Array.isArray(n)){const t=new Array(n.length);for(let s=0;s<n.length;s++)t[s]=cn(n[s],e);return t}else if(typeof n=="object"&&!(n instanceof Date)){const t={};for(const s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=cn(n[s],e));return t}return n}function vo(n,e){return n.data=ln(n.data,e),delete n.attachments,n}function ln(n,e){if(!n)return n;if(n&&n._placeholder===!0){if(typeof n.num=="number"&&n.num>=0&&n.num<e.length)return e[n.num];throw new Error("illegal attachments")}else if(Array.isArray(n))for(let t=0;t<n.length;t++)n[t]=ln(n[t],e);else if(typeof n=="object")for(const t in n)Object.prototype.hasOwnProperty.call(n,t)&&(n[t]=ln(n[t],e));return n}const _o=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],mo=5;var H;(function(n){n[n.CONNECT=0]="CONNECT",n[n.DISCONNECT=1]="DISCONNECT",n[n.EVENT=2]="EVENT",n[n.ACK=3]="ACK",n[n.CONNECT_ERROR=4]="CONNECT_ERROR",n[n.BINARY_EVENT=5]="BINARY_EVENT",n[n.BINARY_ACK=6]="BINARY_ACK"})(H||(H={}));class bo{constructor(e){this.replacer=e}encode(e){return(e.type===H.EVENT||e.type===H.ACK)&&mt(e)?this.encodeAsBinary({type:e.type===H.EVENT?H.BINARY_EVENT:H.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===H.BINARY_EVENT||e.type===H.BINARY_ACK)&&(t+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(t+=e.nsp+","),e.id!=null&&(t+=e.id),e.data!=null&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){const t=yo(e),s=this.encodeAsString(t.packet),i=t.buffers;return i.unshift(s),i}}function ns(n){return Object.prototype.toString.call(n)==="[object Object]"}class wn extends ee{constructor(e){super(),this.reviver=e}add(e){let t;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const s=t.type===H.BINARY_EVENT;s||t.type===H.BINARY_ACK?(t.type=s?H.EVENT:H.ACK,this.reconstructor=new wo(t),t.attachments===0&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(bn(e)||e.base64)if(this.reconstructor)t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let t=0;const s={type:Number(e.charAt(0))};if(H[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===H.BINARY_EVENT||s.type===H.BINARY_ACK){const o=t+1;for(;e.charAt(++t)!=="-"&&t!=e.length;);const a=e.substring(o,t);if(a!=Number(a)||e.charAt(t)!=="-")throw new Error("Illegal attachments");s.attachments=Number(a)}if(e.charAt(t+1)==="/"){const o=t+1;for(;++t&&!(e.charAt(t)===","||t===e.length););s.nsp=e.substring(o,t)}else s.nsp="/";const i=e.charAt(t+1);if(i!==""&&Number(i)==i){const o=t+1;for(;++t;){const a=e.charAt(t);if(a==null||Number(a)!=a){--t;break}if(t===e.length)break}s.id=Number(e.substring(o,t+1))}if(e.charAt(++t)){const o=this.tryParse(e.substr(t));if(wn.isPayloadValid(s.type,o))s.data=o;else throw new Error("invalid payload")}return s}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,t){switch(e){case H.CONNECT:return ns(t);case H.DISCONNECT:return t===void 0;case H.CONNECT_ERROR:return typeof t=="string"||ns(t);case H.EVENT:case H.BINARY_EVENT:return Array.isArray(t)&&(typeof t[0]=="number"||typeof t[0]=="string"&&_o.indexOf(t[0])===-1);case H.ACK:case H.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class wo{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const t=vo(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Eo=Object.freeze(Object.defineProperty({__proto__:null,Decoder:wn,Encoder:bo,get PacketType(){return H},protocol:mo},Symbol.toStringTag,{value:"Module"}));function be(n,e,t){return n.on(e,t),function(){n.off(e,t)}}const xo=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Ds extends ee{constructor(e,t,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[be(e,"open",this.onopen.bind(this)),be(e,"packet",this.onpacket.bind(this)),be(e,"error",this.onerror.bind(this)),be(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){var s,i,o;if(xo.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;const a={type:H.EVENT,data:t};if(a.options={},a.options.compress=this.flags.compress!==!1,typeof t[t.length-1]=="function"){const u=this.ids++,y=t.pop();this._registerAckCallback(u,y),a.id=u}const h=(i=(s=this.io.engine)===null||s===void 0?void 0:s.transport)===null||i===void 0?void 0:i.writable,l=this.connected&&!(!((o=this.io.engine)===null||o===void 0)&&o._hasPingExpired());return this.flags.volatile&&!h||(l?(this.notifyOutgoingListeners(a),this.packet(a)):this.sendBuffer.push(a)),this.flags={},this}_registerAckCallback(e,t){var s;const i=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(i===void 0){this.acks[e]=t;return}const o=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let h=0;h<this.sendBuffer.length;h++)this.sendBuffer[h].id===e&&this.sendBuffer.splice(h,1);t.call(this,new Error("operation has timed out"))},i),a=(...h)=>{this.io.clearTimeoutFn(o),t.apply(this,h)};a.withError=!0,this.acks[e]=a}emitWithAck(e,...t){return new Promise((s,i)=>{const o=(a,h)=>a?i(a):s(h);o.withError=!0,t.push(o),this.emit(e,...t)})}_addToQueue(e){let t;typeof e[e.length-1]=="function"&&(t=e.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((i,...o)=>s!==this._queue[0]?void 0:(i!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(i)):(this._queue.shift(),t&&t(null,...o)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:H.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(s=>String(s.id)===e)){const s=this.acks[e];delete this.acks[e],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case H.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case H.EVENT:case H.BINARY_EVENT:this.onevent(e);break;case H.ACK:case H.BINARY_ACK:this.onack(e);break;case H.DISCONNECT:this.ondisconnect();break;case H.CONNECT_ERROR:this.destroy();const s=new Error(e.data.message);s.data=e.data.data,this.emitReserved("connect_error",s);break}}onevent(e){const t=e.data||[];e.id!=null&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const s of t)s.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let s=!1;return function(...i){s||(s=!0,t.packet({type:H.ACK,id:e,data:i}))}}onack(e){const t=this.acks[e.id];typeof t=="function"&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:H.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let s=0;s<t.length;s++)if(e===t[s])return t.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let s=0;s<t.length;s++)if(e===t[s])return t.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const s of t)s.apply(this,e.data)}}}function Je(n){n=n||{},this.ms=n.min||100,this.max=n.max||1e4,this.factor=n.factor||2,this.jitter=n.jitter>0&&n.jitter<=1?n.jitter:0,this.attempts=0}Je.prototype.duration=function(){var n=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),t=Math.floor(e*this.jitter*n);n=(Math.floor(e*10)&1)==0?n-t:n+t}return Math.min(n,this.max)|0};Je.prototype.reset=function(){this.attempts=0};Je.prototype.setMin=function(n){this.ms=n};Je.prototype.setMax=function(n){this.max=n};Je.prototype.setJitter=function(n){this.jitter=n};class hn extends ee{constructor(e,t){var s;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.opts=t,Ot(this,t),this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor((s=t.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new Je({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(t.timeout==null?2e4:t.timeout),this._readyState="closed",this.uri=e;const i=t.parser||Eo;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=t.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(t=this.backoff)===null||t===void 0||t.setMin(e),this)}randomizationFactor(e){var t;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(t=this.backoff)===null||t===void 0||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(t=this.backoff)===null||t===void 0||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new lo(this.uri,this.opts);const t=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const i=be(t,"open",function(){s.onopen(),e&&e()}),o=h=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",h),e?e(h):this.maybeReconnectOnOpen()},a=be(t,"error",o);if(this._timeout!==!1){const h=this._timeout,l=this.setTimeoutFn(()=>{i(),o(new Error("timeout")),t.close()},h);this.opts.autoUnref&&l.unref(),this.subs.push(()=>{this.clearTimeoutFn(l)})}return this.subs.push(i),this.subs.push(a),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(be(e,"ping",this.onping.bind(this)),be(e,"data",this.ondata.bind(this)),be(e,"error",this.onerror.bind(this)),be(e,"close",this.onclose.bind(this)),be(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){kt(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new Ds(this,e,t),this.nsps[e]=s),s}_destroy(e){const t=Object.keys(this.nsps);for(const s of t)if(this.nsps[s].active)return;this._close()}_packet(e){const t=this.encoder.encode(e);for(let s=0;s<t.length;s++)this.engine.write(t[s],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,t){var s;this.cleanup(),(s=this.engine)===null||s===void 0||s.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(i=>{i?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",i)):e.onreconnect()}))},t);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const nt={};function bt(n,e){typeof n=="object"&&(e=n,n=void 0),e=e||{};const t=ho(n,e.path||"/socket.io"),s=t.source,i=t.id,o=t.path,a=nt[i]&&o in nt[i].nsps,h=e.forceNew||e["force new connection"]||e.multiplex===!1||a;let l;return h?l=new hn(s,e):(nt[i]||(nt[i]=new hn(s,e)),l=nt[i]),t.query&&!e.query&&(e.query=t.queryKey),l.socket(t.path,e)}Object.assign(bt,{Manager:hn,Socket:Ds,io:bt,connect:bt});let Ge;const ko=pn(!1),Oo={sockethub:{port:10550,host:"localhost",path:"/sockethub"},public:{protocol:"http",host:"localhost",port:10550,path:"/"}};async function Do(n){return console.log("sending ->",n),new Promise((e,t)=>{Ge.socket.emit("message",Wt("SEND",n),s=>{if(console.log("received <-",s),Wt("RESP",s),s.totalItems&&s.items)for(const i of s.items.reverse())Wt("RESP",i,!0);_s(s,!0),s.error?t(s.error):e(s)})})}function Jt(n){return e=>{const t=n==="connect";ko.update(()=>t),console.log(`sockethub ${n} [connected: ${t}]`,e||"")}}function Ao(n){console.log("handle incoming: ",n),_s(n,!1)}function ss(n=Oo){Ge=new xt(bt(`${n.public.protocol}://${n.public.host}:${n.public.port}`,{path:n.sockethub.path})),Ge.socket.on("connect",Jt("connect")),Ge.socket.on("error",Jt("error")),Ge.socket.on("disconnect",Jt("disconnect")),Ge.socket.on("message",Ao)}typeof window=="object"&&(console.log("connecting to sockethub"),fetch("/config.json").then(async n=>{const e=await n.json();ss(e)}).catch(()=>{ss()}));export{Lo as I,Io as L,Ge as a,ko as c,Zt as e,vs as h,Qt as i,Do as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as v,t as y,s as _,a as g}from"./Dkd6l8cV.js";import{p as h,c as d,r as u,s as x,t as w,a as F}from"./B6g3iar1.js";import{r as I,s as l,a as k}from"./CLEQVYcW.js";import{b as C}from"./CN8LF06-.js";import{d as s}from"./CfqRDpBM.js";var j=y('<div class="w-full space-y-2"><label class="block text-sm font-semibold text-gray-700"> </label> <input></div>');function E(n,e){h(e,!0);let c=s(e,"type",3,"text"),f=s(e,"placeholder",3,""),o=s(e,"value",15),m=s(e,"class",3,"");var r=j(),a=d(r),p=d(a,!0);u(a);var t=x(a,2);I(t),t.__input=function(...b){var i;(i=e.onInput?()=>e.onInput(o()):void 0)==null||i.apply(this,b)},u(r),w(()=>{l(a,"for",e.id),_(p,e.label),l(t,"id",e.id),l(t,"type",c()),l(t,"placeholder",f()),k(t,1,`w-full px-4 py-3 border border-gray-300 rounded-lg shadow-sm focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition-colors duration-200 text-gray-900 placeholder-gray-500 ${m()??""}`)}),C(t,o),g(n,r),F()}v(["input"]);export{E as F};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{t as y,r as C,a as v,s as A,b as R}from"./Dkd6l8cV.js";import{p as w,t as S,a as h,b as k,e as W,f as q,c as b,r as u,s as f,g as r,d as z,n as E}from"./B6g3iar1.js";import{d as _,p as F,i as G,b as H,s as I}from"./CfqRDpBM.js";import{s as O,r as K}from"./CLEQVYcW.js";import{b as T,S as L}from"./CN8LF06-.js";import{a as M}from"./D3w1dc5i.js";var Q=y(`<textarea class="form-control block w-full px-3 py-1.5 text-base font-normal
|
|
2
|
-
text-gray-700 bg-white bg-clip-padding border border-solid
|
|
3
|
-
border-gray-300 rounded transition ease-in-out m-0 focus:text-gray-700
|
|
4
|
-
focus:bg-white focus:border-blue-600 focus:outline-none" rows="5"></textarea>`);function U(s,t){w(t,!0);let o=_(t,"data",15);var e=Q();C(e),S(()=>O(e,"id",`json-object-${t.title??""}`)),T(e,o),v(s,e),h()}var V=y('<div class="w-full p-2"><label for="server" class="inline-block text-gray-900 font-bold w-32">Password</label> <input id="server" type="password" class="border-4"></div>'),X=y('<div class="w-full"><label class="form-label inline-block text-gray-900 font-bold mb-2"> </label> <!></div> <!> <div class="w-full text-right"><!></div>',1);function Y(s,t){w(t,!0);let o=_(t,"buttonText",3,"Send"),e=_(t,"obj",15),a=W("unset");e().password&&(k(a,F(e().password)),e(e().password=void 0,!0));const m=z(()=>JSON.stringify(e(),null,3));async function g(){console.log("PASSWORD: ",r(a)),r(a)!=="unset"&&e(e().password=r(a),!0),t.submitData(JSON.stringify(e()))}var i=X(),x=q(i),c=b(x),D=b(c,!0);u(c);var J=f(c,2);U(J,{get title(){return t.title},get data(){return r(m)}}),u(x);var j=f(x,2);{var N=n=>{var d=V(),l=f(b(d),2);K(l),u(d),T(l,()=>r(a),B=>k(a,B)),v(n,d)};G(j,n=>{r(a)!=="unset"&&n(N)})}var p=f(j,2),P=b(p);L(P,{get disabled(){return t.disabled},buttonAction:g,children:(n,d)=>{E();var l=R();S(()=>A(l,o())),v(n,l)}}),u(p),S(()=>{O(c,"for",`json-object-${t.title??""}`),A(D,t.title)}),v(s,i),h()}function st(s,t){w(t,!0);const[o,e]=I(),a=()=>H(t.sockethubState,"$sockethubState",o);function m(g){const i=JSON.parse(g);console.log("creating activity object: ",i),M.ActivityStreams.Object.create(i),t.sockethubState.set({actorSet:!0,credentialsSet:!1,connected:!1,joined:!1})}Y(s,{title:"Activity Stream Actor",get obj(){return t.actor},buttonText:"Activity Object Create",submitData:m,get disabled(){return a().actorSet}}),h(),e()}export{st as A,Y as T};
|