Sync build v0.9.285

Automated sync from private repository.
Commit: e07799f0e20ce0f3411a71153fffda105576c00f
This commit is contained in:
GitHub Actions Bot
2026-02-27 07:38:23 +00:00
parent 7ef1fa6b83
commit bbd0bbbb61
140 changed files with 83 additions and 103 deletions
+1 -1
View File
@@ -1 +1 @@
0.9.284
0.9.285
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{c as e,bm as a,bn as s}from"./index-SWncPehc.js";import{r as t,j as r}from"./vendor-react-Co0R0q1H.js";import{A as o}from"./index-BNXs1hsv.js";const i=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"}]]),n=t.memo(function({value:e,format:i,prefix:n,suffix:f,className:m,priority:c="medium"}){const[d,p]=t.useState(!1),[u,x]=t.useState(e);t.useEffect(()=>a(()=>{p(!0),x(0)},c),[c]),t.useEffect(()=>{d&&x(e)},[d,e]);const l=`${n??""}${e.toLocaleString(void 0,i)}${f??""}`;return d?r.jsx(o,{className:`${m??""} overflow-hidden`,format:i,prefix:n,suffix:f,transition:s.numberTicker,children:u}):r.jsx("span",{className:m,children:l})});export{n as A,i as E};
+1
View File
@@ -0,0 +1 @@
import{r as e,j as s}from"./vendor-react-alRNW2nb.js";import{a as r}from"./vendor-motion-DNp0Qg4F.js";import{a$ as o,b0 as t}from"./index-D7i6lQrq.js";const a=e.memo(function({value:a,format:i,prefix:n,suffix:f,className:m,priority:c="medium"}){const[u,d]=e.useState(!1),[l,p]=e.useState(a);e.useEffect(()=>o(()=>{d(!0),p(0)},c),[c]),e.useEffect(()=>{u&&p(a)},[u,a]);const x=`${n??""}${a.toLocaleString(void 0,i)}${f??""}`;return u?s.jsx(r,{className:`${m??""} overflow-hidden`,format:i,prefix:n,suffix:f,transition:t.numberTicker,children:l}):s.jsx("span",{className:m,children:x})});export{a as A};
+1
View File
@@ -0,0 +1 @@
import{a as t}from"./vendor-core-FtpmsTnh.js";import{r as e}from"./vendor-react-alRNW2nb.js";import{u as r}from"./maplibre-gl-BwLPRSIs.js";const a="pymc-basemap-mode",o="dark";function s(){if("undefined"==typeof window)return o;try{const t=localStorage.getItem(a);if("light"===t||"dark"===t)return t}catch{}return o}function n(t){if("undefined"!=typeof window)try{localStorage.setItem(a,t)}catch{}}const i=t(t=>({mode:s(),toggle:()=>t(t=>{const e="light"===t.mode?"dark":"light";return n(e),{mode:e}}),setMode:e=>{n(e),t({mode:e})}})),c=()=>i(t=>t.mode),l=()=>i(t=>t.toggle),d={light:"https://basemaps.cartocdn.com/gl/positron-gl-style/style.json",dark:"https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json"},u={light:"basemap-light-",dark:"basemap-dark-"},f={};function g({mode:t}){const{current:a}=r(),[o,s]=e.useState(null),n=e.useRef({light:!1,dark:!1}),i=e.useRef({light:[],dark:[]});e.useEffect(()=>{const t=()=>{var t;const e=null==(t=null==a?void 0:a.getMap)?void 0:t.call(a);e&&!o&&s(e)};t();const e=setInterval(t,50),r=setTimeout(()=>clearInterval(e),5e3);return()=>{clearInterval(e),clearTimeout(r)}},[a,o]);const c=e.useCallback(async(t,e,r)=>{var a,o;if(n.current[e])return;const s=u[e],c=await async function(t){if(f[t])return f[t];const e=await fetch(d[t]),r=await e.json();return f[t]=r,r}(e),l=[];for(const[n,i]of Object.entries(c.sources||{})){const e=s+n;t.getSource(e)||t.addSource(e,i)}const g=null==(o=((null==(a=t.getStyle())?void 0:a.layers)||[]).find(t=>!t.id.startsWith("basemap-light-")&&!t.id.startsWith("basemap-dark-")))?void 0:o.id;for(const n of c.layers||[]){const e=s+n.id;if(l.push(e),t.getLayer(e))continue;const a={...n,id:e};"source"in a&&"string"==typeof a.source&&(a.source=s+a.source),a.layout||(a.layout={}),a.layout.visibility=r?"visible":"none";try{t.addLayer(a,g)}catch(y){console.warn(`[BasemapLayer] Failed to add layer ${e}:`,y)}}i.current[e]=l,n.current[e]=!0},[]),l=e.useCallback((t,e,r)=>{const a=i.current[e],o=r?"visible":"none";for(const s of a)if(t.getLayer(s))try{t.setLayoutProperty(s,"visibility",o)}catch{}},[]),g=e.useCallback(t=>{var e;const r=((null==(e=t.getStyle())?void 0:e.layers)||[]).filter(t=>!t.id.startsWith("basemap-light-")&&!t.id.startsWith("basemap-dark-"));for(const a of r)try{t.moveLayer(a.id)}catch{}},[]);return e.useEffect(()=>{if(!o)return;const t=t=>{o.hasImage(t.id)||o.addImage(t.id,{width:1,height:1,data:new Uint8Array([0,0,0,0])})};return o.on("styleimagemissing",t),()=>{o.off("styleimagemissing",t)}},[o]),e.useEffect(()=>{if(!o)return;let e=!1;const r=async()=>{if(!e)try{await Promise.all([c(o,"light","light"===t),c(o,"dark","dark"===t)]),e||g(o)}catch(r){console.error("[BasemapLayer] Setup error:",r)}};o.isStyleLoaded()?r():(o.once("style.load",r),o.once("load",()=>{e||n.current.light||r()}));const a=()=>{e||setTimeout(()=>{!e&&n.current.light&&n.current.dark&&g(o)},100)};return o.on("styledata",a),()=>{e=!0,o.off("styledata",a)}},[o,c,g,t]),e.useEffect(()=>{o&&n.current.light&&n.current.dark&&(l(o,"light","light"===t),l(o,"dark","dark"===t))},[o,t,l]),null}export{g as B,l as a,c as u};
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
import{r as e,j as s}from"./vendor-react-alRNW2nb.js";import{c as t}from"./vendor-core-FtpmsTnh.js";import{e as a,g as l,a as r,b as i,f as n}from"./chat-utils-DbM_TyxC.js";const c=e.memo(function({senderName:e,text:c,timestamp:d,nameAccessory:m,bubbleAccessory:x,className:o}){const{emoji:u,cleanName:f}=a(e),p=l(f),g=r(e);return s.jsxs("div",{className:t("group flex items-start gap-3 w-full",o),children:[s.jsxs("div",{className:"flex-shrink-0 w-9 flex flex-col items-center gap-1",children:[s.jsx("div",{className:t("w-9 h-9 rounded-full flex items-center justify-center","shadow-md ring-1 ring-edge-subtle",u?"text-lg":"text-white text-[13px] font-bold tracking-tight"),style:{backgroundColor:p},children:u||g}),s.jsx("span",{className:"text-xs text-fg-muted tabular-nums h-4 leading-4",children:i(d)})]}),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:f}),m]}),s.jsxs("div",{className:"flex items-end gap-1.5",children:[s.jsx("div",{className:t("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:n(c)})}),x]})]})]})});function d({text:e}){return s.jsx("div",{className:"flex justify-center my-1",children:s.jsx("span",{className:t("px-3 py-1 rounded-full","bg-subtle-fill text-[11px] text-fg-muted/80 font-medium","ring-1 ring-edge-subtle"),children:e})})}export{c as C,d as S};
-1
View File
@@ -1 +0,0 @@
import{c as e}from"./index-SWncPehc.js";import{r as s,j as t,c as a}from"./vendor-react-Co0R0q1H.js";import{e as l,g as r,a as i,b as n,f as d}from"./chat-utils-MLpUHjgF.js";const c=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"}]]),m=s.memo(function({senderName:e,text:s,timestamp:c,nameAccessory:m,bubbleAccessory:x,className:o}){const{emoji:h,cleanName:p}=l(e),f=r(p),u=i(e);return t.jsxs("div",{className:a("group flex items-start gap-3 w-full",o),children:[t.jsxs("div",{className:"flex-shrink-0 w-9 flex flex-col items-center gap-1",children:[t.jsx("div",{className:a("w-9 h-9 rounded-full flex items-center justify-center","shadow-md ring-1 ring-edge-subtle",h?"text-lg":"text-white text-[13px] font-bold tracking-tight"),style:{backgroundColor:f},children:h||u}),t.jsx("span",{className:"text-xs text-fg-muted tabular-nums h-4 leading-4",children:n(c)})]}),t.jsxs("div",{className:"flex-1 min-w-0",children:[t.jsxs("div",{className:"flex items-center gap-2 h-5 mb-1",children:[t.jsx("span",{className:"text-[13px] font-medium truncate",style:{color:f,lineHeight:"20px"},children:p}),m]}),t.jsxs("div",{className:"flex items-end gap-1.5",children:[t.jsx("div",{className:a("inline-block px-3.5 py-2.5 max-w-full","rounded-2xl rounded-tl-md","bg-[#007AFF]"),children:t.jsx("p",{className:"text-sm text-white leading-relaxed tracking-wide whitespace-pre-wrap break-words",children:d(s)})}),x]})]})]})});function x({text:e}){return t.jsx("div",{className:"flex justify-center my-1",children:t.jsx("span",{className:a("px-3 py-1 rounded-full","bg-subtle-fill text-[11px] text-fg-muted/80 font-medium","ring-1 ring-edge-subtle"),children:e})})}export{m as C,c as M,x as S};
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
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{c as e,a8 as a,c7 as s,a9 as n,cm as r,B as t}from"./index-SWncPehc.js";import{r as o,j as i,c as l}from"./vendor-react-Co0R0q1H.js";import{T as c}from"./triangle-alert-BjBWCW2Y.js";const m=e("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"}]]),d={danger:"text-sys-red",warning:"text-sys-indigo",default:"text-sys-blue"},x={danger:"danger",warning:"warning",default:"primary"},h=o.memo(function({isOpen:e,title:o="Confirm",message:m,confirmLabel:h="Confirm",cancelLabel:f="Cancel",variant:j="default",onConfirm:p,onCancel:y}){return i.jsxs(a,{open:e,onClose:y,size:"sm",children:[i.jsx(s,{icon:i.jsx(c,{className:l("w-5 h-5",d[j])}),title:o,onClose:y}),i.jsx(n,{children:i.jsx("p",{className:"text-sm text-fg-secondary",children:m})}),i.jsxs(r,{children:[i.jsx(t,{color:"muted",onClick:y,className:"flex-1",children:f}),i.jsx(t,{color:x[j],onClick:p,className:"flex-1",children:h})]})]})});export{h as C,m as T};
+1
View File
@@ -0,0 +1 @@
import{r as e,j as s}from"./vendor-react-alRNW2nb.js";import{c as n}from"./vendor-core-FtpmsTnh.js";import{Y as a,bG as r,_ as o,bT as i,B as l}from"./index-D7i6lQrq.js";import{a3 as t}from"./vendor-icons-TO0PZKGR.js";const c={danger:"text-sys-red",warning:"text-sys-indigo",default:"text-sys-blue"},m={danger:"danger",warning:"warning",default:"primary"},d=e.memo(function({isOpen:e,title:d="Confirm",message:x,confirmLabel:f="Confirm",cancelLabel:j="Cancel",variant:C="default",onConfirm:g,onCancel:p}){return s.jsxs(a,{open:e,onClose:p,size:"sm",children:[s.jsx(r,{icon:s.jsx(t,{className:n("w-5 h-5",c[C])}),title:d,onClose:p}),s.jsx(o,{children:s.jsx("p",{className:"text-sm text-fg-secondary",children:x})}),s.jsxs(i,{children:[s.jsx(l,{color:"muted",onClick:p,className:"flex-1",children:j}),s.jsx(l,{color:m[C],onClick:g,className:"flex-1",children:f})]})]})});export{d as C};
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
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
+1
View File
@@ -0,0 +1 @@
import{r as e,j as t}from"./vendor-react-alRNW2nb.js";import{c as o}from"./vendor-core-FtpmsTnh.js";import{a as n,o as s}from"./vendor-icons-TO0PZKGR.js";const a={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 r({children:r,copyValue:c,copy:i=!1,size:l="standard",className:p,title:d,color:u,truncate:m}){const[y,x]=e.useState(!1),[f,h]=e.useState(!1),w=e.useRef(null),v=c??("string"==typeof r?r:""),b=a[l],g=(()=>{if(!m||"string"!=typeof r)return r;const e=r,[t,o]=!0===m?[6,4]:m;return e.length<=t+o+3?e:`${e.slice(0,t)}${e.slice(-o)}`})(),j=e.useCallback(e=>{if(!i)return;e.preventDefault(),e.stopPropagation(),w.current&&clearTimeout(w.current);const t=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 console.error("Copy failed:",o),!1}}(v);x(!0),w.current=setTimeout(()=>x(!1),2e3),t||console.warn("Copy may have failed for:",v.slice(0,16)+"...")},[i,v]),C="compact"===l?"data-box-compact":"responsive"===l?"data-box-responsive":"",N=i?d||`Click to copy: ${v}`:d;return i?t.jsxs("button",{type:"button",onClick:j,onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),className:o("data-box interactive",C,"cursor-pointer select-none gap-1","hover-bg",u,p),title:N,"aria-label":`Copy ${v}`,children:[t.jsx("span",{className:o("transition-colors duration-200",y?"text-sys-green":""),children:g}),t.jsx("span",{className:o("flex items-center justify-center","compact"===l?"w-3 h-3":"w-3.5 h-3.5"),children:y?t.jsx(n,{className:o("text-sys-green",b)}):t.jsx(s,{className:o("transition-opacity duration-200",f?"opacity-70":"opacity-40",b)})})]}):t.jsx("span",{className:o("data-box",C,u,p),title:N,children:g})}export{r as D};
-1
View File
@@ -1 +0,0 @@
import{r as e,j as t,c as o}from"./vendor-react-Co0R0q1H.js";import{q as n,r as s}from"./index-SWncPehc.js";const a={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 r({children:r,copyValue:c,copy:i=!1,size:l="standard",className:p,title:d,color:u,truncate:m}){const[x,h]=e.useState(!1),[y,w]=e.useState(!1),f=e.useRef(null),v=c??("string"==typeof r?r:""),b=a[l],g=(()=>{if(!m||"string"!=typeof r)return r;const e=r,[t,o]=!0===m?[6,4]:m;return e.length<=t+o+3?e:`${e.slice(0,t)}${e.slice(-o)}`})(),j=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?d||`Click to copy: ${v}`:d;return i?t.jsxs("button",{type:"button",onClick:j,onMouseEnter:()=>w(!0),onMouseLeave:()=>w(!1),className:o("data-box interactive",C,"cursor-pointer select-none gap-1","hover-bg",u,p),title:N,"aria-label":`Copy ${v}`,children:[t.jsx("span",{className:o("transition-colors duration-200",x?"text-sys-green":""),children:g}),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-sys-green",b)}):t.jsx(s,{className:o("transition-opacity duration-200",y?"opacity-70":"opacity-40",b)})})]}):t.jsx("span",{className:o("data-box",C,u,p),title:N,children:g})}export{r as D};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{r as o,j as e,c as t}from"./vendor-react-Co0R0q1H.js";const l={hero:{mobile:12},"hero-tall":{mobile:12},"hero-auto":{mobile:12},panel:{mobile:12,md:6},feature:{mobile:12,md:6,lg:4},standard:{mobile:12,sm:6,lg:4,xl:3},compact:{mobile:6,lg:3},widget:{mobile:6,sm:4,md:3,lg:2},auto:{mobile:12}},a={hero:"bento-row-hero","hero-tall":"bento-row-hero-tall","hero-auto":"bento-row-hero-auto",panel:"bento-row-panel",feature:"bento-row-feature",standard:"bento-row-standard",compact:"bento-row-compact",widget:"bento-row-widget",auto:"bento-row-auto"};function n({template:n,children:r,className:s,gap:i}){const c=l[n],d=a[n],b="none"===i?"gap-0":"sm"===i?"bento-gap-sm":"lg"===i?"bento-gap-lg":"bento-gap",p=o.Children.map(r,t=>o.isValidElement(t)?t.type===m?t:e.jsx(m,{span:c.mobile,sm:c.sm,md:c.md,lg:c.lg,xl:c.xl,children:t}):t);return e.jsx("div",{className:t("bento-row",d,b,s),children:p})}function r(o,e=""){const t=e?`${e}:`:"";return"full"===o?`${t}col-span-full`:"auto"===o?`${t}col-auto`:1.5===o?`${t}bento-col-1-5`:`${t}bento-col-${o}`}function m({children:o,span:l,sm:a,md:n,lg:m,xl:s,ratio:i,className:c}){const d=t("bento-cell",r(l),a&&r(a,"sm"),n&&r(n,"md"),m&&r(m,"lg"),s&&r(s,"xl"),c);return e.jsx("div",{className:d,"data-ratio":i??void 0,style:i?{"--cell-ratio":i}:void 0,children:o})}export{m as C,n as R};
+1
View File
@@ -0,0 +1 @@
import{r as o,j as e}from"./vendor-react-alRNW2nb.js";import{c as t}from"./vendor-core-FtpmsTnh.js";const l={hero:{mobile:12},"hero-tall":{mobile:12},"hero-auto":{mobile:12},panel:{mobile:12,md:6},feature:{mobile:12,md:6,lg:4},standard:{mobile:12,sm:6,lg:4,xl:3},compact:{mobile:6,lg:3},widget:{mobile:6,sm:4,md:3,lg:2},auto:{mobile:12}},a={hero:"bento-row-hero","hero-tall":"bento-row-hero-tall","hero-auto":"bento-row-hero-auto",panel:"bento-row-panel",feature:"bento-row-feature",standard:"bento-row-standard",compact:"bento-row-compact",widget:"bento-row-widget",auto:"bento-row-auto"};function r({template:r,children:n,className:s,gap:i}){const c=l[r],d=a[r],b="none"===i?"gap-0":"sm"===i?"bento-gap-sm":"lg"===i?"bento-gap-lg":"bento-gap",p=o.Children.map(n,t=>o.isValidElement(t)?t.type===m?t:e.jsx(m,{span:c.mobile,sm:c.sm,md:c.md,lg:c.lg,xl:c.xl,children:t}):t);return e.jsx("div",{className:t("bento-row",d,b,s),children:p})}function n(o,e=""){const t=e?`${e}:`:"";return"full"===o?`${t}col-span-full`:"auto"===o?`${t}col-auto`:1.5===o?`${t}bento-col-1-5`:`${t}bento-col-${o}`}function m({children:o,span:l,sm:a,md:r,lg:m,xl:s,ratio:i,className:c}){const d=t("bento-cell",n(l),a&&n(a,"sm"),r&&n(r,"md"),m&&n(m,"lg"),s&&n(s,"xl"),c);return e.jsx("div",{className:d,"data-ratio":i??void 0,style:i?{"--cell-ratio":i}:void 0,children:o})}export{m as C,r as R};
@@ -1 +1 @@
import{r as e,j as a}from"./vendor-react-Co0R0q1H.js";import{b as c,c as s}from"./keycap-sfx-CAsrNe23.js";import{Z as n}from"./index-SWncPehc.js";const d={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"},t=Object.keys(d),r={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 l(e,a){const c=Array.from(e).map(e=>r[e.toUpperCase()]??r[e]??""),s=Math.max(0,(a??0)-e.length);for(let n=0;n<s;n++)c.push("");return c}function i({text:c,color:s="currentColor",size:n=18,minChars:r,noCycle:i=!1,className:o}){const g=Math.round(n*(100/182)),f="light"===document.documentElement.dataset.mode?.08:.16,[b,u]=e.useState(null);e.useEffect(()=>{if(i)return;const e=l(c,r),a=6+2*(e.length-1);let s,n=0,d=!1;const o=()=>{d||(n++,n>=a?u(null):(u(e.map((e,a)=>n>=6+2*a?e:t.filter(()=>Math.random()>.45).join(""))),s=setTimeout(o,56)))};return o(),()=>{d=!0,clearTimeout(s)}},[c,r,i]);const m=l(c,r),p=b??m;return a.jsxs("span",{className:"seven-seg"+(o?` ${o}`:""),children:[p.map((e,c)=>((e,c)=>a.jsx("svg",{viewBox:"0 0 100 182",width:g,height:n,className:"seven-seg__char","aria-hidden":"true",children:t.map(c=>a.jsx("polygon",{points:d[c],fill:s,stroke:s,strokeWidth:4,strokeLinejoin:"round",opacity:e.includes(c)?1:f},c))},c))(e,`${c}-${e}`)),a.jsx("span",{className:"sr-only",children:c})]})}const o={grey:"/assets/keycap.svg",red:"/assets/keycap-red.svg"},g=n[900];function f({icon:n,variant:d="grey",onClick:t,onPress:r,sentDuration:l=2e3,title:i,disabled:f=!1,className:b,iconColor:u=g,iconActiveColor:m="#FFDEB0",indicators:p}){const h=!!r,[y,k]=e.useState("idle"),[j,v]=e.useState(!1),x=e.useRef(),N=h?"held"===y:j,C=h&&("sending"===y||"sent"===y),$=h?"held"===y||"sending"===y:j;e.useEffect(()=>()=>clearTimeout(x.current),[]);const _=e.useCallback(()=>{f||C||(c(),h?k("held"):v(!0))},[f,C,h]),T=e.useCallback(async()=>{if(h){if("held"!==y)return;s(),k("sending");const e=await r();k(e?"sent":"idle"),e&&(x.current=setTimeout(()=>k("idle"),l))}else{if(!j)return;v(!1),s(),null==t||t()}},[h,y,r,l,j,t]),M=e.useCallback(()=>{h?"held"===y&&(s(),k("idle")):(j&&s(),v(!1))},[h,y,j]),E=a.jsx("button",{onMouseDown:_,onMouseUp:T,onMouseLeave:M,onTouchStart:_,onTouchEnd:T,onTouchCancel:M,disabled:f||C,className:`keycap-btn${"red"===d?" keycap-btn--red-cap":""}${$?" keycap-btn--pressed":""}${b&&!p?` ${b}`:""}`,title:i,children:a.jsxs("div",{className:"keycap-wrap",children:[a.jsx("img",{src:o[d],alt:"",className:"keycap-btn__img",draggable:!1}),a.jsx("span",{className:"keycap-icon-overlay",style:{color:N||"sending"===y?m:u},children:n})]})});return(null==p?void 0:p.length)?a.jsxs("div",{className:"keycap-group"+(b?` ${b}`:""),children:[E,a.jsx("div",{className:"indicator-key-pair",children:p.map(e=>{const c=e.trackPress?y:e.active?"active":"idle";return a.jsxs("div",{className:"indicator-key"+("idle"!==c?` indicator-key--${c}`:""),children:[a.jsx("span",{className:"indicator-key__label",children:e.label}),a.jsx("span",{className:"indicator-key__led"})]},e.label)})})]}):E}export{f as K,i as S};
import{r as e,j as a}from"./vendor-react-alRNW2nb.js";import{b as c,c as s}from"./keycap-sfx-Bpx9zhkt.js";import{Z as n}from"./index-D7i6lQrq.js";const d={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"},t=Object.keys(d),r={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 l(e,a){const c=Array.from(e).map(e=>r[e.toUpperCase()]??r[e]??""),s=Math.max(0,(a??0)-e.length);for(let n=0;n<s;n++)c.push("");return c}function i({text:c,color:s="currentColor",size:n=18,minChars:r,noCycle:i=!1,className:o}){const g=Math.round(n*(100/182)),f="light"===document.documentElement.dataset.mode?.08:.16,[b,u]=e.useState(null);e.useEffect(()=>{if(i)return;const e=l(c,r),a=6+2*(e.length-1);let s,n=0,d=!1;const o=()=>{d||(n++,n>=a?u(null):(u(e.map((e,a)=>n>=6+2*a?e:t.filter(()=>Math.random()>.45).join(""))),s=setTimeout(o,56)))};return o(),()=>{d=!0,clearTimeout(s)}},[c,r,i]);const m=l(c,r),p=b??m;return a.jsxs("span",{className:"seven-seg"+(o?` ${o}`:""),children:[p.map((e,c)=>((e,c)=>a.jsx("svg",{viewBox:"0 0 100 182",width:g,height:n,className:"seven-seg__char","aria-hidden":"true",children:t.map(c=>a.jsx("polygon",{points:d[c],fill:s,stroke:s,strokeWidth:4,strokeLinejoin:"round",opacity:e.includes(c)?1:f},c))},c))(e,`${c}-${e}`)),a.jsx("span",{className:"sr-only",children:c})]})}const o={grey:"/assets/keycap.svg",red:"/assets/keycap-red.svg"},g=n[900];function f({icon:n,variant:d="grey",onClick:t,onPress:r,sentDuration:l=2e3,title:i,disabled:f=!1,className:b,iconColor:u=g,iconActiveColor:m="#FFDEB0",indicators:p}){const h=!!r,[y,k]=e.useState("idle"),[j,v]=e.useState(!1),x=e.useRef(),N=h?"held"===y:j,C=h&&("sending"===y||"sent"===y),_=h?"held"===y||"sending"===y:j;e.useEffect(()=>()=>clearTimeout(x.current),[]);const $=e.useCallback(()=>{f||C||(c(),h?k("held"):v(!0))},[f,C,h]),T=e.useCallback(async()=>{if(h){if("held"!==y)return;s(),k("sending");const e=await r();k(e?"sent":"idle"),e&&(x.current=setTimeout(()=>k("idle"),l))}else{if(!j)return;v(!1),s(),null==t||t()}},[h,y,r,l,j,t]),M=e.useCallback(()=>{h?"held"===y&&(s(),k("idle")):(j&&s(),v(!1))},[h,y,j]),E=a.jsx("button",{onMouseDown:$,onMouseUp:T,onMouseLeave:M,onTouchStart:$,onTouchEnd:T,onTouchCancel:M,disabled:f||C,className:`keycap-btn${"red"===d?" keycap-btn--red-cap":""}${_?" keycap-btn--pressed":""}${b&&!p?` ${b}`:""}`,title:i,children:a.jsxs("div",{className:"keycap-wrap",children:[a.jsx("img",{src:o[d],alt:"",className:"keycap-btn__img",draggable:!1}),a.jsx("span",{className:"keycap-icon-overlay",style:{color:N||"sending"===y?m:u},children:n})]})});return(null==p?void 0:p.length)?a.jsxs("div",{className:"keycap-group"+(b?` ${b}`:""),children:[E,a.jsx("div",{className:"indicator-key-pair",children:p.map(e=>{const c=e.trackPress?y:e.active?"active":"idle";return a.jsxs("div",{className:"indicator-key"+("idle"!==c?` indicator-key--${c}`:""),children:[a.jsx("span",{className:"indicator-key__label",children:e.label}),a.jsx("span",{className:"indicator-key__led"})]},e.label)})})]}):E}export{f as K,i as S};
@@ -1 +1 @@
import{r as e,j as t}from"./vendor-react-Co0R0q1H.js";const r="var(--sparkline-critical)",n="var(--sparkline-poor)",i="var(--sparkline-fair)",s="var(--sparkline-good)",o="var(--sparkline-excellent)",a=e.memo(function({data:a,width:l=48,height:h=16,color:c,isLoading:d=!1,className:u=""}){const x=e.useMemo(()=>function(e,t,r,n=2){if(e.length<2)return"";const i=e.map(e=>e.count),s=Math.max(...i,1),o=Math.min(...i),a=s-o||1,l=t-2*n,h=r-2*n,c=i.map((e,t)=>({x:n+t/(i.length-1)*l,y:n+h-(e-o)/a*h}));let d=`M ${c[0].x.toFixed(1)} ${c[0].y.toFixed(1)}`;for(let u=1;u<c.length;u++){const e=c[u-1],t=c[u];d+=` Q ${((e.x+t.x)/2).toFixed(1)} ${e.y.toFixed(1)} ${t.x.toFixed(1)} ${t.y.toFixed(1)}`}return d}(a,l,h),[a,l,h]),g=e.useMemo(()=>c??(a.length>0?function(e){if(0===e.length)return r;const t=e.slice(-4),a=t.reduce((e,t)=>e+t.count,0),l=a/t.length,h=e.reduce((e,t)=>e+t.count,0)/e.length;if(0===a)return r;if(h>0){const e=l/h;return e>=1.2?o:e>=.8?s:e>=.4?i:e>=.1?n:r}return a>=10?o:a>=5?s:a>=2?i:a>=1?n:r}(a):"var(--fg-muted)"),[c,a]);return d&&a.length<2?t.jsx("div",{className:`flex items-center justify-center ${u}`,style:{width:l,height:h},children:t.jsx("div",{className:"rounded animate-pulse bg-subtle-fill-hover",style:{width:l-8,height:h-6}})}):a.length<2?t.jsx("svg",{width:l,height:h,viewBox:`0 0 ${l} ${h}`,className:u,"aria-hidden":"true",children:t.jsx("line",{x1:4,y1:h/2,x2:l-4,y2:h/2,stroke:r,strokeWidth:1.5,strokeDasharray:"3,2"})}):t.jsx("svg",{width:l,height:h,viewBox:`0 0 ${l} ${h}`,preserveAspectRatio:"none",className:u,"aria-hidden":"true",style:{maxWidth:"100%"},children:t.jsx("path",{d:x,fill:"none",stroke:g,strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})})});export{a as L};
import{r as e,j as t}from"./vendor-react-alRNW2nb.js";const r="var(--sparkline-critical)",n="var(--sparkline-poor)",i="var(--sparkline-fair)",s="var(--sparkline-good)",o="var(--sparkline-excellent)",a=e.memo(function({data:a,width:l=48,height:h=16,color:c,isLoading:d=!1,className:u=""}){const x=e.useMemo(()=>function(e,t,r,n=2){if(e.length<2)return"";const i=e.map(e=>e.count),s=Math.max(...i,1),o=Math.min(...i),a=s-o||1,l=t-2*n,h=r-2*n,c=i.map((e,t)=>({x:n+t/(i.length-1)*l,y:n+h-(e-o)/a*h}));let d=`M ${c[0].x.toFixed(1)} ${c[0].y.toFixed(1)}`;for(let u=1;u<c.length;u++){const e=c[u-1],t=c[u];d+=` Q ${((e.x+t.x)/2).toFixed(1)} ${e.y.toFixed(1)} ${t.x.toFixed(1)} ${t.y.toFixed(1)}`}return d}(a,l,h),[a,l,h]),g=e.useMemo(()=>c??(a.length>0?function(e){if(0===e.length)return r;const t=e.slice(-4),a=t.reduce((e,t)=>e+t.count,0),l=a/t.length,h=e.reduce((e,t)=>e+t.count,0)/e.length;if(0===a)return r;if(h>0){const e=l/h;return e>=1.2?o:e>=.8?s:e>=.4?i:e>=.1?n:r}return a>=10?o:a>=5?s:a>=2?i:a>=1?n:r}(a):"var(--fg-muted)"),[c,a]);return d&&a.length<2?t.jsx("div",{className:`flex items-center justify-center ${u}`,style:{width:l,height:h},children:t.jsx("div",{className:"rounded animate-pulse bg-subtle-fill-hover",style:{width:l-8,height:h-6}})}):a.length<2?t.jsx("svg",{width:l,height:h,viewBox:`0 0 ${l} ${h}`,className:u,"aria-hidden":"true",children:t.jsx("line",{x1:4,y1:h/2,x2:l-4,y2:h/2,stroke:r,strokeWidth:1.5,strokeDasharray:"3,2"})}):t.jsx("svg",{width:l,height:h,viewBox:`0 0 ${l} ${h}`,preserveAspectRatio:"none",className:u,"aria-hidden":"true",style:{maxWidth:"100%"},children:t.jsx("path",{d:x,fill:"none",stroke:g,strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})})});export{a as L};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
import{r as s,j as e}from"./vendor-react-alRNW2nb.js";import{c as a}from"./vendor-core-FtpmsTnh.js";import{bn as t,bo as r,o as n,bp as o,bq as i,br as l,q as c,B as m,bs as d,bd as p,bt as x}from"./index-D7i6lQrq.js";import{P as h,a as j,B as g,C as u}from"./PageLayout-QhCLxU34.js";import{F as f,aZ as v,a_ as b}from"./vendor-icons-TO0PZKGR.js";import{m as y}from"./vendor-motion-DNp0Qg4F.js";import"./vendor-virt-BytWoLhu.js";import"./cosmograph-DqYT4sUA.js";import"./vendor-charts-C916_-gs.js";import"./vendor-fonts-CRZaZSFf.js";const N=s.memo(function({log:s}){return e.jsx(y.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{duration:.15,ease:"easeOut"},className:"p-3 bg-subtle-fill/80 radius-inner depth-stroke-raised 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",x(s.level)),children:s.level}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"type-data-sm text-fg-primary break-words whitespace-pre-wrap",children:s.message}),e.jsx("p",{className:"type-data-xs text-fg-muted mt-1",children:new Date(s.timestamp).toLocaleString()})]})]})})});function w({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-sys-orange":"text-sys-cyan"),children:s?"DEBUG":"INFO"}),e.jsx(p,{enabled:s,onChange:t,size:"sm"})]})}function k(){const p=t(),x=r(),y=n(),k=o(),D=i(),[B,C]=s.useState(!1),E=s.useCallback(()=>{C(s=>!s)},[]),L=B?p:p.filter(s=>"DEBUG"!==s.level),P=s.useRef(k);return P.current=k,s.useEffect(()=>{if(!y)return;P.current();const s=setInterval(()=>P.current(),l.logs);return()=>clearInterval(s)},[y]),e.jsxs(h,{children:[e.jsx(j,{title:"System Logs",icon:e.jsx(f,{}),controls:e.jsx(w,{showDebug:B,onToggle:E})}),e.jsx(g,{children:e.jsxs(u,{neomorphic:!0,noPadding:!0,children:[e.jsx(c,{listHeader:!0,icon:e.jsx(f,{className:"icon-sm"}),title:"Log Entries",actions:e.jsx(m,{plain:!0,color:y?"danger":"primary",onClick:()=>D(!y),title:y?"Pause":"Resume",className:a(!y&&"animate-pulse-slow"),children:y?e.jsx(v,{"data-slot":"icon",className:"!w-5 !h-5"}):e.jsx(b,{"data-slot":"icon",className:"!w-5 !h-5"})})}),e.jsx("div",{className:"space-y-2 max-h-[calc(100dvh-226px)] sm:max-h-[calc(100dvh-234px)] lg:max-h-[calc(100vh-194px)] overflow-y-auto p-4",children:x&&0===p.length?e.jsx(d,{count:10}):0===L.length?e.jsx("div",{className:"text-center py-12 text-fg-muted",children:0===p.length?"No logs available":"No logs match selected filters"}):L.map((s,a)=>e.jsx(N,{log:s},`${s.timestamp}-${a}`))})]})})]})}export{k as default};
-1
View File
@@ -1 +0,0 @@
import{r as e,j as s,c as a}from"./vendor-react-Co0R0q1H.js";import{c as t,bP as l,bQ as r,w as c,bR as i,bS as n,bT as o,bU as m,y as d,B as x,bV as p,bE as h,m as g,bW as u}from"./index-SWncPehc.js";import{P as j,a as y,B as b,C as f}from"./PageLayout-DA9MRPBW.js";import"./maplibre-gl-b91ci4Kr.js";import"./vendor-core-B_fdKJ1g.js";const v=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"}]]),N=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=e.memo(function({log:e}){return s.jsx(g.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{duration:.15,ease:"easeOut"},className:"p-3 bg-subtle-fill/80 radius-inner depth-stroke-raised hover:bg-subtle-fill-strong transition-base",children:s.jsxs("div",{className:"flex items-baseline gap-3",children:[s.jsx("span",{className:a("type-data-sm w-14 shrink-0",u(e.level)),children:e.level}),s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsx("p",{className:"type-data-sm text-fg-primary break-words whitespace-pre-wrap",children:e.message}),s.jsx("p",{className:"type-data-xs text-fg-muted mt-1",children:new Date(e.timestamp).toLocaleString()})]})]})})});function k({showDebug:e,onToggle:t}){return s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("span",{className:a("type-data-sm",e?"text-sys-orange":"text-sys-cyan"),children:e?"DEBUG":"INFO"}),s.jsx(h,{enabled:e,onChange:t,size:"sm"})]})}function D(){const t=l(),h=r(),g=c(),u=i(),D=n(),[E,P]=e.useState(!1),B=e.useCallback(()=>{P(e=>!e)},[]),C=E?t:t.filter(e=>"DEBUG"!==e.level),L=e.useRef(u);return L.current=u,e.useEffect(()=>{if(!g)return;L.current();const e=setInterval(()=>L.current(),o.logs);return()=>clearInterval(e)},[g]),s.jsxs(j,{children:[s.jsx(y,{title:"System Logs",icon:s.jsx(m,{}),controls:s.jsx(k,{showDebug:E,onToggle:B})}),s.jsx(b,{children:s.jsxs(f,{neomorphic:!0,noPadding:!0,children:[s.jsx(d,{listHeader:!0,icon:s.jsx(m,{className:"icon-sm"}),title:"Log Entries",actions:s.jsx(x,{plain:!0,color:g?"danger":"primary",onClick:()=>D(!g),title:g?"Pause":"Resume",className:a(!g&&"animate-pulse-slow"),children:g?s.jsx(N,{"data-slot":"icon",className:"!w-5 !h-5"}):s.jsx(v,{"data-slot":"icon",className:"!w-5 !h-5"})})}),s.jsx("div",{className:"space-y-2 max-h-[calc(100dvh-226px)] sm:max-h-[calc(100dvh-234px)] lg:max-h-[calc(100vh-194px)] overflow-y-auto p-4",children:h&&0===t.length?s.jsx(p,{count:10}):0===C.length?s.jsx("div",{className:"text-center py-12 text-fg-muted",children:0===t.length?"No logs available":"No logs match selected filters"}):C.map((e,a)=>s.jsx(w,{log:e},`${e.timestamp}-${a}`))})]})})]})}export{D as default};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
import{j as s}from"./vendor-react-alRNW2nb.js";import{C as e}from"./PageLayout-QhCLxU34.js";import{D as a}from"./DataBox-DpDXI-WX.js";import{q as t,b1 as r}from"./index-D7i6lQrq.js";import{R as c}from"./vendor-icons-TO0PZKGR.js";function l({nodeName:l,repeaterVersion:m,coreVersion:i,localHash:n,publicKey:d}){return s.jsxs(e,{neomorphic:!0,children:[s.jsx(t,{icon:s.jsx(c,{}),title:"Node Information"}),s.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-3 sm:gap-4",children:[s.jsxs("div",{className:"min-w-0 col-span-2 sm:col-span-1",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Node Name"}),s.jsx("p",{className:"type-body text-fg-primary mt-0.5 sm:mt-1 truncate",title:l,children:l})]}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Repeater"}),s.jsxs("p",{className:"type-data text-fg-primary mt-0.5 sm:mt-1 truncate",title:`v${m}`,children:["v",m]})]}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Core"}),s.jsxs("p",{className:"type-data text-fg-primary mt-0.5 sm:mt-1 truncate",title:`v${i}`,children:["v",i]})]}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Console"}),s.jsxs("p",{className:"type-data text-fg-primary mt-0.5 sm:mt-1 truncate",title:`v${r}`,children:["v",r]})]}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Local Hash"}),s.jsx("div",{className:"mt-0.5 sm:mt-1",children:n?s.jsx(a,{copy:!0,size:"compact",children:n}):s.jsx("span",{className:"type-data-sm text-fg-secondary",children:"N/A"})})]})]}),d&&s.jsxs("div",{className:"mt-3 sm:mt-4 pt-3 sm:pt-4 border-t border-edge-subtle",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Public Key"}),s.jsx("div",{className:"mt-0.5 sm:mt-1",children:s.jsx(a,{copy:!0,size:"responsive",children:d})})]})]})}export{l as N};
-1
View File
@@ -1 +0,0 @@
import{j as s}from"./vendor-react-Co0R0q1H.js";import{C as e}from"./PageLayout-DA9MRPBW.js";import{D as a}from"./DataBox-o5O5oDrw.js";import{y as t,R as l,bo as r}from"./index-SWncPehc.js";function c({nodeName:c,repeaterVersion:m,coreVersion:i,localHash:n,publicKey:d}){return s.jsxs(e,{neomorphic:!0,children:[s.jsx(t,{icon:s.jsx(l,{}),title:"Node Information"}),s.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-3 sm:gap-4",children:[s.jsxs("div",{className:"min-w-0 col-span-2 sm:col-span-1",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Node Name"}),s.jsx("p",{className:"type-body text-fg-primary mt-0.5 sm:mt-1 truncate",title:c,children:c})]}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Repeater"}),s.jsxs("p",{className:"type-data text-fg-primary mt-0.5 sm:mt-1 truncate",title:`v${m}`,children:["v",m]})]}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Core"}),s.jsxs("p",{className:"type-data text-fg-primary mt-0.5 sm:mt-1 truncate",title:`v${i}`,children:["v",i]})]}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Console"}),s.jsxs("p",{className:"type-data text-fg-primary mt-0.5 sm:mt-1 truncate",title:`v${r}`,children:["v",r]})]}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Local Hash"}),s.jsx("div",{className:"mt-0.5 sm:mt-1",children:n?s.jsx(a,{copy:!0,size:"compact",children:n}):s.jsx("span",{className:"type-data-sm text-fg-secondary",children:"N/A"})})]})]}),d&&s.jsxs("div",{className:"mt-3 sm:mt-4 pt-3 sm:pt-4 border-t border-edge-subtle",children:[s.jsx("span",{className:"type-label text-fg-secondary",children:"Public Key"}),s.jsx("div",{className:"mt-0.5 sm:mt-1",children:s.jsx(a,{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
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
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{j as e,c as s}from"./vendor-react-Co0R0q1H.js";import{j as a}from"./index-SWncPehc.js";function i({children:a,className:i}){return e.jsx("div",{className:s("section-gap",i),children:a})}function n({children:a,className:i}){return e.jsx("div",{className:s("bento-section",i),children:a})}function t({title:s,icon:a,controls:i,subtitle:n}){return e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex items-center justify-between gap-3 min-h-9",children:[e.jsxs("h1",{className:"type-title text-fg-primary flex items-baseline gap-2 sm:gap-3 min-w-0",children:[a&&e.jsx("span",{className:"text-icon-page-title flex-shrink-0 translate-y-[0.1em] [&>svg]:h-[1em] [&>svg]:w-[1em] [&>svg]:stroke-[1.5]",children:a}),e.jsx("span",{className:"truncate",children:s})]}),i&&e.jsx("div",{className:"flex items-center gap-2 flex-shrink-0",children:i})]}),n&&e.jsx("div",{children:n})]})}function c({size:s,...i}){return e.jsx(a,{...i})}export{n as B,c as C,i as P,t as a};
+1
View File
@@ -0,0 +1 @@
import{j as e}from"./vendor-react-alRNW2nb.js";import{c as s}from"./vendor-core-FtpmsTnh.js";import{e as i}from"./index-D7i6lQrq.js";function n({children:i,className:n}){return e.jsx("div",{className:s("section-gap",n),children:i})}function a({children:i,className:n}){return e.jsx("div",{className:s("bento-section",n),children:i})}function t({title:s,icon:i,controls:n,subtitle:a}){return e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex items-center justify-between gap-3 min-h-9",children:[e.jsxs("h1",{className:"type-title text-fg-primary flex items-baseline gap-2 sm:gap-3 min-w-0",children:[i&&e.jsx("span",{className:"text-icon-page-title flex-shrink-0 translate-y-[0.1em] [&>svg]:h-[1em] [&>svg]:w-[1em] [&>svg]:stroke-[1.5]",children:i}),e.jsx("span",{className:"truncate",children:s})]}),n&&e.jsx("div",{className:"flex items-center gap-2 flex-shrink-0",children:n})]}),a&&e.jsx("div",{children:a})]})}function r({size:s,...n}){return e.jsx(i,{...n})}export{a as B,r as C,n as P,t as a};
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
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
-1
View File
@@ -1 +0,0 @@
import{c as e,a_ as a,a$ as t,b0 as r}from"./index-SWncPehc.js";import{r as s,c as n,j as o}from"./vendor-react-Co0R0q1H.js";const c=e("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),i=e("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]),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"}]]),d=e("signal-low",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}]]),p=e("signal-medium",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}]]),x=e("signal-zero",[["path",{d:"M2 20h.01",key:"4haj6o"}]]),h=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"}]]),u={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)"},g={excellent:"#4ADE80",good:"#A3E635",fair:"#FACC15",weak:"#FB923C",poor:"#EF4444"};function f(e){return e>=-90?"excellent":e>=-100?"good":e>=-110?"fair":e>=-120?"weak":"poor"}function y(e,a,t=!0){return a?t?{backgroundColor:g[e],"--p3-color":u[e]}:{backgroundColor:"rgba(255, 255, 255, 0.25)"}:{backgroundColor:"rgba(255, 255, 255, 0.1)"}}function m(e,a=!0){return e&&a?"signal-bar-active":""}function k({rssi:e,className:a="w-4 h-4"}){const t=f(e),r=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-fg-muted"}}(t),s=n(r,a);switch(t){case"excellent":return o.jsx(h,{className:s});case"good":return o.jsx(l,{className:s});case"fair":return o.jsx(p,{className:s});case"weak":return o.jsx(d,{className:s});default:return o.jsx(x,{className:s})}}const j=s.memo(function({rssi:e,snr:a,compact:t=!1,showValues:s=!0,radioConfig:c,nfPenalty:i=0,validated:l=!0}){const d=void 0!==a?function(e,a,t,s=0){const n=r(a,e,t,s);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):f(e)}(e,a,c,i):f(e),p={excellent:4,good:3,fair:2,weak:1,poor:0}[d];return t?o.jsxs("div",{className:"flex items-center gap-1.5",children:[s&&o.jsx("span",{className:n("type-data-xs w-[32px] text-left",l?"text-fg-secondary":"text-fg-muted"),children:e}),o.jsx("div",{className:"flex items-center gap-[2px] h-3 w-[14px]",children:Array.from({length:4}).map((e,a)=>o.jsx("div",{className:n("w-[3px] h-full rounded-[1px] transition-colors",m(a<p,l)),style:y(d,a<p,l)},a))})]}):o.jsxs("div",{className:"flex items-center gap-2",children:[s&&o.jsxs("div",{className:"flex flex-col items-start w-[52px]",children:[o.jsxs("span",{className:n("type-data-xs leading-tight",l?"text-fg-secondary":"text-fg-muted"),children:[e," dBm"]}),void 0!==a&&o.jsxs("span",{className:"type-data-xs text-fg-muted leading-tight",children:[a.toFixed(1)," dB"]})]}),o.jsx("div",{className:"flex items-center gap-[2px] h-3.5 w-[14px]",children:Array.from({length:4}).map((e,a)=>o.jsx("div",{className:n("w-[3px] h-full rounded-[1px] transition-colors",m(a<p,l)),style:y(d,a<p,l)},a))})]})});function v(e){const a=f(e);return a.charAt(0).toUpperCase()+a.slice(1)}function w(e){return"tx_local"!==e.packet_origin&&"tx_forward"!==e.packet_origin&&(null!=e._isZeroHop?e._isZeroHop:function(e){const r=function(e){if(Array.isArray(e))return e;if("string"==typeof e&&e.startsWith("["))try{const a=JSON.parse(e);return Array.isArray(a)?a:[]}catch{return[]}return[]}(e.original_path),s=e.route??e.route_type;return a(s)?0===r.length:t(s)?r.length<=1:0===r.length}(e))}export{c as A,i as C,j as S,h as a,k as b,v as g,w as i};
+1
View File
@@ -0,0 +1 @@
import{r as e,j as r}from"./vendor-react-alRNW2nb.js";import{c as a}from"./vendor-core-FtpmsTnh.js";import{aE as t,aF as s,aG as n}from"./index-D7i6lQrq.js";import{ax as o,ay as c,az as i,aA as l,ab as d}from"./vendor-icons-TO0PZKGR.js";const x={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)"},p={excellent:"#4ADE80",good:"#A3E635",fair:"#FACC15",weak:"#FB923C",poor:"#EF4444"};function u(e){return e>=-90?"excellent":e>=-100?"good":e>=-110?"fair":e>=-120?"weak":"poor"}function f(e,r,a=!0){return r?a?{backgroundColor:p[e],"--p3-color":x[e]}:{backgroundColor:"rgba(255, 255, 255, 0.25)"}:{backgroundColor:"rgba(255, 255, 255, 0.1)"}}function g(e,r=!0){return e&&r?"signal-bar-active":""}function m({rssi:e,className:t="w-4 h-4"}){const s=u(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-fg-muted"}}(s),x=a(n,t);switch(s){case"excellent":return r.jsx(d,{className:x});case"good":return r.jsx(l,{className:x});case"fair":return r.jsx(i,{className:x});case"weak":return r.jsx(c,{className:x});default:return r.jsx(o,{className:x})}}const h=e.memo(function({rssi:e,snr:t,compact:s=!1,showValues:o=!0,radioConfig:c,nfPenalty:i=0,validated:l=!0}){const d=void 0!==t?function(e,r,a,t=0){const s=n(r,e,a,t);return s?function(e){switch(e){case"excellent":return"excellent";case"good":return"good";case"fair":return"fair";case"poor":return"weak";case"critical":return"poor"}}(s.finalGrade):u(e)}(e,t,c,i):u(e),x={excellent:4,good:3,fair:2,weak:1,poor:0}[d];return s?r.jsxs("div",{className:"flex items-center gap-1.5",children:[o&&r.jsx("span",{className:a("type-data-xs w-[32px] text-left",l?"text-fg-secondary":"text-fg-muted"),children:e}),r.jsx("div",{className:"flex items-center gap-[2px] h-3 w-[14px]",children:Array.from({length:4}).map((e,t)=>r.jsx("div",{className:a("w-[3px] h-full rounded-[1px] transition-colors",g(t<x,l)),style:f(d,t<x,l)},t))})]}):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:a("type-data-xs leading-tight",l?"text-fg-secondary":"text-fg-muted"),children:[e," dBm"]}),void 0!==t&&r.jsxs("span",{className:"type-data-xs text-fg-muted leading-tight",children:[t.toFixed(1)," dB"]})]}),r.jsx("div",{className:"flex items-center gap-[2px] h-3.5 w-[14px]",children:Array.from({length:4}).map((e,t)=>r.jsx("div",{className:a("w-[3px] h-full rounded-[1px] transition-colors",g(t<x,l)),style:f(d,t<x,l)},t))})]})});function y(e){const r=u(e);return r.charAt(0).toUpperCase()+r.slice(1)}function j(e){return"tx_local"!==e.packet_origin&&"tx_forward"!==e.packet_origin&&(null!=e._isZeroHop?e._isZeroHop:function(e){const r=function(e){if(Array.isArray(e))return e;if("string"==typeof e&&e.startsWith("["))try{const r=JSON.parse(e);return Array.isArray(r)?r:[]}catch{return[]}return[]}(e.original_path),a=e.route??e.route_type;return t(a)?0===r.length:s(a)?r.length<=1:0===r.length}(e))}export{h as S,m as a,y as g,j as i};
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
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
+1
View File
@@ -0,0 +1 @@
import{r as e,j as t,v as a,D as s,g as n}from"./vendor-react-alRNW2nb.js";import{b0 as r}from"./index-D7i6lQrq.js";import{c as i}from"./vendor-core-FtpmsTnh.js";import{af as o,D as l}from"./vendor-icons-TO0PZKGR.js";import{A as c,m as d}from"./vendor-motion-DNp0Qg4F.js";const m=e.memo(function({ranges:m,selectedIndex:u,onSelect:p,isPending:x,size:f="default"}){var h;const y=e.useRef(null),b=u>0,v=u<m.length-1,g=(null==(h=m[u])?void 0:h.label)??"—",j="sm"===f,w=(e,t)=>{var a;const s="left"===e?6:-6;null==(a=y.current)||a.animate([{opacity:1,transform:"translateX(0)"},{opacity:0,transform:`translateX(${s}px)`}],{duration:80,easing:"ease-out"}),setTimeout(()=>{var e;t(),null==(e=y.current)||e.animate([{opacity:0,transform:`translateX(${-s}px)`},{opacity:1,transform:"translateX(0)"}],{duration:80,easing:"ease-out"})},80)},N=()=>b&&w("left",()=>p(u-1)),_=()=>v&&w("right",()=>p(u+1));return t.jsx(a,{className:"relative inline-flex",children:({open:e,close:a})=>t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:i("inline-flex items-center rounded-full bg-surface","shadow-[var(--neo-outer-sm)]",j?"gap-0.5 p-0.5":"gap-0.5 p-1",x&&"opacity-70"),children:[t.jsx("button",{type:"button",onClick:N,disabled:!b,"aria-label":"Previous",className:i("flex items-center justify-center rounded-full transition-all duration-100","text-fg-muted hover:text-fg-primary active:scale-90","disabled:opacity-25 disabled:pointer-events-none",j?"w-5 h-5":"w-6 h-6"),children:t.jsx(o,{className:j?"w-3 h-3":"w-3.5 h-3.5"})}),t.jsx(s,{className:i("rounded-full cursor-pointer transition-all","bg-surface shadow-[inset_0_0_0_1.5px_var(--sys-blue)]",j?"px-2.5 py-1":"px-3 py-1.5"),children:t.jsx("span",{ref:y,className:i("block font-semibold text-fg-primary tabular-nums select-none",j?"min-w-[1.5rem] text-[11px]":"min-w-[2rem] text-xs","text-center"),children:g})}),t.jsx("button",{type:"button",onClick:_,disabled:!v,"aria-label":"Next",className:i("flex items-center justify-center rounded-full transition-all duration-100","text-fg-muted hover:text-fg-primary active:scale-90","disabled:opacity-25 disabled:pointer-events-none",j?"w-5 h-5":"w-6 h-6"),children:t.jsx(l,{className:j?"w-3 h-3":"w-3.5 h-3.5"})})]}),t.jsx(c,{children:e&&t.jsx(n,{static:!0,anchor:"bottom",className:"z-50 mt-2",children:t.jsx(d.div,{initial:{opacity:0,y:-4,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-4,scale:.98},transition:r.dropdown,className:i("surface-elevated radius-inset p-1","shadow-[var(--neo-outer)]"),children:t.jsx("div",{className:"grid grid-cols-4 gap-0.5",children:m.map((e,s)=>t.jsx("button",{type:"button",onClick:()=>{s!==u&&p(s),a()},className:i("px-2.5 py-1.5 radius-control text-xs font-medium transition-colors",s===u?"shadow-[inset_0_0_0_1.5px_var(--sys-blue)] text-fg-primary":"text-fg-secondary hover:bg-overlay-soft"),children:e.label},e.label))})})})})]})})});export{m as T};
-1
View File
@@ -1 +0,0 @@
import{r as e,j as t,v as a,c as s,D as n,i as r}from"./vendor-react-Co0R0q1H.js";import{c as i,A as l,m as o,bn as c}from"./index-SWncPehc.js";import{C as d}from"./chevron-right-CZFzAnJ8.js";const m=i("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),u=e.memo(function({ranges:i,selectedIndex:u,onSelect:p,isPending:x,size:f="default"}){var h;const y=e.useRef(null),b=u>0,v=u<i.length-1,g=(null==(h=i[u])?void 0:h.label)??"—",j="sm"===f,w=(e,t)=>{var a;const s="left"===e?6:-6;null==(a=y.current)||a.animate([{opacity:1,transform:"translateX(0)"},{opacity:0,transform:`translateX(${s}px)`}],{duration:80,easing:"ease-out"}),setTimeout(()=>{var e;t(),null==(e=y.current)||e.animate([{opacity:0,transform:`translateX(${-s}px)`},{opacity:1,transform:"translateX(0)"}],{duration:80,easing:"ease-out"})},80)},N=()=>b&&w("left",()=>p(u-1)),_=()=>v&&w("right",()=>p(u+1));return t.jsx(a,{className:"relative inline-flex",children:({open:e,close:a})=>t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:s("inline-flex items-center rounded-full bg-surface","shadow-[var(--neo-outer-sm)]",j?"gap-0.5 p-0.5":"gap-0.5 p-1",x&&"opacity-70"),children:[t.jsx("button",{type:"button",onClick:N,disabled:!b,"aria-label":"Previous",className:s("flex items-center justify-center rounded-full transition-all duration-100","text-fg-muted hover:text-fg-primary active:scale-90","disabled:opacity-25 disabled:pointer-events-none",j?"w-5 h-5":"w-6 h-6"),children:t.jsx(m,{className:j?"w-3 h-3":"w-3.5 h-3.5"})}),t.jsx(n,{className:s("rounded-full cursor-pointer transition-all","bg-surface shadow-[inset_0_0_0_1.5px_var(--sys-blue)]",j?"px-2.5 py-1":"px-3 py-1.5"),children:t.jsx("span",{ref:y,className:s("block font-semibold text-fg-primary tabular-nums select-none",j?"min-w-[1.5rem] text-[11px]":"min-w-[2rem] text-xs","text-center"),children:g})}),t.jsx("button",{type:"button",onClick:_,disabled:!v,"aria-label":"Next",className:s("flex items-center justify-center rounded-full transition-all duration-100","text-fg-muted hover:text-fg-primary active:scale-90","disabled:opacity-25 disabled:pointer-events-none",j?"w-5 h-5":"w-6 h-6"),children:t.jsx(d,{className:j?"w-3 h-3":"w-3.5 h-3.5"})})]}),t.jsx(l,{children:e&&t.jsx(r,{static:!0,anchor:"bottom",className:"z-50 mt-2",children:t.jsx(o.div,{initial:{opacity:0,y:-4,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-4,scale:.98},transition:c.dropdown,className:s("surface-elevated radius-inset p-1","shadow-[var(--neo-outer)]"),children:t.jsx("div",{className:"grid grid-cols-4 gap-0.5",children:i.map((e,n)=>t.jsx("button",{type:"button",onClick:()=>{n!==u&&p(n),a()},className:s("px-2.5 py-1.5 radius-control text-xs font-medium transition-colors",n===u?"shadow-[inset_0_0_0_1.5px_var(--sys-blue)] text-fg-primary":"text-fg-secondary hover:bg-overlay-soft"),children:e.label},e.label))})})})})]})})});export{m as C,u as T};
-1
View File
@@ -1 +0,0 @@
import{c as a}from"./index-SWncPehc.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};
-1
View File
@@ -1 +0,0 @@
import{c as a}from"./index-SWncPehc.js";const t=a("antenna",[["path",{d:"M2 12 7 2",key:"117k30"}],["path",{d:"m7 12 5-10",key:"1tvx22"}],["path",{d:"m12 12 5-10",key:"ev1o1a"}],["path",{d:"m17 12 5-10",key:"1e4ti3"}],["path",{d:"M4.5 7h15",key:"vlsxkz"}],["path",{d:"M12 16v6",key:"c8a4gj"}]]);export{t as A};
-1
View File
@@ -1 +0,0 @@
import{c as a}from"./index-SWncPehc.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};
+1
View File
@@ -0,0 +1 @@
const e={ADVERT:"purple",ACK:"green",REQ:"sky",RESPONSE:"blue",TXT_MSG:"teal",GRP_TXT:"teal",FLOOD:"brown",GRP_DATA:"indigo",PATH:"yellow",MULTIPART:"amber",TRACE:"orange",ANON_REQ:"pink",RAW_CUSTOM:"red"},r={FLOOD:"sky",T_FLOOD:"sky",DIRECT:"amber",T_DIRECT:"amber"},a={rx:"sky",forward:"teal",duplicate:"zinc",tx:"amber",dropped:"rose"},n={neighbor:"amber",hub:"purple",gateway:"indigo",backbone:"purple",repeater:"teal",room:"pink",companion:"blue",client:"indigo",mobile:"orange"},o={hub:"amber",backbone:"purple",relay:"cyan",edge:"brown"},b={high:"green",medium:"amber",low:"orange",insufficient:"brown"},i={direct:"amber",multihop:"brown"};function l(e){return e>=7?"green":e>=0?"yellow":e>=-7?"orange":"red"}export{n as C,a as D,i as H,o as N,e as P,r as R,b as a,l as g};
-1
View File
@@ -1 +0,0 @@
const e={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"},a={FLOOD:"sky",T_FLOOD:"sky",DIRECT:"cyan",T_DIRECT:"cyan"},r={rx:"sky",forward:"teal",duplicate:"zinc",tx:"amber",dropped:"rose"},n={neighbor:"amber",hub:"purple",gateway:"indigo",backbone:"purple",repeater:"teal",room:"pink",companion:"blue",client:"indigo",mobile:"orange"},o={hub:"amber",backbone:"purple",relay:"cyan",edge:"brown"},i={high:"green",medium:"amber",low:"orange",insufficient:"brown"},l={direct:"amber",multihop:"brown"};function b(e){return e>=7?"green":e>=0?"yellow":e>=-7?"orange":"red"}export{n as C,r as D,l as H,o as N,e as P,a as R,i as a,b as g};
@@ -1 +1 @@
import{r as e}from"./vendor-react-Co0R0q1H.js";import{bz as n}from"./index-SWncPehc.js";const t=[n.green,n.blue,n.amber,n.pink,n.purple,n.cyan,n.orange,n.teal];function r(e){let n=0;for(let t=0;t<e.length;t++)n=e.charCodeAt(t)+((n<<5)-n);return t[Math.abs(n)%t.length]}const o=new RegExp("(?:\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F)","gu");function a(e){const n=e.match(o);return n&&n.length>0?{emoji:n[0],cleanName:e.replace(o,"").trim()||e}:{emoji:null,cleanName:e}}function i(e){const{cleanName:n}=a(e),t=n.split(/[\s-_]+/).filter(Boolean);return t.length>=2?((Array.from(t[0])[0]||"")+(Array.from(t[1])[0]||"")).toUpperCase():Array.from(n).slice(0,2).join("").toUpperCase()}function l(e){return new Date(1e3*e).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!1})}function s(n){const t=/@\[([^\]]+)\]/g,r=[];let o,a=0;for(;null!==(o=t.exec(n));)o.index>a&&r.push(n.slice(a,o.index)),r.push(e.createElement("span",{key:o.index,className:"font-extrabold text-white"},o[1])),a=o.index+o[0].length;return a<n.length&&r.push(n.slice(a)),r.length>0?r:n}export{i as a,l as b,a as e,s as f,r as g};
import{r as e}from"./vendor-react-alRNW2nb.js";import{bb as n}from"./index-D7i6lQrq.js";const t=[n.green,n.blue,n.amber,n.pink,n.purple,n.cyan,n.orange,n.teal];function r(e){let n=0;for(let t=0;t<e.length;t++)n=e.charCodeAt(t)+((n<<5)-n);return t[Math.abs(n)%t.length]}const o=new RegExp("(?:\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F)","gu");function a(e){const n=e.match(o);return n&&n.length>0?{emoji:n[0],cleanName:e.replace(o,"").trim()||e}:{emoji:null,cleanName:e}}function i(e){const{cleanName:n}=a(e),t=n.split(/[\s-_]+/).filter(Boolean);return t.length>=2?((Array.from(t[0])[0]||"")+(Array.from(t[1])[0]||"")).toUpperCase():Array.from(n).slice(0,2).join("").toUpperCase()}function l(e){return new Date(1e3*e).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!1})}function s(n){const t=/@\[([^\]]+)\]/g,r=[];let o,a=0;for(;null!==(o=t.exec(n));)o.index>a&&r.push(n.slice(a,o.index)),r.push(e.createElement("span",{key:o.index,className:"font-extrabold text-white"},o[1])),a=o.index+o[0].length;return a<n.length&&r.push(n.slice(a)),r.length>0?r:n}export{i as a,l as b,a as e,s as f,r as g};
-1
View File
@@ -1 +0,0 @@
import{c as t}from"./index-SWncPehc.js";const h=t("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);export{h as C};
-1
View File
@@ -1 +0,0 @@
import{c}from"./index-SWncPehc.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};
-1
View File
@@ -1 +0,0 @@
import{c}from"./index-SWncPehc.js";const e=c("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"}]]);export{e as C};
-1
View File
@@ -1 +0,0 @@
import{a3 as t}from"./index-SWncPehc.js";import{r as a}from"./vendor-react-Co0R0q1H.js";const e=a=>(a.type??a.payload_type)===t.ADVERT,n=a=>(a.type??a.payload_type)===t.TRACE,o=a=>(a.type??a.payload_type)===t.TXT_MSG,s=a=>(a.type??a.payload_type)===t.PATH,r=a=>(a.type??a.payload_type)===t.ACK,p=a=>{const e=a.type??a.payload_type;return e===t.GRP_TXT||e===t.GRP_DATA},y=t=>(t.path_length??(Array.isArray(t.original_path)?t.original_path.length:0))>0,f=t=>!!t.src_hash,c=t=>null!=t.airtime_ms,i=new Set,_=new Map;function l(t,a){return`${t}|${a}`}function d(t,a){const e=l(t,a);_.set(e,(_.get(e)??0)+1)}function u(t,a){const e=l(t,a),n=_.get(e)??0;n>1?_.set(e,n-1):_.delete(e)}function g(t){for(const a of t){const t=l(a.target,a.fn);i.has(t)||i.add(t)}}function h(t){a.useEffect(()=>{for(const a of t)d(a.target,a.fn);return()=>{for(const a of t)u(a.target,a.fn)}},[t])}export{y as a,f as b,o as c,r as d,e,n as f,s as g,c as h,p as i,g as r,h as u};
+1
View File
@@ -0,0 +1 @@
import{Q as t}from"./index-D7i6lQrq.js";import{r as a}from"./vendor-react-alRNW2nb.js";const e=a=>(a.type??a.payload_type)===t.ADVERT,n=a=>(a.type??a.payload_type)===t.TRACE,o=a=>(a.type??a.payload_type)===t.TXT_MSG,s=a=>(a.type??a.payload_type)===t.PATH,r=a=>(a.type??a.payload_type)===t.ACK,p=a=>{const e=a.type??a.payload_type;return e===t.GRP_TXT||e===t.GRP_DATA},y=t=>(t.path_length??(Array.isArray(t.original_path)?t.original_path.length:0))>0,f=t=>!!t.src_hash,c=t=>null!=t.airtime_ms,i=new Set,_=new Map;function l(t,a){return`${t}|${a}`}function d(t,a){const e=l(t,a);_.set(e,(_.get(e)??0)+1)}function u(t,a){const e=l(t,a),n=_.get(e)??0;n>1?_.set(e,n-1):_.delete(e)}function g(t){for(const a of t){const t=l(a.target,a.fn);i.has(t)||i.add(t)}}function h(t){a.useEffect(()=>{for(const a of t)d(a.target,a.fn);return()=>{for(const a of t)u(a.target,a.fn)}},[t])}export{y as a,f as b,o as c,r as d,e,n as f,s as g,c as h,p as i,g as r,h as u};
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{c as e}from"./index-SWncPehc.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};
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{c as a}from"./index-SWncPehc.js";const d=a("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"}]]);export{d as D};
-1
View File
@@ -1 +0,0 @@
import{c as a,dU as s}from"./index-SWncPehc.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};
+1
View File
@@ -0,0 +1 @@
import{c as o}from"./vendor-motion-DNp0Qg4F.js";const s=o(.65,0,.35,1),a=o(.33,1,.68,1),r=o(.33,.67,.67,1),t=o(.76,0,.24,1);export{a,s as b,r as c,t as e};
-1
View File
@@ -1 +0,0 @@
import{c as a}from"./index-SWncPehc.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};
-1
View File
@@ -1 +0,0 @@
import{c as y}from"./index-SWncPehc.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"}]]);export{e as H};
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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{c as a}from"./index-SWncPehc.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};
+1
View File
@@ -0,0 +1 @@
const t="sfxEnabled",e="sfxVolume";let n="false"!==localStorage.getItem(t),a=parseFloat(localStorage.getItem(e)??"0.8");function r(){return n}function c(){return a}function o(e){n=e,localStorage.setItem(t,String(e))}function s(t){a=Math.max(0,Math.min(1,t)),localStorage.setItem(e,String(a))}(Number.isNaN(a)||a<0||a>1)&&(a=.8);let u=null,i=null,f=null,l=null,d=!1,m=!1;async function y(t,e){const n=await fetch(e),a=await n.arrayBuffer();return t.decodeAudioData(a)}async function S(){if(!d&&!m){m=!0;try{u=new AudioContext;const[t,e]=await Promise.all([y(u,"/assets/sfx/key-down.m4a"),y(u,"/assets/sfx/key-up.m4a")]);i=t,f=e,d=!0}catch(t){console.warn("[keycapSfx] Failed to load audio buffers:",t)}finally{m=!1}}}function g(t){const e=u.createGain();return e.gain.value=t,e}function p(){if(!n)return;if(!d||!u||!i)return void S();"suspended"===u.state&&u.resume();const t=u.createBufferSource();t.buffer=i,t.connect(g(a)).connect(u.destination),t.start(u.currentTime+.01),l=t}function w(){if(!n)return;if(!d||!u||!f)return;if("suspended"===u.state&&u.resume(),l){try{l.stop()}catch{}l=null}const t=u.createBufferSource();t.buffer=f,t.connect(g(.75*a)).connect(u.destination),t.start()}async function b(){if(!(d&&u&&i&&f||(await S(),d&&u&&i&&f)))return;"suspended"===u.state&&await u.resume();const t=u.createBufferSource();return t.buffer=i,t.connect(g(a)).connect(u.destination),t.start(u.currentTime+.01),new Promise(e=>{setTimeout(()=>{try{t.stop()}catch{}const n=u.createBufferSource();n.buffer=f,n.connect(g(.75*a)).connect(u.destination),n.start(),n.onended=()=>e()},120)})}export{s as a,p as b,w as c,c as g,r as i,b as k,o as s};
-1
View File
@@ -1 +0,0 @@
const t="sfxEnabled",e="sfxVolume";let n="false"!==localStorage.getItem(t),a=parseFloat(localStorage.getItem(e)??"0.8");function r(){return n}function c(){return a}function s(e){n=e,localStorage.setItem(t,String(e))}function o(t){a=Math.max(0,Math.min(1,t)),localStorage.setItem(e,String(a))}(Number.isNaN(a)||a<0||a>1)&&(a=.8);let u=null,i=null,f=null,l=null,d=!1,m=!1;async function g(t,e){const n=await fetch(e),a=await n.arrayBuffer();return t.decodeAudioData(a)}async function y(){if(!d&&!m){m=!0;try{u=new AudioContext;const[t,e]=await Promise.all([g(u,"/assets/sfx/key-down.m4a"),g(u,"/assets/sfx/key-up.m4a")]);i=t,f=e,d=!0}catch(t){}finally{m=!1}}}function S(t){const e=u.createGain();return e.gain.value=t,e}function p(){if(!n)return;if(!d||!u||!i)return void y();"suspended"===u.state&&u.resume();const t=u.createBufferSource();t.buffer=i,t.connect(S(a)).connect(u.destination),t.start(u.currentTime+.01),l=t}function w(){if(!n)return;if(!d||!u||!f)return;if("suspended"===u.state&&u.resume(),l){try{l.stop()}catch{}l=null}const t=u.createBufferSource();t.buffer=f,t.connect(S(.75*a)).connect(u.destination),t.start()}async function b(){if(!(d&&u&&i&&f||(await y(),d&&u&&i&&f)))return;"suspended"===u.state&&await u.resume();const t=u.createBufferSource();return t.buffer=i,t.connect(S(a)).connect(u.destination),t.start(u.currentTime+.01),new Promise(e=>{setTimeout(()=>{try{t.stop()}catch{}const n=u.createBufferSource();n.buffer=f,n.connect(S(.75*a)).connect(u.destination),n.start(),n.onended=()=>e()},120)})}export{o as a,p as b,w as c,c as g,r as i,b as k,s};
-1
View File
@@ -1 +0,0 @@
@font-face{font-family:Noto Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-latin-400-normal-BTkUljjl.woff2) format("woff2"),url(/assets/noto-sans-latin-400-normal-DPpKfCgK.woff) format("woff")}
-1
View File
@@ -1 +0,0 @@
@font-face{font-family:Noto Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/noto-sans-latin-500-normal-DCA2Z9Cj.woff2) format("woff2"),url(/assets/noto-sans-latin-500-normal-CDPngY5C.woff) format("woff")}
-1
View File
@@ -1 +0,0 @@
@font-face{font-family:Noto Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/noto-sans-latin-600-normal-Dkgu5AE5.woff2) format("woff2"),url(/assets/noto-sans-latin-600-normal-DVJMj_t0.woff) format("woff")}
-1
View File
@@ -1 +0,0 @@
@font-face{font-family:Noto Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/noto-sans-latin-700-normal-CrvTEWhy.woff2) format("woff2"),url(/assets/noto-sans-latin-700-normal-ZyrKABVF.woff) format("woff")}
-1
View File
@@ -1 +0,0 @@
import{c as a}from"./index-SWncPehc.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};
@@ -1 +1 @@
import{W as t,a$ as e,bz as n}from"./index-SWncPehc.js";function o(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(n,r,s){const a=new Map;for(const e of r){const n=t(e);a.has(n)||a.set(n,e)}const c=new Map,i=new Map;for(const t of n){const n=t.route??t.route_type;if(!e(n))continue;const r=o(t.original_path);if(0===r.length)continue;const f=r.map(t=>t.toUpperCase());if(!t.transmitted&&f.length>=2){const t=f[f.length-2];if(t){const e=a.get(t);e&&i.set(e,(i.get(e)??0)+1)}}if(f.includes(s))for(const t of f){if(t===s)continue;const e=a.get(t);e&&c.set(e,(c.get(e)??0)+1)}}let f=0,u=0;for(const t of r)f=Math.max(f,c.get(t)??0),u=Math.max(u,i.get(t)??0);const h=new Map;let g=0,d=0,l=0;for(const t of r){const e=c.get(t)??0,n=i.get(t)??0,o=f>0?Math.round(e/f*100):0,r=u>0?Math.round(n/u*100):0,s=o+r;h.set(t,{hash:t,listenerCount:e,loudCount:n,listenerScore:o,loudScore:r,blendedScore:s}),g=Math.max(g,o),d=Math.max(d,r),l=Math.max(l,s)}return{scores:h,maxListenerScore:g,maxLoudScore:d,maxBlendedScore:l}}const s={YELLOW:n.amber,GREEN:n.green,RED:n.red,GRAY:"#505050"};export{s as L,r as c};
import{H as t,aF as e,bb as n}from"./index-D7i6lQrq.js";function o(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(n,r,s){const a=new Map;for(const e of r){const n=t(e);a.has(n)||a.set(n,e)}const c=new Map,i=new Map;for(const t of n){const n=t.route??t.route_type;if(!e(n))continue;const r=o(t.original_path);if(0===r.length)continue;const f=r.map(t=>t.toUpperCase());if(!t.transmitted&&f.length>=2){const t=f[f.length-2];if(t){const e=a.get(t);e&&i.set(e,(i.get(e)??0)+1)}}if(f.includes(s))for(const t of f){if(t===s)continue;const e=a.get(t);e&&c.set(e,(c.get(e)??0)+1)}}let f=0,u=0;for(const t of r)f=Math.max(f,c.get(t)??0),u=Math.max(u,i.get(t)??0);const h=new Map;let g=0,d=0,l=0;for(const t of r){const e=c.get(t)??0,n=i.get(t)??0,o=f>0?Math.round(e/f*100):0,r=u>0?Math.round(n/u*100):0,s=o+r;h.set(t,{hash:t,listenerCount:e,loudCount:n,listenerScore:o,loudScore:r,blendedScore:s}),g=Math.max(g,o),d=Math.max(d,r),l=Math.max(l,s)}return{scores:h,maxListenerScore:g,maxLoudScore:d,maxBlendedScore:l}}const s={YELLOW:n.amber,GREEN:n.green,RED:n.red,GRAY:"#505050"};export{s as L,r as c};
+1
View File
@@ -0,0 +1 @@
import{j as e,i as s,l as a,n as t,o as r,I as n,r as o}from"./vendor-react-alRNW2nb.js";import{c as i}from"./vendor-core-FtpmsTnh.js";import{b0 as l}from"./index-D7i6lQrq.js";import{C as c,a as d}from"./vendor-icons-TO0PZKGR.js";import{A as m,m as u}from"./vendor-motion-DNp0Qg4F.js";function p({value:n,onChange:o,className:d,placeholder:p,disabled:x,"aria-label":b,children:f}){return e.jsx(s,{value:n,onChange:o,disabled:x,children:({open:s})=>e.jsxs("div",{className:i("relative",d),children:[e.jsxs(a,{"aria-label":b,className:i(["relative flex w-full items-center justify-between gap-2","radius-inner px-3 py-2","text-left text-sm text-fg-primary","bg-input-bg border border-input-border","ring-focus-inset","hover:border-edge-strong","disabled:opacity-40 disabled:pointer-events-none disabled:cursor-not-allowed","transition-colors"]),children:[e.jsx(t,{as:"span",options:f,placeholder:p&&e.jsx("span",{className:"text-fg-muted",children:p}),className:"block truncate"}),e.jsx(c,{className:i("w-4 h-4 text-fg-muted transition-transform duration-200",s&&"rotate-180")})]}),e.jsx(m,{children:s&&e.jsx(u.div,{initial:{opacity:0,y:-4,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-4,scale:.98},transition:l.dropdown,className:"absolute z-50 mt-1",children:e.jsx(r,{static:!0,anchor:"bottom start",className:i(["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:f})})})]})})}function x({value:s,disabled:a,className:t,children:r}){return e.jsx(n,{as:o.Fragment,value:s,disabled:a,children:({selected:s,focus:n})=>e.jsxs("div",{className:i("flex items-center gap-2 px-3 py-2 radius-control cursor-default","text-sm",n&&"bg-sys-blue text-white",!n&&"text-fg-primary",s&&!n&&"text-sys-blue",a&&"opacity-50 cursor-not-allowed",t),children:[e.jsx("span",{className:"w-4 flex-shrink-0",children:s&&e.jsx(d,{className:"w-4 h-4"})}),e.jsx("span",{className:"truncate",children:r})]})})}function b({className:s,...a}){return e.jsx("span",{...a,className:i("truncate",s)})}export{p as L,x as a,b};
-1
View File
@@ -1 +0,0 @@
import{j as e,n as a,c as s,o as t,p as r,q as n,I as l,r as i}from"./vendor-react-Co0R0q1H.js";import{aa as o,A as c,m as d,bn as u,q as m}from"./index-SWncPehc.js";function x({value:l,onChange:i,className:m,placeholder:x,disabled:p,"aria-label":b,children:h}){return e.jsx(a,{value:l,onChange:i,disabled:p,children:({open:a})=>e.jsxs("div",{className:s("relative",m),children:[e.jsxs(t,{"aria-label":b,className:s(["relative flex w-full items-center justify-between gap-2","radius-inner px-3 py-2","text-left text-sm text-fg-primary","bg-input-bg border border-input-border","ring-focus-inset","hover:border-edge-strong","disabled:opacity-40 disabled:pointer-events-none disabled:cursor-not-allowed","transition-colors"]),children:[e.jsx(r,{as:"span",options:h,placeholder:x&&e.jsx("span",{className:"text-fg-muted",children:x}),className:"block truncate"}),e.jsx(o,{className:s("w-4 h-4 text-fg-muted transition-transform duration-200",a&&"rotate-180")})]}),e.jsx(c,{children:a&&e.jsx(d.div,{initial:{opacity:0,y:-4,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-4,scale:.98},transition:u.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:h})})})]})})}function p({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-sys-blue text-white",!l&&"text-fg-primary",a&&!l&&"text-sys-blue",t&&"opacity-50 cursor-not-allowed",r),children:[e.jsx("span",{className:"w-4 flex-shrink-0",children:a&&e.jsx(m,{className:"w-4 h-4"})}),e.jsx("span",{className:"truncate",children:n})]})})}function b({className:a,...t}){return e.jsx("span",{...t,className:s("truncate",a)})}export{x as L,p as a,b};
-1
View File
@@ -1 +0,0 @@
import{c}from"./index-SWncPehc.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};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{c as e}from"./index-SWncPehc.js";const t=e("monitor-smartphone",[["path",{d:"M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8",key:"10dyio"}],["path",{d:"M10 19v-3.96 3.15",key:"1irgej"}],["path",{d:"M7 19h5",key:"qswx4l"}],["rect",{width:"6",height:"10",x:"16",y:"12",rx:"2",key:"1egngj"}]]);export{t as M};

Some files were not shown because too many files have changed in this diff Show More