9remote 2.5.3 → 2.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +80 -80
- package/dist/server.cjs +3 -3
- package/dist/ui/assets/index-MX08IV5-.js +58 -0
- package/dist/ui/index.html +1 -1
- package/package.json +1 -1
- package/dist/ui/assets/index-Hks7z_wE.js +0 -58
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();var Zn,B,Lr,We,Qt,Or,Kr,nt,gn,xn,qr,zt,Mt,Ut,yn={},kn=[],E0=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Xn=Array.isArray;function Te(e,t){for(var n in t)e[n]=t[n];return e}function Lt(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function A0(e,t,n){var r,o,a,s={};for(a in t)a=="key"?r=t[a]:a=="ref"?o=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?Zn.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)s[a]===void 0&&(s[a]=e.defaultProps[a]);return hn(e,s,r,o,null)}function hn(e,t,n,r,o){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++Lr,__i:-1,__u:0};return o==null&&B.vnode!=null&&B.vnode(a),a}function Ce(e){return e.children}function De(e,t){this.props=e,this.context=t}function Ke(e,t){if(t==null)return e.__?Ke(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Ke(e):null}function W0(e){if(e.__P&&e.__d){var t=e.__v,n=t.__e,r=[],o=[],a=Te({},t);a.__v=t.__v+1,B.vnode&&B.vnode(a),Ot(e.__P,a,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,r,n??Ke(t),!!(32&t.__u),o),a.__v=t.__v,a.__.__k[a.__i]=a,Yr(r,a,o),t.__e=t.__=null,a.__e!=n&&Fr(a)}}function Fr(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),Fr(e)}function Vt(e){(!e.__d&&(e.__d=!0)&&We.push(e)&&!_n.__r++||Qt!=B.debounceRendering)&&((Qt=B.debounceRendering)||Or)(_n)}function _n(){try{for(var e,t=1;We.length;)We.length>t&&We.sort(Kr),e=We.shift(),t=We.length,W0(e)}finally{We.length=_n.__r=0}}function Hr(e,t,n,r,o,a,s,i,l,u,f){var h,c,g,y,d,b,p=r&&r.__k||kn,k=t.length;for(l=B0(n,t,p,l,k),h=0;h<k;h++)(g=n.__k[h])!=null&&(c=g.__i!=-1&&p[g.__i]||yn,g.__i=h,b=Ot(e,g,c,o,a,s,i,l,u,f),y=g.__e,g.ref&&c.ref!=g.ref&&(c.ref&&Kt(c.ref,null,g),f.push(g.ref,g.__c||y,g)),d==null&&y!=null&&(d=y),4&g.__u?(l=Qr(g,l,e),c.__e&&(c.__e=null)):typeof g.type=="function"&&b!==void 0?l=b:y&&(l=y.nextSibling),g.__u&=-7);return n.__e=d,l}function B0(e,t,n,r,o){var a,s,i,l,u,f=n.length,h=f,c=0;for(e.__k=new Array(o),a=0;a<o;a++)(s=t[a])!=null&&typeof s!="boolean"&&typeof s!="function"?(typeof s=="string"||typeof s=="number"||typeof s=="bigint"||s.constructor==String?s=e.__k[a]=hn(null,s,null,null,null):Xn(s)?s=e.__k[a]=hn(Ce,{children:s},null,null,null):s.constructor===void 0&&s.__b>0?s=e.__k[a]=hn(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):e.__k[a]=s,l=a+c,s.__=e,s.__b=e.__b+1,i=null,(u=s.__i=G0(s,n,l,h))!=-1&&(h--,(i=n[u])&&(i.__u|=2)),i==null||i.__v==null?(u==-1&&(o>f?c--:o<f&&c++),typeof s.type!="function"&&(s.__u|=4)):u!=l&&(u==l-1?c--:u==l+1?c++:(u>l?c--:c++,s.__u|=4))):e.__k[a]=null;if(h)for(a=0;a<f;a++)(i=n[a])!=null&&(2&i.__u)==0&&(i.__e==r&&(r=Ke(i)),Zr(i,i));return r}function Qr(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=Qr(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!t.parentNode&&(t=Ke(e)),t=n.insertBefore(e.__e,t||null));do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function G0(e,t,n,r){var o,a,s,i=e.key,l=e.type,u=t[n],f=u!=null&&(2&u.__u)==0;if(u===null&&i==null||f&&i==u.key&&l==u.type)return n;if(r>(f?1:0)){for(o=n-1,a=n+1;o>=0||a<t.length;)if((u=t[s=o>=0?o--:a++])!=null&&(2&u.__u)==0&&i==u.key&&l==u.type)return s}return-1}function Yt(e,t,n){t[0]=="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||E0.test(t)?n:n+"px"}function un(e,t,n,r,o){var a,s;e:if(t=="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Yt(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||Yt(e.style,t,n[t])}else if(t[0]=="o"&&t[1]=="n")a=t!=(t=t.replace(qr,"$1")),s=t.toLowerCase(),t=s in e||t=="onFocusOut"||t=="onFocusIn"?s.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=n,n?r?n[xn]=r[xn]:(n[xn]=zt,e.addEventListener(t,a?Ut:Mt,a)):e.removeEventListener(t,a?Ut:Mt,a);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Jt(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t[gn]==null)t[gn]=zt++;else if(t[gn]<n[xn])return;return n(B.event?B.event(t):t)}}}function Ot(e,t,n,r,o,a,s,i,l,u){var f,h,c,g,y,d,b,p,k,_,N,X,w,D,M,S,T=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),a=[i=t.__e=n.__e]),(f=B.__b)&&f(t);e:if(typeof T=="function"){h=s.length;try{if(k=t.props,_=T.prototype&&T.prototype.render,N=(f=T.contextType)&&r[f.__c],X=f?N?N.props.value:f.__:r,n.__c?p=(c=t.__c=n.__c).__=c.__E:(_?t.__c=c=new T(k,X):(t.__c=c=new De(k,X),c.constructor=T,c.render=L0),N&&N.sub(c),c.state||(c.state={}),c.__n=r,g=c.__d=!0,c.__h=[],c._sb=[]),_&&c.__s==null&&(c.__s=c.state),_&&T.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Te({},c.__s)),Te(c.__s,T.getDerivedStateFromProps(k,c.__s))),y=c.props,d=c.state,c.__v=t,g)_&&T.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),_&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(_&&T.getDerivedStateFromProps==null&&k!==y&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(k,X),t.__v==n.__v||!c.__e&&c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(k,c.__s,X)===!1){t.__v!=n.__v&&(c.props=k,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(I){I&&(I.__=t)}),kn.push.apply(c.__h,c._sb),c._sb=[],c.__h.length&&s.push(c),i=Ke(n);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(k,c.__s,X),_&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(y,d,b)})}if(c.context=X,c.props=k,c.__P=e,c.__e=!1,w=B.__r,D=0,_)c.state=c.__s,c.__d=!1,w&&w(t),f=c.render(c.props,c.state,c.context),kn.push.apply(c.__h,c._sb),c._sb=[];else do c.__d=!1,w&&w(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++D<25);c.state=c.__s,c.getChildContext!=null&&(r=Te(Te({},r),c.getChildContext())),_&&!g&&c.getSnapshotBeforeUpdate!=null&&(b=c.getSnapshotBeforeUpdate(y,d)),M=f!=null&&f.type===Ce&&f.key==null?Jr(f.props.children):f,i=Hr(e,Xn(M)?M:[M],t,n,r,o,a,s,i,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&s.push(c),p&&(c.__E=c.__=null)}catch(I){if(s.length=h,t.__v=null,l||a!=null){if(I.then){for(t.__u|=l?160:128;i&&i.nodeType==8&&i.nextSibling;)i=i.nextSibling;a!=null&&(a[a.indexOf(i)]=null),t.__e=i}else if(a!=null)for(S=a.length;S--;)Lt(a[S])}else t.__e=n.__e;t.__k==null&&(t.__k=n.__k||[]),I.then||Vr(t),B.__e(I,t,n)}}else a==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):i=t.__e=z0(n.__e,t,n,r,o,a,s,l,u);return(f=B.diffed)&&f(t),128&t.__u?void 0:i}function Vr(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(Vr))}function Yr(e,t,n){for(var r=0;r<n.length;r++)Kt(n[r],n[++r],n[++r]);B.__c&&B.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(a){a.call(o)})}catch(a){B.__e(a,o.__v)}})}function Jr(e){return typeof e!="object"||e==null||e.__b>0?e:Xn(e)?e.map(Jr):e.constructor!==void 0?null:Te({},e)}function z0(e,t,n,r,o,a,s,i,l){var u,f,h,c,g,y,d,b=n.props||yn,p=t.props,k=t.type;if(k=="svg"?o="http://www.w3.org/2000/svg":k=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),a!=null){for(u=0;u<a.length;u++)if((g=a[u])&&"setAttribute"in g==!!k&&(k?g.localName==k:g.nodeType==3)){e=g,a[u]=null;break}}if(e==null){if(k==null)return document.createTextNode(p);e=document.createElementNS(o,k,p.is&&p),i&&(B.__m&&B.__m(t,a),i=!1),a=null}if(k==null)b===p||i&&e.data==p||(e.data=p);else{if(a=k=="textarea"&&p.defaultValue!=null?null:a&&Zn.call(e.childNodes),!i&&a!=null)for(b={},u=0;u<e.attributes.length;u++)b[(g=e.attributes[u]).name]=g.value;for(u in b)g=b[u],u=="dangerouslySetInnerHTML"?h=g:u=="children"||u in p||u=="value"&&"defaultValue"in p||u=="checked"&&"defaultChecked"in p||un(e,u,null,g,o);for(u in p)g=p[u],u=="children"?c=g:u=="dangerouslySetInnerHTML"?f=g:u=="value"?y=g:u=="checked"?d=g:i&&typeof g!="function"||b[u]===g||un(e,u,g,b[u],o);if(f)i||h&&(f.__html==h.__html||f.__html==e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(h&&(e.innerHTML=""),Hr(t.type=="template"?e.content:e,Xn(c)?c:[c],t,n,r,k=="foreignObject"?"http://www.w3.org/1999/xhtml":o,a,s,a?a[0]:n.__k&&Ke(n,0),i,l),a!=null)for(u=a.length;u--;)Lt(a[u]);i&&k!="textarea"||(u="value",k=="progress"&&y==null?e.removeAttribute("value"):y!=null&&(y!==e[u]||k=="progress"&&!y||k=="option"&&y!=b[u])&&un(e,u,y,b[u],o),u="checked",d!=null&&d!=e[u]&&un(e,u,d,b[u],o))}return e}function Kt(e,t,n){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(o){B.__e(o,n)}}function Zr(e,t,n){var r,o;if(B.unmount&&B.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||Kt(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){B.__e(a,t)}r.base=r.__P=r.__n=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Zr(r[o],t,n||typeof e.type!="function");n||Lt(e.__e),e.__c=e.__=e.__e=void 0}function L0(e,t,n){return this.constructor(e,n)}function O0(e,t,n){var r,o,a,s;t==document&&(t=document.documentElement),B.__&&B.__(e,t),o=(r=!1)?null:t.__k,a=[],s=[],Ot(t,e=t.__k=A0(Ce,null,[e]),o||yn,yn,t.namespaceURI,o?null:t.firstChild?Zn.call(t.childNodes):null,a,o?o.__e:t.firstChild,r,s),Yr(a,e,s),e.props.children=null}Zn=kn.slice,B={__e:function(e,t,n,r){for(var o,a,s;t=t.__;)if((o=t.__c)&&!o.__)try{if((a=o.constructor)&&a.getDerivedStateFromError!=null&&(o.setState(a.getDerivedStateFromError(e)),s=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),s=o.__d),s)return o.__E=o}catch(i){e=i}throw e}},Lr=0,De.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=Te({},this.state),typeof e=="function"&&(e=e(Te({},n),this.props)),e&&Te(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Vt(this))},De.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Vt(this))},De.prototype.render=Ce,We=[],Or=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Kr=function(e,t){return e.__v.__b-t.__v.__b},_n.__r=0,nt=Math.random().toString(8),gn="__d"+nt,xn="__a"+nt,qr=/(PointerCapture)$|Capture$/i,zt=0,Mt=Jt(!1),Ut=Jt(!0);var K0=0;function x(e,t,n,r,o,a){t||(t={});var s,i,l=t;if("ref"in l)for(i in l={},t)i=="ref"?s=t[i]:l[i]=t[i];var u={type:e,props:l,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--K0,__i:-1,__u:0,__source:o,__self:a};if(typeof e=="function"&&(s=e.defaultProps))for(i in s)l[i]===void 0&&(l[i]=s[i]);return B.vnode&&B.vnode(u),u}var tt;function se(e,t){return B.__a&&B.__a(t),e}(tt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:void 0)!=null&&tt.__PREACT_DEVTOOLS__&&tt.__PREACT_DEVTOOLS__.attachPreact("10.29.8",B,{Fragment:Ce,Component:De});var Zt={};function Ie(e){return e.type===Ce?"Fragment":typeof e.type=="function"?e.type.displayName||e.type.name:typeof e.type=="string"?e.type:"#text"}var ln=[],Ve=[];function Xr(){return ln.length>0?ln[ln.length-1]:null}var Xt=!0;function rt(e){return typeof e.type=="function"&&e.type!=Ce}function fe(e){for(var t=[e],n=e;n.__o!=null;)t.push(n.__o),n=n.__o;return t.reduce(function(r,o){r+=" in "+Ie(o);var a=o.__source;return a?r+=" (at "+a.fileName+":"+a.lineNumber+")":Xt&&console.warn("Add @babel/plugin-transform-react-jsx-source to get a more detailed component stack. Note that you should not add it to production builds of your App for bundle size reasons."),Xt=!1,r+`
|
|
2
|
+
`},"")}var q0=typeof WeakMap=="function";function jt(e){var t=[];return e.__k&&e.__k.forEach(function(n){n&&typeof n.type=="function"?t.push.apply(t,jt(n)):n&&typeof n.type=="string"&&t.push(n.type)}),t}function $r(e){return e?typeof e.type=="function"?e.__==null?e.__e!=null&&e.__e.parentNode!=null?e.__e.parentNode.localName:"":$r(e.__):e.type:""}var F0=De.prototype.setState;function ot(e){return e==="table"||e==="tfoot"||e==="tbody"||e==="thead"||e==="td"||e==="tr"||e==="th"}De.prototype.setState=function(e,t){return this.__v==null&&this.state==null&&console.warn(`Calling "this.setState" inside the constructor of a component is a no-op and might be a bug in your application. Instead, set "this.state = {}" directly.
|
|
3
|
+
|
|
4
|
+
`+fe(Xr())),F0.call(this,e,t)};var H0=/^(address|article|aside|blockquote|details|div|dl|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|main|menu|nav|ol|p|pre|search|section|table|ul)$/,Q0=De.prototype.forceUpdate;function ye(e){var t=e.props,n=Ie(e),r="";for(var o in t)if(t.hasOwnProperty(o)&&o!=="children"){var a=t[o];typeof a=="function"&&(a="function "+(a.displayName||a.name)+"() {}"),a=Object(a)!==a||a.toString?a+"":Object.prototype.toString.call(a),r+=" "+o+"="+JSON.stringify(a)}var s=t.children;return"<"+n+r+(s&&s.length?">..</"+n+">":" />")}De.prototype.forceUpdate=function(e){return this.__v==null?console.warn(`Calling "this.forceUpdate" inside the constructor of a component is a no-op and might be a bug in your application.
|
|
5
|
+
|
|
6
|
+
`+fe(Xr())):this.__P==null&&console.warn(`Can't call "this.forceUpdate" on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
|
|
7
|
+
|
|
8
|
+
`+fe(this.__v)),Q0.call(this,e)},B.__m=function(e,t){var n=e.type,r=t.map(function(o){return o&&o.localName}).filter(Boolean);console.error('Expected a DOM node of type "'+n+'" but found "'+r.join(", ")+`" as available DOM-node(s), this is caused by the SSR'd HTML containing different DOM-nodes compared to the hydrated one.
|
|
9
|
+
|
|
10
|
+
`+fe(e))},(function(){(function(){var d=B.__b,b=B.diffed,p=B.__,k=B.vnode,_=B.__r;B.diffed=function(N){rt(N)&&Ve.pop(),ln.pop(),b&&b(N)},B.__b=function(N){rt(N)&&ln.push(N),d&&d(N)},B.__=function(N,X){Ve=[],p&&p(N,X)},B.vnode=function(N){N.__o=Ve.length>0?Ve[Ve.length-1]:null,k&&k(N)},B.__r=function(N){rt(N)&&Ve.push(N),_&&_(N)}})();var e=!1,t=B.__b,n=B.diffed,r=B.vnode,o=B.__r,a=B.__e,s=B.__,i=B.__h,l=q0?{useEffect:new WeakMap,useLayoutEffect:new WeakMap,lazyPropTypes:new WeakMap}:null,u=[];B.__e=function(d,b,p,k){if(b&&b.__c&&typeof d.then=="function"){var _=d;d=new Error("Missing Suspense. The throwing component was: "+Ie(b));for(var N=b;N;N=N.__)if(N.__c&&N.__c.__c){d=_;break}if(d instanceof Error)throw d}try{(k=k||{}).componentStack=fe(b),a(d,b,p,k),typeof d.then!="function"&&setTimeout(function(){throw d})}catch(X){throw X}},B.__=function(d,b){if(!b)throw new Error(`Undefined parent passed to render(), this is the second argument.
|
|
11
|
+
Check if the element is available in the DOM/has the correct id.`);var p;switch(b.nodeType){case 1:case 11:case 9:p=!0;break;default:p=!1}if(!p){var k=Ie(d);throw new Error("Expected a valid HTML node as a second argument to render. Received "+b+" instead: render(<"+k+" />, "+b+");")}s&&s(d,b)},B.__b=function(d){var b=d.type;if(e=!0,b===void 0)throw new Error(`Undefined component passed to createElement()
|
|
12
|
+
|
|
13
|
+
You likely forgot to export your component or might have mixed up default and named imports`+ye(d)+`
|
|
14
|
+
|
|
15
|
+
`+fe(d));if(b!=null&&typeof b=="object")throw b.__k!==void 0&&b.__e!==void 0?new Error("Invalid type passed to createElement(): "+b+`
|
|
16
|
+
|
|
17
|
+
Did you accidentally pass a JSX literal as JSX twice?
|
|
18
|
+
|
|
19
|
+
let My`+Ie(d)+" = "+ye(b)+`;
|
|
20
|
+
let vnode = <My`+Ie(d)+` />;
|
|
21
|
+
|
|
22
|
+
This usually happens when you export a JSX literal and not the component.
|
|
23
|
+
|
|
24
|
+
`+fe(d)):new Error("Invalid type passed to createElement(): "+(Array.isArray(b)?"array":b));if(d.ref!==void 0&&typeof d.ref!="function"&&typeof d.ref!="object"&&!("$$typeof"in d))throw new Error(`Component's "ref" property should be a function, or an object created by createRef(), but got [`+typeof d.ref+`] instead
|
|
25
|
+
`+ye(d)+`
|
|
26
|
+
|
|
27
|
+
`+fe(d));if(typeof d.type=="string"){for(var p in d.props)if(p[0]==="o"&&p[1]==="n"&&typeof d.props[p]!="function"&&d.props[p]!=null)throw new Error(`Component's "`+p+'" property should be a function, but got ['+typeof d.props[p]+`] instead
|
|
28
|
+
`+ye(d)+`
|
|
29
|
+
|
|
30
|
+
`+fe(d))}if(typeof d.type=="function"&&d.type.propTypes){if(d.type.displayName==="Lazy"&&l&&!l.lazyPropTypes.has(d.type)){var k="PropTypes are not supported on lazy(). Use propTypes on the wrapped component itself. ";try{var _=d.type();l.lazyPropTypes.set(d.type,!0),console.warn(k+"Component wrapped in lazy() is "+Ie(_))}catch{console.warn(k+"We will log the wrapped component's name once it is loaded.")}}var N=d.props;d.type.__f&&delete(N=(function(X,w){for(var D in w)X[D]=w[D];return X})({},N)).ref,(function(X,w,D,M,S){Object.keys(X).forEach(function(T){var I;try{I=X[T](w,T,M,"prop",null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(P){I=P}I&&!(I.message in Zt)&&(Zt[I.message]=!0,console.error("Failed prop type: "+I.message+(S&&`
|
|
31
|
+
`+S()||"")))})})(d.type.propTypes,N,0,Ie(d),function(){return fe(d)})}t&&t(d)};var f,h=0;B.__r=function(d){o&&o(d),e=!0;var b=d.__c;if(b===f?h++:h=1,h>=25)throw new Error("Too many re-renders. This is limited to prevent an infinite loop which may lock up your browser. The component causing this is: "+Ie(d));f=b},B.__h=function(d,b,p){if(!d||!e)throw new Error("Hook can only be invoked from render methods.");i&&i(d,b,p)};var c=function(d,b){return{get:function(){var p="get"+d+b;u&&u.indexOf(p)<0&&(u.push(p),console.warn("getting vnode."+d+" is deprecated, "+b))},set:function(){var p="set"+d+b;u&&u.indexOf(p)<0&&(u.push(p),console.warn("setting vnode."+d+" is not allowed, "+b))}}},g={nodeName:c("nodeName","use vnode.type"),attributes:c("attributes","use vnode.props"),children:c("children","use vnode.props.children")},y=Object.create({},g);B.vnode=function(d){var b=d.props;if(d.type!==null&&b!=null&&("__source"in b||"__self"in b)){var p=d.props={};for(var k in b){var _=b[k];k==="__source"?d.__source=_:k==="__self"?d.__self=_:p[k]=_}}d.__proto__=y,r&&r(d)},B.diffed=function(d){var b,p=d.type,k=d.__;if(d.__k&&d.__k.forEach(function(q){if(typeof q=="object"&&q&&q.type===void 0){var pe=Object.keys(q).join(",");throw new Error("Objects are not valid as a child. Encountered an object with the keys {"+pe+`}.
|
|
32
|
+
|
|
33
|
+
`+fe(d))}}),d.__c===f&&(h=0),typeof p=="string"&&(ot(p)||p==="p"||p==="a"||p==="button")){var _=$r(k);if(_!==""&&ot(p))p==="table"&&_!=="td"&&ot(_)?console.error("Improper nesting of table. Your <table> should not have a table-node parent."+ye(d)+`
|
|
34
|
+
|
|
35
|
+
`+fe(d)):p!=="thead"&&p!=="tfoot"&&p!=="tbody"||_==="table"?p==="tr"&&_!=="thead"&&_!=="tfoot"&&_!=="tbody"?console.error("Improper nesting of table. Your <tr> should have a <thead/tbody/tfoot> parent."+ye(d)+`
|
|
36
|
+
|
|
37
|
+
`+fe(d)):p==="td"&&_!=="tr"?console.error("Improper nesting of table. Your <td> should have a <tr> parent."+ye(d)+`
|
|
38
|
+
|
|
39
|
+
`+fe(d)):p==="th"&&_!=="tr"&&console.error("Improper nesting of table. Your <th> should have a <tr>."+ye(d)+`
|
|
40
|
+
|
|
41
|
+
`+fe(d)):console.error("Improper nesting of table. Your <thead/tbody/tfoot> should have a <table> parent."+ye(d)+`
|
|
42
|
+
|
|
43
|
+
`+fe(d));else if(p==="p"){var N=jt(d).filter(function(q){return H0.test(q)});N.length&&console.error("Improper nesting of paragraph. Your <p> should not have "+N.join(", ")+" as child-elements."+ye(d)+`
|
|
44
|
+
|
|
45
|
+
`+fe(d))}else p!=="a"&&p!=="button"||jt(d).indexOf(p)!==-1&&console.error("Improper nesting of interactive content. Your <"+p+"> should not have other "+(p==="a"?"anchor":"button")+" tags as child-elements."+ye(d)+`
|
|
46
|
+
|
|
47
|
+
`+fe(d))}if(e=!1,n&&n(d),d.__k!=null)for(var X=[],w=0;w<d.__k.length;w++){var D=d.__k[w];if(D&&D.key!=null){var M=D.key;if(X.indexOf(M)!==-1){console.error('Following component has two or more children with the same key attribute: "'+M+`". This may cause glitches and misbehavior in rendering process. Component:
|
|
48
|
+
|
|
49
|
+
`+ye(d)+`
|
|
50
|
+
|
|
51
|
+
`+fe(d));break}X.push(M)}}if(d.__c!=null&&d.__c.__H!=null){var S=d.__c.__H.__;if(S)for(var T=0;T<S.length;T+=1){var I=S[T];if(I.__H){for(var P=0;P<I.__H.length;P++)if((b=I.__H[P])!=b){var U=Ie(d);console.warn("Invalid argument passed to hook. Hooks should not be called with NaN in the dependency array. Hook index "+T+" in component "+U+" was called with NaN.")}}}}}})();var cn,ue,at,$t,Nn=0,e0=[],de=B,er=de.__b,nr=de.__r,tr=de.diffed,rr=de.__c,or=de.unmount,ar=de.__;function qt(e,t){de.__h&&de.__h(ue,e,Nn||t),Nn=0;var n=ue.__H||(ue.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function le(e){return Nn=1,V0(t0,e)}function V0(e,t,n){var r=qt(cn++,2);if(r.t=e,!r.__c&&(r.__=[t0(void 0,t),function(i){var l=r.__N?r.__N[0]:r.__[0],u=r.t(l,i);l!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=ue,!ue.__f)){var o=function(i,l,u){if(!r.__c.__H)return!0;var f=!1,h=r.__c.props!==i;if(r.__c.__H.__.some(function(g){if(g.__N){f=!0;var y=g.__[0];g.__=g.__N,g.__N=void 0,y!==g.__[0]&&(h=!0)}}),a){var c=a.call(this,i,l,u);return f?c||h:c}return!f||h};ue.__f=!0;var a=ue.shouldComponentUpdate,s=ue.componentWillUpdate;ue.componentWillUpdate=function(i,l,u){if(this.__e){var f=a;a=void 0,o(i,l,u),a=f}s&&s.call(this,i,l,u)},ue.shouldComponentUpdate=o}return r.__N||r.__}function ve(e,t){var n=qt(cn++,3);!de.__s&&n0(n.__H,t)&&(n.__=e,n.u=t,ue.__H.__h.push(n))}function Ze(e){return Nn=5,Y0(function(){return{current:e}},[])}function Y0(e,t){var n=qt(cn++,7);return n0(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function J0(){for(var e;e=e0.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(bn),t.__h.some(Rt),t.__h=[]}catch(n){t.__h=[],de.__e(n,e.__v)}}}de.__b=function(e){ue=null,er&&er(e)},de.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ar&&ar(e,t)},de.__r=function(e){nr&&nr(e),cn=0;var t=(ue=e.__c).__H;t&&(at===ue?(t.__h=[],ue.__h=[],t.__.some(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.some(bn),t.__h.some(Rt),t.__h=[],cn=0)),at=ue},de.diffed=function(e){tr&&tr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(e0.push(t)!==1&&$t===de.requestAnimationFrame||(($t=de.requestAnimationFrame)||Z0)(J0)),t.__H.__.some(function(n){n.u&&(n.__H=n.u,n.u=void 0)})),at=ue=null},de.__c=function(e,t){t.some(function(n){try{n.__h.some(bn),n.__h=n.__h.filter(function(r){return!r.__||Rt(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],de.__e(r,n.__v)}}),rr&&rr(e,t)},de.unmount=function(e){or&&or(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(r){try{bn(r)}catch(o){t=o}}),n.__H=void 0,t&&de.__e(t,n.__v))};var sr=typeof requestAnimationFrame=="function";function Z0(e){var t,n=function(){clearTimeout(r),sr&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);sr&&(t=requestAnimationFrame(n))}function bn(e){var t=ue,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),ue=t}function Rt(e){var t=ue;e.__c=e.__(),ue=t}function n0(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function t0(e,t){return typeof t=="function"?t(e):t}const X0=e=>[{icon:"download",label:e("steps.preparing"),desc:e("steps.checkingTunnel")},{icon:"cloud_sync",label:e("steps.connecting"),desc:e("steps.creatingSession")},{icon:"lan",label:e("steps.tunneling"),desc:e("steps.startingTunnel")},{icon:"verified",label:e("steps.verifying"),desc:e("steps.healthCheck")},{icon:"check_circle",label:e("steps.ready"),desc:e("steps.connected")}],$0=3;function eo({currentStep:e,activeDesc:t="",healthCheck:n,t:r}){var i;const o=e-1,a=(i=n==null?void 0:n.logs)!=null&&i.length?n.logs[n.logs.length-1]:null,s=X0(r);return x("div",{className:"glass-card p-5 flex flex-col gap-4",children:[x("span",{className:"text-xs font-medium uppercase tracking-wider",style:{color:"var(--text-muted)"},children:r("steps.setupConnection")},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/StepProgress.jsx",lineNumber:24,columnNumber:7},this),x("div",{className:"flex flex-col gap-3",children:s.map((l,u)=>{const f=u<o,h=u===o,c=h&&u===$0;let g=h&&t?t:l.desc,y="var(--text-muted)";if(c&&a){const d=/^\d{3}$/.test(String(a.status));g=`#${a.attempt} → ${a.status}`,y=a.ok||a.waiting?"#22c55e":d?"#eab308":"#ef4444"}return x("div",{className:"flex items-center gap-3",children:[x("div",{className:"w-8 h-8 rounded-full flex items-center justify-center flex-shrink-0",style:{background:f?"var(--brand-500)":h?"rgba(255,87,10,0.15)":"var(--glass-bg)",border:h?"1.5px solid var(--brand-500)":"1.5px solid transparent"},children:f?x("span",{className:"material-symbols-outlined text-white",style:{fontSize:16},children:"check"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/StepProgress.jsx",lineNumber:54,columnNumber:19},this):h?x("span",{className:"flex gap-0.5 items-center",children:[0,1,2].map(d=>x("span",{className:"w-1 h-1 rounded-full bg-orange-400 dot-bounce",style:{animationDelay:`${d*.18}s`}},d,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/StepProgress.jsx",lineNumber:59,columnNumber:23},this))},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/StepProgress.jsx",lineNumber:57,columnNumber:19},this):x("span",{className:"material-symbols-outlined",style:{fontSize:16,color:"var(--text-muted)",opacity:.3},children:l.icon},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/StepProgress.jsx",lineNumber:64,columnNumber:19},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/StepProgress.jsx",lineNumber:46,columnNumber:15},this),x("div",{className:"flex-1 min-w-0",children:[x("p",{className:"text-sm font-medium",style:{color:f?"var(--text-muted)":h?"var(--text-main)":"var(--text-muted)",opacity:f||h?1:.4},children:l.label},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/StepProgress.jsx",lineNumber:70,columnNumber:17},this),x("p",{className:"text-xs mt-0.5 truncate",style:{color:y,opacity:h?c&&a?.95:.7:.4,fontFamily:c&&a?"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace":void 0},children:g},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/StepProgress.jsx",lineNumber:73,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/StepProgress.jsx",lineNumber:69,columnNumber:15},this),f&&x("span",{className:"text-xs flex-shrink-0",style:{color:"var(--text-muted)"},children:r("steps.done")},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/StepProgress.jsx",lineNumber:89,columnNumber:17},this),h&&x("span",{className:"text-xs flex-shrink-0 px-2 py-0.5 rounded-full",style:{background:"rgba(255,87,10,0.15)",color:"var(--brand-400)"},children:r("steps.running")},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/StepProgress.jsx",lineNumber:92,columnNumber:17},this)]},u,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/StepProgress.jsx",lineNumber:44,columnNumber:13},this)})},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/StepProgress.jsx",lineNumber:25,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/StepProgress.jsx",lineNumber:23,columnNumber:5},this)}function no(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ye={},st,ir;function to(){return ir||(ir=1,st=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),st}var it={},Ae={},xr;function qe(){if(xr)return Ae;xr=1;let e;const t=[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 Ae.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},Ae.getSymbolTotalCodewords=function(r){return t[r]},Ae.getBCHDigit=function(n){let r=0;for(;n!==0;)r++,n>>>=1;return r},Ae.setToSJISFunction=function(r){if(typeof r!="function")throw new Error('"toSJISFunc" is not a valid function.');e=r},Ae.isKanjiModeEnabled=function(){return typeof e<"u"},Ae.toSJIS=function(r){return e(r)},Ae}var xt={},lr;function Ft(){return lr||(lr=1,(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.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: "+n)}}e.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},e.from=function(r,o){if(e.isValid(r))return r;try{return t(r)}catch{return o}}})(xt)),xt}var lt,cr;function ro(){if(cr)return lt;cr=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const n=Math.floor(t/8);return(this.buffer[n]>>>7-t%8&1)===1},put:function(t,n){for(let r=0;r<n;r++)this.putBit((t>>>n-r-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},lt=e,lt}var ct,ur;function oo(){if(ur)return ct;ur=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,n,r,o){const a=t*this.size+n;this.data[a]=r,o&&(this.reservedBit[a]=!0)},e.prototype.get=function(t,n){return this.data[t*this.size+n]},e.prototype.xor=function(t,n,r){this.data[t*this.size+n]^=r},e.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},ct=e,ct}var ut={},dr;function ao(){return dr||(dr=1,(function(e){const t=qe().getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const o=Math.floor(r/7)+2,a=t(r),s=a===145?26:Math.ceil((a-13)/(2*o-2))*2,i=[a-7];for(let l=1;l<o-1;l++)i[l]=i[l-1]-s;return i.push(6),i.reverse()},e.getPositions=function(r){const o=[],a=e.getRowColCoords(r),s=a.length;for(let i=0;i<s;i++)for(let l=0;l<s;l++)i===0&&l===0||i===0&&l===s-1||i===s-1&&l===0||o.push([a[i],a[l]]);return o}})(ut)),ut}var dt={},mr;function so(){if(mr)return dt;mr=1;const e=qe().getSymbolSize,t=7;return dt.getPositions=function(r){const o=e(r);return[[0,0],[o-t,0],[0,o-t]]},dt}var mt={},fr;function io(){return fr||(fr=1,(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const a=o.size;let s=0,i=0,l=0,u=null,f=null;for(let h=0;h<a;h++){i=l=0,u=f=null;for(let c=0;c<a;c++){let g=o.get(h,c);g===u?i++:(i>=5&&(s+=t.N1+(i-5)),u=g,i=1),g=o.get(c,h),g===f?l++:(l>=5&&(s+=t.N1+(l-5)),f=g,l=1)}i>=5&&(s+=t.N1+(i-5)),l>=5&&(s+=t.N1+(l-5))}return s},e.getPenaltyN2=function(o){const a=o.size;let s=0;for(let i=0;i<a-1;i++)for(let l=0;l<a-1;l++){const u=o.get(i,l)+o.get(i,l+1)+o.get(i+1,l)+o.get(i+1,l+1);(u===4||u===0)&&s++}return s*t.N2},e.getPenaltyN3=function(o){const a=o.size;let s=0,i=0,l=0;for(let u=0;u<a;u++){i=l=0;for(let f=0;f<a;f++)i=i<<1&2047|o.get(u,f),f>=10&&(i===1488||i===93)&&s++,l=l<<1&2047|o.get(f,u),f>=10&&(l===1488||l===93)&&s++}return s*t.N3},e.getPenaltyN4=function(o){let a=0;const s=o.data.length;for(let l=0;l<s;l++)a+=o.data[l];return Math.abs(Math.ceil(a*100/s/5)-10)*t.N4};function n(r,o,a){switch(r){case e.Patterns.PATTERN000:return(o+a)%2===0;case e.Patterns.PATTERN001:return o%2===0;case e.Patterns.PATTERN010:return a%3===0;case e.Patterns.PATTERN011:return(o+a)%3===0;case e.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(a/3))%2===0;case e.Patterns.PATTERN101:return o*a%2+o*a%3===0;case e.Patterns.PATTERN110:return(o*a%2+o*a%3)%2===0;case e.Patterns.PATTERN111:return(o*a%3+(o+a)%2)%2===0;default:throw new Error("bad maskPattern:"+r)}}e.applyMask=function(o,a){const s=a.size;for(let i=0;i<s;i++)for(let l=0;l<s;l++)a.isReserved(l,i)||a.xor(l,i,n(o,l,i))},e.getBestMask=function(o,a){const s=Object.keys(e.Patterns).length;let i=0,l=1/0;for(let u=0;u<s;u++){a(u),e.applyMask(u,o);const f=e.getPenaltyN1(o)+e.getPenaltyN2(o)+e.getPenaltyN3(o)+e.getPenaltyN4(o);e.applyMask(u,o),f<l&&(l=f,i=u)}return i}})(mt)),mt}var dn={},pr;function r0(){if(pr)return dn;pr=1;const e=Ft(),t=[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],n=[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 dn.getBlocksCount=function(o,a){switch(a){case e.L:return t[(o-1)*4+0];case e.M:return t[(o-1)*4+1];case e.Q:return t[(o-1)*4+2];case e.H:return t[(o-1)*4+3];default:return}},dn.getTotalCodewordsCount=function(o,a){switch(a){case e.L:return n[(o-1)*4+0];case e.M:return n[(o-1)*4+1];case e.Q:return n[(o-1)*4+2];case e.H:return n[(o-1)*4+3];default:return}},dn}var ft={},sn={},gr;function xo(){if(gr)return sn;gr=1;const e=new Uint8Array(512),t=new Uint8Array(256);return(function(){let r=1;for(let o=0;o<255;o++)e[o]=r,t[r]=o,r<<=1,r&256&&(r^=285);for(let o=255;o<512;o++)e[o]=e[o-255]})(),sn.log=function(r){if(r<1)throw new Error("log("+r+")");return t[r]},sn.exp=function(r){return e[r]},sn.mul=function(r,o){return r===0||o===0?0:e[t[r]+t[o]]},sn}var hr;function lo(){return hr||(hr=1,(function(e){const t=xo();e.mul=function(r,o){const a=new Uint8Array(r.length+o.length-1);for(let s=0;s<r.length;s++)for(let i=0;i<o.length;i++)a[s+i]^=t.mul(r[s],o[i]);return a},e.mod=function(r,o){let a=new Uint8Array(r);for(;a.length-o.length>=0;){const s=a[0];for(let l=0;l<o.length;l++)a[l]^=t.mul(o[l],s);let i=0;for(;i<a.length&&a[i]===0;)i++;a=a.slice(i)}return a},e.generateECPolynomial=function(r){let o=new Uint8Array([1]);for(let a=0;a<r;a++)o=e.mul(o,new Uint8Array([1,t.exp(a)]));return o}})(ft)),ft}var pt,br;function co(){if(br)return pt;br=1;const e=lo();function t(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(r){this.degree=r,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(r){if(!this.genPoly)throw new Error("Encoder not initialized");const o=new Uint8Array(r.length+this.degree);o.set(r);const a=e.mod(o,this.genPoly),s=this.degree-a.length;if(s>0){const i=new Uint8Array(this.degree);return i.set(a,s),i}return a},pt=t,pt}var gt={},ht={},bt={},vr;function o0(){return vr||(vr=1,bt.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),bt}var we={},yr;function a0(){if(yr)return we;yr=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const r="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r
|
|
52
|
+
]))+`;we.KANJI=new RegExp(n,"g"),we.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),we.BYTE=new RegExp(r,"g"),we.NUMERIC=new RegExp(e,"g"),we.ALPHANUMERIC=new RegExp(t,"g");const o=new RegExp("^"+n+"$"),a=new RegExp("^"+e+"$"),s=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return we.testKanji=function(l){return o.test(l)},we.testNumeric=function(l){return a.test(l)},we.testAlphanumeric=function(l){return s.test(l)},we}var kr;function Fe(){return kr||(kr=1,(function(e){const t=o0(),n=a0();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,s){if(!a.ccBits)throw new Error("Invalid mode: "+a);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?a.ccBits[0]:s<27?a.ccBits[1]:a.ccBits[2]},e.getBestModeForData=function(a){return n.testNumeric(a)?e.NUMERIC:n.testAlphanumeric(a)?e.ALPHANUMERIC:n.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(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.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: "+o)}}e.from=function(a,s){if(e.isValid(a))return a;try{return r(a)}catch{return s}}})(ht)),ht}var _r;function uo(){return _r||(_r=1,(function(e){const t=qe(),n=r0(),r=Ft(),o=Fe(),a=o0(),s=7973,i=t.getBCHDigit(s);function l(c,g,y){for(let d=1;d<=40;d++)if(g<=e.getCapacity(d,y,c))return d}function u(c,g){return o.getCharCountIndicator(c,g)+4}function f(c,g){let y=0;return c.forEach(function(d){const b=u(d.mode,g);y+=b+d.getBitsLength()}),y}function h(c,g){for(let y=1;y<=40;y++)if(f(c,y)<=e.getCapacity(y,g,o.MIXED))return y}e.from=function(g,y){return a.isValid(g)?parseInt(g,10):y},e.getCapacity=function(g,y,d){if(!a.isValid(g))throw new Error("Invalid QR Code version");typeof d>"u"&&(d=o.BYTE);const b=t.getSymbolTotalCodewords(g),p=n.getTotalCodewordsCount(g,y),k=(b-p)*8;if(d===o.MIXED)return k;const _=k-u(d,g);switch(d){case o.NUMERIC:return Math.floor(_/10*3);case o.ALPHANUMERIC:return Math.floor(_/11*2);case o.KANJI:return Math.floor(_/13);case o.BYTE:default:return Math.floor(_/8)}},e.getBestVersionForData=function(g,y){let d;const b=r.from(y,r.M);if(Array.isArray(g)){if(g.length>1)return h(g,b);if(g.length===0)return 1;d=g[0]}else d=g;return l(d.mode,d.getLength(),b)},e.getEncodedBits=function(g){if(!a.isValid(g)||g<7)throw new Error("Invalid QR Code version");let y=g<<12;for(;t.getBCHDigit(y)-i>=0;)y^=s<<t.getBCHDigit(y)-i;return g<<12|y}})(gt)),gt}var vt={},Nr;function mo(){if(Nr)return vt;Nr=1;const e=qe(),t=1335,n=21522,r=e.getBCHDigit(t);return vt.getEncodedBits=function(a,s){const i=a.bit<<3|s;let l=i<<10;for(;e.getBCHDigit(l)-r>=0;)l^=t<<e.getBCHDigit(l)-r;return(i<<10|l)^n},vt}var yt={},kt,Sr;function fo(){if(Sr)return kt;Sr=1;const e=Fe();function t(n){this.mode=e.NUMERIC,this.data=n.toString()}return t.getBitsLength=function(r){return 10*Math.floor(r/3)+(r%3?r%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(r){let o,a,s;for(o=0;o+3<=this.data.length;o+=3)a=this.data.substr(o,3),s=parseInt(a,10),r.put(s,10);const i=this.data.length-o;i>0&&(a=this.data.substr(o),s=parseInt(a,10),r.put(s,i*3+1))},kt=t,kt}var _t,wr;function po(){if(wr)return _t;wr=1;const e=Fe(),t=["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 n(r){this.mode=e.ALPHANUMERIC,this.data=r}return n.getBitsLength=function(o){return 11*Math.floor(o/2)+6*(o%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(o){let a;for(a=0;a+2<=this.data.length;a+=2){let s=t.indexOf(this.data[a])*45;s+=t.indexOf(this.data[a+1]),o.put(s,11)}this.data.length%2&&o.put(t.indexOf(this.data[a]),6)},_t=n,_t}var Nt,Ir;function go(){if(Ir)return Nt;Ir=1;const e=Fe();function t(n){this.mode=e.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return t.getBitsLength=function(r){return r*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){for(let r=0,o=this.data.length;r<o;r++)n.put(this.data[r],8)},Nt=t,Nt}var St,Cr;function ho(){if(Cr)return St;Cr=1;const e=Fe(),t=qe();function n(r){this.mode=e.KANJI,this.data=r}return n.getBitsLength=function(o){return o*13},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(r){let o;for(o=0;o<this.data.length;o++){let a=t.toSJIS(this.data[o]);if(a>=33088&&a<=40956)a-=33088;else if(a>=57408&&a<=60351)a-=49472;else throw new Error("Invalid SJIS character: "+this.data[o]+`
|
|
53
|
+
Make sure your charset is UTF-8`);a=(a>>>8&255)*192+(a&255),r.put(a,13)}},St=n,St}var wt={exports:{}},Tr;function bo(){return Tr||(Tr=1,(function(e){var t={single_source_shortest_paths:function(n,r,o){var a={},s={};s[r]=0;var i=t.PriorityQueue.make();i.push(r,0);for(var l,u,f,h,c,g,y,d,b;!i.empty();){l=i.pop(),u=l.value,h=l.cost,c=n[u]||{};for(f in c)c.hasOwnProperty(f)&&(g=c[f],y=h+g,d=s[f],b=typeof s[f]>"u",(b||d>y)&&(s[f]=y,i.push(f,y),a[f]=u))}if(typeof o<"u"&&typeof s[o]>"u"){var p=["Could not find a path from ",r," to ",o,"."].join("");throw new Error(p)}return a},extract_shortest_path_from_predecessor_list:function(n,r){for(var o=[],a=r;a;)o.push(a),n[a],a=n[a];return o.reverse(),o},find_path:function(n,r,o){var a=t.single_source_shortest_paths(n,r,o);return t.extract_shortest_path_from_predecessor_list(a,o)},PriorityQueue:{make:function(n){var r=t.PriorityQueue,o={},a;n=n||{};for(a in r)r.hasOwnProperty(a)&&(o[a]=r[a]);return o.queue=[],o.sorter=n.sorter||r.default_sorter,o},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var o={value:n,cost:r};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(wt)),wt.exports}var Dr;function vo(){return Dr||(Dr=1,(function(e){const t=Fe(),n=fo(),r=po(),o=go(),a=ho(),s=a0(),i=qe(),l=bo();function u(p){return unescape(encodeURIComponent(p)).length}function f(p,k,_){const N=[];let X;for(;(X=p.exec(_))!==null;)N.push({data:X[0],index:X.index,mode:k,length:X[0].length});return N}function h(p){const k=f(s.NUMERIC,t.NUMERIC,p),_=f(s.ALPHANUMERIC,t.ALPHANUMERIC,p);let N,X;return i.isKanjiModeEnabled()?(N=f(s.BYTE,t.BYTE,p),X=f(s.KANJI,t.KANJI,p)):(N=f(s.BYTE_KANJI,t.BYTE,p),X=[]),k.concat(_,N,X).sort(function(D,M){return D.index-M.index}).map(function(D){return{data:D.data,mode:D.mode,length:D.length}})}function c(p,k){switch(k){case t.NUMERIC:return n.getBitsLength(p);case t.ALPHANUMERIC:return r.getBitsLength(p);case t.KANJI:return a.getBitsLength(p);case t.BYTE:return o.getBitsLength(p)}}function g(p){return p.reduce(function(k,_){const N=k.length-1>=0?k[k.length-1]:null;return N&&N.mode===_.mode?(k[k.length-1].data+=_.data,k):(k.push(_),k)},[])}function y(p){const k=[];for(let _=0;_<p.length;_++){const N=p[_];switch(N.mode){case t.NUMERIC:k.push([N,{data:N.data,mode:t.ALPHANUMERIC,length:N.length},{data:N.data,mode:t.BYTE,length:N.length}]);break;case t.ALPHANUMERIC:k.push([N,{data:N.data,mode:t.BYTE,length:N.length}]);break;case t.KANJI:k.push([N,{data:N.data,mode:t.BYTE,length:u(N.data)}]);break;case t.BYTE:k.push([{data:N.data,mode:t.BYTE,length:u(N.data)}])}}return k}function d(p,k){const _={},N={start:{}};let X=["start"];for(let w=0;w<p.length;w++){const D=p[w],M=[];for(let S=0;S<D.length;S++){const T=D[S],I=""+w+S;M.push(I),_[I]={node:T,lastCount:0},N[I]={};for(let P=0;P<X.length;P++){const U=X[P];_[U]&&_[U].node.mode===T.mode?(N[U][I]=c(_[U].lastCount+T.length,T.mode)-c(_[U].lastCount,T.mode),_[U].lastCount+=T.length):(_[U]&&(_[U].lastCount=T.length),N[U][I]=c(T.length,T.mode)+4+t.getCharCountIndicator(T.mode,k))}}X=M}for(let w=0;w<X.length;w++)N[X[w]].end=0;return{map:N,table:_}}function b(p,k){let _;const N=t.getBestModeForData(p);if(_=t.from(k,N),_!==t.BYTE&&_.bit<N.bit)throw new Error('"'+p+'" cannot be encoded with mode '+t.toString(_)+`.
|
|
54
|
+
Suggested mode is: `+t.toString(N));switch(_===t.KANJI&&!i.isKanjiModeEnabled()&&(_=t.BYTE),_){case t.NUMERIC:return new n(p);case t.ALPHANUMERIC:return new r(p);case t.KANJI:return new a(p);case t.BYTE:return new o(p)}}e.fromArray=function(k){return k.reduce(function(_,N){return typeof N=="string"?_.push(b(N,null)):N.data&&_.push(b(N.data,N.mode)),_},[])},e.fromString=function(k,_){const N=h(k,i.isKanjiModeEnabled()),X=y(N),w=d(X,_),D=l.find_path(w.map,"start","end"),M=[];for(let S=1;S<D.length-1;S++)M.push(w.table[D[S]].node);return e.fromArray(g(M))},e.rawSplit=function(k){return e.fromArray(h(k,i.isKanjiModeEnabled()))}})(yt)),yt}var Mr;function yo(){if(Mr)return it;Mr=1;const e=qe(),t=Ft(),n=ro(),r=oo(),o=ao(),a=so(),s=io(),i=r0(),l=co(),u=uo(),f=mo(),h=Fe(),c=vo();function g(w,D){const M=w.size,S=a.getPositions(D);for(let T=0;T<S.length;T++){const I=S[T][0],P=S[T][1];for(let U=-1;U<=7;U++)if(!(I+U<=-1||M<=I+U))for(let q=-1;q<=7;q++)P+q<=-1||M<=P+q||(U>=0&&U<=6&&(q===0||q===6)||q>=0&&q<=6&&(U===0||U===6)||U>=2&&U<=4&&q>=2&&q<=4?w.set(I+U,P+q,!0,!0):w.set(I+U,P+q,!1,!0))}}function y(w){const D=w.size;for(let M=8;M<D-8;M++){const S=M%2===0;w.set(M,6,S,!0),w.set(6,M,S,!0)}}function d(w,D){const M=o.getPositions(D);for(let S=0;S<M.length;S++){const T=M[S][0],I=M[S][1];for(let P=-2;P<=2;P++)for(let U=-2;U<=2;U++)P===-2||P===2||U===-2||U===2||P===0&&U===0?w.set(T+P,I+U,!0,!0):w.set(T+P,I+U,!1,!0)}}function b(w,D){const M=w.size,S=u.getEncodedBits(D);let T,I,P;for(let U=0;U<18;U++)T=Math.floor(U/3),I=U%3+M-8-3,P=(S>>U&1)===1,w.set(T,I,P,!0),w.set(I,T,P,!0)}function p(w,D,M){const S=w.size,T=f.getEncodedBits(D,M);let I,P;for(I=0;I<15;I++)P=(T>>I&1)===1,I<6?w.set(I,8,P,!0):I<8?w.set(I+1,8,P,!0):w.set(S-15+I,8,P,!0),I<8?w.set(8,S-I-1,P,!0):I<9?w.set(8,15-I-1+1,P,!0):w.set(8,15-I-1,P,!0);w.set(S-8,8,1,!0)}function k(w,D){const M=w.size;let S=-1,T=M-1,I=7,P=0;for(let U=M-1;U>0;U-=2)for(U===6&&U--;;){for(let q=0;q<2;q++)if(!w.isReserved(T,U-q)){let pe=!1;P<D.length&&(pe=(D[P]>>>I&1)===1),w.set(T,U-q,pe),I--,I===-1&&(P++,I=7)}if(T+=S,T<0||M<=T){T-=S,S=-S;break}}}function _(w,D,M){const S=new n;M.forEach(function(q){S.put(q.mode.bit,4),S.put(q.getLength(),h.getCharCountIndicator(q.mode,w)),q.write(S)});const T=e.getSymbolTotalCodewords(w),I=i.getTotalCodewordsCount(w,D),P=(T-I)*8;for(S.getLengthInBits()+4<=P&&S.put(0,4);S.getLengthInBits()%8!==0;)S.putBit(0);const U=(P-S.getLengthInBits())/8;for(let q=0;q<U;q++)S.put(q%2?17:236,8);return N(S,w,D)}function N(w,D,M){const S=e.getSymbolTotalCodewords(D),T=i.getTotalCodewordsCount(D,M),I=S-T,P=i.getBlocksCount(D,M),U=S%P,q=P-U,pe=Math.floor(S/P),ge=Math.floor(I/P),Me=ge+1,Ue=pe-ge,ke=new l(Ue);let Be=0;const je=new Array(P),He=new Array(P);let Ge=0;const en=new Uint8Array(w.buffer);for(let _e=0;_e<P;_e++){const Ne=_e<q?ge:Me;je[_e]=en.slice(Be,Be+Ne),He[_e]=ke.encode(je[_e]),Be+=Ne,Ge=Math.max(Ge,Ne)}const ze=new Uint8Array(S);let Qe=0,me,be;for(me=0;me<Ge;me++)for(be=0;be<P;be++)me<je[be].length&&(ze[Qe++]=je[be][me]);for(me=0;me<Ue;me++)for(be=0;be<P;be++)ze[Qe++]=He[be][me];return ze}function X(w,D,M,S){let T;if(Array.isArray(w))T=c.fromArray(w);else if(typeof w=="string"){let pe=D;if(!pe){const ge=c.rawSplit(w);pe=u.getBestVersionForData(ge,M)}T=c.fromString(w,pe||40)}else throw new Error("Invalid data");const I=u.getBestVersionForData(T,M);if(!I)throw new Error("The amount of data is too big to be stored in a QR Code");if(!D)D=I;else if(D<I)throw new Error(`
|
|
55
|
+
The chosen QR Code version cannot contain this amount of data.
|
|
56
|
+
Minimum version required to store current data is: `+I+`.
|
|
57
|
+
`);const P=_(D,M,T),U=e.getSymbolSize(D),q=new r(U);return g(q,D),y(q),d(q,D),p(q,M,0),D>=7&&b(q,D),k(q,P),isNaN(S)&&(S=s.getBestMask(q,p.bind(null,q,M))),s.applyMask(S,q),p(q,M,S),{modules:q,version:D,errorCorrectionLevel:M,maskPattern:S,segments:T}}return it.create=function(D,M){if(typeof D>"u"||D==="")throw new Error("No input text");let S=t.M,T,I;return typeof M<"u"&&(S=t.from(M.errorCorrectionLevel,t.M),T=u.from(M.version),I=s.from(M.maskPattern),M.toSJISFunc&&e.setToSJISFunction(M.toSJISFunc)),X(D,T,S,I)},it}var It={},Ct={},Ur;function s0(){return Ur||(Ur=1,(function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let r=n.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+n);(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 o=parseInt(r.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const o=typeof r.margin>"u"||r.margin===null||r.margin<0?4:r.margin,a=r.width&&r.width>=21?r.width:void 0,s=r.scale||4;return{width:a,scale:a?4:s,margin:o,color:{dark:t(r.color.dark||"#000000ff"),light:t(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,o){return o.width&&o.width>=r+o.margin*2?o.width/(r+o.margin*2):o.scale},e.getImageWidth=function(r,o){const a=e.getScale(r,o);return Math.floor((r+o.margin*2)*a)},e.qrToImageData=function(r,o,a){const s=o.modules.size,i=o.modules.data,l=e.getScale(s,a),u=Math.floor((s+a.margin*2)*l),f=a.margin*l,h=[a.color.light,a.color.dark];for(let c=0;c<u;c++)for(let g=0;g<u;g++){let y=(c*u+g)*4,d=a.color.light;if(c>=f&&g>=f&&c<u-f&&g<u-f){const b=Math.floor((c-f)/l),p=Math.floor((g-f)/l);d=h[i[b*s+p]?1:0]}r[y++]=d.r,r[y++]=d.g,r[y++]=d.b,r[y]=d.a}}})(Ct)),Ct}var jr;function ko(){return jr||(jr=1,(function(e){const t=s0();function n(o,a,s){o.clearRect(0,0,a.width,a.height),a.style||(a.style={}),a.height=s,a.width=s,a.style.height=s+"px",a.style.width=s+"px"}function r(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(a,s,i){let l=i,u=s;typeof l>"u"&&(!s||!s.getContext)&&(l=s,s=void 0),s||(u=r()),l=t.getOptions(l);const f=t.getImageWidth(a.modules.size,l),h=u.getContext("2d"),c=h.createImageData(f,f);return t.qrToImageData(c.data,a,l),n(h,u,f),h.putImageData(c,0,0),u},e.renderToDataURL=function(a,s,i){let l=i;typeof l>"u"&&(!s||!s.getContext)&&(l=s,s=void 0),l||(l={});const u=e.render(a,s,l),f=l.type||"image/png",h=l.rendererOpts||{};return u.toDataURL(f,h.quality)}})(It)),It}var Tt={},Rr;function _o(){if(Rr)return Tt;Rr=1;const e=s0();function t(o,a){const s=o.a/255,i=a+'="'+o.hex+'"';return s<1?i+" "+a+'-opacity="'+s.toFixed(2).slice(1)+'"':i}function n(o,a,s){let i=o+a;return typeof s<"u"&&(i+=" "+s),i}function r(o,a,s){let i="",l=0,u=!1,f=0;for(let h=0;h<o.length;h++){const c=Math.floor(h%a),g=Math.floor(h/a);!c&&!u&&(u=!0),o[h]?(f++,h>0&&c>0&&o[h-1]||(i+=u?n("M",c+s,.5+g+s):n("m",l,0),l=0,u=!1),c+1<a&&o[h+1]||(i+=n("h",f),f=0)):l++}return i}return Tt.render=function(a,s,i){const l=e.getOptions(s),u=a.modules.size,f=a.modules.data,h=u+l.margin*2,c=l.color.light.a?"<path "+t(l.color.light,"fill")+' d="M0 0h'+h+"v"+h+'H0z"/>':"",g="<path "+t(l.color.dark,"stroke")+' d="'+r(f,u,l.margin)+'"/>',y='viewBox="0 0 '+h+" "+h+'"',b='<svg xmlns="http://www.w3.org/2000/svg" '+(l.width?'width="'+l.width+'" height="'+l.width+'" ':"")+y+' shape-rendering="crispEdges">'+c+g+`</svg>
|
|
58
|
+
`;return typeof i=="function"&&i(null,b),b},Tt}var Pr;function No(){if(Pr)return Ye;Pr=1;const e=to(),t=yo(),n=ko(),r=_o();function o(a,s,i,l,u){const f=[].slice.call(arguments,1),h=f.length,c=typeof f[h-1]=="function";if(!c&&!e())throw new Error("Callback required as last argument");if(c){if(h<2)throw new Error("Too few arguments provided");h===2?(u=i,i=s,s=l=void 0):h===3&&(s.getContext&&typeof u>"u"?(u=l,l=void 0):(u=l,l=i,i=s,s=void 0))}else{if(h<1)throw new Error("Too few arguments provided");return h===1?(i=s,s=l=void 0):h===2&&!s.getContext&&(l=i,i=s,s=void 0),new Promise(function(g,y){try{const d=t.create(i,l);g(a(d,s,l))}catch(d){y(d)}})}try{const g=t.create(i,l);u(null,a(g,s,l))}catch(g){u(g)}}return Ye.create=t.create,Ye.toCanvas=o.bind(null,n.render),Ye.toDataURL=o.bind(null,n.renderToDataURL),Ye.toString=o.bind(null,function(a,s,i){return r.render(a,i)}),Ye}var So=No();const wo=no(So);function Oe({message:e,confirmLabel:t="Confirm",confirmDanger:n=!1,inputValue:r,onInput:o,inputPlaceholder:a="",onConfirm:s,onCancel:i}){const l=o!==void 0,u=se(Ze(null),"inputRef");return ve(()=>{var f;(f=u.current)==null||f.focus()},[]),x("div",{className:"fixed inset-0 z-[100] flex items-center justify-center",style:{background:"rgba(0,0,0,0.6)"},onClick:i,children:x("div",{className:"glass-card p-5 flex flex-col gap-4 w-72",onClick:f=>f.stopPropagation(),children:[x("p",{className:"text-sm text-center",style:{color:"var(--text-main)"},children:e},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/ConfirmPopup.jsx",lineNumber:10,columnNumber:9},this),l&&x("input",{ref:u,value:r,placeholder:a,onInput:f=>o(f.target.value),onKeyDown:f=>f.key==="Enter"&&s(),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)"}},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/ConfirmPopup.jsx",lineNumber:12,columnNumber:11},this),x("div",{className:"flex gap-2",children:[x("button",{onClick:i,className:"glass-btn flex-1 py-2 text-sm",style:{color:"var(--text-muted)"},children:"Cancel"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/ConfirmPopup.jsx",lineNumber:23,columnNumber:11},this),x("button",{onClick:s,className:"flex-1 py-2 text-sm font-semibold rounded-xl",style:{background:n?"rgba(220,53,69,0.8)":"var(--brand-500)",color:"#fff"},children:t},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/ConfirmPopup.jsx",lineNumber:26,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/ConfirmPopup.jsx",lineNumber:22,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/ConfirmPopup.jsx",lineNumber:9,columnNumber:7},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/ConfirmPopup.jsx",lineNumber:8,columnNumber:5},this)}var m=i0;function i0(e,t){e=e-126;var n=Sn(),r=n[e];return r}(function(e,t){for(var n=i0,r=e();;)try{var o=parseInt(n(142))/1*(-parseInt(n(227))/2)+-parseInt(n(158))/3+parseInt(n(200))/4+-parseInt(n(166))/5+parseInt(n(189))/6+-parseInt(n(234))/7+parseInt(n(160))/8*(parseInt(n(170))/9);if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Sn,274698);function Sn(){var e=["1705354ThuDEQ","Accessibility","No commands yet","within limit","folder name","Rename this device","Connection","Create","Dismiss","Any new device connects without approval","Scan QR or open link to sign in","Copy path","idle","Open the web terminal in a new tab","Always block sleep","Modified","Reusable · no expiry","Unlock PC remotely","Commit","Note","Rename group","Refresh","Reject","Launch on system startup","Close","Files","Delete group","New Device Connection","Connected · {time}","Stop after 1 hr idle","Permanent Key","Discard changes?","Stop after 24 hrs idle","Switch to dark mode","New Group","Remote Desktop","1m / 5m / 15m","File","Remove pending device {id}...? It will need a fresh approval request to connect again.","Capture screen content","Reset the tunnel and reconnect clients","Working","Health check","Load average","Control mouse & keyboard","Delete session {name}? This will kill the terminal.","Start the tunnel to get a QR code and connect your devices from anywhere.","Block system sleep so the network stays alive","No clients yet","Allow","Let this PC be unlocked from your phone or browser when locked","Disconnect and remove device {id}...? The client will be disconnected and need approval again next time.","Switch to light mode","Tunnel offline","Copy","Git","Clients","Back to sessions","Loading…","Heap used","Available","Delete file","of OS total","Command history","Git actions","Status","Auto-approve new devices","Idle","Stop after 4 hrs idle","Done","Connected","Starting secure tunnel","Open file","No logs yet","Clear all","Desktop","Checking tunnel binary","GPU acceleration for smoother scrolling","1oDPrJP","Shutdown 9Remote completely? This will stop the server, close the tunnel and quit the app.","Rename","Startup","Disabled — start manually","Search files…","Needs input","Searching…","Group name","Show Git Button","Not a git repository","Pair devices and manage your secure tunnel","Stop after 2 hrs idle","Diff","Browse & edit files","Documentation","630177BpHrOj","Show Note Button","5685384ufYLbL","Ready","Active","Delete untracked file {name}?","Save","Set current folder as workspace","1896600KiONnx","Screen Recording","Running","Reset and stop the tunnel? Remote clients will be disconnected.","9TznAyJ","Needs your input","Shutdown 9Remote (stop server, close tunnel and quit)","Notifications","Added","Language","Update","Commit message","Logs","Offline · approved {date}","Settings","Clear","Push","Delete terminal {name}?","Machine","Discard changes","Connecting","Full shell access","Pair a device","53586KQLvaS","Search files","Up to date","Require manual approval for new devices","Deleted","Reset","Open file explorer","Recent","Update ready — applies after you restart this PC","Stages all {count} changed file(s) before commit","Create new","1704484qnOGhv","Terminal","Delete","One-Time Key","Scroll to bottom","No recent activity","streaming","Offline","Free memory","Remove","New Terminal","Terminal Theme","Untracked","Grant all permissions below to enable","Shutdown","Control screen, mouse & keyboard","Ungrouped","Heap total","External","Commit & Push","WebGL Renderer","RAM warning","Stop after 30 min idle","Terminal Settings","Switch workspace","Confirm","Pending approval","76052BzKdwY","Setting up connection","Remote screen control","Name for device {id}...","Approve","OS uptime","No files found"];return Sn=function(){return e},Sn()}const Io={common:{statusIdle:m(131),statusWorking:m(275),statusBlocked:m(148),statusDone:m(133),create:m(241),cancel:"Cancel",delete:"Delete",rename:m(144),confirm:m(225),close:m(258),refresh:m(255),loading:m(292),language:m(175)},files:{cannotOpenBinary:"Cannot open binary file",copyPath:m(245),createNew:m(199),delete:m(202),deleteConfirmMessage:"Delete {name}?",deleteConfirmTitle:m(295),emptyFolder:"Folder is empty",file:m(271),folder:"Folder",noFilesFound:m(233),noGitRepo:m(152),placeholderFile:"filename.ext",placeholderFolder:m(238),rename:m(144),searching:m(149),searchFiles:m(190),searchPlaceholder:m(147),setWorkspace:"Set as workspace",setAsWorkspaceTitle:m(165),switchWorkspace:m(224),toggleHidden:"Toggle hidden files"},git:{title:m(289),status:m(129),diffTab:m(155),modified:m(249),added:m(174),deleted:m(193),untrackedTitle:m(212),noChanges:"No changes",openFile:m(136),discardChangesTitle:m(185),discardConfirmTitle:m(265),discardConfirmDelete:m(163),discardConfirmDiscard:"Discard changes in {name}?",gitActions:m(128),commit:m(252),push:m(182),commitAndPush:m(219),commitPlaceholder:m(177),stageAllNote:m(198),upToDate:m(191)},terminalPane:{openFolder:m(195),changedFiles:"Changed files",note:m(253),refresh:"Reload session",scrollToBottom:m(204)},note:{title:"Session Note",copy:m(288),clear:m(181)},system:{agent:"9Remote",machine:m(184),remoteDesktop:"Remote Desktop",uptime:"Uptime",osUptime:m(232),heapUsed:m(293),heapTotal:m(217),external:m(218),ofOsTotal:m(126),loadAvg:m(277),loadDesc:m(270),freeMem:m(208),status:"Status",available:m(294),offline:m(207),clients:m(290),streaming:m(206),idle:m(246),ramThreshold:m(221),thresholdExceeded:"threshold exceeded",thresholdOk:m(237),unavailable:"Unable to load system stats"},terminal:{backToSessions:m(291),switchGroup:"Switch group",newTerminal:"New terminal",send:"Send",typeCommand:"Shift+Enter for new line • Ctrl+Num to switch tab",deleteConfirm:m(183),clearInput:m(181)},history:{title:m(127),empty:m(236),remove:m(209),clearAll:m(138)},sessions:{newTerminal:m(210),addGroup:"Add Group",newGroup:m(268),groupName:m(150),renameGroup:m(254),deleteGroup:m(260),ungrouped:m(216),deleteSessionConfirm:m(279),deleteGroupConfirm:"Delete group {name}? All terminals inside will be closed."},menu:{connection:m(240),connectionDesc:m(153),terminals:m(201),terminalsDesc:m(247),logs:m(178),logsDesc:"Server activity and diagnostics",terminalSettings:m(223),fontSize:"Font Size",terminalTheme:m(211),webgl:m(220),webglHint:m(141),showFolder:"Show Folder Button",showGit:m(151),showNote:m(159)},recent:{title:m(196),replied:"Agent replied",needsInput:m(171),dismiss:m(242),empty:m(205)},notifications:{title:m(173),empty:"No new notifications",needsInput:m(171),replied:"Replied",agent:"Agent"},groups:{ungrouped:m(216)},header:{settings:m(180),language:m(175),documentation:m(157),reset:m(274),resetShort:m(194),shutdown:m(172),shutdownShort:m(214),lightMode:m(286),darkMode:m(267)},remote:{remoteDesktop:m(269),controlScreen:m(215),screenRecording:m(167),captureScreen:m(273),accessibility:m(235),controlMouseKeyboard:m(278),startup:m(145),launchOnStartup:m(257),launchDesc:"Runs in background when you log in",disabledStart:m(146),preventSleep:"Prevent sleep",blockSleep:m(281),remoteUnlock:m(251),remoteUnlockDesc:m(284),remoteUnlockReady:"Active — unlock from remote works",remoteUnlockStale:m(197),grant:m(283),granted:m(162),sleepModes:{"30m":m(222),"1h":m(263),"2h":m(154),"4h":m(132),"24h":m(266),never:m(248)}},clients:{clients:m(290),clientCount:"Clients ({online}/{total} online)",noClients:m(282),autoApprove:m(130),anyDevice:m(243),requireManual:m(192),online:"Online",offline:m(207),pending:m(226),connected:m(134),connectedAt:m(262),pendingApproval:"Pending · waiting for approval",offlineAt:m(179),disconnect:"Disconnect",disconnectRemove:"Disconnect & Remove",remove:m(209),renameDevice:m(239),approveDevice:"Approve this device",approveBtn:m(231),rejectBtn:m(256),newDevice:m(261),deviceId:"Device",deviceIp:"IP"},logs:{logs:m(178),noLogs:m(137),clear:"Clear"},connection:{tunnelOffline:m(287),startTunnel:m(280),connect:"Connect",connecting:"Connecting…",pairDevice:m(188),scanToSignIn:m(244),oneTimeKey:m(203),oneTimeDesc:"Single use · expires",permanentKey:m(264),permanentDesc:m(250),features:{terminal:m(201),fullShell:m(187),desktop:m(139),remoteScreen:m(229),files:m(259),browseEdit:m(156)}},dialogs:{resetConfirm:m(169),shutdownConfirm:m(143),deviceDisconnect:m(285),deviceRemovePending:m(272),deviceRemoveOffline:"Remove device {id}...? It will need approval again next time.",grantPermissions:m(213),deviceName:m(230),nameExample:"e.g. My MacBook"},buttons:{update:m(176),approve:m(231),reject:m(256),save:m(164)},steps:{setupConnection:m(228),preparing:"Preparing",checkingTunnel:m(140),connecting:m(186),creatingSession:"Creating session",tunneling:"Tunneling",startingTunnel:m(135),verifying:"Verifying",healthCheck:m(276),ready:m(161),connected:m(134),done:m(133),running:m(168)}};var v=x0;function x0(e,t){e=e-248;var n=wn(),r=n[e];return r}(function(e,t){for(var n=x0,r=e();;)try{var o=parseInt(n(248))/1+parseInt(n(313))/2+-parseInt(n(300))/3*(parseInt(n(352))/4)+-parseInt(n(291))/5*(-parseInt(n(276))/6)+parseInt(n(275))/7*(-parseInt(n(290))/8)+parseInt(n(345))/9+-parseInt(n(252))/10;if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(wn,440573);function wn(){var e=["قطع الاتصال والإزالة","إعادة تسمية هذا الجهاز","فحص الصحة","غير متصل · موافق {date}","مفتاح لمرة واحدة","يعمل في الخلفية عند تسجيل الدخول","إزالة","السماح","مثال: MacBook الخاص بي","سطح المكتب البعيد","Working","اللغة","إعادة تسمية","غير متصل","وصول Shell كامل","متصل","العملاء ({online}/{total} متصل)","محطة طرفية","إنشاء","إيقاف بعد ساعتين من عدم النشاط","اتصال جهاز جديد","رد الوكيل","2947914rdmFOa","منع السكون","إزالة الجهاز {id}...؟ سيحتاج إلى موافقة جديدة في المرة القادمة.","استعراض وتعديل الملفات","إنشاء جلسة","الاتصال","مسح","148844DeLekk","386499FOnTAK","تبديل المجموعة","التحكم في الشاشة والماوس ولوحة المفاتيح","تسجيل الشاشة","6098960MvTizf","حذف المحطة الطرفية {name}؟","جلسات محطة طرفية حية تعمل على هذا الجهاز","معطل — بدء يدوي","إعادة تعيين","الموافقة التلقائية على الأجهزة الجديدة","غير مصنفة","الجهاز","الإعدادات","ابدأ النفق للحصول على رمز QR وقم بتوصيل أجهزتك من أي مكان.","إيقاف 9Remote (إيقاف الخادم وإغلاق النفق والخروج)","الموافقة","الرفض","إلغاء قفل الكمبيوتر عن بعد","السماح بإلغاء قفل هذا الكمبيوتر من هاتفك أو متصفحك عند قفله","منع النظام من السكون لإبقاء الشبكة نشطة","إعادة تسمية المجموعة","قم بمزامنة الأجهزة وإدارة نفق الأمان الخاص بك","لا توجد أنشطة حديثة","اسم المجموعة","إعادة تعيين النفق والعملاء المتصلين","فحص ملف النفق","قطع الاتصال","85932glcubp","444ZqJzNp","إزالة الجهاز المعلق {id}...؟ سيحتاج إلى طلب موافقة جديد للاتصال مرة أخرى.","تحديث","إيقاف بعد ساعة واحدة من عدم النشاط","جاري التشغيل","إرسال","الأخيرة","امنح جميع الأذونات أدناه لتفعيل","المحطات الطرفية","قطع الاتصال وإزالة الجهاز {id}...؟ سيتم قطع اتصال العميل وسيحتاج إلى موافقة جديدة في المرة القادمة.","حذف المجموعة","في الانتظار · ينتظر الموافقة","البدء","التحكم في الماوس ولوحة المفاتيح","296FZANeN","7600Vrwwrq","حفظ","إيقاف بعد 24 ساعة من عدم النشاط","مجموعة جديدة","إيقاف بعد 4 ساعات من عدم النشاط","إيقاف","حذف","إعادة تعيين وإيقاف النفق؟ سيتم قطع اتصال العملاء البعيدين.","التبديل إلى الوضع الداكن","3AZGeWq","التوثيق","اسم الجهاز {id}...","Shift+Enter لسطر جديد • Ctrl+رقم للتبديل بين الألسنة","Needs input","السجلات","النفق غير متصل","امسح رمز QR أو افتح الرابط للدخول","نشط","الإطلاق عند بدء النظام","تجاهل","لا توجد عملاء حتى الآن","لا توجد سجلات حتى الآن","1430734NQonuc","السماح بعرض الشاشة","في انتظار الموافقة","العودة إلى الجلسات","نشط — إلغاء القفل عن بعد يعمل","إيقاف بعد 30 دقيقة من عدم النشاط","نفق النقل","إلغاء","إعداد الاتصال","إيقاف 9Remote تماماً؟ سيؤدي هذا إلى إيقاف الخادم وإغلاق النفق والخروج من التطبيق."];return wn=function(){return e},wn()}const Co={common:{statusIdle:"Idle",statusWorking:v(333),statusBlocked:v(304),statusDone:"Done",create:v(341),cancel:v(320),delete:v(297),rename:v(335),language:v(334)},terminal:{backToSessions:v(316),switchGroup:v(249),newTerminal:"محطة طرفية جديدة",send:v(281),typeCommand:v(303),deleteConfirm:v(253)},sessions:{newTerminal:"محطة طرفية جديدة",addGroup:"إضافة مجموعة",newGroup:v(294),groupName:v(271),renameGroup:v(268),deleteGroup:v(286),ungrouped:v(258),deleteSessionConfirm:"حذف الجلسة {name}؟ سيغلق المحطة الطرفية.",deleteGroupConfirm:"حذف المجموعة {name}؟ ستغلق جميع المحطات الطرفية بداخلها."},menu:{connection:"الاتصال",connectionDesc:v(269),terminals:v(284),terminalsDesc:v(254),logs:v(305),logsDesc:"نشاط الخادم والتشخيص"},recent:{title:v(282),replied:v(344),needsInput:"يحتاج إلى إدخالك",dismiss:v(310),empty:v(270)},header:{settings:v(260),language:"اللغة",documentation:v(301),reset:v(272),resetShort:v(256),shutdown:v(262),shutdownShort:v(296),lightMode:"التبديل إلى الوضع الفاتح",darkMode:v(299)},remote:{remoteDesktop:v(332),controlScreen:v(250),screenRecording:v(251),captureScreen:v(314),accessibility:"إمكانية الوصول",controlMouseKeyboard:v(289),startup:v(288),launchOnStartup:v(309),launchDesc:v(328),disabledStart:v(255),preventSleep:v(346),blockSleep:v(267),remoteUnlock:v(265),remoteUnlockDesc:v(266),remoteUnlockReady:v(317),grant:v(330),granted:v(308),sleepModes:{"30m":v(318),"1h":v(279),"2h":v(342),"4h":v(295),"24h":v(293),never:"لا تطفئ أبداً"}},clients:{clients:"العملاء",clientCount:v(339),noClients:v(311),autoApprove:v(257),anyDevice:"أي جهاز جديد يتصل بدون موافقة",requireManual:"يتطلب الموافقة اليدوية للأجهزة الجديدة",online:v(338),offline:v(336),pending:v(315),connected:"متصل",connectedAt:"متصل · {time}",pendingApproval:v(287),offlineAt:v(326),disconnect:v(274),disconnectRemove:v(323),remove:v(329),renameDevice:v(324),approveDevice:"الموافقة على هذا الجهاز",approveBtn:v(263),rejectBtn:v(264),newDevice:v(343),deviceId:v(259),deviceIp:"عنوان IP"},logs:{logs:v(305),noLogs:v(312),clear:v(351)},connection:{tunnelOffline:v(306),startTunnel:v(261),connect:v(350),connecting:"جاري الاتصال…",scanToSignIn:v(307),oneTimeKey:v(327),oneTimeDesc:"استخدام واحد · ينتهي",permanentKey:"مفتاح دائم",permanentDesc:"قابل لإعادة الاستخدام · بدون انتهاء",features:{terminal:v(340),fullShell:v(337),desktop:"سطح المكتب",remoteScreen:"التحكم في سطح المكتب البعيد",files:"الملفات",browseEdit:v(348)}},dialogs:{resetConfirm:v(298),shutdownConfirm:v(322),deviceDisconnect:v(285),deviceRemovePending:v(277),deviceRemoveOffline:v(347),grantPermissions:v(283),deviceName:v(302),nameExample:v(331)},buttons:{update:v(278),approve:"الموافقة",reject:v(264),save:v(292)},steps:{setupConnection:v(321),preparing:"جاري التحضير",checkingTunnel:v(273),connecting:"جاري الاتصال",creatingSession:v(349),tunneling:v(319),startingTunnel:"بدء نفق آمن",verifying:"جاري التحقق",healthCheck:v(325),ready:"جاهز",connected:"متصل",done:"تم",running:v(280)}};var F=l0;function l0(e,t){e=e-363;var n=In(),r=n[e];return r}(function(e,t){for(var n=l0,r=e();;)try{var o=parseInt(n(419))/1*(-parseInt(n(393))/2)+-parseInt(n(374))/3*(-parseInt(n(386))/4)+parseInt(n(365))/5+-parseInt(n(371))/6+-parseInt(n(366))/7*(parseInt(n(382))/8)+-parseInt(n(396))/9+parseInt(n(408))/10;if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(In,821840);function In(){var e=["Einmalnutzung · läuft ab","Permanenter Schlüssel","8XbNYNE","Bildschirmaufzeichnung","Benötigt Ihre Eingabe","Dokumentation","93596PYLnIt","PC fernentriegeln","Gruppe {name} löschen? Alle Terminals werden geschlossen.","Senden","Done","Live-Terminalsitzungen auf diesem Host","Geräte koppeln und Ihren sicheren Tunnel verwalten","2708tWKUOH","Neue Geräte verbinden sich ohne Genehmigung","Neue Gruppe","7674561pAgkqq","System-Standby verhindern, um Verbindung aktiv zu halten","Zurück zu Sitzungen","Agent hat geantwortet","Einmalschlüssel","Erstellen","Bildschirm, Maus und Tastatur steuern","Serveraktivität und Diagnose","Wiederverwendbar · kein Ablauf","Zuletzt verwendet","Deaktiviert — Manueller Start","QR-Code scannen oder Link öffnen zum Anmelden","3476450tbcWrv","Im Hintergrund ausgeführt, wenn Sie sich anmelden","Gruppe löschen","Remote Desktop","Working","Sprache","Shift+Enter für neue Zeile • Ctrl+Num zum Wechsel der Registerkarte","Neues Terminal","Terminals","Bildschirmanzeige zulassen","Needs input","100WvtmEs","Nicht gruppiert","Computer wach halten","Neue Geräte automatisch genehmigen","6052510nWqbkE","6508621USwPkY","Aktiv","Zum Hell-Modus wechseln","Zum Dunkel-Modus wechseln","Aktiv — Fernentsperrung funktioniert","2316648qGSOhx","Erlaube das Entsperren dieses PCs vom Telefon oder Browser, wenn er gesperrt ist","Gruppenname","201NMlEkN","Gruppe umbenennen","Beenden","Verwerfen","Tunnel zurücksetzen und Clients erneut verbinden","Keine aktuellen Aktivitäten"];return In=function(){return e},In()}const To={common:{statusIdle:"Idle",statusWorking:F(412),statusBlocked:F(418),statusDone:F(390),create:F(401),cancel:"Abbrechen",delete:"Löschen",rename:"Umbenennen",language:F(413)},terminal:{backToSessions:F(398),switchGroup:"Gruppe wechseln",newTerminal:F(415),send:F(389),typeCommand:F(414),deleteConfirm:"Terminal {name} löschen?"},sessions:{newTerminal:F(415),addGroup:"Gruppe hinzufügen",newGroup:F(395),groupName:F(373),renameGroup:F(375),deleteGroup:F(410),ungrouped:F(420),deleteSessionConfirm:"Sitzung {name} löschen? Dadurch wird das Terminal beendet.",deleteGroupConfirm:F(388)},menu:{connection:"Verbindung",connectionDesc:F(392),terminals:F(416),terminalsDesc:F(391),logs:"Protokolle",logsDesc:F(403)},recent:{title:F(405),replied:F(399),needsInput:F(384),dismiss:F(377),empty:F(379)},header:{settings:"Einstellungen",language:F(413),documentation:F(385),reset:F(378),resetShort:"Zurücksetzen",shutdown:"9Remote beenden (Server stoppen, Tunnel schließen, beenden)",shutdownShort:F(376),lightMode:F(368),darkMode:F(369)},remote:{remoteDesktop:F(411),controlScreen:F(402),screenRecording:F(383),captureScreen:F(417),accessibility:"Barrierefreiheit",controlMouseKeyboard:"Maus und Tastatur steuern",launchOnStartup:"Beim Start ausführen",launchDesc:F(409),disabledStart:F(406),preventSleep:F(363),blockSleep:F(397),remoteUnlock:F(387),remoteUnlockDesc:F(372),remoteUnlockReady:F(370),grant:"Erlauben",granted:F(367)},clients:{autoApprove:F(364),anyDevice:F(394),requireManual:"Manuelle Genehmigung für neue Geräte erforderlich"},connection:{scanToSignIn:F(407),oneTimeKey:F(400),oneTimeDesc:F(380),permanentKey:F(381),permanentDesc:F(404)}};function Cn(){var e=["Working","Clave de una sola vez","17274kTKlAg","Uso único · expira","Renombrar","629446BSusSl","¿Eliminar grupo {name}? Se cerrarán todos los terminales dentro.","Shift+Enter para nueva línea • Ctrl+Número para cambiar pestaña","Cancelar","Cerrar 9Remote (detener servidor, cerrar túnel, salir)","Escritorio Remoto","Reciente","¿Eliminar terminal {name}?","Activo — el desbloqueo remoto funciona","Eliminar","Registros","Aprobar automáticamente dispositivos nuevos","36004104gSInTj","Emparejar dispositivos y administrar su túnel seguro","Agregar Grupo","Volver a sesiones","Renombrar grupo","Nombre del grupo","Grabación de pantalla","Permitir","Cerrar","Controlar ratón y teclado","Permite desbloquear esta PC desde tu teléfono o navegador cuando está bloqueada","Accesibilidad","9919728kyuASL","Cualquier dispositivo nuevo se conecta sin aprobación","Conexión","Activo","Nuevo terminal","Clave Permanente","906764LuRDyT","Idioma","Needs input","El agente respondió","Restablecer","Enviar","Documentación","Deshabilitado — inicio manual","480PBGZKR","Cambiar grupo","24IFXUzM","Restablecer túnel y reconectar clientes","Desbloquear PC remotamente","Nuevo Grupo","305908GmFvtC","Sin actividad reciente","Terminales","Sesiones de terminal en vivo en este host","Ejecutar al iniciar","Eliminar grupo","Controlar pantalla, ratón y teclado","Configuración","Diagnóstico de actividad del servidor","2424808INKIzc","Escanear código QR o abrir enlace para iniciar sesión","Permitir vista de pantalla"];return Cn=function(){return e},Cn()}function c0(e,t){e=e-327;var n=Cn(),r=n[e];return r}var O=c0;(function(e,t){for(var n=c0,r=e();;)try{var o=-parseInt(n(380))/1+-parseInt(n(350))/2+parseInt(n(329))/3*(-parseInt(n(333))/4)+parseInt(n(327))/5*(parseInt(n(347))/6)+-parseInt(n(374))/7+-parseInt(n(342))/8+parseInt(n(362))/9;if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Cn,723332);const Do={common:{statusIdle:"Idle",statusWorking:O(345),statusBlocked:O(382),statusDone:"Done",create:"Crear",cancel:O(353),delete:O(359),rename:O(349),language:O(381)},terminal:{backToSessions:O(365),switchGroup:O(328),newTerminal:O(378),send:O(385),typeCommand:O(352),deleteConfirm:O(357)},sessions:{newTerminal:"Nuevo Terminal",addGroup:O(364),newGroup:O(332),groupName:O(367),renameGroup:O(366),deleteGroup:O(338),ungrouped:"Sin agrupar",deleteSessionConfirm:"¿Eliminar sesión {name}? Se cerrará el terminal.",deleteGroupConfirm:O(351)},menu:{connection:O(376),connectionDesc:O(363),terminals:O(335),terminalsDesc:O(336),logs:O(360),logsDesc:O(341)},recent:{title:O(356),replied:O(383),needsInput:"Necesita su entrada",dismiss:"Descartar",empty:O(334)},header:{settings:O(340),language:"Idioma",documentation:O(386),reset:O(330),resetShort:O(384),shutdown:O(354),shutdownShort:O(370),lightMode:"Cambiar a modo claro",darkMode:"Cambiar a modo oscuro"},remote:{remoteDesktop:O(355),controlScreen:O(339),screenRecording:O(368),captureScreen:O(344),accessibility:O(373),controlMouseKeyboard:O(371),launchOnStartup:O(337),launchDesc:"Ejecutar en segundo plano cuando inicie sesión",disabledStart:O(387),preventSleep:"Mantener ordenador despierto",blockSleep:"Impedir que el sistema duerma para mantener conexión activa",remoteUnlock:O(331),remoteUnlockDesc:O(372),remoteUnlockReady:O(358),grant:O(369),granted:O(377)},clients:{autoApprove:O(361),anyDevice:O(375),requireManual:"Requiere aprobación manual para dispositivos nuevos"},connection:{scanToSignIn:O(343),oneTimeKey:O(346),oneTimeDesc:O(348),permanentKey:O(379),permanentDesc:"Reutilizable · sin expiración"}};var H=u0;(function(e,t){for(var n=u0,r=e();;)try{var o=-parseInt(n(474))/1+-parseInt(n(473))/2+parseInt(n(496))/3+parseInt(n(448))/4+parseInt(n(462))/5+parseInt(n(469))/6+parseInt(n(465))/7*(-parseInt(n(452))/8);if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Tn,273368);function Tn(){var e=["افزودن گروه","جفت کردن دستگاهها و مدیریت تونل امن شما","اخیر","سابقه","راه اندازی در هنگام شروع","Done","نیاز به تأیید دستی برای دستگاههای جدید","اجازه باز شدن قفل این کامپیوتر از تلفن یا مرورگر هنگام قفل بودن","کد QR را اسکن کنید یا لینک را باز کنید تا وارد شوید","اجرا در پسزمینه هنگام ورود","زبان","Shift+Enter برای خط جدید • Ctrl+عدد برای تغییر برگه","تغییر گروه","جلوگیری از خواب سیستم برای نگه داشتن اتصال فعال","ضبط صفحه","تغییر به حالت تاریک","دسترسیپذیری","خاموش کردن 9Remote (توقف سرور، بستن تونل، خروج)","تغییر به حالت روشن","1480548CPJLFX","تشخیص فعالیت سرور","فعال","حذف گروه","استفاده یکبار · منقضی میشود","بازنشانی تونل و بازاتصال کلاینتها","ترمینال جدید","کنترل صفحه، ماوس و صفحه کلید","1333208LACLCr","بازگشت به جلسات","Needs input","کنترل ماوس و صفحه کلید","3832624hjuUxb","قابل استفاده مجدد · بدون انقضا","فعال — باز کردن قفل از راه دور کار میکند","کلید دائمی","تأیید خودکار دستگاههای جدید","Working","لغو","ترمینالها","خاموش","باز کردن قفل کامپیوتر از راه دور","648550KydnFv","غیرفعال — راه اندازی دستی","تغییر نام گروه","7LAPQKi","حذف گروه {name}؟ تمام ترمینال های درون آن بسته می شوند.","میزکار دور","هر دستگاه جدید بدون تأیید متصل میشود","1264272xrUZsA","ایجاد","حذف جلسه {name}؟ این کار ترمینال را بسته خواهد کرد.","نگه داشتن کامپیوتر بیدار","514098JdzVSi","157745tYsoPc","هیچ فعالیت اخیری وجود ندارد","مستندات"];return Tn=function(){return e},Tn()}function u0(e,t){e=e-442;var n=Tn(),r=n[e];return r}const Mo={common:{statusIdle:"Idle",statusWorking:H(457),statusBlocked:H(450),statusDone:H(482),create:H(470),cancel:H(458),delete:"حذف",rename:"تغییر نام",language:H(487)},terminal:{backToSessions:H(449),switchGroup:H(489),newTerminal:H(446),send:"ارسال",typeCommand:H(488),deleteConfirm:"حذف ترمینال {name}؟"},sessions:{newTerminal:H(446),addGroup:H(477),newGroup:"گروه جدید",groupName:"نام گروه",renameGroup:H(464),deleteGroup:H(443),ungrouped:"بدون گروه",deleteSessionConfirm:H(471),deleteGroupConfirm:H(466)},menu:{connection:"اتصال",connectionDesc:H(478),terminals:H(459),terminalsDesc:"جلسات ترمینال زنده در این میزبان",logs:H(480),logsDesc:H(497)},recent:{title:H(479),replied:"عامل پاسخ داد",needsInput:"نیاز به ورودی شما",dismiss:"رد کردن",empty:H(475)},header:{settings:"تنظیمات",language:H(487),documentation:H(476),reset:H(445),resetShort:"بازنشانی",shutdown:H(494),shutdownShort:H(460),lightMode:H(495),darkMode:H(492)},remote:{remoteDesktop:H(467),controlScreen:H(447),screenRecording:H(491),captureScreen:"اجازه دادن برای مشاهده صفحه",accessibility:H(493),controlMouseKeyboard:H(451),launchOnStartup:H(481),launchDesc:H(486),disabledStart:H(463),preventSleep:H(472),blockSleep:H(490),remoteUnlock:H(461),remoteUnlockDesc:H(484),remoteUnlockReady:H(454),grant:"اجازه",granted:H(442)},clients:{autoApprove:H(456),anyDevice:H(468),requireManual:H(483)},connection:{scanToSignIn:H(485),oneTimeKey:"کلید یکبار مصرف",oneTimeDesc:H(444),permanentKey:H(455),permanentDesc:H(453)}};function d0(e,t){e=e-253;var n=Dn(),r=n[e];return r}var G=d0;function Dn(){var e=["Supprimer","Autoriser","Réutilisable · sans expiration","Diagnostic d'activité du serveur","Aucune activité récente","Accessibilité","Passer au mode sombre","Arrêter 9Remote (arrêter le serveur, fermer le tunnel, quitter)","Enregistrement d'écran","8qSCSra","Paramètres","Supprimer le groupe {name} ? Tous les terminaux dedans seront fermés.","Usage unique · expire","Empêcher la mise en veille du système pour maintenir la connexion active","Approuver automatiquement les nouveaux appareils","Nécessite votre saisie","Scannez le code QR ou ouvrez le lien pour vous connecter","Tout nouvel appareil se connecte sans approbation","Appairer des appareils et gérer votre tunnel sécurisé","118873cHKxwN","54vFnCWr","Bureau à Distance","Supprimer le terminal {name} ?","Réinitialiser","Lancer au démarrage","Terminaux","Déverrouiller le PC à distance","170212TMjMwi","Actif — le déverrouillage à distance fonctionne","Renommer","Ajouter un Groupe","Nouveau terminal","Retour aux sessions","39dgBvvG","Idle","Documentation","Autoriser l'affichage de l'écran","Maintenir l'ordinateur actif","Actif","501243ltAnsz","Langue","Annuler","Contrôler l'écran, la souris et le clavier","Clé à Usage Unique","Nécessite l'approbation manuelle pour les nouveaux appareils","Supprimer le groupe","Réinitialiser le tunnel et reconnecter les clients","Nom du groupe","Non groupé","435618WDGvnP","Passer au mode clair","Contrôler la souris et le clavier","Supprimer la session {name} ? Cela fermera le terminal.","Done","628068jwSrFO","383265xuEops","4YQguoR","Sessions de terminal en direct sur cet hôte","4IPbOnw","Autoriser le déverrouillage de ce PC depuis votre téléphone ou navigateur lorsqu'il est verrouillé","62750EiwkZT","Rejeter","231YeBIGH","Changer de groupe","Clé Permanente","Journaux","Needs input"];return Dn=function(){return e},Dn()}(function(e,t){for(var n=d0,r=e();;)try{var o=parseInt(n(281))/1*(parseInt(n(318))/2)+parseInt(n(301))/3*(-parseInt(n(253))/4)+-parseInt(n(317))/5+parseInt(n(282))/6*(parseInt(n(289))/7)+parseInt(n(271))/8*(-parseInt(n(311))/9)+-parseInt(n(255))/10*(-parseInt(n(257))/11)+parseInt(n(316))/12*(-parseInt(n(295))/13);if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Dn,139212);const Uo={common:{statusIdle:G(296),statusWorking:"Working",statusBlocked:G(261),statusDone:G(315),create:"Créer",cancel:G(303),delete:G(262),rename:G(291),language:"Langue"},terminal:{backToSessions:G(294),switchGroup:G(258),newTerminal:G(293),send:"Envoyer",typeCommand:"Maj+Entrée pour nouvelle ligne • Ctrl+Num pour changer d'onglet",deleteConfirm:G(284)},sessions:{newTerminal:"Nouveau Terminal",addGroup:G(292),newGroup:"Nouveau Groupe",groupName:G(309),renameGroup:"Renommer le groupe",deleteGroup:G(307),ungrouped:G(310),deleteSessionConfirm:G(314),deleteGroupConfirm:G(273)},menu:{connection:"Connexion",connectionDesc:G(280),terminals:G(287),terminalsDesc:G(319),logs:G(260),logsDesc:G(265)},recent:{title:"Récent",replied:"L'agent a répondu",needsInput:G(277),dismiss:G(256),empty:G(266)},header:{settings:G(272),language:G(302),documentation:G(297),reset:G(308),resetShort:G(285),shutdown:G(269),shutdownShort:"Arrêter",lightMode:G(312),darkMode:G(268)},remote:{remoteDesktop:G(283),controlScreen:G(304),screenRecording:G(270),captureScreen:G(298),accessibility:G(267),controlMouseKeyboard:G(313),launchOnStartup:G(286),launchDesc:"Exécuter en arrière-plan lors de votre connexion",disabledStart:"Désactivé — lancement manuel",preventSleep:G(299),blockSleep:G(275),remoteUnlock:G(288),remoteUnlockDesc:G(254),remoteUnlockReady:G(290),grant:G(263),granted:G(300)},clients:{autoApprove:G(276),anyDevice:G(279),requireManual:G(306)},connection:{scanToSignIn:G(278),oneTimeKey:G(305),oneTimeDesc:G(274),permanentKey:G(259),permanentDesc:G(264)}};function Mn(){var e=["מחוק קבוצה {name}? כל הטרמינלים בפנים יסגרו.","שינוי שם","צמד התקנים וניהול התעלה המאובטחת שלך","הקלטת מסך","דורש אישור ידני להתקנים חדשים","חזרה להפעלות","הגדרות","דורש את הקלטך","תיעוד","פעיל — נעילה מרחוק עובדת","חיבור","1606tKEwJa","כל התקן חדש מתחבר ללא אישור","מבוטל — הפעלה ידנית","48ZWiNVx","טרמינלים","6779820JbdLQo","2102256dTqPQw","שם הקבוצה","Needs input","מחיקה","הפעל ברקע כשאתה מתחבר","6417830kCvAkB","פעיל","13629HAbytt","מפתח חד פעמי","דחה","איפוס","אין פעילות אחרונה","יצירה","1590Fuhfuz","1173650MdwwkX","אפשר ביטול נעילה של המחשב הזה מהטלפון או הדפדפן כשנעול","שלוט על המסך, העכבר והמקלדת","236QzSDEj","הפעל בהפעלת המערכת","אפשר הצגת מסך","הסוכן הגיב","שולחן עבודה מרחוק","נגישות","מחוק את הטרמינל {name}?","Shift+Enter לשורה חדשה • Ctrl+מספר לעבור בין כרטיסיות","2597511tEMcRG","שפה","הוודא שהמחשב ער","110rSfhiq","ניתן לשימוש חוזר · ללא תוקף","אפשר","יומנים","עבור למצב אפל","אישור אוטומטי של התקנים חדשים","מחוק הפעלה {name}? זה יסגור את הטרמינל.","אבחון פעילות השרת","מנע שינת מערכת כדי לשמור על חיבור פעיל","הפעלות טרמינל חיות על השרת הזה","קבוצה חדשה","מפתח קבוע"];return Mn=function(){return e},Mn()}var $=m0;function m0(e,t){e=e-199;var n=Mn(),r=n[e];return r}(function(e,t){for(var n=m0,r=e();;)try{var o=parseInt(n(228))/1*(-parseInt(n(209))/2)+parseInt(n(222))/3*(-parseInt(n(232))/4)+parseInt(n(220))/5+-parseInt(n(214))/6+-parseInt(n(240))/7+parseInt(n(212))/8*(parseInt(n(215))/9)+-parseInt(n(229))/10*(-parseInt(n(243))/11);if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Mn,812870);const jo={common:{statusIdle:"Idle",statusWorking:"Working",statusBlocked:$(217),statusDone:"Done",create:$(227),cancel:"ביטול",delete:$(218),rename:$(199),language:$(241)},terminal:{backToSessions:$(203),switchGroup:"החלפת קבוצה",newTerminal:"טרמינל חדש",send:"שליחה",typeCommand:$(239),deleteConfirm:$(238)},sessions:{newTerminal:"טרמינל חדש",addGroup:"הוסף קבוצה",newGroup:$(253),groupName:$(216),renameGroup:"שינוי שם קבוצה",deleteGroup:"מחוק קבוצה",ungrouped:"ללא קבוצה",deleteSessionConfirm:$(249),deleteGroupConfirm:$(255)},menu:{connection:$(208),connectionDesc:$(200),terminals:$(213),terminalsDesc:$(252),logs:$(246),logsDesc:$(250)},recent:{title:"לאחרונה",replied:$(235),needsInput:$(205),dismiss:$(224),empty:$(226)},header:{settings:$(204),language:$(241),documentation:$(206),reset:"איפוס התעלה והחבר מחדש ללקוחות",resetShort:$(225),shutdown:"כיבוי 9Remote (עצור שרת, סגור תעלה, יציאה)",shutdownShort:"כיבוי",lightMode:"עבור למצב בהיר",darkMode:$(247)},remote:{remoteDesktop:$(236),controlScreen:$(231),screenRecording:$(201),captureScreen:$(234),accessibility:$(237),controlMouseKeyboard:"שלוט על העכבר והמקלדת",launchOnStartup:$(233),launchDesc:$(219),disabledStart:$(211),preventSleep:$(242),blockSleep:$(251),remoteUnlock:"בטל נעילת מחשב מרחוק",remoteUnlockDesc:$(230),remoteUnlockReady:$(207),grant:$(245),granted:$(221)},clients:{autoApprove:$(248),anyDevice:$(210),requireManual:$(202)},connection:{scanToSignIn:"סרוק קוד QR או פתח קישור כדי להתחבר",oneTimeKey:$(223),oneTimeDesc:"שימוש אחד · פג",permanentKey:$(254),permanentDesc:$(244)}};var j=f0;(function(e,t){for(var n=f0,r=e();;)try{var o=-parseInt(n(387))/1+parseInt(n(361))/2+parseInt(n(422))/3*(parseInt(n(423))/4)+-parseInt(n(402))/5*(-parseInt(n(364))/6)+-parseInt(n(372))/7+-parseInt(n(396))/8+parseInt(n(386))/9;if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Un,517756);const Ro={common:{statusIdle:j(406),statusWorking:j(383),statusBlocked:j(400),statusDone:j(376),create:j(418),cancel:j(416),delete:j(398),rename:j(370),language:j(367)},terminal:{backToSessions:j(369),switchGroup:j(357),newTerminal:j(399),send:j(360),typeCommand:j(385),deleteConfirm:j(389)},sessions:{newTerminal:j(399),addGroup:j(415),newGroup:j(365),groupName:j(373),renameGroup:j(413),deleteGroup:j(362),ungrouped:j(391),deleteSessionConfirm:j(421),deleteGroupConfirm:j(380)},menu:{connection:j(363),connectionDesc:j(414),terminals:j(388),terminalsDesc:j(379),logs:"लॉग्स",logsDesc:j(417)},recent:{title:j(403),replied:j(374),needsInput:j(419),dismiss:j(416),empty:j(377)},header:{settings:j(401),language:j(367),documentation:j(405),reset:j(392),resetShort:j(381),shutdown:j(420),shutdownShort:j(408),lightMode:j(397),darkMode:"अंधेरे मोड पर स्विच करें"},remote:{remoteDesktop:"रिमोट डेस्कटॉप",controlScreen:j(394),screenRecording:j(409),captureScreen:j(384),accessibility:j(375),controlMouseKeyboard:j(378),launchOnStartup:j(404),launchDesc:j(395),disabledStart:"अक्षम — मैनुअल लॉन्च",preventSleep:j(371),blockSleep:j(366),remoteUnlock:j(412),remoteUnlockDesc:"लॉक होने पर इस PC को फ़ोन या ब्राउज़र से अनलॉक होने की अनुमति दें",remoteUnlockReady:j(358),grant:j(382),granted:"सक्रिय"},clients:{autoApprove:j(368),anyDevice:j(359),requireManual:j(411)},connection:{scanToSignIn:j(390),oneTimeKey:j(393),oneTimeDesc:j(407),permanentKey:j(410),permanentDesc:"पुन: उपयोग योग्य · कोई समाप्ति नहीं"}};function f0(e,t){e=e-357;var n=Un(),r=n[e];return r}function Un(){var e=["पहुंच योग्यता","Done","कोई हाल ही की गतिविधि नहीं","माउस और कीबोर्ड को नियंत्रित करें","इस होस्ट पर लाइव टर्मिनल सत्र","समूह {name} को हटाएं? इसके अंदर सभी टर्मिनल बंद हो जाएंगे।","रीसेट करें","अनुमति दें","Working","स्क्रीन दृश्य की अनुमति दें","नई लाइन के लिए Shift+Enter • टैब बदलने के लिए Ctrl+संख्या","9578142AxvFcG","998043wqjgPT","टर्मिनल","टर्मिनल {name} को हटाएं?","साइन इन करने के लिए QR कोड स्कैन करें या लिंक खोलें","असमूहित","सुरंग रीसेट करें और क्लाइंट को फिर से कनेक्ट करें","एकबारगी कुंजी","स्क्रीन, माउस और कीबोर्ड को नियंत्रित करें","जब आप लॉगिन करते हैं तो पृष्ठभूमि में चलाएं","635472oHiadP","हल्के मोड पर स्विच करें","हटाएं","नया टर्मिनल","Needs input","सेटिंग्स","31190mUOuiO","हाल ही में","स्टार्टअप पर लॉन्च करें","दस्तावेज़","Idle","एकल उपयोग · समाप्त होता है","बंद करें","स्क्रीन रिकॉर्डिंग","स्थायी कुंजी","नए डिवाइस के लिए मैनुअल अनुमोदन की आवश्यकता है","PC दूरस्थ रूप से अनलॉक करें","समूह का नाम बदलें","डिवाइस को जोड़ी करें और अपनी सुरक्षित सुरंग का प्रबंधन करें","समूह जोड़ें","रद्द करें","सर्वर गतिविधि निदान","बनाएं","आपके इनपुट की जरूरत है","9Remote को बंद करें (सर्वर बंद करें, सुरंग बंद करें, बाहर निकलें)","सत्र {name} को हटाएं? यह टर्मिनल को बंद कर देगा।","280593nOZzGk","4oIpoCT","समूह बदलें","सक्रिय — दूरस्थ अनलॉक काम कर रहा है","कोई भी नया डिवाइस अनुमोदन के बिना कनेक्ट करता है","भेजें","1660894FDTfUL","समूह हटाएं","संयोजन","48hCQPUH","नया समूह","कनेक्शन को सक्रिय रखने के लिए सिस्टम स्लीप को रोकें","भाषा","नए डिवाइस को स्वचालित रूप से मंजूरी दें","सत्रों पर वापस जाएं","पुनः नाम दें","कंप्यूटर को जागृत रखें","3100209oSsPeG","समूह का नाम","एजेंट ने जवाब दिया"];return Un=function(){return e},Un()}var Y=p0;function p0(e,t){e=e-232;var n=jn(),r=n[e];return r}function jn(){var e=["Jalankan di latar belakang saat Anda masuk","Hapus","Abaikan","Done","Izinkan tampilan layar","Beralih ke mode gelap","108uwPLDT","Log","56gEshJg","Dapat digunakan kembali · tidak ada kadaluarsa","Ubah nama grup","397870XzDLSs","Matikan","Tambah Grup","Nama grup","Shift+Enter untuk baris baru • Ctrl+Num untuk ganti tab","Needs input","Terminal baru","102tDRmOA","Agen merespon","2jkgMPp","Pindai kode QR atau buka tautan untuk masuk","Izinkan","Buat","Hapus grup {name}? Semua terminal di dalamnya akan ditutup.","Ubah Nama","Ganti grup","Pengaturan","Dinonaktifkan — peluncuran manual","Idle","103310QWtUEg","330eYiRLH","Hapus sesi {name}? Ini akan menutup terminal.","130930HQQKeW","Membutuhkan masukan Anda","Setujui perangkat baru secara otomatis","419461czWDzl","Perangkat baru apa pun terhubung tanpa persetujuan","7428QEaxyV","Tidak Dikelompokkan","Terminal","322821wGLNLb","Hapus grup","Dokumentasi","Kontrol mouse & keyboard","2385461AoeOUY","Memerlukan persetujuan manual untuk perangkat baru","Aksesibilitas","921ItIYBJ","Aktif — buka kunci jarak jauh berfungsi","Hapus terminal {name}?","Kembali ke sesi","Aktif","Kunci Sekali Pakai","Jaga komputer tetap aktif","Terbaru","Cegah sistem tidur untuk menjaga koneksi tetap aktif","Diagnostik aktivitas server","Kirim","Setel Ulang","Bahasa","Working"];return jn=function(){return e},jn()}(function(e,t){for(var n=p0,r=e();;)try{var o=parseInt(n(232))/1*(parseInt(n(241))/2)+-parseInt(n(269))/3*(parseInt(n(259))/4)+parseInt(n(251))/5*(-parseInt(n(239))/6)+-parseInt(n(257))/7+parseInt(n(291))/8*(-parseInt(n(262))/9)+parseInt(n(254))/10*(-parseInt(n(252))/11)+-parseInt(n(289))/12*(-parseInt(n(266))/13);if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(jn,424194);const Po={common:{statusIdle:Y(250),statusWorking:Y(282),statusBlocked:Y(237),statusDone:Y(286),create:Y(244),cancel:"Batalkan",delete:Y(284),rename:Y(246),language:Y(281)},terminal:{backToSessions:Y(272),switchGroup:Y(247),newTerminal:Y(238),send:Y(279),typeCommand:Y(236),deleteConfirm:Y(271)},sessions:{newTerminal:"Terminal Baru",addGroup:Y(234),newGroup:"Grup Baru",groupName:Y(235),renameGroup:Y(293),deleteGroup:Y(263),ungrouped:Y(260),deleteSessionConfirm:Y(253),deleteGroupConfirm:Y(245)},menu:{connection:"Koneksi",connectionDesc:"Pasangkan perangkat dan kelola terowongan aman Anda",terminals:Y(261),terminalsDesc:"Sesi terminal langsung berjalan di host ini",logs:Y(290),logsDesc:Y(278)},recent:{title:Y(276),replied:Y(240),needsInput:Y(255),dismiss:Y(285),empty:"Tidak ada aktivitas terbaru"},header:{settings:Y(248),language:"Bahasa",documentation:Y(264),reset:"Setel ulang terowongan dan sambungkan kembali klien",resetShort:Y(280),shutdown:"Matikan 9Remote (hentikan server, tutup terowongan, keluar)",shutdownShort:Y(233),lightMode:"Beralih ke mode terang",darkMode:Y(288)},remote:{remoteDesktop:"Dekstop Jarak Jauh",controlScreen:"Kontrol layar, mouse & keyboard",screenRecording:"Perekaman Layar",captureScreen:Y(287),accessibility:Y(268),controlMouseKeyboard:Y(265),launchOnStartup:"Luncurkan saat startup",launchDesc:Y(283),disabledStart:Y(249),preventSleep:Y(275),blockSleep:Y(277),remoteUnlock:"Buka kunci PC dari jarak jauh",remoteUnlockDesc:"Izinkan PC ini dibuka kuncinya dari ponsel atau browser saat terkunci",remoteUnlockReady:Y(270),grant:Y(243),granted:Y(273)},clients:{autoApprove:Y(256),anyDevice:Y(258),requireManual:Y(267)},connection:{scanToSignIn:Y(242),oneTimeKey:Y(274),oneTimeDesc:"Penggunaan tunggal · kedaluwarsa",permanentKey:"Kunci Permanen",permanentDesc:Y(292)}};var Q=g0;function g0(e,t){e=e-459;var n=Rn(),r=n[e];return r}function Rn(){var e=["Eliminare il terminale {name}?","Qualsiasi nuovo dispositivo si connette senza approvazione","Avvia all'avvio","Registrazione schermo","1833846YXKAPt","Richiede l'approvazione manuale per i nuovi dispositivi","Ripristina tunnel e riconnetti i client","Rinomina","Working","Terminali","3419596mGXzLB","Uso singolo · scade","Annulla","Sblocca PC da remoto","Connessione","Controlla schermo, mouse e tastiera","Spegni","Idle","1018062onYgvc","Abbina dispositivi e gestisci il tuo tunnel sicuro","883883YFtCAY","Scansiona il codice QR o apri il collegamento per accedere","Riutilizzabile · nessuna scadenza","Esegui in background quando accedi","Maiusc+Invio per nuova riga • Ctrl+Num per cambiare scheda","Nuovo terminale","Crea","Nuovo Gruppo","Attivo","Cambia gruppo","Desktop Remoto","Chiudi","Elimina","Lingua","Accessibilità","Mantieni il computer sveglio","Chiave Permanente","5029945RxkrYR","Necessita il tuo input","1267944LkqXDr","Nessuna attività recente","Eliminare la sessione {name}? Questo chiuderà il terminale.","Needs input","Approva automaticamente i nuovi dispositivi","Attivo — lo sblocco da remoto funziona","Non raggruppato","72ygLddP","Passa alla modalità chiara","1194fyHVUo","Nome del gruppo","Aggiungi Gruppo","699WItcNm","Diagnostica attività server","Chiave Usa e Getta","Ripristina","Sessioni di terminale live in esecuzione su questo host","Recente","L'agente ha risposto"];return Rn=function(){return e},Rn()}(function(e,t){for(var n=g0,r=e();;)try{var o=-parseInt(n(486))/1*(-parseInt(n(483))/2)+-parseInt(n(497))/3+parseInt(n(503))/4+parseInt(n(472))/5+-parseInt(n(474))/6+parseInt(n(513))/7+-parseInt(n(481))/8*(parseInt(n(511))/9);if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Rn,563792);const Eo={common:{statusIdle:Q(510),statusWorking:Q(501),statusBlocked:Q(477),statusDone:"Done",create:Q(461),cancel:Q(505),delete:Q(467),rename:Q(500),language:Q(468)},terminal:{backToSessions:"Torna alle sessioni",switchGroup:Q(464),newTerminal:Q(460),send:"Invia",typeCommand:Q(459),deleteConfirm:Q(493)},sessions:{newTerminal:"Nuovo Terminale",addGroup:Q(485),newGroup:Q(462),groupName:Q(484),renameGroup:"Rinomina gruppo",deleteGroup:"Elimina gruppo",ungrouped:Q(480),deleteSessionConfirm:Q(476),deleteGroupConfirm:"Eliminare il gruppo {name}? Tutti i terminali all'interno verranno chiusi."},menu:{connection:Q(507),connectionDesc:Q(512),terminals:Q(502),terminalsDesc:Q(490),logs:"Log",logsDesc:Q(487)},recent:{title:Q(491),replied:Q(492),needsInput:Q(473),dismiss:Q(466),empty:Q(475)},header:{settings:"Impostazioni",language:Q(468),documentation:"Documentazione",reset:Q(499),resetShort:Q(489),shutdown:"Spegni 9Remote (arresta server, chiudi tunnel, esci)",shutdownShort:Q(509),lightMode:Q(482),darkMode:"Passa alla modalità scura"},remote:{remoteDesktop:Q(465),controlScreen:Q(508),screenRecording:Q(496),captureScreen:"Consenti visualizzazione schermo",accessibility:Q(469),controlMouseKeyboard:"Controlla mouse e tastiera",launchOnStartup:Q(495),launchDesc:Q(516),disabledStart:"Disabilitato — avvio manuale",preventSleep:Q(470),blockSleep:"Impedisci la sospensione del sistema per mantenere attiva la connessione",remoteUnlock:Q(506),remoteUnlockDesc:"Consenti di sbloccare questo PC dal telefono o dal browser quando è bloccato",remoteUnlockReady:Q(479),grant:"Consenti",granted:Q(463)},clients:{autoApprove:Q(478),anyDevice:Q(494),requireManual:Q(498)},connection:{scanToSignIn:Q(514),oneTimeKey:Q(488),oneTimeDesc:Q(504),permanentKey:Q(471),permanentDesc:Q(515)}};var ae=h0;function h0(e,t){e=e-277;var n=Pn(),r=n[e];return r}(function(e,t){for(var n=h0,r=e();;)try{var o=parseInt(n(303))/1*(-parseInt(n(302))/2)+parseInt(n(315))/3*(-parseInt(n(311))/4)+parseInt(n(312))/5*(parseInt(n(295))/6)+parseInt(n(320))/7+parseInt(n(317))/8*(parseInt(n(284))/9)+-parseInt(n(277))/10+-parseInt(n(281))/11*(-parseInt(n(301))/12);if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Pn,524338);function Pn(){var e=["新しいデバイスは承認なしで接続","1732143LIXLqj","Shift+Enterで改行 • Ctrl+数字でタブを切り替え","ドキュメンテーション","ロック時にスマホやブラウザからこのPCをロック解除できるようにする","グループを切り替える","ターミナル {name} を削除しますか?","シャットダウン","トンネルをリセットしてクライアントを再接続","アクセシビリティ","10196450QefZnT","QRコードをスキャンするか、リンクを開いてサインイン","閉じる","デバイスをペアリングし、セキュアトンネルを管理します","14092243ZipFgb","1回限りの使用 · 有効期限あり","ログイン時にバックグラウンドで実行","63BUxOly","新しいターミナル","グループ {name} を削除しますか? 内部のすべてのターミナルが閉じます。","セッション一覧に戻る","有効 — リモートロック解除が機能しています","サーバーアクティビティ診断","画面録画","最近のアクティビティはありません","グループの名前を変更","Done","マウスとキーボードを操作","86982uhKFCX","無効 — 手動起動","Needs input","永続キー","名前変更","新規グループ","12nDCTVc","564HHRLiS","1341LaOhpG","再利用可能 · 有効期限なし","グループ名","キャンセル","リセット","画面表示を許可","あなたの入力が必要です","Idle","4gOnhAW","5COEOcP","接続を有効にするために、システムスリープを防ぐ","セッション {name} を削除しますか? ターミナルが終了します。","1438707IHRdBM","リモートデスクトップ","981320XiaCxM","起動時に実行"];return Pn=function(){return e},Pn()}const Ao={common:{statusIdle:ae(310),statusWorking:"Working",statusBlocked:ae(297),statusDone:ae(293),create:"作成",cancel:ae(306),delete:"削除",rename:ae(299),language:"言語"},terminal:{backToSessions:ae(287),switchGroup:ae(324),newTerminal:ae(285),send:"送信",typeCommand:ae(321),deleteConfirm:ae(325)},sessions:{newTerminal:"新しいターミナル",addGroup:"グループを追加",newGroup:ae(300),groupName:ae(305),renameGroup:ae(292),deleteGroup:"グループを削除",ungrouped:"グループ化されていません",deleteSessionConfirm:ae(314),deleteGroupConfirm:ae(286)},menu:{connection:"接続",connectionDesc:ae(280),terminals:"ターミナル",terminalsDesc:"このホストで実行中のライブターミナルセッション",logs:"ログ",logsDesc:ae(289)},recent:{title:"最近",replied:"エージェントが返信",needsInput:ae(309),dismiss:ae(279),empty:ae(291)},header:{settings:"設定",language:"言語",documentation:ae(322),reset:ae(327),resetShort:ae(307),shutdown:"9Remoteをシャットダウン(サーバー停止、トンネル閉鎖、終了)",shutdownShort:ae(326),lightMode:"ライトモードに切り替え",darkMode:"ダークモードに切り替え"},remote:{remoteDesktop:ae(316),controlScreen:"画面、マウス、キーボードを操作",screenRecording:ae(290),captureScreen:ae(308),accessibility:ae(328),controlMouseKeyboard:ae(294),launchOnStartup:ae(318),launchDesc:ae(283),disabledStart:ae(296),preventSleep:"コンピュータを起動状態に保つ",blockSleep:ae(313),remoteUnlock:"リモートでPCをロック解除",remoteUnlockDesc:ae(323),remoteUnlockReady:ae(288),grant:"許可",granted:"有効"},clients:{autoApprove:"新しいデバイスを自動的に承認",anyDevice:ae(319),requireManual:"新しいデバイスには手動承認が必要"},connection:{scanToSignIn:ae(278),oneTimeKey:"ワンタイムキー",oneTimeDesc:ae(282),permanentKey:ae(298),permanentDesc:ae(304)}};function b0(e,t){e=e-430;var n=En(),r=n[e];return r}function En(){var e=["1471394UXNKrh","9Remote 종료(서버 중지, 터널 닫기, 종료)","2nZKQkc","그룹 {name}을(를) 삭제하시겠습니까? 내부의 모든 터미널이 종료됩니다.","그룹 삭제","에이전트가 응답함","연결을 유지하기 위해 시스템 절전 방지","그룹 전환","그룹 추가","Idle","새 그룹","원격 데스크톱","마우스 및 키보드 제어","재사용 가능 · 만료 없음","라이트 모드로 전환","기기를 연결하고 보안 터널 관리","세션 {name}을(를) 삭제하시겠습니까? 터미널이 종료됩니다.","최근 활동 없음","16BuPQhQ","화면, 마우스 및 키보드 제어","터널 재설정 및 클라이언트 재연결","영구 키","재설정","다크 모드로 전환","만들기","로그인할 때 백그라운드에서 실행","이름 바꾸기","터미널","새 줄은 Shift+Enter • 탭 전환은 Ctrl+번호","비활성화 — 수동 시작","설명서","일회 사용 · 만료됨","QR 코드를 스캔하거나 링크를 열어 로그인","885092szDZxC","이 호스트에서 실행 중인 라이브 터미널 세션","3739625ZTOQXY","Needs input","새 기기 자동 승인","Working","9rWSEJk","원격으로 PC 잠금 해제","4340394EoIjzr","화면 녹화","세션으로 돌아가기","546196WoqgHq","10579410SWLMUx","사용자 입력 필요","3491262AjIttX","새 터미널","시작 시 시작","잠금 시 휴대폰이나 브라우저에서 이 PC를 잠금 해제하도록 허용"];return En=function(){return e},En()}var te=b0;(function(e,t){for(var n=b0,r=e();;)try{var o=parseInt(n(475))/1*(parseInt(n(477))/2)+parseInt(n(463))/3*(-parseInt(n(457))/4)+-parseInt(n(459))/5+parseInt(n(471))/6+parseInt(n(468))/7+-parseInt(n(442))/8*(parseInt(n(465))/9)+parseInt(n(469))/10;if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(En,812964);const Wo={common:{statusIdle:te(433),statusWorking:te(462),statusBlocked:te(460),statusDone:"Done",create:te(448),cancel:"취소",delete:"삭제",rename:te(450),language:"언어"},terminal:{backToSessions:te(467),switchGroup:te(431),newTerminal:te(472),send:"보내기",typeCommand:te(452),deleteConfirm:"터미널 {name}을(를) 삭제하시겠습니까?"},sessions:{newTerminal:te(472),addGroup:te(432),newGroup:te(434),groupName:"그룹 이름",renameGroup:"그룹 이름 바꾸기",deleteGroup:te(479),ungrouped:"그룹 없음",deleteSessionConfirm:te(440),deleteGroupConfirm:te(478)},menu:{connection:"연결",connectionDesc:te(439),terminals:te(451),terminalsDesc:te(458),logs:"로그",logsDesc:"서버 활동 진단"},recent:{title:"최근",replied:te(480),needsInput:te(470),dismiss:"닫기",empty:te(441)},header:{settings:"설정",language:"언어",documentation:te(454),reset:te(444),resetShort:te(446),shutdown:te(476),shutdownShort:"종료",lightMode:te(438),darkMode:te(447)},remote:{remoteDesktop:te(435),controlScreen:te(443),screenRecording:te(466),captureScreen:"화면 보기 허용",accessibility:"접근성",controlMouseKeyboard:te(436),launchOnStartup:te(473),launchDesc:te(449),disabledStart:te(453),preventSleep:"컴퓨터 깨어있게 유지",blockSleep:te(430),remoteUnlock:te(464),remoteUnlockDesc:te(474),remoteUnlockReady:"활성 — 원격 잠금 해제 작동 중",grant:"허용",granted:"활성"},clients:{autoApprove:te(461),anyDevice:"새 기기가 승인 없이 연결됨",requireManual:"새 기기에 수동 승인 필요"},connection:{scanToSignIn:te(456),oneTimeKey:"일회용 키",oneTimeDesc:te(455),permanentKey:te(445),permanentDesc:te(437)}};function v0(e,t){e=e-377;var n=An(),r=n[e];return r}function An(){var e=["Done","Memerlukan input anda","Rakaman skrin","Hantar","8pSGBMV","Working","Shift+Enter untuk baris baharu • Ctrl+Num untuk tukar tab","Tetap Semula","Memerlukan kelulusan manual untuk peranti baharu","Aktif","Terminal","Cegah tidur sistem untuk mengekalkan sambungan aktif","Benarkan PC ini dibuka kunci dari telefon atau pelayar apabila dikunci","Penggunaan tunggal · tamat tempoh","Sambungan","Boleh digunakan semula · tiada tamat tempoh","Imbas kod QR atau buka pautan untuk log masuk","19487006itoroe","789qKvqmg","1024vCuXJm","Tiada aktiviti terbaru","13076XTgYLc","Padam sesi {name}? Ini akan menutup terminal.","Pasangkan peranti dan uruskan terowong selamat anda","Tukar ke mod gelap","Lancar semasa permulaan","Bahasa","Diagnosis aktiviti pelayan","Kunci Kekal","295483fxrulM","12CFvKYc","Tukar ke mod cerah","Tukar nama","Buat","Aktif — buka kunci jauh berfungsi","Tetapan","Tetap semula terowong dan sambung semula klien","6uKrGfz","Lulus secara automatik peranti baharu","Sesi terminal langsung berjalan di hos ini","Dekstop Jauh","5461745RDHWRH","Batal","Needs input","Tutup","Buka kunci PC secara jauh","Tukar kumpulan","Kembali ke sesi","Pastikan komputer sentiasa aktif","Mana-mana peranti baharu menyambung tanpa kelulusan","Tidak dikumpulkan","Padam kumpulan","Benarkan paparan skrin","Padam","Benarkan","12055230xzvniR","Padam kumpulan {name}? Semua terminal di dalamnya akan ditutup.","Idle","10484mcbbCM","5414121bqmTFt","Kebolehaksesan","Ejen telah membalas","Log"];return An=function(){return e},An()}var L=v0;(function(e,t){for(var n=v0,r=e();;)try{var o=-parseInt(n(421))/1*(-parseInt(n(396))/2)+-parseInt(n(410))/3*(-parseInt(n(387))/4)+parseInt(n(433))/5*(-parseInt(n(429))/6)+parseInt(n(413))/7*(parseInt(n(411))/8)+-parseInt(n(388))/9+-parseInt(n(384))/10+-parseInt(n(409))/11*(-parseInt(n(422))/12);if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(An,982464);const Bo={common:{statusIdle:L(386),statusWorking:L(397),statusBlocked:L(435),statusDone:L(392),create:L(425),cancel:L(434),delete:L(382),rename:L(424),language:L(418)},terminal:{backToSessions:L(439),switchGroup:L(438),newTerminal:"Terminal baharu",send:L(395),typeCommand:L(398),deleteConfirm:"Padam terminal {name}?"},sessions:{newTerminal:"Terminal Baharu",addGroup:"Tambah Kumpulan",newGroup:"Kumpulan Baharu",groupName:"Nama kumpulan",renameGroup:"Tukar nama kumpulan",deleteGroup:L(380),ungrouped:L(379),deleteSessionConfirm:L(414),deleteGroupConfirm:L(385)},menu:{connection:L(406),connectionDesc:L(415),terminals:L(402),terminalsDesc:L(431),logs:L(391),logsDesc:L(419)},recent:{title:"Terbaru",replied:L(390),needsInput:L(393),dismiss:L(436),empty:L(412)},header:{settings:L(427),language:L(418),documentation:"Dokumentasi",reset:L(428),resetShort:L(399),shutdown:"Tutup 9Remote (hentikan pelayan, tutup terowong, keluar)",shutdownShort:L(436),lightMode:L(423),darkMode:L(416)},remote:{remoteDesktop:L(432),controlScreen:"Kawal skrin, tetikus & papan kunci",screenRecording:L(394),captureScreen:L(381),accessibility:L(389),controlMouseKeyboard:"Kawal tetikus & papan kunci",launchOnStartup:L(417),launchDesc:"Jalankan di latar belakang apabila anda log masuk",disabledStart:"Dilumpuhkan — pelancaran manual",preventSleep:L(377),blockSleep:L(403),remoteUnlock:L(437),remoteUnlockDesc:L(404),remoteUnlockReady:L(426),grant:L(383),granted:L(401)},clients:{autoApprove:L(430),anyDevice:L(378),requireManual:L(400)},connection:{scanToSignIn:L(408),oneTimeKey:"Kunci Sekali Guna",oneTimeDesc:L(405),permanentKey:L(420),permanentDesc:L(407)}};var R=y0;(function(e,t){for(var n=y0,r=e();;)try{var o=-parseInt(n(308))/1*(-parseInt(n(332))/2)+parseInt(n(316))/3*(-parseInt(n(334))/4)+parseInt(n(321))/5*(parseInt(n(328))/6)+parseInt(n(360))/7+-parseInt(n(343))/8+-parseInt(n(359))/9+parseInt(n(367))/10*(-parseInt(n(306))/11);if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Wn,694e3);function y0(e,t){e=e-302;var n=Wn(),r=n[e];return r}const Go={common:{statusIdle:R(355),statusWorking:R(371),statusBlocked:R(346),statusDone:R(314),create:R(336),cancel:R(338),delete:R(340),rename:R(342),language:R(305)},terminal:{backToSessions:R(362),switchGroup:R(349),newTerminal:"Nieuwe terminal",send:R(345),typeCommand:R(347),deleteConfirm:R(307)},sessions:{newTerminal:R(354),addGroup:R(310),newGroup:R(304),groupName:R(368),renameGroup:R(361),deleteGroup:R(318),ungrouped:R(315),deleteSessionConfirm:R(339),deleteGroupConfirm:R(364)},menu:{connection:R(335),connectionDesc:R(319),terminals:R(350),terminalsDesc:R(313),logs:R(311),logsDesc:"Serveractiviteit diagnostiek"},recent:{title:R(325),replied:R(303),needsInput:R(344),dismiss:R(309),empty:R(329)},header:{settings:R(369),language:R(305),documentation:R(363),reset:R(324),resetShort:R(323),shutdown:R(327),shutdownShort:R(352),lightMode:R(333),darkMode:R(357)},remote:{remoteDesktop:R(312),controlScreen:R(348),screenRecording:R(302),captureScreen:R(322),accessibility:"Toegankelijkheid",controlMouseKeyboard:"Muis en toetsenbord bedienen",launchOnStartup:"Bij het starten starten",launchDesc:R(317),disabledStart:R(330),preventSleep:R(356),blockSleep:R(326),remoteUnlock:R(366),remoteUnlockDesc:"Laat dit PC ontgrendeld worden vanaf telefoon of browser wanneer vergrendeld",remoteUnlockReady:R(365),grant:R(353),granted:"Actief"},clients:{autoApprove:R(351),anyDevice:R(341),requireManual:R(320)},connection:{scanToSignIn:"QR-code scannen of link openen om in te loggen",oneTimeKey:R(337),oneTimeDesc:R(331),permanentKey:R(358),permanentDesc:R(370)}};function Wn(){var e=["8956McMBlh","Overschakelen naar lichte modus","1004JSEwwL","Verbinding","Maken","Eenmalige Sleutel","Annuleren","Sessie {name} verwijderen? Dit sluit de terminal.","Verwijderen","Elk nieuw apparaat maakt verbinding zonder goedkeuring","Hernoemen","7512368kWHWtL","Heeft uw invoer nodig","Verzenden","Needs input","Shift+Enter voor nieuwe regel • Ctrl+Getal om tabblad te wisselen","Scherm, muis en toetsenbord bedienen","Groep wisselen","Terminals","Nieuwe apparaten automatisch goedkeuren","Afsluiten","Toestaan","Nieuwe Terminal","Idle","Computer wakker houden","Overschakelen naar donkere modus","Permanente Sleutel","1094274zzBNbk","9044168ShNGBX","Groep hernoemen","Terug naar sessies","Documentatie","Groep {name} verwijderen? Alle terminals erin sluiten.","Actief — ontgrendelen op afstand werkt","PC op afstand ontgrendelen","5840630oefhce","Groepsnaam","Instellingen","Herbruikbaar · geen vervaldatum","Working","Schermopname","Agent antwoordde","Nieuwe Groep","Taal","11rCUuhG","Terminal {name} verwijderen?","164LMxFpI","Sluiten","Groep Toevoegen","Logboeken","Extern Bureaublad","Live terminalsessies op deze host","Done","Niet gegroepeerd","513plYPRd","Op de achtergrond uitvoeren wanneer u inlogt","Groep verwijderen","Apparaten koppelen en uw beveiligde tunnel beheren","Handmatige goedkeuring nodig voor nieuwe apparaten","200yMdBSc","Schermweergave toestaan","Opnieuw instellen","Tunnel opnieuw instellen en clients opnieuw verbinden","Recente","Systeemruststand voorkomen om verbinding actief te houden","9Remote afsluiten (server stoppen, tunnel sluiten, afsluiten)","53280dajnDt","Geen recente activiteit","Uitgeschakeld — handmatig starten","Eenmalig gebruik · vervalt"];return Wn=function(){return e},Wn()}function Bn(){var e=["624600EERaTm","Nagrywanie ekranu","Anuluj","Zezwól na wyświetlanie ekranu","2HQlqGb","Kontroluj mysz i klawiaturę","Utrzymuj komputer w stanie czuwania","Ustawienia","61990OOzNFB","Needs input","27AHYxQP","3174493PXvzGF","371484ltDsjG","Zezwól na odblokowanie tego PC z telefonu lub przeglądarki przy zablokowaniu","Aktywne — zdalne odblokowywanie działa","Uniemożliwij uśpienie systemu aby utrzymać aktywne połączenie","13664288jyPtnP","Możliwy do ponownego użycia · bez wygaśnięcia","Niezgrupowane","Usunąć grupę {name}? Wszystkie terminale w niej zostaną zamknięte.","Zamknij 9Remote (zatrzymaj serwer, zamknij tunel, wyjdź)","Usunąć terminal {name}?","Wyłączone — uruchamianie ręczne","Pulpit Zdalny","Zresetuj tunel i ponownie połącz klientów","Aktywne","Terminale","Kontroluj ekran, mysz i klawiaturę","Usuń grupę","Zresetuj","Usuń","Jednorazowe użycie · wygasa","Idle","Wymaga ręcznego zatwierdzenia dla nowych urządzeń","Każde nowe urządzenie się łączy bez zatwierdzenia","962848odhqJe","Done","Nazwa grupy","4KJSJNH","Shift+Enter dla nowej linii • Ctrl+Num aby zmienić kartę","Język","442126JPvAUZ","Uruchamiaj przy starcie","Klucz Jednorazowy","10naVzIj","Zmień grupę","Połączenie","Utwórz","Nowy Terminal","Odblokuj PC zdalnie","Zmień nazwę grupy","Zamknij","Nowa Grupa","Przełącz na tryb jasny","Dodaj Grupę","Brak ostatniej aktywności"];return Bn=function(){return e},Bn()}var ee=k0;(function(e,t){for(var n=k0,r=e();;)try{var o=-parseInt(n(287))/1*(parseInt(n(306))/2)+parseInt(n(314))/3*(-parseInt(n(340))/4)+parseInt(n(290))/5*(parseInt(n(302))/6)+-parseInt(n(313))/7+-parseInt(n(337))/8+-parseInt(n(312))/9*(-parseInt(n(310))/10)+parseInt(n(318))/11;if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Bn,329196);function k0(e,t){e=e-285;var n=Bn(),r=n[e];return r}const zo={common:{statusIdle:ee(334),statusWorking:"Working",statusBlocked:ee(311),statusDone:ee(338),create:ee(293),cancel:ee(304),delete:ee(332),rename:"Zmień nazwę",language:ee(286)},terminal:{backToSessions:"Wróć do sesji",switchGroup:ee(291),newTerminal:"Nowy terminal",send:"Wyślij",typeCommand:ee(285),deleteConfirm:ee(323)},sessions:{newTerminal:ee(294),addGroup:ee(300),newGroup:ee(298),groupName:ee(339),renameGroup:ee(296),deleteGroup:ee(330),ungrouped:ee(320),deleteSessionConfirm:"Usunąć sesję {name}? To zamknie terminal.",deleteGroupConfirm:ee(321)},menu:{connection:ee(292),connectionDesc:"Sparuj urządzenia i zarządzaj bezpiecznym tunelem",terminals:ee(328),terminalsDesc:"Sesje terminala na żywo na tym hoście",logs:"Dzienniki",logsDesc:"Diagnostyka aktywności serwera"},recent:{title:"Ostatnie",replied:"Agent odpowiedział",needsInput:"Potrzebuje Twojego wkładu",dismiss:"Zamknij",empty:ee(301)},header:{settings:ee(309),language:ee(286),documentation:"Dokumentacja",reset:ee(326),resetShort:ee(331),shutdown:ee(322),shutdownShort:ee(297),lightMode:ee(299),darkMode:"Przełącz na tryb ciemny"},remote:{remoteDesktop:ee(325),controlScreen:ee(329),screenRecording:ee(303),captureScreen:ee(305),accessibility:"Dostępność",controlMouseKeyboard:ee(307),launchOnStartup:ee(288),launchDesc:"Uruchom w tle po zalogowaniu",disabledStart:ee(324),preventSleep:ee(308),blockSleep:ee(317),remoteUnlock:ee(295),remoteUnlockDesc:ee(315),remoteUnlockReady:ee(316),grant:"Zezwól",granted:ee(327)},clients:{autoApprove:"Automatycznie zatwierdź nowe urządzenia",anyDevice:ee(336),requireManual:ee(335)},connection:{scanToSignIn:"Zeskanuj kod QR lub otwórz link aby się zalogować",oneTimeKey:ee(289),oneTimeDesc:ee(333),permanentKey:"Klucz Permanentny",permanentDesc:ee(319)}};var J=_0;function _0(e,t){e=e-484;var n=Gn(),r=n[e];return r}(function(e,t){for(var n=_0,r=e();;)try{var o=-parseInt(n(502))/1+-parseInt(n(540))/2+parseInt(n(528))/3+-parseInt(n(487))/4*(-parseInt(n(505))/5)+parseInt(n(516))/6+parseInt(n(520))/7+parseInt(n(506))/8;if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Gn,564805);const Lo={common:{statusIdle:J(486),statusWorking:J(511),statusBlocked:J(510),statusDone:J(504),create:"Criar",cancel:J(527),delete:J(533),rename:J(507),language:"Idioma"},terminal:{backToSessions:J(498),switchGroup:"Trocar de grupo",newTerminal:J(514),send:J(490),typeCommand:J(493),deleteConfirm:J(538)},sessions:{newTerminal:J(530),addGroup:"Adicionar Grupo",newGroup:"Novo Grupo",groupName:J(515),renameGroup:"Renomear grupo",deleteGroup:J(523),ungrouped:J(491),deleteSessionConfirm:J(532),deleteGroupConfirm:J(522)},menu:{connection:J(519),connectionDesc:"Emparelhe dispositivos e gerencie seu túnel seguro",terminals:J(497),terminalsDesc:J(500),logs:J(524),logsDesc:"Diagnóstico de atividade do servidor"},recent:{title:J(512),replied:"O agente respondeu",needsInput:"Precisa de sua entrada",dismiss:J(526),empty:"Nenhuma atividade recente"},header:{settings:"Configurações",language:"Idioma",documentation:J(484),reset:J(496),resetShort:J(521),shutdown:J(489),shutdownShort:"Desligar",lightMode:J(495),darkMode:"Alternar para modo escuro"},remote:{remoteDesktop:J(503),controlScreen:J(501),screenRecording:J(529),captureScreen:J(492),accessibility:J(537),controlMouseKeyboard:J(488),launchOnStartup:J(536),launchDesc:J(525),disabledStart:J(494),preventSleep:J(517),blockSleep:"Impedir que o sistema durma para manter a conexão ativa",remoteUnlock:J(539),remoteUnlockDesc:J(509),remoteUnlockReady:"Ativo — desbloqueio remoto funcionando",grant:J(508),granted:J(531)},clients:{autoApprove:J(513),anyDevice:J(499),requireManual:J(518)},connection:{scanToSignIn:"Escaneie o código QR ou abra o link para fazer login",oneTimeKey:"Chave Única",oneTimeDesc:J(534),permanentKey:J(535),permanentDesc:J(485)}};function Gn(){var e=["Desagrupado","Permitir visualização da tela","Shift+Enter para nova linha • Ctrl+Número para trocar aba","Desabilitado — inicialização manual","Alternar para modo claro","Reconfigurar túnel e reconectar clientes","Terminais","Voltar às sessões","Qualquer novo dispositivo se conecta sem aprovação","Sessões de terminal ao vivo em execução neste host","Controlar tela, mouse e teclado","1074535PGRLSM","Área de Trabalho Remota","Done","26905MFOlBn","2191448qeokaL","Renomear","Permitir","Permitir desbloquear este PC pelo telefone ou navegador quando bloqueado","Needs input","Working","Recente","Aprovar automaticamente novos dispositivos","Novo terminal","Nome do grupo","2009064AvWdCr","Manter computador acordado","Requer aprovação manual para novos dispositivos","Conexão","3279185Yvivue","Reconfigurar","Excluir o grupo {name}? Todos os terminais dentro serão fechados.","Excluir grupo","Logs","Executar em segundo plano ao fazer login","Descartar","Cancelar","1899459lMUNCj","Gravação de tela","Novo Terminal","Ativo","Excluir a sessão {name}? Isso fechará o terminal.","Excluir","Uso único · expira","Chave Permanente","Iniciar na inicialização","Acessibilidade","Excluir o terminal {name}?","Desbloquear PC remotamente","1896292JwpOTT","Documentação","Reutilizável · sem expiração","Idle","652wcQNKC","Controlar mouse e teclado","Desligar 9Remote (parar servidor, fechar túnel, sair)","Enviar"];return Gn=function(){return e},Gn()}function N0(e,t){e=e-216;var n=zn(),r=n[e];return r}var ne=N0;function zn(){var e=["Создать","Язык","Новый Терминал","Автоматически одобрять новые устройства","8egJoPI","Специальные возможности","Требует ручного одобрения для новых устройств","Отмена","Диагностика активности сервера","4983QZPtjd","Параметры","Отсканируйте код QR или откройте ссылку для входа","Удалить группу {name}? Все терминалы внутри будут закрыты.","3nFBzhi","Новый терминал","Отправить","Документация","Переименовать группу","4810795wavqyS","Выключить 9Remote (остановить сервер, закрыть туннель, выйти)","Предотвратить спящий режим системы для сохранения подключения","Терминалы","Новые устройства подключаются без одобрения","Новая Группа","2644780SmDVvZ","Удалённый Рабочий Стол","Переименовать","Недавнее","Done","10139373wokgLn","1812022HRAcqy","Не давать компьютеру спать","Запись экрана","7032221mhUXaG","6IMvGuR","Удалить","Переключить группу","Управление экраном, мышью и клавиатурой","74170wxsanw","Не сгруппировано","Работать в фоне при входе","Разрешить","Разрешить разблокировку этого ПК с телефона или браузера при блокировке","Активно","Working","Агент ответил","Добавить Группу","Перезагрузить туннель и переподключить клиентов","Переключиться на тёмный режим","Переключиться на светлый режим","Свяжите устройства и управляйте защищённым туннелем","1449174ZZnInq","Однократное использование · срок действия","Живые сеансы терминала на этом хосте"];return zn=function(){return e},zn()}(function(e,t){for(var n=N0,r=e();;)try{var o=parseInt(n(219))/1+-parseInt(n(252))/2*(parseInt(n(235))/3)+parseInt(n(246))/4+parseInt(n(240))/5+-parseInt(n(256))/6*(-parseInt(n(255))/7)+parseInt(n(226))/8*(parseInt(n(251))/9)+parseInt(n(260))/10*(-parseInt(n(231))/11);if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(zn,937816);const Oo={common:{statusIdle:"Idle",statusWorking:ne(266),statusBlocked:"Needs input",statusDone:ne(250),create:ne(222),cancel:ne(229),delete:ne(257),rename:ne(248),language:ne(223)},terminal:{backToSessions:"Вернуться к сеансам",switchGroup:ne(258),newTerminal:ne(236),send:ne(237),typeCommand:"Shift+Enter для новой строки • Ctrl+Цифра для переключения вкладки",deleteConfirm:"Удалить терминал {name}?"},sessions:{newTerminal:ne(224),addGroup:ne(268),newGroup:ne(245),groupName:"Имя группы",renameGroup:ne(239),deleteGroup:"Удалить группу",ungrouped:ne(261),deleteSessionConfirm:"Удалить сеанс {name}? Это закроет терминал.",deleteGroupConfirm:ne(234)},menu:{connection:"Подключение",connectionDesc:ne(218),terminals:ne(243),terminalsDesc:ne(221),logs:"Логи",logsDesc:ne(230)},recent:{title:ne(249),replied:ne(267),needsInput:"Требует вашего ввода",dismiss:"Закрыть",empty:"Нет недавней активности"},header:{settings:ne(232),language:ne(223),documentation:ne(238),reset:ne(269),resetShort:"Перезагрузить",shutdown:ne(241),shutdownShort:"Выключить",lightMode:ne(217),darkMode:ne(216)},remote:{remoteDesktop:ne(247),controlScreen:ne(259),screenRecording:ne(254),captureScreen:"Разрешить просмотр экрана",accessibility:ne(227),controlMouseKeyboard:"Управление мышью и клавиатурой",launchOnStartup:"Запуск при старте",launchDesc:ne(262),disabledStart:"Отключено — ручной запуск",preventSleep:ne(253),blockSleep:ne(242),remoteUnlock:"Удалённо разблокировать ПК",remoteUnlockDesc:ne(264),remoteUnlockReady:"Активно — удалённая разблокировка работает",grant:ne(263),granted:ne(265)},clients:{autoApprove:ne(225),anyDevice:ne(244),requireManual:ne(228)},connection:{scanToSignIn:ne(233),oneTimeKey:"Одноразовый Ключ",oneTimeDesc:ne(220),permanentKey:"Постоянный Ключ",permanentDesc:"Многоразовое использование · без срока действия"}};var W=S0;(function(e,t){for(var n=S0,r=e();;)try{var o=-parseInt(n(402))/1*(parseInt(n(370))/2)+-parseInt(n(380))/3*(parseInt(n(400))/4)+-parseInt(n(387))/5*(-parseInt(n(429))/6)+-parseInt(n(389))/7+-parseInt(n(374))/8*(parseInt(n(412))/9)+parseInt(n(409))/10*(-parseInt(n(410))/11)+-parseInt(n(391))/12*(-parseInt(n(406))/13);if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Ln,833922);function Ln(){var e=["Återställ tunnel och anslut om klienter","Radera session {name}? Det här kommer att stänga terminalen.","Godkänn nya enheter automatiskt","Byt till mörkt läge","Återanvändbar · ingen utgångsdatum","Radera grupp","3079946CZzuSW","Inställningar","Senaste","Working","413816sbhByh","Lägg till Grupp","Tillåt","Skanna QR-kod eller öppna länk för att logga in","Engångsbr uk · upphör","Ny Grupp","26031gkOKoT","Styra skärm, mus och tangentbord","Styra mus och tangentbord","Radera grupp {name}? Alla terminaler inom kommer att stängas.","Byt grupp","Permanent Nyckel","Behöver din inmatning","5730IltABC","Engångsnyckel","6865642CFXEag","Skärmregistrering","57862692aUANhu","Needs input","Förhindra systemvila för att hålla anslutningen aktiv","Agenten svarade","Radera terminal {name}?","Inaktiverad — manuell start","Inte grupperad","Språk","Ingen nylig aktivitet","48kaWvPs","Tillåt skärmvy","1IbHbNk","Avbryt","Ny terminal","Skicka","13waPBCI","Tillbaka till sessioner","Dokumentation","50BTVZug","1638747PVKEfp","Lås upp PC på distans","225rxjwao","Stäng av 9Remote (stoppa server, stäng tunnel, avsluta)","Aktiv","Skapa","Aktiv — fjärrupplåsning fungerar","Återställ","Starta vid systemstart","Stäng","Byt till ljust läge","Håll datorn vaken","Loggar","Stäng av","Ny Terminal","Idle","Kör i bakgrunden när du loggar in","Shift+Enter för ny rad • Ctrl+Siffra för att byta flik","Gruppnamn","3534uTgzQz","Done"];return Ln=function(){return e},Ln()}function S0(e,t){e=e-366;var n=Ln(),r=n[e];return r}const Ko={common:{statusIdle:W(425),statusWorking:W(373),statusBlocked:W(392),statusDone:W(430),create:W(415),cancel:W(403),delete:"Radera",rename:"Döp om",language:W(398)},terminal:{backToSessions:W(407),switchGroup:W(384),newTerminal:W(404),send:W(405),typeCommand:W(427),deleteConfirm:W(395)},sessions:{newTerminal:W(424),addGroup:W(375),newGroup:W(379),groupName:W(428),renameGroup:"Döp om grupp",deleteGroup:W(369),ungrouped:W(397),deleteSessionConfirm:W(432),deleteGroupConfirm:W(383)},menu:{connection:"Anslutning",connectionDesc:"Para ihop enheter och hantera din säkra tunnel",terminals:"Terminaler",terminalsDesc:"Live terminalsessioner som körs på denna värd",logs:W(422),logsDesc:"Serveraktivitetsdiagnostik"},recent:{title:W(372),replied:W(394),needsInput:W(386),dismiss:W(419),empty:W(399)},header:{settings:W(371),language:W(398),documentation:W(408),reset:W(431),resetShort:W(417),shutdown:W(413),shutdownShort:W(423),lightMode:W(420),darkMode:W(367)},remote:{remoteDesktop:"Fjärrskrivbord",controlScreen:W(381),screenRecording:W(390),captureScreen:W(401),accessibility:"Tillgänglighet",controlMouseKeyboard:W(382),launchOnStartup:W(418),launchDesc:W(426),disabledStart:W(396),preventSleep:W(421),blockSleep:W(393),remoteUnlock:W(411),remoteUnlockDesc:"Tillåt att denna PC låses upp från telefon eller webbläsare när den är låst",remoteUnlockReady:W(416),grant:W(376),granted:W(414)},clients:{autoApprove:W(366),anyDevice:"Alla nya enheter ansluts utan godkännande",requireManual:"Kräver manuellt godkännande för nya enheter"},connection:{scanToSignIn:W(377),oneTimeKey:W(388),oneTimeDesc:W(378),permanentKey:W(385),permanentDesc:W(368)}};var E=w0;(function(e,t){for(var n=w0,r=e();;)try{var o=-parseInt(n(388))/1*(-parseInt(n(331))/2)+-parseInt(n(354))/3+-parseInt(n(366))/4+parseInt(n(346))/5+parseInt(n(373))/6+-parseInt(n(359))/7*(-parseInt(n(387))/8)+-parseInt(n(339))/9;if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(On,712018);const qo={common:{statusIdle:E(381),statusWorking:E(375),statusBlocked:E(371),statusDone:E(326),create:"สร้าง",cancel:"ยกเลิก",delete:"ลบ",rename:E(355),language:E(342)},terminal:{backToSessions:E(360),switchGroup:E(363),newTerminal:E(382),send:E(350),typeCommand:E(348),deleteConfirm:E(378)},sessions:{newTerminal:E(382),addGroup:E(374),newGroup:E(327),groupName:E(372),renameGroup:E(376),deleteGroup:E(365),ungrouped:E(328),deleteSessionConfirm:E(353),deleteGroupConfirm:E(383)},menu:{connection:"การเชื่อมต่อ",connectionDesc:"จับคู่อุปกรณ์และจัดการอุโมงค์ที่ปลอดภัยของคุณ",terminals:E(330),terminalsDesc:E(332),logs:E(333),logsDesc:"การวินิจฉัยกิจกรรมของเซิร์ฟเวอร์"},recent:{title:E(358),replied:"เอเจนต์ตอบแล้ว",needsInput:"ต้องการอินพุตของคุณ",dismiss:E(377),empty:E(369)},header:{settings:E(340),language:E(342),documentation:E(329),reset:E(368),resetShort:E(341),shutdown:E(343),shutdownShort:E(377),lightMode:E(357),darkMode:E(345)},remote:{remoteDesktop:E(347),controlScreen:E(335),screenRecording:E(336),captureScreen:E(334),accessibility:E(364),controlMouseKeyboard:E(338),launchOnStartup:"เปิดตัวเมื่อเริ่มต้น",launchDesc:E(379),disabledStart:E(386),preventSleep:E(344),blockSleep:E(367),remoteUnlock:E(362),remoteUnlockDesc:E(370),remoteUnlockReady:E(385),grant:"อนุญาต",granted:E(361)},clients:{autoApprove:"อนุมัติอุปกรณ์ใหม่โดยอัตโนมัติ",anyDevice:E(380),requireManual:E(351)},connection:{scanToSignIn:E(349),oneTimeKey:E(356),oneTimeDesc:E(352),permanentKey:E(337),permanentDesc:E(384)}};function w0(e,t){e=e-326;var n=On(),r=n[e];return r}function On(){var e=["การบันทึกหน้าจอ","กุญแจถาวร","ควบคุมเมาส์และแป้นพิมพ์","12560292lhnVuZ","การตั้งค่า","รีเซ็ต","ภาษา","ปิด 9Remote (หยุดเซิร์ฟเวอร์ ปิดอุโมงค์ ออก)","รักษาคอมพิวเตอร์ให้ตื่นตัว","สลับไปยังโหมดมืด","5271740MPXAnl","เดสก์ทอประยะไกล","Shift+Enter สำหรับบรรทัดใหม่ • Ctrl+หมายเลข เพื่อเปลี่ยนแท็บ","สแกน QR Code หรือเปิดลิงก์เพื่อเข้าสู่ระบบ","ส่ง","ต้องอนุมัติแบบแมนนวลสำหรับอุปกรณ์ใหม่","ใช้ครั้งเดียว · หมดอายุ","ลบเซสชัน {name}? สิ่งนี้จะปิดเทอร์มินัล","2357736ObdpKf","เปลี่ยนชื่อ","กุญแจใช้ครั้งเดียว","สลับไปยังโหมดสว่าง","ล่าสุด","192178dlDByk","กลับไปยังเซสชัน","ใช้งาน","ปลดล็อกพีซีระยะไกล","สลับกลุ่ม","ความสามารถในการเข้าถึง","ลบกลุ่ม","5415564dTYClI","ป้องกันการนอนของระบบเพื่อให้การเชื่อมต่อใช้งานอยู่","รีเซ็ตอุโมงค์และเชื่อมต่อไคลเอนต์ใหม่","ไม่มีกิจกรรมล่าสุด","อนุญาตให้ปลดล็อกพีซีเครื่องนี้จากโทรศัพท์หรือเบราว์เซอร์เมื่อล็อก","Needs input","ชื่อกลุ่ม","4869738eSYOIe","เพิ่มกลุ่ม","Working","เปลี่ยนชื่อกลุ่ม","ปิด","ลบเทอร์มินัล {name}?","รันในพื้นหลังเมื่อคุณเข้าสู่ระบบ","อุปกรณ์ใหม่ใดๆ เชื่อมต่อโดยไม่ต้องอนุมัติ","Idle","เทอร์มินัลใหม่","ลบกลุ่ม {name}? เทอร์มินัลทั้งหมดข้างในจะถูกปิด","นำกลับมาใช้ได้ · ไม่มีวันหมดอายุ","ใช้งาน — ปลดล็อกระยะไกลทำงาน","ปิดใช้งาน — การเปิดตัวแบบแมนนวล","408XcRqqL","981284EYYifi","Done","กลุ่มใหม่","ไม่จัดกลุ่ม","เอกสาร","เทอร์มินัล","2bVPBJG","เซสชันเทอร์มินัลแบบสดบนโฮสต์นี้","บันทึก","อนุญาตการดูหน้าจอ","ควบคุมหน้าจอ เมาส์ และแป้นพิมพ์"];return On=function(){return e},On()}var K=I0;function I0(e,t){e=e-198;var n=Kn(),r=n[e];return r}(function(e,t){for(var n=I0,r=e();;)try{var o=parseInt(n(214))/1*(-parseInt(n(210))/2)+parseInt(n(248))/3*(-parseInt(n(237))/4)+parseInt(n(209))/5+parseInt(n(207))/6+parseInt(n(256))/7+parseInt(n(247))/8*(-parseInt(n(241))/9)+-parseInt(n(227))/10*(-parseInt(n(234))/11);if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Kn,145013);const Fo={common:{statusIdle:K(220),statusWorking:K(245),statusBlocked:K(218),statusDone:K(242),create:K(254),cancel:K(253),delete:K(212),rename:"Yeniden Adlandır",language:"Dil"},terminal:{backToSessions:"Oturumlara Geri Dön",switchGroup:K(250),newTerminal:K(211),send:"Gönder",typeCommand:K(233),deleteConfirm:K(246)},sessions:{newTerminal:K(211),addGroup:"Grup Ekle",newGroup:K(239),groupName:"Grup Adı",renameGroup:K(249),deleteGroup:K(199),ungrouped:K(251),deleteSessionConfirm:K(230),deleteGroupConfirm:"Grup {name} silinsin mi? İçindeki tüm terminallar kapatılacak."},menu:{connection:K(205),connectionDesc:"Cihazları eşleştirin ve güvenli tünelinizi yönetin",terminals:K(236),terminalsDesc:"Bu sunucuda çalışan canlı terminal oturumları",logs:K(204),logsDesc:"Sunucu aktivite tanılama"},recent:{title:K(215),replied:K(255),needsInput:"Sizin girişinize ihtiyaç duyuyor",dismiss:K(238),empty:"Son aktivite yok"},header:{settings:K(225),language:K(200),documentation:K(231),reset:K(243),resetShort:K(226),shutdown:K(198),shutdownShort:K(238),lightMode:K(201),darkMode:K(258)},remote:{remoteDesktop:K(203),controlScreen:K(235),screenRecording:K(217),captureScreen:"Ekran Görünümüne İzin Ver",accessibility:K(224),controlMouseKeyboard:K(202),launchOnStartup:K(244),launchDesc:K(208),disabledStart:K(206),preventSleep:"Bilgisayarı Uyanık Tut",blockSleep:K(229),remoteUnlock:K(257),remoteUnlockDesc:K(213),remoteUnlockReady:"Etkin — uzaktan kilitleme açma çalışıyor",grant:K(219),granted:K(252)},clients:{autoApprove:K(240),anyDevice:K(216),requireManual:K(221)},connection:{scanToSignIn:K(228),oneTimeKey:K(232),oneTimeDesc:K(223),permanentKey:K(222),permanentDesc:"Yeniden kullanılabilir · son kullanma tarihi yok"}};function Kn(){var e=["Son","Yeni herhangi bir cihaz onay olmaksızın bağlanır","Ekran Kaydı","Needs input","İzin ver","Idle","Yeni cihazlar için manuel onay gerekir","Kalıcı Anahtar","Tek kullanımlık · sona erer","Erişilebilirlik","Ayarlar","Sıfırla","8490rrLCJI","Oturum açmak için QR kodunu tarayın veya bağlantıyı açın","Bağlantı etkin kalması için sistem uyusunun engellenmesi","Oturum {name} silinsin mi? Bu terminali kapatacak.","Belgeler","Tek Seferlik Anahtar","Yeni satır için Shift+Enter • Sekmeyi değiştirmek için Ctrl+Num","1661SsSzIp","Ekranı, Farely ve Klavyeyi Kontrol Et","Terminallar","19352xQKnRN","Kapat","Yeni Grup","Yeni cihazları otomatik olarak onayla","6084gpoEZT","Done","Tüneli Sıfırla ve İstemcileri Yeniden Bağla","Başlangıçta Başlat","Working","Terminal {name} silinsin mi?","1448XkzSlL","144BVXfBB","Grubu Yeniden Adlandır","Grubu Değiştir","Gruplandırılmamış","Etkin","İptal","Oluştur","Ajan yanıt verdi","1514863rIQVLZ","PC'yi uzaktan kilidini aç","Koyu Moda Geç","9Remote'u Kapat (sunucuyu durdur, tüneli kapat, çık)","Grubu Sil","Dil","Açık Moda Geç","Farely ve Klavyeyi Kontrol Et","Uzak Masaüstü","Günlükler","Bağlantı","Devre Dışı — Manuel Başlatma","1677498qCVMmv","Oturum açtığınızda arka planda çalıştır","562340cnYtxO","158044QgUvBz","Yeni Terminal","Sil","Kilitliyken bu PC'nin telefondan veya tarayıcıdan kilidinin açılmasına izin ver","3nQKfqz"];return Kn=function(){return e},Kn()}function C0(e,t){e=e-126;var n=qn(),r=n[e];return r}var V=C0;function qn(){var e=["Утримувати комп'ютер в активному стані","Перейменувати","Дозволити прегляд екрану","Запис екрану","Перейти у світлий режим","971148PBGsUI","Видалити сеанс {name}? Це закриє термінал.","7GTorII","Видалити","Сеанси живих терміналів на цьому хості","Одноразовий Ключ","3093540VLdNzX","Вимкнути","Скинути","Перемикнути групу","Активно — віддалене розблокування працює","Створити","Дозволити розблокування цього ПК з телефону або браузера під час блокування","Скинути туннель та повторно підключити клієнтів","Активно","Запускати у фоні при вході","Закрити","Не згруповано","Надіслати","2272HIEptP","Парування пристроїв та керування захищеним туннелем","Агент відповів","Перейменувати групу","Видалити термінал {name}?","Needs input","Повернутися до сеансів","882ikSXOp","Розблокувати ПК віддалено","Видалити групу {name}? Усі термінали всередині будуть закриті.","Назва групи","370767yOkqgS","1576572tGYLbS","Вимкнути 9Remote (зупинити сервер, закрити туннель, вийти)","2087855ntoLVX","Idle","Потребує вашого введення","Постійний Ключ","262882puZcto","Вимкнено — ручний запуск","Керування екраном, мишею та клавіатурою","Дозволити","2bczuZr","Новий термінал","Керування мишею та клавіатурою","Done","Параметри","Перейти в темний режим","Скасувати","Working","Термінали","Діагностика активності сервера","Віддалений Робочий Стіл","Додати Групу","Багаторазовий · без закінчення","Немає нещодавніх дій"];return qn=function(){return e},qn()}(function(e,t){for(var n=C0,r=e();;)try{var o=parseInt(n(141))/1+-parseInt(n(145))/2*(-parseInt(n(134))/3)+parseInt(n(164))/4+-parseInt(n(137))/5+parseInt(n(135))/6*(-parseInt(n(166))/7)+-parseInt(n(183))/8*(parseInt(n(130))/9)+parseInt(n(170))/10;if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(qn,230447);const Ho={common:{statusIdle:V(138),statusWorking:V(152),statusBlocked:V(128),statusDone:V(148),create:V(175),cancel:V(151),delete:V(167),rename:V(160),language:"Мова"},terminal:{backToSessions:V(129),switchGroup:V(173),newTerminal:V(146),send:V(182),typeCommand:"Shift+Enter для нового рядка • Ctrl+Цифра для перемикання вкладки",deleteConfirm:V(127)},sessions:{newTerminal:"Новий Термінал",addGroup:V(156),newGroup:"Нова Група",groupName:V(133),renameGroup:V(126),deleteGroup:"Видалити групу",ungrouped:V(181),deleteSessionConfirm:V(165),deleteGroupConfirm:V(132)},menu:{connection:"Підключення",connectionDesc:V(184),terminals:V(153),terminalsDesc:V(168),logs:"Журнали",logsDesc:V(154)},recent:{title:"Недавні",replied:V(185),needsInput:V(139),dismiss:V(180),empty:V(158)},header:{settings:V(149),language:"Мова",documentation:"Документація",reset:V(177),resetShort:V(172),shutdown:V(136),shutdownShort:V(171),lightMode:V(163),darkMode:V(150)},remote:{remoteDesktop:V(155),controlScreen:V(143),screenRecording:V(162),captureScreen:V(161),accessibility:"Спеціальні можливості",controlMouseKeyboard:V(147),launchOnStartup:"Запуск під час завантаження",launchDesc:V(179),disabledStart:V(142),preventSleep:V(159),blockSleep:"Запобігти переходу системи в режим сну для утримання активного підключення",remoteUnlock:V(131),remoteUnlockDesc:V(176),remoteUnlockReady:V(174),grant:V(144),granted:V(178)},clients:{autoApprove:"Автоматично схвалювати нові пристрої",anyDevice:"Будь-який новий пристрій підключається без схвалення",requireManual:"Потребує ручного схвалення для нових пристроїв"},connection:{scanToSignIn:"Сканувати QR-код або відкрити посилання для входу",oneTimeKey:V(169),oneTimeDesc:"Однократне використання · закінчується",permanentKey:V(140),permanentDesc:V(157)}};var Z=T0;function Fn(){var e=["Yêu cầu duyệt thủ công cho thiết bị mới","Tên nhóm","Ngôn ngữ","Điều khiển chuột & bàn phím","18858CjjYkA","77HwRYEk","48BwgXMm","Quay lại danh sách phiên","Agent đã trả lời","Xóa","Done","Tài liệu","Khóa một lần","Hoạt động và chẩn đoán máy chủ","746896MrsnDR","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","Xóa nhóm","Chuyển sang giao diện sáng","Nhật ký","Tạo","Mọi thiết bị mới kết nối không cần duyệt","Chặn hệ thống ngủ để mạng luôn hoạt động","Đã tắt — khởi chạy thủ công","Thêm nhóm","1328175PAqLhu","297016tEVCwQ","8421744Ajqyro","Đổi tên nhóm","Mở khóa máy từ xa","Chạy nền khi bạn đăng nhập","Xóa terminal {name}?","Đang bật","22HAYcdo","Khởi chạy cùng hệ thống","Điều khiển từ xa","7122200bfeaxD","Tự động duyệt thiết bị mới","Chuyển nhóm","Đổi tên","Gửi","1315psbPhg","Xóa nhóm {name}? Tất cả terminal bên trong sẽ bị đóng.","Idle","118LlHMDT","Ghép nối thiết bị và quản lý tunnel bảo mật","Khởi động lại","Chuyển sang giao diện tối","Dùng một lần · hết hạn","12161fQozWi","Hủy","Chưa có hoạt động nào","Needs input","Điều khiển màn hình, chuột & bàn phím","Tái sử dụng · không hết hạn","Quét mã QR hoặc mở liên kết để đăng nhập","Các phiên terminal đang chạy trên máy này","Giữ máy thức","Shift+Enter để xuống dòng • Ctrl+Số để chuyển tab"];return Fn=function(){return e},Fn()}function T0(e,t){e=e-239;var n=Fn(),r=n[e];return r}(function(e,t){for(var n=T0,r=e();;)try{var o=-parseInt(n(268))/1*(-parseInt(n(263))/2)+-parseInt(n(284))/3*(-parseInt(n(245))/4)+parseInt(n(260))/5*(-parseInt(n(282))/6)+-parseInt(n(283))/7*(parseInt(n(292))/8)+-parseInt(n(244))/9+-parseInt(n(255))/10+parseInt(n(252))/11*(parseInt(n(246))/12);if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Fn,595801);const Qo={common:{statusIdle:Z(262),statusWorking:"Working",statusBlocked:Z(271),statusDone:Z(288),create:Z(239),cancel:Z(269),delete:Z(287),rename:Z(258),language:Z(280)},terminal:{backToSessions:Z(285),switchGroup:Z(257),newTerminal:"Terminal mới",send:Z(259),typeCommand:Z(277),deleteConfirm:Z(250)},sessions:{newTerminal:"Terminal mới",addGroup:Z(243),newGroup:"Nhóm mới",groupName:Z(279),renameGroup:Z(247),deleteGroup:Z(294),ungrouped:"Chưa phân nhóm",deleteSessionConfirm:"Xóa phiên {name}? Việc này sẽ tắt terminal.",deleteGroupConfirm:Z(261)},menu:{connection:"Kết nối",connectionDesc:Z(264),terminals:"Terminal",terminalsDesc:Z(275),logs:Z(296),logsDesc:Z(291)},recent:{title:"Gần đây",replied:Z(286),needsInput:"Cần bạn phản hồi",dismiss:Z(287),empty:Z(270)},header:{settings:"Cài đặt",language:Z(280),documentation:Z(289),reset:"Khởi động lại tunnel và kết nối lại thiết bị",resetShort:Z(265),shutdown:"Thoát 9Remote (dừng máy chủ, đóng tunnel và thoát)",shutdownShort:"Thoát",lightMode:Z(295),darkMode:Z(266)},remote:{remoteDesktop:Z(254),controlScreen:Z(272),screenRecording:"Ghi màn hình",captureScreen:"Cho phép xem màn hình",accessibility:"Trợ năng",controlMouseKeyboard:Z(281),launchOnStartup:Z(253),launchDesc:Z(249),disabledStart:Z(242),preventSleep:Z(276),blockSleep:Z(241),remoteUnlock:Z(248),remoteUnlockDesc:Z(293),remoteUnlockReady:"Đang bật — mở khóa từ xa hoạt động",grant:"Cho phép",granted:Z(251)},clients:{autoApprove:Z(256),anyDevice:Z(240),requireManual:Z(278)},connection:{scanToSignIn:Z(274),oneTimeKey:Z(290),oneTimeDesc:Z(267),permanentKey:"Khóa vĩnh viễn",permanentDesc:Z(273)}};var re=D0;(function(e,t){for(var n=D0,r=e();;)try{var o=parseInt(n(435))/1+-parseInt(n(430))/2+-parseInt(n(412))/3+-parseInt(n(438))/4*(-parseInt(n(410))/5)+parseInt(n(442))/6+parseInt(n(428))/7*(parseInt(n(443))/8)+parseInt(n(424))/9*(parseInt(n(437))/10);if(o===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Hn,676664);function D0(e,t){e=e-401;var n=Hn(),r=n[e];return r}function Hn(){var e=["配对设备并管理您的安全隧道","保持计算机清醒","远程解锁电脑","任何新设备无需批准即可连接","允许屏幕视图","删除会话 {name}? 这将关闭终端。","远程桌面","关闭 9Remote(停止服务器、关闭隧道、退出)","一次性密钥","切换到浅色模式","已禁用 — 手动启动","已启用 — 远程解锁可用","5lnzuwF","屏幕录制","1050369jarqZK","Idle","需要您的输入","Working","返回会话","永久密钥","代理已回复","未分组","Done","Needs input","控制鼠标和键盘","无障碍","27qQCFqz","阻止系统睡眠以保持连接活跃","控制屏幕、鼠标和键盘","重命名","189UyXNjU","组名称","2409506RnVOPc","重命名组","切换组","已启用","扫描二维码或打开链接以登录","445389fpzWYX","自动批准新设备","123190tfDjyq","1573048CdTyqY","添加组","切换到深色模式","重置隧道并重新连接客户端","1451634NSMWGm","330072djooZB","Shift+Enter 新建行 • Ctrl+数字 切换标签页","新终端","开机启动","可重复使用 · 不过期","删除组"];return Hn=function(){return e},Hn()}const Vo={common:{statusIdle:re(413),statusWorking:re(415),statusBlocked:re(421),statusDone:re(420),create:"创建",cancel:"取消",delete:"删除",rename:re(427),language:"语言"},terminal:{backToSessions:re(416),switchGroup:re(432),newTerminal:"新终端",send:"发送",typeCommand:re(444),deleteConfirm:"删除终端 {name}?"},sessions:{newTerminal:re(445),addGroup:re(439),newGroup:"新组",groupName:re(429),renameGroup:re(431),deleteGroup:re(448),ungrouped:re(419),deleteSessionConfirm:re(403),deleteGroupConfirm:"删除组 {name}? 其中的所有终端都将关闭。"},menu:{connection:"连接",connectionDesc:re(449),terminals:"终端",terminalsDesc:"在此主机上运行的实时终端会话",logs:"日志",logsDesc:"服务器活动诊断"},recent:{title:"最近",replied:re(418),needsInput:re(414),dismiss:"关闭",empty:"没有最近的活动"},header:{settings:"设置",language:"语言",documentation:"文档",reset:re(441),resetShort:"重置",shutdown:re(405),shutdownShort:"关闭",lightMode:re(407),darkMode:re(440)},remote:{remoteDesktop:re(404),controlScreen:re(426),screenRecording:re(411),captureScreen:re(402),accessibility:re(423),controlMouseKeyboard:re(422),launchOnStartup:re(446),launchDesc:"在您登录时在后台运行",disabledStart:re(408),preventSleep:re(450),blockSleep:re(425),remoteUnlock:re(451),remoteUnlockDesc:"允许在锁定时从手机或浏览器解锁此电脑",remoteUnlockReady:re(409),grant:"允许",granted:re(433)},clients:{autoApprove:re(436),anyDevice:re(401),requireManual:"新设备需要手动批准"},connection:{scanToSignIn:re(434),oneTimeKey:re(406),oneTimeDesc:"一次性使用 · 过期",permanentKey:re(417),permanentDesc:re(447)}};(function(e,t){const n=Yo,r=e();for(;;)try{if(-parseInt(n(439))/1*(-parseInt(n(434))/2)+-parseInt(n(435))/3+-parseInt(n(436))/4+-parseInt(n(430))/5+-parseInt(n(438))/6*(-parseInt(n(432))/7)+-parseInt(n(433))/8+parseInt(n(437))/9*(parseInt(n(431))/10)===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Qn,732459);function Qn(){const e=["3395080qdZlcs","6130390gqZFIx","2737721UIWMUb","843520jzCNpF","2178MdEPyw","4242675UKmGpV","4414276mNlSdQ","45uveBRm","12EEBlDM","172nrHGzo"];return Qn=function(){return e},Qn()}function Yo(e,t){return e=e-430,Qn()[e]}const Je={en:Io,ar:Co,de:To,es:Do,fa:Mo,fr:Uo,he:jo,hi:Ro,id:Po,it:Eo,ja:Ao,ko:Wo,ms:Bo,nl:Go,pl:zo,pt:Lo,ru:Oo,sv:Ko,th:qo,tr:Fo,uk:Ho,vi:Qo,zh:Vo},xe=M0;(function(e,t){const n=M0,r=e();for(;;)try{if(-parseInt(n(477))/1*(-parseInt(n(471))/2)+parseInt(n(478))/3*(-parseInt(n(500))/4)+parseInt(n(491))/5*(-parseInt(n(489))/6)+-parseInt(n(481))/7+-parseInt(n(469))/8+parseInt(n(475))/9+-parseInt(n(488))/10*(-parseInt(n(472))/11)===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Vn,671522);const Pt=[{code:"en",label:xe(467),flag:xe(494),country:"us"},{code:"vi",label:xe(504),flag:"🇻🇳",country:"vn"},{code:"zh",label:"中文",flag:xe(508),country:"cn"},{code:"es",label:xe(505),flag:xe(498),country:"es"},{code:"hi",label:"हिन्दी",flag:"🇮🇳",country:"in"},{code:"ar",label:xe(474),flag:xe(497),country:"sa"},{code:"pt",label:xe(496),flag:"🇧🇷",country:"br"},{code:"ru",label:xe(486),flag:xe(484),country:"ru"},{code:"ja",label:"日本語",flag:"🇯🇵",country:"jp"},{code:"de",label:"Deutsch",flag:xe(503),country:"de"},{code:"fr",label:xe(495),flag:"🇫🇷",country:"fr"},{code:"ko",label:xe(507),flag:xe(473),country:"kr"},{code:"it",label:xe(509),flag:xe(483),country:"it"},{code:"tr",label:"Türkçe",flag:xe(492),country:"tr"},{code:"id",label:xe(506),flag:xe(485),country:"id"},{code:"th",label:xe(490),flag:xe(499),country:"th"},{code:"pl",label:"Polski",flag:xe(501),country:"pl"},{code:"nl",label:"Nederlands",flag:"🇳🇱",country:"nl"},{code:"sv",label:"Svenska",flag:xe(482),country:"se"},{code:"uk",label:xe(479),flag:xe(476),country:"ua"},{code:"fa",label:"فارسی",flag:xe(502),country:"ir"},{code:"he",label:xe(480),flag:xe(470),country:"il"},{code:"ms",label:xe(493),flag:xe(468),country:"my"}];function Vn(){const e=["agentLocale","2494410pPvWlg","3108MGvZZf","ไทย","3435NaGhpB","🇹🇷","Bahasa Melayu","🇺🇸","Français","Português","🇸🇦","🇪🇸","🇹🇭","2175876qwzzwU","🇵🇱","🇮🇷","🇩🇪","Tiếng Việt","Español","Bahasa Indonesia","한국어","🇨🇳","Italiano","English","🇲🇾","7302248QNcJmT","🇮🇱","14kWoZiz","77YXRkUw","🇰🇷","العربية","11446461xpgOhp","🇺🇦","64157lldPfn","3SfWPPz","Українська","עברית","6880139ScyDaM","🇸🇪","🇮🇹","🇷🇺","🇮🇩","Русский"];return Vn=function(){return e},Vn()}const Et="en";function M0(e,t){return e=e-467,Vn()[e]}const U0=xe(487);(function(e,t){const n=Xe,r=e();for(;;)try{if(-parseInt(n(130))/1*(-parseInt(n(116))/2)+-parseInt(n(115))/3+parseInt(n(135))/4+parseInt(n(131))/5*(-parseInt(n(126))/6)+parseInt(n(124))/7+-parseInt(n(123))/8*(parseInt(n(134))/9)+-parseInt(n(122))/10*(parseInt(n(132))/11)===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Yn,671715);function Xe(e,t){return e=e-115,Yn()[e]}function Er(e,t){const n=Xe;if(e)return t[n(118)](".")[n(125)]((r,o)=>r==null?r:r[o],e)}function Jo(e,t){return typeof e!==Xe(127)||!t?e:e.replace(/\{(\w+)\}/g,(r,o)=>t[o]!=null?t[o]:"{"+o+"}")}function Zo(){const e=Xe;try{const t=localStorage[e(129)](U0);if(t&&Je[t])return t;const n=(navigator[e(117)]||"")[e(133)](0,2);if(Je[n])return n}catch{}return Et}let At=Zo();const Wt=new Set;function Yn(){const e=["67028rPMGsx","language","split","setItem","delete","locale","10szYCMO","5664mrsXEe","5577775dNjCVX","reduce","29454vITzql","string","forEach","getItem","33xlSPOG","265xlQrUH","192247EeyOpF","slice","16803OZnXzO","2072548VbYCJQ","add","449157GIvOOC"];return Yn=function(){return e},Yn()}function Xo(e){const t=Xe;if(!(e===At||!Je[e])){At=e;try{localStorage[t(119)](U0,e)}catch{}Wt[t(128)](n=>n(e))}}function $o(e,t,n){const r=Je[e]||Je[Et],o=Je[Et],a=Er(r,t)??Er(o,t)??t;return Jo(a,n)}function $e(){const e=Xe,[t,n]=se(le(At),e(121));return ve(()=>{const o=e,a=s=>n(s);return Wt[o(136)](a),()=>Wt[o(120)](a)},[]),{t:(o,a)=>$o(t,o,a),locale:t,setLocale:Xo}}const Ar="9remote.cc";function ea(e){if(e<=0)return"Expired";const t=Math.floor(e/1e3),n=Math.floor(t/60),r=t%60;return`${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`}function mn({icon:e,onClick:t,title:n,danger:r}){return x("button",{onClick:t,title:n,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)"},children:x("span",{className:"material-symbols-outlined",style:{fontSize:15},children:e},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:24,columnNumber:7},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:18,columnNumber:5},this)}function na({qrUrl:e,oneTimeKey:t,oneTimeKeyExpiresAt:n,permanentKey:r,onGenerateOneTimeKey:o,onRegenerateKey:a,onStopTunnel:s}){const{t:i}=$e(),l=se(Ze(null),"canvasRef"),[u,f]=se(le(null),"countdown"),[h,c]=se(le(null),"copiedKey"),[g,y]=se(le(null),"popup");ve(()=>{!e||!l.current||wo.toCanvas(l.current,e,{width:200,margin:1,color:{dark:"#0f1923",light:"#ffffff"}}).catch(()=>{})},[e]),ve(()=>{if(!n){f(null);return}const b=()=>f(n-Date.now());b();const p=setInterval(b,1e3);return()=>clearInterval(p)},[n]);const d=(b,p)=>{navigator.clipboard.writeText(b).catch(()=>{}),c(p),setTimeout(()=>c(null),2e3)};return x(Ce,{children:[g==="oneTime"&&x(Oe,{message:"Generate a new one-time key? The current one will expire immediately.",confirmLabel:"Generate",onConfirm:()=>{y(null),o==null||o()},onCancel:()=>y(null)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:62,columnNumber:9},this),g==="regen"&&x(Oe,{message:"Regenerate permanent key? All existing sessions will be disconnected.",confirmLabel:"Regenerate",confirmDanger:!0,onConfirm:()=>{y(null),a==null||a()},onCancel:()=>y(null)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:70,columnNumber:9},this),g==="stop"&&x(Oe,{message:"Stop tunnel? Remote clients will be disconnected.",confirmLabel:"Stop",confirmDanger:!0,onConfirm:()=>{y(null),s==null||s()},onCancel:()=>y(null)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:79,columnNumber:9},this),x("div",{className:"card-elev p-5 flex flex-col items-center gap-4 h-full",children:[x("div",{className:"w-full flex items-center gap-2",children:[x("span",{className:"material-symbols-outlined",style:{fontSize:20,color:"var(--brand-500)"},children:"qr_code_2"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:92,columnNumber:11},this),x("span",{className:"text-sm font-semibold",style:{color:"var(--text-main)"},children:i("connection.pairDevice")},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:93,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:91,columnNumber:9},this),x("div",{className:"w-52 h-52 rounded-[10px] overflow-hidden bg-white p-3.5 flex items-center justify-center flex-shrink-0",style:{boxShadow:"0 12px 30px -10px rgba(0,0,0,0.5)"},children:e?x("canvas",{ref:l},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:99,columnNumber:13},this):x("span",{className:"material-symbols-outlined text-gray-300 text-7xl",children:"qr_code_2"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:101,columnNumber:13},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:97,columnNumber:9},this),x("div",{className:"flex flex-col items-center gap-1",children:[x("span",{className:"text-[11.5px] leading-4",style:{color:"var(--text-muted)"},children:i("connection.scanToSignIn")},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:107,columnNumber:11},this),x("a",{href:`https://${Ar}/login`,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-1.5 hover:underline transition-opacity",children:[x("span",{className:"w-2 h-2 rounded-full bg-green-400 flex-shrink-0"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:114,columnNumber:13},this),x("span",{className:"text-sm font-bold",style:{color:"var(--brand-500)"},children:[Ar,"/login"]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:115,columnNumber:13},this),x("span",{className:"material-symbols-outlined flex-shrink-0",style:{fontSize:14,color:"var(--brand-500)"},children:"open_in_new"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:116,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:108,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:106,columnNumber:9},this),x("div",{className:"w-full h-px",style:{background:"var(--border)"}},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:120,columnNumber:9},this),x("div",{className:"w-full flex flex-col gap-1.5",children:[x("span",{className:"text-xs font-medium px-0.5",style:{color:"var(--text-muted)"},children:i("connection.oneTimeKey")},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:124,columnNumber:11},this),x("div",{className:"w-full flex items-center gap-2 dark-card px-3 py-2.5",children:[x("span",{className:"material-symbols-outlined flex-shrink-0",style:{fontSize:16,color:"var(--text-muted)"},children:"timer"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:126,columnNumber:11},this),x("span",{className:"flex-1 font-mono font-bold tracking-[0.18em] text-base truncate",style:{color:t?"var(--brand-500)":"var(--border)"},children:t||"• • • • • •"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:127,columnNumber:11},this),u!==null&&x("span",{className:`text-xs font-mono flex-shrink-0 ${u<=0?"text-red-400":""}`,style:u>0?{color:"var(--text-muted)"}:{},children:ea(u)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:134,columnNumber:13},this),t&&x(mn,{icon:h==="oneTime"?"check":"content_copy",onClick:()=>d(t,"oneTime"),title:"Copy one-time key"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:139,columnNumber:13},this),x(mn,{icon:"refresh",onClick:()=>y("oneTime"),title:"New one-time key"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:145,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:125,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:123,columnNumber:9},this),x("div",{className:"w-full flex flex-col gap-1.5",children:[x("span",{className:"text-xs font-medium px-0.5",style:{color:"var(--text-muted)"},children:i("connection.permanentKey")},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:151,columnNumber:11},this),x("div",{className:"w-full flex items-center gap-2 dark-card px-3 py-2.5",children:[x("span",{className:"material-symbols-outlined flex-shrink-0",style:{fontSize:16,color:"var(--text-muted)"},children:"key"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:153,columnNumber:11},this),x("span",{className:"flex-1 font-mono text-xs truncate",style:{color:"var(--text-main)"},children:r||"— not set —"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:154,columnNumber:11},this),r&&x(mn,{icon:h==="permanent"?"check":"content_copy",onClick:()=>d(r,"permanent"),title:"Copy permanent key"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:158,columnNumber:13},this),x(mn,{icon:"autorenew",onClick:()=>y("regen"),title:"Regenerate permanent key",danger:!0},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:164,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:152,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:150,columnNumber:9},this),x("button",{onClick:()=>y("stop"),title:"Stop tunnel",className:"btn-danger w-full mt-1 py-2.5 flex items-center justify-center gap-2 text-[13px] font-semibold",children:[x("span",{className:"material-symbols-outlined",style:{fontSize:17},children:"stop_circle"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:174,columnNumber:11},this),"Stop Tunnel"]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:169,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:88,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/QRCard.jsx",lineNumber:60,columnNumber:5},this)}const ta="https://docs.9remote.cc/";function ra({isStopped:e,onStop:t,onShutdown:n,logs:r=[],onClearLogs:o,variant:a="glass"}){const{t:s,locale:i}=$e(),[l,u]=se(le(!1),"open"),[f,h]=se(le(!1),"langOpen"),[c,g]=se(le(!1),"logsOpen"),y=se(Ze(null),"ref"),d=Pt.find(_=>_.code===i)||Pt[0];ve(()=>{if(!l)return;const _=N=>{y.current&&!y.current.contains(N.target)&&u(!1)};return document.addEventListener("mousedown",_),()=>document.removeEventListener("mousedown",_)},[l]);const b=_=>{u(!1),_==null||_()},p=a==="glass"?"glass-btn w-10 h-10 rounded-xl 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",k=a==="glass"?void 0:{background:"var(--surface-2)",color:"var(--text-main)"};return x("div",{ref:y,className:"relative flex-shrink-0",children:[x("button",{onClick:()=>u(_=>!_),title:s("header.settings"),className:p,style:k,children:x("span",{className:"material-symbols-outlined text-xl",children:"settings"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:34,columnNumber:9},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:33,columnNumber:7},this),l&&x("div",{className:"absolute right-0 top-full mt-1 z-[80] rounded-lg shadow-lg py-1 min-w-[220px]",style:{background:"var(--surface)",border:"1px solid var(--border)"},children:[x("button",{onClick:()=>b(()=>h(!0)),className:"w-full text-left px-3 py-1.5 text-sm flex items-center gap-2 card-act",style:{color:"var(--text-main)"},children:[x("img",{src:`https://flagcdn.com/w40/${d.country}.png`,alt:d.label,className:"w-[17px] h-[12px] object-cover rounded-[2px]",loading:"lazy"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:39,columnNumber:13},this),x("span",{className:"flex-1 truncate",children:d.label},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:40,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:38,columnNumber:11},this),x("button",{onClick:()=>b(()=>g(!0)),className:"w-full text-left px-3 py-1.5 text-sm flex items-center gap-2 card-act",style:{color:"var(--text-main)"},children:[x("span",{className:"material-symbols-outlined text-base",children:"description"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:43,columnNumber:13},this),x("span",{className:"flex-1",children:s("menu.logs")},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:44,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:42,columnNumber:11},this),x("div",{className:"my-0.5",style:{borderTop:"1px solid var(--border)"}},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:46,columnNumber:11},this),x(Dt,{icon:"menu_book",label:s("header.documentation"),onClick:()=>b(()=>window.open(ta,"_blank"))},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:47,columnNumber:11},this),!e&&x(Dt,{icon:"restart_alt",label:s("header.resetShort"),onClick:()=>b(t)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:48,columnNumber:26},this),x(Dt,{icon:"power_settings_new",label:s("header.shutdownShort"),danger:!0,onClick:()=>b(n)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:49,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:37,columnNumber:9},this),f&&x(oa,{onClose:()=>h(!1)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:52,columnNumber:20},this),c&&x(aa,{logs:r,onClear:o,onClose:()=>g(!1)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:53,columnNumber:20},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:32,columnNumber:5},this)}function oa({onClose:e}){const{t,locale:n,setLocale:r}=$e();return ve(()=>{const o=a=>{a.key==="Escape"&&e()};return window.addEventListener("keydown",o),()=>window.removeEventListener("keydown",o)},[e]),x("div",{className:"fixed inset-0 z-[90] flex items-center justify-center p-4",style:{background:"rgba(0,0,0,0.6)"},onClick:e,children:x("div",{className:"glass-card p-5 flex flex-col gap-4 w-full max-w-lg max-h-[90vh]",onClick:o=>o.stopPropagation(),children:[x("div",{className:"flex items-center justify-between",children:[x("h3",{className:"text-base font-semibold",style:{color:"var(--text-main)"},children:t("header.language")},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:71,columnNumber:11},this),x("button",{onClick:e,className:"material-symbols-outlined",style:{fontSize:20,color:"var(--text-muted)",cursor:"pointer"},children:"close"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:72,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:70,columnNumber:9},this),x("div",{className:"grid grid-cols-2 gap-2 overflow-y-auto",children:Pt.map(o=>x("button",{onClick:()=>{r(o.code),e()},className:"flex items-center gap-2 px-3 py-2 text-sm rounded-xl card-act",style:{background:o.code===n?"rgba(var(--brand-rgb),0.15)":"var(--glass-bg)",color:o.code===n?"var(--brand-400)":"var(--text-main)"},children:[x("img",{src:`https://flagcdn.com/w40/${o.country}.png`,alt:o.label,className:"w-[17px] h-[12px] object-cover rounded-[2px] flex-shrink-0",loading:"lazy"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:82,columnNumber:15},this),x("span",{className:"flex-1 text-left truncate",children:o.label},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:83,columnNumber:15},this),o.code===n&&x("span",{className:"material-symbols-outlined",style:{fontSize:16},children:"check"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:84,columnNumber:37},this)]},o.code,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:76,columnNumber:13},this))},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:74,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:69,columnNumber:7},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:68,columnNumber:5},this)}function aa({logs:e,onClear:t,onClose:n}){const{t:r}=$e(),o=se(Ze(null),"endRef");return ve(()=>{o.current&&(o.current.scrollTop=o.current.scrollHeight)},[e]),ve(()=>{const a=s=>{s.key==="Escape"&&n()};return window.addEventListener("keydown",a),()=>window.removeEventListener("keydown",a)},[n]),x("div",{className:"fixed inset-0 z-[90] flex items-center justify-center p-4",style:{background:"rgba(0,0,0,0.6)"},onClick:n,children:x("div",{className:"glass-card p-5 flex flex-col gap-3 w-full max-w-2xl max-h-[85vh]",onClick:a=>a.stopPropagation(),children:[x("div",{className:"flex items-center justify-between",children:[x("h3",{className:"text-base font-semibold",style:{color:"var(--text-main)"},children:r("menu.logs")},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:107,columnNumber:11},this),x("div",{className:"flex items-center gap-2",children:[e.length>0&&x("button",{onClick:t,className:"glass-btn flex items-center gap-1.5 px-2.5 h-7 text-xs",style:{color:"var(--text-muted)"},children:[x("span",{className:"material-symbols-outlined text-sm",children:"delete_sweep"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:111,columnNumber:17},this)," Clear"]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:110,columnNumber:15},this),x("button",{onClick:n,className:"material-symbols-outlined",style:{fontSize:20,color:"var(--text-muted)",cursor:"pointer"},children:"close"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:114,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:108,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:106,columnNumber:9},this),x("div",{ref:o,className:"flex flex-col gap-0.5 overflow-y-auto pr-1",children:e.length===0?x("p",{className:"text-xs text-center py-6",style:{color:"var(--text-muted)"},children:"No logs yet"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:119,columnNumber:13},this):e.map((a,s)=>x("p",{className:"text-xs font-mono leading-5 break-all",style:{color:"var(--text-muted)"},children:a},s,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:122,columnNumber:15},this))},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:117,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:105,columnNumber:7},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:104,columnNumber:5},this)}function Dt({icon:e,label:t,danger:n,onClick:r}){return x("button",{onClick:r,className:"w-full text-left px-3 py-1.5 text-sm flex items-center gap-2 card-act",style:{color:n?"var(--danger)":"var(--text-main)"},children:[x("span",{className:"material-symbols-outlined text-base",children:e},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:135,columnNumber:7},this)," ",t]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/components/SettingsMenu.jsx",lineNumber:134,columnNumber:5},this)}const oe=j0;(function(e,t){const n=j0,r=e();for(;;)try{if(-parseInt(n(153))/1+-parseInt(n(137))/2+parseInt(n(157))/3+-parseInt(n(132))/4*(parseInt(n(129))/5)+-parseInt(n(164))/6*(parseInt(n(125))/7)+parseInt(n(142))/8+parseInt(n(138))/9===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(Jn,957280);function Jn(){const e=["git log --oneline","npm run lint","local-ui","grep -rn","bat","vim","git status","git branch","claude --resume","claude --continue","1746884juzGed","codex","docker ps","code .","3080241lFXAFJ","git push","mkdir -p","npm run dev",'git commit -m ""',"nvim","9remote-cmd-history","6tMkqde","docker logs -f","ps aux","open","wc -l","docker compose up -d","grep","git diff","chmod","tail -f","npm run test","1559509ILtszn","git add .","mkdir","nano","5lldykh","docker compose down","df -h","4865812vkwQeJ","tail","head","git checkout","less","558444VlyItI","28854243oNfwLi","git pull","more","npm run build","1518816XbAoYo"];return Jn=function(){return e},Jn()}function j0(e,t){return e=e-120,Jn()[e]}const fn={startDelayMs:3e3,pollMs:2e3,timeoutMs:9e4};oe(145);oe(149),oe(126),oe(161),oe(158),oe(139),oe(121),oe(143),oe(150),oe(135),oe(160),oe(141),oe(124),oe(144),oe(159),oe(146),oe(168),oe(123),oe(166),oe(131),oe(155),oe(165),oe(169),oe(130),oe(156),oe(152),oe(151),oe(154);oe(136),oe(140),oe(134),oe(133),oe(148),oe(162),oe(128),oe(147),oe(127),oe(122),oe(167),oe(120);oe(163);const sa=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 vn({on:e,onClick:t,activeColor:n="linear-gradient(135deg, var(--brand-500), var(--brand-400))",title:r,disabled:o}){return x("button",{onClick:o?void 0:t,disabled:o,title:r,className:"flex-shrink-0 w-[46px] h-[26px] rounded-full transition-all relative",style:{background:e?n:"rgba(140,145,160,0.35)",border:e?"1px solid transparent":"1px solid rgba(140,145,160,0.55)",opacity:o?.5:1,cursor:o?"not-allowed":"pointer"},children:x("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)"}},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:24,columnNumber:7},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:17,columnNumber:5},this)}function ia({icon:e,active:t}){return x("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0",style:{background:"var(--surface-2)",border:"1px solid var(--border)"},children:x("span",{className:"material-symbols-outlined",style:{fontSize:20,color:t?"var(--brand-400)":"var(--text-muted)"},children:e},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:35,columnNumber:7},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:33,columnNumber:5},this)}function xa({granted:e,label:t,onRequest:n}){return x("button",{onClick:e?void 0:n,className:"flex items-center gap-1.5 text-[11.5px] px-2.5 py-1 rounded-lg",style:{background:"var(--surface-2)",border:"1px solid var(--border)",color:e?"var(--success)":"var(--text-muted)",cursor:e?"default":"pointer"},title:e?"":"Click to grant permission",children:[e&&x("span",{className:"material-symbols-outlined",style:{fontSize:15},children:"check_circle"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:49,columnNumber:19},this),t,!e&&x("span",{className:"material-symbols-outlined",style:{fontSize:19,color:"var(--text-subtle)"},children:"toggle_off"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:51,columnNumber:20},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:43,columnNumber:5},this)}const la=e=>({"30m":e("remote.sleepModes.30m"),"1h":e("remote.sleepModes.1h"),"2h":e("remote.sleepModes.2h"),"4h":e("remote.sleepModes.4h"),"24h":e("remote.sleepModes.24h"),never:e("remote.sleepModes.never")});function pn({icon:e,active:t,name:n,desc:r,children:o,extra:a}){return x("div",{className:"flex items-center gap-3.5 py-3.5 border-t first:border-t-0 first:pt-0",style:{borderColor:"var(--border)"},children:[x(ia,{icon:e,active:t},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:69,columnNumber:7},this),x("div",{className:"flex-1 min-w-0",children:[x("p",{className:"text-sm font-semibold",style:{color:"var(--text-main)"},children:n},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:71,columnNumber:9},this),r&&x("p",{className:"text-[11.5px] mt-0.5",style:{color:"var(--text-muted)"},children:r},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:72,columnNumber:18},this),a]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:70,columnNumber:7},this),o]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:68,columnNumber:5},this)}function ca({desktopEnabled:e,onDesktopToggle:t,permissions:n,onRequestPermission:r,autoStart:o,onAutoStartToggle:a,sleepInhibitMode:s,sleepInhibitPresets:i,onSleepInhibitChange:l,unlockStatus:u,onRequestUnlockInstall:f,onRequestUnlockUninstall:h,t:c}){const g=Object.entries(sa(c)),d=!g.every(([p])=>!!(n!=null&&n[p]))&&!e,b=la(c);return x("div",{className:"card-elev p-5",children:[x("div",{className:"flex items-center gap-2.5 mb-1",children:[x("span",{className:"material-symbols-outlined",style:{fontSize:20,color:"var(--brand-400)"},children:"tune"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:91,columnNumber:9},this),x("h3",{className:"text-[15px] font-semibold",style:{color:"var(--text-main)"},children:"Remote services"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:92,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:90,columnNumber:7},this),x(pn,{icon:"desktop_windows",active:e,name:c("remote.remoteDesktop"),extra:x("div",{className:"flex flex-wrap gap-2 mt-2",children:g.map(([p,k])=>x(xa,{granted:!!(n!=null&&n[p]),label:k.label,onRequest:()=>r(p)},p,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:103,columnNumber:15},this))},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:101,columnNumber:11},this),children:x(vn,{on:e,onClick:t,disabled:d,title:d?c("dialogs.grantPermissions"):""},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:108,columnNumber:9},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:96,columnNumber:7},this),x(pn,{icon:"rocket_launch",active:!!o,name:c("remote.launchOnStartup"),children:x(vn,{on:!!o,onClick:a},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:117,columnNumber:9},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:112,columnNumber:7},this),x(pn,{icon:"coffee",active:(s||"never")!=="never",name:c("remote.preventSleep"),children:x("select",{value:s||"never",onChange:p=>l==null?void 0:l(p.target.value),className:"flex-shrink-0 text-[12.5px] px-3 py-2 rounded-lg",style:{background:"var(--surface-2)",color:"var(--text-main)",border:"1px solid var(--border)",cursor:"pointer"},children:(i||[]).map(p=>x("option",{value:p,children:b[p]||p},p,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:133,columnNumber:13},this))},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:126,columnNumber:9},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:121,columnNumber:7},this),(u==null?void 0:u.supported)&&x(pn,{icon:"lock_open",active:!!u.running,name:c("remote.remoteUnlock"),desc:u.stale?c("remote.remoteUnlockStale"):u.running?c("remote.remoteUnlockReady"):c("remote.remoteUnlockDesc"),children:x(vn,{on:!!u.enabled,disabled:!!u.busy,onClick:()=>u.enabled?h==null?void 0:h():f==null?void 0:f()},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:155,columnNumber:11},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:142,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:88,columnNumber:5},this)}const ua={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,t)=>`Updating… ${t}s`},restarting:{icon:"restart_alt",spin:!0,text:(e,t)=>`Updating 9remote… ${t}s`},ready:{icon:"check_circle",spin:!1,text:()=>"Updated! Reloading…"},timeout:{icon:"warning",spin:!1,text:()=>"Taking longer than expected"}};function da({version:e}){const[t,n]=se(le("idle"),"phase"),[r,o]=se(le(0),"seconds");if(ve(()=>{if(t!=="updating"&&t!=="restarting")return;const u=Date.now();let f=!1;const h=setInterval(()=>o(Math.floor((Date.now()-u)/1e3)),1e3);let c;const y=setTimeout(()=>{c=setInterval(async()=>{if(Date.now()-u>fn.timeoutMs){n("timeout"),clearInterval(c);return}try{if(!(await fetch("/api/ui/state",{cache:"no-store"})).ok)throw new Error;f&&(n("ready"),clearInterval(c),setTimeout(()=>location.reload(),600))}catch{f=!0,n("restarting")}},fn.pollMs)},fn.startDelayMs);return()=>{clearInterval(h),clearInterval(c),clearTimeout(y)}},[t==="updating"||t==="restarting"]),!e)return null;const a=()=>{n("updating"),fetch("/api/update",{method:"POST"}).catch(()=>{})},s=ua[t],i=t!=="idle"&&t!=="timeout",l=t==="ready"?100:Math.min(r*1e3/fn.timeoutMs*100,95);return x("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:[x("span",{className:`material-symbols-outlined text-sm flex-shrink-0 ${s.spin?"animate-spin":""}`,style:{color:"var(--brand-400)"},children:s.icon},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:218,columnNumber:7},this),x("span",{className:"text-xs flex-1",style:{color:"var(--brand-400)"},children:s.text(e,r)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:219,columnNumber:7},this),t==="idle"&&x("button",{onClick:()=>n("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"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:221,columnNumber:9},this),t==="confirm"&&x(Ce,{children:[x("button",{onClick:a,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"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:225,columnNumber:11},this),x("button",{onClick:()=>n("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"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:226,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:224,columnNumber:9},this),t==="timeout"&&x("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"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:230,columnNumber:9},this),i&&x("span",{className:"text-xs flex-shrink-0",style:{color:"var(--brand-400)",opacity:.6},children:[r,"s"]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:232,columnNumber:16},this),i&&x("div",{className:"absolute left-0 bottom-0 h-0.5 transition-all duration-1000 ease-linear",style:{width:`${l}%`,background:"var(--brand-400)"}},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:234,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:217,columnNumber:5},this)}function ma(e,t,n=[]){const r=new Map;for(const i of t){if(!i.deviceId)continue;const l=r.get(i.deviceId);(!l||i.connectedAt&&i.connectedAt<l.connectedAt)&&r.set(i.deviceId,i)}const o=e.map(i=>{const l=r.get(i.deviceId);return{deviceId:i.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:i.approvedAt||null,label:i.label||""}}),a=n.map(i=>({deviceId:i.deviceId,status:"pending",ip:i.ip||null,connectedAt:null,approvedAt:null,rejectedAt:i.rejectedAt||null})),s={online:0,pending:1,offline:2};return[...o,...a].sort((i,l)=>s[i.status]-s[l.status])}const Wr={online:{color:"var(--success)",bg:"rgba(var(--success-rgb),0.14)",label:"Online"},offline:{color:"var(--text-subtle)",bg:"var(--surface-2)",label:"Offline"},pending:{color:"var(--warn)",bg:"rgba(var(--warn-rgb),0.14)",label:"Pending"}},fa=e=>/mac|book|laptop|pc|windows|desktop|linux/i.test(e||"")?"laptop_mac":"smartphone";function pa({client:e,onRemove:t,onApprove:n,onLabel:r}){const o=`${e.deviceId.slice(0,8)}...`,a=e.label||o,s=Wr[e.status]||Wr.offline,i=e.status==="pending",l=e.status==="online"?`${e.ip?e.ip+" · ":""}connected ${e.connectedAt?new Date(e.connectedAt).toLocaleTimeString(void 0,{hour12:!1}):""}`:i?"Waiting for approval":e.approvedAt?`Approved ${new Date(e.approvedAt).toLocaleDateString()}`:"Offline";return x("div",{className:`flex items-center gap-3.5 py-3 ${i?"rounded-lg px-3 -mx-3":"border-t first:border-t-0"}`,style:i?{background:"linear-gradient(100deg, rgba(var(--warn-rgb),0.08), transparent)"}:{borderColor:"var(--border)"},children:[x("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0",style:{background:"var(--surface-2)",border:"1px solid var(--border)"},children:x("span",{className:"material-symbols-outlined",style:{fontSize:20,color:"var(--text-muted)"},children:fa(a)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:308,columnNumber:9},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:307,columnNumber:7},this),x("div",{className:"flex-1 min-w-0",children:[x("div",{className:"text-[13.5px] font-semibold flex items-center gap-2 min-w-0",style:{color:"var(--text-main)"},children:[x("span",{className:"truncate",children:a},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:312,columnNumber:11},this),x("span",{className:"flex items-center gap-1 text-[10.5px] font-semibold px-2 py-0.5 rounded-full flex-shrink-0",style:{background:s.bg,color:s.color},children:[x("span",{className:"w-1.5 h-1.5 rounded-full",style:{background:"currentColor"}},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:314,columnNumber:13},this),s.label]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:313,columnNumber:11},this),!i&&x("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"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:317,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:311,columnNumber:9},this),x("p",{className:`text-[11.5px] mt-0.5 truncate ${e.ip?"font-mono":""}`,style:{color:"var(--text-muted)"},children:l},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:327,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:310,columnNumber:7},this),i?x("button",{onClick:()=>n==null?void 0:n(e),className:"flex-shrink-0 text-[12.5px] font-semibold px-3.5 py-2 rounded-lg",style:{background:"linear-gradient(135deg, var(--brand-500), var(--brand-400))",color:"#fff"},title:"Approve this device",children:"Approve"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:330,columnNumber:9},this):x("button",{onClick:()=>t(e),className:"flex-shrink-0 text-[12.5px] font-semibold px-3.5 py-2 rounded-lg card-act",style:{background:"var(--surface-2)",border:"1px solid var(--border)"},title:"Disconnect and remove this device",children:e.status==="online"?"Disconnect":"Remove"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:339,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:303,columnNumber:5},this)}function Br({icon:e,title:t,danger:n,onClick:r}){return x("button",{onClick:r,title:t,className:n?"btn-danger w-10 h-10 rounded-lg flex items-center justify-center":"glass-btn w-10 h-10 rounded-lg flex items-center justify-center",style:n?void 0:{color:"var(--text-muted)"},children:x("span",{className:"material-symbols-outlined text-xl",children:e},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:358,columnNumber:7},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:357,columnNumber:5},this)}function ga({onStart:e,t}){const[n,r]=se(le(!1),"connecting"),o=()=>{r(!0),e==null||e()};return x("div",{className:"flex-1 flex flex-col items-center justify-center gap-5 px-6 py-8 text-center max-w-sm w-full mx-auto",children:[x("div",{className:"w-16 h-16 rounded-lg flex items-center justify-center",style:{background:"var(--glass-bg)"},children:x("span",{className:"material-symbols-outlined",style:{fontSize:32,color:"var(--text-muted)"},children:"cloud_off"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:370,columnNumber:9},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:369,columnNumber:7},this),x("div",{className:"flex flex-col gap-1",children:[x("p",{className:"text-base font-semibold",style:{color:"var(--text-main)"},children:t("connection.tunnelOffline")},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:373,columnNumber:9},this),x("p",{className:"text-xs leading-5",style:{color:"var(--text-muted)"},children:t("connection.startTunnel")},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:374,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:372,columnNumber:7},this),x("button",{onClick:n?void 0:o,disabled:n,className:"btn-primary w-full py-3 flex items-center justify-center gap-2 text-sm font-semibold",style:{borderRadius:"var(--radius-brand)",opacity:n?.7:1},children:[x("span",{className:"material-symbols-outlined text-base",children:"play_arrow"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:382,columnNumber:9},this),t(n?"connection.connecting":"connection.connect")]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:376,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:368,columnNumber:5},this)}function ha({version:e,isReady:t,isStopped:n,transport:r,onTransportChange:o,theme:a,onToggleTheme:s,onOpenTerminal:i,onStop:l,onShutdown:u,logs:f,onClearLogs:h}){const{t:c}=$e();return x("header",{className:"shrink-0 flex items-center justify-between gap-3 px-6 lg:px-10 pt-5 pb-1",children:[x("div",{className:"flex items-center gap-3 min-w-0",children:[x("div",{className:"w-10 h-10 rounded-[11px] grid place-items-center flex-shrink-0",style:{background:"var(--brand-500)",boxShadow:"0 8px 20px -6px rgba(var(--brand-rgb),0.45)"},children:x("span",{className:"material-symbols-outlined",style:{fontSize:22,color:"#fff"},children:"terminal"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:396,columnNumber:11},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:395,columnNumber:9},this),x("div",{className:"flex flex-col leading-none min-w-0",children:[x("span",{className:"text-[22px] font-bold tracking-tight",style:{color:"var(--text-main)"},children:"9Remote"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:399,columnNumber:11},this),e&&x("span",{className:"font-mono text-[11px] mt-1",style:{color:"var(--text-subtle)"},children:["v",e]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:400,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:398,columnNumber:9},this),t&&x("div",{className:"ml-2 hidden sm:block",children:x(ba,{transport:r,onTransportChange:o},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:404,columnNumber:13},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:403,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:394,columnNumber:7},this),x("div",{className:"flex items-center gap-1.5 shrink-0",children:[x(Br,{icon:"open_in_new",title:c("menu.terminals"),onClick:i},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:409,columnNumber:9},this),x(Br,{icon:a==="dark"?"light_mode":"dark_mode",title:c(a==="dark"?"header.lightMode":"header.darkMode"),onClick:s},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:410,columnNumber:9},this),x(ra,{isStopped:n,onStop:l,onShutdown:u,logs:f,onClearLogs:h},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:415,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:408,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:393,columnNumber:5},this)}function ba({transport:e,onTransportChange:t}){const n=(e==null?void 0:e.signaling)||"off",r=(e==null?void 0:e.rtcPeers)||0,o=(e==null?void 0:e.wsPeers)||0,a=e==null?void 0:e.rtcDisabled,s=r>0||o>0;return x("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg",style:{background:"var(--surface-2)",border:"1px solid var(--border)"},children:[x("span",{className:`w-2 h-2 rounded-full flex-shrink-0 ${s?"health-dot":""}`,style:{background:s?"var(--success)":n==="connected"?"var(--warn)":"var(--danger)"}},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:443,columnNumber:7},this),x("span",{className:"text-[12.5px] font-medium",style:{color:"var(--text-main)"},children:s?"Connected":n==="connected"?"Ready":"Offline"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:444,columnNumber:7},this),x("button",{onClick:async()=>{const f=!a;t==null||t({...e,rtcDisabled:f}),await fetch("/api/ui/rtc-toggle",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({disabled:f})}).catch(()=>t==null?void 0:t({...e,rtcDisabled:!f}))},title:a?"RTC OFF (debug) — click to enable":"Disable RTC (debug)",className:"ml-auto flex-shrink-0 w-2.5 h-2.5 rounded-full transition-all",style:{background:a?"var(--danger)":"transparent",border:a?"none":"1px solid var(--text-muted)",opacity:.4}},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:447,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:442,columnNumber:5},this)}function va({step:e,stepDesc:t="",healthCheck:n,transport:r,onTransportChange:o,tunnelUrl:a,oneTimeKey:s,oneTimeKeyExpiresAt:i,permanentKey:l,qrUrl:u,permissions:f,desktopEnabled:h,updateVersion:c,connections:g=[],version:y="",onRequestPermission:d,onDesktopToggle:b,onStop:p,onStart:k,onShutdown:_,onGenerateOneTimeKey:N,onRegenerateKey:X,logs:w=[],onClearLogs:D,theme:M,onToggleTheme:S,pendingDevice:T,onDeviceApprove:I,onDeviceReject:P,approvedDevices:U=[],rejectedDevices:q=[],onDeviceRemove:pe,onFetchDevices:ge,onDeviceApproveRejected:Me,onDeviceLabel:Ue,autoApprove:ke=!1,onAutoApproveToggle:Be,autoStart:je=!1,onAutoStartToggle:He,sleepInhibitMode:Ge="never",sleepInhibitPresets:en=[],onSleepInhibitChange:ze,unlockStatus:Qe=null,onRequestUnlockInstall:me,onRequestUnlockUninstall:be,onStopTunnel:_e}){var Ht;const{t:Ne}=$e(),[$n,nn]=se(le(!1),"showDisconnectConfirm"),[et,tn]=se(le(!1),"showShutdownConfirm"),[Se,rn]=se(le(null),"deviceToRemove"),[on,an]=se(le(null),"deviceToLabel"),[A,ie]=se(le(""),"labelInput"),ce=se(Ze(null),"scrollRef"),Re=async()=>{const Ee=window.open("","_blank");if(Ee)try{const Le=await fetch("/api/ui/state",{cache:"no-store"});if(!Le.ok)throw new Error;const{workerUrl:P0}=await Le.json();Ee.location.href=`${P0}/login`}catch{Ee.close()}},C=e===5,z=e===0,Pe=e>0&&e<5;ve(()=>{ge==null||ge()},[g.length]);const he=ma(U,g,q),R0=he.filter(Ee=>Ee.status==="online").length;return x("div",{className:"h-full w-full flex flex-col overflow-hidden isolate",style:{background:"var(--bg-body)"},children:[x("div",{className:"dot-grid-bg fixed inset-0 pointer-events-none",style:{zIndex:-4},"aria-hidden":"true"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:507,columnNumber:7},this),x("div",{className:"agent-grid fixed inset-0 pointer-events-none",style:{zIndex:-3},"aria-hidden":"true"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:508,columnNumber:7},this),x("div",{className:"agent-glow-tl fixed pointer-events-none",style:{top:"-10%",left:"-5%",width:"min(700px, 90vw)",height:"min(700px, 90vw)",borderRadius:"50%",zIndex:-2},"aria-hidden":"true"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:509,columnNumber:7},this),x("div",{className:"agent-glow-br fixed pointer-events-none",style:{bottom:"-15%",right:"-10%",width:"min(800px, 95vw)",height:"min(800px, 95vw)",borderRadius:"50%",zIndex:-2},"aria-hidden":"true"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:510,columnNumber:7},this),x(ha,{version:y,isReady:C,isStopped:z,transport:r,onTransportChange:o,theme:M,onToggleTheme:S,onOpenTerminal:Re,onStop:()=>nn(!0),onShutdown:()=>tn(!0),logs:w,onClearLogs:D},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:512,columnNumber:7},this),!Pe&&x(da,{version:c},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:527,columnNumber:25},this),x("main",{ref:ce,className:"flex-1 min-w-0 h-full relative overflow-y-auto",children:x("div",{className:"px-6 lg:px-10 pb-6 lg:pb-10 pt-5",children:x("div",{className:"max-w-7xl mx-auto flex flex-col gap-4",children:[z&&x(ga,{onStart:k,t:Ne},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:534,columnNumber:17},this),Pe&&x("div",{className:"flex-1 flex flex-col gap-4 max-w-2xl w-full mx-auto",children:x(eo,{currentStep:e,activeDesc:t,healthCheck:n,t:Ne},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:539,columnNumber:19},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:538,columnNumber:17},this),C&&x(Ce,{children:x("div",{className:"grid grid-cols-1 lg:grid-cols-[minmax(300px,1fr)_1.7fr] gap-4 items-stretch",children:[x("div",{children:x(na,{qrUrl:u,oneTimeKey:s,oneTimeKeyExpiresAt:i,permanentKey:l,onGenerateOneTimeKey:N,onRegenerateKey:X,onStopTunnel:_e},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:548,columnNumber:23},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:547,columnNumber:21},this),x("div",{className:"flex flex-col gap-4",children:[x(ca,{desktopEnabled:h,onDesktopToggle:b,permissions:f,onRequestPermission:d,autoStart:je,onAutoStartToggle:He,sleepInhibitMode:Ge,sleepInhibitPresets:en,onSleepInhibitChange:ze,unlockStatus:Qe,onRequestUnlockInstall:me,onRequestUnlockUninstall:be,t:Ne},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:559,columnNumber:23},this),x("div",{className:"card-elev p-5 flex flex-col gap-1",children:[x("div",{className:"flex items-center gap-2.5 mb-2",children:[x("span",{className:"material-symbols-outlined flex-shrink-0",style:{fontSize:20,color:"var(--brand-400)"},children:"devices"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:578,columnNumber:25},this),x("h3",{className:"text-[15px] font-semibold flex-1",style:{color:"var(--text-main)"},children:"Clients"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:579,columnNumber:25},this),he.length>0&&x("span",{className:"text-[11px] font-mono",style:{color:"var(--text-muted)"},children:[R0,"/",he.length," online"]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:581,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:577,columnNumber:23},this),x("div",{className:"flex items-center gap-3 py-2.5",children:[x("span",{className:"material-symbols-outlined flex-shrink-0",style:{fontSize:18,color:ke?"var(--brand-400)":"var(--text-muted)"},children:ke?"lock_open":"lock"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:589,columnNumber:25},this),x("div",{className:"flex-1 min-w-0",children:x("p",{className:"text-xs font-medium",style:{color:"var(--text-main)"},children:Ne("clients.autoApprove")},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:593,columnNumber:27},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:592,columnNumber:25},this),x(vn,{on:ke,onClick:Be,title:ke?"Disable auto-approve":"Enable auto-approve"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:595,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:588,columnNumber:23},this),he.length===0?x("p",{className:"text-xs text-center py-3",style:{color:"var(--text-muted)"},children:"No clients yet"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:599,columnNumber:25},this):he.map(Ee=>x(pa,{client:Ee,onRemove:rn,onApprove:Le=>Me==null?void 0:Me(Le.deviceId),onLabel:Le=>{an(Le),ie(Le.label||"")}},Ee.deviceId,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:602,columnNumber:27},this))]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:576,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:558,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:546,columnNumber:19},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:544,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:532,columnNumber:11},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:531,columnNumber:9},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:530,columnNumber:7},this),$n&&x(Oe,{message:"Reset and stop the tunnel? Remote clients will be disconnected.",confirmLabel:"Reset",onConfirm:()=>{nn(!1),p==null||p()},onCancel:()=>nn(!1)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:621,columnNumber:9},this),et&&x(Oe,{message:"Shutdown 9Remote completely? This will stop the server, close the tunnel and quit the app.",confirmLabel:"Shutdown",confirmDanger:!0,onConfirm:()=>{tn(!1),_==null||_()},onCancel:()=>tn(!1)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:630,columnNumber:9},this),Se&&x(Oe,{message:Se.status==="online"?`Disconnect and remove device ${Se.deviceId.slice(0,8)}...? The client will be disconnected and need approval again next time.`:Se.status==="pending"?`Remove pending device ${Se.deviceId.slice(0,8)}...? It will need a fresh approval request to connect again.`:`Remove device ${Se.deviceId.slice(0,8)}...? It will need approval again next time.`,confirmLabel:Se.status==="online"?"Disconnect & Remove":"Remove",confirmDanger:!0,onConfirm:()=>{pe==null||pe(Se),rn(null)},onCancel:()=>rn(null)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:640,columnNumber:9},this),on&&x(Oe,{message:`Name for device ${on.deviceId.slice(0,8)}...`,confirmLabel:"Save",inputValue:A,inputPlaceholder:"e.g. My MacBook",onInput:ie,onConfirm:()=>{Ue==null||Ue(on.deviceId,A.trim()),an(null)},onCancel:()=>an(null)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:654,columnNumber:9},this),T&&x("div",{className:"fixed inset-0 z-50 flex items-center justify-center",style:{background:"rgba(0,0,0,0.6)"},children:x("div",{className:"card-elev p-5 flex flex-col gap-4 w-80",children:[x("div",{className:"flex items-center gap-2",children:[x("span",{className:"material-symbols-outlined",style:{color:"var(--brand-500)",fontSize:24},children:"devices"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:669,columnNumber:15},this),x("span",{className:"text-sm font-semibold",style:{color:"var(--text-main)"},children:"New Device Connection"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:670,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:668,columnNumber:13},this),x("div",{className:"flex flex-col gap-1 text-xs",style:{color:"var(--text-muted)"},children:[x("span",{children:["Device: ",x("span",{style:{color:"var(--text-main)"},children:[(Ht=T.deviceId)==null?void 0:Ht.slice(0,8),"..."]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:673,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:673,columnNumber:15},this),x("span",{children:["IP: ",x("span",{style:{color:"var(--text-main)"},children:T.ip},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:674,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:674,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:672,columnNumber:13},this),x("div",{className:"flex gap-2",children:[x("button",{onClick:P,className:"glass-btn flex-1 py-2 text-sm",style:{color:"var(--text-muted)"},children:"Reject"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:677,columnNumber:15},this),x("button",{onClick:I,className:"flex-1 py-2 text-sm font-semibold rounded-lg",style:{background:"var(--brand-500)",color:"#fff"},children:"Approve"},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:680,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:676,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:667,columnNumber:11},this)},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:666,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/Working/9remote/agent/ui/src/screens/MainScreen.jsx",lineNumber:505,columnNumber:5},this)}const ya=3e3,Bt={running:!1,timeoutMs:0,startedAt:null,logs:[]},Gt={status:"unknown",checkedAt:null},Gr={step:0,stepDesc:"",tunnelUrl:"",oneTimeKey:"",oneTimeKeyExpiresAt:null,permanentKey:"",qrUrl:"",latency:null,uptime:null,healthCheck:Bt,tunnelHealth:Gt},ka={signaling:"off",rtcPeers:0,wsPeers:0,rtcDisabled:!1},_a={screenRecording:!1,accessibility:!1},zr=200;function Na(){const[e,t]=se(le(Gr),"mainState"),[n,r]=se(le(_a),"permissions"),[o,a]=se(le(ka),"transport"),[s,i]=se(le(!1),"desktopEnabled"),[l,u]=se(le([]),"logs"),[f,h]=se(le(null),"updateVersion"),[c,g]=se(le([]),"connections"),[y,d]=se(le(null),"pendingDevice"),[b,p]=se(le([]),"approvedDevices"),[k,_]=se(le([]),"rejectedDevices"),[N,X]=se(le(!1),"autoApprove"),[w,D]=se(le(!1),"autoStart"),[M,S]=se(le("never"),"sleepInhibitMode"),[T,I]=se(le([]),"sleepInhibitPresets"),[P,U]=se(le(null),"unlockStatus"),[q,pe]=se(le(""),"version"),[ge,Me]=se(le(()=>localStorage.getItem("9remote-theme")||"dark"),"theme");ve(()=>{document.documentElement.setAttribute("data-theme",ge),localStorage.setItem("9remote-theme",ge)},[ge]);const Ue=()=>{Me(A=>A==="dark"?"light":"dark")};ve(()=>{fetch("/api/version").then(C=>C.json()).then(C=>pe(C.version??"")).catch(()=>{}),fetch("/api/ui/state").then(C=>C.json()).then(C=>{t({step:C.step??0,stepDesc:C.stepDesc??"",tunnelUrl:C.tunnelUrl??"",oneTimeKey:C.oneTimeKey??"",oneTimeKeyExpiresAt:C.oneTimeKeyExpiresAt??null,permanentKey:C.permanentKey??"",qrUrl:C.qrUrl??"",latency:C.latency??null,uptime:C.uptime??null,healthCheck:C.healthCheck??Bt,tunnelHealth:C.tunnelHealth??Gt}),r({screenRecording:C.screenRecording??!1,accessibility:C.accessibility??!1}),C.transport&&a(C.transport),C.desktopEnabled!==void 0&&i(C.desktopEnabled),C.theme&&(C.theme==="light"||C.theme==="dark")&&Me(C.theme)}).catch(()=>{}),fetch("/api/logs").then(C=>C.json()).then(C=>{Array.isArray(C==null?void 0:C.logs)&&u(C.logs)}).catch(()=>{});const A=new EventSource("/api/ui/events");A.onmessage=C=>{try{const z=JSON.parse(C.data);z.type==="state"?t({step:z.step??0,stepDesc:z.stepDesc??"",tunnelUrl:z.tunnelUrl??"",oneTimeKey:z.oneTimeKey??"",oneTimeKeyExpiresAt:z.oneTimeKeyExpiresAt??null,permanentKey:z.permanentKey??"",qrUrl:z.qrUrl??"",latency:z.latency??null,uptime:z.uptime??null,healthCheck:z.healthCheck??Bt,tunnelHealth:z.tunnelHealth??Gt}):z.type==="log"?u(Pe=>{const he=[...Pe,z.message];return he.length>zr?he.slice(-zr):he}):z.type==="updateAvailable"?h(z.version):z.type==="permissions"?(r({screenRecording:z.screenRecording,accessibility:z.accessibility}),z.desktopEnabled!==void 0&&i(z.desktopEnabled)):z.type==="transport"?a({signaling:z.signaling,rtcPeers:z.rtcPeers,wsPeers:z.wsPeers,rtcDisabled:z.rtcDisabled}):z.type==="connections"?g(z.connections??[]):z.type==="deviceApproval"&&z.action==="pending"?d({socketId:z.socketId,deviceId:z.deviceId,ip:z.ip}):z.type==="deviceApproval"&&z.action==="refresh"?me():z.type==="autostart"?D(!!z.enabled):z.type==="sleepInhibit"&&(z.mode&&S(z.mode),Array.isArray(z.presets)&&I(z.presets))}catch{}},A.onerror=()=>{},fetch("/api/device/auto-approve").then(C=>C.json()).then(C=>{X(!!(C!=null&&C.enabled))}).catch(()=>{}),fetch("/api/autostart").then(C=>C.json()).then(C=>{D(!!(C!=null&&C.enabled))}).catch(()=>{}),fetch("/api/sleep-inhibit").then(C=>C.json()).then(C=>{C!=null&&C.mode&&S(C.mode),Array.isArray(C==null?void 0:C.presets)&&I(C.presets)}).catch(()=>{});const ie=()=>fetch("/api/desktop-unlock").then(C=>C.json()).then(C=>{C!=null&&C.supported&&U(z=>z!=null&&z.busy?z:C)}).catch(()=>{});ie();const ce=setInterval(ie,1e4),Re=setInterval(async()=>{var C;if(!ke.current)try{const z=await fetch("/api/device/pending");if(!z.ok)return;const Pe=await z.json(),he=(C=Pe==null?void 0:Pe.pending)==null?void 0:C[0];he&&!ke.current&&d({socketId:he.socketId,deviceId:he.deviceId,ip:he.ip})}catch{}},ya);return()=>{A.close(),clearInterval(Re),clearInterval(ce)}},[]);const ke=se(Ze(null),"pendingDeviceRef");ve(()=>{ke.current=y},[y]);const Be=async A=>{await fetch("/api/permissions/request",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:A})}).catch(()=>{})},je=()=>{fetch("/api/ui/stop",{method:"POST"}).catch(()=>{})},He=()=>{fetch("/api/ui/start",{method:"POST"}).catch(()=>{})},Ge=()=>{fetch("/api/ui/stop-tunnel",{method:"POST"}).catch(()=>{})},en=()=>{fetch("/api/ui/shutdown",{method:"POST"}).catch(()=>{}),t(Gr)},ze=async()=>{const A=await fetch("/api/key/one-time",{method:"POST"}).catch(()=>null);if(!(A!=null&&A.ok))return;const ie=await A.json().catch(()=>null);ie!=null&&ie.oneTimeKey&&t(ce=>({...ce,oneTimeKey:ie.oneTimeKey,oneTimeKeyExpiresAt:ie.expiresAt,qrUrl:ie.qrUrl??ce.qrUrl}))},Qe=async()=>{const A=!s;i(A),await fetch("/api/desktop/toggle",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:A})}).catch(()=>{})},me=async()=>{try{const[A,ie]=await Promise.all([fetch("/api/device/approved"),fetch("/api/device/rejected")]);if(A.ok){const ce=await A.json();p(ce.devices||[])}if(ie.ok){const ce=await ie.json();_(ce.rejected||[])}}catch{}},be=async A=>{const ie=A.status==="pending"?"/api/device/clear-rejected":"/api/device/remove";await fetch(ie,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({deviceId:A.deviceId})}).catch(()=>{}),me()},_e=async()=>{y&&(await fetch("/api/device/approve",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({socketId:y.socketId})}).catch(()=>{}),d(null),me())},Ne=async()=>{y&&(await fetch("/api/device/reject",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({socketId:y.socketId})}).catch(()=>{}),d(null),me())},$n=async()=>{const A=!w;D(A);try{const ce=await(await fetch("/api/autostart",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:A})})).json().catch(()=>null);ce&&typeof ce.enabled=="boolean"&&D(ce.enabled)}catch{D(!A)}},nn=async A=>{const ie=M;S(A);try{const Re=await(await fetch("/api/sleep-inhibit",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({mode:A})})).json().catch(()=>null);Re!=null&&Re.mode&&S(Re.mode)}catch{S(ie)}},et=async()=>{U(A=>({...A||{supported:!0},busy:!0}));try{const ie=await(await fetch("/api/desktop-unlock/install",{method:"POST"})).json().catch(()=>null);ie&&U({supported:!0,...ie,busy:!1})}catch{U(A=>({...A||{supported:!0},busy:!1}))}},tn=async()=>{U(A=>({...A||{supported:!0},busy:!0}));try{const ie=await(await fetch("/api/desktop-unlock/uninstall",{method:"POST"})).json().catch(()=>null);ie&&U({supported:!0,...ie,busy:!1})}catch{U(A=>({...A||{supported:!0},busy:!1}))}},Se=async()=>{const A=!N;X(A);try{const ce=await(await fetch("/api/device/auto-approve",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:A})})).json().catch(()=>null);ce&&typeof ce.enabled=="boolean"&&X(ce.enabled)}catch{X(!A)}},rn=async A=>{await fetch("/api/device/approve-rejected",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({deviceId:A})}).catch(()=>{}),me()},on=async(A,ie)=>{await fetch("/api/device/label",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({deviceId:A,label:ie})}).catch(()=>{}),me()},an=async()=>{const A=await fetch("/api/key/regenerate",{method:"POST"}).catch(()=>null);if(!(A!=null&&A.ok))return;const ie=await A.json().catch(()=>null);ie!=null&&ie.permanentKey&&t(ce=>({...ce,permanentKey:ie.permanentKey}))};return x(va,{step:e.step,stepDesc:e.stepDesc,healthCheck:e.healthCheck,transport:o,onTransportChange:a,tunnelUrl:e.tunnelUrl,oneTimeKey:e.oneTimeKey,oneTimeKeyExpiresAt:e.oneTimeKeyExpiresAt,permanentKey:e.permanentKey,qrUrl:e.qrUrl,permissions:n,desktopEnabled:s,updateVersion:f,connections:c,onRequestPermission:Be,onDesktopToggle:Qe,onStop:je,onStart:He,onStopTunnel:Ge,onShutdown:en,onGenerateOneTimeKey:ze,onRegenerateKey:an,logs:l,onClearLogs:()=>{fetch("/api/logs/clear",{method:"POST"}).catch(()=>{}),u([])},version:q,theme:ge,onToggleTheme:Ue,pendingDevice:y,onDeviceApprove:_e,onDeviceReject:Ne,approvedDevices:b,rejectedDevices:k,onDeviceRemove:be,onFetchDevices:me,onDeviceApproveRejected:rn,onDeviceLabel:on,autoApprove:N,onAutoApproveToggle:Se,autoStart:w,onAutoStartToggle:$n,sleepInhibitMode:M,sleepInhibitPresets:T,unlockStatus:P,onRequestUnlockInstall:et,onRequestUnlockUninstall:tn,onSleepInhibitChange:nn},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/App.jsx",lineNumber:385,columnNumber:5},this)}O0(x(Na,{},void 0,!1,{fileName:"/Users/Working/9remote/agent/ui/src/main.jsx",lineNumber:6,columnNumber:8},void 0),document.getElementById("root"));
|