1import{c as r}from"./button-DIz66ofq.js";import{i}from"./deviceInfo-D8_jgxd8.js";/** 2 * @license lucide-react v0.446.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const p=r("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]),s="ergoTech/laconote",h=`https://github.com/${s}/releases/latest`,c=!0,l=[{id:"mac-arm",os:"mac",labelKey:"desktopApp.builds.macSilicon",url:`https://github.com/${s}/releases/latest/download/Laconote_aarch64.dmg`,ext:"dmg"},{id:"mac-intel",os:"mac",labelKey:"desktopApp.builds.macIntel",url:`https://github.com/${s}/releases/latest/download/Laconote_x64.dmg`,ext:"dmg"},{id:"win-x64",os:"windows",labelKey:"desktopApp.builds.windows",url:`https://github.com/${s}/releases/latest/download/Laconote_x64-setup.exe`,ext:"exe"}],d=l.filter(e=>e.os!=="windows"||c);function g(){return typeof navigator>"u"?null:i()?"mac":/Windows/.test(navigator.userAgent)?"windows":null}function f(e){const t=e==="mac"?"mac-arm":"win-x64";return d.find(o=>o.id===t)??null}const a="laconote-desktop-latest-version";async function w(){var e;try{const t=sessionStorage.getItem(a);if(t)return t}catch{}try{const t=await fetch(`https://api.github.com/repos/${s}/releases/latest`,{headers:{Accept:"application/vnd.github+json"}});if(!t.ok)return null;const o=(e=await t.json())==null?void 0:e.tag_name;if(!o)return null;const n=o.replace(/^v/,"");try{sessionStorage.setItem(a,n)}catch{}return n}catch{return null}}export{d as A,h as G,p as M,c as W,g as d,w as f,f as r};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.