Release v0.9.238

Automated sync from private repository.
Built with obfuscation enabled.
This commit is contained in:
GitHub Actions Bot
2026-02-12 08:29:24 +00:00
parent c3add23a8a
commit ab05958976
61 changed files with 63 additions and 63 deletions

View File

@@ -1 +1 @@
0.9.237
0.9.238

View File

@@ -1 +1 @@
import{j as e,c as s}from"./vendor-react-j_fHog8x.js";import{e as l}from"./index-wPlXlfBC.js";function t({title:t,icon:r,badge:i,badgeColor:a="teal",subtitle:c,actions:n,iconColor:x="text-icon-card-title",largeTitle:d=!1,listHeader:m=!1,stackActionsOnMobile:o=!1}){return o&&n?e.jsxs("div",{className:s("flex flex-col gap-1 flex-shrink-0",m?"px-4 py-3 border-b border-border-subtle bg-bg-elevated/20":"mb-3"),children:[e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-2 min-h-[32px]",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[r&&e.jsx("span",{className:s("icon-md flex items-center justify-center",x),children:r}),e.jsx("span",{className:s(d?"type-subheading text-text-primary":"type-micro"),children:t}),i&&e.jsx(l,{color:a,children:i})]}),e.jsx("div",{className:"flex items-center gap-2 flex-wrap",children:n})]}),c&&e.jsx("p",{className:"type-label text-text-muted ml-8",children:c})]}):e.jsxs("div",{className:s("flex flex-col gap-1 flex-shrink-0",m?"px-4 py-3 border-b border-border-subtle bg-bg-elevated/20":"mb-3"),children:[e.jsxs("div",{className:"flex items-center justify-between gap-2 min-h-[32px]",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[r&&e.jsx("span",{className:s("icon-md flex items-center justify-center",x),children:r}),e.jsx("span",{className:s(d?"type-subheading text-text-primary":"type-micro"),children:t}),i&&e.jsx(l,{color:a,children:i})]}),n&&e.jsx("div",{className:"flex items-center gap-2 flex-wrap",children:n})]}),c&&e.jsx("p",{className:"type-label text-text-muted ml-8",children:c})]})}function r({children:l,centered:t,className:r}){return e.jsx("div",{className:s("flex-1 min-h-0",t&&"flex items-center justify-center",r),children:l})}export{t as C,r as a};
import{j as e,c as s}from"./vendor-react-j_fHog8x.js";import{e as l}from"./index-Bg0LHVU9.js";function t({title:t,icon:r,badge:i,badgeColor:a="teal",subtitle:c,actions:n,iconColor:x="text-icon-card-title",largeTitle:d=!1,listHeader:m=!1,stackActionsOnMobile:o=!1}){return o&&n?e.jsxs("div",{className:s("flex flex-col gap-1 flex-shrink-0",m?"px-4 py-3 border-b border-border-subtle bg-bg-elevated/20":"mb-3"),children:[e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-2 min-h-[32px]",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[r&&e.jsx("span",{className:s("icon-md flex items-center justify-center",x),children:r}),e.jsx("span",{className:s(d?"type-subheading text-text-primary":"type-micro"),children:t}),i&&e.jsx(l,{color:a,children:i})]}),e.jsx("div",{className:"flex items-center gap-2 flex-wrap",children:n})]}),c&&e.jsx("p",{className:"type-label text-text-muted ml-8",children:c})]}):e.jsxs("div",{className:s("flex flex-col gap-1 flex-shrink-0",m?"px-4 py-3 border-b border-border-subtle bg-bg-elevated/20":"mb-3"),children:[e.jsxs("div",{className:"flex items-center justify-between gap-2 min-h-[32px]",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[r&&e.jsx("span",{className:s("icon-md flex items-center justify-center",x),children:r}),e.jsx("span",{className:s(d?"type-subheading text-text-primary":"type-micro"),children:t}),i&&e.jsx(l,{color:a,children:i})]}),n&&e.jsx("div",{className:"flex items-center gap-2 flex-wrap",children:n})]}),c&&e.jsx("p",{className:"type-label text-text-muted ml-8",children:c})]})}function r({children:l,centered:t,className:r}){return e.jsx("div",{className:s("flex-1 min-h-0",t&&"flex items-center justify-center",r),children:l})}export{t as C,r as a};

View File

@@ -1 +1 @@
import{c as e}from"./index-wPlXlfBC.js";import{r as t,j as s,c as n}from"./vendor-react-j_fHog8x.js";const a=e("message-square-text",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M7 11h10",key:"1twpyw"}],["path",{d:"M7 15h6",key:"d9of3u"}],["path",{d:"M7 7h8",key:"af5zfr"}]]),l=["#22c55e","#3b82f6","#f59e0b","#ec4899","#8b5cf6","#06b6d4","#f97316","#84cc16"];function r(e){let t=0;for(let s=0;s<e.length;s++)t=e.charCodeAt(s)+((t<<5)-t);return l[Math.abs(t)%l.length]}const i=new RegExp("(?:\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F)","gu");function c(e){const t=e.match(i);return t&&t.length>0?{emoji:t[0],cleanName:e.replace(i,"").trim()||e}:{emoji:null,cleanName:e}}function o(e){const{cleanName:t}=c(e),s=t.split(/[\s-_]+/).filter(Boolean);return s.length>=2?((Array.from(s[0])[0]||"")+(Array.from(s[1])[0]||"")).toUpperCase():Array.from(t).slice(0,2).join("").toUpperCase()}function d(e){return new Date(1e3*e).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!1})}function m(e){const s=/@\[([^\]]+)\]/g,n=[];let a,l=0;for(;null!==(a=s.exec(e));)a.index>l&&n.push(e.slice(l,a.index)),n.push(t.createElement("span",{key:a.index,className:"font-extrabold text-white"},a[1])),l=a.index+a[0].length;return l<e.length&&n.push(e.slice(l)),n.length>0?n:e}const x=t.memo(function({senderName:e,text:t,timestamp:a,nameAccessory:l,bubbleAccessory:i,className:x}){const{emoji:u,cleanName:h}=c(e),p=r(h),f=o(e);return s.jsxs("div",{className:n("group flex items-start gap-3 w-full",x),children:[s.jsxs("div",{className:"flex-shrink-0 w-9 flex flex-col items-center gap-1",children:[s.jsx("div",{className:n("w-9 h-9 rounded-full flex items-center justify-center","shadow-md ring-1 ring-border-subtle",u?"text-lg":"text-white text-[13px] font-bold tracking-tight"),style:{backgroundColor:p},children:u||f}),s.jsx("span",{className:"text-[10px] text-text-muted tabular-nums h-4 leading-4",children:d(a)})]}),s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsxs("div",{className:"flex items-center gap-2 h-5 mb-1",children:[s.jsx("span",{className:"text-[13px] font-medium truncate",style:{color:p,lineHeight:"20px"},children:h}),l]}),s.jsxs("div",{className:"flex items-end gap-1.5",children:[s.jsx("div",{className:n("inline-block px-3.5 py-2.5 max-w-full","rounded-2xl rounded-tl-md","bg-[#007AFF]"),children:s.jsx("p",{className:"text-sm text-white leading-relaxed tracking-wide whitespace-pre-wrap break-words",children:m(t)})}),i]})]})]})});function u({text:e}){return s.jsx("div",{className:"flex justify-center my-1",children:s.jsx("span",{className:n("px-3 py-1 rounded-full","bg-subtle-fill text-[11px] text-text-muted/80 font-medium","ring-1 ring-border-subtle"),children:e})})}export{x as C,a as M,u as S,o as a,c as e,m as f,r as g};
import{c as e}from"./index-Bg0LHVU9.js";import{r as t,j as s,c as n}from"./vendor-react-j_fHog8x.js";const a=e("message-square-text",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M7 11h10",key:"1twpyw"}],["path",{d:"M7 15h6",key:"d9of3u"}],["path",{d:"M7 7h8",key:"af5zfr"}]]),l=["#22c55e","#3b82f6","#f59e0b","#ec4899","#8b5cf6","#06b6d4","#f97316","#84cc16"];function r(e){let t=0;for(let s=0;s<e.length;s++)t=e.charCodeAt(s)+((t<<5)-t);return l[Math.abs(t)%l.length]}const i=new RegExp("(?:\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F)","gu");function c(e){const t=e.match(i);return t&&t.length>0?{emoji:t[0],cleanName:e.replace(i,"").trim()||e}:{emoji:null,cleanName:e}}function o(e){const{cleanName:t}=c(e),s=t.split(/[\s-_]+/).filter(Boolean);return s.length>=2?((Array.from(s[0])[0]||"")+(Array.from(s[1])[0]||"")).toUpperCase():Array.from(t).slice(0,2).join("").toUpperCase()}function d(e){return new Date(1e3*e).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!1})}function m(e){const s=/@\[([^\]]+)\]/g,n=[];let a,l=0;for(;null!==(a=s.exec(e));)a.index>l&&n.push(e.slice(l,a.index)),n.push(t.createElement("span",{key:a.index,className:"font-extrabold text-white"},a[1])),l=a.index+a[0].length;return l<e.length&&n.push(e.slice(l)),n.length>0?n:e}const x=t.memo(function({senderName:e,text:t,timestamp:a,nameAccessory:l,bubbleAccessory:i,className:x}){const{emoji:u,cleanName:h}=c(e),p=r(h),f=o(e);return s.jsxs("div",{className:n("group flex items-start gap-3 w-full",x),children:[s.jsxs("div",{className:"flex-shrink-0 w-9 flex flex-col items-center gap-1",children:[s.jsx("div",{className:n("w-9 h-9 rounded-full flex items-center justify-center","shadow-md ring-1 ring-border-subtle",u?"text-lg":"text-white text-[13px] font-bold tracking-tight"),style:{backgroundColor:p},children:u||f}),s.jsx("span",{className:"text-[10px] text-text-muted tabular-nums h-4 leading-4",children:d(a)})]}),s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsxs("div",{className:"flex items-center gap-2 h-5 mb-1",children:[s.jsx("span",{className:"text-[13px] font-medium truncate",style:{color:p,lineHeight:"20px"},children:h}),l]}),s.jsxs("div",{className:"flex items-end gap-1.5",children:[s.jsx("div",{className:n("inline-block px-3.5 py-2.5 max-w-full","rounded-2xl rounded-tl-md","bg-[#007AFF]"),children:s.jsx("p",{className:"text-sm text-white leading-relaxed tracking-wide whitespace-pre-wrap break-words",children:m(t)})}),i]})]})]})});function u({text:e}){return s.jsx("div",{className:"flex justify-center my-1",children:s.jsx("span",{className:n("px-3 py-1 rounded-full","bg-subtle-fill text-[11px] text-text-muted/80 font-medium","ring-1 ring-border-subtle"),children:e})})}export{x as C,a as M,u as S,o as a,c as e,m as f,r as g};

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{c as a,K as e,bG as s,N as n,cD as t,B as r}from"./index-wPlXlfBC.js";import{r as c,j as o,c as l}from"./vendor-react-j_fHog8x.js";import{T as i}from"./triangle-alert-kXEBCWUs.js";const d=a("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),m=a("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]),h={danger:"text-accent-danger",warning:"text-accent-secondary",default:"text-accent-primary"},x={danger:"danger",warning:"warning",default:"primary"},p=c.memo(function({isOpen:a,title:c="Confirm",message:d,confirmLabel:m="Confirm",cancelLabel:p="Cancel",variant:j="default",onConfirm:f,onCancel:y}){return o.jsxs(e,{open:a,onClose:y,size:"sm",children:[o.jsx(s,{icon:o.jsx(i,{className:l("w-5 h-5",h[j])}),title:c,onClose:y}),o.jsx(n,{children:o.jsx("p",{className:"text-sm text-text-secondary",children:d})}),o.jsxs(t,{children:[o.jsx(r,{color:"muted",onClick:y,className:"flex-1",children:p}),o.jsx(r,{color:x[j],onClick:f,className:"flex-1",children:m})]})]})});export{p as C,d as P,m as T};
import{c as a,K as e,bG as s,N as n,cD as t,B as r}from"./index-Bg0LHVU9.js";import{r as c,j as o,c as l}from"./vendor-react-j_fHog8x.js";import{T as i}from"./triangle-alert-UsBdG5UX.js";const d=a("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),m=a("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]),h={danger:"text-accent-danger",warning:"text-accent-secondary",default:"text-accent-primary"},x={danger:"danger",warning:"warning",default:"primary"},p=c.memo(function({isOpen:a,title:c="Confirm",message:d,confirmLabel:m="Confirm",cancelLabel:p="Cancel",variant:j="default",onConfirm:f,onCancel:y}){return o.jsxs(e,{open:a,onClose:y,size:"sm",children:[o.jsx(s,{icon:o.jsx(i,{className:l("w-5 h-5",h[j])}),title:c,onClose:y}),o.jsx(n,{children:o.jsx("p",{className:"text-sm text-text-secondary",children:d})}),o.jsxs(t,{children:[o.jsx(r,{color:"muted",onClick:y,className:"flex-1",children:p}),o.jsx(r,{color:x[j],onClick:f,className:"flex-1",children:m})]})]})});export{p as C,d as P,m as T};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{r as e,j as t,c as o}from"./vendor-react-j_fHog8x.js";import{f as n}from"./index-wPlXlfBC.js";import{C as s}from"./copy-Daan4dlu.js";const c={standard:"w-3 h-3",compact:"w-2.5 h-2.5",responsive:"w-2.5 h-2.5 sm:w-3 sm:h-3"};function a({children:a,copyValue:r,copy:i=!1,size:l="standard",className:p,title:u,color:d,truncate:m}){const[x,h]=e.useState(!1),[w,y]=e.useState(!1),f=e.useRef(null),v=r??("string"==typeof a?a:""),b=c[l],j=(()=>{if(!m||"string"!=typeof a)return a;const e=a,[t,o]=!0===m?[6,4]:m;return e.length<=t+o+3?e:`${e.slice(0,t)}${e.slice(-o)}`})(),g=e.useCallback(e=>{i&&(e.preventDefault(),e.stopPropagation(),f.current&&clearTimeout(f.current),function(e){var t;if("undefined"!=typeof window&&(window.isSecureContext||"https:"===window.location.protocol||"localhost"===window.location.hostname)&&(null==(t=navigator.clipboard)?void 0:t.writeText))return navigator.clipboard.writeText(e).catch(()=>{}),!0;try{const{scrollX:t,scrollY:o}=window,n=document.createElement("textarea");n.value=e,n.style.cssText="position:fixed;left:-9999px;top:-9999px;opacity:0;pointer-events:none",n.setAttribute("readonly",""),document.body.appendChild(n),n.focus({preventScroll:!0}),n.select(),n.setSelectionRange(0,e.length);const s=document.execCommand("copy");return document.body.removeChild(n),window.scrollTo(t,o),s}catch(o){return!1}}(v),h(!0),f.current=setTimeout(()=>h(!1),2e3))},[i,v]),C="compact"===l?"data-box-compact":"responsive"===l?"data-box-responsive":"",N=i?u||`Click to copy: ${v}`:u;return i?t.jsxs("button",{type:"button",onClick:g,onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),className:o("data-box interactive",C,"cursor-pointer select-none gap-1","hover-bg",d,p),title:N,"aria-label":`Copy ${v}`,children:[t.jsx("span",{className:o("transition-colors duration-200",x?"text-accent-success":""),children:j}),t.jsx("span",{className:o("flex items-center justify-center","compact"===l?"w-3 h-3":"w-3.5 h-3.5"),children:x?t.jsx(n,{className:o("text-accent-success",b)}):t.jsx(s,{className:o("transition-opacity duration-200",w?"opacity-70":"opacity-40",b)})})]}):t.jsx("span",{className:o("data-box",C,d,p),title:N,children:j})}export{a as D};
import{r as e,j as t,c as o}from"./vendor-react-j_fHog8x.js";import{f as n}from"./index-Bg0LHVU9.js";import{C as s}from"./copy-9b-SlAwR.js";const c={standard:"w-3 h-3",compact:"w-2.5 h-2.5",responsive:"w-2.5 h-2.5 sm:w-3 sm:h-3"};function a({children:a,copyValue:r,copy:i=!1,size:l="standard",className:p,title:u,color:d,truncate:m}){const[x,h]=e.useState(!1),[w,y]=e.useState(!1),f=e.useRef(null),v=r??("string"==typeof a?a:""),b=c[l],j=(()=>{if(!m||"string"!=typeof a)return a;const e=a,[t,o]=!0===m?[6,4]:m;return e.length<=t+o+3?e:`${e.slice(0,t)}${e.slice(-o)}`})(),g=e.useCallback(e=>{i&&(e.preventDefault(),e.stopPropagation(),f.current&&clearTimeout(f.current),function(e){var t;if("undefined"!=typeof window&&(window.isSecureContext||"https:"===window.location.protocol||"localhost"===window.location.hostname)&&(null==(t=navigator.clipboard)?void 0:t.writeText))return navigator.clipboard.writeText(e).catch(()=>{}),!0;try{const{scrollX:t,scrollY:o}=window,n=document.createElement("textarea");n.value=e,n.style.cssText="position:fixed;left:-9999px;top:-9999px;opacity:0;pointer-events:none",n.setAttribute("readonly",""),document.body.appendChild(n),n.focus({preventScroll:!0}),n.select(),n.setSelectionRange(0,e.length);const s=document.execCommand("copy");return document.body.removeChild(n),window.scrollTo(t,o),s}catch(o){return!1}}(v),h(!0),f.current=setTimeout(()=>h(!1),2e3))},[i,v]),C="compact"===l?"data-box-compact":"responsive"===l?"data-box-responsive":"",N=i?u||`Click to copy: ${v}`:u;return i?t.jsxs("button",{type:"button",onClick:g,onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),className:o("data-box interactive",C,"cursor-pointer select-none gap-1","hover-bg",d,p),title:N,"aria-label":`Copy ${v}`,children:[t.jsx("span",{className:o("transition-colors duration-200",x?"text-accent-success":""),children:j}),t.jsx("span",{className:o("flex items-center justify-center","compact"===l?"w-3 h-3":"w-3.5 h-3.5"),children:x?t.jsx(n,{className:o("text-accent-success",b)}):t.jsx(s,{className:o("transition-opacity duration-200",w?"opacity-70":"opacity-40",b)})})]}):t.jsx("span",{className:o("data-box",C,d,p),title:N,children:j})}export{a as D};

View File

@@ -1 +1 @@
import{c as e}from"./index-wPlXlfBC.js";import{r as t,j as a}from"./vendor-react-j_fHog8x.js";import{A as s}from"./index-kCPLHuQX.js";import{t as n}from"./config-Cu72TjJC.js";const r=e("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);function i({value:e,format:r,prefix:i,className:o,style:m}){const[c,f]=t.useState("waiting");if(t.useEffect(()=>{const e=setTimeout(()=>f("mounted"),400);return()=>clearTimeout(e)},[]),t.useEffect(()=>{if("mounted"===c){const e=requestAnimationFrame(()=>f("animating"));return()=>cancelAnimationFrame(e)}},[c]),"waiting"===c){const e=(0).toLocaleString(void 0,r);return a.jsxs("span",{className:o,style:m,children:[i,e]})}return a.jsx(s,{className:o,style:m,format:r,prefix:i,transition:n.numberReveal,children:"animating"===c?e:0})}export{i as D,r as H};
import{c as e}from"./index-Bg0LHVU9.js";import{r as t,j as a}from"./vendor-react-j_fHog8x.js";import{A as s}from"./index-DZ3gMFx3.js";import{t as n}from"./config-Cu72TjJC.js";const r=e("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);function i({value:e,format:r,prefix:i,className:o,style:m}){const[c,f]=t.useState("waiting");if(t.useEffect(()=>{const e=setTimeout(()=>f("mounted"),400);return()=>clearTimeout(e)},[]),t.useEffect(()=>{if("mounted"===c){const e=requestAnimationFrame(()=>f("animating"));return()=>cancelAnimationFrame(e)}},[c]),"waiting"===c){const e=(0).toLocaleString(void 0,r);return a.jsxs("span",{className:o,style:m,children:[i,e]})}return a.jsx(s,{className:o,style:m,format:r,prefix:i,transition:n.numberReveal,children:"animating"===c?e:0})}export{i as D,r as H};

View File

@@ -1 +1 @@
import{ct as e}from"./index-wPlXlfBC.js";import{r as a,j as c}from"./vendor-react-j_fHog8x.js";async function s(a){return e("/api/acl_remove_client",{method:"POST",body:JSON.stringify(a)})}async function n(){return e("/api/acl_stats")}const t={a:"24,3 76,3 83,7 76,11 24,11 17,7",b:"88,22 93,27 93,71 88,76 83,71 83,27",c:"88,106 93,111 93,155 88,160 83,155 83,111",d:"24,171 76,171 83,175 76,179 24,179 17,175",e:"12,106 17,111 17,155 12,160 7,155 7,111",f:"12,22 17,27 17,71 12,76 7,71 7,27",g:"24,86 76,86 83,91 76,96 24,96 17,91"},d=Object.keys(t),o={0:"abcdef",1:"bc",2:"abdeg",3:"abcdg",4:"bcfg",5:"acdfg",6:"acdefg",7:"abc",8:"abcdefg",9:"abcdfg",A:"abcefg",B:"cdefg",C:"adef",D:"bcdeg",E:"adefg",F:"aefg",G:"acdef",H:"bcefg",I:"ef",J:"bcde",L:"def",M:"abcefg",N:"ceg",O:"abcdef",P:"abefg",Q:"abcfg",R:"eg",S:"acdfg",T:"defg",U:"bcdef",V:"cde",Y:"bcdfg",Z:"abdeg",a:"abcefg",b:"cdefg",c:"deg",d:"bcdeg",e:"adefg",f:"aefg",g:"abcdfg",h:"cefg",i:"c",j:"bcde",l:"def",m:"abcef",n:"ceg",o:"cdeg",p:"abefg",r:"eg",s:"acdfg",t:"defg",u:"cde",v:"cde",y:"bcdfg"," ":"",_:"d","-":"g","=":"dg","°":"abfg",'"':"bf","'":"f","(":"adef",")":"abcd","[":"adef","]":"abcd","!":"bc",".":"d"};function r(e,a){const c=Array.from(e).map(e=>o[e.toUpperCase()]??o[e]??""),s=Math.max(0,(a??0)-e.length);for(let n=0;n<s;n++)c.push("");return c}function f({text:e,color:s="#FF8C00",size:n=18,minChars:o,noCycle:f=!1,className:g}){const l=Math.round(n*(100/182)),[i,b]=a.useState(null);a.useEffect(()=>{if(f)return;const a=r(e,o),c=6+2*(a.length-1);let s,n=0,t=!1;const g=()=>{t||(n++,n>=c?b(null):(b(a.map((e,a)=>n>=6+2*a?e:d.filter(()=>Math.random()>.45).join(""))),s=setTimeout(g,56)))};return g(),()=>{t=!0,clearTimeout(s)}},[e,o,f]);const u=r(e,o),p=i??u;return c.jsxs("span",{className:"seven-seg"+(g?` ${g}`:""),children:[p.map((e,a)=>((e,a)=>c.jsx("svg",{viewBox:"0 0 100 182",width:l,height:n,className:"seven-seg__char","aria-hidden":"true",children:d.map(a=>c.jsx("polygon",{points:t[a],fill:s,stroke:s,strokeWidth:4,strokeLinejoin:"round",opacity:e.includes(a)?1:.16},a))},a))(e,`${a}-${e}`)),c.jsx("span",{className:"sr-only",children:e})]})}function g({icon:e,onClick:s,title:n,iconColor:t="#000000",iconActiveColor:d="#FFDEB0",disabled:o=!1,className:r,keycapSrc:f="/assets/keycap.svg"}){const[g,l]=a.useState(!1),i=a.useCallback(()=>{o||l(!0)},[o]),b=a.useCallback(()=>{g&&(l(!1),s())},[g,s]),u=a.useCallback(()=>{l(!1)},[]);return c.jsx("button",{onMouseDown:i,onMouseUp:b,onMouseLeave:u,onTouchStart:i,onTouchEnd:b,onTouchCancel:u,disabled:o,className:`keycap-btn${f.includes("red")?" keycap-btn--red-cap":""}${g?" keycap-btn--pressed":""}${r?` ${r}`:""}`,title:n,children:c.jsxs("div",{className:"keycap-wrap",children:[c.jsx("img",{src:f,alt:"",className:"keycap-btn__img",draggable:!1}),c.jsx("span",{className:"keycap-icon-overlay",style:{color:g?d:t},children:e})]})})}export{g as K,f as S,n as g,s as r};
import{ct as e}from"./index-Bg0LHVU9.js";import{r as a,j as c}from"./vendor-react-j_fHog8x.js";async function s(a){return e("/api/acl_remove_client",{method:"POST",body:JSON.stringify(a)})}async function n(){return e("/api/acl_stats")}const t={a:"24,3 76,3 83,7 76,11 24,11 17,7",b:"88,22 93,27 93,71 88,76 83,71 83,27",c:"88,106 93,111 93,155 88,160 83,155 83,111",d:"24,171 76,171 83,175 76,179 24,179 17,175",e:"12,106 17,111 17,155 12,160 7,155 7,111",f:"12,22 17,27 17,71 12,76 7,71 7,27",g:"24,86 76,86 83,91 76,96 24,96 17,91"},d=Object.keys(t),o={0:"abcdef",1:"bc",2:"abdeg",3:"abcdg",4:"bcfg",5:"acdfg",6:"acdefg",7:"abc",8:"abcdefg",9:"abcdfg",A:"abcefg",B:"cdefg",C:"adef",D:"bcdeg",E:"adefg",F:"aefg",G:"acdef",H:"bcefg",I:"ef",J:"bcde",L:"def",M:"abcefg",N:"ceg",O:"abcdef",P:"abefg",Q:"abcfg",R:"eg",S:"acdfg",T:"defg",U:"bcdef",V:"cde",Y:"bcdfg",Z:"abdeg",a:"abcefg",b:"cdefg",c:"deg",d:"bcdeg",e:"adefg",f:"aefg",g:"abcdfg",h:"cefg",i:"c",j:"bcde",l:"def",m:"abcef",n:"ceg",o:"cdeg",p:"abefg",r:"eg",s:"acdfg",t:"defg",u:"cde",v:"cde",y:"bcdfg"," ":"",_:"d","-":"g","=":"dg","°":"abfg",'"':"bf","'":"f","(":"adef",")":"abcd","[":"adef","]":"abcd","!":"bc",".":"d"};function r(e,a){const c=Array.from(e).map(e=>o[e.toUpperCase()]??o[e]??""),s=Math.max(0,(a??0)-e.length);for(let n=0;n<s;n++)c.push("");return c}function f({text:e,color:s="#FF8C00",size:n=18,minChars:o,noCycle:f=!1,className:g}){const l=Math.round(n*(100/182)),[i,b]=a.useState(null);a.useEffect(()=>{if(f)return;const a=r(e,o),c=6+2*(a.length-1);let s,n=0,t=!1;const g=()=>{t||(n++,n>=c?b(null):(b(a.map((e,a)=>n>=6+2*a?e:d.filter(()=>Math.random()>.45).join(""))),s=setTimeout(g,56)))};return g(),()=>{t=!0,clearTimeout(s)}},[e,o,f]);const u=r(e,o),p=i??u;return c.jsxs("span",{className:"seven-seg"+(g?` ${g}`:""),children:[p.map((e,a)=>((e,a)=>c.jsx("svg",{viewBox:"0 0 100 182",width:l,height:n,className:"seven-seg__char","aria-hidden":"true",children:d.map(a=>c.jsx("polygon",{points:t[a],fill:s,stroke:s,strokeWidth:4,strokeLinejoin:"round",opacity:e.includes(a)?1:.16},a))},a))(e,`${a}-${e}`)),c.jsx("span",{className:"sr-only",children:e})]})}function g({icon:e,onClick:s,title:n,iconColor:t="#000000",iconActiveColor:d="#FFDEB0",disabled:o=!1,className:r,keycapSrc:f="/assets/keycap.svg"}){const[g,l]=a.useState(!1),i=a.useCallback(()=>{o||l(!0)},[o]),b=a.useCallback(()=>{g&&(l(!1),s())},[g,s]),u=a.useCallback(()=>{l(!1)},[]);return c.jsx("button",{onMouseDown:i,onMouseUp:b,onMouseLeave:u,onTouchStart:i,onTouchEnd:b,onTouchCancel:u,disabled:o,className:`keycap-btn${f.includes("red")?" keycap-btn--red-cap":""}${g?" keycap-btn--pressed":""}${r?` ${r}`:""}`,title:n,children:c.jsxs("div",{className:"keycap-wrap",children:[c.jsx("img",{src:f,alt:"",className:"keycap-btn__img",draggable:!1}),c.jsx("span",{className:"keycap-icon-overlay",style:{color:g?d:t},children:e})]})})}export{g as K,f as S,n as g,s as r};

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{r as s,j as e,c as a}from"./vendor-react-j_fHog8x.js";import{c as t,bo as l,bp as r,k as c,bq as i,br as o,bs as n,B as m,bg as x,bd as d,bt as p}from"./index-wPlXlfBC.js";import{u as h}from"./usePolling-B1kG3uqm.js";import{P as g,b as j,B as u,a as y,L as b}from"./PageLayout-B5G_D5Fa.js";import{C as f}from"./Card-Cpy2oY-j.js";import"./maplibre-gl-b91ci4Kr.js";import"./vendor-core-CDNU4oKM.js";const N=t("circle-play",[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]),v=t("circle-stop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]),w=s.memo(function({log:s}){return e.jsx("div",{className:"p-3 radius-card bg-subtle-fill hover:bg-subtle-fill-strong transition-base",children:e.jsxs("div",{className:"flex items-baseline gap-3",children:[e.jsx("span",{className:a("type-data-sm w-14 shrink-0",p(s.level)),children:s.level}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"type-data-sm text-text-primary break-words whitespace-pre-wrap",children:s.message}),e.jsx("p",{className:"type-data-xs text-text-muted mt-1",children:new Date(s.timestamp).toLocaleString()})]})]})})});function k({showDebug:s,onToggle:t}){return e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:a("type-data-sm",s?"text-accent-tertiary":"text-accent-primary"),children:s?"DEBUG":"INFO"}),e.jsx(d,{enabled:s,onChange:t,size:"sm"})]})}function C(){const t=l(),d=r(),p=c(),C=i(),D=o(),[L,P]=s.useState(!1),B=s.useCallback(()=>{P(s=>!s)},[]),z=L?t:t.filter(s=>"DEBUG"!==s.level);return h(C,x.logs,p),e.jsxs(g,{children:[e.jsx(j,{title:"System Logs",icon:e.jsx(n,{}),controls:e.jsx(k,{showDebug:L,onToggle:B})}),e.jsx(u,{children:e.jsxs(y,{noPadding:!0,children:[e.jsx(f,{listHeader:!0,icon:e.jsx(n,{className:"icon-sm"}),title:"Log Entries",actions:e.jsx(m,{plain:!0,color:p?"danger":"primary",onClick:()=>D(!p),title:p?"Pause":"Resume",className:a(!p&&"animate-pulse-slow"),children:p?e.jsx(v,{"data-slot":"icon",className:"!w-5 !h-5"}):e.jsx(N,{"data-slot":"icon",className:"!w-5 !h-5"})})}),e.jsx("div",{className:"space-y-2 max-h-[calc(100vh-300px)] sm:max-h-[calc(100vh-250px)] overflow-y-auto p-4",children:d&&0===t.length?e.jsx(b,{count:10}):0===z.length?e.jsx("div",{className:"text-center py-12 text-text-muted",children:0===t.length?"No logs available":"No logs match selected filters"}):z.map((s,a)=>e.jsx(w,{log:s},`${s.timestamp}-${a}`))})]})})]})}export{C as default};
import{r as s,j as e,c as a}from"./vendor-react-j_fHog8x.js";import{c as t,bo as l,bp as r,k as c,bq as i,br as o,bs as n,B as m,bg as x,bd as d,bt as p}from"./index-Bg0LHVU9.js";import{u as h}from"./usePolling-B1kG3uqm.js";import{P as g,b as j,B as u,a as y,L as b}from"./PageLayout-Dw8BdWO9.js";import{C as f}from"./Card-CBVt0wVy.js";import"./maplibre-gl-b91ci4Kr.js";import"./vendor-core-CDNU4oKM.js";const N=t("circle-play",[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]),v=t("circle-stop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]),w=s.memo(function({log:s}){return e.jsx("div",{className:"p-3 radius-card bg-subtle-fill hover:bg-subtle-fill-strong transition-base",children:e.jsxs("div",{className:"flex items-baseline gap-3",children:[e.jsx("span",{className:a("type-data-sm w-14 shrink-0",p(s.level)),children:s.level}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"type-data-sm text-text-primary break-words whitespace-pre-wrap",children:s.message}),e.jsx("p",{className:"type-data-xs text-text-muted mt-1",children:new Date(s.timestamp).toLocaleString()})]})]})})});function k({showDebug:s,onToggle:t}){return e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:a("type-data-sm",s?"text-accent-tertiary":"text-accent-primary"),children:s?"DEBUG":"INFO"}),e.jsx(d,{enabled:s,onChange:t,size:"sm"})]})}function C(){const t=l(),d=r(),p=c(),C=i(),D=o(),[L,P]=s.useState(!1),B=s.useCallback(()=>{P(s=>!s)},[]),z=L?t:t.filter(s=>"DEBUG"!==s.level);return h(C,x.logs,p),e.jsxs(g,{children:[e.jsx(j,{title:"System Logs",icon:e.jsx(n,{}),controls:e.jsx(k,{showDebug:L,onToggle:B})}),e.jsx(u,{children:e.jsxs(y,{noPadding:!0,children:[e.jsx(f,{listHeader:!0,icon:e.jsx(n,{className:"icon-sm"}),title:"Log Entries",actions:e.jsx(m,{plain:!0,color:p?"danger":"primary",onClick:()=>D(!p),title:p?"Pause":"Resume",className:a(!p&&"animate-pulse-slow"),children:p?e.jsx(v,{"data-slot":"icon",className:"!w-5 !h-5"}):e.jsx(N,{"data-slot":"icon",className:"!w-5 !h-5"})})}),e.jsx("div",{className:"space-y-2 max-h-[calc(100vh-300px)] sm:max-h-[calc(100vh-250px)] overflow-y-auto p-4",children:d&&0===t.length?e.jsx(b,{count:10}):0===z.length?e.jsx("div",{className:"text-center py-12 text-text-muted",children:0===t.length?"No logs available":"No logs match selected filters"}):z.map((s,a)=>e.jsx(w,{log:s},`${s.timestamp}-${a}`))})]})})]})}export{C as default};

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{j as e}from"./vendor-react-j_fHog8x.js";import{a as s}from"./PageLayout-B5G_D5Fa.js";import{D as t}from"./DataBox-BX4Ch8Vr.js";import{R as a,b3 as r}from"./index-wPlXlfBC.js";import{C as l}from"./Card-Cpy2oY-j.js";function c({nodeName:c,repeaterVersion:m,coreVersion:i,localHash:n,publicKey:d}){return e.jsxs(s,{children:[e.jsx(l,{icon:e.jsx(a,{}),title:"Node Information",largeTitle:!0}),e.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-3 sm:gap-4",children:[e.jsxs("div",{className:"min-w-0 col-span-2 sm:col-span-1",children:[e.jsx("span",{className:"type-label text-text-secondary",children:"Node Name"}),e.jsx("p",{className:"type-body text-text-primary mt-0.5 sm:mt-1 truncate",title:c,children:c})]}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("span",{className:"type-label text-text-secondary",children:"Repeater"}),e.jsxs("p",{className:"type-data text-text-primary mt-0.5 sm:mt-1 truncate",title:`v${m}`,children:["v",m]})]}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("span",{className:"type-label text-text-secondary",children:"Core"}),e.jsxs("p",{className:"type-data text-text-primary mt-0.5 sm:mt-1 truncate",title:`v${i}`,children:["v",i]})]}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("span",{className:"type-label text-text-secondary",children:"Console"}),e.jsxs("p",{className:"type-data text-text-primary mt-0.5 sm:mt-1 truncate",title:`v${r}`,children:["v",r]})]}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("span",{className:"type-label text-text-secondary",children:"Local Hash"}),e.jsx("div",{className:"mt-0.5 sm:mt-1",children:n?e.jsx(t,{copy:!0,size:"compact",children:n}):e.jsx("span",{className:"type-data-sm text-text-secondary",children:"N/A"})})]})]}),d&&e.jsxs("div",{className:"mt-3 sm:mt-4 pt-3 sm:pt-4 border-t border-border-subtle",children:[e.jsx("span",{className:"type-label text-text-secondary",children:"Public Key"}),e.jsx("div",{className:"mt-0.5 sm:mt-1",children:e.jsx(t,{copy:!0,size:"responsive",children:d})})]})]})}export{c as N};
import{j as e}from"./vendor-react-j_fHog8x.js";import{a as s}from"./PageLayout-Dw8BdWO9.js";import{D as t}from"./DataBox-BMKj53gG.js";import{R as a,b3 as r}from"./index-Bg0LHVU9.js";import{C as l}from"./Card-CBVt0wVy.js";function c({nodeName:c,repeaterVersion:m,coreVersion:i,localHash:n,publicKey:d}){return e.jsxs(s,{children:[e.jsx(l,{icon:e.jsx(a,{}),title:"Node Information",largeTitle:!0}),e.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-3 sm:gap-4",children:[e.jsxs("div",{className:"min-w-0 col-span-2 sm:col-span-1",children:[e.jsx("span",{className:"type-label text-text-secondary",children:"Node Name"}),e.jsx("p",{className:"type-body text-text-primary mt-0.5 sm:mt-1 truncate",title:c,children:c})]}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("span",{className:"type-label text-text-secondary",children:"Repeater"}),e.jsxs("p",{className:"type-data text-text-primary mt-0.5 sm:mt-1 truncate",title:`v${m}`,children:["v",m]})]}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("span",{className:"type-label text-text-secondary",children:"Core"}),e.jsxs("p",{className:"type-data text-text-primary mt-0.5 sm:mt-1 truncate",title:`v${i}`,children:["v",i]})]}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("span",{className:"type-label text-text-secondary",children:"Console"}),e.jsxs("p",{className:"type-data text-text-primary mt-0.5 sm:mt-1 truncate",title:`v${r}`,children:["v",r]})]}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("span",{className:"type-label text-text-secondary",children:"Local Hash"}),e.jsx("div",{className:"mt-0.5 sm:mt-1",children:n?e.jsx(t,{copy:!0,size:"compact",children:n}):e.jsx("span",{className:"type-data-sm text-text-secondary",children:"N/A"})})]})]}),d&&e.jsxs("div",{className:"mt-3 sm:mt-4 pt-3 sm:pt-4 border-t border-border-subtle",children:[e.jsx("span",{className:"type-label text-text-secondary",children:"Public Key"}),e.jsx("div",{className:"mt-0.5 sm:mt-1",children:e.jsx(t,{copy:!0,size:"responsive",children:d})})]})]})}export{c as N};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{j as s,c as e}from"./vendor-react-j_fHog8x.js";import"./index-wPlXlfBC.js";const a=[45,72,33,58,80,42,65,28,55,75,38,62];function l({className:a,style:l}){return s.jsx("div",{className:e("animate-pulse bg-subtle-fill radius-badge",a),style:l})}function c(){return s.jsx("div",{className:"p-3 radius-inner border-card bg-bg-subtle",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(l,{className:"w-14 h-6 rounded shrink-0"}),s.jsxs("div",{className:"flex-1 min-w-0 space-y-2",children:[s.jsx(l,{className:"h-4 w-full"}),s.jsx(l,{className:"h-4 w-3/4"}),s.jsx(l,{className:"h-3 w-32 mt-1"})]})]})})}function r({count:e=8}){return s.jsx("div",{className:"space-y-2",children:Array.from({length:e}).map((e,a)=>s.jsx(c,{},a))})}function i(){return s.jsxs("div",{className:"flex flex-col gap-3 h-full","aria-hidden":"true",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(l,{className:"w-5 h-5"}),s.jsx(l,{className:"h-4 w-24"})]}),s.jsx(l,{className:"h-8 w-20"}),s.jsxs("div",{className:"flex-1 flex flex-col justify-end gap-2",children:[s.jsx(l,{className:"h-3 w-full"}),s.jsx(l,{className:"h-3 w-3/4"})]})]})}function n(){return s.jsxs("div",{className:"flex flex-col gap-3 h-full","aria-hidden":"true",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(l,{className:"w-5 h-5"}),s.jsx(l,{className:"h-4 w-24"})]}),s.jsx("div",{className:"flex-1 flex items-end gap-1",children:a.slice(0,8).map((e,a)=>s.jsx(l,{className:"flex-1",style:{height:`${e}%`}},a))})]})}function t({rows:e=5}){return s.jsxs("div",{className:"flex flex-col h-full","aria-hidden":"true",children:[s.jsx("div",{className:"pb-3 border-b border-border-subtle",children:s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(l,{className:"w-5 h-5"}),s.jsx(l,{className:"h-4 w-24"})]})}),s.jsx("div",{className:"flex-1 pt-3 flex flex-col gap-3",children:Array.from({length:e}).map((e,a)=>s.jsx(l,{className:"h-6 w-full"},a))})]})}function d({children:a,className:l}){return s.jsx("div",{className:e("section-gap",l),children:a})}function x({children:a,className:l}){return s.jsx("div",{className:e("bento-section",l),children:a})}function m({title:e,icon:a,controls:l,subtitle:c}){return s.jsxs("div",{className:"flex flex-col gap-2",children:[s.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-3",children:[s.jsxs("h1",{className:"type-title text-text-primary flex items-center gap-2 sm:gap-3 h-9 min-w-0",children:[a&&s.jsx("span",{className:"w-5 h-5 sm:w-6 sm:h-6 text-icon-page-title flex-shrink-0",children:a}),s.jsx("span",{className:"truncate",children:e})]}),l&&s.jsx("div",{className:"flex items-center gap-2 sm:gap-3 h-9 flex-shrink-0",children:l})]}),c&&s.jsx("div",{children:c})]})}const h={sm:"card-sm",md:"card-md",lg:"card-lg",hero:"card-hero",auto:"card-auto"};function f({children:a,size:l,compact:c,noPadding:r,className:d,style:x,onClick:m,isLoaded:f=!0,skeletonType:o="card"}){return s.jsxs("div",{className:e("surface-base rounded-2xl h-full flex flex-col relative",!r&&(c?"card-padding-sm":"card-padding"),l&&h[l],d),style:x,onClick:m,children:[a,!f&&(()=>{switch(o){case"chart":return s.jsx(n,{});case"list":return s.jsx(t,{});default:return s.jsx(i,{})}})()]})}export{x as B,i as C,r as L,d as P,l as S,f as a,m as b};
import{j as s,c as e}from"./vendor-react-j_fHog8x.js";import"./index-Bg0LHVU9.js";const a=[45,72,33,58,80,42,65,28,55,75,38,62];function l({className:a,style:l}){return s.jsx("div",{className:e("animate-pulse bg-subtle-fill radius-badge",a),style:l})}function c(){return s.jsx("div",{className:"p-3 radius-inner border-card bg-bg-subtle",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(l,{className:"w-14 h-6 rounded shrink-0"}),s.jsxs("div",{className:"flex-1 min-w-0 space-y-2",children:[s.jsx(l,{className:"h-4 w-full"}),s.jsx(l,{className:"h-4 w-3/4"}),s.jsx(l,{className:"h-3 w-32 mt-1"})]})]})})}function r({count:e=8}){return s.jsx("div",{className:"space-y-2",children:Array.from({length:e}).map((e,a)=>s.jsx(c,{},a))})}function i(){return s.jsxs("div",{className:"flex flex-col gap-3 h-full","aria-hidden":"true",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(l,{className:"w-5 h-5"}),s.jsx(l,{className:"h-4 w-24"})]}),s.jsx(l,{className:"h-8 w-20"}),s.jsxs("div",{className:"flex-1 flex flex-col justify-end gap-2",children:[s.jsx(l,{className:"h-3 w-full"}),s.jsx(l,{className:"h-3 w-3/4"})]})]})}function n(){return s.jsxs("div",{className:"flex flex-col gap-3 h-full","aria-hidden":"true",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(l,{className:"w-5 h-5"}),s.jsx(l,{className:"h-4 w-24"})]}),s.jsx("div",{className:"flex-1 flex items-end gap-1",children:a.slice(0,8).map((e,a)=>s.jsx(l,{className:"flex-1",style:{height:`${e}%`}},a))})]})}function t({rows:e=5}){return s.jsxs("div",{className:"flex flex-col h-full","aria-hidden":"true",children:[s.jsx("div",{className:"pb-3 border-b border-border-subtle",children:s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(l,{className:"w-5 h-5"}),s.jsx(l,{className:"h-4 w-24"})]})}),s.jsx("div",{className:"flex-1 pt-3 flex flex-col gap-3",children:Array.from({length:e}).map((e,a)=>s.jsx(l,{className:"h-6 w-full"},a))})]})}function d({children:a,className:l}){return s.jsx("div",{className:e("section-gap",l),children:a})}function x({children:a,className:l}){return s.jsx("div",{className:e("bento-section",l),children:a})}function m({title:e,icon:a,controls:l,subtitle:c}){return s.jsxs("div",{className:"flex flex-col gap-2",children:[s.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-3",children:[s.jsxs("h1",{className:"type-title text-text-primary flex items-center gap-2 sm:gap-3 h-9 min-w-0",children:[a&&s.jsx("span",{className:"w-5 h-5 sm:w-6 sm:h-6 text-icon-page-title flex-shrink-0",children:a}),s.jsx("span",{className:"truncate",children:e})]}),l&&s.jsx("div",{className:"flex items-center gap-2 sm:gap-3 h-9 flex-shrink-0",children:l})]}),c&&s.jsx("div",{children:c})]})}const h={sm:"card-sm",md:"card-md",lg:"card-lg",hero:"card-hero",auto:"card-auto"};function f({children:a,size:l,compact:c,noPadding:r,className:d,style:x,onClick:m,isLoaded:f=!0,skeletonType:o="card"}){return s.jsxs("div",{className:e("surface-base rounded-2xl h-full flex flex-col relative",!r&&(c?"card-padding-sm":"card-padding"),l&&h[l],d),style:x,onClick:m,children:[a,!f&&(()=>{switch(o){case"chart":return s.jsx(n,{});case"list":return s.jsx(t,{});default:return s.jsx(i,{})}})()]})}export{x as B,i as C,r as L,d as P,l as S,f as a,m as b};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{c as e}from"./index-wPlXlfBC.js";import{r as a,c as t,j as r}from"./vendor-react-j_fHog8x.js";import{s}from"./signal-scoring-CcBiRcks.js";const n=e("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),o=e("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),i=e("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]),l=e("signal-high",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}]]),c=e("signal-low",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}]]),d=e("signal-medium",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}]]),p=e("signal-zero",[["path",{d:"M2 20h.01",key:"4haj6o"}]]),x=e("signal",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}],["path",{d:"M22 4v16",key:"sih9yq"}]]),h=e("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),u={ADVERT:"purple",ACK:"emerald",REQ:"sky",RESPONSE:"sky",TXT_MSG:"teal",GRP_TXT:"teal",FLOOD:"sky",GRP_DATA:"indigo",PATH:"amber",MULTIPART:"violet",TRACE:"orange",ANON_REQ:"pink",RAW_CUSTOM:"fuchsia"},m={FLOOD:"sky",T_FLOOD:"sky",DIRECT:"cyan",T_DIRECT:"cyan"},y={rx:"sky",forward:"teal",duplicate:"zinc",tx:"amber",dropped:"rose"},g={neighbor:"amber",hub:"purple",gateway:"indigo",backbone:"purple",repeater:"teal",room:"pink",companion:"blue",client:"indigo",mobile:"orange"},f={hub:"amber",backbone:"purple",relay:"cyan",edge:"brown"},k={high:"green",medium:"amber",low:"orange",insufficient:"brown"},j={direct:"amber",multihop:"brown"},b={excellent:"color(display-p3 0.00 1.00 0.00)",good:"color(display-p3 0.55 0.90 0.15)",fair:"color(display-p3 1.00 0.85 0.00)",weak:"color(display-p3 1.00 0.55 0.15)",poor:"color(display-p3 1.00 0.20 0.20)"},w={excellent:"#4ADE80",good:"#A3E635",fair:"#FACC15",weak:"#FB923C",poor:"#EF4444"};function v(e){return e>=-90?"excellent":e>=-100?"good":e>=-110?"fair":e>=-120?"weak":"poor"}function M(e,a){return a?{backgroundColor:w[e],"--p3-color":b[e]}:{backgroundColor:"rgba(255, 255, 255, 0.1)"}}function N(e){return e?"signal-bar-active":""}function A({rssi:e,className:a="w-4 h-4"}){const s=v(e),n=function(e){switch(e){case"excellent":return"text-signal-excellent";case"good":return"text-signal-good";case"fair":return"text-signal-fair";case"weak":return"text-signal-poor";case"poor":return"text-signal-critical";default:return"text-text-muted"}}(s),o=t(n,a);switch(s){case"excellent":return r.jsx(x,{className:o});case"good":return r.jsx(l,{className:o});case"fair":return r.jsx(d,{className:o});case"weak":return r.jsx(c,{className:o});default:return r.jsx(p,{className:o})}}const T=a.memo(function({rssi:e,snr:a,compact:n=!1,showValues:o=!0,radioConfig:i,nfPenalty:l=0}){const c=void 0!==a?function(e,a,t,r=0){const n=s(a,e,t,r);return n?function(e){switch(e){case"excellent":return"excellent";case"good":return"good";case"fair":return"fair";case"poor":return"weak";case"critical":return"poor"}}(n.finalGrade):v(e)}(e,a,i,l):v(e),d={excellent:4,good:3,fair:2,weak:1,poor:0}[c];return n?r.jsxs("div",{className:"flex items-center gap-1.5",children:[o&&r.jsx("span",{className:"text-[10px] font-mono text-text-secondary tabular-nums w-[32px] text-left",children:e}),r.jsx("div",{className:"flex items-end gap-[2px] h-3 w-[14px]",children:Array.from({length:4}).map((e,a)=>r.jsx("div",{className:t("w-[3px] rounded-[1px] transition-colors",N(a<d)),style:{height:(a+1)/4*100+"%",...M(c,a<d)}},a))})]}):r.jsxs("div",{className:"flex items-center gap-2",children:[o&&r.jsxs("div",{className:"flex flex-col items-start w-[52px]",children:[r.jsxs("span",{className:"text-xs font-mono text-text-secondary leading-tight tabular-nums",children:[e," dBm"]}),void 0!==a&&r.jsxs("span",{className:"text-[10px] font-mono text-text-muted leading-tight tabular-nums",children:[a.toFixed(1)," dB"]})]}),r.jsx("div",{className:"flex items-end gap-[2px] h-3.5 w-[14px]",children:Array.from({length:4}).map((e,a)=>r.jsx("div",{className:t("w-[3px] rounded-[1px] transition-colors",N(a<d)),style:{height:(a+1)/4*100+"%",...M(c,a<d)}},a))})]})});function C(e){const a=v(e);return a.charAt(0).toUpperCase()+a.slice(1)}export{i as C,y as D,j as H,f as N,u as P,m as R,T as S,h as Z,o as a,x as b,n as c,g as d,A as e,k as f,C as g};
import{c as e}from"./index-Bg0LHVU9.js";import{r as a,c as t,j as r}from"./vendor-react-j_fHog8x.js";import{s}from"./signal-scoring-CcBiRcks.js";const n=e("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),o=e("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),i=e("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]),l=e("signal-high",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}]]),c=e("signal-low",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}]]),d=e("signal-medium",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}]]),p=e("signal-zero",[["path",{d:"M2 20h.01",key:"4haj6o"}]]),x=e("signal",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}],["path",{d:"M22 4v16",key:"sih9yq"}]]),h=e("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),u={ADVERT:"purple",ACK:"emerald",REQ:"sky",RESPONSE:"sky",TXT_MSG:"teal",GRP_TXT:"teal",FLOOD:"sky",GRP_DATA:"indigo",PATH:"amber",MULTIPART:"violet",TRACE:"orange",ANON_REQ:"pink",RAW_CUSTOM:"fuchsia"},m={FLOOD:"sky",T_FLOOD:"sky",DIRECT:"cyan",T_DIRECT:"cyan"},y={rx:"sky",forward:"teal",duplicate:"zinc",tx:"amber",dropped:"rose"},g={neighbor:"amber",hub:"purple",gateway:"indigo",backbone:"purple",repeater:"teal",room:"pink",companion:"blue",client:"indigo",mobile:"orange"},f={hub:"amber",backbone:"purple",relay:"cyan",edge:"brown"},k={high:"green",medium:"amber",low:"orange",insufficient:"brown"},j={direct:"amber",multihop:"brown"},b={excellent:"color(display-p3 0.00 1.00 0.00)",good:"color(display-p3 0.55 0.90 0.15)",fair:"color(display-p3 1.00 0.85 0.00)",weak:"color(display-p3 1.00 0.55 0.15)",poor:"color(display-p3 1.00 0.20 0.20)"},w={excellent:"#4ADE80",good:"#A3E635",fair:"#FACC15",weak:"#FB923C",poor:"#EF4444"};function v(e){return e>=-90?"excellent":e>=-100?"good":e>=-110?"fair":e>=-120?"weak":"poor"}function M(e,a){return a?{backgroundColor:w[e],"--p3-color":b[e]}:{backgroundColor:"rgba(255, 255, 255, 0.1)"}}function N(e){return e?"signal-bar-active":""}function A({rssi:e,className:a="w-4 h-4"}){const s=v(e),n=function(e){switch(e){case"excellent":return"text-signal-excellent";case"good":return"text-signal-good";case"fair":return"text-signal-fair";case"weak":return"text-signal-poor";case"poor":return"text-signal-critical";default:return"text-text-muted"}}(s),o=t(n,a);switch(s){case"excellent":return r.jsx(x,{className:o});case"good":return r.jsx(l,{className:o});case"fair":return r.jsx(d,{className:o});case"weak":return r.jsx(c,{className:o});default:return r.jsx(p,{className:o})}}const T=a.memo(function({rssi:e,snr:a,compact:n=!1,showValues:o=!0,radioConfig:i,nfPenalty:l=0}){const c=void 0!==a?function(e,a,t,r=0){const n=s(a,e,t,r);return n?function(e){switch(e){case"excellent":return"excellent";case"good":return"good";case"fair":return"fair";case"poor":return"weak";case"critical":return"poor"}}(n.finalGrade):v(e)}(e,a,i,l):v(e),d={excellent:4,good:3,fair:2,weak:1,poor:0}[c];return n?r.jsxs("div",{className:"flex items-center gap-1.5",children:[o&&r.jsx("span",{className:"text-[10px] font-mono text-text-secondary tabular-nums w-[32px] text-left",children:e}),r.jsx("div",{className:"flex items-end gap-[2px] h-3 w-[14px]",children:Array.from({length:4}).map((e,a)=>r.jsx("div",{className:t("w-[3px] rounded-[1px] transition-colors",N(a<d)),style:{height:(a+1)/4*100+"%",...M(c,a<d)}},a))})]}):r.jsxs("div",{className:"flex items-center gap-2",children:[o&&r.jsxs("div",{className:"flex flex-col items-start w-[52px]",children:[r.jsxs("span",{className:"text-xs font-mono text-text-secondary leading-tight tabular-nums",children:[e," dBm"]}),void 0!==a&&r.jsxs("span",{className:"text-[10px] font-mono text-text-muted leading-tight tabular-nums",children:[a.toFixed(1)," dB"]})]}),r.jsx("div",{className:"flex items-end gap-[2px] h-3.5 w-[14px]",children:Array.from({length:4}).map((e,a)=>r.jsx("div",{className:t("w-[3px] rounded-[1px] transition-colors",N(a<d)),style:{height:(a+1)/4*100+"%",...M(c,a<d)}},a))})]})});function C(e){const a=v(e);return a.charAt(0).toUpperCase()+a.slice(1)}export{i as C,y as D,j as H,f as N,u as P,m as R,T as S,h as Z,o as a,x as b,n as c,g as d,A as e,k as f,C as g};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{c as e,b1 as s}from"./index-wPlXlfBC.js";import{r as o,j as a,c as t}from"./vendor-react-j_fHog8x.js";import{A as r}from"./index-kCPLHuQX.js";import{t as i}from"./config-Cu72TjJC.js";const n=e("ear-off",[["path",{d:"M6 18.5a3.5 3.5 0 1 0 7 0c0-1.57.92-2.52 2.04-3.46",key:"1qngmn"}],["path",{d:"M6 8.5c0-.75.13-1.47.36-2.14",key:"b06bma"}],["path",{d:"M8.8 3.15A6.5 6.5 0 0 1 19 8.5c0 1.63-.44 2.81-1.09 3.76",key:"g10hsz"}],["path",{d:"M12.5 6A2.5 2.5 0 0 1 15 8.5M10 13a2 2 0 0 0 1.82-1.18",key:"ygzou7"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]),c=o.memo(function({value:e,format:t,prefix:n,suffix:c,className:m,priority:l="medium"}){const[f,u]=o.useState(!1),[d,p]=o.useState(e);o.useEffect(()=>s(()=>{u(!0),p(0)},l),[l]),o.useEffect(()=>{f&&p(e)},[f,e]);const g=`${n??""}${e.toLocaleString(void 0,t)}${c??""}`;return f?a.jsx(r,{className:`${m??""} overflow-hidden`,format:t,prefix:n,suffix:c,transition:i.numberTicker,children:d}):a.jsx("span",{className:m,children:g})}),m=o.memo(function({ranges:e,selectedIndex:s,onSelect:o,isPending:r,size:i="default"}){const n="sm"===i?"toggle-group-sm":"micro"===i?"toggle-group-micro":"";return a.jsx("div",{className:t("toggle-group flex-shrink-0 overflow-x-auto",n,r&&"opacity-70"),children:e.map((e,r)=>a.jsx("button",{onClick:()=>o(r),className:t("toggle-group-item",s===r&&"active"),children:e.label},e.label))})});export{c as A,n as E,m as T};
import{c as e,b1 as s}from"./index-Bg0LHVU9.js";import{r as o,j as a,c as t}from"./vendor-react-j_fHog8x.js";import{A as r}from"./index-DZ3gMFx3.js";import{t as i}from"./config-Cu72TjJC.js";const n=e("ear-off",[["path",{d:"M6 18.5a3.5 3.5 0 1 0 7 0c0-1.57.92-2.52 2.04-3.46",key:"1qngmn"}],["path",{d:"M6 8.5c0-.75.13-1.47.36-2.14",key:"b06bma"}],["path",{d:"M8.8 3.15A6.5 6.5 0 0 1 19 8.5c0 1.63-.44 2.81-1.09 3.76",key:"g10hsz"}],["path",{d:"M12.5 6A2.5 2.5 0 0 1 15 8.5M10 13a2 2 0 0 0 1.82-1.18",key:"ygzou7"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]),c=o.memo(function({value:e,format:t,prefix:n,suffix:c,className:m,priority:l="medium"}){const[f,u]=o.useState(!1),[d,p]=o.useState(e);o.useEffect(()=>s(()=>{u(!0),p(0)},l),[l]),o.useEffect(()=>{f&&p(e)},[f,e]);const g=`${n??""}${e.toLocaleString(void 0,t)}${c??""}`;return f?a.jsx(r,{className:`${m??""} overflow-hidden`,format:t,prefix:n,suffix:c,transition:i.numberTicker,children:d}):a.jsx("span",{className:m,children:g})}),m=o.memo(function({ranges:e,selectedIndex:s,onSelect:o,isPending:r,size:i="default"}){const n="sm"===i?"toggle-group-sm":"micro"===i?"toggle-group-micro":"";return a.jsx("div",{className:t("toggle-group flex-shrink-0 overflow-x-auto",n,r&&"opacity-70"),children:e.map((e,r)=>a.jsx("button",{onClick:()=>o(r),className:t("toggle-group-item",s===r&&"active"),children:e.label},e.label))})});export{c as A,n as E,m as T};

View File

@@ -1 +1 @@
import{c as a}from"./index-wPlXlfBC.js";const t=a("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);export{t as A};
import{c as a}from"./index-Bg0LHVU9.js";const t=a("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);export{t as A};

View File

@@ -1 +1 @@
import{c as a}from"./index-wPlXlfBC.js";const e=a("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]),r=a("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);export{e as A,r as a};
import{c as a}from"./index-Bg0LHVU9.js";const e=a("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]),r=a("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);export{e as A,r as a};

View File

@@ -1 +0,0 @@
import{c as t}from"./index-wPlXlfBC.js";const h=t("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);export{h as C};

View File

@@ -0,0 +1 @@
import{c as t}from"./index-Bg0LHVU9.js";const h=t("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);export{h as C};

View File

@@ -1 +1 @@
import{c}from"./index-wPlXlfBC.js";const e=c("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);export{e as C};
import{c}from"./index-Bg0LHVU9.js";const e=c("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);export{e as C};

View File

@@ -1 +1 @@
import{c}from"./index-wPlXlfBC.js";const e=c("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);export{e as C};
import{c}from"./index-Bg0LHVU9.js";const e=c("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);export{e as C};

View File

@@ -1 +1 @@
import{c as e}from"./index-wPlXlfBC.js";const s=e("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);export{s as D};
import{c as e}from"./index-Bg0LHVU9.js";const s=e("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);export{s as D};

View File

@@ -1 +1 @@
import{c as a,cY as s}from"./index-wPlXlfBC.js";const c=a("compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]),e=s(.65,0,.35,1),m=s(.33,1,.68,1),o=s(.33,.67,.67,1),p=s(.76,0,.24,1);export{c as C,m as a,e as b,o as c,p as e};
import{c as a,cY as s}from"./index-Bg0LHVU9.js";const c=a("compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]),e=s(.65,0,.35,1),m=s(.33,1,.68,1),o=s(.33,.67,.67,1),p=s(.76,0,.24,1);export{c as C,m as a,e as b,o as c,p as e};

View File

@@ -1 +1 @@
import{c as a}from"./index-wPlXlfBC.js";const s=a("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]);export{s as F};
import{c as a}from"./index-Bg0LHVU9.js";const s=a("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]);export{s as F};

View File

@@ -1 +1 @@
import{c as t}from"./index-wPlXlfBC.js";const a=t("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);function h(t,a,h,n){const s=(h-t)*Math.PI/180,M=(n-a)*Math.PI/180,o=Math.sin(s/2)*Math.sin(s/2)+Math.cos(t*Math.PI/180)*Math.cos(h*Math.PI/180)*Math.sin(M/2)*Math.sin(M/2);return 2*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))*6371e3}function n(t,a){return void 0!==t&&void 0!==a&&(0!==t||0!==a)}export{a as D,h as c,n as h};
import{c as t}from"./index-Bg0LHVU9.js";const a=t("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);function h(t,a,h,n){const s=(h-t)*Math.PI/180,M=(n-a)*Math.PI/180,o=Math.sin(s/2)*Math.sin(s/2)+Math.cos(t*Math.PI/180)*Math.cos(h*Math.PI/180)*Math.sin(M/2)*Math.sin(M/2);return 2*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))*6371e3}function n(t,a){return void 0!==t&&void 0!==a&&(0!==t||0!==a)}export{a as D,h as c,n as h};

View File

@@ -1 +1 @@
import{c}from"./index-wPlXlfBC.js";const e=c("git-branch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);export{e as G};
import{c}from"./index-Bg0LHVU9.js";const e=c("git-branch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);export{e as G};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{c as e}from"./index-wPlXlfBC.js";const c=e("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);export{c as I};
import{c as e}from"./index-Bg0LHVU9.js";const c=e("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);export{c as I};

View File

@@ -1 +1 @@
import{c as a}from"./index-wPlXlfBC.js";const r=a("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);export{r as K};
import{c as a}from"./index-Bg0LHVU9.js";const r=a("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);export{r as K};

View File

@@ -1 +1 @@
import{c as a}from"./index-wPlXlfBC.js";const l=a("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);export{l as L};
import{c as a}from"./index-Bg0LHVU9.js";const l=a("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);export{l as L};

View File

@@ -1 +1 @@
import{c as t,v as e,b5 as n}from"./index-wPlXlfBC.js";const o=t("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]),a=t("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);function s(t){if(Array.isArray(t))return t;if("string"==typeof t&&t.startsWith("["))try{const e=JSON.parse(t);return Array.isArray(e)?e:[]}catch{return[]}return[]}function r(t,o,a){const r=new Map;for(const n of o){const t=e(n);r.has(t)||r.set(t,n)}const c=new Map,h=new Map;for(const e of t){const t=e.route??e.route_type;if(!n(t))continue;const o=s(e.original_path);if(0===o.length)continue;const i=o.map(t=>t.toUpperCase());if(!e.transmitted&&i.length>=2){const t=i[i.length-2];if(t){const e=r.get(t);e&&h.set(e,(h.get(e)??0)+1)}}if(i.includes(a))for(const e of i){if(e===a)continue;const t=r.get(e);t&&c.set(t,(c.get(t)??0)+1)}}let i=0,f=0;for(const e of o)i=Math.max(i,c.get(e)??0),f=Math.max(f,h.get(e)??0);const p=new Map;let u=0,d=0,m=0;for(const e of o){const t=c.get(e)??0,n=h.get(e)??0,o=i>0?Math.round(t/i*100):0,a=f>0?Math.round(n/f*100):0,s=o+a;p.set(e,{hash:e,listenerCount:t,loudCount:n,listenerScore:o,loudScore:a,blendedScore:s}),u=Math.max(u,o),d=Math.max(d,a),m=Math.max(m,s)}return{scores:p,maxListenerScore:u,maxLoudScore:d,maxBlendedScore:m}}const c={YELLOW:"#FFB224",GREEN:"#46A758",RED:"#E5484D",GRAY:"#505050"};export{c as L,o as M,a as S,r as c};
import{c as t,v as e,b5 as n}from"./index-Bg0LHVU9.js";const o=t("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]),a=t("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);function s(t){if(Array.isArray(t))return t;if("string"==typeof t&&t.startsWith("["))try{const e=JSON.parse(t);return Array.isArray(e)?e:[]}catch{return[]}return[]}function r(t,o,a){const r=new Map;for(const n of o){const t=e(n);r.has(t)||r.set(t,n)}const c=new Map,h=new Map;for(const e of t){const t=e.route??e.route_type;if(!n(t))continue;const o=s(e.original_path);if(0===o.length)continue;const i=o.map(t=>t.toUpperCase());if(!e.transmitted&&i.length>=2){const t=i[i.length-2];if(t){const e=r.get(t);e&&h.set(e,(h.get(e)??0)+1)}}if(i.includes(a))for(const e of i){if(e===a)continue;const t=r.get(e);t&&c.set(t,(c.get(t)??0)+1)}}let i=0,f=0;for(const e of o)i=Math.max(i,c.get(e)??0),f=Math.max(f,h.get(e)??0);const p=new Map;let u=0,d=0,m=0;for(const e of o){const t=c.get(e)??0,n=h.get(e)??0,o=i>0?Math.round(t/i*100):0,a=f>0?Math.round(n/f*100):0,s=o+a;p.set(e,{hash:e,listenerCount:t,loudCount:n,listenerScore:o,loudScore:a,blendedScore:s}),u=Math.max(u,o),d=Math.max(d,a),m=Math.max(m,s)}return{scores:p,maxListenerScore:u,maxLoudScore:d,maxBlendedScore:m}}const c={YELLOW:"#FFB224",GREEN:"#46A758",RED:"#E5484D",GRAY:"#505050"};export{c as L,o as M,a as S,r as c};

View File

@@ -1 +1 @@
import{j as e,l as a,c as s,n as t,o as r,p as n,I as l,r as i}from"./vendor-react-j_fHog8x.js";import{t as o}from"./config-Cu72TjJC.js";import{O as c,A as d,m,f as x}from"./index-wPlXlfBC.js";function p({value:l,onChange:i,className:x,placeholder:p,disabled:u,"aria-label":h,children:b}){return e.jsx(a,{value:l,onChange:i,disabled:u,children:({open:a})=>e.jsxs("div",{className:s("relative",x),children:[e.jsxs(t,{"aria-label":h,className:s(["relative flex w-full items-center justify-between gap-2","radius-inner px-3 py-2","text-left text-sm text-text-primary","bg-bg-subtle border-control","ring-focus-inset","hover:border-border-strong","disabled:opacity-40 disabled:pointer-events-none disabled:cursor-not-allowed","transition-colors"]),children:[e.jsx(r,{as:"span",options:b,placeholder:p&&e.jsx("span",{className:"text-text-muted",children:p}),className:"block truncate"}),e.jsx(c,{className:s("w-4 h-4 text-text-muted transition-transform duration-200",a&&"rotate-180")})]}),e.jsx(d,{children:a&&e.jsx(m.div,{initial:{opacity:0,y:-4,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-4,scale:.98},transition:o.dropdown,className:"absolute z-50 mt-1",children:e.jsx(n,{static:!0,anchor:"bottom start",className:s(["w-[var(--button-width)] min-w-[180px]","max-h-60 overflow-y-auto overscroll-contain scroll-py-1","radius-inset p-1","surface-elevated","focus:outline-none"]),children:b})})})]})})}function u({value:a,disabled:t,className:r,children:n}){return e.jsx(l,{as:i.Fragment,value:a,disabled:t,children:({selected:a,focus:l})=>e.jsxs("div",{className:s("flex items-center gap-2 px-3 py-2 radius-control cursor-default","text-sm",l&&"bg-accent-primary text-white",!l&&"text-text-primary",a&&!l&&"text-accent-primary",t&&"opacity-50 cursor-not-allowed",r),children:[e.jsx("span",{className:"w-4 flex-shrink-0",children:a&&e.jsx(x,{className:"w-4 h-4"})}),e.jsx("span",{className:"truncate",children:n})]})})}function h({className:a,...t}){return e.jsx("span",{...t,className:s("truncate",a)})}export{p as L,u as a,h as b};
import{j as e,l as a,c as s,n as t,o as r,p as n,I as l,r as i}from"./vendor-react-j_fHog8x.js";import{t as o}from"./config-Cu72TjJC.js";import{O as c,A as d,m,f as x}from"./index-Bg0LHVU9.js";function p({value:l,onChange:i,className:x,placeholder:p,disabled:u,"aria-label":h,children:b}){return e.jsx(a,{value:l,onChange:i,disabled:u,children:({open:a})=>e.jsxs("div",{className:s("relative",x),children:[e.jsxs(t,{"aria-label":h,className:s(["relative flex w-full items-center justify-between gap-2","radius-inner px-3 py-2","text-left text-sm text-text-primary","bg-bg-subtle border-control","ring-focus-inset","hover:border-border-strong","disabled:opacity-40 disabled:pointer-events-none disabled:cursor-not-allowed","transition-colors"]),children:[e.jsx(r,{as:"span",options:b,placeholder:p&&e.jsx("span",{className:"text-text-muted",children:p}),className:"block truncate"}),e.jsx(c,{className:s("w-4 h-4 text-text-muted transition-transform duration-200",a&&"rotate-180")})]}),e.jsx(d,{children:a&&e.jsx(m.div,{initial:{opacity:0,y:-4,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-4,scale:.98},transition:o.dropdown,className:"absolute z-50 mt-1",children:e.jsx(n,{static:!0,anchor:"bottom start",className:s(["w-[var(--button-width)] min-w-[180px]","max-h-60 overflow-y-auto overscroll-contain scroll-py-1","radius-inset p-1","surface-elevated","focus:outline-none"]),children:b})})})]})})}function u({value:a,disabled:t,className:r,children:n}){return e.jsx(l,{as:i.Fragment,value:a,disabled:t,children:({selected:a,focus:l})=>e.jsxs("div",{className:s("flex items-center gap-2 px-3 py-2 radius-control cursor-default","text-sm",l&&"bg-accent-primary text-white",!l&&"text-text-primary",a&&!l&&"text-accent-primary",t&&"opacity-50 cursor-not-allowed",r),children:[e.jsx("span",{className:"w-4 flex-shrink-0",children:a&&e.jsx(x,{className:"w-4 h-4"})}),e.jsx("span",{className:"truncate",children:n})]})})}function h({className:a,...t}){return e.jsx("span",{...t,className:s("truncate",a)})}export{p as L,u as a,h as b};

View File

@@ -1 +1 @@
import{c}from"./index-wPlXlfBC.js";const r=c("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);export{r as M};
import{c}from"./index-Bg0LHVU9.js";const r=c("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);export{r as M};

View File

@@ -1 +1 @@
import{c as e}from"./index-wPlXlfBC.js";const t=e("network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);export{t as N};
import{c as e}from"./index-Bg0LHVU9.js";const t=e("network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);export{t as N};

View File

@@ -1 +1 @@
import{ct as t}from"./index-wPlXlfBC.js";async function e(e,r=10){return t("/api/ping_neighbor",{method:"POST",body:JSON.stringify({target_id:e,timeout:r})})}const r=["Chat Node","Repeater","Room Server","Hybrid Node","Unknown"];async function s(s,o=10){if(o<1||o>60)return{success:!1,error:"Timeout must be 1-60 seconds"};let n;const a=s.match(/^(0x)?([0-9a-fA-F]{1,2})$/);if(a)n=`0x${a[2].padStart(2,"0")}`;else{const e=await async function(e){const s=e.toLowerCase();for(const o of r)try{const e=await t(`/api/adverts_by_contact_type?contact_type=${encodeURIComponent(o)}&hours=168`),r=e.success&&e.data?e.data:e,n=(Array.isArray(r)?r:[]).find(t=>t.node_name&&t.node_name.toLowerCase()===s);if(n&&n.pubkey)return`0x${n.pubkey.substring(0,2)}`}catch{continue}return null}(s);if(!e)return{success:!1,error:`Node '${s}' not found`};n=e}const c=await e(n,o);if(!c.success||!c.data)return{success:!1,error:c.error||"Ping failed"};const i=(u=c.data).rtt_ms>500||u.rssi<-120?"Poor":u.rtt_ms>250||u.rssi<-100?"Fair":u.rtt_ms>100||u.rssi<-80?"Good":"Excellent";var u;return{success:!0,data:{...c.data,quality:i}}}export{s as a,e as p};
import{ct as t}from"./index-Bg0LHVU9.js";async function e(e,r=10){return t("/api/ping_neighbor",{method:"POST",body:JSON.stringify({target_id:e,timeout:r})})}const r=["Chat Node","Repeater","Room Server","Hybrid Node","Unknown"];async function s(s,o=10){if(o<1||o>60)return{success:!1,error:"Timeout must be 1-60 seconds"};let n;const a=s.match(/^(0x)?([0-9a-fA-F]{1,2})$/);if(a)n=`0x${a[2].padStart(2,"0")}`;else{const e=await async function(e){const s=e.toLowerCase();for(const o of r)try{const e=await t(`/api/adverts_by_contact_type?contact_type=${encodeURIComponent(o)}&hours=168`),r=e.success&&e.data?e.data:e,n=(Array.isArray(r)?r:[]).find(t=>t.node_name&&t.node_name.toLowerCase()===s);if(n&&n.pubkey)return`0x${n.pubkey.substring(0,2)}`}catch{continue}return null}(s);if(!e)return{success:!1,error:`Node '${s}' not found`};n=e}const c=await e(n,o);if(!c.success||!c.data)return{success:!1,error:c.error||"Ping failed"};const i=(u=c.data).rtt_ms>500||u.rssi<-120?"Poor":u.rtt_ms>250||u.rssi<-100?"Fair":u.rtt_ms>100||u.rssi<-80?"Good":"Excellent";var u;return{success:!0,data:{...c.data,quality:i}}}export{s as a,e as p};

View File

@@ -1 +1 @@
import{c as a}from"./index-wPlXlfBC.js";const e=a("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);export{e as R};
import{c as a}from"./index-Bg0LHVU9.js";const e=a("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);export{e as R};

View File

@@ -1 +1 @@
import{c as y}from"./index-wPlXlfBC.js";const e=y("hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]),c=y("route",[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]]);export{e as H,c as R};
import{c as y}from"./index-Bg0LHVU9.js";const e=y("hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]),c=y("route",[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]]);export{e as H,c as R};

View File

@@ -1 +1 @@
import{c}from"./index-wPlXlfBC.js";const e=c("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);export{e as S};
import{c}from"./index-Bg0LHVU9.js";const e=c("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);export{e as S};

View File

@@ -1 +1 @@
import{c}from"./index-wPlXlfBC.js";const e=c("settings-2",[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);export{e as S};
import{c}from"./index-Bg0LHVU9.js";const e=c("settings-2",[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);export{e as S};

View File

@@ -1 +1 @@
import{ct as n}from"./index-wPlXlfBC.js";async function t(){return n("/api/transport_keys")}async function o(t){return n("/api/transport_keys",{method:"POST",body:JSON.stringify(t)})}async function a(t,o){return n(`/api/transport_key/${t}`,{method:"PUT",body:JSON.stringify(o)})}async function r(t){return n(`/api/transport_key/${t}`,{method:"DELETE"})}async function s(t){return n("/api/global_flood_policy",{method:"POST",body:JSON.stringify({global_flood_allow:t})})}async function i(t){return n("/api/restart_service",{method:"POST",body:"{}",signal:t})}async function e(){return n("/api/check_pymc_console")}export{o as a,e as c,r as d,t as g,i as r,s,a as u};
import{ct as n}from"./index-Bg0LHVU9.js";async function t(){return n("/api/transport_keys")}async function o(t){return n("/api/transport_keys",{method:"POST",body:JSON.stringify(t)})}async function a(t,o){return n(`/api/transport_key/${t}`,{method:"PUT",body:JSON.stringify(o)})}async function r(t){return n(`/api/transport_key/${t}`,{method:"DELETE"})}async function s(t){return n("/api/global_flood_policy",{method:"POST",body:JSON.stringify({global_flood_allow:t})})}async function i(t){return n("/api/restart_service",{method:"POST",body:"{}",signal:t})}async function e(){return n("/api/check_pymc_console")}export{o as a,e as c,r as d,t as g,i as r,s,a as u};

View File

@@ -1 +1 @@
import{c}from"./index-wPlXlfBC.js";const e=c("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),a=c("shield-alert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]),r=c("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);export{e as E,a as S,r as T};
import{c}from"./index-Bg0LHVU9.js";const e=c("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),a=c("shield-alert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]),r=c("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);export{e as E,a as S,r as T};

View File

@@ -1 +1 @@
import{c as a}from"./index-wPlXlfBC.js";const t=a("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]),e=a("trending-down",[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]]),p=a("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);export{t as M,p as T,e as a};
import{c as a}from"./index-Bg0LHVU9.js";const t=a("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]),e=a("trending-down",[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]]),p=a("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);export{t as M,p as T,e as a};

View File

@@ -1 +1 @@
import{c as a}from"./index-wPlXlfBC.js";const e=a("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);export{e as T};
import{c as a}from"./index-Bg0LHVU9.js";const e=a("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);export{e as T};

View File

@@ -1 +1 @@
import{c as a}from"./index-wPlXlfBC.js";const e=a("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);export{e as U};
import{c as a}from"./index-Bg0LHVU9.js";const e=a("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);export{e as U};

View File

@@ -1 +1 @@
import{c as a}from"./index-wPlXlfBC.js";const e=a("wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);export{e as W};
import{c as a}from"./index-Bg0LHVU9.js";const e=a("wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);export{e as W};

View File

@@ -39,7 +39,7 @@
--font-data: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
}
</style>
<script type="module" crossorigin src="/assets/index-wPlXlfBC.js"></script>
<script type="module" crossorigin src="/assets/index-Bg0LHVU9.js"></script>
<link rel="modulepreload" crossorigin href="/assets/vendor-react-j_fHog8x.js">
<link rel="modulepreload" crossorigin href="/assets/vendor-core-CDNU4oKM.js">
<link rel="stylesheet" crossorigin href="/assets/maplibre-gl-B1CfjdFi.css">

View File

@@ -1,6 +1,6 @@
{
"name": "pymc_console",
"version": "0.9.237",
"version": "0.9.238",
"description": "Vite + React Dashboard for pyMC_Repeater",
"private": true,
"type": "module",