9remote 3.0.33 → 3.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/dist/cli.cjs +160 -144
  2. package/dist/extension/background.js +225 -0
  3. package/dist/extension/icons/icon128.png +0 -0
  4. package/dist/extension/icons/icon16.png +0 -0
  5. package/dist/extension/icons/icon48.png +0 -0
  6. package/dist/extension/manifest.json +11 -0
  7. package/dist/extension/popup.html +58 -0
  8. package/dist/extension/popup.js +23 -0
  9. package/dist/ptyDaemon.cjs +9 -9
  10. package/dist/server.cjs +391 -289
  11. package/dist/ui/assets/index-DbuftNJF.js +8 -0
  12. package/dist/ui/index.html +1 -1
  13. package/dist/web/404.html +1 -1
  14. package/dist/web/__next.__PAGE__.txt +2 -2
  15. package/dist/web/__next._full.txt +8 -8
  16. package/dist/web/__next._head.txt +1 -1
  17. package/dist/web/__next._index.txt +7 -7
  18. package/dist/web/__next._tree.txt +2 -2
  19. package/dist/web/_next/static/chunks/{4300-07e861bf93bf7d91.js → 4300-7d6c9b3328075562.js} +1 -1
  20. package/dist/web/_next/static/chunks/5788-d4b8dc2ab68396b6.js +1 -0
  21. package/dist/web/_next/static/chunks/6739.22a05398bfd34922.js +1 -0
  22. package/dist/web/_next/static/chunks/8762-cb470d05070f5ead.js +1 -0
  23. package/dist/web/_next/static/chunks/8922-8660f73e9cd42406.js +1 -0
  24. package/dist/web/_next/static/chunks/app/dev/question/page-bdedfcfce7a3c516.js +1 -0
  25. package/dist/web/_next/static/chunks/app/layout-a0e78c8427f97e4f.js +1 -0
  26. package/dist/web/_next/static/chunks/app/login/{page-df0619de376c5db8.js → page-edc7457ddecf9262.js} +1 -1
  27. package/dist/web/_next/static/chunks/app/{page-d0e1fb551728bb6f.js → page-b76772608a876c23.js} +2 -2
  28. package/dist/web/_next/static/chunks/app/workspace/layout-0fd9ea03182e9c89.js +15 -0
  29. package/dist/web/_next/static/chunks/{webpack-d2ee6953aa988e78.js → webpack-f3500fd1fae71c88.js} +1 -1
  30. package/dist/web/_next/static/css/1b307dedbb687210.css +1 -0
  31. package/dist/web/_not-found/__next._full.txt +7 -7
  32. package/dist/web/_not-found/__next._head.txt +1 -1
  33. package/dist/web/_not-found/__next._index.txt +7 -7
  34. package/dist/web/_not-found/__next._not-found.__PAGE__.txt +1 -1
  35. package/dist/web/_not-found/__next._not-found.txt +1 -1
  36. package/dist/web/_not-found/__next._tree.txt +2 -2
  37. package/dist/web/_not-found.html +1 -1
  38. package/dist/web/_not-found.txt +7 -7
  39. package/dist/web/admin/__next._full.txt +8 -8
  40. package/dist/web/admin/__next._head.txt +1 -1
  41. package/dist/web/admin/__next._index.txt +7 -7
  42. package/dist/web/admin/__next._tree.txt +2 -2
  43. package/dist/web/admin/__next.admin.__PAGE__.txt +2 -2
  44. package/dist/web/admin/__next.admin.txt +1 -1
  45. package/dist/web/admin/access/__next._full.txt +8 -8
  46. package/dist/web/admin/access/__next._head.txt +1 -1
  47. package/dist/web/admin/access/__next._index.txt +7 -7
  48. package/dist/web/admin/access/__next._tree.txt +2 -2
  49. package/dist/web/admin/access/__next.admin.access.__PAGE__.txt +2 -2
  50. package/dist/web/admin/access/__next.admin.access.txt +1 -1
  51. package/dist/web/admin/access/__next.admin.txt +1 -1
  52. package/dist/web/admin/access.html +1 -1
  53. package/dist/web/admin/access.txt +8 -8
  54. package/dist/web/admin/login/__next._full.txt +8 -8
  55. package/dist/web/admin/login/__next._head.txt +1 -1
  56. package/dist/web/admin/login/__next._index.txt +7 -7
  57. package/dist/web/admin/login/__next._tree.txt +2 -2
  58. package/dist/web/admin/login/__next.admin.login.__PAGE__.txt +2 -2
  59. package/dist/web/admin/login/__next.admin.login.txt +1 -1
  60. package/dist/web/admin/login/__next.admin.txt +1 -1
  61. package/dist/web/admin/login.html +1 -1
  62. package/dist/web/admin/login.txt +8 -8
  63. package/dist/web/admin/ota/__next._full.txt +8 -8
  64. package/dist/web/admin/ota/__next._head.txt +1 -1
  65. package/dist/web/admin/ota/__next._index.txt +7 -7
  66. package/dist/web/admin/ota/__next._tree.txt +2 -2
  67. package/dist/web/admin/ota/__next.admin.ota.__PAGE__.txt +2 -2
  68. package/dist/web/admin/ota/__next.admin.ota.txt +1 -1
  69. package/dist/web/admin/ota/__next.admin.txt +1 -1
  70. package/dist/web/admin/ota.html +1 -1
  71. package/dist/web/admin/ota.txt +8 -8
  72. package/dist/web/admin/turn/__next._full.txt +8 -8
  73. package/dist/web/admin/turn/__next._head.txt +1 -1
  74. package/dist/web/admin/turn/__next._index.txt +7 -7
  75. package/dist/web/admin/turn/__next._tree.txt +2 -2
  76. package/dist/web/admin/turn/__next.admin.turn.__PAGE__.txt +2 -2
  77. package/dist/web/admin/turn/__next.admin.turn.txt +1 -1
  78. package/dist/web/admin/turn/__next.admin.txt +1 -1
  79. package/dist/web/admin/turn.html +1 -1
  80. package/dist/web/admin/turn.txt +8 -8
  81. package/dist/web/admin.html +1 -1
  82. package/dist/web/admin.txt +8 -8
  83. package/dist/web/dev/question/__next._full.txt +8 -8
  84. package/dist/web/dev/question/__next._head.txt +1 -1
  85. package/dist/web/dev/question/__next._index.txt +7 -7
  86. package/dist/web/dev/question/__next._tree.txt +2 -2
  87. package/dist/web/dev/question/__next.dev.question.__PAGE__.txt +2 -2
  88. package/dist/web/dev/question/__next.dev.question.txt +1 -1
  89. package/dist/web/dev/question/__next.dev.txt +1 -1
  90. package/dist/web/dev/question.html +1 -1
  91. package/dist/web/dev/question.txt +8 -8
  92. package/dist/web/download/__next._full.txt +8 -8
  93. package/dist/web/download/__next._head.txt +1 -1
  94. package/dist/web/download/__next._index.txt +7 -7
  95. package/dist/web/download/__next._tree.txt +2 -2
  96. package/dist/web/download/__next.download.__PAGE__.txt +2 -2
  97. package/dist/web/download/__next.download.txt +1 -1
  98. package/dist/web/download.html +1 -1
  99. package/dist/web/download.txt +8 -8
  100. package/dist/web/index.html +1 -1
  101. package/dist/web/index.txt +8 -8
  102. package/dist/web/login/__next._full.txt +8 -8
  103. package/dist/web/login/__next._head.txt +1 -1
  104. package/dist/web/login/__next._index.txt +7 -7
  105. package/dist/web/login/__next._tree.txt +2 -2
  106. package/dist/web/login/__next.login.__PAGE__.txt +2 -2
  107. package/dist/web/login/__next.login.txt +1 -1
  108. package/dist/web/login.html +1 -1
  109. package/dist/web/login.txt +8 -8
  110. package/dist/web/sw.js +2 -8
  111. package/dist/web/workspace/__next._full.txt +8 -8
  112. package/dist/web/workspace/__next._head.txt +1 -1
  113. package/dist/web/workspace/__next._index.txt +7 -7
  114. package/dist/web/workspace/__next._tree.txt +2 -2
  115. package/dist/web/workspace/__next.workspace.__PAGE__.txt +1 -1
  116. package/dist/web/workspace/__next.workspace.txt +2 -2
  117. package/dist/web/workspace/browse/__next._full.txt +8 -8
  118. package/dist/web/workspace/browse/__next._head.txt +1 -1
  119. package/dist/web/workspace/browse/__next._index.txt +7 -7
  120. package/dist/web/workspace/browse/__next._tree.txt +2 -2
  121. package/dist/web/workspace/browse/__next.workspace.browse.__PAGE__.txt +1 -1
  122. package/dist/web/workspace/browse/__next.workspace.browse.txt +1 -1
  123. package/dist/web/workspace/browse/__next.workspace.txt +2 -2
  124. package/dist/web/workspace/browse.html +1 -1
  125. package/dist/web/workspace/browse.txt +8 -8
  126. package/dist/web/workspace/editor/__next._full.txt +8 -8
  127. package/dist/web/workspace/editor/__next._head.txt +1 -1
  128. package/dist/web/workspace/editor/__next._index.txt +7 -7
  129. package/dist/web/workspace/editor/__next._tree.txt +2 -2
  130. package/dist/web/workspace/editor/__next.workspace.editor.__PAGE__.txt +1 -1
  131. package/dist/web/workspace/editor/__next.workspace.editor.txt +1 -1
  132. package/dist/web/workspace/editor/__next.workspace.txt +2 -2
  133. package/dist/web/workspace/editor.html +1 -1
  134. package/dist/web/workspace/editor.txt +8 -8
  135. package/dist/web/workspace/files/__next._full.txt +8 -8
  136. package/dist/web/workspace/files/__next._head.txt +1 -1
  137. package/dist/web/workspace/files/__next._index.txt +7 -7
  138. package/dist/web/workspace/files/__next._tree.txt +2 -2
  139. package/dist/web/workspace/files/__next.workspace.files.__PAGE__.txt +1 -1
  140. package/dist/web/workspace/files/__next.workspace.files.txt +1 -1
  141. package/dist/web/workspace/files/__next.workspace.txt +2 -2
  142. package/dist/web/workspace/files.html +1 -1
  143. package/dist/web/workspace/files.txt +8 -8
  144. package/dist/web/workspace/git/__next._full.txt +8 -8
  145. package/dist/web/workspace/git/__next._head.txt +1 -1
  146. package/dist/web/workspace/git/__next._index.txt +7 -7
  147. package/dist/web/workspace/git/__next._tree.txt +2 -2
  148. package/dist/web/workspace/git/__next.workspace.git.__PAGE__.txt +1 -1
  149. package/dist/web/workspace/git/__next.workspace.git.txt +1 -1
  150. package/dist/web/workspace/git/__next.workspace.txt +2 -2
  151. package/dist/web/workspace/git.html +1 -1
  152. package/dist/web/workspace/git.txt +8 -8
  153. package/dist/web/workspace/mobile/__next._full.txt +8 -8
  154. package/dist/web/workspace/mobile/__next._head.txt +1 -1
  155. package/dist/web/workspace/mobile/__next._index.txt +7 -7
  156. package/dist/web/workspace/mobile/__next._tree.txt +2 -2
  157. package/dist/web/workspace/mobile/__next.workspace.mobile.__PAGE__.txt +1 -1
  158. package/dist/web/workspace/mobile/__next.workspace.mobile.txt +1 -1
  159. package/dist/web/workspace/mobile/__next.workspace.txt +2 -2
  160. package/dist/web/workspace/mobile.html +1 -1
  161. package/dist/web/workspace/mobile.txt +8 -8
  162. package/dist/web/workspace/pair/__next._full.txt +8 -8
  163. package/dist/web/workspace/pair/__next._head.txt +1 -1
  164. package/dist/web/workspace/pair/__next._index.txt +7 -7
  165. package/dist/web/workspace/pair/__next._tree.txt +2 -2
  166. package/dist/web/workspace/pair/__next.workspace.pair.__PAGE__.txt +1 -1
  167. package/dist/web/workspace/pair/__next.workspace.pair.txt +1 -1
  168. package/dist/web/workspace/pair/__next.workspace.txt +2 -2
  169. package/dist/web/workspace/pair.html +1 -1
  170. package/dist/web/workspace/pair.txt +8 -8
  171. package/dist/web/workspace/remote/__next._full.txt +8 -8
  172. package/dist/web/workspace/remote/__next._head.txt +1 -1
  173. package/dist/web/workspace/remote/__next._index.txt +7 -7
  174. package/dist/web/workspace/remote/__next._tree.txt +2 -2
  175. package/dist/web/workspace/remote/__next.workspace.remote.__PAGE__.txt +1 -1
  176. package/dist/web/workspace/remote/__next.workspace.remote.txt +1 -1
  177. package/dist/web/workspace/remote/__next.workspace.txt +2 -2
  178. package/dist/web/workspace/remote.html +1 -1
  179. package/dist/web/workspace/remote.txt +8 -8
  180. package/dist/web/workspace/terminal/default/__next._full.txt +8 -8
  181. package/dist/web/workspace/terminal/default/__next._head.txt +1 -1
  182. package/dist/web/workspace/terminal/default/__next._index.txt +7 -7
  183. package/dist/web/workspace/terminal/default/__next._tree.txt +2 -2
  184. package/dist/web/workspace/terminal/default/__next.workspace.terminal.$d$sessionId.__PAGE__.txt +1 -1
  185. package/dist/web/workspace/terminal/default/__next.workspace.terminal.$d$sessionId.txt +1 -1
  186. package/dist/web/workspace/terminal/default/__next.workspace.terminal.txt +1 -1
  187. package/dist/web/workspace/terminal/default/__next.workspace.txt +2 -2
  188. package/dist/web/workspace/terminal/default.html +1 -1
  189. package/dist/web/workspace/terminal/default.txt +8 -8
  190. package/dist/web/workspace/welcome/__next._full.txt +8 -8
  191. package/dist/web/workspace/welcome/__next._head.txt +1 -1
  192. package/dist/web/workspace/welcome/__next._index.txt +7 -7
  193. package/dist/web/workspace/welcome/__next._tree.txt +2 -2
  194. package/dist/web/workspace/welcome/__next.workspace.txt +2 -2
  195. package/dist/web/workspace/welcome/__next.workspace.welcome.__PAGE__.txt +1 -1
  196. package/dist/web/workspace/welcome/__next.workspace.welcome.txt +1 -1
  197. package/dist/web/workspace/welcome.html +1 -1
  198. package/dist/web/workspace/welcome.txt +8 -8
  199. package/dist/web/workspace/workspaces/__next._full.txt +8 -8
  200. package/dist/web/workspace/workspaces/__next._head.txt +1 -1
  201. package/dist/web/workspace/workspaces/__next._index.txt +7 -7
  202. package/dist/web/workspace/workspaces/__next._tree.txt +2 -2
  203. package/dist/web/workspace/workspaces/__next.workspace.txt +2 -2
  204. package/dist/web/workspace/workspaces/__next.workspace.workspaces.__PAGE__.txt +1 -1
  205. package/dist/web/workspace/workspaces/__next.workspace.workspaces.txt +1 -1
  206. package/dist/web/workspace/workspaces.html +1 -1
  207. package/dist/web/workspace/workspaces.txt +8 -8
  208. package/dist/web/workspace.html +1 -1
  209. package/dist/web/workspace.txt +8 -8
  210. package/package.json +5 -2
  211. package/dist/ui/assets/index-DaXUWL4p.js +0 -8
  212. package/dist/web/_next/static/chunks/2081-e831caac4b77c71b.js +0 -1
  213. package/dist/web/_next/static/chunks/5788-1564be0da354c064.js +0 -1
  214. package/dist/web/_next/static/chunks/6739.82570eba0a02cb26.js +0 -1
  215. package/dist/web/_next/static/chunks/8922-6961d48ca52e1c93.js +0 -1
  216. package/dist/web/_next/static/chunks/app/dev/question/page-4bb0cca12fac67eb.js +0 -1
  217. package/dist/web/_next/static/chunks/app/layout-db3ce810a0a58245.js +0 -1
  218. package/dist/web/_next/static/chunks/app/workspace/layout-962bdc55fd3688d7.js +0 -15
  219. package/dist/web/_next/static/css/68a0b2d972b421cb.css +0 -1
  220. /package/dist/web/_next/static/{wQF273g4wNnUv72vtLjBT → DdbafQkcX_ZaKRMjMeNKp}/_buildManifest.js +0 -0
  221. /package/dist/web/_next/static/{wQF273g4wNnUv72vtLjBT → DdbafQkcX_ZaKRMjMeNKp}/_ssgManifest.js +0 -0
@@ -1,8 +0,0 @@
1
- (function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const x of document.querySelectorAll('link[rel="modulepreload"]'))r(x);new MutationObserver(x=>{for(const a of x)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function t(x){const a={};return x.integrity&&(a.integrity=x.integrity),x.referrerPolicy&&(a.referrerPolicy=x.referrerPolicy),x.crossOrigin==="use-credentials"?a.credentials="include":x.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(x){if(x.ep)return;x.ep=!0;const a=t(x);fetch(x.href,a)}})();var nn,xe,nr,je,e0,rr,xr,ln,yt,st,ar,Hn,Un,zn,St={},It=[],Zr=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,dt=Array.isArray;function Me(e,n){for(var t in n)e[t]=n[t];return e}function Vn(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function ct(e,n,t){var r,x,a,o={};for(a in n)a=="key"?r=n[a]:a=="ref"?x=n[a]:o[a]=n[a];if(arguments.length>2&&(o.children=arguments.length>3?nn.call(arguments,2):t),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)o[a]===void 0&&(o[a]=e.defaultProps[a]);return kt(e,o,r,x,null)}function kt(e,n,t,r,x){var a={type:e,props:n,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:x??++nr,__i:-1,__u:0};return x==null&&xe.vnode!=null&&xe.vnode(a),a}function Re(e){return e.children}function Oe(e,n){this.props=e,this.context=n}function We(e,n){if(n==null)return e.__?We(e.__,e.__i+1):null;for(var t;n<e.__k.length;n++)if((t=e.__k[n])!=null&&t.__e!=null)return t.__e;return typeof e.type=="function"?We(e):null}function Xr(e){if(e.__P&&e.__d){var n=e.__v,t=n.__e,r=[],x=[],a=Me({},n);a.__v=n.__v+1,xe.vnode&&xe.vnode(a),Qn(e.__P,a,n,e.__n,e.__P.namespaceURI,32&n.__u?[t]:null,r,t??We(n),!!(32&n.__u),x),a.__v=n.__v,a.__.__k[a.__i]=a,cr(r,a,x),n.__e=n.__=null,a.__e!=t&&or(a)}}function or(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(n){if(n!=null&&n.__e!=null)return e.__e=e.__c.base=n.__e}),or(e)}function t0(e){(!e.__d&&(e.__d=!0)&&je.push(e)&&!Dt.__r++||e0!=xe.debounceRendering)&&((e0=xe.debounceRendering)||rr)(Dt)}function Dt(){try{for(var e,n=1;je.length;)je.length>n&&je.sort(xr),e=je.shift(),n=je.length,Xr(e)}finally{je.length=Dt.__r=0}}function ir(e,n,t,r,x,a,o,s,l,d,f){var b,u,m,g,I,B,k=r&&r.__k||It,h=n.length;for(l=$r(t,n,k,l,h),b=0;b<h;b++)(m=t.__k[b])!=null&&(u=m.__i!=-1&&k[m.__i]||St,m.__i=b,B=Qn(e,m,u,x,a,o,s,l,d,f),g=m.__e,m.ref&&u.ref!=m.ref&&(u.ref&&Yn(u.ref,null,m),f.push(m.ref,m.__c||g,m)),I==null&&g!=null&&(I=g),4&m.__u?(l=sr(m,l,e),u.__e&&(u.__e=null)):typeof m.type=="function"&&B!==void 0?l=B:g&&(l=g.nextSibling),m.__u&=-7);return t.__e=I,l}function $r(e,n,t,r,x){var a,o,s,l,d,f=t.length,b=f,u=0;for(e.__k=new Array(x),a=0;a<x;a++)(o=n[a])!=null&&typeof o!="boolean"&&typeof o!="function"?(typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?o=e.__k[a]=kt(null,o,null,null,null):dt(o)?o=e.__k[a]=kt(Re,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?o=e.__k[a]=kt(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):e.__k[a]=o,l=a+u,o.__=e,o.__b=e.__b+1,s=null,(d=o.__i=ex(o,t,l,b))!=-1&&(b--,(s=t[d])&&(s.__u|=2)),s==null||s.__v==null?(d==-1&&(x>f?u--:x<f&&u++),typeof o.type!="function"&&(o.__u|=4)):d!=l&&(d==l-1?u--:d==l+1?u++:(d>l?u--:u++,o.__u|=4))):e.__k[a]=null;if(b)for(a=0;a<f;a++)(s=t[a])!=null&&(2&s.__u)==0&&(s.__e==r&&(r=We(s)),dr(s,s));return r}function sr(e,n,t){var r,x;if(typeof e.type=="function"){for(r=e.__k,x=0;r&&x<r.length;x++)r[x]&&(r[x].__=e,n=sr(r[x],n,t));return n}e.__e!=n&&(n&&e.type&&!n.parentNode&&(n=We(e)),n=t.insertBefore(e.__e,n||null));do n=n&&n.nextSibling;while(n!=null&&n.nodeType==8);return n}function Ct(e,n){return n=n||[],e==null||typeof e=="boolean"||(dt(e)?e.some(function(t){Ct(t,n)}):n.push(e)),n}function ex(e,n,t,r){var x,a,o,s=e.key,l=e.type,d=n[t],f=d!=null&&(2&d.__u)==0;if(d===null&&s==null||f&&s==d.key&&l==d.type)return t;if(r>(f?1:0)){for(x=t-1,a=t+1;x>=0||a<n.length;)if((d=n[o=x>=0?x--:a++])!=null&&(2&d.__u)==0&&s==d.key&&l==d.type)return o}return-1}function n0(e,n,t){n[0]=="-"?e.setProperty(n,t??""):e[n]=t==null?"":typeof t!="number"||Zr.test(n)?t:t+"px"}function pt(e,n,t,r,x){var a,o;e:if(n=="style")if(typeof t=="string")e.style.cssText=t;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(n in r)t&&n in t||n0(e.style,n,"");if(t)for(n in t)r&&t[n]==r[n]||n0(e.style,n,t[n])}else if(n[0]=="o"&&n[1]=="n")a=n!=(n=n.replace(ar,"$1")),o=n.toLowerCase(),n=o in e||n=="onFocusOut"||n=="onFocusIn"?o.slice(2):n.slice(2),e.l||(e.l={}),e.l[n+a]=t,t?r?t[st]=r[st]:(t[st]=Hn,e.addEventListener(n,a?zn:Un,a)):e.removeEventListener(n,a?zn:Un,a);else{if(x=="http://www.w3.org/2000/svg")n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(n!="width"&&n!="height"&&n!="href"&&n!="list"&&n!="form"&&n!="tabIndex"&&n!="download"&&n!="rowSpan"&&n!="colSpan"&&n!="role"&&n!="popover"&&n in e)try{e[n]=t??"";break e}catch{}typeof t=="function"||(t==null||t===!1&&n[4]!="-"?e.removeAttribute(n):e.setAttribute(n,n=="popover"&&t==1?"":t))}}function r0(e){return function(n){if(this.l){var t=this.l[n.type+e];if(n[yt]==null)n[yt]=Hn++;else if(n[yt]<t[st])return;return t(xe.event?xe.event(n):n)}}}function Qn(e,n,t,r,x,a,o,s,l,d){var f,b,u,m,g,I,B,k,h,y,U,oe,C,q,A,D,N=n.type;if(n.constructor!==void 0)return null;128&t.__u&&(l=!!(32&t.__u),a=[s=n.__e=t.__e]),(f=xe.__b)&&f(n);e:if(typeof N=="function"){b=o.length;try{if(h=n.props,y=N.prototype&&N.prototype.render,U=(f=N.contextType)&&r[f.__c],oe=f?U?U.props.value:f.__:r,t.__c?k=(u=n.__c=t.__c).__=u.__E:(y?n.__c=u=new N(h,oe):(n.__c=u=new Oe(h,oe),u.constructor=N,u.render=nx),U&&U.sub(u),u.state||(u.state={}),u.__n=r,m=u.__d=!0,u.__h=[],u._sb=[]),y&&u.__s==null&&(u.__s=u.state),y&&N.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=Me({},u.__s)),Me(u.__s,N.getDerivedStateFromProps(h,u.__s))),g=u.props,I=u.state,u.__v=n,m)y&&N.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),y&&u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(y&&N.getDerivedStateFromProps==null&&h!==g&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(h,oe),n.__v==t.__v||!u.__e&&u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(h,u.__s,oe)===!1){n.__v!=t.__v&&(u.props=h,u.state=u.__s,u.__d=!1),n.__e=t.__e,n.__k=t.__k,n.__k.some(function(S){S&&(S.__=n)}),It.push.apply(u.__h,u._sb),u._sb=[],u.__h.length&&o.push(u),s=We(t);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(h,u.__s,oe),y&&u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(g,I,B)})}if(u.context=oe,u.props=h,u.__P=e,u.__e=!1,C=xe.__r,q=0,y)u.state=u.__s,u.__d=!1,C&&C(n),f=u.render(u.props,u.state,u.context),It.push.apply(u.__h,u._sb),u._sb=[];else do u.__d=!1,C&&C(n),f=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++q<25);u.state=u.__s,u.getChildContext!=null&&(r=Me(Me({},r),u.getChildContext())),y&&!m&&u.getSnapshotBeforeUpdate!=null&&(B=u.getSnapshotBeforeUpdate(g,I)),A=f!=null&&f.type===Re&&f.key==null?ur(f.props.children):f,s=ir(e,dt(A)?A:[A],n,t,r,x,a,o,s,l,d),u.base=n.__e,n.__u&=-161,u.__h.length&&o.push(u),k&&(u.__E=u.__=null)}catch(S){if(o.length=b,n.__v=null,l||a!=null){if(S.then){for(n.__u|=l?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;a!=null&&(a[a.indexOf(s)]=null),n.__e=s}else if(a!=null)for(D=a.length;D--;)Vn(a[D])}else n.__e=t.__e;n.__k==null&&(n.__k=t.__k||[]),S.then||lr(n),xe.__e(S,n,t)}}else a==null&&n.__v==t.__v?(n.__k=t.__k,n.__e=t.__e):s=n.__e=tx(t.__e,n,t,r,x,a,o,l,d);return(f=xe.diffed)&&f(n),128&n.__u?void 0:s}function lr(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(lr))}function cr(e,n,t){for(var r=0;r<t.length;r++)Yn(t[r],t[++r],t[++r]);xe.__c&&xe.__c(n,e),e.some(function(x){try{e=x.__h,x.__h=[],e.some(function(a){a.call(x)})}catch(a){xe.__e(a,x.__v)}})}function ur(e){return typeof e!="object"||e==null||e.__b>0?e:dt(e)?e.map(ur):e.constructor!==void 0?null:Me({},e)}function tx(e,n,t,r,x,a,o,s,l){var d,f,b,u,m,g,I,B=t.props||St,k=n.props,h=n.type;if(h=="svg"?x="http://www.w3.org/2000/svg":h=="math"?x="http://www.w3.org/1998/Math/MathML":x||(x="http://www.w3.org/1999/xhtml"),a!=null){for(d=0;d<a.length;d++)if((m=a[d])&&"setAttribute"in m==!!h&&(h?m.localName==h:m.nodeType==3)){e=m,a[d]=null;break}}if(e==null){if(h==null)return document.createTextNode(k);e=document.createElementNS(x,h,k.is&&k),s&&(xe.__m&&xe.__m(n,a),s=!1),a=null}if(h==null)B===k||s&&e.data==k||(e.data=k);else{if(a=h=="textarea"&&k.defaultValue!=null?null:a&&nn.call(e.childNodes),!s&&a!=null)for(B={},d=0;d<e.attributes.length;d++)B[(m=e.attributes[d]).name]=m.value;for(d in B)m=B[d],d=="dangerouslySetInnerHTML"?b=m:d=="children"||d in k||d=="value"&&"defaultValue"in k||d=="checked"&&"defaultChecked"in k||pt(e,d,null,m,x);for(d in k)m=k[d],d=="children"?u=m:d=="dangerouslySetInnerHTML"?f=m:d=="value"?g=m:d=="checked"?I=m:s&&typeof m!="function"||B[d]===m||pt(e,d,m,B[d],x);if(f)s||b&&(f.__html==b.__html||f.__html==e.innerHTML)||(e.innerHTML=f.__html),n.__k=[];else if(b&&(e.innerHTML=""),ir(n.type=="template"?e.content:e,dt(u)?u:[u],n,t,r,h=="foreignObject"?"http://www.w3.org/1999/xhtml":x,a,o,a?a[0]:t.__k&&We(t,0),s,l),a!=null)for(d=a.length;d--;)Vn(a[d]);s&&h!="textarea"||(d="value",h=="progress"&&g==null?e.removeAttribute("value"):g!=null&&(g!==e[d]||h=="progress"&&!g||h=="option"&&g!=B[d])&&pt(e,d,g,B[d],x),d="checked",I!=null&&I!=e[d]&&pt(e,d,I,B[d],x))}return e}function Yn(e,n,t){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&n==null||(e.__u=e(n))}else e.current=n}catch(x){xe.__e(x,t)}}function dr(e,n,t){var r,x;if(xe.unmount&&xe.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||Yn(r,null,n)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){xe.__e(a,n)}r.base=r.__P=r.__n=null}if(r=e.__k)for(x=0;x<r.length;x++)r[x]&&dr(r[x],n,t||typeof e.type!="function");t||Vn(e.__e),e.__c=e.__=e.__e=void 0}function nx(e,n,t){return this.constructor(e,t)}function Gn(e,n,t){var r,x,a,o;n==document&&(n=document.documentElement),xe.__&&xe.__(e,n),x=(r=!1)?null:n.__k,a=[],o=[],Qn(n,e=n.__k=ct(Re,null,[e]),x||St,St,n.namespaceURI,x?null:n.firstChild?nn.call(n.childNodes):null,a,x?x.__e:n.firstChild,r,o),cr(a,e,o),e.props.children=null}nn=It.slice,xe={__e:function(e,n,t,r){for(var x,a,o;n=n.__;)if((x=n.__c)&&!x.__)try{if((a=x.constructor)&&a.getDerivedStateFromError!=null&&(x.setState(a.getDerivedStateFromError(e)),o=x.__d),x.componentDidCatch!=null&&(x.componentDidCatch(e,r||{}),o=x.__d),o)return x.__E=x}catch(s){e=s}throw e}},nr=0,Oe.prototype.setState=function(e,n){var t;t=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=Me({},this.state),typeof e=="function"&&(e=e(Me({},t),this.props)),e&&Me(t,e),e!=null&&this.__v&&(n&&this._sb.push(n),t0(this))},Oe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),t0(this))},Oe.prototype.render=Re,je=[],rr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,xr=function(e,n){return e.__v.__b-n.__v.__b},Dt.__r=0,ln=Math.random().toString(8),yt="__d"+ln,st="__a"+ln,ar=/(PointerCapture)$|Capture$/i,Hn=0,Un=r0(!1),zn=r0(!0);var rx=0;function i(e,n,t,r,x,a){n||(n={});var o,s,l=n;if("ref"in l)for(s in l={},n)s=="ref"?o=n[s]:l[s]=n[s];var d={type:e,props:l,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--rx,__i:-1,__u:0,__source:x,__self:a};if(typeof e=="function"&&(o=e.defaultProps))for(s in o)l[s]===void 0&&(l[s]=o[s]);return xe.vnode&&xe.vnode(d),d}var ut,de,cn,x0,Tt=0,mr=[],me=xe,a0=me.__b,o0=me.__r,i0=me.diffed,s0=me.__c,l0=me.unmount,c0=me.__;function Jn(e,n){me.__h&&me.__h(de,e,Tt||n),Tt=0;var t=de.__H||(de.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({}),t.__[e]}function ie(e){return Tt=1,xx(pr,e)}function xx(e,n,t){var r=Jn(ut++,2);if(r.t=e,!r.__c&&(r.__=[t?t(n):pr(void 0,n),function(s){var l=r.__N?r.__N[0]:r.__[0],d=r.t(l,s);l!==d&&(r.__N=[d,r.__[1]],r.__c.setState({}))}],r.__c=de,!de.__f)){var x=function(s,l,d){if(!r.__c.__H)return!0;var f=!1,b=r.__c.props!==s;if(r.__c.__H.__.some(function(m){if(m.__N){f=!0;var g=m.__[0];m.__=m.__N,m.__N=void 0,g!==m.__[0]&&(b=!0)}}),a){var u=a.call(this,s,l,d);return f?u||b:u}return!f||b};de.__f=!0;var a=de.shouldComponentUpdate,o=de.componentWillUpdate;de.componentWillUpdate=function(s,l,d){if(this.__e){var f=a;a=void 0,x(s,l,d),a=f}o&&o.call(this,s,l,d)},de.shouldComponentUpdate=x}return r.__N||r.__}function pe(e,n){var t=Jn(ut++,3);!me.__s&&fr(t.__H,n)&&(t.__=e,t.u=n,de.__H.__h.push(t))}function Ne(e){return Tt=5,ax(function(){return{current:e}},[])}function ax(e,n){var t=Jn(ut++,7);return fr(t.__H,n)&&(t.__=e(),t.__H=n,t.__h=e),t.__}function ox(){for(var e;e=mr.shift();){var n=e.__H;if(e.__P&&n)try{n.__h.some(wt),n.__h.some(Ln),n.__h=[]}catch(t){n.__h=[],me.__e(t,e.__v)}}}me.__b=function(e){de=null,a0&&a0(e)},me.__=function(e,n){e&&n.__k&&n.__k.__m&&(e.__m=n.__k.__m),c0&&c0(e,n)},me.__r=function(e){o0&&o0(e),ut=0;var n=(de=e.__c).__H;n&&(cn===de?(n.__h=[],de.__h=[],n.__.some(function(t){t.__N&&(t.__=t.__N),t.u=t.__N=void 0})):(n.__h.some(wt),n.__h.some(Ln),n.__h=[],ut=0)),cn=de},me.diffed=function(e){i0&&i0(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(mr.push(n)!==1&&x0===me.requestAnimationFrame||((x0=me.requestAnimationFrame)||ix)(ox)),n.__H.__.some(function(t){t.u&&(t.__H=t.u,t.u=void 0)})),cn=de=null},me.__c=function(e,n){n.some(function(t){try{t.__h.some(wt),t.__h=t.__h.filter(function(r){return!r.__||Ln(r)})}catch(r){n.some(function(x){x.__h&&(x.__h=[])}),n=[],me.__e(r,t.__v)}}),s0&&s0(e,n)},me.unmount=function(e){l0&&l0(e);var n,t=e.__c;t&&t.__H&&(t.__H.__.some(function(r){try{wt(r)}catch(x){n=x}}),t.__H=void 0,n&&me.__e(n,t.__v))};var u0=typeof requestAnimationFrame=="function";function ix(e){var n,t=function(){clearTimeout(r),u0&&cancelAnimationFrame(n),setTimeout(e)},r=setTimeout(t,35);u0&&(n=requestAnimationFrame(t))}function wt(e){var n=de,t=e.__c;typeof t=="function"&&(e.__c=void 0,t()),de=n}function Ln(e){var n=de;e.__c=e.__(),de=n}function fr(e,n){return!e||e.length!==n.length||n.some(function(t,r){return t!==e[r]})}function pr(e,n){return typeof n=="function"?n(e):n}function sx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ye={},un,d0;function lx(){return d0||(d0=1,un=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),un}var dn={},Ke={},m0;function He(){if(m0)return Ke;m0=1;let e;const n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Ke.getSymbolSize=function(r){if(!r)throw new Error('"version" cannot be null or undefined');if(r<1||r>40)throw new Error('"version" should be in range from 1 to 40');return r*4+17},Ke.getSymbolTotalCodewords=function(r){return n[r]},Ke.getBCHDigit=function(t){let r=0;for(;t!==0;)r++,t>>>=1;return r},Ke.setToSJISFunction=function(r){if(typeof r!="function")throw new Error('"toSJISFunc" is not a valid function.');e=r},Ke.isKanjiModeEnabled=function(){return typeof e<"u"},Ke.toSJIS=function(r){return e(r)},Ke}var mn={},f0;function Zn(){return f0||(f0=1,(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function n(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+t)}}e.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},e.from=function(r,x){if(e.isValid(r))return r;try{return n(r)}catch{return x}}})(mn)),mn}var fn,p0;function cx(){if(p0)return fn;p0=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(n){const t=Math.floor(n/8);return(this.buffer[t]>>>7-n%8&1)===1},put:function(n,t){for(let r=0;r<t;r++)this.putBit((n>>>t-r-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(n){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),n&&(this.buffer[t]|=128>>>this.length%8),this.length++}},fn=e,fn}var pn,h0;function ux(){if(h0)return pn;h0=1;function e(n){if(!n||n<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=n,this.data=new Uint8Array(n*n),this.reservedBit=new Uint8Array(n*n)}return e.prototype.set=function(n,t,r,x){const a=n*this.size+t;this.data[a]=r,x&&(this.reservedBit[a]=!0)},e.prototype.get=function(n,t){return this.data[n*this.size+t]},e.prototype.xor=function(n,t,r){this.data[n*this.size+t]^=r},e.prototype.isReserved=function(n,t){return this.reservedBit[n*this.size+t]},pn=e,pn}var hn={},g0;function dx(){return g0||(g0=1,(function(e){const n=He().getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const x=Math.floor(r/7)+2,a=n(r),o=a===145?26:Math.ceil((a-13)/(2*x-2))*2,s=[a-7];for(let l=1;l<x-1;l++)s[l]=s[l-1]-o;return s.push(6),s.reverse()},e.getPositions=function(r){const x=[],a=e.getRowColCoords(r),o=a.length;for(let s=0;s<o;s++)for(let l=0;l<o;l++)s===0&&l===0||s===0&&l===o-1||s===o-1&&l===0||x.push([a[s],a[l]]);return x}})(hn)),hn}var gn={},b0;function mx(){if(b0)return gn;b0=1;const e=He().getSymbolSize,n=7;return gn.getPositions=function(r){const x=e(r);return[[0,0],[x-n,0],[0,x-n]]},gn}var bn={},v0;function fx(){return v0||(v0=1,(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const n={N1:3,N2:3,N3:40,N4:10};e.isValid=function(x){return x!=null&&x!==""&&!isNaN(x)&&x>=0&&x<=7},e.from=function(x){return e.isValid(x)?parseInt(x,10):void 0},e.getPenaltyN1=function(x){const a=x.size;let o=0,s=0,l=0,d=null,f=null;for(let b=0;b<a;b++){s=l=0,d=f=null;for(let u=0;u<a;u++){let m=x.get(b,u);m===d?s++:(s>=5&&(o+=n.N1+(s-5)),d=m,s=1),m=x.get(u,b),m===f?l++:(l>=5&&(o+=n.N1+(l-5)),f=m,l=1)}s>=5&&(o+=n.N1+(s-5)),l>=5&&(o+=n.N1+(l-5))}return o},e.getPenaltyN2=function(x){const a=x.size;let o=0;for(let s=0;s<a-1;s++)for(let l=0;l<a-1;l++){const d=x.get(s,l)+x.get(s,l+1)+x.get(s+1,l)+x.get(s+1,l+1);(d===4||d===0)&&o++}return o*n.N2},e.getPenaltyN3=function(x){const a=x.size;let o=0,s=0,l=0;for(let d=0;d<a;d++){s=l=0;for(let f=0;f<a;f++)s=s<<1&2047|x.get(d,f),f>=10&&(s===1488||s===93)&&o++,l=l<<1&2047|x.get(f,d),f>=10&&(l===1488||l===93)&&o++}return o*n.N3},e.getPenaltyN4=function(x){let a=0;const o=x.data.length;for(let l=0;l<o;l++)a+=x.data[l];return Math.abs(Math.ceil(a*100/o/5)-10)*n.N4};function t(r,x,a){switch(r){case e.Patterns.PATTERN000:return(x+a)%2===0;case e.Patterns.PATTERN001:return x%2===0;case e.Patterns.PATTERN010:return a%3===0;case e.Patterns.PATTERN011:return(x+a)%3===0;case e.Patterns.PATTERN100:return(Math.floor(x/2)+Math.floor(a/3))%2===0;case e.Patterns.PATTERN101:return x*a%2+x*a%3===0;case e.Patterns.PATTERN110:return(x*a%2+x*a%3)%2===0;case e.Patterns.PATTERN111:return(x*a%3+(x+a)%2)%2===0;default:throw new Error("bad maskPattern:"+r)}}e.applyMask=function(x,a){const o=a.size;for(let s=0;s<o;s++)for(let l=0;l<o;l++)a.isReserved(l,s)||a.xor(l,s,t(x,l,s))},e.getBestMask=function(x,a){const o=Object.keys(e.Patterns).length;let s=0,l=1/0;for(let d=0;d<o;d++){a(d),e.applyMask(d,x);const f=e.getPenaltyN1(x)+e.getPenaltyN2(x)+e.getPenaltyN3(x)+e.getPenaltyN4(x);e.applyMask(d,x),f<l&&(l=f,s=d)}return s}})(bn)),bn}var ht={},_0;function hr(){if(_0)return ht;_0=1;const e=Zn(),n=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],t=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return ht.getBlocksCount=function(x,a){switch(a){case e.L:return n[(x-1)*4+0];case e.M:return n[(x-1)*4+1];case e.Q:return n[(x-1)*4+2];case e.H:return n[(x-1)*4+3];default:return}},ht.getTotalCodewordsCount=function(x,a){switch(a){case e.L:return t[(x-1)*4+0];case e.M:return t[(x-1)*4+1];case e.Q:return t[(x-1)*4+2];case e.H:return t[(x-1)*4+3];default:return}},ht}var vn={},it={},y0;function px(){if(y0)return it;y0=1;const e=new Uint8Array(512),n=new Uint8Array(256);return(function(){let r=1;for(let x=0;x<255;x++)e[x]=r,n[r]=x,r<<=1,r&256&&(r^=285);for(let x=255;x<512;x++)e[x]=e[x-255]})(),it.log=function(r){if(r<1)throw new Error("log("+r+")");return n[r]},it.exp=function(r){return e[r]},it.mul=function(r,x){return r===0||x===0?0:e[n[r]+n[x]]},it}var k0;function hx(){return k0||(k0=1,(function(e){const n=px();e.mul=function(r,x){const a=new Uint8Array(r.length+x.length-1);for(let o=0;o<r.length;o++)for(let s=0;s<x.length;s++)a[o+s]^=n.mul(r[o],x[s]);return a},e.mod=function(r,x){let a=new Uint8Array(r);for(;a.length-x.length>=0;){const o=a[0];for(let l=0;l<x.length;l++)a[l]^=n.mul(x[l],o);let s=0;for(;s<a.length&&a[s]===0;)s++;a=a.slice(s)}return a},e.generateECPolynomial=function(r){let x=new Uint8Array([1]);for(let a=0;a<r;a++)x=e.mul(x,new Uint8Array([1,n.exp(a)]));return x}})(vn)),vn}var _n,w0;function gx(){if(w0)return _n;w0=1;const e=hx();function n(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}return n.prototype.initialize=function(r){this.degree=r,this.genPoly=e.generateECPolynomial(this.degree)},n.prototype.encode=function(r){if(!this.genPoly)throw new Error("Encoder not initialized");const x=new Uint8Array(r.length+this.degree);x.set(r);const a=e.mod(x,this.genPoly),o=this.degree-a.length;if(o>0){const s=new Uint8Array(this.degree);return s.set(a,o),s}return a},_n=n,_n}var yn={},kn={},wn={},S0;function gr(){return S0||(S0=1,wn.isValid=function(n){return!isNaN(n)&&n>=1&&n<=40}),wn}var Te={},I0;function br(){if(I0)return Te;I0=1;const e="[0-9]+",n="[A-Z $%*+\\-./:]+";let t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");const r="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
2
- ]))+`;Te.KANJI=new RegExp(t,"g"),Te.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Te.BYTE=new RegExp(r,"g"),Te.NUMERIC=new RegExp(e,"g"),Te.ALPHANUMERIC=new RegExp(n,"g");const x=new RegExp("^"+t+"$"),a=new RegExp("^"+e+"$"),o=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return Te.testKanji=function(l){return x.test(l)},Te.testNumeric=function(l){return a.test(l)},Te.testAlphanumeric=function(l){return o.test(l)},Te}var D0;function Ve(){return D0||(D0=1,(function(e){const n=gr(),t=br();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(a,o){if(!a.ccBits)throw new Error("Invalid mode: "+a);if(!n.isValid(o))throw new Error("Invalid version: "+o);return o>=1&&o<10?a.ccBits[0]:o<27?a.ccBits[1]:a.ccBits[2]},e.getBestModeForData=function(a){return t.testNumeric(a)?e.NUMERIC:t.testAlphanumeric(a)?e.ALPHANUMERIC:t.testKanji(a)?e.KANJI:e.BYTE},e.toString=function(a){if(a&&a.id)return a.id;throw new Error("Invalid mode")},e.isValid=function(a){return a&&a.bit&&a.ccBits};function r(x){if(typeof x!="string")throw new Error("Param is not a string");switch(x.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+x)}}e.from=function(a,o){if(e.isValid(a))return a;try{return r(a)}catch{return o}}})(kn)),kn}var C0;function bx(){return C0||(C0=1,(function(e){const n=He(),t=hr(),r=Zn(),x=Ve(),a=gr(),o=7973,s=n.getBCHDigit(o);function l(u,m,g){for(let I=1;I<=40;I++)if(m<=e.getCapacity(I,g,u))return I}function d(u,m){return x.getCharCountIndicator(u,m)+4}function f(u,m){let g=0;return u.forEach(function(I){const B=d(I.mode,m);g+=B+I.getBitsLength()}),g}function b(u,m){for(let g=1;g<=40;g++)if(f(u,g)<=e.getCapacity(g,m,x.MIXED))return g}e.from=function(m,g){return a.isValid(m)?parseInt(m,10):g},e.getCapacity=function(m,g,I){if(!a.isValid(m))throw new Error("Invalid QR Code version");typeof I>"u"&&(I=x.BYTE);const B=n.getSymbolTotalCodewords(m),k=t.getTotalCodewordsCount(m,g),h=(B-k)*8;if(I===x.MIXED)return h;const y=h-d(I,m);switch(I){case x.NUMERIC:return Math.floor(y/10*3);case x.ALPHANUMERIC:return Math.floor(y/11*2);case x.KANJI:return Math.floor(y/13);case x.BYTE:default:return Math.floor(y/8)}},e.getBestVersionForData=function(m,g){let I;const B=r.from(g,r.M);if(Array.isArray(m)){if(m.length>1)return b(m,B);if(m.length===0)return 1;I=m[0]}else I=m;return l(I.mode,I.getLength(),B)},e.getEncodedBits=function(m){if(!a.isValid(m)||m<7)throw new Error("Invalid QR Code version");let g=m<<12;for(;n.getBCHDigit(g)-s>=0;)g^=o<<n.getBCHDigit(g)-s;return m<<12|g}})(yn)),yn}var Sn={},T0;function vx(){if(T0)return Sn;T0=1;const e=He(),n=1335,t=21522,r=e.getBCHDigit(n);return Sn.getEncodedBits=function(a,o){const s=a.bit<<3|o;let l=s<<10;for(;e.getBCHDigit(l)-r>=0;)l^=n<<e.getBCHDigit(l)-r;return(s<<10|l)^t},Sn}var In={},Dn,N0;function _x(){if(N0)return Dn;N0=1;const e=Ve();function n(t){this.mode=e.NUMERIC,this.data=t.toString()}return n.getBitsLength=function(r){return 10*Math.floor(r/3)+(r%3?r%3*3+1:0)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(r){let x,a,o;for(x=0;x+3<=this.data.length;x+=3)a=this.data.substr(x,3),o=parseInt(a,10),r.put(o,10);const s=this.data.length-x;s>0&&(a=this.data.substr(x),o=parseInt(a,10),r.put(o,s*3+1))},Dn=n,Dn}var Cn,R0;function yx(){if(R0)return Cn;R0=1;const e=Ve(),n=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function t(r){this.mode=e.ALPHANUMERIC,this.data=r}return t.getBitsLength=function(x){return 11*Math.floor(x/2)+6*(x%2)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(x){let a;for(a=0;a+2<=this.data.length;a+=2){let o=n.indexOf(this.data[a])*45;o+=n.indexOf(this.data[a+1]),x.put(o,11)}this.data.length%2&&x.put(n.indexOf(this.data[a]),6)},Cn=t,Cn}var Tn,A0;function kx(){if(A0)return Tn;A0=1;const e=Ve();function n(t){this.mode=e.BYTE,typeof t=="string"?this.data=new TextEncoder().encode(t):this.data=new Uint8Array(t)}return n.getBitsLength=function(r){return r*8},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(t){for(let r=0,x=this.data.length;r<x;r++)t.put(this.data[r],8)},Tn=n,Tn}var Nn,E0;function wx(){if(E0)return Nn;E0=1;const e=Ve(),n=He();function t(r){this.mode=e.KANJI,this.data=r}return t.getBitsLength=function(x){return x*13},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(r){let x;for(x=0;x<this.data.length;x++){let a=n.toSJIS(this.data[x]);if(a>=33088&&a<=40956)a-=33088;else if(a>=57408&&a<=60351)a-=49472;else throw new Error("Invalid SJIS character: "+this.data[x]+`
3
- Make sure your charset is UTF-8`);a=(a>>>8&255)*192+(a&255),r.put(a,13)}},Nn=t,Nn}var Rn={exports:{}},P0;function Sx(){return P0||(P0=1,(function(e){var n={single_source_shortest_paths:function(t,r,x){var a={},o={};o[r]=0;var s=n.PriorityQueue.make();s.push(r,0);for(var l,d,f,b,u,m,g,I,B;!s.empty();){l=s.pop(),d=l.value,b=l.cost,u=t[d]||{};for(f in u)u.hasOwnProperty(f)&&(m=u[f],g=b+m,I=o[f],B=typeof o[f]>"u",(B||I>g)&&(o[f]=g,s.push(f,g),a[f]=d))}if(typeof x<"u"&&typeof o[x]>"u"){var k=["Could not find a path from ",r," to ",x,"."].join("");throw new Error(k)}return a},extract_shortest_path_from_predecessor_list:function(t,r){for(var x=[],a=r;a;)x.push(a),t[a],a=t[a];return x.reverse(),x},find_path:function(t,r,x){var a=n.single_source_shortest_paths(t,r,x);return n.extract_shortest_path_from_predecessor_list(a,x)},PriorityQueue:{make:function(t){var r=n.PriorityQueue,x={},a;t=t||{};for(a in r)r.hasOwnProperty(a)&&(x[a]=r[a]);return x.queue=[],x.sorter=t.sorter||r.default_sorter,x},default_sorter:function(t,r){return t.cost-r.cost},push:function(t,r){var x={value:t,cost:r};this.queue.push(x),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=n})(Rn)),Rn.exports}var M0;function Ix(){return M0||(M0=1,(function(e){const n=Ve(),t=_x(),r=yx(),x=kx(),a=wx(),o=br(),s=He(),l=Sx();function d(k){return unescape(encodeURIComponent(k)).length}function f(k,h,y){const U=[];let oe;for(;(oe=k.exec(y))!==null;)U.push({data:oe[0],index:oe.index,mode:h,length:oe[0].length});return U}function b(k){const h=f(o.NUMERIC,n.NUMERIC,k),y=f(o.ALPHANUMERIC,n.ALPHANUMERIC,k);let U,oe;return s.isKanjiModeEnabled()?(U=f(o.BYTE,n.BYTE,k),oe=f(o.KANJI,n.KANJI,k)):(U=f(o.BYTE_KANJI,n.BYTE,k),oe=[]),h.concat(y,U,oe).sort(function(q,A){return q.index-A.index}).map(function(q){return{data:q.data,mode:q.mode,length:q.length}})}function u(k,h){switch(h){case n.NUMERIC:return t.getBitsLength(k);case n.ALPHANUMERIC:return r.getBitsLength(k);case n.KANJI:return a.getBitsLength(k);case n.BYTE:return x.getBitsLength(k)}}function m(k){return k.reduce(function(h,y){const U=h.length-1>=0?h[h.length-1]:null;return U&&U.mode===y.mode?(h[h.length-1].data+=y.data,h):(h.push(y),h)},[])}function g(k){const h=[];for(let y=0;y<k.length;y++){const U=k[y];switch(U.mode){case n.NUMERIC:h.push([U,{data:U.data,mode:n.ALPHANUMERIC,length:U.length},{data:U.data,mode:n.BYTE,length:U.length}]);break;case n.ALPHANUMERIC:h.push([U,{data:U.data,mode:n.BYTE,length:U.length}]);break;case n.KANJI:h.push([U,{data:U.data,mode:n.BYTE,length:d(U.data)}]);break;case n.BYTE:h.push([{data:U.data,mode:n.BYTE,length:d(U.data)}])}}return h}function I(k,h){const y={},U={start:{}};let oe=["start"];for(let C=0;C<k.length;C++){const q=k[C],A=[];for(let D=0;D<q.length;D++){const N=q[D],S=""+C+D;A.push(S),y[S]={node:N,lastCount:0},U[S]={};for(let _=0;_<oe.length;_++){const w=oe[_];y[w]&&y[w].node.mode===N.mode?(U[w][S]=u(y[w].lastCount+N.length,N.mode)-u(y[w].lastCount,N.mode),y[w].lastCount+=N.length):(y[w]&&(y[w].lastCount=N.length),U[w][S]=u(N.length,N.mode)+4+n.getCharCountIndicator(N.mode,h))}}oe=A}for(let C=0;C<oe.length;C++)U[oe[C]].end=0;return{map:U,table:y}}function B(k,h){let y;const U=n.getBestModeForData(k);if(y=n.from(h,U),y!==n.BYTE&&y.bit<U.bit)throw new Error('"'+k+'" cannot be encoded with mode '+n.toString(y)+`.
4
- Suggested mode is: `+n.toString(U));switch(y===n.KANJI&&!s.isKanjiModeEnabled()&&(y=n.BYTE),y){case n.NUMERIC:return new t(k);case n.ALPHANUMERIC:return new r(k);case n.KANJI:return new a(k);case n.BYTE:return new x(k)}}e.fromArray=function(h){return h.reduce(function(y,U){return typeof U=="string"?y.push(B(U,null)):U.data&&y.push(B(U.data,U.mode)),y},[])},e.fromString=function(h,y){const U=b(h,s.isKanjiModeEnabled()),oe=g(U),C=I(oe,y),q=l.find_path(C.map,"start","end"),A=[];for(let D=1;D<q.length-1;D++)A.push(C.table[q[D]].node);return e.fromArray(m(A))},e.rawSplit=function(h){return e.fromArray(b(h,s.isKanjiModeEnabled()))}})(In)),In}var O0;function Dx(){if(O0)return dn;O0=1;const e=He(),n=Zn(),t=cx(),r=ux(),x=dx(),a=mx(),o=fx(),s=hr(),l=gx(),d=bx(),f=vx(),b=Ve(),u=Ix();function m(C,q){const A=C.size,D=a.getPositions(q);for(let N=0;N<D.length;N++){const S=D[N][0],_=D[N][1];for(let w=-1;w<=7;w++)if(!(S+w<=-1||A<=S+w))for(let te=-1;te<=7;te++)_+te<=-1||A<=_+te||(w>=0&&w<=6&&(te===0||te===6)||te>=0&&te<=6&&(w===0||w===6)||w>=2&&w<=4&&te>=2&&te<=4?C.set(S+w,_+te,!0,!0):C.set(S+w,_+te,!1,!0))}}function g(C){const q=C.size;for(let A=8;A<q-8;A++){const D=A%2===0;C.set(A,6,D,!0),C.set(6,A,D,!0)}}function I(C,q){const A=x.getPositions(q);for(let D=0;D<A.length;D++){const N=A[D][0],S=A[D][1];for(let _=-2;_<=2;_++)for(let w=-2;w<=2;w++)_===-2||_===2||w===-2||w===2||_===0&&w===0?C.set(N+_,S+w,!0,!0):C.set(N+_,S+w,!1,!0)}}function B(C,q){const A=C.size,D=d.getEncodedBits(q);let N,S,_;for(let w=0;w<18;w++)N=Math.floor(w/3),S=w%3+A-8-3,_=(D>>w&1)===1,C.set(N,S,_,!0),C.set(S,N,_,!0)}function k(C,q,A){const D=C.size,N=f.getEncodedBits(q,A);let S,_;for(S=0;S<15;S++)_=(N>>S&1)===1,S<6?C.set(S,8,_,!0):S<8?C.set(S+1,8,_,!0):C.set(D-15+S,8,_,!0),S<8?C.set(8,D-S-1,_,!0):S<9?C.set(8,15-S-1+1,_,!0):C.set(8,15-S-1,_,!0);C.set(D-8,8,1,!0)}function h(C,q){const A=C.size;let D=-1,N=A-1,S=7,_=0;for(let w=A-1;w>0;w-=2)for(w===6&&w--;;){for(let te=0;te<2;te++)if(!C.isReserved(N,w-te)){let be=!1;_<q.length&&(be=(q[_]>>>S&1)===1),C.set(N,w-te,be),S--,S===-1&&(_++,S=7)}if(N+=D,N<0||A<=N){N-=D,D=-D;break}}}function y(C,q,A){const D=new t;A.forEach(function(te){D.put(te.mode.bit,4),D.put(te.getLength(),b.getCharCountIndicator(te.mode,C)),te.write(D)});const N=e.getSymbolTotalCodewords(C),S=s.getTotalCodewordsCount(C,q),_=(N-S)*8;for(D.getLengthInBits()+4<=_&&D.put(0,4);D.getLengthInBits()%8!==0;)D.putBit(0);const w=(_-D.getLengthInBits())/8;for(let te=0;te<w;te++)D.put(te%2?17:236,8);return U(D,C,q)}function U(C,q,A){const D=e.getSymbolTotalCodewords(q),N=s.getTotalCodewordsCount(q,A),S=D-N,_=s.getBlocksCount(q,A),w=D%_,te=_-w,be=Math.floor(D/_),ke=Math.floor(S/_),Se=ke+1,Be=be-ke,ve=new l(Be);let Ie=0;const Ue=new Array(_),ze=new Array(_);let Ae=0;const _e=new Uint8Array(C.buffer);for(let De=0;De<_;De++){const qe=De<te?ke:Se;Ue[De]=_e.slice(Ie,Ie+qe),ze[De]=ve.encode(Ue[De]),Ie+=qe,Ae=Math.max(Ae,qe)}const Ge=new Uint8Array(D);let Qe=0,ce,fe;for(ce=0;ce<Ae;ce++)for(fe=0;fe<_;fe++)ce<Ue[fe].length&&(Ge[Qe++]=Ue[fe][ce]);for(ce=0;ce<Be;ce++)for(fe=0;fe<_;fe++)Ge[Qe++]=ze[fe][ce];return Ge}function oe(C,q,A,D){let N;if(Array.isArray(C))N=u.fromArray(C);else if(typeof C=="string"){let be=q;if(!be){const ke=u.rawSplit(C);be=d.getBestVersionForData(ke,A)}N=u.fromString(C,be||40)}else throw new Error("Invalid data");const S=d.getBestVersionForData(N,A);if(!S)throw new Error("The amount of data is too big to be stored in a QR Code");if(!q)q=S;else if(q<S)throw new Error(`
5
- The chosen QR Code version cannot contain this amount of data.
6
- Minimum version required to store current data is: `+S+`.
7
- `);const _=y(q,A,N),w=e.getSymbolSize(q),te=new r(w);return m(te,q),g(te),I(te,q),k(te,A,0),q>=7&&B(te,q),h(te,_),isNaN(D)&&(D=o.getBestMask(te,k.bind(null,te,A))),o.applyMask(D,te),k(te,A,D),{modules:te,version:q,errorCorrectionLevel:A,maskPattern:D,segments:N}}return dn.create=function(q,A){if(typeof q>"u"||q==="")throw new Error("No input text");let D=n.M,N,S;return typeof A<"u"&&(D=n.from(A.errorCorrectionLevel,n.M),N=d.from(A.version),S=o.from(A.maskPattern),A.toSJISFunc&&e.setToSJISFunction(A.toSJISFunc)),oe(q,N,D,S)},dn}var An={},En={},B0;function vr(){return B0||(B0=1,(function(e){function n(t){if(typeof t=="number"&&(t=t.toString()),typeof t!="string")throw new Error("Color should be defined as hex string");let r=t.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+t);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(a){return[a,a]}))),r.length===6&&r.push("F","F");const x=parseInt(r.join(""),16);return{r:x>>24&255,g:x>>16&255,b:x>>8&255,a:x&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const x=typeof r.margin>"u"||r.margin===null||r.margin<0?4:r.margin,a=r.width&&r.width>=21?r.width:void 0,o=r.scale||4;return{width:a,scale:a?4:o,margin:x,color:{dark:n(r.color.dark||"#000000ff"),light:n(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,x){return x.width&&x.width>=r+x.margin*2?x.width/(r+x.margin*2):x.scale},e.getImageWidth=function(r,x){const a=e.getScale(r,x);return Math.floor((r+x.margin*2)*a)},e.qrToImageData=function(r,x,a){const o=x.modules.size,s=x.modules.data,l=e.getScale(o,a),d=Math.floor((o+a.margin*2)*l),f=a.margin*l,b=[a.color.light,a.color.dark];for(let u=0;u<d;u++)for(let m=0;m<d;m++){let g=(u*d+m)*4,I=a.color.light;if(u>=f&&m>=f&&u<d-f&&m<d-f){const B=Math.floor((u-f)/l),k=Math.floor((m-f)/l);I=b[s[B*o+k]?1:0]}r[g++]=I.r,r[g++]=I.g,r[g++]=I.b,r[g]=I.a}}})(En)),En}var U0;function Cx(){return U0||(U0=1,(function(e){const n=vr();function t(x,a,o){x.clearRect(0,0,a.width,a.height),a.style||(a.style={}),a.height=o,a.width=o,a.style.height=o+"px",a.style.width=o+"px"}function r(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(a,o,s){let l=s,d=o;typeof l>"u"&&(!o||!o.getContext)&&(l=o,o=void 0),o||(d=r()),l=n.getOptions(l);const f=n.getImageWidth(a.modules.size,l),b=d.getContext("2d"),u=b.createImageData(f,f);return n.qrToImageData(u.data,a,l),t(b,d,f),b.putImageData(u,0,0),d},e.renderToDataURL=function(a,o,s){let l=s;typeof l>"u"&&(!o||!o.getContext)&&(l=o,o=void 0),l||(l={});const d=e.render(a,o,l),f=l.type||"image/png",b=l.rendererOpts||{};return d.toDataURL(f,b.quality)}})(An)),An}var Pn={},z0;function Tx(){if(z0)return Pn;z0=1;const e=vr();function n(x,a){const o=x.a/255,s=a+'="'+x.hex+'"';return o<1?s+" "+a+'-opacity="'+o.toFixed(2).slice(1)+'"':s}function t(x,a,o){let s=x+a;return typeof o<"u"&&(s+=" "+o),s}function r(x,a,o){let s="",l=0,d=!1,f=0;for(let b=0;b<x.length;b++){const u=Math.floor(b%a),m=Math.floor(b/a);!u&&!d&&(d=!0),x[b]?(f++,b>0&&u>0&&x[b-1]||(s+=d?t("M",u+o,.5+m+o):t("m",l,0),l=0,d=!1),u+1<a&&x[b+1]||(s+=t("h",f),f=0)):l++}return s}return Pn.render=function(a,o,s){const l=e.getOptions(o),d=a.modules.size,f=a.modules.data,b=d+l.margin*2,u=l.color.light.a?"<path "+n(l.color.light,"fill")+' d="M0 0h'+b+"v"+b+'H0z"/>':"",m="<path "+n(l.color.dark,"stroke")+' d="'+r(f,d,l.margin)+'"/>',g='viewBox="0 0 '+b+" "+b+'"',B='<svg xmlns="http://www.w3.org/2000/svg" '+(l.width?'width="'+l.width+'" height="'+l.width+'" ':"")+g+' shape-rendering="crispEdges">'+u+m+`</svg>
8
- `;return typeof s=="function"&&s(null,B),B},Pn}var G0;function Nx(){if(G0)return Ye;G0=1;const e=lx(),n=Dx(),t=Cx(),r=Tx();function x(a,o,s,l,d){const f=[].slice.call(arguments,1),b=f.length,u=typeof f[b-1]=="function";if(!u&&!e())throw new Error("Callback required as last argument");if(u){if(b<2)throw new Error("Too few arguments provided");b===2?(d=s,s=o,o=l=void 0):b===3&&(o.getContext&&typeof d>"u"?(d=l,l=void 0):(d=l,l=s,s=o,o=void 0))}else{if(b<1)throw new Error("Too few arguments provided");return b===1?(s=o,o=l=void 0):b===2&&!o.getContext&&(l=s,s=o,o=void 0),new Promise(function(m,g){try{const I=n.create(s,l);m(a(I,o,l))}catch(I){g(I)}})}try{const m=n.create(s,l);d(null,a(m,o,l))}catch(m){d(m)}}return Ye.create=n.create,Ye.toCanvas=x.bind(null,t.render),Ye.toDataURL=x.bind(null,t.renderToDataURL),Ye.toString=x.bind(null,function(a,o,s){return r.render(a,s)}),Ye}var Rx=Nx();const Ax=sx(Rx);function Ex(e,n){for(var t in n)e[t]=n[t];return e}function L0(e,n){for(var t in e)if(t!=="__source"&&!(t in n))return!0;for(var r in n)if(r!=="__source"&&e[r]!==n[r])return!0;return!1}function K0(e,n){this.props=e,this.context=n}(K0.prototype=new Oe).isPureReactComponent=!0,K0.prototype.shouldComponentUpdate=function(e,n){return L0(this.props,e)||L0(this.state,n)};var j0=xe.__b;xe.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),j0&&j0(e)};var Px=xe.__e;xe.__e=function(e,n,t,r){if(e.then){for(var x,a=n;a=a.__;)if((x=a.__c)&&x.__c)return n.__e==null&&(n.__e=t.__e,n.__k=t.__k||[]),x.__c(e,n)}Px(e,n,t,r)};var q0=xe.unmount;function _r(e,n,t){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=Ex({},e)).__c!=null&&(e.__c.__P===t&&(e.__c.__P=n),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return _r(r,n,t)})),e}function yr(e,n,t){return e&&t&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return yr(r,n,t)}),e.__c&&e.__c.__P===n&&(e.__e&&t.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=t)),e}function Mn(){this.__u=0,this.o=null,this.__b=null}function kr(e){var n=e.__&&e.__.__c;return n&&n.__a&&n.__a(e)}function gt(){this.i=null,this.l=null}xe.unmount=function(e){var n=e.__c;n&&(n.__z=!0),n&&n.__R&&n.__R(),n&&32&e.__u&&(e.type=null),q0&&q0(e)},(Mn.prototype=new Oe).__c=function(e,n){var t=n.__c,r=this;r.o==null&&(r.o=[]),r.o.push(t);var x=kr(r.__v),a=!1,o=function(){a||r.__z||(a=!0,t.__R=null,x?x(l):l())};t.__R=o;var s=t.__P;t.__P=null;var l=function(){if(!--r.__u){if(r.state.__a){var d=r.state.__a;r.__v.__k[0]=yr(d,d.__c.__P,d.__c.__O)}var f;for(r.setState({__a:r.__b=null});f=r.o.pop();)f.__P=s,f.forceUpdate()}};r.__u++||32&n.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(o,o)},Mn.prototype.componentWillUnmount=function(){this.o=[]},Mn.prototype.render=function(e,n){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=_r(this.__b,t,r.__O=r.__P)}this.__b=null}var x=n.__a&&ct(Re,null,e.fallback);return x&&(x.__u&=-33),[ct(Re,null,n.__a?null:e.children),x]};var F0=function(e,n,t){if(++t[1]===t[0]&&e.l.delete(n),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(t=e.i;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;e.i=t=t[2]}};function Mx(e){return this.getChildContext=function(){return e.context},e.children}function Ox(e){var n=this,t=e.h;if(n.componentWillUnmount=function(){Gn(null,n.v),n.v=null,n.h=null},n.h&&n.h!==t&&n.componentWillUnmount(),!n.v){for(var r=n.__v;r!==null&&!r.__m&&r.__!==null;)r=r.__;n.h=t,n.v={nodeType:1,parentNode:t,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},namespaceURI:t.namespaceURI,insertBefore:function(x,a){this.childNodes.push(x),n.h.insertBefore(x,a)},removeChild:function(x){this.childNodes.splice(this.childNodes.indexOf(x)>>>1,1),n.h.removeChild(x)}}}Gn(ct(Mx,{context:n.context},e.__v),n.v)}function wr(e,n){var t=ct(Ox,{__v:e,h:n});return t.containerInfo=n,t}(gt.prototype=new Oe).__a=function(e){var n=this,t=kr(n.__v),r=n.l.get(e);return r[0]++,function(x){var a=function(){n.props.revealOrder?(r.push(x),F0(n,e,r)):x()};t?t(a):a()}},gt.prototype.render=function(e){this.i=null,this.l=new Map;var n=Ct(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&n.reverse();for(var t=n.length;t--;)this.l.set(n[t],this.i=[1,0,this.i]);return e.children},gt.prototype.componentDidUpdate=gt.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(n,t){F0(e,t,n)})};var Bx=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Ux=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,zx=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Gx=/[A-Z0-9]/g,Lx=typeof document<"u",Kx=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};Oe.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Oe.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(n){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:n})}})});var W0=xe.event;xe.event=function(e){return W0&&(e=W0(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var jx={configurable:!0,get:function(){return this.class}},H0=xe.vnode;xe.vnode=function(e){typeof e.type=="string"&&(function(n){var t=n.props,r=n.type,x={},a=r.indexOf("-")==-1;for(var o in t){var s=t[o];if(!(o==="value"&&"defaultValue"in t&&s==null||Lx&&o==="children"&&r==="noscript"||o==="class"||o==="className")){var l=o.toLowerCase();o==="defaultValue"&&"value"in t&&t.value==null?o="value":o==="download"&&s===!0?s="":l==="translate"&&s==="no"?s=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?o="ondblclick":l!=="onchange"||r!=="input"&&r!=="textarea"||Kx(t.type)?l==="onfocus"?o="onfocusin":l==="onblur"?o="onfocusout":zx.test(o)&&(o=l):l=o="oninput":a&&Ux.test(o)?o=o.replace(Gx,"-$&").toLowerCase():s===null&&(s=void 0),l==="oninput"&&x[o=l]&&(o="oninputCapture"),x[o]=s}}r=="select"&&(x.multiple&&Array.isArray(x.value)&&(x.value=Ct(t.children).forEach(function(d){d.props.selected=x.value.indexOf(d.props.value)!=-1})),x.defaultValue!=null&&(x.value=Ct(t.children).forEach(function(d){d.props.selected=x.multiple?x.defaultValue.indexOf(d.props.value)!=-1:x.defaultValue==d.props.value}))),t.class&&!t.className?(x.class=t.class,Object.defineProperty(x,"className",jx)):t.className&&(x.class=x.className=t.className),n.props=x})(e),e.$$typeof=Bx,H0&&H0(e)};var V0=xe.__r;xe.__r=function(e){V0&&V0(e),e.__c};var Q0=xe.diffed;xe.diffed=function(e){Q0&&Q0(e);var n=e.props,t=e.__e;t!=null&&e.type==="textarea"&&"value"in n&&n.value!==t.value&&(t.value=n.value==null?"":n.value)};function Fe({message:e,confirmLabel:n="Confirm",confirmDanger:t=!1,inputValue:r,onInput:x,inputPlaceholder:a="",onConfirm:o,onCancel:s}){const l=x!==void 0,d=Ne(null),f=Ne(null),b=Ne(null);pe(()=>{var g,I;l?(g=d.current)==null||g.focus():(I=b.current)==null||I.focus();const m=B=>{if(B.key==="Escape")B.preventDefault(),B.stopPropagation(),s==null||s();else if(B.key==="Enter"&&!l){if(f.current&&document.activeElement===f.current)return;B.preventDefault(),B.stopPropagation(),o==null||o()}};return window.addEventListener("keydown",m,!0),()=>window.removeEventListener("keydown",m,!0)},[l,o,s]);const u=i("div",{className:"fixed inset-0 z-[100] flex items-center justify-center bg-black/50 backdrop-blur-[4px] animate-in fade-in duration-150",onClick:s,children:i("div",{className:"glass-card p-5 flex flex-col gap-4 w-72 animate-in zoom-in-95 duration-150",onClick:m=>m.stopPropagation(),children:[i("p",{className:"text-sm text-center",style:{color:"var(--text-main)"},children:e}),l&&i("input",{ref:d,value:r,placeholder:a,onInput:m=>x(m.target.value),onKeyDown:m=>m.key==="Enter"&&o(),className:"w-full px-3 py-2 text-sm rounded-xl",style:{background:"var(--glass-bg)",color:"var(--text-main)",border:"1px solid var(--border)"}}),i("div",{className:"flex gap-2",children:[i("button",{ref:f,onClick:s,className:"glass-btn flex-1 py-2 text-sm flex items-center justify-center gap-1.5",style:{color:"var(--text-muted)"},children:[i("span",{children:"Cancel"}),i("kbd",{className:"text-[10px] font-mono px-1 py-0.5 rounded opacity-70 leading-none",style:{background:"var(--glass-bg)"},children:"Esc"})]}),i("button",{ref:b,onClick:o,className:"flex-1 py-2 text-sm font-semibold rounded-xl flex items-center justify-center gap-1.5",style:{background:t?"rgba(220,53,69,0.8)":"var(--brand-500)",color:"#fff"},children:[i("span",{children:n}),i("kbd",{className:"text-[10px] font-mono px-1 py-0.5 rounded bg-white/20 text-white leading-none",children:"↵"})]})]})]})});return typeof document<"u"?wr(u,document.body):u}function Sr(e,n){e=e-308;var t=Nt(),r=t[e];return r}var c=Sr;(function(e,n){for(var t=Sr,r=e();;)try{var x=parseInt(t(403))/1*(-parseInt(t(434))/2)+parseInt(t(471))/3*(parseInt(t(334))/4)+-parseInt(t(432))/5+-parseInt(t(365))/6+parseInt(t(473))/7*(parseInt(t(406))/8)+-parseInt(t(423))/9+parseInt(t(338))/10*(parseInt(t(373))/11);if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Nt,907529);const qx={common:{statusIdle:c(474),statusWorking:"Working",statusBlocked:c(352),statusDone:c(429),create:c(425),cancel:"Cancel",delete:c(486),rename:c(317),confirm:c(315),close:c(398),refresh:c(341),loading:c(355),language:c(332)},files:{cannotOpenBinary:c(490),copyPath:c(327),createNew:c(494),delete:c(486),deleteConfirmMessage:c(356),deleteConfirmTitle:c(409),emptyFolder:c(472),file:c(478),folder:c(407),noFilesFound:c(357),noGitRepo:"Not a git repository",placeholderFile:"filename.ext",placeholderFolder:c(492),rename:c(317),searching:c(493),searchFiles:c(363),searchPlaceholder:c(331),setWorkspace:"Set as workspace",setAsWorkspaceTitle:c(484),switchWorkspace:c(461),toggleHidden:c(395)},git:{title:c(496),status:c(320),diffTab:c(370),modified:c(503),added:c(314),deleted:c(421),untrackedTitle:c(377),noChanges:c(396),openFile:c(426),discardChangesTitle:"Discard changes",discardConfirmTitle:c(337),discardConfirmDelete:c(405),discardConfirmDiscard:c(505),gitActions:c(420),commit:c(316),push:c(454),commitAndPush:c(392),commitPlaceholder:c(497),stageAllNote:c(460),upToDate:"Up to date"},terminalPane:{openFolder:c(499),changedFiles:c(445),note:c(318),refresh:c(451),scrollToBottom:"Scroll to bottom"},note:{title:"Session Note",copy:c(383),clear:c(322)},system:{agent:c(391),machine:c(360),remoteDesktop:"Remote Desktop",uptime:"Uptime",osUptime:c(466),heapUsed:c(329),heapTotal:c(369),external:c(350),ofOsTotal:c(479),loadAvg:c(312),loadDesc:c(328),freeMem:c(393),status:"Status",available:c(384),offline:"Offline",clients:c(431),streaming:c(452),idle:c(324),ramThreshold:c(321),thresholdExceeded:"threshold exceeded",thresholdOk:c(310),unavailable:"Unable to load system stats"},terminal:{backToSessions:c(385),switchGroup:c(487),newTerminal:c(388),send:c(480),typeCommand:c(475),deleteConfirm:c(459),clearInput:c(322)},history:{title:c(440),empty:c(482),remove:c(501),clearAll:c(418)},sessions:{newTerminal:c(415),addGroup:c(336),newGroup:c(467),groupName:c(376),renameGroup:c(436),deleteGroup:c(464),ungrouped:c(413),deleteSessionConfirm:c(449),deleteGroupConfirm:"Delete group {name}? All terminals inside will be closed."},menu:{general:c(498),system:c(309),maintenance:c(419),connection:c(457),connectionDesc:"Pair devices and manage your secure tunnel",terminals:"Terminal",terminalsDesc:c(453),logs:c(371),logsDesc:c(433),terminalSettings:c(500),fontSize:c(470),terminalTheme:c(397),webgl:c(446),webglHint:"GPU acceleration for smoother scrolling",showFolder:c(381),showGit:c(417),showNote:c(339)},recent:{title:c(390),replied:c(463),needsInput:c(351),dismiss:"Dismiss",empty:c(380)},notifications:{title:c(455),empty:c(326),needsInput:"Needs your input",replied:c(438),agent:c(368)},groups:{ungrouped:"Ungrouped"},header:{settings:c(430),language:"Language",documentation:c(428),reset:c(313),resetShort:c(325),shutdown:c(340),shutdownShort:c(335),lightMode:c(366),darkMode:c(485)},remote:{remoteDesktop:c(345),controlScreen:c(394),screenRecording:c(323),captureScreen:c(387),accessibility:c(435),controlMouseKeyboard:"Control mouse & keyboard",startup:c(342),launchOnStartup:"Launch on system startup",remoteOn:c(319),remoteOnDesc:"Devices can connect to this machine",remoteOff:c(502),remoteOffDesc:c(308),turnOff:c(468),turnOn:c(347),launchDesc:c(404),disabledStart:"Disabled — start manually",preventSleep:c(414),blockSleep:"Block system sleep so the network stays alive",remoteUnlock:c(364),remoteUnlockDesc:c(462),remoteUnlockReady:c(408),remoteUnlockStale:c(399),grant:c(411),granted:c(401),sleepModes:{none:c(477),"30m":"Stop after 30 min idle","1h":"Stop after 1 hr idle","2h":"Stop after 2 hrs idle","4h":c(343),"24h":"Stop after 24 hrs idle",never:c(422)}},clients:{clients:c(431),clientCount:c(372),noClients:c(443),autoApprove:c(367),anyDevice:c(458),requireManual:c(427),online:"Online",offline:"Offline",pending:c(491),connected:c(361),connectedAt:c(353),pendingApproval:c(346),offlineAt:c(447),disconnect:c(450),disconnectRemove:"Disconnect & Remove",remove:"Remove",renameDevice:c(416),approveDevice:c(386),approveBtn:c(489),rejectBtn:c(362),newDevice:c(481),deviceId:c(333),deviceIp:"IP"},logs:{logs:c(371),noLogs:"No logs yet",clear:c(322)},connection:{tunnelOffline:c(483),startTunnel:"Start the tunnel to get a QR code and connect your devices from anywhere.",connect:c(495),connecting:c(448),agentUnreachable:"Lost connection to the agent — the app may have quit",pairDevice:c(358),scanToSignIn:"Scan QR or open link to sign in",oneTimeKey:c(456),oneTimeDesc:c(437),permanentKey:c(469),permanentDesc:c(375),features:{terminal:c(344),fullShell:c(439),desktop:c(488),remoteScreen:c(359),files:c(378),browseEdit:c(410)}},dialogs:{resetConfirm:c(476),shutdownConfirm:"Shutdown 9Remote completely? This will stop the server, close the tunnel and quit the app.",deviceDisconnect:c(349),deviceRemovePending:c(348),deviceRemoveOffline:c(400),grantPermissions:c(424),deviceName:c(330),nameExample:c(374)},buttons:{update:c(379),approve:c(489),reject:"Reject",save:c(504)},steps:{setupConnection:c(311),preparing:c(444),checkingTunnel:c(442),connecting:c(465),creatingSession:c(412),tunneling:c(389),startingTunnel:c(441),verifying:c(382),healthCheck:c(354),ready:c(402),connected:"Connected",done:c(429),running:"Running"}};function Nt(){var e=["Remove","Remote access is off","Modified","Save","Discard changes in {name}?","Devices can't connect. Local features keep working.","System","within limit","Setting up connection","Load average","Reset the tunnel and reconnect clients","Added","Confirm","Commit","Rename","Note","Remote access is on","Status","RAM warning","Clear","Screen Recording","idle","Reset","No new notifications","Copy path","1m / 5m / 15m","Heap used","Name for device {id}...","Search files…","Language","Device","1308zTwIdZ","Shutdown","Add Group","Discard changes?","40QpRNot","Show Note Button","Shutdown 9Remote (stop server, close tunnel and quit)","Refresh","Startup","Stop after 4 hrs idle","Terminal","Remote Desktop","Pending · waiting for approval","Turn on","Remove pending device {id}...? It will need a fresh approval request to connect again.","Disconnect and remove device {id}...? The client will be disconnected and need approval again next time.","External","Needs your input","Needs input","Connected · {time}","Health check","Loading…","Delete {name}?","No files found","Pair a device","Remote screen control","Machine","Connected","Reject","Search files","Unlock PC remotely","9096828pvgzcb","Switch to light mode","Auto-approve new devices","Agent","Heap total","Diff","Logs","Clients ({online}/{total} online)","7766638lLXytf","e.g. My MacBook","Reusable · no expiry","Group name","Untracked","Files","Update","No recent activity","Show Folder Button","Verifying","Copy","Available","Back to sessions","Approve this device","Capture screen content","New terminal","Tunneling","Recent","9Remote","Commit & Push","Free memory","Control screen, mouse & keyboard","Toggle hidden files","No changes","Terminal Theme","Close","Update ready — applies after you restart this PC","Remove device {id}...? It will need approval again next time.","Active","Ready","4sVejxP","Runs in background when you log in","Delete untracked file {name}?","40mBfjnW","Folder","Active — unlock from remote works","Delete file","Browse & edit files","Allow","Creating session","Ungrouped","Prevent sleep","New Terminal","Rename this device","Show Git Button","Clear all","Maintenance","Git actions","Deleted","Always block sleep","12865680KwDGRU","Grant all permissions below to enable","Create","Open file","Require manual approval for new devices","Documentation","Done","Settings","Clients","1592095UwUeYf","Server activity and diagnostics","97276knFRvr","Accessibility","Rename group","Single use · expires","Replied","Full shell access","Command history","Starting secure tunnel","Checking tunnel binary","No clients yet","Preparing","Changed files","WebGL Renderer","Offline · approved {date}","Connecting…","Delete session {name}? This will kill the terminal.","Disconnect","Reload session","streaming","Open the web terminal in a new tab","Push","Notifications","One-Time Key","Connection","Any new device connects without approval","Delete terminal {name}?","Stages all {count} changed file(s) before commit","Switch workspace","Let this PC be unlocked from your phone or browser when locked","Agent replied","Delete group","Connecting","OS uptime","New Group","Turn off","Permanent Key","Font Size","11709rYzwTp","Folder is empty","371903XjfFmc","Idle","Shift+Enter for new line • Ctrl+Num to switch tab","Reset and stop the tunnel? Remote clients will be disconnected.","Off","File","of OS total","Send","New Device Connection","No commands yet","Tunnel offline","Set current folder as workspace","Switch to dark mode","Delete","Switch group","Desktop","Approve","Cannot open binary file","Pending approval","folder name","Searching…","Create new","Connect","Git","Commit message","General","Open file explorer","Terminal Settings"];return Nt=function(){return e},Nt()}var p=Ir;(function(e,n){for(var t=Ir,r=e();;)try{var x=-parseInt(t(363))/1+-parseInt(t(370))/2+-parseInt(t(336))/3+parseInt(t(346))/4*(-parseInt(t(313))/5)+parseInt(t(310))/6+-parseInt(t(382))/7*(parseInt(t(327))/8)+parseInt(t(375))/9;if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Rt,873976);const Fx={common:{statusIdle:"Idle",statusWorking:"Working",statusBlocked:p(353),statusDone:"Done",create:"إنشاء",cancel:p(330),delete:p(348),rename:"إعادة تسمية",language:p(338)},terminal:{backToSessions:"العودة إلى الجلسات",switchGroup:p(307),newTerminal:p(358),send:p(325),typeCommand:"Shift+Enter لسطر جديد • Ctrl+رقم للتبديل بين الألسنة",deleteConfirm:p(333)},sessions:{newTerminal:p(358),addGroup:p(380),newGroup:"مجموعة جديدة",groupName:"اسم المجموعة",renameGroup:"إعادة تسمية المجموعة",deleteGroup:p(359),ungrouped:p(331),deleteSessionConfirm:p(321),deleteGroupConfirm:"حذف المجموعة {name}؟ ستغلق جميع المحطات الطرفية بداخلها."},menu:{connection:p(341),connectionDesc:p(387),terminals:"المحطات الطرفية",terminalsDesc:"جلسات محطة طرفية حية تعمل على هذا الجهاز",logs:p(368),logsDesc:"نشاط الخادم والتشخيص"},recent:{title:"الأخيرة",replied:"رد الوكيل",needsInput:p(378),dismiss:"تجاهل",empty:p(356)},header:{settings:p(316),language:p(338),documentation:p(390),reset:p(391),resetShort:p(318),shutdown:p(394),shutdownShort:p(357),lightMode:p(345),darkMode:p(362)},remote:{remoteDesktop:p(361),controlScreen:p(308),screenRecording:p(377),captureScreen:p(352),accessibility:p(322),controlMouseKeyboard:p(347),startup:p(381),launchOnStartup:p(351),remoteOn:p(386),remoteOnDesc:p(305),remoteOff:"Remote access is off",remoteOffDesc:p(385),turnOff:p(349),turnOn:p(354),launchDesc:p(397),disabledStart:p(374),preventSleep:p(304),blockSleep:p(296),remoteUnlock:p(395),remoteUnlockDesc:p(301),remoteUnlockReady:p(319),grant:p(302),granted:p(369),sleepModes:{"30m":"إيقاف بعد 30 دقيقة من عدم النشاط","1h":p(317),"2h":"إيقاف بعد ساعتين من عدم النشاط","4h":p(373),"24h":p(314),never:p(396),none:"إيقاف"}},clients:{clients:p(328),clientCount:"العملاء ({online}/{total} متصل)",noClients:p(343),autoApprove:"الموافقة التلقائية على الأجهزة الجديدة",anyDevice:p(339),requireManual:"يتطلب الموافقة اليدوية للأجهزة الجديدة",online:p(334),offline:"غير متصل",pending:p(355),connected:p(334),connectedAt:p(320),pendingApproval:"في الانتظار · ينتظر الموافقة",offlineAt:p(299),disconnect:p(393),disconnectRemove:p(309),remove:p(350),renameDevice:p(311),approveDevice:p(306),approveBtn:"الموافقة",rejectBtn:p(324),newDevice:p(376),deviceId:p(337),deviceIp:"عنوان IP"},logs:{logs:p(368),noLogs:"لا توجد سجلات حتى الآن",clear:p(379)},connection:{tunnelOffline:p(389),startTunnel:p(312),connect:p(341),connecting:p(364),scanToSignIn:p(303),oneTimeKey:p(323),oneTimeDesc:"استخدام واحد · ينتهي",permanentKey:"مفتاح دائم",permanentDesc:"قابل لإعادة الاستخدام · بدون انتهاء",features:{terminal:p(388),fullShell:p(372),desktop:p(326),remoteScreen:"التحكم في سطح المكتب البعيد",files:p(384),browseEdit:p(315)}},dialogs:{resetConfirm:"إعادة تعيين وإيقاف النفق؟ سيتم قطع اتصال العملاء البعيدين.",shutdownConfirm:p(329),deviceDisconnect:p(300),deviceRemovePending:p(335),deviceRemoveOffline:"إزالة الجهاز {id}...؟ سيحتاج إلى موافقة جديدة في المرة القادمة.",grantPermissions:p(332),deviceName:"اسم الجهاز {id}...",nameExample:"مثال: MacBook الخاص بي"},buttons:{update:p(366),approve:p(298),reject:p(324),save:p(344)},steps:{setupConnection:p(371),preparing:p(340),checkingTunnel:p(392),connecting:p(342),creatingSession:"إنشاء جلسة",tunneling:"نفق النقل",startingTunnel:p(360),verifying:p(383),healthCheck:p(365),ready:p(297),connected:p(334),done:"تم",running:p(367)}};function Ir(e,n){e=e-296;var t=Rt(),r=t[e];return r}function Rt(){var e=["بدء نفق آمن","سطح المكتب البعيد","التبديل إلى الوضع الداكن","425389ogoOsr","جاري الاتصال…","فحص الصحة","تحديث","جاري التشغيل","السجلات","نشط","1233068DgUnGF","إعداد الاتصال","وصول Shell كامل","إيقاف بعد 4 ساعات من عدم النشاط","معطل — بدء يدوي","37151892yCWpFx","اتصال جهاز جديد","تسجيل الشاشة","يحتاج إلى إدخالك","مسح","إضافة مجموعة","البدء","4046lqYpwF","جاري التحقق","الملفات","Devices can't connect. Local features keep working.","Remote access is on","قم بمزامنة الأجهزة وإدارة نفق الأمان الخاص بك","محطة طرفية","النفق غير متصل","التوثيق","إعادة تعيين النفق والعملاء المتصلين","فحص ملف النفق","قطع الاتصال","إيقاف 9Remote (إيقاف الخادم وإغلاق النفق والخروج)","إلغاء قفل الكمبيوتر عن بعد","لا تطفئ أبداً","يعمل في الخلفية عند تسجيل الدخول","منع النظام من السكون لإبقاء الشبكة نشطة","جاهز","الموافقة","غير متصل · موافق {date}","قطع الاتصال وإزالة الجهاز {id}...؟ سيتم قطع اتصال العميل وسيحتاج إلى موافقة جديدة في المرة القادمة.","السماح بإلغاء قفل هذا الكمبيوتر من هاتفك أو متصفحك عند قفله","السماح","امسح رمز QR أو افتح الرابط للدخول","منع السكون","Devices can connect to this machine","الموافقة على هذا الجهاز","تبديل المجموعة","التحكم في الشاشة والماوس ولوحة المفاتيح","قطع الاتصال والإزالة","7437402RlzuEv","إعادة تسمية هذا الجهاز","ابدأ النفق للحصول على رمز QR وقم بتوصيل أجهزتك من أي مكان.","5VSgMQT","إيقاف بعد 24 ساعة من عدم النشاط","استعراض وتعديل الملفات","الإعدادات","إيقاف بعد ساعة واحدة من عدم النشاط","إعادة تعيين","نشط — إلغاء القفل عن بعد يعمل","متصل · {time}","حذف الجلسة {name}؟ سيغلق المحطة الطرفية.","إمكانية الوصول","مفتاح لمرة واحدة","الرفض","إرسال","سطح المكتب","9056HLqqLQ","العملاء","إيقاف 9Remote تماماً؟ سيؤدي هذا إلى إيقاف الخادم وإغلاق النفق والخروج من التطبيق.","إلغاء","غير مصنفة","امنح جميع الأذونات أدناه لتفعيل","حذف المحطة الطرفية {name}؟","متصل","إزالة الجهاز المعلق {id}...؟ سيحتاج إلى طلب موافقة جديد للاتصال مرة أخرى.","3333423OHPSDf","الجهاز","اللغة","أي جهاز جديد يتصل بدون موافقة","جاري التحضير","الاتصال","جاري الاتصال","لا توجد عملاء حتى الآن","حفظ","التبديل إلى الوضع الفاتح","6744876Gtjkfs","التحكم في الماوس ولوحة المفاتيح","حذف","Turn off","إزالة","الإطلاق عند بدء النظام","السماح بعرض الشاشة","Needs input","Turn on","في انتظار الموافقة","لا توجد أنشطة حديثة","إيقاف","محطة طرفية جديدة","حذف المجموعة"];return Rt=function(){return e},Rt()}var J=Dr;function At(){var e=["Remote access is on","Zum Dunkel-Modus wechseln","Bildschirmanzeige zulassen","Geräte koppeln und Ihren sicheren Tunnel verwalten","Neue Gruppe","154WBaLIa","Devices can connect to this machine","50711254Fzrvof","234gVOBHa","PC fernentriegeln","Dokumentation","Zurücksetzen","9Remote beenden (Server stoppen, Tunnel schließen, beenden)","Nicht gruppiert","Sitzung {name} löschen? Dadurch wird das Terminal beendet.","Aktiv — Fernentsperrung funktioniert","Verbindung","75745NDsiDZ","6771951YsMLPe","Benötigt Ihre Eingabe","Zuletzt verwendet","Neue Geräte automatisch genehmigen","Neue Geräte verbinden sich ohne Genehmigung","Idle","Gruppenname","Zum Hell-Modus wechseln","Erstellen","Einstellungen","750861XsMxke","Abbrechen","470472zGIupu","Löschen","Einmalnutzung · läuft ab","System-Standby verhindern, um Verbindung aktiv zu halten","Neues Terminal","Gruppe umbenennen","QR-Code scannen oder Link öffnen zum Anmelden","Manuelle Genehmigung für neue Geräte erforderlich","3gaoqPu","Erlauben","Working","Gruppe löschen","864656QRPiKY","Senden","Live-Terminalsitzungen auf diesem Host","Done","Gruppe {name} löschen? Alle Terminals werden geschlossen.","10xKwJHI","Umbenennen","Terminal {name} löschen?","Remote access is off","3248144wusqwf","Einmalschlüssel","Wiederverwendbar · kein Ablauf","Remote Desktop","Beim Start ausführen","Sprache","Devices can't connect. Local features keep working.","Turn off","Serveraktivität und Diagnose"];return At=function(){return e},At()}(function(e,n){for(var t=Dr,r=e();;)try{var x=parseInt(t(226))/1+-parseInt(t(249))/2*(parseInt(t(236))/3)+-parseInt(t(240))/4+parseInt(t(215))/5*(-parseInt(t(266))/6)+-parseInt(t(263))/7*(parseInt(t(228))/8)+-parseInt(t(216))/9+-parseInt(t(245))/10*(-parseInt(t(265))/11);if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(At,883691);function Dr(e,n){e=e-211;var t=At(),r=t[e];return r}const Wx={common:{statusIdle:J(221),statusWorking:J(238),statusBlocked:"Needs input",statusDone:J(243),create:J(224),cancel:J(227),delete:J(229),rename:J(246),language:J(254)},terminal:{backToSessions:"Zurück zu Sitzungen",switchGroup:"Gruppe wechseln",newTerminal:J(232),send:J(241),typeCommand:"Shift+Enter für neue Zeile • Ctrl+Num zum Wechsel der Registerkarte",deleteConfirm:J(247)},sessions:{newTerminal:J(232),addGroup:"Gruppe hinzufügen",newGroup:J(262),groupName:J(222),renameGroup:J(233),deleteGroup:J(239),ungrouped:J(211),deleteSessionConfirm:J(212),deleteGroupConfirm:J(244)},menu:{connection:J(214),connectionDesc:J(261),terminals:"Terminals",terminalsDesc:J(242),logs:"Protokolle",logsDesc:J(257)},recent:{title:J(218),replied:"Agent hat geantwortet",needsInput:J(217),dismiss:"Verwerfen",empty:"Keine aktuellen Aktivitäten"},header:{settings:J(225),language:J(254),documentation:J(268),reset:"Tunnel zurücksetzen und Clients erneut verbinden",resetShort:J(269),shutdown:J(270),shutdownShort:"Beenden",lightMode:J(223),darkMode:J(259)},remote:{remoteDesktop:J(252),controlScreen:"Bildschirm, Maus und Tastatur steuern",screenRecording:"Bildschirmaufzeichnung",captureScreen:J(260),accessibility:"Barrierefreiheit",controlMouseKeyboard:"Maus und Tastatur steuern",launchOnStartup:J(253),remoteOn:J(258),remoteOnDesc:J(264),remoteOff:J(248),remoteOffDesc:J(255),turnOff:J(256),turnOn:"Turn on",launchDesc:"Im Hintergrund ausgeführt, wenn Sie sich anmelden",disabledStart:"Deaktiviert — Manueller Start",preventSleep:"Computer wach halten",blockSleep:J(231),remoteUnlock:J(267),remoteUnlockDesc:"Erlaube das Entsperren dieses PCs vom Telefon oder Browser, wenn er gesperrt ist",remoteUnlockReady:J(213),grant:J(237),granted:"Aktiv"},clients:{autoApprove:J(219),anyDevice:J(220),requireManual:J(235)},connection:{scanToSignIn:J(234),oneTimeKey:J(250),oneTimeDesc:J(230),permanentKey:"Permanenter Schlüssel",permanentDesc:J(251)}};var Q=Cr;(function(e,n){for(var t=Cr,r=e();;)try{var x=parseInt(t(344))/1+parseInt(t(314))/2+parseInt(t(302))/3+parseInt(t(307))/4*(-parseInt(t(330))/5)+-parseInt(t(333))/6*(parseInt(t(305))/7)+parseInt(t(310))/8*(-parseInt(t(328))/9)+parseInt(t(346))/10;if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Et,519152);function Cr(e,n){e=e-288;var t=Et(),r=t[e];return r}function Et(){var e=["Escritorio Remoto","Restablecer túnel y reconectar clientes","¿Eliminar sesión {name}? Se cerrará el terminal.","Turn on","¿Eliminar terminal {name}?","Cerrar","Turn off","Needs input","Permitir vista de pantalla","Nuevo terminal","Nuevo Grupo","Ejecutar en segundo plano cuando inicie sesión","Escanear código QR o abrir enlace para iniciar sesión","Renombrar grupo","Conexión","Deshabilitado — inicio manual","Activo","2684196FmlWXH","Nuevo Terminal","Idioma","70CFtEOB","Sin agrupar","24gUrycD","Devices can't connect. Local features keep working.","Working","24QQIZXY","Enviar","Activo — el desbloqueo remoto funciona","Impedir que el sistema duerma para mantener conexión activa","582694pMySgS","Renombrar","Accesibilidad","Sesiones de terminal en vivo en este host","Clave Permanente","Volver a sesiones","Nombre del grupo","Crear","Terminales","Emparejar dispositivos y administrar su túnel seguro","Permite desbloquear esta PC desde tu teléfono o navegador cuando está bloqueada","Cancelar","Diagnóstico de actividad del servidor","Cerrar 9Remote (detener servidor, cerrar túnel, salir)","1602819tyKgXG","Idle","369230bBWdnZ","Controlar pantalla, ratón y teclado","Aprobar automáticamente dispositivos nuevos","161160hrsYEm","Registros","Reciente","Remote access is off","Ejecutar al iniciar","Restablecer","Cambiar a modo claro","Documentación","Cambiar a modo oscuro","Agregar Grupo","Eliminar grupo","497833HUtizI","Shift+Enter para nueva línea • Ctrl+Número para cambiar pestaña","811890ZMuSPn","Sin actividad reciente","Clave de una sola vez"];return Et=function(){return e},Et()}const Hx={common:{statusIdle:Q(329),statusWorking:Q(309),statusBlocked:Q(292),statusDone:"Done",create:Q(321),cancel:Q(325),delete:"Eliminar",rename:Q(315),language:"Idioma"},terminal:{backToSessions:Q(319),switchGroup:"Cambiar grupo",newTerminal:Q(294),send:Q(311),typeCommand:Q(345),deleteConfirm:Q(289)},sessions:{newTerminal:Q(303),addGroup:Q(342),newGroup:Q(295),groupName:Q(320),renameGroup:Q(298),deleteGroup:Q(343),ungrouped:Q(306),deleteSessionConfirm:Q(351),deleteGroupConfirm:"¿Eliminar grupo {name}? Se cerrarán todos los terminales dentro."},menu:{connection:Q(299),connectionDesc:Q(323),terminals:Q(322),terminalsDesc:Q(317),logs:Q(334),logsDesc:Q(326)},recent:{title:Q(335),replied:"El agente respondió",needsInput:"Necesita su entrada",dismiss:"Descartar",empty:Q(347)},header:{settings:"Configuración",language:Q(304),documentation:Q(340),reset:Q(350),resetShort:Q(338),shutdown:Q(327),shutdownShort:Q(290),lightMode:Q(339),darkMode:Q(341)},remote:{remoteDesktop:Q(349),controlScreen:Q(331),screenRecording:"Grabación de pantalla",captureScreen:Q(293),accessibility:Q(316),controlMouseKeyboard:"Controlar ratón y teclado",launchOnStartup:Q(337),remoteOn:"Remote access is on",remoteOnDesc:"Devices can connect to this machine",remoteOff:Q(336),remoteOffDesc:Q(308),turnOff:Q(291),turnOn:Q(288),launchDesc:Q(296),disabledStart:Q(300),preventSleep:"Mantener ordenador despierto",blockSleep:Q(313),remoteUnlock:"Desbloquear PC remotamente",remoteUnlockDesc:Q(324),remoteUnlockReady:Q(312),grant:"Permitir",granted:Q(301)},clients:{autoApprove:Q(332),anyDevice:"Cualquier dispositivo nuevo se conecta sin aprobación",requireManual:"Requiere aprobación manual para dispositivos nuevos"},connection:{scanToSignIn:Q(297),oneTimeKey:Q(348),oneTimeDesc:"Uso único · expira",permanentKey:Q(318),permanentDesc:"Reutilizable · sin expiración"}};var O=Tr;function Tr(e,n){e=e-286;var t=Pt(),r=t[e];return r}function Pt(){var e=["بازنشانی","Turn on","لغو","جلوگیری از خواب سیستم برای نگه داشتن اتصال فعال","کنترل ماوس و صفحه کلید","ترمینال جدید","نام گروه","14469830wNeTRx","کلید یک‌بار مصرف","تغییر به حالت روشن","بازگشت به جلسات","تغییر به حالت تاریک","استفاده یک‌بار · منقضی می‌شود","تغییر نام گروه","15583kfiKmz","کنترل صفحه، ماوس و صفحه کلید","کلید دائمی","بدون گروه","اجرا در پس‌زمینه هنگام ورود","حذف گروه","نیاز به تأیید دستی برای دستگاه‌های جدید","1493245EZxvQM","سابقه","ایجاد","فعال — باز کردن قفل از راه دور کار می‌کند","12VWWdRi","Devices can connect to this machine","نگه داشتن کامپیوتر بیدار","9NMDHiQ","فعال","Remote access is off","حذف جلسه {name}؟ این کار ترمینال را بسته خواهد کرد.","باز کردن قفل کامپیوتر از راه دور","تشخیص فعالیت سرور","639915oAaNpl","ترمینال‌ها","Done","زبان","دسترسی‌پذیری","افزودن گروه","اجازه باز شدن قفل این کامپیوتر از تلفن یا مرورگر هنگام قفل بودن","خاموش","تغییر نام","Needs input","اجازه","تأیید خودکار دستگاه‌های جدید","Turn off","بازنشانی تونل و بازاتصال کلاینت‌ها","Devices can't connect. Local features keep working.","مستندات","گروه جدید","Shift+Enter برای خط جدید • Ctrl+عدد برای تغییر برگه","هیچ فعالیت اخیری وجود ندارد","اتصال","جلسات ترمینال زنده در این میزبان","3989776wxlUGt","38NNIMRj","غیرفعال — راه اندازی دستی","رد کردن","عامل پاسخ داد","تغییر گروه","Remote access is on","132034ygimrg","ضبط صفحه","کد QR را اسکن کنید یا لینک را باز کنید تا وارد شوید","2051040pWqiRc","نیاز به ورودی شما","خاموش کردن 9Remote (توقف سرور، بستن تونل، خروج)"];return Pt=function(){return e},Pt()}(function(e,n){for(var t=Tr,r=e();;)try{var x=-parseInt(t(322))/1*(parseInt(t(296))/2)+-parseInt(t(342))/3+-parseInt(t(305))/4+parseInt(t(329))/5+-parseInt(t(333))/6*(-parseInt(t(302))/7)+-parseInt(t(295))/8+-parseInt(t(336))/9*(-parseInt(t(315))/10);if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Pt,262492);const Vx={common:{statusIdle:"Idle",statusWorking:"Working",statusBlocked:O(351),statusDone:O(344),create:O(331),cancel:O(310),delete:"حذف",rename:O(350),language:O(345)},terminal:{backToSessions:O(318),switchGroup:O(300),newTerminal:"ترمینال جدید",send:"ارسال",typeCommand:O(291),deleteConfirm:"حذف ترمینال {name}؟"},sessions:{newTerminal:O(313),addGroup:O(347),newGroup:O(290),groupName:O(314),renameGroup:O(321),deleteGroup:O(327),ungrouped:O(325),deleteSessionConfirm:O(339),deleteGroupConfirm:"حذف گروه {name}؟ تمام ترمینال های درون آن بسته می شوند."},menu:{connection:O(293),connectionDesc:"جفت کردن دستگاه‌ها و مدیریت تونل امن شما",terminals:O(343),terminalsDesc:O(294),logs:O(330),logsDesc:O(341)},recent:{title:"اخیر",replied:O(299),needsInput:O(306),dismiss:O(298),empty:O(292)},header:{settings:"تنظیمات",language:O(345),documentation:O(289),reset:O(287),resetShort:O(308),shutdown:O(307),shutdownShort:O(349),lightMode:O(317),darkMode:O(319)},remote:{remoteDesktop:"میزکار دور",controlScreen:O(323),screenRecording:O(303),captureScreen:"اجازه دادن برای مشاهده صفحه",accessibility:O(346),controlMouseKeyboard:O(312),launchOnStartup:"راه اندازی در هنگام شروع",remoteOn:O(301),remoteOnDesc:O(334),remoteOff:O(338),remoteOffDesc:O(288),turnOff:O(286),turnOn:O(309),launchDesc:O(326),disabledStart:O(297),preventSleep:O(335),blockSleep:O(311),remoteUnlock:O(340),remoteUnlockDesc:O(348),remoteUnlockReady:O(332),grant:O(352),granted:O(337)},clients:{autoApprove:O(353),anyDevice:"هر دستگاه جدید بدون تأیید متصل می‌شود",requireManual:O(328)},connection:{scanToSignIn:O(304),oneTimeKey:O(316),oneTimeDesc:O(320),permanentKey:O(324),permanentDesc:"قابل استفاده مجدد · بدون انقضا"}};var F=Nr;(function(e,n){for(var t=Nr,r=e();;)try{var x=parseInt(t(218))/1*(parseInt(t(228))/2)+-parseInt(t(258))/3+-parseInt(t(273))/4+parseInt(t(261))/5*(parseInt(t(238))/6)+-parseInt(t(266))/7*(-parseInt(t(249))/8)+parseInt(t(221))/9+parseInt(t(248))/10*(-parseInt(t(251))/11);if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Mt,906963);function Nr(e,n){e=e-213;var t=Mt(),r=t[e];return r}function Mt(){var e=["Autoriser le déverrouillage de ce PC depuis votre téléphone ou navigateur lorsqu'il est verrouillé","Contrôler la souris et le clavier","28921690pmtLpy","4121528jxNmzJ","Clé Permanente","11CurmgQ","Envoyer","Scannez le code QR ou ouvrez le lien pour vous connecter","Remote access is off","Retour aux sessions","Supprimer","Empêcher la mise en veille du système pour maintenir la connexion active","739977iQJDPR","Langue","Idle","5yzsnwT","Arrêter 9Remote (arrêter le serveur, fermer le tunnel, quitter)","Done","Devices can connect to this machine","Aucune activité récente","14dzopAt","Maintenir l'ordinateur actif","Renommer","Supprimer le terminal {name} ?","Autoriser l'affichage de l'écran","Actif","Turn off","2236664jitAYM","Supprimer la session {name} ? Cela fermera le terminal.","Nouveau Groupe","Devices can't connect. Local features keep working.","Réinitialiser","Clé à Usage Unique","Enregistrement d'écran","Maj+Entrée pour nouvelle ligne • Ctrl+Num pour changer d'onglet","Annuler","Actif — le déverrouillage à distance fonctionne","Réutilisable · sans expiration","1037017QlCmyu","Renommer le groupe","Approuver automatiquement les nouveaux appareils","14512833BoqNGK","Passer au mode clair","Connexion","Arrêter","Nécessite l'approbation manuelle pour les nouveaux appareils","Bureau à Distance","Non groupé","2bAgVun","Supprimer le groupe","Récent","Autoriser","Tout nouvel appareil se connecte sans approbation","Usage unique · expire","Turn on","Exécuter en arrière-plan lors de votre connexion","Diagnostic d'activité du serveur","Paramètres","5550126VnLdaN","L'agent a répondu","Passer au mode sombre","Nécessite votre saisie","Créer","Remote access is on","Documentation","Nouveau terminal"];return Mt=function(){return e},Mt()}const Qx={common:{statusIdle:F(260),statusWorking:"Working",statusBlocked:"Needs input",statusDone:F(263),create:F(242),cancel:F(215),delete:F(256),rename:F(268),language:F(259)},terminal:{backToSessions:F(255),switchGroup:"Changer de groupe",newTerminal:F(245),send:F(252),typeCommand:F(214),deleteConfirm:F(269)},sessions:{newTerminal:"Nouveau Terminal",addGroup:"Ajouter un Groupe",newGroup:F(275),groupName:"Nom du groupe",renameGroup:F(219),deleteGroup:F(229),ungrouped:F(227),deleteSessionConfirm:F(274),deleteGroupConfirm:"Supprimer le groupe {name} ? Tous les terminaux dedans seront fermés."},menu:{connection:F(223),connectionDesc:"Appairer des appareils et gérer votre tunnel sécurisé",terminals:"Terminaux",terminalsDesc:"Sessions de terminal en direct sur cet hôte",logs:"Journaux",logsDesc:F(236)},recent:{title:F(230),replied:F(239),needsInput:F(241),dismiss:"Rejeter",empty:F(265)},header:{settings:F(237),language:F(259),documentation:F(244),reset:"Réinitialiser le tunnel et reconnecter les clients",resetShort:F(277),shutdown:F(262),shutdownShort:F(224),lightMode:F(222),darkMode:F(240)},remote:{remoteDesktop:F(226),controlScreen:"Contrôler l'écran, la souris et le clavier",screenRecording:F(213),captureScreen:F(270),accessibility:"Accessibilité",controlMouseKeyboard:F(247),launchOnStartup:"Lancer au démarrage",remoteOn:F(243),remoteOnDesc:F(264),remoteOff:F(254),remoteOffDesc:F(276),turnOff:F(272),turnOn:F(234),launchDesc:F(235),disabledStart:"Désactivé — lancement manuel",preventSleep:F(267),blockSleep:F(257),remoteUnlock:"Déverrouiller le PC à distance",remoteUnlockDesc:F(246),remoteUnlockReady:F(216),grant:F(231),granted:F(271)},clients:{autoApprove:F(220),anyDevice:F(232),requireManual:F(225)},connection:{scanToSignIn:F(253),oneTimeKey:F(278),oneTimeDesc:F(233),permanentKey:F(250),permanentDesc:F(217)}};function Rr(e,n){e=e-173;var t=Ot(),r=t[e];return r}var Z=Rr;(function(e,n){for(var t=Rr,r=e();;)try{var x=-parseInt(t(220))/1*(-parseInt(t(228))/2)+-parseInt(t(198))/3*(-parseInt(t(194))/4)+-parseInt(t(216))/5+-parseInt(t(185))/6+parseInt(t(187))/7*(parseInt(t(188))/8)+parseInt(t(181))/9*(-parseInt(t(214))/10)+parseInt(t(217))/11;if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Ot,760327);const Yx={common:{statusIdle:Z(210),statusWorking:"Working",statusBlocked:Z(175),statusDone:Z(173),create:"יצירה",cancel:Z(209),delete:Z(222),rename:Z(183),language:Z(208)},terminal:{backToSessions:"חזרה להפעלות",switchGroup:Z(201),newTerminal:"טרמינל חדש",send:"שליחה",typeCommand:Z(224),deleteConfirm:Z(191)},sessions:{newTerminal:Z(205),addGroup:Z(200),newGroup:"קבוצה חדשה",groupName:Z(189),renameGroup:"שינוי שם קבוצה",deleteGroup:Z(199),ungrouped:Z(219),deleteSessionConfirm:Z(184),deleteGroupConfirm:Z(197)},menu:{connection:Z(231),connectionDesc:"צמד התקנים וניהול התעלה המאובטחת שלך",terminals:Z(174),terminalsDesc:Z(227),logs:"יומנים",logsDesc:Z(203)},recent:{title:"לאחרונה",replied:"הסוכן הגיב",needsInput:"דורש את הקלטך",dismiss:Z(225),empty:Z(192)},header:{settings:"הגדרות",language:Z(208),documentation:Z(226),reset:Z(206),resetShort:Z(230),shutdown:Z(193),shutdownShort:"כיבוי",lightMode:Z(176),darkMode:"עבור למצב אפל"},remote:{remoteDesktop:Z(177),controlScreen:Z(232),screenRecording:"הקלטת מסך",captureScreen:Z(229),accessibility:Z(211),controlMouseKeyboard:Z(190),launchOnStartup:"הפעל בהפעלת המערכת",remoteOn:Z(212),remoteOnDesc:Z(213),remoteOff:Z(207),remoteOffDesc:Z(204),turnOff:"Turn off",turnOn:Z(215),launchDesc:Z(186),disabledStart:"מבוטל — הפעלה ידנית",preventSleep:"הוודא שהמחשב ער",blockSleep:Z(221),remoteUnlock:Z(179),remoteUnlockDesc:"אפשר ביטול נעילה של המחשב הזה מהטלפון או הדפדפן כשנעול",remoteUnlockReady:Z(202),grant:Z(182),granted:Z(180)},clients:{autoApprove:Z(218),anyDevice:"כל התקן חדש מתחבר ללא אישור",requireManual:Z(178)},connection:{scanToSignIn:Z(196),oneTimeKey:"מפתח חד פעמי",oneTimeDesc:Z(223),permanentKey:Z(195),permanentDesc:"ניתן לשימוש חוזר · ללא תוקף"}};function Ot(){var e=["Remote access is on","Devices can connect to this machine","9286540XnvtYW","Turn on","1688335lreXxW","7562797ZooFQz","אישור אוטומטי של התקנים חדשים","ללא קבוצה","22slRNCR","מנע שינת מערכת כדי לשמור על חיבור פעיל","מחיקה","שימוש אחד · פג","Shift+Enter לשורה חדשה • Ctrl+מספר לעבור בין כרטיסיות","דחה","תיעוד","הפעלות טרמינל חיות על השרת הזה","87206TIAIho","אפשר הצגת מסך","איפוס","חיבור","שלוט על המסך, העכבר והמקלדת","Done","טרמינלים","Needs input","עבור למצב בהיר","שולחן עבודה מרחוק","דורש אישור ידני להתקנים חדשים","בטל נעילת מחשב מרחוק","פעיל","9wxNWVE","אפשר","שינוי שם","מחוק הפעלה {name}? זה יסגור את הטרמינל.","6720510VuhAFy","הפעל ברקע כשאתה מתחבר","644loxGjE","91112BHdCXG","שם הקבוצה","שלוט על העכבר והמקלדת","מחוק את הטרמינל {name}?","אין פעילות אחרונה","כיבוי 9Remote (עצור שרת, סגור תעלה, יציאה)","32yWojTD","מפתח קבוע","סרוק קוד QR או פתח קישור כדי להתחבר","מחוק קבוצה {name}? כל הטרמינלים בפנים יסגרו.","169557TAZtha","מחוק קבוצה","הוסף קבוצה","החלפת קבוצה","פעיל — נעילה מרחוק עובדת","אבחון פעילות השרת","Devices can't connect. Local features keep working.","טרמינל חדש","איפוס התעלה והחבר מחדש ללקוחות","Remote access is off","שפה","ביטול","Idle","נגישות"];return Ot=function(){return e},Ot()}var z=Ar;function Ar(e,n){e=e-344;var t=Bt(),r=t[e];return r}(function(e,n){for(var t=Ar,r=e();;)try{var x=-parseInt(t(372))/1+-parseInt(t(395))/2+parseInt(t(354))/3+parseInt(t(361))/4+parseInt(t(398))/5*(parseInt(t(389))/6)+parseInt(t(392))/7*(-parseInt(t(357))/8)+parseInt(t(376))/9;if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Bt,464067);function Bt(){var e=["स्क्रीन दृश्य की अनुमति दें","भेजें","नई लाइन के लिए Shift+Enter • टैब बदलने के लिए Ctrl+संख्या","टर्मिनल","9Remote को बंद करें (सर्वर बंद करें, सुरंग बंद करें, बाहर निकलें)","एकबारगी कुंजी","पुनः नाम दें","Needs input","97398QsUtcp","सुरंग रीसेट करें और क्लाइंट को फिर से कनेक्ट करें","कनेक्शन को सक्रिय रखने के लिए सिस्टम स्लीप को रोकें","3561464gvtZBu","Done","समूह बदलें","डिवाइस को जोड़ी करें और अपनी सुरक्षित सुरंग का प्रबंधन करें","1379364yclnqa","अनुमति दें","रिमोट डेस्कटॉप","सत्र {name} को हटाएं? यह टर्मिनल को बंद कर देगा।","हल्के मोड पर स्विच करें","लॉक होने पर इस PC को फ़ोन या ब्राउज़र से अनलॉक होने की अनुमति दें","नया टर्मिनल","माउस और कीबोर्ड को नियंत्रित करें","अंधेरे मोड पर स्विच करें","पहुंच योग्यता","असमूहित","509574udrDDd","सक्रिय — दूरस्थ अनलॉक काम कर रहा है","रद्द करें","स्टार्टअप पर लॉन्च करें","10128888hPlORE","बनाएं","संयोजन","नए डिवाइस के लिए मैनुअल अनुमोदन की आवश्यकता है","समूह जोड़ें","रीसेट करें","पुन: उपयोग योग्य · कोई समाप्ति नहीं","लॉग्स","समूह का नाम","हाल ही में","हटाएं","आपके इनपुट की जरूरत है","स्क्रीन, माउस और कीबोर्ड को नियंत्रित करें","1193052ewFlch","समूह {name} को हटाएं? इसके अंदर सभी टर्मिनल बंद हो जाएंगे।","बंद करें","7TiBgcb","एकल उपयोग · समाप्त होता है","कोई भी नया डिवाइस अनुमोदन के बिना कनेक्ट करता है","565514SZIjoI","नया समूह","सत्रों पर वापस जाएं","5aQGweu","Devices can connect to this machine","स्थायी कुंजी","साइन इन करने के लिए QR कोड स्कैन करें या लिंक खोलें","समूह हटाएं","Remote access is on","नए डिवाइस को स्वचालित रूप से मंजूरी दें","भाषा","सर्वर गतिविधि निदान","जब आप लॉगिन करते हैं तो पृष्ठभूमि में चलाएं","Devices can't connect. Local features keep working.","स्क्रीन रिकॉर्डिंग","इस होस्ट पर लाइव टर्मिनल सत्र"];return Bt=function(){return e},Bt()}const Jx={common:{statusIdle:"Idle",statusWorking:"Working",statusBlocked:z(353),statusDone:z(358),create:z(377),cancel:z(374),delete:z(386),rename:z(352),language:z(405)},terminal:{backToSessions:z(397),switchGroup:z(359),newTerminal:z(367),send:z(347),typeCommand:z(348),deleteConfirm:"टर्मिनल {name} को हटाएं?"},sessions:{newTerminal:"नया टर्मिनल",addGroup:z(380),newGroup:z(396),groupName:z(384),renameGroup:"समूह का नाम बदलें",deleteGroup:z(402),ungrouped:z(371),deleteSessionConfirm:z(364),deleteGroupConfirm:z(390)},menu:{connection:z(378),connectionDesc:z(360),terminals:z(349),terminalsDesc:z(345),logs:z(383),logsDesc:z(406)},recent:{title:z(385),replied:"एजेंट ने जवाब दिया",needsInput:z(387),dismiss:z(374),empty:"कोई हाल ही की गतिविधि नहीं"},header:{settings:"सेटिंग्स",language:z(405),documentation:"दस्तावेज़",reset:z(355),resetShort:z(381),shutdown:z(350),shutdownShort:z(391),lightMode:z(365),darkMode:z(369)},remote:{remoteDesktop:z(363),controlScreen:z(388),screenRecording:z(344),captureScreen:z(346),accessibility:z(370),controlMouseKeyboard:z(368),launchOnStartup:z(375),remoteOn:z(403),remoteOnDesc:z(399),remoteOff:"Remote access is off",remoteOffDesc:z(408),turnOff:"Turn off",turnOn:"Turn on",launchDesc:z(407),disabledStart:"अक्षम — मैनुअल लॉन्च",preventSleep:"कंप्यूटर को जागृत रखें",blockSleep:z(356),remoteUnlock:"PC दूरस्थ रूप से अनलॉक करें",remoteUnlockDesc:z(366),remoteUnlockReady:z(373),grant:z(362),granted:"सक्रिय"},clients:{autoApprove:z(404),anyDevice:z(394),requireManual:z(379)},connection:{scanToSignIn:z(401),oneTimeKey:z(351),oneTimeDesc:z(393),permanentKey:z(400),permanentDesc:z(382)}};var H=Er;(function(e,n){for(var t=Er,r=e();;)try{var x=parseInt(t(254))/1*(parseInt(t(218))/2)+parseInt(t(249))/3+-parseInt(t(255))/4+parseInt(t(242))/5+-parseInt(t(224))/6*(parseInt(t(260))/7)+parseInt(t(259))/8*(parseInt(t(234))/9)+parseInt(t(226))/10;if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Ut,542466);const Zx={common:{statusIdle:H(221),statusWorking:H(222),statusBlocked:H(201),statusDone:"Done",create:H(251),cancel:H(230),delete:H(212),rename:H(216),language:H(217)},terminal:{backToSessions:"Kembali ke sesi",switchGroup:"Ganti grup",newTerminal:H(209),send:H(211),typeCommand:H(241),deleteConfirm:H(208)},sessions:{newTerminal:H(261),addGroup:"Tambah Grup",newGroup:H(262),groupName:H(219),renameGroup:H(258),deleteGroup:H(244),ungrouped:H(207),deleteSessionConfirm:H(210),deleteGroupConfirm:H(235)},menu:{connection:H(205),connectionDesc:H(225),terminals:H(204),terminalsDesc:"Sesi terminal langsung berjalan di host ini",logs:H(238),logsDesc:H(229)},recent:{title:"Terbaru",replied:H(236),needsInput:H(245),dismiss:H(232),empty:H(206)},header:{settings:"Pengaturan",language:H(217),documentation:"Dokumentasi",reset:H(199),resetShort:H(257),shutdown:"Matikan 9Remote (hentikan server, tutup terowongan, keluar)",shutdownShort:H(231),lightMode:"Beralih ke mode terang",darkMode:H(215)},remote:{remoteDesktop:"Dekstop Jarak Jauh",controlScreen:H(213),screenRecording:H(253),captureScreen:"Izinkan tampilan layar",accessibility:H(239),controlMouseKeyboard:H(247),launchOnStartup:H(214),remoteOn:H(250),remoteOnDesc:H(237),remoteOff:"Remote access is off",remoteOffDesc:H(233),turnOff:H(228),turnOn:"Turn on",launchDesc:H(248),disabledStart:"Dinonaktifkan — peluncuran manual",preventSleep:"Jaga komputer tetap aktif",blockSleep:H(223),remoteUnlock:H(200),remoteUnlockDesc:H(246),remoteUnlockReady:H(203),grant:"Izinkan",granted:H(252)},clients:{autoApprove:H(256),anyDevice:"Perangkat baru apa pun terhubung tanpa persetujuan",requireManual:H(243)},connection:{scanToSignIn:H(240),oneTimeKey:H(220),oneTimeDesc:"Penggunaan tunggal · kedaluwarsa",permanentKey:H(202),permanentDesc:H(227)}};function Er(e,n){e=e-199;var t=Ut(),r=t[e];return r}function Ut(){var e=["Kunci Sekali Pakai","Idle","Working","Cegah sistem tidur untuk menjaga koneksi tetap aktif","468THwqyY","Pasangkan perangkat dan kelola terowongan aman Anda","4764870GIcJAF","Dapat digunakan kembali · tidak ada kadaluarsa","Turn off","Diagnostik aktivitas server","Batalkan","Matikan","Abaikan","Devices can't connect. Local features keep working.","720351hKfZjE","Hapus grup {name}? Semua terminal di dalamnya akan ditutup.","Agen merespon","Devices can connect to this machine","Log","Aksesibilitas","Pindai kode QR atau buka tautan untuk masuk","Shift+Enter untuk baris baru • Ctrl+Num untuk ganti tab","922960OEDkvq","Memerlukan persetujuan manual untuk perangkat baru","Hapus grup","Membutuhkan masukan Anda","Izinkan PC ini dibuka kuncinya dari ponsel atau browser saat terkunci","Kontrol mouse & keyboard","Jalankan di latar belakang saat Anda masuk","336372EZtMFo","Remote access is on","Buat","Aktif","Perekaman Layar","11906dDOAXr","3477240fYxaWK","Setujui perangkat baru secara otomatis","Setel Ulang","Ubah nama grup","40RshKbZ","28826ZnLlcu","Terminal Baru","Grup Baru","Setel ulang terowongan dan sambungkan kembali klien","Buka kunci PC dari jarak jauh","Needs input","Kunci Permanen","Aktif — buka kunci jarak jauh berfungsi","Terminal","Koneksi","Tidak ada aktivitas terbaru","Tidak Dikelompokkan","Hapus terminal {name}?","Terminal baru","Hapus sesi {name}? Ini akan menutup terminal.","Kirim","Hapus","Kontrol layar, mouse & keyboard","Luncurkan saat startup","Beralih ke mode gelap","Ubah Nama","Bahasa","94ObYVXO","Nama grup"];return Ut=function(){return e},Ut()}var Y=Pr;(function(e,n){for(var t=Pr,r=e();;)try{var x=-parseInt(t(375))/1*(-parseInt(t(346))/2)+parseInt(t(364))/3+-parseInt(t(331))/4+parseInt(t(367))/5*(parseInt(t(368))/6)+-parseInt(t(347))/7*(-parseInt(t(350))/8)+parseInt(t(371))/9*(-parseInt(t(320))/10)+parseInt(t(358))/11*(-parseInt(t(319))/12);if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(zt,922703);const Xx={common:{statusIdle:Y(335),statusWorking:"Working",statusBlocked:Y(322),statusDone:"Done",create:"Crea",cancel:Y(353),delete:Y(330),rename:Y(338),language:"Lingua"},terminal:{backToSessions:Y(359),switchGroup:Y(352),newTerminal:Y(374),send:Y(329),typeCommand:Y(360),deleteConfirm:Y(362)},sessions:{newTerminal:"Nuovo Terminale",addGroup:Y(348),newGroup:Y(344),groupName:Y(356),renameGroup:Y(376),deleteGroup:Y(354),ungrouped:"Non raggruppato",deleteSessionConfirm:"Eliminare la sessione {name}? Questo chiuderà il terminale.",deleteGroupConfirm:Y(370)},menu:{connection:Y(334),connectionDesc:Y(363),terminals:Y(332),terminalsDesc:Y(377),logs:Y(345),logsDesc:"Diagnostica attività server"},recent:{title:Y(373),replied:Y(355),needsInput:"Necessita il tuo input",dismiss:"Chiudi",empty:Y(343)},header:{settings:Y(328),language:Y(361),documentation:Y(372),reset:Y(339),resetShort:"Ripristina",shutdown:Y(365),shutdownShort:"Spegni",lightMode:Y(325),darkMode:"Passa alla modalità scura"},remote:{remoteDesktop:Y(342),controlScreen:Y(366),screenRecording:Y(380),captureScreen:Y(318),accessibility:"Accessibilità",controlMouseKeyboard:Y(336),launchOnStartup:Y(333),remoteOn:Y(379),remoteOnDesc:"Devices can connect to this machine",remoteOff:Y(341),remoteOffDesc:Y(349),turnOff:Y(321),turnOn:Y(323),launchDesc:Y(378),disabledStart:"Disabilitato — avvio manuale",preventSleep:Y(351),blockSleep:Y(327),remoteUnlock:Y(340),remoteUnlockDesc:Y(381),remoteUnlockReady:Y(324),grant:"Consenti",granted:Y(326)},clients:{autoApprove:"Approva automaticamente i nuovi dispositivi",anyDevice:"Qualsiasi nuovo dispositivo si connette senza approvazione",requireManual:"Richiede l'approvazione manuale per i nuovi dispositivi"},connection:{scanToSignIn:Y(369),oneTimeKey:"Chiave Usa e Getta",oneTimeDesc:Y(357),permanentKey:"Chiave Permanente",permanentDesc:Y(337)}};function Pr(e,n){e=e-318;var t=zt(),r=t[e];return r}function zt(){var e=["Terminali","Avvia all'avvio","Connessione","Idle","Controlla mouse e tastiera","Riutilizzabile · nessuna scadenza","Rinomina","Ripristina tunnel e riconnetti i client","Sblocca PC da remoto","Remote access is off","Desktop Remoto","Nessuna attività recente","Nuovo Gruppo","Log","1486418SYKYSB","14rtBNfc","Aggiungi Gruppo","Devices can't connect. Local features keep working.","5228504LXpKQK","Mantieni il computer sveglio","Cambia gruppo","Annulla","Elimina gruppo","L'agente ha risposto","Nome del gruppo","Uso singolo · scade","55jwWotN","Torna alle sessioni","Maiusc+Invio per nuova riga • Ctrl+Num per cambiare scheda","Lingua","Eliminare il terminale {name}?","Abbina dispositivi e gestisci il tuo tunnel sicuro","3390750NSGpQz","Spegni 9Remote (arresta server, chiudi tunnel, esci)","Controlla schermo, mouse e tastiera","266990RFjQQg","156ykcsYp","Scansiona il codice QR o apri il collegamento per accedere","Eliminare il gruppo {name}? Tutti i terminali all'interno verranno chiusi.","3180726uMFICn","Documentazione","Recente","Nuovo terminale","1HtxxMR","Rinomina gruppo","Sessioni di terminale live in esecuzione su questo host","Esegui in background quando accedi","Remote access is on","Registrazione schermo","Consenti di sbloccare questo PC dal telefono o dal browser quando è bloccato","Consenti visualizzazione schermo","4302132JXvNzU","10WPwSLU","Turn off","Needs input","Turn on","Attivo — lo sblocco da remoto funziona","Passa alla modalità chiara","Attivo","Impedisci la sospensione del sistema per mantenere attiva la connessione","Impostazioni","Invia","Elimina","6001044qgjOza"];return zt=function(){return e},zt()}function Mr(e,n){e=e-118;var t=Gt(),r=t[e];return r}var ee=Mr;(function(e,n){for(var t=Mr,r=e();;)try{var x=parseInt(t(132))/1*(-parseInt(t(142))/2)+parseInt(t(162))/3*(-parseInt(t(148))/4)+-parseInt(t(126))/5+-parseInt(t(166))/6+-parseInt(t(130))/7+-parseInt(t(171))/8*(-parseInt(t(123))/9)+parseInt(t(151))/10*(parseInt(t(118))/11);if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Gt,145834);const $x={common:{statusIdle:ee(155),statusWorking:ee(150),statusBlocked:"Needs input",statusDone:ee(134),create:"作成",cancel:ee(124),delete:"削除",rename:ee(168),language:"言語"},terminal:{backToSessions:ee(131),switchGroup:ee(147),newTerminal:ee(152),send:"送信",typeCommand:ee(156),deleteConfirm:ee(153)},sessions:{newTerminal:ee(152),addGroup:ee(163),newGroup:"新規グループ",groupName:ee(145),renameGroup:ee(137),deleteGroup:"グループを削除",ungrouped:ee(167),deleteSessionConfirm:"セッション {name} を削除しますか? ターミナルが終了します。",deleteGroupConfirm:"グループ {name} を削除しますか? 内部のすべてのターミナルが閉じます。"},menu:{connection:"接続",connectionDesc:ee(164),terminals:ee(149),terminalsDesc:"このホストで実行中のライブターミナルセッション",logs:"ログ",logsDesc:"サーバーアクティビティ診断"},recent:{title:"最近",replied:ee(165),needsInput:ee(122),dismiss:"閉じる",empty:ee(140)},header:{settings:"設定",language:"言語",documentation:ee(143),reset:ee(129),resetShort:ee(127),shutdown:"9Remoteをシャットダウン(サーバー停止、トンネル閉鎖、終了)",shutdownShort:ee(138),lightMode:ee(170),darkMode:ee(121)},remote:{remoteDesktop:ee(146),controlScreen:ee(161),screenRecording:ee(173),captureScreen:ee(141),accessibility:"アクセシビリティ",controlMouseKeyboard:ee(120),launchOnStartup:"起動時に実行",remoteOn:ee(119),remoteOnDesc:"Devices can connect to this machine",remoteOff:ee(128),remoteOffDesc:ee(154),turnOff:ee(135),turnOn:ee(159),launchDesc:ee(160),disabledStart:"無効 — 手動起動",preventSleep:ee(169),blockSleep:ee(139),remoteUnlock:ee(125),remoteUnlockDesc:ee(172),remoteUnlockReady:"有効 — リモートロック解除が機能しています",grant:"許可",granted:"有効"},clients:{autoApprove:"新しいデバイスを自動的に承認",anyDevice:ee(157),requireManual:ee(136)},connection:{scanToSignIn:ee(158),oneTimeKey:ee(133),oneTimeDesc:"1回限りの使用 · 有効期限あり",permanentKey:"永続キー",permanentDesc:ee(144)}};function Gt(){var e=["176015yPQbbY","セッション一覧に戻る","220218NoCiFa","ワンタイムキー","Done","Turn off","新しいデバイスには手動承認が必要","グループの名前を変更","シャットダウン","接続を有効にするために、システムスリープを防ぐ","最近のアクティビティはありません","画面表示を許可","2PrgEGz","ドキュメンテーション","再利用可能 · 有効期限なし","グループ名","リモートデスクトップ","グループを切り替える","20fFbLVn","ターミナル","Working","860AcxeqR","新しいターミナル","ターミナル {name} を削除しますか?","Devices can't connect. Local features keep working.","Idle","Shift+Enterで改行 • Ctrl+数字でタブを切り替え","新しいデバイスは承認なしで接続","QRコードをスキャンするか、リンクを開いてサインイン","Turn on","ログイン時にバックグラウンドで実行","画面、マウス、キーボードを操作","11004zYdLBs","グループを追加","デバイスをペアリングし、セキュアトンネルを管理します","エージェントが返信","1535514nMPhCg","グループ化されていません","名前変更","コンピュータを起動状態に保つ","ライトモードに切り替え","8rDeQmA","ロック時にスマホやブラウザからこのPCをロック解除できるようにする","画面録画","77143jIJZLu","Remote access is on","マウスとキーボードを操作","ダークモードに切り替え","あなたの入力が必要です","1772982ZKZDZR","キャンセル","リモートでPCをロック解除","673300YMYhEq","リセット","Remote access is off","トンネルをリセットしてクライアントを再接続"];return Gt=function(){return e},Gt()}function Lt(){var e=["기기를 연결하고 보안 터널 관리","새 그룹","세션 {name}을(를) 삭제하시겠습니까? 터미널이 종료됩니다.","시작 시 시작","389148XpumqC","접근성","Turn off","그룹 없음","Working","터널 재설정 및 클라이언트 재연결","원격으로 PC 잠금 해제","23404eStgAF","141813KTGnkX","새 기기에 수동 승인 필요","컴퓨터 깨어있게 유지","415283cBPmZv","화면 녹화","그룹 이름","재설정","그룹 전환","112ZHchAz","터미널 {name}을(를) 삭제하시겠습니까?","9Remote 종료(서버 중지, 터널 닫기, 종료)","비활성화 — 수동 시작","새 줄은 Shift+Enter • 탭 전환은 Ctrl+번호","그룹 삭제","만들기","그룹 {name}을(를) 삭제하시겠습니까? 내부의 모든 터미널이 종료됩니다.","원격 데스크톱","1014FvTOuN","240LwrwzY","다크 모드로 전환","영구 키","화면 보기 허용","화면, 마우스 및 키보드 제어","터미널","서버 활동 진단","그룹 추가","Devices can connect to this machine","일회 사용 · 만료됨","에이전트가 응답함","새 터미널","설명서","최근 활동 없음","Turn on","1511550DDmOpU","로그인할 때 백그라운드에서 실행","일회용 키","27092016EpUaem","170ZGlJfQ","잠금 시 휴대폰이나 브라우저에서 이 PC를 잠금 해제하도록 허용","QR 코드를 스캔하거나 링크를 열어 로그인","Needs input","이름 바꾸기","이 호스트에서 실행 중인 라이브 터미널 세션","30BaCEnZ","활성 — 원격 잠금 해제 작동 중","387uXaqtX","새 기기가 승인 없이 연결됨","Idle"];return Lt=function(){return e},Lt()}var X=Or;(function(e,n){for(var t=Or,r=e();;)try{var x=parseInt(t(295))/1*(-parseInt(t(304))/2)+parseInt(t(272))/3*(-parseInt(t(286))/4)+-parseInt(t(330))/5*(-parseInt(t(279))/6)+-parseInt(t(287))/7*(parseInt(t(305))/8)+-parseInt(t(320))/9+parseInt(t(324))/10*(-parseInt(t(290))/11)+parseInt(t(323))/12;if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Lt,417732);function Or(e,n){e=e-271;var t=Lt(),r=t[e];return r}const ea={common:{statusIdle:X(274),statusWorking:X(283),statusBlocked:X(327),statusDone:"Done",create:X(301),cancel:"취소",delete:"삭제",rename:X(328),language:"언어"},terminal:{backToSessions:"세션으로 돌아가기",switchGroup:X(294),newTerminal:X(316),send:"보내기",typeCommand:X(299),deleteConfirm:X(296)},sessions:{newTerminal:X(316),addGroup:X(312),newGroup:X(276),groupName:X(292),renameGroup:"그룹 이름 바꾸기",deleteGroup:X(300),ungrouped:X(282),deleteSessionConfirm:X(277),deleteGroupConfirm:X(302)},menu:{connection:"연결",connectionDesc:X(275),terminals:X(310),terminalsDesc:X(329),logs:"로그",logsDesc:X(311)},recent:{title:"최근",replied:X(315),needsInput:"사용자 입력 필요",dismiss:"닫기",empty:X(318)},header:{settings:"설정",language:"언어",documentation:X(317),reset:X(284),resetShort:X(293),shutdown:X(297),shutdownShort:"종료",lightMode:"라이트 모드로 전환",darkMode:X(306)},remote:{remoteDesktop:X(303),controlScreen:X(309),screenRecording:X(291),captureScreen:X(308),accessibility:X(280),controlMouseKeyboard:"마우스 및 키보드 제어",launchOnStartup:X(278),remoteOn:"Remote access is on",remoteOnDesc:X(313),remoteOff:"Remote access is off",remoteOffDesc:"Devices can't connect. Local features keep working.",turnOff:X(281),turnOn:X(319),launchDesc:X(321),disabledStart:X(298),preventSleep:X(289),blockSleep:"연결을 유지하기 위해 시스템 절전 방지",remoteUnlock:X(285),remoteUnlockDesc:X(325),remoteUnlockReady:X(271),grant:"허용",granted:"활성"},clients:{autoApprove:"새 기기 자동 승인",anyDevice:X(273),requireManual:X(288)},connection:{scanToSignIn:X(326),oneTimeKey:X(322),oneTimeDesc:X(314),permanentKey:X(307),permanentDesc:"재사용 가능 · 만료 없음"}};function Br(e,n){e=e-227;var t=Kt(),r=t[e];return r}function Kt(){var e=["Padam sesi {name}? Ini akan menutup terminal.","Benarkan paparan skrin","Tidak dikumpulkan","Benarkan","Bahasa","Idle","178505qwXKEU","Tukar kumpulan","Rakaman skrin","Tutup","42849VNZhrR","68PejwCG","Dekstop Jauh","Kunci Kekal","Ejen telah membalas","Nama kumpulan","Lulus secara automatik peranti baharu","Kembali ke sesi","Aktif — buka kunci jauh berfungsi","Tukar ke mod cerah","7080BTvjxp","Tiada aktiviti terbaru","Buka kunci PC secara jauh","Terminal baharu","Tukar nama kumpulan","Tambah Kumpulan","Pasangkan peranti dan uruskan terowong selamat anda","Done","Terminal","Batal","Aktif","Turn off","Cegah tidur sistem untuk mengekalkan sambungan aktif","Mana-mana peranti baharu menyambung tanpa kelulusan","Tukar ke mod gelap","2291469RBYQzF","Devices can't connect. Local features keep working.","9649926HWvyJz","Padam","Padam terminal {name}?","2SllcIa","5033kTTeyS","Jalankan di latar belakang apabila anda log masuk","2670OflGXv","Shift+Enter untuk baris baharu • Ctrl+Num untuk tukar tab","Padam kumpulan {name}? Semua terminal di dalamnya akan ditutup.","Kebolehaksesan","Tetap Semula","Sambungan","Penggunaan tunggal · tamat tempoh","Padam kumpulan","2019702riIzII","Terbaru","Memerlukan kelulusan manual untuk peranti baharu","Terminal Baharu","Needs input","Sesi terminal langsung berjalan di hos ini","Turn on","Tetapan","Log","Kawal tetikus & papan kunci","566928zAePof","Remote access is on","Dilumpuhkan — pelancaran manual"];return Kt=function(){return e},Kt()}var V=Br;(function(e,n){for(var t=Br,r=e();;)try{var x=parseInt(t(258))/1+-parseInt(t(237))/2*(-parseInt(t(232))/3)+parseInt(t(272))/4*(parseInt(t(267))/5)+parseInt(t(248))/6+-parseInt(t(238))/7*(-parseInt(t(281))/8)+-parseInt(t(271))/9*(parseInt(t(240))/10)+-parseInt(t(234))/11;if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Kt,762147);const ta={common:{statusIdle:V(266),statusWorking:"Working",statusBlocked:V(252),statusDone:V(288),create:"Buat",cancel:V(290),delete:V(235),rename:"Tukar nama",language:V(265)},terminal:{backToSessions:V(278),switchGroup:V(268),newTerminal:V(284),send:"Hantar",typeCommand:V(241),deleteConfirm:V(236)},sessions:{newTerminal:V(251),addGroup:V(286),newGroup:"Kumpulan Baharu",groupName:V(276),renameGroup:V(285),deleteGroup:V(247),ungrouped:V(263),deleteSessionConfirm:V(261),deleteGroupConfirm:V(242)},menu:{connection:V(245),connectionDesc:V(287),terminals:V(289),terminalsDesc:V(253),logs:V(256),logsDesc:"Diagnosis aktiviti pelayan"},recent:{title:V(249),replied:V(275),needsInput:"Memerlukan input anda",dismiss:V(270),empty:V(282)},header:{settings:V(255),language:V(265),documentation:"Dokumentasi",reset:"Tetap semula terowong dan sambung semula klien",resetShort:V(244),shutdown:"Tutup 9Remote (hentikan pelayan, tutup terowong, keluar)",shutdownShort:V(270),lightMode:V(280),darkMode:V(231)},remote:{remoteDesktop:V(273),controlScreen:"Kawal skrin, tetikus & papan kunci",screenRecording:V(269),captureScreen:V(262),accessibility:V(243),controlMouseKeyboard:V(257),launchOnStartup:"Lancar semasa permulaan",remoteOn:V(259),remoteOnDesc:"Devices can connect to this machine",remoteOff:"Remote access is off",remoteOffDesc:V(233),turnOff:V(228),turnOn:V(254),launchDesc:V(239),disabledStart:V(260),preventSleep:"Pastikan komputer sentiasa aktif",blockSleep:V(229),remoteUnlock:V(283),remoteUnlockDesc:"Benarkan PC ini dibuka kunci dari telefon atau pelayar apabila dikunci",remoteUnlockReady:V(279),grant:V(264),granted:V(227)},clients:{autoApprove:V(277),anyDevice:V(230),requireManual:V(250)},connection:{scanToSignIn:"Imbas kod QR atau buka pautan untuk log masuk",oneTimeKey:"Kunci Sekali Guna",oneTimeDesc:V(246),permanentKey:V(274),permanentDesc:"Boleh digunakan semula · tiada tamat tempoh"}};var $=Ur;function jt(){var e=["PC op afstand ontgrendelen","Uitgeschakeld — handmatig starten","Tunnel opnieuw instellen en clients opnieuw verbinden","Overschakelen naar lichte modus","828762qYsNOo","Logboeken","Heeft uw invoer nodig","Recente","Taal","Terminal {name} verwijderen?","Nieuwe terminal","Turn on","Hernoemen","Done","2673240fVeCVi","150145tPizSL","Annuleren","Eenmalige Sleutel","Nieuwe apparaten automatisch goedkeuren","Verbinding","Groep Toevoegen","Scherm, muis en toetsenbord bedienen","Niet gegroepeerd","3109245ZAGGPJ","Afsluiten","Terminals","Verwijderen","Idle","4755968weEsUp","Needs input","Elk nieuw apparaat maakt verbinding zonder goedkeuring","Laat dit PC ontgrendeld worden vanaf telefoon of browser wanneer vergrendeld","Geen recente activiteit","Toestaan","213752zxnzvu","Actief — ontgrendelen op afstand werkt","Groep hernoemen","Eenmalig gebruik · vervalt","573282oKuDCu","Nieuwe Terminal","Live terminalsessies op deze host","Muis en toetsenbord bedienen","Sessie {name} verwijderen? Dit sluit de terminal.","Instellingen","Serveractiviteit diagnostiek","Groep verwijderen","9Remote afsluiten (server stoppen, tunnel sluiten, afsluiten)","100hyWHDX","Nieuwe Groep","Groep {name} verwijderen? Alle terminals erin sluiten.","Schermweergave toestaan","Sluiten","Maken","Documentatie","Opnieuw instellen"];return jt=function(){return e},jt()}function Ur(e,n){e=e-243;var t=jt(),r=t[e];return r}(function(e,n){for(var t=Ur,r=e();;)try{var x=-parseInt(t(250))/1+parseInt(t(254))/2+parseInt(t(294))/3+-parseInt(t(263))/4*(parseInt(t(286))/5)+-parseInt(t(275))/6+parseInt(t(244))/7+-parseInt(t(285))/8;if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(jt,565721);const na={common:{statusIdle:$(243),statusWorking:"Working",statusBlocked:$(245),statusDone:$(284),create:$(268),cancel:$(287),delete:$(297),rename:$(283),language:$(279)},terminal:{backToSessions:"Terug naar sessies",switchGroup:"Groep wisselen",newTerminal:$(281),send:"Verzenden",typeCommand:"Shift+Enter voor nieuwe regel • Ctrl+Getal om tabblad te wisselen",deleteConfirm:$(280)},sessions:{newTerminal:$(255),addGroup:$(291),newGroup:$(264),groupName:"Groepsnaam",renameGroup:$(252),deleteGroup:$(261),ungrouped:$(293),deleteSessionConfirm:$(258),deleteGroupConfirm:$(265)},menu:{connection:$(290),connectionDesc:"Apparaten koppelen en uw beveiligde tunnel beheren",terminals:$(296),terminalsDesc:$(256),logs:$(276),logsDesc:$(260)},recent:{title:$(278),replied:"Agent antwoordde",needsInput:$(277),dismiss:$(267),empty:$(248)},header:{settings:$(259),language:"Taal",documentation:$(269),reset:$(273),resetShort:$(270),shutdown:$(262),shutdownShort:$(295),lightMode:$(274),darkMode:"Overschakelen naar donkere modus"},remote:{remoteDesktop:"Extern Bureaublad",controlScreen:$(292),screenRecording:"Schermopname",captureScreen:$(266),accessibility:"Toegankelijkheid",controlMouseKeyboard:$(257),launchOnStartup:"Bij het starten starten",remoteOn:"Remote access is on",remoteOnDesc:"Devices can connect to this machine",remoteOff:"Remote access is off",remoteOffDesc:"Devices can't connect. Local features keep working.",turnOff:"Turn off",turnOn:$(282),launchDesc:"Op de achtergrond uitvoeren wanneer u inlogt",disabledStart:$(272),preventSleep:"Computer wakker houden",blockSleep:"Systeemruststand voorkomen om verbinding actief te houden",remoteUnlock:$(271),remoteUnlockDesc:$(247),remoteUnlockReady:$(251),grant:$(249),granted:"Actief"},clients:{autoApprove:$(289),anyDevice:$(246),requireManual:"Handmatige goedkeuring nodig voor nieuwe apparaten"},connection:{scanToSignIn:"QR-code scannen of link openen om in te loggen",oneTimeKey:$(288),oneTimeDesc:$(253),permanentKey:"Permanente Sleutel",permanentDesc:"Herbruikbaar · geen vervaldatum"}};function zr(e,n){e=e-249;var t=qt(),r=t[e];return r}function qt(){var e=["Sparuj urządzenia i zarządzaj bezpiecznym tunelem","Terminale","Zresetuj","Done","Jednorazowe użycie · wygasa","Wymaga ręcznego zatwierdzenia dla nowych urządzeń","Devices can connect to this machine","108zMWPDV","Utwórz","Zmień nazwę grupy","Working","1bPCHLw","Idle","Dokumentacja","Wyłączone — uruchamianie ręczne","Język","Automatycznie zatwierdź nowe urządzenia","Zamknij","Odblokuj PC zdalnie","Kontroluj mysz i klawiaturę","Zeskanuj kod QR lub otwórz link aby się zalogować","1716611dMppSp","Wróć do sesji","1246572VIvsuw","Remote access is off","Zezwól na odblokowanie tego PC z telefonu lub przeglądarki przy zablokowaniu","Usuń","Devices can't connect. Local features keep working.","Usunąć terminal {name}?","11qqlZtt","Nowy Terminal","Klucz Jednorazowy","Zmień nazwę","Aktywne — zdalne odblokowywanie działa","Nagrywanie ekranu","Aktywne","Kontroluj ekran, mysz i klawiaturę","Usunąć grupę {name}? Wszystkie terminale w niej zostaną zamknięte.","Anuluj","Uruchamiaj przy starcie","Zamknij 9Remote (zatrzymaj serwer, zamknij tunel, wyjdź)","7pTPcvW","Możliwy do ponownego użycia · bez wygaśnięcia","Usuń grupę","492990TxGUTA","Zmień grupę","2866825SOKysP","Nowy terminal","Agent odpowiedział","Zezwól","Zresetuj tunel i ponownie połącz klientów","Niezgrupowane","Dostępność","Ostatnie","Dzienniki","Dodaj Grupę","Nazwa grupy","Wyślij","Usunąć sesję {name}? To zamknie terminal.","Potrzebuje Twojego wkładu","Przełącz na tryb jasny","Połączenie","Uniemożliwij uśpienie systemu aby utrzymać aktywne połączenie","Diagnostyka aktywności serwera","Uruchom w tle po zalogowaniu","4FYqriY","1404jUTQZa","Klucz Permanentny","39912AmnrRo","5283228uIROCR","1587822WJUgtW","Sesje terminala na żywo na tym hoście","Każde nowe urządzenie się łączy bez zatwierdzenia"];return qt=function(){return e},qt()}var R=zr;(function(e,n){for(var t=zr,r=e();;)try{var x=-parseInt(t(292))/1*(-parseInt(t(304))/2)+parseInt(t(278))/3+-parseInt(t(273))/4*(-parseInt(t(254))/5)+parseInt(t(277))/6*(parseInt(t(249))/7)+-parseInt(t(276))/8*(parseInt(t(274))/9)+-parseInt(t(252))/10*(parseInt(t(310))/11)+-parseInt(t(288))/12*(parseInt(t(302))/13);if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(qt,590457);const ra={common:{statusIdle:R(293),statusWorking:R(291),statusBlocked:"Needs input",statusDone:R(284),create:R(289),cancel:R(319),delete:R(307),rename:R(313),language:R(296)},terminal:{backToSessions:R(303),switchGroup:R(253),newTerminal:R(255),send:R(265),typeCommand:"Shift+Enter dla nowej linii • Ctrl+Num aby zmienić kartę",deleteConfirm:R(309)},sessions:{newTerminal:R(311),addGroup:R(263),newGroup:"Nowa Grupa",groupName:R(264),renameGroup:R(290),deleteGroup:R(251),ungrouped:R(259),deleteSessionConfirm:R(266),deleteGroupConfirm:R(318)},menu:{connection:R(269),connectionDesc:R(281),terminals:R(282),terminalsDesc:R(279),logs:R(262),logsDesc:R(271)},recent:{title:R(261),replied:R(256),needsInput:R(267),dismiss:R(298),empty:"Brak ostatniej aktywności"},header:{settings:"Ustawienia",language:"Język",documentation:R(294),reset:R(258),resetShort:R(283),shutdown:R(321),shutdownShort:R(298),lightMode:R(268),darkMode:"Przełącz na tryb ciemny"},remote:{remoteDesktop:"Pulpit Zdalny",controlScreen:R(317),screenRecording:R(315),captureScreen:"Zezwól na wyświetlanie ekranu",accessibility:R(260),controlMouseKeyboard:R(300),launchOnStartup:R(320),remoteOn:"Remote access is on",remoteOnDesc:R(287),remoteOff:R(305),remoteOffDesc:R(308),turnOff:"Turn off",turnOn:"Turn on",launchDesc:R(272),disabledStart:R(295),preventSleep:"Utrzymuj komputer w stanie czuwania",blockSleep:R(270),remoteUnlock:R(299),remoteUnlockDesc:R(306),remoteUnlockReady:R(314),grant:R(257),granted:R(316)},clients:{autoApprove:R(297),anyDevice:R(280),requireManual:R(286)},connection:{scanToSignIn:R(301),oneTimeKey:R(312),oneTimeDesc:R(285),permanentKey:R(275),permanentDesc:R(250)}};var P=Gr;(function(e,n){for(var t=Gr,r=e();;)try{var x=-parseInt(t(325))/1+-parseInt(t(335))/2+-parseInt(t(355))/3*(parseInt(t(364))/4)+-parseInt(t(334))/5+-parseInt(t(312))/6+-parseInt(t(308))/7*(parseInt(t(342))/8)+parseInt(t(358))/9;if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Ft,509638);function Ft(){var e=["682532shYBTD","Alternar para modo claro","Devices can't connect. Local features keep working.","Remote access is on","Excluir grupo","Excluir o terminal {name}?","Diagnóstico de atividade do servidor","Documentação","Configurações","Impedir que o sistema durma para manter a conexão ativa","Emparelhe dispositivos e gerencie seu túnel seguro","Manter computador acordado","4256266xsXKHS","Novo Grupo","Uso único · expira","Reutilizável · sem expiração","2473938gTPOLy","Idioma","Turn off","Trocar de grupo","Adicionar Grupo","Precisa de sua entrada","Controlar tela, mouse e teclado","Chave Permanente","Excluir o grupo {name}? Todos os terminais dentro serão fechados.","Working","Criar","Desabilitado — inicialização manual","Permitir","710177xdpkLX","Sessões de terminal ao vivo em execução neste host","Chave Única","Executar em segundo plano ao fazer login","Excluir a sessão {name}? Isso fechará o terminal.","Reconfigurar","Renomear","Turn on","Devices can connect to this machine","4169295verZhM","512222NzmnYV","Needs input","Voltar às sessões","Alternar para modo escuro","Permitir visualização da tela","Reconfigurar túnel e reconectar clientes","O agente respondeu","8TjfUlT","Desbloquear PC remotamente","Ativo — desbloqueio remoto funcionando","Iniciar na inicialização","Gravação de tela","Idle","Qualquer novo dispositivo se conecta sem aprovação","Desligar","Terminais","Descartar","Ativo","Renomear grupo","Controlar mouse e teclado","9dLuSCO","Shift+Enter para nova linha • Ctrl+Número para trocar aba","Desligar 9Remote (parar servidor, fechar túnel, sair)","34578405DHqAGC","Área de Trabalho Remota","Cancelar","Enviar","Recente","Escaneie o código QR ou abra o link para fazer login"];return Ft=function(){return e},Ft()}function Gr(e,n){e=e-298;var t=Ft(),r=t[e];return r}const xa={common:{statusIdle:P(347),statusWorking:P(321),statusBlocked:P(336),statusDone:"Done",create:P(322),cancel:P(360),delete:"Excluir",rename:P(331),language:P(313)},terminal:{backToSessions:P(337),switchGroup:P(315),newTerminal:"Novo terminal",send:P(361),typeCommand:P(356),deleteConfirm:P(301)},sessions:{newTerminal:"Novo Terminal",addGroup:P(316),newGroup:P(309),groupName:"Nome do grupo",renameGroup:P(353),deleteGroup:P(300),ungrouped:"Desagrupado",deleteSessionConfirm:P(329),deleteGroupConfirm:P(320)},menu:{connection:"Conexão",connectionDesc:P(306),terminals:P(350),terminalsDesc:P(326),logs:"Logs",logsDesc:P(302)},recent:{title:P(362),replied:P(341),needsInput:P(317),dismiss:P(351),empty:"Nenhuma atividade recente"},header:{settings:P(304),language:P(313),documentation:P(303),reset:P(340),resetShort:P(330),shutdown:P(357),shutdownShort:P(349),lightMode:P(365),darkMode:P(338)},remote:{remoteDesktop:P(359),controlScreen:P(318),screenRecording:P(346),captureScreen:P(339),accessibility:"Acessibilidade",controlMouseKeyboard:P(354),launchOnStartup:P(345),remoteOn:P(299),remoteOnDesc:P(333),remoteOff:"Remote access is off",remoteOffDesc:P(298),turnOff:P(314),turnOn:P(332),launchDesc:P(328),disabledStart:P(323),preventSleep:P(307),blockSleep:P(305),remoteUnlock:P(343),remoteUnlockDesc:"Permitir desbloquear este PC pelo telefone ou navegador quando bloqueado",remoteUnlockReady:P(344),grant:P(324),granted:P(352)},clients:{autoApprove:"Aprovar automaticamente novos dispositivos",anyDevice:P(348),requireManual:"Requer aprovação manual para novos dispositivos"},connection:{scanToSignIn:P(363),oneTimeKey:P(327),oneTimeDesc:P(310),permanentKey:P(319),permanentDesc:P(311)}};var W=Lr;(function(e,n){for(var t=Lr,r=e();;)try{var x=parseInt(t(540))/1+parseInt(t(518))/2*(-parseInt(t(535))/3)+parseInt(t(528))/4+-parseInt(t(522))/5+parseInt(t(515))/6+parseInt(t(496))/7+-parseInt(t(537))/8;if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Wt,480011);function Lr(e,n){e=e-488;var t=Wt(),r=t[e];return r}const aa={common:{statusIdle:W(534),statusWorking:W(488),statusBlocked:W(546),statusDone:W(502),create:W(551),cancel:W(550),delete:"Удалить",rename:"Переименовать",language:"Язык"},terminal:{backToSessions:W(548),switchGroup:W(523),newTerminal:W(514),send:W(508),typeCommand:"Shift+Enter для новой строки • Ctrl+Цифра для переключения вкладки",deleteConfirm:"Удалить терминал {name}?"},sessions:{newTerminal:W(526),addGroup:W(539),newGroup:W(531),groupName:"Имя группы",renameGroup:W(505),deleteGroup:W(532),ungrouped:W(507),deleteSessionConfirm:W(501),deleteGroupConfirm:W(500)},menu:{connection:W(491),connectionDesc:W(549),terminals:"Терминалы",terminalsDesc:W(493),logs:W(538),logsDesc:W(527)},recent:{title:"Недавнее",replied:W(503),needsInput:W(544),dismiss:W(545),empty:W(530)},header:{settings:W(524),language:W(513),documentation:W(521),reset:W(536),resetShort:"Перезагрузить",shutdown:W(490),shutdownShort:"Выключить",lightMode:"Переключиться на светлый режим",darkMode:W(547)},remote:{remoteDesktop:W(541),controlScreen:W(512),screenRecording:W(520),captureScreen:W(543),accessibility:W(497),controlMouseKeyboard:W(542),launchOnStartup:"Запуск при старте",remoteOn:W(489),remoteOnDesc:W(510),remoteOff:W(504),remoteOffDesc:W(529),turnOff:"Turn off",turnOn:W(519),launchDesc:W(492),disabledStart:W(516),preventSleep:"Не давать компьютеру спать",blockSleep:W(525),remoteUnlock:W(517),remoteUnlockDesc:W(494),remoteUnlockReady:"Активно — удалённая разблокировка работает",grant:W(533),granted:"Активно"},clients:{autoApprove:W(509),anyDevice:"Новые устройства подключаются без одобрения",requireManual:W(499)},connection:{scanToSignIn:"Отсканируйте код QR или откройте ссылку для входа",oneTimeKey:W(506),oneTimeDesc:W(495),permanentKey:W(498),permanentDesc:W(511)}};function Wt(){var e=["1103296ACgIrI","Логи","Добавить Группу","158624BOyNuK","Удалённый Рабочий Стол","Управление мышью и клавиатурой","Разрешить просмотр экрана","Требует вашего ввода","Закрыть","Needs input","Переключиться на тёмный режим","Вернуться к сеансам","Свяжите устройства и управляйте защищённым туннелем","Отмена","Создать","Working","Remote access is on","Выключить 9Remote (остановить сервер, закрыть туннель, выйти)","Подключение","Работать в фоне при входе","Живые сеансы терминала на этом хосте","Разрешить разблокировку этого ПК с телефона или браузера при блокировке","Однократное использование · срок действия","1514079xZzCRp","Специальные возможности","Постоянный Ключ","Требует ручного одобрения для новых устройств","Удалить группу {name}? Все терминалы внутри будут закрыты.","Удалить сеанс {name}? Это закроет терминал.","Done","Агент ответил","Remote access is off","Переименовать группу","Одноразовый Ключ","Не сгруппировано","Отправить","Автоматически одобрять новые устройства","Devices can connect to this machine","Многоразовое использование · без срока действия","Управление экраном, мышью и клавиатурой","Язык","Новый терминал","1567164scdpoZ","Отключено — ручной запуск","Удалённо разблокировать ПК","636674mMQjhd","Turn on","Запись экрана","Документация","1034325VQZmTI","Переключить группу","Параметры","Предотвратить спящий режим системы для сохранения подключения","Новый Терминал","Диагностика активности сервера","2028040dLevrV","Devices can't connect. Local features keep working.","Нет недавней активности","Новая Группа","Удалить группу","Разрешить","Idle","3conVBQ","Перезагрузить туннель и переподключить клиентов"];return Wt=function(){return e},Wt()}function Ht(){var e=["Ingen nylig aktivitet","Stäng","Stäng av","Idle","10gZGOlr","Anslutning","Radera grupp","Förhindra systemvila för att hålla anslutningen aktiv","Behöver din inmatning","Tillåt att denna PC låses upp från telefon eller webbläsare när den är låst","Byt till mörkt läge","Needs input","Starta vid systemstart","Kör i bakgrunden när du loggar in","Tillgänglighet","Done","Håll datorn vaken","Ny Grupp","Inaktiverad — manuell start","Alla nya enheter ansluts utan godkännande","Senaste","819049iyUggW","4421998abQIao","Turn off","Engångsnyckel","Radera session {name}? Det här kommer att stänga terminalen.","Ny terminal","Språk","Ny Terminal","Para ihop enheter och hantera din säkra tunnel","Aktiv","26192qBjGSo","Devices can't connect. Local features keep working.","80tTqeIx","Skapa","Inte grupperad","3JvRyli","Remote access is off","Godkänn nya enheter automatiskt","954tEFFgX","Inställningar","Working","Återanvändbar · ingen utgångsdatum","Permanent Nyckel","Tillåt","Skicka","Döp om grupp","Kräver manuellt godkännande för nya enheter","Styra mus och tangentbord","Dokumentation","Turn on","Lås upp PC på distans","Avbryt","Radera","Serveraktivitetsdiagnostik","Radera terminal {name}?","Terminaler","Lägg till Grupp","Remote access is on","Gruppnamn","Devices can connect to this machine","Shift+Enter för ny rad • Ctrl+Siffra för att byta flik","Aktiv — fjärrupplåsning fungerar","1767656TgHeKa","3452016SdkKrx","1271960IHHpin","Byt grupp","4216488wEECpb"];return Ht=function(){return e},Ht()}var G=Kr;(function(e,n){for(var t=Kr,r=e();;)try{var x=parseInt(t(279))/1+-parseInt(t(277))/2*(-parseInt(t(250))/3)+-parseInt(t(281))/4+-parseInt(t(286))/5*(-parseInt(t(278))/6)+-parseInt(t(236))/7+parseInt(t(245))/8*(-parseInt(t(253))/9)+-parseInt(t(247))/10*(parseInt(t(235))/11);if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Ht,677908);function Kr(e,n){e=e-233;var t=Ht(),r=t[e];return r}const oa={common:{statusIdle:G(285),statusWorking:G(255),statusBlocked:G(293),statusDone:G(297),create:G(248),cancel:G(266),delete:G(267),rename:"Döp om",language:G(241)},terminal:{backToSessions:"Tillbaka till sessioner",switchGroup:G(280),newTerminal:G(240),send:G(259),typeCommand:G(275),deleteConfirm:G(269)},sessions:{newTerminal:G(242),addGroup:G(271),newGroup:G(299),groupName:G(273),renameGroup:G(260),deleteGroup:G(288),ungrouped:G(249),deleteSessionConfirm:G(239),deleteGroupConfirm:"Radera grupp {name}? Alla terminaler inom kommer att stängas."},menu:{connection:G(287),connectionDesc:G(243),terminals:G(270),terminalsDesc:"Live terminalsessioner som körs på denna värd",logs:"Loggar",logsDesc:G(268)},recent:{title:G(234),replied:"Agenten svarade",needsInput:G(290),dismiss:G(283),empty:G(282)},header:{settings:G(254),language:G(241),documentation:G(263),reset:"Återställ tunnel och anslut om klienter",resetShort:"Återställ",shutdown:"Stäng av 9Remote (stoppa server, stäng tunnel, avsluta)",shutdownShort:G(284),lightMode:"Byt till ljust läge",darkMode:G(292)},remote:{remoteDesktop:"Fjärrskrivbord",controlScreen:"Styra skärm, mus och tangentbord",screenRecording:"Skärmregistrering",captureScreen:"Tillåt skärmvy",accessibility:G(296),controlMouseKeyboard:G(262),launchOnStartup:G(294),remoteOn:G(272),remoteOnDesc:G(274),remoteOff:G(251),remoteOffDesc:G(246),turnOff:G(237),turnOn:G(264),launchDesc:G(295),disabledStart:G(300),preventSleep:G(298),blockSleep:G(289),remoteUnlock:G(265),remoteUnlockDesc:G(291),remoteUnlockReady:G(276),grant:G(258),granted:G(244)},clients:{autoApprove:G(252),anyDevice:G(233),requireManual:G(261)},connection:{scanToSignIn:"Skanna QR-kod eller öppna länk för att logga in",oneTimeKey:G(238),oneTimeDesc:"Engångsbr uk · upphör",permanentKey:G(257),permanentDesc:G(256)}};function Vt(){var e=["36nxnqNo","สร้าง","34enWmrT","ใช้งาน — ปลดล็อกระยะไกลทำงาน","1984972bpESsL","ใช้งาน","นำกลับมาใช้ได้ · ไม่มีวันหมดอายุ","ไม่มีกิจกรรมล่าสุด","Devices can't connect. Local features keep working.","ไม่จัดกลุ่ม","Shift+Enter สำหรับบรรทัดใหม่ • Ctrl+หมายเลข เพื่อเปลี่ยนแท็บ","10WtXnyo","48566MMHyds","ล่าสุด","ยกเลิก","237933SBKucT","อนุญาตการดูหน้าจอ","เปิดตัวเมื่อเริ่มต้น","ปลดล็อกพีซีระยะไกล","อนุญาตให้ปลดล็อกพีซีเครื่องนี้จากโทรศัพท์หรือเบราว์เซอร์เมื่อล็อก","รีเซ็ต","สลับกลุ่ม","1119852NnMHmM","ป้องกันการนอนของระบบเพื่อให้การเชื่อมต่อใช้งานอยู่","กลับไปยังเซสชัน","ลบกลุ่ม","Remote access is on","ปิด","ต้องอนุมัติแบบแมนนวลสำหรับอุปกรณ์ใหม่","เอกสาร","Devices can connect to this machine","Idle","Remote access is off","เทอร์มินัลใหม่","88xEJaPP","ควบคุมเมาส์และแป้นพิมพ์","ลบเซสชัน {name}? สิ่งนี้จะปิดเทอร์มินัล","เทอร์มินัล","Done","เปลี่ยนชื่อกลุ่ม","ภาษา","รักษาคอมพิวเตอร์ให้ตื่นตัว","เดสก์ทอประยะไกล","เปลี่ยนชื่อ","อนุญาต","อุปกรณ์ใหม่ใดๆ เชื่อมต่อโดยไม่ต้องอนุมัติ","ความสามารถในการเข้าถึง","กลุ่มใหม่","บันทึก","ปิดใช้งาน — การเปิดตัวแบบแมนนวล","4526795oxVZij","Turn off","ต้องการอินพุตของคุณ","การบันทึกหน้าจอ","กุญแจใช้ครั้งเดียว","เพิ่มกลุ่ม","13779YAFLgg","การเชื่อมต่อ","อนุมัติอุปกรณ์ใหม่โดยอัตโนมัติ","589265PizNcv","3KCqQFv","สลับไปยังโหมดมืด","ส่ง","สแกน QR Code หรือเปิดลิงก์เพื่อเข้าสู่ระบบ","เซสชันเทอร์มินัลแบบสดบนโฮสต์นี้","เอเจนต์ตอบแล้ว","การตั้งค่า","384DHJauj","รันในพื้นหลังเมื่อคุณเข้าสู่ระบบ"];return Vt=function(){return e},Vt()}function jr(e,n){e=e-103;var t=Vt(),r=t[e];return r}var L=jr;(function(e,n){for(var t=jr,r=e();;)try{var x=parseInt(t(116))/1*(parseInt(t(131))/2)+parseInt(t(120))/3*(-parseInt(t(151))/4)+-parseInt(t(119))/5+-parseInt(t(127))/6*(parseInt(t(141))/7)+-parseInt(t(163))/8*(parseInt(t(144))/9)+-parseInt(t(140))/10*(-parseInt(t(133))/11)+-parseInt(t(129))/12*(-parseInt(t(110))/13);if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Vt,326685);const ia={common:{statusIdle:L(160),statusWorking:"Working",statusBlocked:"Needs input",statusDone:L(167),create:L(130),cancel:L(143),delete:"ลบ",rename:L(103),language:"ภาษา"},terminal:{backToSessions:L(153),switchGroup:L(150),newTerminal:"เทอร์มินัลใหม่",send:L(122),typeCommand:L(139),deleteConfirm:"ลบเทอร์มินัล {name}?"},sessions:{newTerminal:L(162),addGroup:L(115),newGroup:L(107),groupName:"ชื่อกลุ่ม",renameGroup:L(168),deleteGroup:L(154),ungrouped:L(138),deleteSessionConfirm:L(165),deleteGroupConfirm:"ลบกลุ่ม {name}? เทอร์มินัลทั้งหมดข้างในจะถูกปิด"},menu:{connection:L(117),connectionDesc:"จับคู่อุปกรณ์และจัดการอุโมงค์ที่ปลอดภัยของคุณ",terminals:L(166),terminalsDesc:L(124),logs:L(108),logsDesc:"การวินิจฉัยกิจกรรมของเซิร์ฟเวอร์"},recent:{title:L(142),replied:L(125),needsInput:L(112),dismiss:L(156),empty:L(136)},header:{settings:L(126),language:L(169),documentation:L(158),reset:"รีเซ็ตอุโมงค์และเชื่อมต่อไคลเอนต์ใหม่",resetShort:L(149),shutdown:"ปิด 9Remote (หยุดเซิร์ฟเวอร์ ปิดอุโมงค์ ออก)",shutdownShort:L(156),lightMode:"สลับไปยังโหมดสว่าง",darkMode:L(121)},remote:{remoteDesktop:L(171),controlScreen:"ควบคุมหน้าจอ เมาส์ และแป้นพิมพ์",screenRecording:L(113),captureScreen:L(145),accessibility:L(106),controlMouseKeyboard:L(164),launchOnStartup:L(146),remoteOn:L(155),remoteOnDesc:L(159),remoteOff:L(161),remoteOffDesc:L(137),turnOff:L(111),turnOn:"Turn on",launchDesc:L(128),disabledStart:L(109),preventSleep:L(170),blockSleep:L(152),remoteUnlock:L(147),remoteUnlockDesc:L(148),remoteUnlockReady:L(132),grant:L(104),granted:L(134)},clients:{autoApprove:L(118),anyDevice:L(105),requireManual:L(157)},connection:{scanToSignIn:L(123),oneTimeKey:L(114),oneTimeDesc:"ใช้ครั้งเดียว · หมดอายุ",permanentKey:"กุญแจถาวร",permanentDesc:L(135)}};var K=qr;(function(e,n){for(var t=qr,r=e();;)try{var x=-parseInt(t(455))/1+parseInt(t(454))/2+-parseInt(t(473))/3*(parseInt(t(438))/4)+parseInt(t(420))/5+parseInt(t(445))/6*(parseInt(t(460))/7)+-parseInt(t(452))/8+parseInt(t(412))/9*(parseInt(t(409))/10);if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Qt,163987);function qr(e,n){e=e-409;var t=Qt(),r=t[e];return r}function Qt(){var e=["Yeniden kullanılabilir · son kullanma tarihi yok","Yeni satır için Shift+Enter • Sekmeyi değiştirmek için Ctrl+Num","Farely ve Klavyeyi Kontrol Et","Grubu Değiştir","Bu sunucuda çalışan canlı terminal oturumları","Grup Ekle","Sil","Uzak Masaüstü","Tek kullanımlık · sona erer","İptal","PC'yi uzaktan kilidini aç","2948HdWWSK","Günlükler","Başlangıçta Başlat","Gruplandırılmamış","Oturumlara Geri Dön","Grubu Sil","Remote access is on","608454OPElWR","Working","Needs input","Ayarlar","Dil","Tüneli Sıfırla ve İstemcileri Yeniden Bağla","Sıfırla","867576clAIIS","İzin ver","492866nqVbyF","285718sLoQaa","Oluştur","Sizin girişinize ihtiyaç duyuyor","Turn on","Kapat","14ReUWvB","Idle","Son","Kilitliyken bu PC'nin telefondan veya tarayıcıdan kilidinin açılmasına izin ver","Devices can connect to this machine","Grubu Yeniden Adlandır","Etkin","Gönder","Ekran Kaydı","Oturum açmak için QR kodunu tarayın veya bağlantıyı açın","Yeni herhangi bir cihaz onay olmaksızın bağlanır","Remote access is off","Bilgisayarı Uyanık Tut","597FvVYcv","Ajan yanıt verdi","1489600VTqpQU","Oturum açtığınızda arka planda çalıştır","Erişilebilirlik","9tTZyUT","Koyu Moda Geç","Yeni cihazları otomatik olarak onayla","Yeni cihazlar için manuel onay gerekir","Etkin — uzaktan kilitleme açma çalışıyor","Cihazları eşleştirin ve güvenli tünelinizi yönetin","Yeni Terminal","Açık Moda Geç","533020hHxauk","Bağlantı etkin kalması için sistem uyusunun engellenmesi","Turn off","Devre Dışı — Manuel Başlatma","Sunucu aktivite tanılama","Grup {name} silinsin mi? İçindeki tüm terminallar kapatılacak.","Ekran Görünümüne İzin Ver"];return Qt=function(){return e},Qt()}const sa={common:{statusIdle:K(461),statusWorking:K(446),statusBlocked:K(447),statusDone:"Done",create:K(456),cancel:K(436),delete:K(433),rename:"Yeniden Adlandır",language:"Dil"},terminal:{backToSessions:K(442),switchGroup:K(430),newTerminal:K(418),send:K(467),typeCommand:K(428),deleteConfirm:"Terminal {name} silinsin mi?"},sessions:{newTerminal:K(418),addGroup:K(432),newGroup:"Yeni Grup",groupName:"Grup Adı",renameGroup:K(465),deleteGroup:K(443),ungrouped:K(441),deleteSessionConfirm:"Oturum {name} silinsin mi? Bu terminali kapatacak.",deleteGroupConfirm:K(425)},menu:{connection:"Bağlantı",connectionDesc:K(417),terminals:"Terminallar",terminalsDesc:K(431),logs:K(439),logsDesc:K(424)},recent:{title:K(462),replied:K(474),needsInput:K(457),dismiss:"Kapat",empty:"Son aktivite yok"},header:{settings:K(448),language:K(449),documentation:"Belgeler",reset:K(450),resetShort:K(451),shutdown:"9Remote'u Kapat (sunucuyu durdur, tüneli kapat, çık)",shutdownShort:K(459),lightMode:K(419),darkMode:K(413)},remote:{remoteDesktop:K(434),controlScreen:"Ekranı, Farely ve Klavyeyi Kontrol Et",screenRecording:K(468),captureScreen:K(426),accessibility:K(411),controlMouseKeyboard:K(429),launchOnStartup:K(440),remoteOn:K(444),remoteOnDesc:K(464),remoteOff:K(471),remoteOffDesc:"Devices can't connect. Local features keep working.",turnOff:K(422),turnOn:K(458),launchDesc:K(410),disabledStart:K(423),preventSleep:K(472),blockSleep:K(421),remoteUnlock:K(437),remoteUnlockDesc:K(463),remoteUnlockReady:K(416),grant:K(453),granted:K(466)},clients:{autoApprove:K(414),anyDevice:K(470),requireManual:K(415)},connection:{scanToSignIn:K(469),oneTimeKey:"Tek Seferlik Anahtar",oneTimeDesc:K(435),permanentKey:"Kalıcı Anahtar",permanentDesc:K(427)}};var j=Fr;function Fr(e,n){e=e-148;var t=Yt(),r=t[e];return r}(function(e,n){for(var t=Fr,r=e();;)try{var x=-parseInt(t(201))/1*(-parseInt(t(172))/2)+parseInt(t(174))/3+parseInt(t(167))/4+-parseInt(t(190))/5*(-parseInt(t(182))/6)+-parseInt(t(153))/7+-parseInt(t(148))/8*(-parseInt(t(195))/9)+-parseInt(t(177))/10;if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Yt,763660);function Yt(){var e=["Потребує вашого введення","Назва групи","Скинути туннель та повторно підключити клієнтів","43218sCGbJv","Видалити групу {name}? Усі термінали всередині будуть закриті.","Вимкнено — ручний запуск","Керування мишею та клавіатурою","Перейменувати","Скинути","Needs input","Парування пристроїв та керування захищеним туннелем","890HETqIv","Done","Перейти у світлий режим","Нова Група","Turn off","14517iEfcla","Скасувати","Багаторазовий · без закінчення","Автоматично схвалювати нові пристрої","Потребує ручного схвалення для нових пристроїв","Новий Термінал","41Sbsdrs","Перейти в темний режим","Агент відповів","Мова","Спеціальні можливості","Створити","Вимкнути","Видалити","Активно","Запобігти переходу системи в режим сну для утримання активного підключення","Перемикнути групу","Надіслати","Turn on","Журнали","2744ojiMaE","Повернутися до сеансів","Сканувати QR-код або відкрити посилання для входу","Запускати у фоні при вході","Однократне використання · закінчується","1230803zakxbA","Не згруповано","Сеанси живих терміналів на цьому хості","Запис екрану","Shift+Enter для нового рядка • Ctrl+Цифра для перемикання вкладки","Віддалений Робочий Стіл","Підключення","Активно — віддалене розблокування працює","Керування екраном, мишею та клавіатурою","Постійний Ключ","Запуск під час завантаження","Видалити групу","Idle","Видалити термінал {name}?","2116344gCPPPa","Перейменувати групу","Недавні","Додати Групу","Новий термінал","33618YsVogK","Розблокувати ПК віддалено","3958908OYhcqB","Devices can't connect. Local features keep working.","Документація","34337950CPwbUb","Remote access is on"];return Yt=function(){return e},Yt()}const la={common:{statusIdle:j(165),statusWorking:"Working",statusBlocked:j(188),statusDone:j(191),create:j(206),cancel:j(196),delete:j(208),rename:j(186),language:"Мова"},terminal:{backToSessions:j(149),switchGroup:j(211),newTerminal:j(171),send:j(212),typeCommand:j(157),deleteConfirm:j(166)},sessions:{newTerminal:j(200),addGroup:j(170),newGroup:j(193),groupName:j(180),renameGroup:j(168),deleteGroup:j(164),ungrouped:j(154),deleteSessionConfirm:"Видалити сеанс {name}? Це закриє термінал.",deleteGroupConfirm:j(183)},menu:{connection:j(159),connectionDesc:j(189),terminals:"Термінали",terminalsDesc:j(155),logs:j(214),logsDesc:"Діагностика активності сервера"},recent:{title:j(169),replied:j(203),needsInput:j(179),dismiss:"Закрити",empty:"Немає нещодавніх дій"},header:{settings:"Параметри",language:j(204),documentation:j(176),reset:j(181),resetShort:j(187),shutdown:"Вимкнути 9Remote (зупинити сервер, закрити туннель, вийти)",shutdownShort:j(207),lightMode:j(192),darkMode:j(202)},remote:{remoteDesktop:j(158),controlScreen:j(161),screenRecording:j(156),captureScreen:"Дозволити прегляд екрану",accessibility:j(205),controlMouseKeyboard:j(185),launchOnStartup:j(163),remoteOn:j(178),remoteOnDesc:"Devices can connect to this machine",remoteOff:"Remote access is off",remoteOffDesc:j(175),turnOff:j(194),turnOn:j(213),launchDesc:j(151),disabledStart:j(184),preventSleep:"Утримувати комп'ютер в активному стані",blockSleep:j(210),remoteUnlock:j(173),remoteUnlockDesc:"Дозволити розблокування цього ПК з телефону або браузера під час блокування",remoteUnlockReady:j(160),grant:"Дозволити",granted:j(209)},clients:{autoApprove:j(198),anyDevice:"Будь-який новий пристрій підключається без схвалення",requireManual:j(199)},connection:{scanToSignIn:j(150),oneTimeKey:"Одноразовий Ключ",oneTimeDesc:j(152),permanentKey:j(162),permanentDesc:j(197)}};var M=Wr;(function(e,n){for(var t=Wr,r=e();;)try{var x=parseInt(t(519))/1*(-parseInt(t(549))/2)+-parseInt(t(552))/3+parseInt(t(532))/4*(-parseInt(t(502))/5)+parseInt(t(509))/6*(-parseInt(t(542))/7)+parseInt(t(516))/8*(-parseInt(t(546))/9)+parseInt(t(505))/10+parseInt(t(538))/11;if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Jt,260425);function Wr(e,n){e=e-496;var t=Jt(),r=t[e];return r}const ca={common:{statusIdle:M(529),statusWorking:M(520),statusBlocked:M(536),statusDone:"Done",create:M(543),cancel:"Hủy",delete:M(533),rename:M(517),language:M(547)},terminal:{backToSessions:M(545),switchGroup:"Chuyển nhóm",newTerminal:M(507),send:M(518),typeCommand:M(550),deleteConfirm:M(500)},sessions:{newTerminal:"Terminal mới",addGroup:"Thêm nhóm",newGroup:M(530),groupName:M(523),renameGroup:"Đổi tên nhóm",deleteGroup:M(506),ungrouped:M(534),deleteSessionConfirm:M(525),deleteGroupConfirm:"Xóa nhóm {name}? Tất cả terminal bên trong sẽ bị đóng."},menu:{general:M(561),system:M(553),maintenance:M(514),connection:M(554),connectionDesc:"Ghép nối thiết bị và quản lý tunnel bảo mật",terminals:M(537),terminalsDesc:M(501),logs:"Nhật ký",logsDesc:M(556)},recent:{title:"Gần đây",replied:M(535),needsInput:M(526),dismiss:M(533),empty:M(564)},header:{settings:M(524),language:M(547),documentation:M(527),reset:M(511),resetShort:M(544),shutdown:M(504),shutdownShort:M(563),lightMode:M(560),darkMode:M(497)},remote:{remoteDesktop:M(508),controlScreen:M(499),screenRecording:"Ghi màn hình",captureScreen:M(548),accessibility:"Trợ năng",controlMouseKeyboard:M(559),launchOnStartup:M(539),remoteOn:M(557),remoteOnDesc:"Devices can connect to this machine",remoteOff:M(541),remoteOffDesc:M(528),turnOff:M(555),turnOn:M(498),launchDesc:M(531),disabledStart:"Đã tắt — khởi chạy thủ công",preventSleep:M(540),blockSleep:M(521),remoteUnlock:M(510),remoteUnlockDesc:M(515),remoteUnlockReady:M(558),grant:M(551),granted:M(512)},clients:{autoApprove:M(496),anyDevice:"Mọi thiết bị mới kết nối không cần duyệt",requireManual:M(562)},connection:{scanToSignIn:M(522),oneTimeKey:M(503),oneTimeDesc:"Dùng một lần · hết hạn",permanentKey:M(513),permanentDesc:"Tái sử dụng · không hết hạn"}};function Jt(){var e=["Đang bật","Khóa vĩnh viễn","Bảo trì","Cho phép mở khóa máy này từ điện thoại hoặc trình duyệt khi bị khóa","696dGiSIO","Đổi tên","Gửi","514093vMtJVa","Working","Chặn hệ thống ngủ để mạng luôn hoạt động","Quét mã QR hoặc mở liên kết để đăng nhập","Tên nhóm","Cài đặt","Xóa phiên {name}? Việc này sẽ tắt terminal.","Cần bạn phản hồi","Tài liệu","Devices can't connect. Local features keep working.","Idle","Nhóm mới","Chạy nền khi bạn đăng nhập","15164IuamfW","Xóa","Chưa phân nhóm","Agent đã trả lời","Needs input","Terminal","19062142NZfkky","Khởi chạy cùng hệ thống","Giữ máy thức","Remote access is off","651CnqMEL","Tạo","Khởi động lại","Quay lại danh sách phiên","52443qvAAkV","Ngôn ngữ","Cho phép xem màn hình","2BGHLyV","Shift+Enter để xuống dòng • Ctrl+Số để chuyển tab","Cho phép","950586ucQkWy","Hệ thống","Kết nối","Turn off","Hoạt động và chẩn đoán máy chủ","Remote access is on","Đang bật — mở khóa từ xa hoạt động","Điều khiển chuột & bàn phím","Chuyển sang giao diện sáng","Chung","Yêu cầu duyệt thủ công cho thiết bị mới","Thoát","Chưa có hoạt động nào","Tự động duyệt thiết bị mới","Chuyển sang giao diện tối","Turn on","Điều khiển màn hình, chuột & bàn phím","Xóa terminal {name}?","Các phiên terminal đang chạy trên máy này","370zLuwum","Khóa một lần","Thoát 9Remote (dừng máy chủ, đóng tunnel và thoát)","4462380wpygTz","Xóa nhóm","Terminal mới","Điều khiển từ xa","19374qQCwfh","Mở khóa máy từ xa","Khởi động lại tunnel và kết nối lại thiết bị"];return Jt=function(){return e},Jt()}var ae=Hr;function Hr(e,n){e=e-226;var t=Zt(),r=t[e];return r}function Zt(){var e=["删除组","8fRQUme","Remote access is on","配对设备并管理您的安全隧道","Working","代理已回复","484MLssWe","已启用","保持计算机清醒","远程桌面","自动批准新设备","61342btUOMB","组名称","860570WczAsW","Turn off","任何新设备无需批准即可连接","4wCPJHb","切换到深色模式","16216SewMnQ","重命名","阻止系统睡眠以保持连接活跃","6633612lDvXQY","3832845sFBIoa","Shift+Enter 新建行 • Ctrl+数字 切换标签页","在此主机上运行的实时终端会话","Devices can't connect. Local features keep working.","关闭 9Remote(停止服务器、关闭隧道、退出)","新设备需要手动批准","已禁用 — 手动启动","一次性密钥","可重复使用 · 不过期","删除组 {name}? 其中的所有终端都将关闭。","添加组","Turn on","允许屏幕视图","Idle","没有最近的活动","删除终端 {name}?","无障碍","一次性使用 · 过期","2001630RCOsJo","切换组","重置隧道并重新连接客户端","新终端","Remote access is off","1575OZsNNt","控制屏幕、鼠标和键盘","切换到浅色模式","1149253WLqqhK","需要您的输入"];return Zt=function(){return e},Zt()}(function(e,n){for(var t=Hr,r=e();;)try{var x=-parseInt(t(250))/1*(-parseInt(t(240))/2)+-parseInt(t(261))/3*(parseInt(t(255))/4)+-parseInt(t(229))/5+-parseInt(t(260))/6+-parseInt(t(237))/7+parseInt(t(257))/8*(-parseInt(t(234))/9)+-parseInt(t(252))/10*(-parseInt(t(245))/11);if(x===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Zt,729429);const ua={common:{statusIdle:ae(274),statusWorking:ae(243),statusBlocked:"Needs input",statusDone:"Done",create:"创建",cancel:"取消",delete:"删除",rename:ae(258),language:"语言"},terminal:{backToSessions:"返回会话",switchGroup:ae(230),newTerminal:ae(232),send:"发送",typeCommand:ae(262),deleteConfirm:ae(226)},sessions:{newTerminal:ae(232),addGroup:ae(271),newGroup:"新组",groupName:ae(251),renameGroup:"重命名组",deleteGroup:ae(239),ungrouped:"未分组",deleteSessionConfirm:"删除会话 {name}? 这将关闭终端。",deleteGroupConfirm:ae(270)},menu:{connection:"连接",connectionDesc:ae(242),terminals:"终端",terminalsDesc:ae(263),logs:"日志",logsDesc:"服务器活动诊断"},recent:{title:"最近",replied:ae(244),needsInput:ae(238),dismiss:"关闭",empty:ae(275)},header:{settings:"设置",language:"语言",documentation:"文档",reset:ae(231),resetShort:"重置",shutdown:ae(265),shutdownShort:"关闭",lightMode:ae(236),darkMode:ae(256)},remote:{remoteDesktop:ae(248),controlScreen:ae(235),screenRecording:"屏幕录制",captureScreen:ae(273),accessibility:ae(227),controlMouseKeyboard:"控制鼠标和键盘",launchOnStartup:"开机启动",remoteOn:ae(241),remoteOnDesc:"Devices can connect to this machine",remoteOff:ae(233),remoteOffDesc:ae(264),turnOff:ae(253),turnOn:ae(272),launchDesc:"在您登录时在后台运行",disabledStart:ae(267),preventSleep:ae(247),blockSleep:ae(259),remoteUnlock:"远程解锁电脑",remoteUnlockDesc:"允许在锁定时从手机或浏览器解锁此电脑",remoteUnlockReady:"已启用 — 远程解锁可用",grant:"允许",granted:ae(246)},clients:{autoApprove:ae(249),anyDevice:ae(254),requireManual:ae(266)},connection:{scanToSignIn:"扫描二维码或打开链接以登录",oneTimeKey:ae(268),oneTimeDesc:ae(228),permanentKey:"永久密钥",permanentDesc:ae(269)}};(function(e,n){const t=da,r=e();for(;;)try{if(parseInt(t(325))/1*(parseInt(t(329))/2)+-parseInt(t(330))/3+parseInt(t(322))/4+-parseInt(t(323))/5+-parseInt(t(321))/6*(-parseInt(t(324))/7)+-parseInt(t(327))/8*(parseInt(t(328))/9)+-parseInt(t(331))/10*(parseInt(t(326))/11)===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(Xt,856373);function da(e,n){return e=e-321,Xt()[e]}function Xt(){const e=["359306WZlvPn","322656Eiyapi","10QWuMXl","6558TppNqR","4442056xHrkbc","8347260ijnZvl","7868MRczqv","5chCAZo","1716891lBTYEh","8AfDDiY","4030677GPGMQf"];return Xt=function(){return e},Xt()}const lt={en:qx,ar:Fx,de:Wx,es:Hx,fa:Vx,fr:Qx,he:Yx,hi:Jx,id:Zx,it:Xx,ja:$x,ko:ea,ms:ta,nl:na,pl:ra,pt:xa,ru:aa,sv:oa,th:ia,tr:sa,uk:la,vi:ca,zh:ua},le=Vr;(function(e,n){const t=Vr,r=e();for(;;)try{if(-parseInt(t(440))/1*(parseInt(t(441))/2)+-parseInt(t(427))/3*(-parseInt(t(443))/4)+parseInt(t(429))/5*(-parseInt(t(465))/6)+-parseInt(t(438))/7*(parseInt(t(433))/8)+parseInt(t(467))/9*(parseInt(t(442))/10)+-parseInt(t(437))/11+parseInt(t(453))/12*(parseInt(t(430))/13)===n)break;r.push(r.shift())}catch{r.push(r.shift())}})($t,349368);const On=[{code:"en",label:le(458),flag:le(452),country:"us"},{code:"vi",label:le(444),flag:le(445),country:"vn"},{code:"zh",label:"中文",flag:"🇨🇳",country:"cn"},{code:"es",label:le(436),flag:le(466),country:"es"},{code:"hi",label:"हिन्दी",flag:le(434),country:"in"},{code:"ar",label:le(448),flag:"🇸🇦",country:"sa"},{code:"pt",label:"Português",flag:le(431),country:"br"},{code:"ru",label:"Русский",flag:le(426),country:"ru"},{code:"ja",label:le(435),flag:le(425),country:"jp"},{code:"de",label:le(463),flag:"🇩🇪",country:"de"},{code:"fr",label:le(457),flag:"🇫🇷",country:"fr"},{code:"ko",label:le(450),flag:le(462),country:"kr"},{code:"it",label:le(455),flag:le(446),country:"it"},{code:"tr",label:le(449),flag:le(459),country:"tr"},{code:"id",label:le(464),flag:"🇮🇩",country:"id"},{code:"th",label:"ไทย",flag:"🇹🇭",country:"th"},{code:"pl",label:le(454),flag:le(456),country:"pl"},{code:"nl",label:"Nederlands",flag:le(424),country:"nl"},{code:"sv",label:le(460),flag:le(428),country:"se"},{code:"uk",label:le(447),flag:le(451),country:"ua"},{code:"fa",label:"فارسی",flag:le(432),country:"ir"},{code:"he",label:le(439),flag:le(461),country:"il"},{code:"ms",label:"Bahasa Melayu",flag:"🇲🇾",country:"my"}],Kn="en";function Vr(e,n){return e=e-424,$t()[e]}const Qr="9remote_locale";function $t(){const e=["512281CQhgKD","עברית","37168sfrmku","14IMrIxx","12470EURati","16ILXNjE","Tiếng Việt","🇻🇳","🇮🇹","Українська","العربية","Türkçe","한국어","🇺🇦","🇺🇸","6748212rJPYxe","Polski","Italiano","🇵🇱","Français","English","🇹🇷","Svenska","🇮🇱","🇰🇷","Deutsch","Bahasa Indonesia","29742lRGdXA","🇪🇸","3852YkNEYJ","🇳🇱","🇯🇵","🇷🇺","354840IVqURe","🇸🇪","645zZHIjB","13OOqraf","🇧🇷","🇮🇷","8fFFEOu","🇮🇳","日本語","Español","2717077ggAZzA"];return $t=function(){return e},$t()}(function(e,n){const t=Je,r=e();for(;;)try{if(-parseInt(t(340))/1*(parseInt(t(351))/2)+-parseInt(t(342))/3*(parseInt(t(349))/4)+parseInt(t(344))/5+parseInt(t(354))/6*(-parseInt(t(341))/7)+parseInt(t(348))/8+-parseInt(t(345))/9*(-parseInt(t(346))/10)+-parseInt(t(352))/11*(-parseInt(t(339))/12)===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(en,318832);function Je(e,n){return e=e-337,en()[e]}function Y0(e,n){const t=Je;if(e)return n[t(337)](".").reduce((r,x)=>r==null?r:r[x],e)}function ma(e,n){return typeof e!==Je(343)||!n?e:e.replace(/\{(\w+)\}/g,(r,x)=>n[x]!=null?n[x]:"{"+x+"}")}function fa(){const e=Je;try{const n=localStorage[e(353)](Qr)||localStorage.getItem(e(338));if(n&&lt[n])return n}catch{}return Kn}let jn=fa();const qn=new Set;function en(){const e=["67oCBlgK","22036yOLMCI","2589WXDTYj","string","1998645tmQIdI","9NuaWlr","4816670zMYytR","delete","2297552SEGyJt","628zHbUUA","setItem","11366bdHYMM","2322078tTZxax","getItem","1038qkhbIq","split","agentLocale","12ewHfdO"];return en=function(){return e},en()}function pa(e){const n=Je;if(!(e===jn||!lt[e])){jn=e;try{localStorage[n(350)](Qr,e)}catch{}qn.forEach(t=>t(e))}}function ha(e,n,t){const r=lt[e]||lt[Kn],x=lt[Kn],a=Y0(r,n)??Y0(x,n)??n;return ma(a,t)}function Xn(){const[e,n]=ie(jn);return pe(()=>{const r=Je,x=a=>n(a);return qn.add(x),()=>qn[r(347)](x)},[]),{t:(r,x)=>ha(e,r,x),locale:e,setLocale:pa}}const J0="9remote.cc",ga=15e3;function ba(e){if(e<=0)return"Expired";const n=Math.floor(e/1e3),t=Math.floor(n/60),r=n%60;return`${String(t).padStart(2,"0")}:${String(r).padStart(2,"0")}`}function bt({icon:e,onClick:n,title:t,danger:r,busy:x}){return i("button",{onClick:n,title:t,disabled:x,className:"glass-btn w-7 h-7 flex items-center justify-center flex-shrink-0",style:{...r?{color:"rgba(255,100,100,0.7)"}:{color:"var(--text-muted)"},...x?{opacity:.6,cursor:"default"}:null},children:i("span",{className:`material-symbols-outlined${x?" qr-spin":""}`,style:{fontSize:15},children:e})})}function va({qrUrl:e,oneTimeKey:n,oneTimeKeyExpiresAt:t,permanentKey:r,onGenerateOneTimeKey:x,onRegenerateKey:a}){const{t:o}=Xn(),s=Ne(null),[l,d]=ie(null),[f,b]=ie(null),[u,m]=ie(null),[g,I]=ie(null),B=l!==null&&l<=0;pe(()=>{!e||B||!s.current||Ax.toCanvas(s.current,e,{width:200,margin:1,color:{dark:"#0f1923",light:"#ffffff"}}).catch(()=>{})},[e,B]),pe(()=>{if(!t){d(null);return}const h=()=>d(t-Date.now());h();const y=setInterval(h,1e3);return()=>clearInterval(y)},[t]),pe(()=>{I(h=>h==="oneTime"?null:h)},[n]),pe(()=>{I(h=>h==="permanent"?null:h)},[r]),pe(()=>{if(!g)return;const h=setTimeout(()=>I(null),ga);return()=>clearTimeout(h)},[g]);const k=(h,y)=>{navigator.clipboard.writeText(h).catch(()=>{}),b(y),setTimeout(()=>b(null),2e3)};return i(Re,{children:[u==="oneTime"&&i(Fe,{message:"Generate a new one-time key? The current one will expire immediately.",confirmLabel:"Generate",onConfirm:()=>{m(null),I("oneTime"),x==null||x()},onCancel:()=>m(null)}),u==="regen"&&i(Fe,{message:"Regenerate permanent key? All existing sessions will be disconnected.",confirmLabel:"Regenerate",confirmDanger:!0,onConfirm:()=>{m(null),I("permanent"),a==null||a()},onCancel:()=>m(null)}),i("div",{className:"relative z-[1] w-full max-w-[380px] flex flex-col items-center",children:[i("div",{className:"bg-white p-3.5 rounded-[14px] flex items-center justify-center flex-shrink-0",style:{boxShadow:"var(--qr-plate-shadow)"},children:e&&!B?i("canvas",{ref:s}):i("div",{className:"w-[200px] h-[200px] grid place-items-center",children:i("span",{className:"material-symbols-outlined",style:{fontSize:72,color:"#d4d4d8"},children:"qr_code_2"})})}),i("div",{className:"flex flex-col items-center gap-1 mt-4 mb-9",children:[i("span",{className:"text-[11.5px] leading-4",style:{color:"var(--text-muted)"},children:o("connection.scanToSignIn")}),i("a",{href:`https://${J0}/login`,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-1.5 hover:underline transition-opacity",children:[i("span",{className:"w-2 h-2 rounded-full bg-green-400 flex-shrink-0"}),i("span",{className:"text-sm font-bold",style:{color:"var(--brand-400)"},children:[J0,"/login"]}),i("span",{className:"material-symbols-outlined flex-shrink-0",style:{fontSize:14,color:"var(--brand-400)"},children:"open_in_new"})]})]}),i("div",{className:"w-full flex flex-col gap-1.5",children:[i("span",{className:"text-xs font-medium px-0.5",style:{color:"var(--text-muted)"},children:o("connection.oneTimeKey")}),i("div",{className:"w-full flex items-center gap-2 px-3 py-2.5 rounded-[10px]",style:{background:"var(--row-bg)",border:"1px solid var(--border-subtle)"},children:[i("span",{className:"material-symbols-outlined flex-shrink-0",style:{fontSize:16,color:"var(--text-muted)"},children:"timer"}),i("span",{className:"flex-1 font-mono font-bold tracking-[0.18em] text-base truncate",style:{color:n&&!B?"var(--brand-400)":"var(--border)"},children:n&&!B?n:"• • • • • •"}),l!==null&&i("span",{className:`text-xs font-mono flex-shrink-0 ${l<=0?"text-red-400":""}`,style:l>0?{color:"var(--text-muted)"}:{},children:ba(l)}),n&&!B&&i(bt,{icon:f==="oneTime"?"check":"content_copy",onClick:()=>k(n,"oneTime"),title:"Copy one-time key"}),i(bt,{icon:"refresh",onClick:()=>m("oneTime"),title:"New one-time key",busy:g==="oneTime"})]})]}),i("div",{className:"w-full flex flex-col gap-1.5 mt-2",children:[i("span",{className:"text-xs font-medium px-0.5",style:{color:"var(--text-muted)"},children:o("connection.permanentKey")}),i("div",{className:"w-full flex items-center gap-2 px-3 py-2.5 rounded-[10px]",style:{background:"var(--row-bg)",border:"1px solid var(--border-subtle)"},children:[i("span",{className:"material-symbols-outlined flex-shrink-0",style:{fontSize:16,color:"var(--text-muted)"},children:"key"}),i("span",{className:"flex-1 font-mono text-xs truncate",style:{color:"var(--text-main)"},children:r||"— not set —"}),r&&i(bt,{icon:f==="permanent"?"check":"content_copy",onClick:()=>k(r,"permanent"),title:"Copy permanent key"}),i(bt,{icon:"autorenew",onClick:()=>m("regen"),title:"Regenerate permanent key",danger:!0,busy:g==="permanent"})]})]})]})]})}const _a="https://docs.9remote.cc/";function Z0({on:e,onClick:n,disabled:t,title:r}){return i("button",{type:"button",role:"switch","aria-checked":e,title:r,disabled:t,onClick:t?void 0:n,className:"relative flex-shrink-0 transition-opacity",style:{width:36,height:20,borderRadius:10,background:e?"linear-gradient(135deg, var(--brand-500), var(--brand-400))":"var(--surface-3)",opacity:t?.45:1,cursor:t?"not-allowed":"pointer"},children:i("span",{className:"block bg-white rounded-full transition-transform duration-200",style:{width:14,height:14,margin:3,transform:e?"translateX(16px)":"translateX(0)",boxShadow:"0 1px 3px rgba(0,0,0,0.3)"}})})}function Bn({icon:e,title:n,desc:t,children:r}){return i("div",{className:"flex items-center justify-between gap-4 py-3 border-b",style:{borderColor:"var(--border-subtle)"},children:[i("div",{className:"flex items-start gap-3 min-w-0",children:[e&&i("span",{className:"material-symbols-outlined flex-shrink-0 mt-0.5",style:{fontSize:20,color:"var(--text-muted)"},children:e}),i("div",{className:"min-w-0",children:[i("p",{className:"text-[13.5px] font-semibold",style:{color:"var(--text-main)"},children:n}),t&&i("p",{className:"text-xs mt-0.5",style:{color:"var(--text-muted)"},children:t})]})]}),i("div",{className:"flex-shrink-0",children:r})]})}function ya({variant:e="glass",theme:n,onToggleTheme:t,isStopped:r,onStop:x,onShutdown:a,logs:o=[],onClearLogs:s,autoStart:l,onAutoStartToggle:d,unlockStatus:f,onRequestUnlockInstall:b,onRequestUnlockUninstall:u,version:m=""}){var S;const{t:g,locale:I,setLocale:B}=Xn(),[k,h]=ie(!1),[y,U]=ie("general"),oe=Ne(null);pe(()=>{y==="logs"&&oe.current&&(oe.current.scrollTop=oe.current.scrollHeight)},[o,y]),pe(()=>{if(!k)return;const _=w=>{w.key==="Escape"&&h(!1)};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[k]);const C=e==="glass"?"glass-btn w-10 h-10 rounded-xl flex items-center justify-center":e==="hdr"?"hdr-icon w-10 h-10 rounded-[9px] flex items-center justify-center":"p-1.5 rounded-lg transition-all duration-150 ease-out active:scale-[0.94] flex-shrink-0 term-btn",q=e==="glass"?void 0:{background:"var(--surface-2)",color:"var(--text-main)"},A=On.find(_=>_.code===I)||On[0],D=[{id:"general",label:g("menu.general")||"General",icon:"tune"},{id:"system",label:g("menu.system")||"System",icon:"settings_suggest"},{id:"logs",label:g("menu.logs")||"Logs",icon:"description"}],N=k&&i("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4 bg-black/60 backdrop-blur-[4px] animate-in fade-in duration-150",onClick:()=>h(!1),children:i("div",{className:"glass-card flex overflow-hidden w-full max-w-2xl h-[540px] max-h-[90vh] rounded-2xl animate-in zoom-in-95 duration-150 shadow-2xl",style:{border:"1px solid var(--border)"},onClick:_=>_.stopPropagation(),children:[i("div",{className:"w-48 flex-shrink-0 flex flex-col p-3 border-r",style:{background:"var(--row-bg)",borderColor:"var(--border-subtle)"},children:[i("div",{className:"flex items-center gap-2 px-2 py-3 mb-2",children:[i("span",{className:"material-symbols-outlined",style:{fontSize:20,color:"var(--brand-500)"},children:"settings"}),i("span",{className:"text-sm font-bold",style:{color:"var(--text-main)"},children:"9Remote"})]}),i("div",{className:"flex-1 flex flex-col gap-1",children:D.map(_=>{const w=y===_.id;return i("button",{onClick:()=>U(_.id),className:"w-full text-left px-3 py-2 rounded-xl text-xs font-medium flex items-center gap-2.5 transition-colors",style:{background:w?"rgba(var(--brand-rgb), 0.15)":"transparent",color:w?"var(--brand-400)":"var(--text-muted)"},children:[i("span",{className:"material-symbols-outlined",style:{fontSize:18},children:_.icon}),i("span",{className:"flex-1 truncate",children:_.label})]},_.id)})}),m&&i("div",{className:"px-2 pt-2 border-t text-[11px] font-mono",style:{borderColor:"var(--border-subtle)",color:"var(--text-subtle)"},children:["v",m]})]}),i("div",{className:"flex-1 flex flex-col min-w-0 bg-surface",children:[i("div",{className:"h-12 px-6 flex items-center justify-between border-b flex-shrink-0",style:{borderColor:"var(--border-subtle)"},children:[i("h3",{className:"text-sm font-semibold capitalize",style:{color:"var(--text-main)"},children:(S=D.find(_=>_.id===y))==null?void 0:S.label}),i("button",{onClick:()=>h(!1),className:"p-1 rounded-lg text-text-muted hover:text-text hover:bg-surface-2 transition-colors material-symbols-outlined",style:{fontSize:20,color:"var(--text-muted)"},title:g("common.close"),children:"close"})]}),i("div",{className:"flex-1 flex flex-col min-h-0 p-6 overflow-hidden",children:[y==="general"&&i("div",{className:"flex-1 flex flex-col min-h-0",children:[i("div",{className:"flex-shrink-0 pb-1",children:i(Bn,{icon:n==="dark"?"dark_mode":"light_mode",title:g(n==="dark"?"header.darkMode":"header.lightMode"),desc:"Theme preference synced with workspace",children:i("button",{onClick:t,className:"glass-btn flex items-center gap-2 px-3 py-1.5 rounded-lg text-xs font-medium",style:{color:"var(--text-main)"},children:[i("span",{className:"material-symbols-outlined",style:{fontSize:16},children:n==="dark"?"light_mode":"dark_mode"}),i("span",{children:n==="dark"?"Light":"Dark"})]})})}),i("div",{className:"flex-1 flex flex-col min-h-0 pt-3",children:[i("div",{className:"flex items-center justify-between mb-2.5 flex-shrink-0",children:[i("span",{className:"text-[13.5px] font-semibold",style:{color:"var(--text-main)"},children:g("header.language")}),i("span",{className:"text-xs font-medium",style:{color:"var(--brand-400)"},children:A.label})]}),i("div",{className:"flex-1 overflow-y-auto pr-1 grid grid-cols-2 gap-2 content-start",children:On.map(_=>{const w=_.code===I;return i("button",{onClick:()=>B(_.code),className:"flex items-center gap-2 px-3 py-2 rounded-xl text-xs text-left transition-colors",style:{background:w?"rgba(var(--brand-rgb), 0.15)":"var(--row-bg)",color:w?"var(--brand-400)":"var(--text-main)",border:"1px solid var(--border-subtle)"},children:[i("img",{src:`https://flagcdn.com/w40/${_.country}.png`,alt:_.label,className:"w-4 h-3 object-cover rounded-[2px] flex-shrink-0",loading:"lazy"}),i("span",{className:"flex-1 truncate font-medium",children:_.label}),w&&i("span",{className:"material-symbols-outlined",style:{fontSize:14},children:"check"})]},_.code)})})]})]}),y==="system"&&i("div",{className:"flex-1 overflow-y-auto pr-1 flex flex-col gap-2",children:[i(Bn,{icon:"rocket_launch",title:g("remote.launchOnStartup"),desc:g("remote.launchDesc"),children:i(Z0,{on:!!l,onClick:d})}),(f==null?void 0:f.supported)&&i(Bn,{icon:"lock_open",title:g("remote.remoteUnlock"),desc:f.stale?g("remote.remoteUnlockStale"):f.running?g("remote.remoteUnlockReady"):g("remote.remoteUnlockDesc"),children:i(Z0,{on:!!f.enabled,disabled:!!f.busy,onClick:()=>f.enabled?u==null?void 0:u():b==null?void 0:b()})}),i("div",{className:"flex flex-col gap-2 pt-4 mt-2 border-t",style:{borderColor:"var(--border-subtle)"},children:[i("button",{onClick:()=>window.open(_a,"_blank"),className:"w-full text-left px-3 py-2 rounded-xl text-xs font-medium flex items-center gap-2 card-act",style:{color:"var(--text-main)"},children:[i("span",{className:"material-symbols-outlined",style:{fontSize:16},children:"menu_book"}),i("span",{className:"flex-1",children:g("header.documentation")}),i("span",{className:"material-symbols-outlined",style:{fontSize:14},children:"open_in_new"})]}),!r&&i("button",{onClick:()=>{h(!1),x==null||x()},className:"w-full text-left px-3 py-2 rounded-xl text-xs font-medium flex items-center gap-2 card-act",style:{color:"var(--text-main)"},children:[i("span",{className:"material-symbols-outlined",style:{fontSize:16},children:"restart_alt"}),i("span",{className:"flex-1",children:g("header.resetShort")})]}),i("button",{onClick:()=>{h(!1),a==null||a()},className:"w-full text-left px-3 py-2 rounded-xl text-xs font-medium flex items-center gap-2 card-act",style:{color:"var(--danger)"},children:[i("span",{className:"material-symbols-outlined",style:{fontSize:16},children:"power_settings_new"}),i("span",{className:"flex-1",children:g("header.shutdownShort")})]})]})]}),y==="logs"&&i("div",{className:"flex-1 flex flex-col min-h-0 gap-3",children:[i("div",{className:"flex items-center justify-between flex-shrink-0",children:[i("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:[g("menu.logs")," ",o.length>0&&`(${o.length})`]}),o.length>0&&i("button",{onClick:s,className:"glass-btn flex items-center gap-1 px-2.5 h-7 text-xs rounded-md",style:{color:"var(--text-muted)"},children:[i("span",{className:"material-symbols-outlined",style:{fontSize:14},children:"delete_sweep"})," Clear"]})]}),i("div",{ref:oe,className:"flex-1 p-3.5 rounded-xl flex flex-col gap-1 overflow-y-auto font-mono text-[11.5px] leading-5",style:{background:"var(--row-bg)",border:"1px solid var(--border-subtle)"},children:o.length===0?i("p",{className:"text-center py-16",style:{color:"var(--text-muted)"},children:"No logs yet"}):o.map((_,w)=>i("p",{className:"break-all",style:{color:"var(--text-muted)"},children:_},w))})]})]})]})]})});return i("div",{className:"relative flex-shrink-0",children:[i("button",{onClick:()=>h(!0),title:g("header.settings"),className:C,style:q,children:i("span",{className:"material-symbols-outlined text-xl",children:"settings"})}),typeof document<"u"&&N?wr(N,document.body):N]})}const re=Yr;(function(e,n){const t=Yr,r=e();for(;;)try{if(parseInt(t(150))/1*(parseInt(t(130))/2)+parseInt(t(132))/3*(parseInt(t(152))/4)+parseInt(t(155))/5+parseInt(t(145))/6+-parseInt(t(160))/7*(parseInt(t(177))/8)+parseInt(t(174))/9+parseInt(t(146))/10*(-parseInt(t(143))/11)===n)break;r.push(r.shift())}catch{r.push(r.shift())}})(tn,209126);const vt={startDelayMs:3e3,pollMs:2e3,timeoutMs:9e4};re(169);function Yr(e,n){return e=e-126,tn()[e]}function tn(){const e=["164054fKDFov","tail -f","1505970xCXiqF","340jKUyFF","npm run dev","npm run test","git push","21439BFGYyC","git stash","18120ZgSVPr","docker logs -f","9remote-cmd-history","179115XBIdOg","more","code","code .","cp -r","7XjFFGt","claude --continue","codex","npm run lint","git add .","ls -la","claude","nano","git log --oneline","local-ui","cat","git branch","git diff","free -h","2182581WcYeeH","grep -rn","docker ps","1174560cAtNmU","git pull","vim","ps aux","cd ..","head","mkdir -p","10orbBEa","docker ps -a","150lLpwMT","claude --resume","open","git status","docker compose down","touch","wc -l","grep","npm install","chmod","docker compose up -d"];return tn=function(){return e},tn()}re(135),re(164),re(149),re(178),re(172),re(168),re(171),re(151),re(140),re(147),re(148),re(163),re(127),re(165),re(129),re(159),re(175),re(138),re(144),re(126),re(173),re(176),re(131),re(153),re(142),re(136),re(158),re(166),re(161),re(133),re(162);re(170),re(156),re(128),re(179),re(167),re(157),re(137),re(141),re(134),re(139);re(154);const ka=e=>({screenRecording:{label:e("remote.screenRecording"),icon:"screenshot_monitor",desc:e("remote.captureScreen")},accessibility:{label:e("remote.accessibility"),icon:"accessibility_new",desc:e("remote.controlMouseKeyboard")}});function Jr({on:e,onClick:n,activeColor:t="linear-gradient(135deg, var(--brand-500), var(--brand-400))",title:r,disabled:x}){return i("button",{onClick:x?void 0:n,disabled:x,title:r,className:"flex-shrink-0 w-[46px] h-[26px] rounded-full transition-all relative",style:{background:e?t:"rgba(140,145,160,0.35)",border:e?"1px solid transparent":"1px solid rgba(140,145,160,0.55)",opacity:x?.5:1,cursor:x?"not-allowed":"pointer"},children:i("span",{className:"absolute top-0.5 w-5 h-5 rounded-full bg-white transition-all",style:{left:e?"calc(100% - 22px)":"2px",boxShadow:"0 2px 6px rgba(0,0,0,0.4)"}})})}function wa({granted:e,label:n,onRequest:t}){return i("button",{onClick:e?void 0:t,className:"flex items-center gap-1.5 text-[11.5px] px-2.5 py-1 rounded-lg",style:{background:"var(--row-bg)",border:"1px solid var(--border-subtle)",color:e?"var(--success)":"var(--text-muted)",cursor:e?"default":"pointer"},title:e?"":"Click to grant permission",children:[e&&i("span",{className:"material-symbols-outlined",style:{fontSize:15},children:"check_circle"}),n,!e&&i("span",{className:"material-symbols-outlined",style:{fontSize:19,color:"var(--text-subtle)"},children:"toggle_off"})]})}function Sa({desktopEnabled:e,onDesktopToggle:n,permissions:t,onRequestPermission:r,t:x}){const a=Object.entries(ka(x)),o=a.every(([l])=>!!(t!=null&&t[l])),s=!o&&!e;return i("div",{className:"row-hover flex items-start gap-4 py-3.5 px-3 -mx-3 rounded-xl",children:[i("div",{className:"w-[34px] h-[34px] rounded-[9px] flex items-center justify-center flex-shrink-0 mt-0.5",style:{background:o?e?"rgba(var(--brand-rgb),0.08)":"var(--row-bg)":"rgba(var(--warn-rgb),0.12)",border:`1px solid ${o?e?"rgba(var(--brand-rgb),0.25)":"var(--border-subtle)":"rgba(var(--warn-rgb),0.3)"}`,color:o?e?"var(--brand-400)":"var(--text-muted)":"var(--warn)"},children:i("span",{className:"material-symbols-outlined",style:{fontSize:18},children:o?"desktop_windows":"warning"})}),i("div",{className:"flex-1 min-w-0",children:[i("div",{className:"flex items-center gap-2",children:[i("p",{className:"text-[13.5px] font-semibold",style:{color:"var(--text-main)"},children:x("remote.remoteDesktop")}),o?null:i("span",{className:"text-[10.5px] font-semibold px-2 py-0.5 rounded-full flex-shrink-0",style:{background:"rgba(var(--warn-rgb), 0.15)",color:"var(--warn)"},children:"Permission needed"})]}),i("p",{className:"text-[11.5px] mt-0.5",style:{color:"var(--text-muted)"},children:o?x("remote.controlScreen")||"Control screen, mouse & keyboard":"Grant permissions to allow screen & control access"}),a.length>0&&i("div",{className:"flex flex-wrap items-center gap-2 mt-2.5",children:a.map(([l,d])=>i(wa,{granted:!!(t!=null&&t[l]),label:d.label,onRequest:()=>r(l)},l))})]}),i(Jr,{on:e,onClick:n,disabled:s,title:s?x("dialogs.grantPermissions"):""})]})}function Ia({mode:e,presets:n=[],onChange:t,t:r}){const x={"30m":r("remote.sleepModes.30m"),"1h":r("remote.sleepModes.1h"),"2h":r("remote.sleepModes.2h"),"4h":r("remote.sleepModes.4h"),"24h":r("remote.sleepModes.24h"),never:r("remote.sleepModes.never"),none:r("remote.sleepModes.none")},a=e!=="none";return i("div",{className:"row-hover flex items-center gap-4 py-3.5 px-3 -mx-3 rounded-xl",children:[i("div",{className:"w-[34px] h-[34px] rounded-[9px] flex items-center justify-center flex-shrink-0",style:{background:a?"rgba(var(--brand-rgb),0.08)":"var(--row-bg)",border:`1px solid ${a?"rgba(var(--brand-rgb),0.25)":"var(--border-subtle)"}`,color:a?"var(--brand-400)":"var(--text-muted)"},children:i("span",{className:"material-symbols-outlined",style:{fontSize:18},children:"coffee"})}),i("div",{className:"flex-1 min-w-0",children:[i("p",{className:"text-[13.5px] font-semibold",style:{color:"var(--text-main)"},children:r("remote.preventSleep")}),i("p",{className:"text-[11.5px] mt-0.5",style:{color:"var(--text-muted)"},children:r("remote.blockSleep")})]}),i("select",{value:e||"never",onChange:o=>t==null?void 0:t(o.target.value),className:"text-xs px-3 py-1.5 rounded-lg flex-shrink-0",style:{background:"var(--row-bg)",color:"var(--text-main)",border:"1px solid var(--border-subtle)",cursor:"pointer"},children:n.map(o=>i("option",{value:o,children:x[o]||o},o))})]})}function X0({title:e,count:n,first:t,children:r}){return i("div",{className:t?"":"mt-10",children:[i("div",{className:"flex items-center gap-2.5 font-mono text-[11px] uppercase tracking-[0.12em] pb-2.5 mb-1",style:{color:"var(--text-subtle)",borderBottom:"1px solid var(--border-subtle)"},children:[e,n!=null&&i("span",{className:"ml-auto tracking-normal",style:{color:"var(--text-muted)"},children:n})]}),r]})}const Da={idle:{icon:"system_update",spin:!1,text:e=>`Version ${e} available`},confirm:{icon:"system_update",spin:!1,text:()=>"Update 9remote? Restarts connection (~1 min)"},updating:{icon:"progress_activity",spin:!0,text:(e,n)=>`Updating… ${n}s`},restarting:{icon:"restart_alt",spin:!0,text:(e,n)=>`Updating 9remote… ${n}s`},ready:{icon:"check_circle",spin:!1,text:()=>"Updated! Reloading…"},timeout:{icon:"warning",spin:!1,text:()=>"Taking longer than expected"}};function Ca({version:e,isUpdating:n=!1}){const[t,r]=ie(n?"updating":"idle"),[x,a]=ie(0);if(pe(()=>{n&&t!=="restarting"&&t!=="ready"&&r("updating")},[n]),pe(()=>{if(t!=="updating"&&t!=="restarting")return;const f=Date.now();let b=!1;const u=setInterval(()=>a(Math.floor((Date.now()-f)/1e3)),1e3);let m;const I=setTimeout(()=>{m=setInterval(async()=>{if(Date.now()-f>vt.timeoutMs){r("timeout"),clearInterval(m);return}try{if(!(await fetch("/api/ui/state",{cache:"no-store"})).ok)throw new Error;b&&(r("ready"),clearInterval(m),setTimeout(()=>location.reload(),600))}catch{b=!0,r("restarting")}},vt.pollMs)},vt.startDelayMs);return()=>{clearInterval(u),clearInterval(m),clearTimeout(I)}},[t==="updating"||t==="restarting"]),!e&&!n&&t==="idle")return null;const o=()=>{r("updating"),fetch("/api/update",{method:"POST"}).catch(()=>{})},s=Da[t],l=t==="updating"||t==="restarting"||t==="ready",d=t==="ready"?100:Math.min(x*1e3/vt.timeoutMs*100,95);return l?i("div",{className:"fixed inset-0 z-[100] flex items-center justify-center",style:{background:"var(--bg-main)"},children:i("div",{className:"text-center mx-4",style:{maxWidth:320},children:[i("span",{className:`material-symbols-outlined text-4xl inline-block ${s.spin?"animate-spin":""}`,style:{color:"var(--brand-400)"},children:s.icon}),i("div",{className:"text-sm font-semibold mt-3",style:{color:"var(--text-main)"},children:s.text(e,x)}),i("div",{className:"mt-4 h-1.5 w-full rounded-full overflow-hidden",style:{background:"var(--surface-2)"},children:i("div",{className:"h-full rounded-full transition-all duration-1000 ease-linear",style:{width:`${d}%`,background:"var(--brand-400)"}})}),i("div",{className:"text-xs mt-2",style:{color:"var(--text-subtle)"},children:[x,"s"]})]})}):i("div",{className:"relative px-5 py-2 flex items-center gap-2 border-b",style:{background:"rgba(var(--brand-rgb),0.08)",borderColor:"rgba(var(--brand-rgb),0.2)"},children:[i("span",{className:`material-symbols-outlined text-sm flex-shrink-0 ${s.spin?"animate-spin":""}`,style:{color:"var(--brand-400)"},children:s.icon}),i("span",{className:"text-xs flex-1",style:{color:"var(--brand-400)"},children:s.text(e,x)}),t==="idle"&&i("button",{onClick:()=>r("confirm"),className:"flex-shrink-0 text-xs px-2 py-0.5 rounded font-medium",style:{background:"rgba(var(--brand-rgb),0.15)",color:"var(--brand-400)"},children:"Update"}),t==="confirm"&&i(Re,{children:[i("button",{onClick:o,className:"flex-shrink-0 text-xs px-2 py-0.5 rounded font-medium",style:{background:"rgba(var(--brand-rgb),0.15)",color:"var(--brand-400)"},children:"Confirm"}),i("button",{onClick:()=>r("idle"),className:"flex-shrink-0 text-xs px-2 py-0.5 rounded font-medium",style:{background:"rgba(255,255,255,0.08)",color:"var(--text-muted)"},children:"Cancel"})]}),t==="timeout"&&i("button",{onClick:()=>location.reload(),className:"flex-shrink-0 text-xs px-2 py-0.5 rounded font-medium",style:{background:"rgba(var(--brand-rgb),0.15)",color:"var(--brand-400)"},children:"Reload"})]})}function Ta(e,n,t=[]){const r=new Map;for(const s of n){if(!s.deviceId)continue;const l=r.get(s.deviceId);(!l||s.connectedAt&&s.connectedAt<l.connectedAt)&&r.set(s.deviceId,s)}const x=e.map(s=>{const l=r.get(s.deviceId);return{deviceId:s.deviceId,status:l?"online":"offline",ip:(l==null?void 0:l.ip)||null,connType:(l==null?void 0:l.type)||null,connectedAt:(l==null?void 0:l.connectedAt)||null,approvedAt:s.approvedAt||null,label:s.label||""}}),a=t.map(s=>({deviceId:s.deviceId,status:"pending",ip:s.ip||null,connectedAt:null,approvedAt:null,rejectedAt:s.rejectedAt||null})),o={online:0,pending:1,offline:2};return[...x,...a].sort((s,l)=>o[s.status]-o[l.status])}const $0={online:{color:"var(--success)",bg:"rgba(var(--success-rgb),0.14)",label:"Online"},offline:{color:"var(--text-subtle)",bg:"var(--row-bg)",label:"Offline"},pending:{color:"var(--warn)",bg:"rgba(var(--warn-rgb),0.14)",label:"Pending"}},Na=e=>/mac|book|laptop|pc|windows|desktop|linux/i.test(e||"")?"laptop_mac":"smartphone";function Ra({client:e,onRemove:n,onApprove:t,onLabel:r}){const x=`${e.deviceId.slice(0,8)}...`,a=e.label||x,o=$0[e.status]||$0.offline,s=e.status==="pending",l=e.status==="online"?`${e.ip?e.ip+" · ":""}connected ${e.connectedAt?new Date(e.connectedAt).toLocaleTimeString(void 0,{hour12:!1}):""}`:s?"Waiting for approval":e.approvedAt?`Approved ${new Date(e.approvedAt).toLocaleDateString()}`:"Offline";return i("div",{className:`row-hover flex items-center gap-4 py-3 px-3 -mx-3 rounded-xl ${s?"border border-dashed":""}`,style:s?{borderColor:"rgba(var(--warn-rgb),0.35)"}:{},children:[i("div",{className:"w-[34px] h-[34px] rounded-[9px] flex items-center justify-center flex-shrink-0",style:{background:"var(--row-bg)",border:"1px solid var(--border-subtle)"},children:i("span",{className:"material-symbols-outlined",style:{fontSize:18,color:"var(--text-muted)"},children:Na(a)})}),i("div",{className:"flex-1 min-w-0",children:[i("div",{className:"text-[13.5px] font-semibold flex items-center gap-2 min-w-0",style:{color:"var(--text-main)"},children:[i("span",{className:"truncate",children:a}),i("span",{className:"flex items-center gap-1 text-[10.5px] font-semibold px-2 py-0.5 rounded-full flex-shrink-0",style:{background:o.bg,color:o.color},children:[i("span",{className:"w-1.5 h-1.5 rounded-full",style:{background:"currentColor"}}),o.label]}),!s&&i("button",{onClick:()=>r==null?void 0:r(e),className:"material-symbols-outlined flex-shrink-0",style:{fontSize:14,color:"var(--text-muted)",cursor:"pointer"},title:"Rename this device",children:"edit"})]}),i("p",{className:`text-[11.5px] mt-0.5 truncate ${e.ip?"font-mono":""}`,style:{color:"var(--text-muted)"},children:l})]}),s?i("button",{onClick:()=>t==null?void 0:t(e),className:"flex-shrink-0 text-[12.5px] font-semibold px-3.5 py-2 rounded-lg btn-primary",title:"Approve this device",children:"Approve"}):i("button",{onClick:()=>n(e),className:"glass-btn flex-shrink-0 text-[12px] font-semibold px-3.5 py-2 rounded-lg",style:{color:"var(--text-muted)"},title:"Disconnect and remove this device",children:e.status==="online"?"Disconnect":"Remove"})]})}function Aa(e,n){const t=(n==null?void 0:n.rtcPeers)||0,r=(n==null?void 0:n.wsPeers)||0;return e===0?{color:"var(--danger)",blink:!1,text:"offline"}:e>=5?{color:"var(--success)",blink:!1,text:`online · rtc ${t} ws ${r}`}:{color:"var(--warn)",blink:!0,text:"connecting"}}const _t=["steps.preparing","steps.connecting","steps.tunneling","steps.verifying","steps.ready"];function Ea({step:e,stepDesc:n,t}){const r=Math.min(Math.max(e-1,0),_t.length-1);return i("div",{className:"relative z-[1] flex flex-col items-center gap-2 mb-4",children:[i("div",{className:"flex items-center",children:_t.map((x,a)=>{const o=a<r,s=a===r;return i("div",{className:"flex items-center",children:[i("span",{className:`w-[9px] h-[9px] rounded-full ${s?"chip-blink":""}`,style:{background:o||s?"var(--brand-500)":"var(--row-hover)",border:o||s?"none":"1px solid var(--border)",boxShadow:s?"0 0 8px rgba(var(--brand-rgb),0.7)":void 0}}),a<_t.length-1&&i("span",{className:"w-5 h-px",style:{background:o?"var(--brand-500)":"var(--border)"}})]},x)})}),i("span",{className:"text-[11px] font-mono text-center max-w-full truncate",style:{color:"var(--text-subtle)"},children:[t(_t[r]),n?` — ${n}`:""]})]})}function Pa({agentReachable:e=!0,step:n,stepDesc:t="",healthCheck:r,transport:x,tunnelUrl:a,oneTimeKey:o,oneTimeKeyExpiresAt:s,permanentKey:l,qrUrl:d,permissions:f,desktopEnabled:b,updateVersion:u,isUpdating:m=!1,connections:g=[],version:I="",onRequestPermission:B,onDesktopToggle:k,onStop:h,onStartConnection:y,onShutdown:U,onGenerateOneTimeKey:oe,onRegenerateKey:C,logs:q=[],onClearLogs:A,theme:D,onToggleTheme:N,pendingDevice:S,onDeviceApprove:_,onDeviceReject:w,approvedDevices:te=[],rejectedDevices:be=[],onDeviceRemove:ke,onFetchDevices:Se,onDeviceApproveRejected:Be,onDeviceLabel:ve,autoApprove:Ie=!1,onAutoApproveToggle:Ue,autoStart:ze=!1,onAutoStartToggle:Ae,sleepInhibitMode:_e="never",sleepInhibitPresets:Ge=[],onSleepInhibitChange:Qe,remoteEnabled:ce=!0,onRemoteToggle:fe,unlockStatus:De=null,onRequestUnlockInstall:qe,onRequestUnlockUninstall:rn}){var ye;const{t:he}=Xn(),[xn,Ze]=ie(!1),[Ee,Xe]=ie(!1),[an,$e]=ie(!1),[Ce,et]=ie(null),[tt,nt]=ie(null),[mt,ft]=ie(""),rt=Ne(null),on=()=>{const ue=window.location.port==="5173"?`${window.location.protocol}//${window.location.hostname}:2208/workspace`:"/workspace";if(window.__TAURI__){window.location.href=ue;return}window.open(ue,"_blank")},sn=()=>{try{sessionStorage.setItem("9remote_manual_disconnect","1")}catch{}const ue=window.location.port==="5173"?`${window.location.protocol}//${window.location.hostname}:2208/login?mode=remote`:"/login?mode=remote";if(window.__TAURI__){window.location.href=ue;return}window.open(ue,"_blank")};pe(()=>{Se==null||Se()},[g.length]),pe(()=>{if(!S)return;const ue=ge=>{if(ge.key==="Escape")ge.preventDefault(),w==null||w();else if(ge.key==="Enter"){if(rt.current&&document.activeElement===rt.current)return;ge.preventDefault(),_==null||_()}};return window.addEventListener("keydown",ue),()=>window.removeEventListener("keydown",ue)},[S,w,_]);const T=Aa(n,x),ne=Ta(te,g,be),se=ne.filter(ue=>ue.status==="online").length;return i("div",{className:"h-full w-full flex overflow-hidden isolate",style:{background:"var(--bg-body)"},children:[i("div",{className:"bg-sq-grid fixed inset-0 pointer-events-none",style:{zIndex:-3},"aria-hidden":"true"}),i("div",{className:"bg-light-drift fixed inset-0 pointer-events-none",style:{zIndex:-2},"aria-hidden":"true"}),i("main",{className:"flex-1 min-w-0 grid grid-cols-1 lg:grid-cols-2 overflow-y-auto lg:overflow-hidden",children:[!e&&i("div",{className:"col-span-full px-4 py-2 text-center text-xs font-medium",style:{background:"var(--danger)",color:"#fff"},children:he("connection.agentUnreachable")}),i("section",{className:"relative flex flex-col p-6 lg:p-10 min-w-0 lg:overflow-y-auto",children:[i("div",{className:"pane-hero-glow","aria-hidden":"true"}),i("div",{className:"relative z-[1] flex flex-col items-center my-auto",children:ce?i(Re,{children:[i("h1",{className:"brand-grad-text text-[30px] lg:text-[34px] font-bold tracking-[-0.03em] leading-[1.05] text-center mb-5",children:he("connection.pairDevice")}),n>0&&n<5&&i(Ea,{step:n,stepDesc:t,t:he}),i(va,{qrUrl:d,oneTimeKey:o,oneTimeKeyExpiresAt:s,permanentKey:l,onGenerateOneTimeKey:oe,onRegenerateKey:C})]}):i("div",{className:"glass-card w-full max-w-[380px] flex flex-col items-center gap-2.5 py-10 px-6",children:[i("span",{className:"material-symbols-outlined",style:{fontSize:40,color:"var(--text-subtle)"},children:"cloud_off"}),i("p",{className:"text-[13.5px] font-semibold text-center",style:{color:"var(--text-main)"},children:he("remote.remoteOff")}),i("p",{className:"text-xs leading-relaxed text-center",style:{color:"var(--text-muted)"},children:he("remote.remoteOffDesc")})]})}),i("div",{className:"hero-card group relative z-[1] mt-6 w-full p-4 flex items-center gap-3 flex-shrink-0 cursor-pointer",onClick:()=>ce?Xe(!0):fe==null?void 0:fe(),children:[i("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0 relative z-[1] transition-transform group-hover:scale-105",style:{background:"var(--surface-2)",border:"1px solid var(--border-subtle)",color:ce?"var(--success)":"var(--text-muted)"},children:i("span",{className:"material-symbols-outlined",style:{fontSize:22},children:ce?"cloud_done":"cloud_off"})}),i("div",{className:"flex-1 min-w-0 relative z-[1]",children:[i("h3",{className:"text-[15px] font-bold tracking-tight",style:{color:"var(--text-main)"},children:he(ce?"remote.remoteOn":"remote.remoteOff")}),i("p",{className:"text-xs mt-0.5 font-normal line-clamp-1 flex items-center gap-1.5",style:{color:"var(--text-muted)"},children:ce?i(Re,{children:[i("span",{className:`w-[6px] h-[6px] rounded-full flex-shrink-0 ${T.blink?"chip-blink":""}`,style:{background:T.color,boxShadow:T.color==="var(--success)"?"0 0 8px rgba(var(--success-rgb),0.9)":void 0}}),i("span",{className:"font-mono truncate",children:T.text})]}):i("span",{className:"truncate",children:he("remote.remoteOffDesc")})})]}),i("span",{className:"flex-shrink-0 relative z-[1] px-3.5 py-2 rounded-xl text-xs font-semibold transition-all",style:{background:ce?"var(--surface-2)":"var(--brand-500)",color:ce?"var(--text-main)":"#fff",border:ce?"1px solid var(--border-subtle)":"none"},children:he(ce?"remote.turnOff":"remote.turnOn")}),ce&&n===0&&i("span",{role:"button",title:"Retry remote connection",onClick:ue=>{ue.stopPropagation(),y==null||y()},className:"flex-shrink-0 relative z-[1] w-9 h-9 grid place-items-center rounded-xl card-act",style:{background:"var(--surface-2)",border:"1px solid var(--border-subtle)",color:"var(--text-main)"},children:i("span",{className:"material-symbols-outlined",style:{fontSize:18},children:"refresh"})})]})]}),i("section",{className:"relative min-w-0 pt-10 pb-11 pr-8 pl-6 lg:pl-14 lg:pr-12 lg:overflow-y-auto",style:{background:"var(--pane-right-bg)"},children:[i("div",{className:"flex items-center gap-3 mb-8",children:[i("div",{className:"logo-glass w-10 h-10 rounded-[11px] grid place-items-center flex-shrink-0",children:i("span",{className:"material-symbols-outlined",style:{fontSize:21,color:"var(--text-main)"},children:"terminal"})}),i("div",{className:"flex flex-col leading-none min-w-0",children:[i("span",{className:"brand-grad-text text-[20px] font-bold tracking-[-0.02em]",children:"9Remote"}),I&&i("span",{className:"font-mono text-[11px] mt-[5px]",style:{color:"var(--text-subtle)"},children:["v",I]})]}),i("div",{className:"flex-1"}),i(ya,{variant:"hdr",theme:D,onToggleTheme:N,isStopped:n===0,onStop:()=>Ze(!0),onShutdown:()=>$e(!0),logs:q,onClearLogs:A,autoStart:ze,onAutoStartToggle:Ae,unlockStatus:De,onRequestUnlockInstall:qe,onRequestUnlockUninstall:rn,version:I})]}),i(Ca,{version:u,isUpdating:m}),i("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3.5 mb-8",children:[i("button",{onClick:on,className:"hero-card group text-left p-4 flex flex-col justify-between",children:[i("div",{className:"flex items-start justify-between w-full mb-3 relative z-[1]",children:[i("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center transition-transform group-hover:scale-105",style:{background:"var(--surface-2)",color:"var(--text-main)",border:"1px solid var(--border-subtle)"},children:i("span",{className:"material-symbols-outlined",style:{fontSize:22},children:"computer"})}),i("span",{className:"material-symbols-outlined text-text-muted opacity-60 group-hover:opacity-100 group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition-all",style:{fontSize:16},children:"open_in_new"})]}),i("div",{className:"relative z-[1]",children:[i("h3",{className:"text-[15px] font-bold tracking-tight",style:{color:"var(--text-main)"},children:"This Workspace"}),i("p",{className:"text-xs mt-0.5 font-normal line-clamp-1",style:{color:"var(--text-muted)"},children:"Terminal & files on this machine"})]})]}),i("button",{onClick:sn,className:"hero-card group text-left p-4 flex flex-col justify-between",children:[i("div",{className:"flex items-start justify-between w-full mb-3 relative z-[1]",children:[i("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center transition-transform group-hover:scale-105",style:{background:"var(--surface-2)",color:"var(--text-main)",border:"1px solid var(--border-subtle)"},children:i("span",{className:"material-symbols-outlined",style:{fontSize:22},children:"hub"})}),i("span",{className:"material-symbols-outlined text-text-muted opacity-60 group-hover:opacity-100 group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition-all",style:{fontSize:16},children:"open_in_new"})]}),i("div",{className:"relative z-[1]",children:[i("h3",{className:"text-[15px] font-bold tracking-tight",style:{color:"var(--text-main)"},children:"Remote Workspace"}),i("p",{className:"text-xs mt-0.5 font-normal line-clamp-1",style:{color:"var(--text-muted)"},children:"Connect to a remote agent"})]})]})]}),i(X0,{title:"Services",first:!0,children:[i(Sa,{desktopEnabled:b,onDesktopToggle:k,permissions:f,onRequestPermission:B,t:he}),i(Ia,{mode:_e,presets:Ge,onChange:Qe,t:he})]}),i(X0,{title:"Clients",count:ne.length>0?`${se}/${ne.length}`:null,children:[i("div",{className:"row-hover flex items-center gap-4 py-3 px-3 -mx-3 rounded-xl",children:[i("span",{className:"material-symbols-outlined flex-shrink-0",style:{fontSize:19,color:Ie?"var(--brand-400)":"var(--text-muted)"},children:Ie?"lock_open":"lock"}),i("div",{className:"flex-1 min-w-0",children:i("p",{className:"text-[13.5px] font-semibold",style:{color:"var(--text-main)"},children:he("clients.autoApprove")})}),i(Jr,{on:Ie,onClick:Ue,title:Ie?"Disable auto-approve":"Enable auto-approve"})]}),ne.length===0?i("p",{className:"text-xs text-center py-4",style:{color:"var(--text-muted)"},children:"No clients yet"}):ne.map(ue=>i(Ra,{client:ue,onRemove:et,onApprove:ge=>Be==null?void 0:Be(ge.deviceId),onLabel:ge=>{nt(ge),ft(ge.label||"")}},ue.deviceId))]})]})]}),xn&&i(Fe,{message:"Reset and stop the tunnel? Remote clients will be disconnected.",confirmLabel:"Reset",onConfirm:()=>{Ze(!1),h==null||h()},onCancel:()=>Ze(!1)}),Ee&&i(Fe,{message:"Turn off remote access? Connected devices will be disconnected immediately.",confirmLabel:"Turn off",confirmDanger:!0,onConfirm:()=>{Xe(!1),fe==null||fe()},onCancel:()=>Xe(!1)}),an&&i(Fe,{message:"Shutdown 9Remote completely? This will stop the server, close the tunnel and quit the app.",confirmLabel:"Shutdown",confirmDanger:!0,onConfirm:()=>{$e(!1),U==null||U()},onCancel:()=>$e(!1)}),Ce&&i(Fe,{message:Ce.status==="online"?`Disconnect and remove device ${Ce.deviceId.slice(0,8)}...? The client will be disconnected and need approval again next time.`:Ce.status==="pending"?`Remove pending device ${Ce.deviceId.slice(0,8)}...? It will need a fresh approval request to connect again.`:`Remove device ${Ce.deviceId.slice(0,8)}...? It will need approval again next time.`,confirmLabel:Ce.status==="online"?"Disconnect & Remove":"Remove",confirmDanger:!0,onConfirm:()=>{ke==null||ke(Ce),et(null)},onCancel:()=>et(null)}),tt&&i(Fe,{message:`Name for device ${tt.deviceId.slice(0,8)}...`,confirmLabel:"Save",inputValue:mt,inputPlaceholder:"e.g. My MacBook",onInput:ft,onConfirm:()=>{ve==null||ve(tt.deviceId,mt.trim()),nt(null)},onCancel:()=>nt(null)}),S&&i("div",{className:"fixed inset-0 z-50 flex items-center justify-center",style:{background:"rgba(0,0,0,0.6)"},children:i("div",{className:"card-elev p-5 flex flex-col gap-4 w-80",children:[i("div",{className:"flex items-center gap-2",children:[i("span",{className:"material-symbols-outlined",style:{color:"var(--brand-500)",fontSize:24},children:"devices"}),i("span",{className:"text-sm font-semibold",style:{color:"var(--text-main)"},children:"New Device Connection"})]}),i("div",{className:"flex flex-col gap-1 text-xs",style:{color:"var(--text-muted)"},children:[i("span",{children:["Device: ",i("span",{style:{color:"var(--text-main)"},children:[(ye=S.deviceId)==null?void 0:ye.slice(0,8),"..."]})]}),i("span",{children:["IP: ",i("span",{style:{color:"var(--text-main)"},children:S.ip})]})]}),i("div",{className:"flex gap-2",children:[i("button",{ref:rt,onClick:w,className:"glass-btn flex-1 py-2 text-sm flex items-center justify-center gap-1.5",style:{color:"var(--text-muted)"},children:[i("span",{children:"Reject"}),i("kbd",{className:"text-[10px] font-mono px-1 py-0.5 rounded opacity-70 leading-none",style:{background:"var(--glass-bg)"},children:"Esc"})]}),i("button",{onClick:_,className:"flex-1 py-2 text-sm font-semibold rounded-lg flex items-center justify-center gap-1.5",style:{background:"var(--brand-500)",color:"#fff"},children:[i("span",{children:"Approve"}),i("kbd",{className:"text-[10px] font-mono px-1 py-0.5 rounded bg-white/20 text-white leading-none",children:"↵"})]})]})]})})]})}const Ma=3e3,Oa=5,Fn={running:!1,timeoutMs:0,startedAt:null,logs:[]},Wn={status:"unknown",checkedAt:null},er={step:0,stepDesc:"",tunnelUrl:"",oneTimeKey:"",oneTimeKeyExpiresAt:null,pairingUsed:!1,permanentKey:"",qrUrl:"",latency:null,uptime:null,healthCheck:Fn,tunnelHealth:Wn},Ba={signaling:"off",rtcPeers:0,wsPeers:0,rtcDisabled:!1},Ua={screenRecording:!1,accessibility:!1},tr=200;function za(){const[e,n]=ie(er),[t,r]=ie(!0),[x,a]=ie(Ua),[o,s]=ie(Ba),[l,d]=ie(!1),[f,b]=ie([]),[u,m]=ie(null),[g,I]=ie(!1),[B,k]=ie([]),[h,y]=ie(null),[U,oe]=ie([]),[C,q]=ie([]),[A,D]=ie(!1),[N,S]=ie(!1),[_,w]=ie("never"),[te,be]=ie([]),[ke,Se]=ie(!0),[Be,ve]=ie(null),[Ie,Ue]=ie(""),ze=Ne(""),Ae=Ne(!1),[_e,Ge]=ie(()=>localStorage.getItem("app_theme_v2")||localStorage.getItem("9remote-theme")||"dark");pe(()=>{var T,ne,se,ye,ue,ge,xt,Pe,at;document.documentElement.setAttribute("data-theme",_e),document.documentElement.classList.remove("light","dark"),document.documentElement.classList.add(_e),document.documentElement.style.colorScheme=_e,localStorage.setItem("9remote-theme",_e),localStorage.setItem("app_theme_v2",_e);try{const we=(se=(ne=(T=window.__TAURI__)==null?void 0:T.window)==null?void 0:ne.getCurrentWindow)==null?void 0:se.call(ne);we&&((ge=(ue=(ye=we.setTheme)==null?void 0:ye.call(we,_e))==null?void 0:ue.catch)==null||ge.call(ue,()=>{}),(at=(Pe=(xt=we.setBackgroundColor)==null?void 0:xt.call(we,_e==="light"?"#e7e7e9":"#2a2a2a"))==null?void 0:Pe.catch)==null||at.call(Pe,()=>{}))}catch{}},[_e]);const Qe=()=>{Ge(T=>T==="dark"?"light":"dark")};pe(()=>{var xt,Pe,at,we,$n;try{($n=(we=(at=(Pe=(xt=window.__TAURI__)==null?void 0:xt.window)==null?void 0:Pe.getCurrentWindow)==null?void 0:at.call(Pe).setTitle("9Remote"))==null?void 0:we.catch)==null||$n.call(we,()=>{})}catch{}let T=null;window.__TAURI__&&(T=v=>{(v.key==="F5"||(v.metaKey||v.ctrlKey)&&v.key.toLowerCase()==="r")&&(v.preventDefault(),window.location.reload())},window.addEventListener("keydown",T));const ne=()=>{Ae.current||(Ae.current=!0,fetch("/api/version",{cache:"no-store"}).then(v=>v.json()).then(v=>{const E=v.version??"";if(E){if(ze.current&&ze.current!==E){window.location.reload();return}ze.current=E,Ue(E)}}).catch(()=>{}).finally(()=>{Ae.current=!1}))};ne(),fetch("/api/ui/state").then(v=>v.json()).then(v=>{n({step:v.step??0,stepDesc:v.stepDesc??"",tunnelUrl:v.tunnelUrl??"",oneTimeKey:v.oneTimeKey??"",oneTimeKeyExpiresAt:v.oneTimeKeyExpiresAt??null,pairingUsed:v.pairingUsed??!1,permanentKey:v.permanentKey??"",qrUrl:v.qrUrl??"",latency:v.latency??null,uptime:v.uptime??null,healthCheck:v.healthCheck??Fn,tunnelHealth:v.tunnelHealth??Wn}),a({screenRecording:v.screenRecording??!1,accessibility:v.accessibility??!1}),v.transport&&s(v.transport),v.desktopEnabled!==void 0&&d(v.desktopEnabled),v.theme&&(v.theme==="light"||v.theme==="dark")&&Ge(v.theme)}).catch(()=>{}),fetch("/api/logs").then(v=>v.json()).then(v=>{Array.isArray(v==null?void 0:v.logs)&&b(v.logs)}).catch(()=>{});const se=new EventSource("/api/ui/events");se.onmessage=v=>{try{const E=JSON.parse(v.data);r(!0),E.type==="state"?(ne(),n({step:E.step??0,stepDesc:E.stepDesc??"",tunnelUrl:E.tunnelUrl??"",oneTimeKey:E.oneTimeKey??"",oneTimeKeyExpiresAt:E.oneTimeKeyExpiresAt??null,pairingUsed:E.pairingUsed??!1,permanentKey:E.permanentKey??"",qrUrl:E.qrUrl??"",latency:E.latency??null,uptime:E.uptime??null,healthCheck:E.healthCheck??Fn,tunnelHealth:E.tunnelHealth??Wn})):E.type==="log"?b(ot=>{const Le=[...ot,E.message];return Le.length>tr?Le.slice(-tr):Le}):E.type==="updateAvailable"?m(E.version):E.type==="updating"?I(!0):E.type==="permissions"?(a({screenRecording:E.screenRecording,accessibility:E.accessibility}),E.desktopEnabled!==void 0&&d(E.desktopEnabled)):E.type==="transport"?s({signaling:E.signaling,rtcPeers:E.rtcPeers,wsPeers:E.wsPeers,rtcDisabled:E.rtcDisabled}):E.type==="connections"?k(E.connections??[]):E.type==="deviceApproval"&&E.action==="pending"?y({socketId:E.socketId,deviceId:E.deviceId,ip:E.ip}):E.type==="deviceApproval"&&E.action==="refresh"?Ee():E.type==="autostart"?S(!!E.enabled):E.type==="sleepInhibit"?(E.mode&&w(E.mode),Array.isArray(E.presets)&&be(E.presets)):E.type==="remote"&&Se(!!E.enabled)}catch{}},se.onerror=()=>r(!1),se.onopen=()=>{r(!0),ne()},fetch("/api/device/auto-approve").then(v=>v.json()).then(v=>{D(!!(v!=null&&v.enabled))}).catch(()=>{}),fetch("/api/autostart").then(v=>v.json()).then(v=>{S(!!(v!=null&&v.enabled))}).catch(()=>{}),fetch("/api/sleep-inhibit").then(v=>v.json()).then(v=>{v!=null&&v.mode&&w(v.mode),Array.isArray(v==null?void 0:v.presets)&&be(v.presets)}).catch(()=>{}),fetch("/api/remote/enabled").then(v=>v.json()).then(v=>{typeof(v==null?void 0:v.enabled)=="boolean"&&Se(v.enabled)}).catch(()=>{});const ye=()=>fetch("/api/desktop-unlock").then(v=>v.json()).then(v=>{v!=null&&v.supported&&ve(E=>E!=null&&E.busy?E:v)}).catch(()=>{});ye();const ue=setInterval(ye,1e4),ge=setInterval(async()=>{var v;if(!ce.current)try{const E=await fetch("/api/device/pending");if(!E.ok)return;const ot=await E.json(),Le=(v=ot==null?void 0:ot.pending)==null?void 0:v[0];Le&&!ce.current&&y({socketId:Le.socketId,deviceId:Le.deviceId,ip:Le.ip})}catch{}},Ma);return()=>{se.close(),clearInterval(ge),clearInterval(ue),T&&window.removeEventListener("keydown",T)}},[]);const ce=Ne(null);pe(()=>{ce.current=h},[h]);const fe=Ne(!1);pe(()=>{fe.current||!e.permanentKey||e.oneTimeKey||e.qrUrl||e.pairingUsed||e.step===Oa&&(fe.current=!0,fetch("/api/key/one-time",{method:"POST"}).catch(()=>{}))},[e.permanentKey,e.oneTimeKey,e.qrUrl,e.pairingUsed,e.step]);const De=async T=>{await fetch("/api/permissions/request",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:T})}).catch(()=>{})},qe=()=>{fetch("/api/ui/start",{method:"POST"}).catch(()=>{})},rn=()=>{fetch("/api/ui/stop",{method:"POST"}).catch(()=>{})},he=()=>{fetch("/api/ui/shutdown",{method:"POST"}).catch(()=>{}),n(er)},xn=async()=>{const T=await fetch("/api/key/one-time",{method:"POST"}).catch(()=>null);if(!(T!=null&&T.ok))return;const ne=await T.json().catch(()=>null);ne!=null&&ne.oneTimeKey&&n(se=>({...se,oneTimeKey:ne.oneTimeKey,oneTimeKeyExpiresAt:ne.expiresAt,qrUrl:ne.qrUrl??se.qrUrl}))},Ze=async()=>{const T=!l;d(T),await fetch("/api/desktop/toggle",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:T})}).catch(()=>{})},Ee=async()=>{try{const[T,ne]=await Promise.all([fetch("/api/device/approved"),fetch("/api/device/rejected")]);if(T.ok){const se=await T.json();oe(se.devices||[])}if(ne.ok){const se=await ne.json();q(se.rejected||[])}}catch{}},Xe=async T=>{const ne=T.status==="pending"?"/api/device/clear-rejected":"/api/device/remove";await fetch(ne,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({deviceId:T.deviceId})}).catch(()=>{}),Ee()},an=async()=>{h&&(await fetch("/api/device/approve",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({socketId:h.socketId})}).catch(()=>{}),y(null),Ee())},$e=async()=>{h&&(await fetch("/api/device/reject",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({socketId:h.socketId})}).catch(()=>{}),y(null),Ee())},Ce=async()=>{const T=!N;S(T);try{const se=await(await fetch("/api/autostart",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:T})})).json().catch(()=>null);se&&typeof se.enabled=="boolean"&&S(se.enabled)}catch{S(!T)}},et=async()=>{const T=!ke;Se(T);try{const se=await(await fetch("/api/remote/enabled",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:T})})).json().catch(()=>null);typeof(se==null?void 0:se.enabled)=="boolean"&&Se(se.enabled)}catch{Se(!T)}},tt=async T=>{const ne=_;w(T);try{const ye=await(await fetch("/api/sleep-inhibit",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({mode:T})})).json().catch(()=>null);ye!=null&&ye.mode&&w(ye.mode)}catch{w(ne)}},nt=async()=>{ve(T=>({...T||{supported:!0},busy:!0}));try{const ne=await(await fetch("/api/desktop-unlock/install",{method:"POST"})).json().catch(()=>null);ne&&ve({supported:!0,...ne,busy:!1})}catch{ve(T=>({...T||{supported:!0},busy:!1}))}},mt=async()=>{ve(T=>({...T||{supported:!0},busy:!0}));try{const ne=await(await fetch("/api/desktop-unlock/uninstall",{method:"POST"})).json().catch(()=>null);ne&&ve({supported:!0,...ne,busy:!1})}catch{ve(T=>({...T||{supported:!0},busy:!1}))}},ft=async()=>{const T=!A;D(T);try{const se=await(await fetch("/api/device/auto-approve",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:T})})).json().catch(()=>null);se&&typeof se.enabled=="boolean"&&D(se.enabled)}catch{D(!T)}},rt=async T=>{await fetch("/api/device/approve-rejected",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({deviceId:T})}).catch(()=>{}),Ee()},on=async(T,ne)=>{await fetch("/api/device/label",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({deviceId:T,label:ne})}).catch(()=>{}),Ee()},sn=async()=>{const T=await fetch("/api/key/regenerate",{method:"POST"}).catch(()=>null);if(!(T!=null&&T.ok))return;const ne=await T.json().catch(()=>null);ne!=null&&ne.permanentKey&&n(se=>({...se,permanentKey:ne.permanentKey}))};return i(Pa,{agentReachable:t,step:e.step,stepDesc:e.stepDesc,healthCheck:e.healthCheck,transport:o,tunnelUrl:e.tunnelUrl,oneTimeKey:e.oneTimeKey,oneTimeKeyExpiresAt:e.oneTimeKeyExpiresAt,permanentKey:e.permanentKey,qrUrl:e.qrUrl,permissions:x,desktopEnabled:l,updateVersion:u,isUpdating:g,connections:B,onRequestPermission:De,onDesktopToggle:Ze,onStop:rn,onStartConnection:qe,onShutdown:he,onGenerateOneTimeKey:xn,onRegenerateKey:sn,logs:f,onClearLogs:()=>{fetch("/api/logs/clear",{method:"POST"}).catch(()=>{}),b([])},version:Ie,theme:_e,onToggleTheme:Qe,pendingDevice:h,onDeviceApprove:an,onDeviceReject:$e,approvedDevices:U,rejectedDevices:C,onDeviceRemove:Xe,onFetchDevices:Ee,onDeviceApproveRejected:rt,onDeviceLabel:on,autoApprove:A,onAutoApproveToggle:ft,autoStart:N,onAutoStartToggle:Ce,sleepInhibitMode:_,sleepInhibitPresets:te,remoteEnabled:ke,onRemoteToggle:et,unlockStatus:Be,onRequestUnlockInstall:nt,onRequestUnlockUninstall:mt,onSleepInhibitChange:tt})}Gn(i(za,{}),document.getElementById("root"));