@fugood/bricks-cli 2.25.0-beta.74 → 2.25.0-beta.75

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/lib/index.js CHANGED
@@ -1,107 +1,175 @@
1
- import*as e from"conf";import{createRequire as t}from"node:module";let o=t(import.meta.url);var r,n,i,a,s,l,u,c,d,p,f,g={47661(e,t,o){let r=Object.assign({},o(3900)),n=Object.keys(r);Object.defineProperty(r,"random",{get(){let e=Math.floor(Math.random()*n.length);return r[n[e]]}}),e.exports=r},27549(e,t,o){e.exports=function(e,t){var r=[function(e,t,o){e.exports=o(34)},function(e,t,o){var r=o(29)("wks"),n=o(33),i=o(2).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:n)("Symbol."+e))}).store=r},function(e,t){var o=e.exports="u">typeof window&&window.Math==Math?window:"u">typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=o)},function(e,t,o){var r=o(9);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,o){e.exports=!o(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,o){var r=o(12),n=o(17);e.exports=o(4)?function(e,t,o){return r.f(e,t,n(1,o))}:function(e,t,o){return e[t]=o,e}},function(e,t){var o=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=o)},function(e,t,o){var r=o(14);e.exports=function(e,t,o){if(r(e),void 0===t)return e;switch(o){case 1:return function(o){return e.call(t,o)};case 2:return function(o,r){return e.call(t,o,r)};case 3:return function(o,r,n){return e.call(t,o,r,n)}}return function(){return e.apply(t,arguments)}}},function(e,t){var o={}.hasOwnProperty;e.exports=function(e,t){return o.call(e,t)}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports={}},function(e,t){var o={}.toString;e.exports=function(e){return o.call(e).slice(8,-1)}},function(e,t,o){var r=o(3),n=o(26),i=o(32),a=Object.defineProperty;t.f=o(4)?Object.defineProperty:function(e,t,o){if(r(e),t=i(t,!0),r(o),n)try{return a(e,t,o)}catch(e){}if("get"in o||"set"in o)throw TypeError("Accessors not supported!");return"value"in o&&(e[t]=o.value),e}},function(e,t,o){var r=o(42),n=o(15);e.exports=function(e){return r(n(e))}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,o){var r=o(9),n=o(2).document,i=r(n)&&r(n.createElement);e.exports=function(e){return i?n.createElement(e):{}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,o){var r=o(12).f,n=o(8),i=o(1)("toStringTag");e.exports=function(e,t,o){e&&!n(e=o?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,o){var r=o(29)("keys"),n=o(33);e.exports=function(e){return r[e]||(r[e]=n(e))}},function(e,t){var o=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e*=1)?0:(e>0?r:o)(e)}},function(e,t,o){var r=o(11),n=o(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,o,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(o=a(t=Object(e),n))?o:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,o){var r=o(2),n=o(6),i=o(7),a=o(5),s="prototype",l=function(e,t,o){var u,c,d,p=e&l.F,f=e&l.G,g=e&l.S,h=e&l.P,m=e&l.B,D=e&l.W,y=f?n:n[t]||(n[t]={}),v=y[s],b=f?r:g?r[t]:(r[t]||{})[s];for(u in f&&(o=t),o)(c=!p&&b&&void 0!==b[u])&&u in y||(d=c?b[u]:o[u],y[u]=f&&"function"!=typeof b[u]?o[u]:m&&c?i(d,r):D&&b[u]==d?function(e){var t=function(t,o,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,o)}return new e(t,o,r)}return e.apply(this,arguments)};return t[s]=e[s],t}(d):h&&"function"==typeof d?i(Function.call,d):d,h&&((y.virtual||(y.virtual={}))[u]=d,e&l.R&&v&&!v[u]&&a(v,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,o){e.exports=o(2).document&&document.documentElement},function(e,t,o){e.exports=!o(4)&&!o(24)(function(){return 7!=Object.defineProperty(o(16)("div"),"a",{get:function(){return 7}}).a})},function(e,t,o){"use strict";var r=o(28),n=o(23),i=o(57),a=o(5),s=o(8),l=o(10),u=o(45),c=o(18),d=o(52),p=o(1)("iterator"),f=!([].keys&&"next"in[].keys()),g="keys",h="values",m=function(){return this};e.exports=function(e,t,o,D,y,v,b){u(o,t,D);var F,_,C,$=function(e){if(!f&&e in S)return S[e];switch(e){case g:case h:return function(){return new o(this,e)}}return function(){return new o(this,e)}},E=t+" Iterator",w=y==h,k=!1,S=e.prototype,x=S[p]||S["@@iterator"]||y&&S[y],O=x||$(y),A=y?w?$("entries"):O:void 0,j="Array"==t&&S.entries||x;if(j&&(C=d(j.call(new e)))!==Object.prototype&&(c(C,E,!0),r||s(C,p)||a(C,p,m)),w&&x&&x.name!==h&&(k=!0,O=function(){return x.call(this)}),(!r||b)&&(f||k||!S[p])&&a(S,p,O),l[t]=O,l[E]=m,y)if(F={values:w?O:$(h),keys:v?O:$(g),entries:A},b)for(_ in F)_ in S||i(S,_,F[_]);else n(n.P+n.F*(f||k),t,F);return F}},function(e,t){e.exports=!0},function(e,t,o){var r=o(2),n="__core-js_shared__",i=r[n]||(r[n]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t,o){var r,n,i,a=o(7),s=o(41),l=o(25),u=o(16),c=o(2),d=c.process,p=c.setImmediate,f=c.clearImmediate,g=c.MessageChannel,h=0,m={},D="onreadystatechange",y=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},v=function(e){y.call(e.data)};p&&f||(p=function(e){for(var t=[],o=1;arguments.length>o;)t.push(arguments[o++]);return m[++h]=function(){s("function"==typeof e?e:Function(e),t)},r(h),h},f=function(e){delete m[e]},"process"==o(11)(d)?r=function(e){d.nextTick(a(y,e,1))}:g?(i=(n=new g).port2,n.port1.onmessage=v,r=a(i.postMessage,i,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",v,!1)):r=D in u("script")?function(e){l.appendChild(u("script"))[D]=function(){l.removeChild(this),y.call(e)}}:function(e){setTimeout(a(y,e,1),0)}),e.exports={set:p,clear:f}},function(e,t,o){var r=o(20),n=Math.min;e.exports=function(e){return e>0?n(r(e),0x1fffffffffffff):0}},function(e,t,o){var r=o(9);e.exports=function(e,t){var o,n;if(!r(e))return e;if(t&&"function"==typeof(o=e.toString)&&!r(n=o.call(e))||"function"==typeof(o=e.valueOf)&&!r(n=o.call(e))||!t&&"function"==typeof(o=e.toString)&&!r(n=o.call(e)))return n;throw TypeError("Can't convert object to primitive value")}},function(e,t){var o=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++o+r).toString(36))}},function(e,t,o){"use strict";function r(e){return(0,l.createHash)("sha256").update(e).digest("hex")}function n(e){switch(u){case"darwin":return e.split("IOPlatformUUID")[1].split("\n")[0].replace(/\=|\s+|\"/gi,"").toLowerCase();case"win32":return e.toString().split("REG_SZ")[1].replace(/\r+|\n+|\s+/gi,"").toLowerCase();case"linux":case"freebsd":return e.toString().replace(/\r+|\n+|\s+/gi,"").toLowerCase();default:throw Error("Unsupported platform: "+process.platform)}}Object.defineProperty(t,"__esModule",{value:!0});var i,a=(i=o(35))&&i.__esModule?i:{default:i};t.machineIdSync=function(e){var t=n((0,s.execSync)(c[u]).toString());return e?t:r(t)},t.machineId=function(e){return new a.default(function(t,o){return(0,s.exec)(c[u],{},function(i,a,s){if(i)return o(Error("Error while obtaining machine id: "+i.stack));var l=n(a.toString());return t(e?l:r(l))})})};var s=o(70),l=o(71),u=process.platform,c={darwin:"ioreg -rd1 -c IOPlatformExpertDevice",win32:{native:"%windir%\\System32",mixed:"%windir%\\sysnative\\cmd.exe /c %windir%\\System32"}["win32"!==process.platform?"":"ia32"===process.arch&&process.env.hasOwnProperty("PROCESSOR_ARCHITEW6432")?"mixed":"native"]+"\\REG.exe QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid",linux:"( cat /var/lib/dbus/machine-id /etc/machine-id 2> /dev/null || hostname ) | head -n 1 || :",freebsd:"kenv -q smbios.system.uuid || sysctl -n kern.hostuuid"}},function(e,t,o){e.exports={default:o(36),__esModule:!0}},function(e,t,o){o(66),o(68),o(69),o(67),e.exports=o(6).Promise},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t,o,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(o+": incorrect invocation!");return e}},function(e,t,o){var r=o(13),n=o(31),i=o(62);e.exports=function(e){return function(t,o,a){var s,l=r(t),u=n(l.length),c=i(a,u);if(e&&o!=o){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===o)return e||c||0;return!e&&-1}}},function(e,t,o){var r=o(7),n=o(44),i=o(43),a=o(3),s=o(31),l=o(64),u={},c={},t=e.exports=function(e,t,o,d,p){var f,g,h,m,D=p?function(){return e}:l(e),y=r(o,d,t?2:1),v=0;if("function"!=typeof D)throw TypeError(e+" is not iterable!");if(i(D)){for(f=s(e.length);f>v;v++)if((m=t?y(a(g=e[v])[0],g[1]):y(e[v]))===u||m===c)return m}else for(h=D.call(e);!(g=h.next()).done;)if((m=n(h,y,g.value,t))===u||m===c)return m};t.BREAK=u,t.RETURN=c},function(e,t){e.exports=function(e,t,o){var r=void 0===o;switch(t.length){case 0:return r?e():e.call(o);case 1:return r?e(t[0]):e.call(o,t[0]);case 2:return r?e(t[0],t[1]):e.call(o,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(o,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(o,t[0],t[1],t[2],t[3])}return e.apply(o,t)}},function(e,t,o){var r=o(11);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,o){var r=o(10),n=o(1)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[n]===e)}},function(e,t,o){var r=o(3);e.exports=function(e,t,o,n){try{return n?t(r(o)[0],o[1]):t(o)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,o){"use strict";var r=o(49),n=o(17),i=o(18),a={};o(5)(a,o(1)("iterator"),function(){return this}),e.exports=function(e,t,o){e.prototype=r(a,{next:n(1,o)}),i(e,t+" Iterator")}},function(e,t,o){var r=o(1)("iterator"),n=!1;try{var i=[7][r]();i.return=function(){n=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!n)return!1;var o=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:o=!0}},i[r]=function(){return a},e(i)}catch(e){}return o}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,o){var r=o(2),n=o(30).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==o(11)(a);e.exports=function(){var e,t,o,u=function(){var r,n;for(l&&(r=a.domain)&&r.exit();e;){n=e.fn,e=e.next;try{n()}catch(r){throw e?o():t=void 0,r}}t=void 0,r&&r.enter()};if(l)o=function(){a.nextTick(u)};else if(i){var c=!0,d=document.createTextNode("");new i(u).observe(d,{characterData:!0}),o=function(){d.data=c=!c}}else if(s&&s.resolve){var p=s.resolve();o=function(){p.then(u)}}else o=function(){n.call(r,u)};return function(r){var n={fn:r,next:void 0};t&&(t.next=n),e||(e=n,o()),t=n}}},function(e,t,o){var r=o(3),n=o(50),i=o(22),a=o(19)("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=o(16)("iframe"),r=i.length;for(t.style.display="none",o(25).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u[l][i[r]];return u()};e.exports=Object.create||function(e,t){var o;return null!==e?(s[l]=r(e),o=new s,s[l]=null,o[a]=e):o=u(),void 0===t?o:n(o,t)}},function(e,t,o){var r=o(12),n=o(3),i=o(54);e.exports=o(4)?Object.defineProperties:function(e,t){n(e);for(var o,a=i(t),s=a.length,l=0;s>l;)r.f(e,o=a[l++],t[o]);return e}},function(e,t,o){var r=o(55),n=o(17),i=o(13),a=o(32),s=o(8),l=o(26),u=Object.getOwnPropertyDescriptor;t.f=o(4)?u:function(e,t){if(e=i(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return n(!r.f.call(e,t),e[t])}},function(e,t,o){var r=o(8),n=o(63),i=o(19)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return r(e=n(e),i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,o){var r=o(8),n=o(13),i=o(39)(!1),a=o(19)("IE_PROTO");e.exports=function(e,t){var o,s=n(e),l=0,u=[];for(o in s)o!=a&&r(s,o)&&u.push(o);for(;t.length>l;)r(s,o=t[l++])&&(~i(u,o)||u.push(o));return u}},function(e,t,o){var r=o(53),n=o(22);e.exports=Object.keys||function(e){return r(e,n)}},function(e,t){t.f=({}).propertyIsEnumerable},function(e,t,o){var r=o(5);e.exports=function(e,t,o){for(var n in t)o&&e[n]?e[n]=t[n]:r(e,n,t[n]);return e}},function(e,t,o){e.exports=o(5)},function(e,t,o){var r=o(9),n=o(3),i=function(e,t){if(n(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=o(7)(Function.call,o(51).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,o){return i(e,o),t?e.__proto__=o:r(e,o),e}}({},!1):void 0),check:i}},function(e,t,o){"use strict";var r=o(2),n=o(6),i=o(12),a=o(4),s=o(1)("species");e.exports=function(e){var t="function"==typeof n[e]?n[e]:r[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,o){var r=o(3),n=o(14),i=o(1)("species");e.exports=function(e,t){var o,a=r(e).constructor;return void 0===a||void 0==(o=r(a)[i])?t:n(o)}},function(e,t,o){var r=o(20),n=o(15);e.exports=function(e){return function(t,o){var i,a,s=String(n(t)),l=r(o),u=s.length;return l<0||l>=u?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):(i-55296<<10)+(a-56320)+65536}}},function(e,t,o){var r=o(20),n=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?n(e+t,0):i(e,t)}},function(e,t,o){var r=o(15);e.exports=function(e){return Object(r(e))}},function(e,t,o){var r=o(21),n=o(1)("iterator"),i=o(10);e.exports=o(6).getIteratorMethod=function(e){if(void 0!=e)return e[n]||e["@@iterator"]||i[r(e)]}},function(e,t,o){"use strict";var r=o(37),n=o(47),i=o(10),a=o(13);e.exports=o(27)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,o=this._i++;return!e||o>=e.length?(this._t=void 0,n(1)):"keys"==t?n(0,o):"values"==t?n(0,e[o]):n(0,[o,e[o]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){},function(e,t,o){"use strict";var r,n,i,a=o(28),s=o(2),l=o(7),u=o(21),c=o(23),d=o(9),p=(o(3),o(14)),f=o(38),g=o(40),h=(o(58).set,o(60)),m=o(30).set,D=o(48)(),y="Promise",v=s.TypeError,b=s.process,F=s[y],b=s.process,_="process"==u(b),C=function(){},$=!!function(){try{var e=F.resolve(1),t=(e.constructor={})[o(1)("species")]=function(e){e(C,C)};return(_||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),E=function(e,t){return e===t||e===F&&t===i},w=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},k=function(e){return E(F,e)?new S(e):new n(e)},S=n=function(e){var t,o;this.promise=new e(function(e,r){if(void 0!==t||void 0!==o)throw v("Bad Promise constructor");t=e,o=r}),this.resolve=p(t),this.reject=p(o)},x=function(e){try{e()}catch(e){return{error:e}}},O=function(e,t){if(!e._n){e._n=!0;var o=e._c;D(function(){for(var r=e._v,n=1==e._s,i=0;o.length>i;)!function(t){var o,i,a=n?t.ok:t.fail,s=t.resolve,l=t.reject,u=t.domain;try{a?(n||(2==e._h&&I(e),e._h=1),!0===a?o=r:(u&&u.enter(),o=a(r),u&&u.exit()),o===t.promise?l(v("Promise-chain cycle")):(i=w(o))?i.call(o,s,l):s(o)):l(r)}catch(e){l(e)}}(o[i++]);e._c=[],e._n=!1,t&&!e._h&&A(e)})}},A=function(e){m.call(s,function(){var t,o,r,n=e._v;if(j(e)&&(t=x(function(){_?b.emit("unhandledRejection",n,e):(o=s.onunhandledrejection)?o({promise:e,reason:n}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",n)}),e._h=_||j(e)?2:1),e._a=void 0,t)throw t.error})},j=function(e){if(1==e._h)return!1;for(var t,o=e._a||e._c,r=0;o.length>r;)if((t=o[r++]).fail||!j(t.promise))return!1;return!0},I=function(e){m.call(s,function(){var t;_?b.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})})},B=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),O(t,!0))},N=function(e){var t,o=this;if(!o._d){o._d=!0,o=o._w||o;try{if(o===e)throw v("Promise can't be resolved itself");(t=w(e))?D(function(){var r={_w:o,_d:!1};try{t.call(e,l(N,r,1),l(B,r,1))}catch(e){B.call(r,e)}}):(o._v=e,o._s=1,O(o,!1))}catch(e){B.call({_w:o,_d:!1},e)}}};$||(F=function(e){f(this,F,y,"_h"),p(e),r.call(this);try{e(l(N,this,1),l(B,this,1))}catch(e){B.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=o(56)(F.prototype,{then:function(e,t){var o=k(h(this,F));return o.ok="function"!=typeof e||e,o.fail="function"==typeof t&&t,o.domain=_?b.domain:void 0,this._c.push(o),this._a&&this._a.push(o),this._s&&O(this,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),S=function(){var e=new r;this.promise=e,this.resolve=l(N,e,1),this.reject=l(B,e,1)}),c(c.G+c.W+!$*c.F,{Promise:F}),o(18)(F,y),o(59)(y),i=o(6)[y],c(c.S+!$*c.F,y,{reject:function(e){var t=k(this);return(0,t.reject)(e),t.promise}}),c(c.S+c.F*(a||!$),y,{resolve:function(e){if(e instanceof F&&E(e.constructor,this))return e;var t=k(this);return(0,t.resolve)(e),t.promise}}),c(c.S+!($&&o(46)(function(e){F.all(e).catch(C)}))*c.F,y,{all:function(e){var t=this,o=k(t),r=o.resolve,n=o.reject,i=x(function(){var o=[],i=0,a=1;g(e,!1,function(e){var s=i++,l=!1;o.push(void 0),a++,t.resolve(e).then(function(e){l||(l=!0,o[s]=e,--a||r(o))},n)}),--a||r(o)});return i&&n(i.error),o.promise},race:function(e){var t=this,o=k(t),r=o.reject,n=x(function(){g(e,!1,function(e){t.resolve(e).then(o.resolve,r)})});return n&&r(n.error),o.promise}})},function(e,t,o){"use strict";var r=o(61)(!0);o(27)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,o=this._i;return o>=t.length?{value:void 0,done:!0}:(e=r(t,o),this._i+=e.length,{value:e,done:!1})})},function(e,t,o){o(65);for(var r=o(2),n=o(5),i=o(10),a=o(1)("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],l=0;l<5;l++){var u=s[l],c=r[u],d=c&&c.prototype;d&&!d[a]&&n(d,a,u),i[u]=i.Array}},function(e,t){e.exports=o(35317)},function(e,t){e.exports=o(76982)}];function n(e){if(i[e])return i[e].exports;var t=i[e]={exports:{},id:e,loaded:!1};return r[e].call(t.exports,t,t.exports,n),t.loaded=!0,t.exports}var i={};return n.m=r,n.c=i,n.p="",n(0)}(o(35317),o(76982))},84361(e){e.exports=import("ws").then(function(e){return e})},83440(t){t.exports=e},42613(e){e.exports=o("assert")},20181(e){e.exports=o("buffer")},35317(e){e.exports=o("child_process")},76982(e){e.exports=o("crypto")},24434(e){e.exports=o("events")},79896(e){e.exports=o("fs")},91943(e){e.exports=o("fs/promises")},58611(e){e.exports=o("http")},65692(e){e.exports=o("https")},69278(e){e.exports=o("net")},16698(e){e.exports=o("node:async_hooks")},31421(e){e.exports=o("node:child_process")},77598(e){e.exports=o("node:crypto")},41314(e){e.exports=o("node:dgram")},40610(e){e.exports=o("node:dns")},78474(e){e.exports=o("node:events")},73024(e){e.exports=o("node:fs")},51455(e){e.exports=o("node:fs/promises")},37067(e){e.exports=o("node:http")},44708(e){e.exports=o("node:https")},77030(e){e.exports=o("node:net")},48161(e){e.exports=o("node:os")},76760(e){e.exports=o("node:path")},1708(e){e.exports=o("node:process")},80481(e){e.exports=o("node:readline")},26848(e){e.exports=o("node:readline/promises")},7066(e){e.exports=o("node:tty")},73136(e){e.exports=o("node:url")},57975(e){e.exports=o("node:util")},70857(e){e.exports=o("os")},16928(e){e.exports=o("path")},24876(e){e.exports=o("punycode")},2203(e){e.exports=o("stream")},13193(e){e.exports=o("string_decoder")},64756(e){e.exports=o("tls")},52018(e){e.exports=o("tty")},87016(e){e.exports=o("url")},39023(e){e.exports=o("util")},43106(e){e.exports=o("zlib")},66442(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=Array(t);o<t;o++)r[o]=e[o];return r},e.exports.__esModule=!0,e.exports.default=e.exports},3634(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},99436(e){function t(e,t,o,r,n,i,a){try{var s=e[i](a),l=s.value}catch(e){return void o(e)}s.done?t(l):Promise.resolve(l).then(r,n)}e.exports=function(e){return function(){var o=this,r=arguments;return new Promise(function(n,i){var a=e.apply(o,r);function s(e){t(a,n,i,s,l,"next",e)}function l(e){t(a,n,i,s,l,"throw",e)}s(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports},96525(e){e.exports=function(e,t){var o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,i,a,s=[],l=!0,u=!1;try{if(i=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;l=!1}else for(;!(l=(r=i.call(o)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,n=e}finally{try{if(!l&&null!=o.return&&(a=o.return(),Object(a)!==a))return}finally{if(u)throw n}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},5523(e){e.exports=function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},68832(e,t,o){var r=o(3634),n=o(96525),i=o(78243),a=o(5523);e.exports=function(e,t){return r(e)||n(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},78243(e,t,o){var r=o(66442);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var o=({}).toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},65181(e,t,o){let{Argument:r}=o(41762),{Command:n}=o(18572),{CommanderError:i,InvalidArgumentError:a}=o(43823),{Help:s}=o(99690),{Option:l}=o(92088);t.DM=new n,t.gu=e=>new n(e),t.Ww=(e,t)=>new l(e,t),t.er=(e,t)=>new r(e,t),t.uB=n,t.c$=l,t.ef=r,t._V=s,t.b7=i,t.Di=a,t.a2=a},41762(e,t,o){let{InvalidArgumentError:r}=o(43823);t.Argument=class{constructor(e,t){switch(this.description=t||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,e[0]){case"<":this.required=!0,this._name=e.slice(1,-1);break;case"[":this.required=!1,this._name=e.slice(1,-1);break;default:this.required=!0,this._name=e}this._name.length>3&&"..."===this._name.slice(-3)&&(this.variadic=!0,this._name=this._name.slice(0,-3))}name(){return this._name}_concatValue(e,t){return t!==this.defaultValue&&Array.isArray(t)?t.concat(e):[e]}default(e,t){return this.defaultValue=e,this.defaultValueDescription=t,this}argParser(e){return this.parseArg=e,this}choices(e){return this.argChoices=e.slice(),this.parseArg=(e,t)=>{if(!this.argChoices.includes(e))throw new r(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(e,t):e},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}},t.humanReadableArgName=function(e){let t=e.name()+(!0===e.variadic?"...":"");return e.required?"<"+t+">":"["+t+"]"}},18572(e,t,o){let r=o(78474).EventEmitter,n=o(31421),i=o(76760),a=o(73024),s=o(1708),{Argument:l,humanReadableArgName:u}=o(41762),{CommanderError:c}=o(43823),{Help:d}=o(99690),{Option:p,DualOptions:f}=o(92088),{suggestSimilar:g}=o(86054);class h extends r{constructor(e){super(),this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!0,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=e||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._outputConfiguration={writeOut:e=>s.stdout.write(e),writeErr:e=>s.stderr.write(e),getOutHelpWidth:()=>s.stdout.isTTY?s.stdout.columns:void 0,getErrHelpWidth:()=>s.stderr.isTTY?s.stderr.columns:void 0,outputError:(e,t)=>t(e)},this._hidden=!1,this._helpOption=void 0,this._addImplicitHelpCommand=void 0,this._helpCommand=void 0,this._helpConfiguration={}}copyInheritedSettings(e){return this._outputConfiguration=e._outputConfiguration,this._helpOption=e._helpOption,this._helpCommand=e._helpCommand,this._helpConfiguration=e._helpConfiguration,this._exitCallback=e._exitCallback,this._storeOptionsAsProperties=e._storeOptionsAsProperties,this._combineFlagAndOptionalValue=e._combineFlagAndOptionalValue,this._allowExcessArguments=e._allowExcessArguments,this._enablePositionalOptions=e._enablePositionalOptions,this._showHelpAfterError=e._showHelpAfterError,this._showSuggestionAfterError=e._showSuggestionAfterError,this}_getCommandAndAncestors(){let e=[];for(let t=this;t;t=t.parent)e.push(t);return e}command(e,t,o){let r=t,n=o;"object"==typeof r&&null!==r&&(n=r,r=null),n=n||{};let[,i,a]=e.match(/([^ ]+) *(.*)/),s=this.createCommand(i);return(r&&(s.description(r),s._executableHandler=!0),n.isDefault&&(this._defaultCommandName=s._name),s._hidden=!!(n.noHelp||n.hidden),s._executableFile=n.executableFile||null,a&&s.arguments(a),this._registerCommand(s),s.parent=this,s.copyInheritedSettings(this),r)?this:s}createCommand(e){return new h(e)}createHelp(){return Object.assign(new d,this.configureHelp())}configureHelp(e){return void 0===e?this._helpConfiguration:(this._helpConfiguration=e,this)}configureOutput(e){return void 0===e?this._outputConfiguration:(Object.assign(this._outputConfiguration,e),this)}showHelpAfterError(e=!0){return"string"!=typeof e&&(e=!!e),this._showHelpAfterError=e,this}showSuggestionAfterError(e=!0){return this._showSuggestionAfterError=!!e,this}addCommand(e,t){if(!e._name)throw Error(`Command passed to .addCommand() must have a name
2
- - specify the name in Command constructor or using .name()`);return(t=t||{}).isDefault&&(this._defaultCommandName=e._name),(t.noHelp||t.hidden)&&(e._hidden=!0),this._registerCommand(e),e.parent=this,e._checkForBrokenPassThrough(),this}createArgument(e,t){return new l(e,t)}argument(e,t,o,r){let n=this.createArgument(e,t);return"function"==typeof o?n.default(r).argParser(o):n.default(o),this.addArgument(n),this}arguments(e){return e.trim().split(/ +/).forEach(e=>{this.argument(e)}),this}addArgument(e){let t=this.registeredArguments.slice(-1)[0];if(t&&t.variadic)throw Error(`only the last argument can be variadic '${t.name()}'`);if(e.required&&void 0!==e.defaultValue&&void 0===e.parseArg)throw Error(`a default value for a required argument is never used: '${e.name()}'`);return this.registeredArguments.push(e),this}helpCommand(e,t){if("boolean"==typeof e)return this._addImplicitHelpCommand=e,this;let[,o,r]=(e=e??"help [command]").match(/([^ ]+) *(.*)/),n=t??"display help for command",i=this.createCommand(o);return i.helpOption(!1),r&&i.arguments(r),n&&i.description(n),this._addImplicitHelpCommand=!0,this._helpCommand=i,this}addHelpCommand(e,t){return"object"!=typeof e?this.helpCommand(e,t):(this._addImplicitHelpCommand=!0,this._helpCommand=e),this}_getHelpCommand(){return this._addImplicitHelpCommand??(this.commands.length&&!this._actionHandler&&!this._findCommand("help"))?(void 0===this._helpCommand&&this.helpCommand(void 0,void 0),this._helpCommand):null}hook(e,t){let o=["preSubcommand","preAction","postAction"];if(!o.includes(e))throw Error(`Unexpected value for event passed to hook : '${e}'.
3
- Expecting one of '${o.join("', '")}'`);return this._lifeCycleHooks[e]?this._lifeCycleHooks[e].push(t):this._lifeCycleHooks[e]=[t],this}exitOverride(e){return e?this._exitCallback=e:this._exitCallback=e=>{if("commander.executeSubCommandAsync"!==e.code)throw e},this}_exit(e,t,o){this._exitCallback&&this._exitCallback(new c(e,t,o)),s.exit(e)}action(e){let t=t=>{let o=this.registeredArguments.length,r=t.slice(0,o);return this._storeOptionsAsProperties?r[o]=this:r[o]=this.opts(),r.push(this),e.apply(this,r)};return this._actionHandler=t,this}createOption(e,t){return new p(e,t)}_callParseArg(e,t,o,r){try{return e.parseArg(t,o)}catch(e){if("commander.invalidArgument"===e.code){let t=`${r} ${e.message}`;this.error(t,{exitCode:e.exitCode,code:e.code})}throw e}}_registerOption(e){let t=e.short&&this._findOption(e.short)||e.long&&this._findOption(e.long);if(t){let o=e.long&&this._findOption(e.long)?e.long:e.short;throw Error(`Cannot add option '${e.flags}'${this._name&&` to command '${this._name}'`} due to conflicting flag '${o}'
4
- - already used by option '${t.flags}'`)}this.options.push(e)}_registerCommand(e){let t=e=>[e.name()].concat(e.aliases()),o=t(e).find(e=>this._findCommand(e));if(o){let r=t(this._findCommand(o)).join("|"),n=t(e).join("|");throw Error(`cannot add command '${n}' as already have command '${r}'`)}this.commands.push(e)}addOption(e){this._registerOption(e);let t=e.name(),o=e.attributeName();if(e.negate){let t=e.long.replace(/^--no-/,"--");this._findOption(t)||this.setOptionValueWithSource(o,void 0===e.defaultValue||e.defaultValue,"default")}else void 0!==e.defaultValue&&this.setOptionValueWithSource(o,e.defaultValue,"default");let r=(t,r,n)=>{null==t&&void 0!==e.presetArg&&(t=e.presetArg);let i=this.getOptionValue(o);null!==t&&e.parseArg?t=this._callParseArg(e,t,i,r):null!==t&&e.variadic&&(t=e._concatValue(t,i)),null==t&&(t=!e.negate&&(!!e.isBoolean()||!!e.optional||"")),this.setOptionValueWithSource(o,t,n)};return this.on("option:"+t,t=>{let o=`error: option '${e.flags}' argument '${t}' is invalid.`;r(t,o,"cli")}),e.envVar&&this.on("optionEnv:"+t,t=>{let o=`error: option '${e.flags}' value '${t}' from env '${e.envVar}' is invalid.`;r(t,o,"env")}),this}_optionEx(e,t,o,r,n){if("object"==typeof t&&t instanceof p)throw Error("To add an Option object use addOption() instead of option() or requiredOption()");let i=this.createOption(t,o);if(i.makeOptionMandatory(!!e.mandatory),"function"==typeof r)i.default(n).argParser(r);else if(r instanceof RegExp){let e=r;r=(t,o)=>{let r=e.exec(t);return r?r[0]:o},i.default(n).argParser(r)}else i.default(r);return this.addOption(i)}option(e,t,o,r){return this._optionEx({},e,t,o,r)}requiredOption(e,t,o,r){return this._optionEx({mandatory:!0},e,t,o,r)}combineFlagAndOptionalValue(e=!0){return this._combineFlagAndOptionalValue=!!e,this}allowUnknownOption(e=!0){return this._allowUnknownOption=!!e,this}allowExcessArguments(e=!0){return this._allowExcessArguments=!!e,this}enablePositionalOptions(e=!0){return this._enablePositionalOptions=!!e,this}passThroughOptions(e=!0){return this._passThroughOptions=!!e,this._checkForBrokenPassThrough(),this}_checkForBrokenPassThrough(){if(this.parent&&this._passThroughOptions&&!this.parent._enablePositionalOptions)throw Error(`passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`)}storeOptionsAsProperties(e=!0){if(this.options.length)throw Error("call .storeOptionsAsProperties() before adding options");if(Object.keys(this._optionValues).length)throw Error("call .storeOptionsAsProperties() before setting option values");return this._storeOptionsAsProperties=!!e,this}getOptionValue(e){return this._storeOptionsAsProperties?this[e]:this._optionValues[e]}setOptionValue(e,t){return this.setOptionValueWithSource(e,t,void 0)}setOptionValueWithSource(e,t,o){return this._storeOptionsAsProperties?this[e]=t:this._optionValues[e]=t,this._optionValueSources[e]=o,this}getOptionValueSource(e){return this._optionValueSources[e]}getOptionValueSourceWithGlobals(e){let t;return this._getCommandAndAncestors().forEach(o=>{void 0!==o.getOptionValueSource(e)&&(t=o.getOptionValueSource(e))}),t}_prepareUserArgs(e,t){let o;if(void 0!==e&&!Array.isArray(e))throw Error("first parameter to parse must be array or undefined");if(t=t||{},void 0===e&&void 0===t.from){s.versions?.electron&&(t.from="electron");let e=s.execArgv??[];(e.includes("-e")||e.includes("--eval")||e.includes("-p")||e.includes("--print"))&&(t.from="eval")}switch(void 0===e&&(e=s.argv),this.rawArgs=e.slice(),t.from){case void 0:case"node":this._scriptPath=e[1],o=e.slice(2);break;case"electron":s.defaultApp?(this._scriptPath=e[1],o=e.slice(2)):o=e.slice(1);break;case"user":o=e.slice(0);break;case"eval":o=e.slice(1);break;default:throw Error(`unexpected parse option { from: '${t.from}' }`)}return!this._name&&this._scriptPath&&this.nameFromFilename(this._scriptPath),this._name=this._name||"program",o}parse(e,t){let o=this._prepareUserArgs(e,t);return this._parseCommand([],o),this}async parseAsync(e,t){let o=this._prepareUserArgs(e,t);return await this._parseCommand([],o),this}_executeSubCommand(e,t){let o;t=t.slice();let r=!1,l=[".js",".ts",".tsx",".mjs",".cjs"];function u(e,t){let o=i.resolve(e,t);if(a.existsSync(o))return o;if(l.includes(i.extname(t)))return;let r=l.find(e=>a.existsSync(`${o}${e}`));if(r)return`${o}${r}`}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let d=e._executableFile||`${this._name}-${e._name}`,p=this._executableDir||"";if(this._scriptPath){let e;try{e=a.realpathSync(this._scriptPath)}catch(t){e=this._scriptPath}p=i.resolve(i.dirname(e),p)}if(p){let t=u(p,d);if(!t&&!e._executableFile&&this._scriptPath){let o=i.basename(this._scriptPath,i.extname(this._scriptPath));o!==this._name&&(t=u(p,`${o}-${e._name}`))}d=t||d}r=l.includes(i.extname(d)),"win32"!==s.platform?r?(t.unshift(d),t=m(s.execArgv).concat(t),o=n.spawn(s.argv[0],t,{stdio:"inherit"})):o=n.spawn(d,t,{stdio:"inherit"}):(t.unshift(d),t=m(s.execArgv).concat(t),o=n.spawn(s.execPath,t,{stdio:"inherit"})),o.killed||["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach(e=>{s.on(e,()=>{!1===o.killed&&null===o.exitCode&&o.kill(e)})});let f=this._exitCallback;o.on("close",e=>{e=e??1,f?f(new c(e,"commander.executeSubCommandAsync","(close)")):s.exit(e)}),o.on("error",t=>{if("ENOENT"===t.code){let t=p?`searched for local subcommand relative to directory '${p}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory";throw Error(`'${d}' does not exist
1
+ import*as e from"conf";import{createRequire as a}from"node:module";let t=a(import.meta.url);var p,o,i,d,r,n,l,s,u,m,c,f={68089(e,a,t){var p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};let o=t(24434),i=p(t(3680)),d=p(t(9873)),r=i.default("agent-base");function n(){let{stack:e}=Error();return"string"==typeof e&&e.split("\n").some(e=>-1!==e.indexOf("(https.js:")||-1!==e.indexOf("node:https:"))}function l(e,a){return new l.Agent(e,a)}var s=l||(l={});class u extends o.EventEmitter{constructor(e,a){super();let t=a;"function"==typeof e?this.callback=e:e&&(t=e),this.timeout=null,t&&"number"==typeof t.timeout&&(this.timeout=t.timeout),this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){return"number"==typeof this.explicitDefaultPort?this.explicitDefaultPort:n()?443:80}set defaultPort(e){this.explicitDefaultPort=e}get protocol(){return"string"==typeof this.explicitProtocol?this.explicitProtocol:n()?"https:":"http:"}set protocol(e){this.explicitProtocol=e}callback(e,a,t){throw Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(e,a){let t=Object.assign({},a);"boolean"!=typeof t.secureEndpoint&&(t.secureEndpoint=n()),null==t.host&&(t.host="localhost"),null==t.port&&(t.port=t.secureEndpoint?443:80),null==t.protocol&&(t.protocol=t.secureEndpoint?"https:":"http:"),t.host&&t.path&&delete t.path,delete t.agent,delete t.hostname,delete t._defaultAgent,delete t.defaultPort,delete t.createConnection,e._last=!0,e.shouldKeepAlive=!1;let p=!1,o=null,i=t.timeout||this.timeout,l=a=>{e._hadError||(e.emit("error",a),e._hadError=!0)},s=e=>{p||(null!==o&&(clearTimeout(o),o=null),l(e))},u=a=>{if(!p){if(null!=o&&(clearTimeout(o),o=null),a&&"function"==typeof a.addRequest){r("Callback returned another Agent instance %o",a.constructor.name),a.addRequest(e,t);return}if(a){a.once("free",()=>{this.freeSocket(a,t)}),e.onSocket(a);return}l(Error(`no Duplex stream was returned to agent-base for \`${e.method} ${e.path}\``))}};if("function"!=typeof this.callback)return void l(Error("`callback` is not defined"));this.promisifiedCallback||(this.callback.length>=3?(r("Converting legacy callback function to promise"),this.promisifiedCallback=d.default(this.callback)):this.promisifiedCallback=this.callback),"number"==typeof i&&i>0&&(o=setTimeout(()=>{o=null,p=!0;let e=Error(`A "socket" was not created for HTTP request before ${i}ms`);e.code="ETIMEOUT",l(e)},i)),"port"in t&&"number"!=typeof t.port&&(t.port=Number(t.port));try{r("Resolving socket for %o request: %o",t.protocol,`${e.method} ${e.path}`),Promise.resolve(this.promisifiedCallback(e,t)).then(u,s)}catch(e){Promise.reject(e).catch(s)}}freeSocket(e,a){r("Freeing socket %o %o",e.constructor.name,a),e.destroy()}destroy(){r("Destroying agent %o",this.constructor.name)}}s.Agent=u,s.prototype=s.Agent.prototype,e.exports=l},9873(e,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e){return function(a,t){return new Promise((p,o)=>{e.call(this,a,t,(e,a)=>{e?o(e):p(a)})})}}},47661(e,a,t){let p=Object.assign({},t(3900)),o=Object.keys(p);Object.defineProperty(p,"random",{get(){let e=Math.floor(Math.random()*o.length);return p[o[e]]}}),e.exports=p},20124(e,a,t){let p;a.formatArgs=function(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;a.splice(1,0,t,"color: inherit");let p=0,o=0;a[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(p++,"%c"===e&&(o=p))}),a.splice(o,0,t)},a.save=function(e){try{e?a.storage.setItem("debug",e):a.storage.removeItem("debug")}catch(e){}},a.load=function(){let e;try{e=a.storage.getItem("debug")||a.storage.getItem("DEBUG")}catch(e){}return!e&&"u">typeof process&&"env"in process&&(e=process.env.DEBUG),e},a.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},a.storage=function(){try{return localStorage}catch(e){}}(),p=!1,a.destroy=()=>{p||(p=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},a.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],a.log=console.debug||console.log||(()=>{}),e.exports=t(27891)(a);let{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},27891(e,a,t){e.exports=function(e){function a(e){let t,o,i,d=null;function r(...e){if(!r.enabled)return;let p=Number(new Date);r.diff=p-(t||p),r.prev=t,r.curr=p,t=p,e[0]=a.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,p)=>{if("%%"===t)return"%";o++;let i=a.formatters[p];if("function"==typeof i){let a=e[o];t=i.call(r,a),e.splice(o,1),o--}return t}),a.formatArgs.call(r,e),(r.log||a.log).apply(r,e)}return r.namespace=e,r.useColors=a.useColors(),r.color=a.selectColor(e),r.extend=p,r.destroy=a.destroy,Object.defineProperty(r,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==d?d:(o!==a.namespaces&&(o=a.namespaces,i=a.enabled(e)),i),set:e=>{d=e}}),"function"==typeof a.init&&a.init(r),r}function p(e,t){let p=a(this.namespace+(void 0===t?":":t)+e);return p.log=this.log,p}function o(e,a){let t=0,p=0,o=-1,i=0;for(;t<e.length;)if(p<a.length&&(a[p]===e[t]||"*"===a[p]))"*"===a[p]?(o=p,i=t):t++,p++;else{if(-1===o)return!1;p=o+1,t=++i}for(;p<a.length&&"*"===a[p];)p++;return p===a.length}return a.debug=a,a.default=a,a.coerce=function(e){return e instanceof Error?e.stack||e.message:e},a.disable=function(){let e=[...a.names,...a.skips.map(e=>"-"+e)].join(",");return a.enable(""),e},a.enable=function(e){for(let t of(a.save(e),a.namespaces=e,a.names=[],a.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===t[0]?a.skips.push(t.slice(1)):a.names.push(t)},a.enabled=function(e){for(let t of a.skips)if(o(e,t))return!1;for(let t of a.names)if(o(e,t))return!0;return!1},a.humanize=t(27250),a.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(t=>{a[t]=e[t]}),a.names=[],a.skips=[],a.formatters={},a.selectColor=function(e){let t=0;for(let a=0;a<e.length;a++)t=(t<<5)-t+e.charCodeAt(a)|0;return a.colors[Math.abs(t)%a.colors.length]},a.enable(a.load()),a}},3680(e,a,t){"u"<typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=t(20124):e.exports=t(85038)},85038(e,a,t){let p=t(52018),o=t(39023);a.init=function(e){e.inspectOpts={};let t=Object.keys(a.inspectOpts);for(let p=0;p<t.length;p++)e.inspectOpts[t[p]]=a.inspectOpts[t[p]]},a.log=function(...e){return process.stderr.write(o.formatWithOptions(a.inspectOpts,...e)+"\n")},a.formatArgs=function(t){let{namespace:p,useColors:o}=this;if(o){let a=this.color,o="\x1b[3"+(a<8?a:"8;5;"+a),i=` ${o};1m${p} \u001B[0m`;t[0]=i+t[0].split("\n").join("\n"+i),t.push(o+"m+"+e.exports.humanize(this.diff)+"\x1b[0m")}else t[0]=(a.inspectOpts.hideDate?"":new Date().toISOString()+" ")+p+" "+t[0]},a.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},a.load=function(){return process.env.DEBUG},a.useColors=function(){return"colors"in a.inspectOpts?!!a.inspectOpts.colors:p.isatty(process.stderr.fd)},a.destroy=o.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),a.colors=[6,2,3,4,5,1];try{let e=t(35600);e&&(e.stderr||e).level>=2&&(a.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}a.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,a)=>{let t=a.substring(6).toLowerCase().replace(/_([a-z])/g,(e,a)=>a.toUpperCase()),p=process.env[a];return p=!!/^(yes|on|true|enabled)$/i.test(p)||!/^(no|off|false|disabled)$/i.test(p)&&("null"===p?null:Number(p)),e[t]=p,e},{}),e.exports=t(27891)(a);let{formatters:i}=e.exports;i.o=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},i.O=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts)}},56071(e){e.exports=(e,a=process.argv)=>{let t=e.startsWith("-")?"":1===e.length?"-":"--",p=a.indexOf(t+e),o=a.indexOf("--");return -1!==p&&(-1===o||p<o)}},35646(e,a,t){var p=this&&this.__awaiter||function(e,a,t,p){return new(t||(t=Promise))(function(o,i){function d(e){try{n(p.next(e))}catch(e){i(e)}}function r(e){try{n(p.throw(e))}catch(e){i(e)}}function n(e){var a;e.done?o(e.value):((a=e.value)instanceof t?a:new t(function(e){e(a)})).then(d,r)}n((p=p.apply(e,a||[])).next())})},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0});let i=o(t(69278)),d=o(t(64756)),r=o(t(87016)),n=o(t(42613)),l=o(t(3680)),s=t(68089),u=o(t(36981)),m=l.default("https-proxy-agent:agent");class c extends s.Agent{constructor(e){var a;let t;if(!(t="string"==typeof e?r.default.parse(e):e))throw Error("an HTTP(S) proxy server `host` and `port` must be specified!");m("creating new HttpsProxyAgent instance: %o",t),super(t);let p=Object.assign({},t);this.secureProxy=t.secureProxy||"string"==typeof(a=p.protocol)&&/^https:?$/i.test(a),p.host=p.hostname||p.host,"string"==typeof p.port&&(p.port=parseInt(p.port,10)),!p.port&&p.host&&(p.port=this.secureProxy?443:80),!this.secureProxy||"ALPNProtocols"in p||(p.ALPNProtocols=["http 1.1"]),p.host&&p.path&&(delete p.path,delete p.pathname),this.proxy=p}callback(e,a){return p(this,void 0,void 0,function*(){var t,p;let o,{proxy:r,secureProxy:l}=this;l?(m("Creating `tls.Socket`: %o",r),o=d.default.connect(r)):(m("Creating `net.Socket`: %o",r),o=i.default.connect(r));let s=Object.assign({},r.headers),c=`${a.host}:${a.port}`,h=`CONNECT ${c} HTTP/1.1\r
2
+ `;r.auth&&(s["Proxy-Authorization"]=`Basic ${Buffer.from(r.auth).toString("base64")}`);let{host:v,port:g,secureEndpoint:D}=a;for(let e of(t=g,((p=D)||80!==t)&&(!p||443!==t)&&(v+=`:${g}`),s.Host=v,s.Connection="close",Object.keys(s)))h+=`${e}: ${s[e]}\r
3
+ `;let y=u.default(o);o.write(`${h}\r
4
+ `);let{statusCode:w,buffered:b}=yield y;if(200===w){if(e.once("socket",f),a.secureEndpoint){m("Upgrading socket connection to TLS");let e=a.servername||a.host;return d.default.connect(Object.assign(Object.assign({},function(e,...a){let t,p={};for(t in e)a.includes(t)||(p[t]=e[t]);return p}(a,"host","hostname","path","port")),{socket:o,servername:e}))}return o}o.destroy();let _=new i.default.Socket({writable:!1});return _.readable=!0,e.once("socket",e=>{m("replaying proxy buffer for failed request"),n.default(e.listenerCount("data")>0),e.push(b),e.push(null)}),_})}}function f(e){e.resume()}a.default=c},64007(e,a,t){var p;let o=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(t(35646));function i(e){return new o.default(e)}(p=i||(i={})).HttpsProxyAgent=o.default,p.prototype=o.default.prototype,e.exports=i},36981(e,a,t){var p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0});let o=p(t(3680)).default("https-proxy-agent:parse-proxy-response");a.default=function(e){return new Promise((a,t)=>{let p=0,i=[];function d(){let t=e.read();t?function(e){i.push(e),p+=e.length;let t=Buffer.concat(i,p);if(-1===t.indexOf("\r\n\r\n")){o("have not received end of HTTP headers yet..."),d();return}let r=t.toString("ascii",0,t.indexOf("\r\n")),n=+r.split(" ")[1];o("got proxy server response: %o",r),a({statusCode:n,buffered:t})}(t):e.once("readable",d)}function r(e){o("onclose had error %o",e)}function n(){o("onend")}e.on("error",function a(p){e.removeListener("end",n),e.removeListener("error",a),e.removeListener("close",r),e.removeListener("readable",d),o("onerror %o",p),t(p)}),e.on("close",r),e.on("end",n),d()})}},27250(e){function a(e,a,t,p){return Math.round(e/t)+" "+p+(a>=1.5*t?"s":"")}e.exports=function(e,t){t=t||{};var p,o,i,d,r=typeof e;if("string"===r&&e.length>0){var n=e;if(!((n=String(n)).length>100)){var l=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(n);if(l){var s=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return 864e5*s;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*s;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*s;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:break}}}return}if("number"===r&&isFinite(e)){return t.long?(o=Math.abs(p=e))>=864e5?a(p,o,864e5,"day"):o>=36e5?a(p,o,36e5,"hour"):o>=6e4?a(p,o,6e4,"minute"):o>=1e3?a(p,o,1e3,"second"):p+" ms":(d=Math.abs(i=e))>=864e5?Math.round(i/864e5)+"d":d>=36e5?Math.round(i/36e5)+"h":d>=6e4?Math.round(i/6e4)+"m":d>=1e3?Math.round(i/1e3)+"s":i+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},27549(e,a,t){e.exports=function(e,a){var p=[function(e,a,t){e.exports=t(34)},function(e,a,t){var p=t(29)("wks"),o=t(33),i=t(2).Symbol,d="function"==typeof i;(e.exports=function(e){return p[e]||(p[e]=d&&i[e]||(d?i:o)("Symbol."+e))}).store=p},function(e,a){var t=e.exports="u">typeof window&&window.Math==Math?window:"u">typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(e,a,t){var p=t(9);e.exports=function(e){if(!p(e))throw TypeError(e+" is not an object!");return e}},function(e,a,t){e.exports=!t(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,a,t){var p=t(12),o=t(17);e.exports=t(4)?function(e,a,t){return p.f(e,a,o(1,t))}:function(e,a,t){return e[a]=t,e}},function(e,a){var t=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=t)},function(e,a,t){var p=t(14);e.exports=function(e,a,t){if(p(e),void 0===a)return e;switch(t){case 1:return function(t){return e.call(a,t)};case 2:return function(t,p){return e.call(a,t,p)};case 3:return function(t,p,o){return e.call(a,t,p,o)}}return function(){return e.apply(a,arguments)}}},function(e,a){var t={}.hasOwnProperty;e.exports=function(e,a){return t.call(e,a)}},function(e,a){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,a){e.exports={}},function(e,a){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},function(e,a,t){var p=t(3),o=t(26),i=t(32),d=Object.defineProperty;a.f=t(4)?Object.defineProperty:function(e,a,t){if(p(e),a=i(a,!0),p(t),o)try{return d(e,a,t)}catch(e){}if("get"in t||"set"in t)throw TypeError("Accessors not supported!");return"value"in t&&(e[a]=t.value),e}},function(e,a,t){var p=t(42),o=t(15);e.exports=function(e){return p(o(e))}},function(e,a){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,a){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,a,t){var p=t(9),o=t(2).document,i=p(o)&&p(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,a){e.exports=function(e,a){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:a}}},function(e,a,t){var p=t(12).f,o=t(8),i=t(1)("toStringTag");e.exports=function(e,a,t){e&&!o(e=t?e:e.prototype,i)&&p(e,i,{configurable:!0,value:a})}},function(e,a,t){var p=t(29)("keys"),o=t(33);e.exports=function(e){return p[e]||(p[e]=o(e))}},function(e,a){var t=Math.ceil,p=Math.floor;e.exports=function(e){return isNaN(e*=1)?0:(e>0?p:t)(e)}},function(e,a,t){var p=t(11),o=t(1)("toStringTag"),i="Arguments"==p(function(){return arguments}()),d=function(e,a){try{return e[a]}catch(e){}};e.exports=function(e){var a,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=d(a=Object(e),o))?t:i?p(a):"Object"==(r=p(a))&&"function"==typeof a.callee?"Arguments":r}},function(e,a){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,a,t){var p=t(2),o=t(6),i=t(7),d=t(5),r="prototype",n=function(e,a,t){var l,s,u,m=e&n.F,c=e&n.G,f=e&n.S,h=e&n.P,v=e&n.B,g=e&n.W,D=c?o:o[a]||(o[a]={}),y=D[r],w=c?p:f?p[a]:(p[a]||{})[r];for(l in c&&(t=a),t)(s=!m&&w&&void 0!==w[l])&&l in D||(u=s?w[l]:t[l],D[l]=c&&"function"!=typeof w[l]?t[l]:v&&s?i(u,p):g&&w[l]==u?function(e){var a=function(a,t,p){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(a);case 2:return new e(a,t)}return new e(a,t,p)}return e.apply(this,arguments)};return a[r]=e[r],a}(u):h&&"function"==typeof u?i(Function.call,u):u,h&&((D.virtual||(D.virtual={}))[l]=u,e&n.R&&y&&!y[l]&&d(y,l,u)))};n.F=1,n.G=2,n.S=4,n.P=8,n.B=16,n.W=32,n.U=64,n.R=128,e.exports=n},function(e,a){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,a,t){e.exports=t(2).document&&document.documentElement},function(e,a,t){e.exports=!t(4)&&!t(24)(function(){return 7!=Object.defineProperty(t(16)("div"),"a",{get:function(){return 7}}).a})},function(e,a,t){"use strict";var p=t(28),o=t(23),i=t(57),d=t(5),r=t(8),n=t(10),l=t(45),s=t(18),u=t(52),m=t(1)("iterator"),c=!([].keys&&"next"in[].keys()),f="keys",h="values",v=function(){return this};e.exports=function(e,a,t,g,D,y,w){l(t,a,g);var b,_,C,F=function(e){if(!c&&e in A)return A[e];switch(e){case f:case h:return function(){return new t(this,e)}}return function(){return new t(this,e)}},S=a+" Iterator",E=D==h,k=!1,A=e.prototype,N=A[m]||A["@@iterator"]||D&&A[D],$=N||F(D),O=D?E?F("entries"):$:void 0,x="Array"==a&&A.entries||N;if(x&&(C=u(x.call(new e)))!==Object.prototype&&(s(C,S,!0),p||r(C,m)||d(C,m,v)),E&&N&&N.name!==h&&(k=!0,$=function(){return N.call(this)}),(!p||w)&&(c||k||!A[m])&&d(A,m,$),n[a]=$,n[S]=v,D)if(b={values:E?$:F(h),keys:y?$:F(f),entries:O},w)for(_ in b)_ in A||i(A,_,b[_]);else o(o.P+o.F*(c||k),a,b);return b}},function(e,a){e.exports=!0},function(e,a,t){var p=t(2),o="__core-js_shared__",i=p[o]||(p[o]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,a,t){var p,o,i,d=t(7),r=t(41),n=t(25),l=t(16),s=t(2),u=s.process,m=s.setImmediate,c=s.clearImmediate,f=s.MessageChannel,h=0,v={},g="onreadystatechange",D=function(){var e=+this;if(v.hasOwnProperty(e)){var a=v[e];delete v[e],a()}},y=function(e){D.call(e.data)};m&&c||(m=function(e){for(var a=[],t=1;arguments.length>t;)a.push(arguments[t++]);return v[++h]=function(){r("function"==typeof e?e:Function(e),a)},p(h),h},c=function(e){delete v[e]},"process"==t(11)(u)?p=function(e){u.nextTick(d(D,e,1))}:f?(i=(o=new f).port2,o.port1.onmessage=y,p=d(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(p=function(e){s.postMessage(e+"","*")},s.addEventListener("message",y,!1)):p=g in l("script")?function(e){n.appendChild(l("script"))[g]=function(){n.removeChild(this),D.call(e)}}:function(e){setTimeout(d(D,e,1),0)}),e.exports={set:m,clear:c}},function(e,a,t){var p=t(20),o=Math.min;e.exports=function(e){return e>0?o(p(e),0x1fffffffffffff):0}},function(e,a,t){var p=t(9);e.exports=function(e,a){var t,o;if(!p(e))return e;if(a&&"function"==typeof(t=e.toString)&&!p(o=t.call(e))||"function"==typeof(t=e.valueOf)&&!p(o=t.call(e))||!a&&"function"==typeof(t=e.toString)&&!p(o=t.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,a){var t=0,p=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+p).toString(36))}},function(e,a,t){"use strict";function p(e){return(0,n.createHash)("sha256").update(e).digest("hex")}function o(e){switch(l){case"darwin":return e.split("IOPlatformUUID")[1].split("\n")[0].replace(/\=|\s+|\"/gi,"").toLowerCase();case"win32":return e.toString().split("REG_SZ")[1].replace(/\r+|\n+|\s+/gi,"").toLowerCase();case"linux":case"freebsd":return e.toString().replace(/\r+|\n+|\s+/gi,"").toLowerCase();default:throw Error("Unsupported platform: "+process.platform)}}Object.defineProperty(a,"__esModule",{value:!0});var i,d=(i=t(35))&&i.__esModule?i:{default:i};a.machineIdSync=function(e){var a=o((0,r.execSync)(s[l]).toString());return e?a:p(a)},a.machineId=function(e){return new d.default(function(a,t){return(0,r.exec)(s[l],{},function(i,d,r){if(i)return t(Error("Error while obtaining machine id: "+i.stack));var n=o(d.toString());return a(e?n:p(n))})})};var r=t(70),n=t(71),l=process.platform,s={darwin:"ioreg -rd1 -c IOPlatformExpertDevice",win32:{native:"%windir%\\System32",mixed:"%windir%\\sysnative\\cmd.exe /c %windir%\\System32"}["win32"!==process.platform?"":"ia32"===process.arch&&process.env.hasOwnProperty("PROCESSOR_ARCHITEW6432")?"mixed":"native"]+"\\REG.exe QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid",linux:"( cat /var/lib/dbus/machine-id /etc/machine-id 2> /dev/null || hostname ) | head -n 1 || :",freebsd:"kenv -q smbios.system.uuid || sysctl -n kern.hostuuid"}},function(e,a,t){e.exports={default:t(36),__esModule:!0}},function(e,a,t){t(66),t(68),t(69),t(67),e.exports=t(6).Promise},function(e,a){e.exports=function(){}},function(e,a){e.exports=function(e,a,t,p){if(!(e instanceof a)||void 0!==p&&p in e)throw TypeError(t+": incorrect invocation!");return e}},function(e,a,t){var p=t(13),o=t(31),i=t(62);e.exports=function(e){return function(a,t,d){var r,n=p(a),l=o(n.length),s=i(d,l);if(e&&t!=t){for(;l>s;)if((r=n[s++])!=r)return!0}else for(;l>s;s++)if((e||s in n)&&n[s]===t)return e||s||0;return!e&&-1}}},function(e,a,t){var p=t(7),o=t(44),i=t(43),d=t(3),r=t(31),n=t(64),l={},s={},a=e.exports=function(e,a,t,u,m){var c,f,h,v,g=m?function(){return e}:n(e),D=p(t,u,a?2:1),y=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(i(g)){for(c=r(e.length);c>y;y++)if((v=a?D(d(f=e[y])[0],f[1]):D(e[y]))===l||v===s)return v}else for(h=g.call(e);!(f=h.next()).done;)if((v=o(h,D,f.value,a))===l||v===s)return v};a.BREAK=l,a.RETURN=s},function(e,a){e.exports=function(e,a,t){var p=void 0===t;switch(a.length){case 0:return p?e():e.call(t);case 1:return p?e(a[0]):e.call(t,a[0]);case 2:return p?e(a[0],a[1]):e.call(t,a[0],a[1]);case 3:return p?e(a[0],a[1],a[2]):e.call(t,a[0],a[1],a[2]);case 4:return p?e(a[0],a[1],a[2],a[3]):e.call(t,a[0],a[1],a[2],a[3])}return e.apply(t,a)}},function(e,a,t){var p=t(11);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==p(e)?e.split(""):Object(e)}},function(e,a,t){var p=t(10),o=t(1)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(p.Array===e||i[o]===e)}},function(e,a,t){var p=t(3);e.exports=function(e,a,t,o){try{return o?a(p(t)[0],t[1]):a(t)}catch(a){var i=e.return;throw void 0!==i&&p(i.call(e)),a}}},function(e,a,t){"use strict";var p=t(49),o=t(17),i=t(18),d={};t(5)(d,t(1)("iterator"),function(){return this}),e.exports=function(e,a,t){e.prototype=p(d,{next:o(1,t)}),i(e,a+" Iterator")}},function(e,a,t){var p=t(1)("iterator"),o=!1;try{var i=[7][p]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,a){if(!a&&!o)return!1;var t=!1;try{var i=[7],d=i[p]();d.next=function(){return{done:t=!0}},i[p]=function(){return d},e(i)}catch(e){}return t}},function(e,a){e.exports=function(e,a){return{value:a,done:!!e}}},function(e,a,t){var p=t(2),o=t(30).set,i=p.MutationObserver||p.WebKitMutationObserver,d=p.process,r=p.Promise,n="process"==t(11)(d);e.exports=function(){var e,a,t,l=function(){var p,o;for(n&&(p=d.domain)&&p.exit();e;){o=e.fn,e=e.next;try{o()}catch(p){throw e?t():a=void 0,p}}a=void 0,p&&p.enter()};if(n)t=function(){d.nextTick(l)};else if(i){var s=!0,u=document.createTextNode("");new i(l).observe(u,{characterData:!0}),t=function(){u.data=s=!s}}else if(r&&r.resolve){var m=r.resolve();t=function(){m.then(l)}}else t=function(){o.call(p,l)};return function(p){var o={fn:p,next:void 0};a&&(a.next=o),e||(e=o,t()),a=o}}},function(e,a,t){var p=t(3),o=t(50),i=t(22),d=t(19)("IE_PROTO"),r=function(){},n="prototype",l=function(){var e,a=t(16)("iframe"),p=i.length;for(a.style.display="none",t(25).appendChild(a),a.src="javascript:",(e=a.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;p--;)delete l[n][i[p]];return l()};e.exports=Object.create||function(e,a){var t;return null!==e?(r[n]=p(e),t=new r,r[n]=null,t[d]=e):t=l(),void 0===a?t:o(t,a)}},function(e,a,t){var p=t(12),o=t(3),i=t(54);e.exports=t(4)?Object.defineProperties:function(e,a){o(e);for(var t,d=i(a),r=d.length,n=0;r>n;)p.f(e,t=d[n++],a[t]);return e}},function(e,a,t){var p=t(55),o=t(17),i=t(13),d=t(32),r=t(8),n=t(26),l=Object.getOwnPropertyDescriptor;a.f=t(4)?l:function(e,a){if(e=i(e),a=d(a,!0),n)try{return l(e,a)}catch(e){}if(r(e,a))return o(!p.f.call(e,a),e[a])}},function(e,a,t){var p=t(8),o=t(63),i=t(19)("IE_PROTO"),d=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return p(e=o(e),i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?d:null}},function(e,a,t){var p=t(8),o=t(13),i=t(39)(!1),d=t(19)("IE_PROTO");e.exports=function(e,a){var t,r=o(e),n=0,l=[];for(t in r)t!=d&&p(r,t)&&l.push(t);for(;a.length>n;)p(r,t=a[n++])&&(~i(l,t)||l.push(t));return l}},function(e,a,t){var p=t(53),o=t(22);e.exports=Object.keys||function(e){return p(e,o)}},function(e,a){a.f=({}).propertyIsEnumerable},function(e,a,t){var p=t(5);e.exports=function(e,a,t){for(var o in a)t&&e[o]?e[o]=a[o]:p(e,o,a[o]);return e}},function(e,a,t){e.exports=t(5)},function(e,a,t){var p=t(9),o=t(3),i=function(e,a){if(o(e),!p(a)&&null!==a)throw TypeError(a+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,a,p){try{(p=t(7)(Function.call,t(51).f(Object.prototype,"__proto__").set,2))(e,[]),a=!(e instanceof Array)}catch(e){a=!0}return function(e,t){return i(e,t),a?e.__proto__=t:p(e,t),e}}({},!1):void 0),check:i}},function(e,a,t){"use strict";var p=t(2),o=t(6),i=t(12),d=t(4),r=t(1)("species");e.exports=function(e){var a="function"==typeof o[e]?o[e]:p[e];d&&a&&!a[r]&&i.f(a,r,{configurable:!0,get:function(){return this}})}},function(e,a,t){var p=t(3),o=t(14),i=t(1)("species");e.exports=function(e,a){var t,d=p(e).constructor;return void 0===d||void 0==(t=p(d)[i])?a:o(t)}},function(e,a,t){var p=t(20),o=t(15);e.exports=function(e){return function(a,t){var i,d,r=String(o(a)),n=p(t),l=r.length;return n<0||n>=l?e?"":void 0:(i=r.charCodeAt(n))<55296||i>56319||n+1===l||(d=r.charCodeAt(n+1))<56320||d>57343?e?r.charAt(n):i:e?r.slice(n,n+2):(i-55296<<10)+(d-56320)+65536}}},function(e,a,t){var p=t(20),o=Math.max,i=Math.min;e.exports=function(e,a){return(e=p(e))<0?o(e+a,0):i(e,a)}},function(e,a,t){var p=t(15);e.exports=function(e){return Object(p(e))}},function(e,a,t){var p=t(21),o=t(1)("iterator"),i=t(10);e.exports=t(6).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[p(e)]}},function(e,a,t){"use strict";var p=t(37),o=t(47),i=t(10),d=t(13);e.exports=t(27)(Array,"Array",function(e,a){this._t=d(e),this._i=0,this._k=a},function(){var e=this._t,a=this._k,t=this._i++;return!e||t>=e.length?(this._t=void 0,o(1)):"keys"==a?o(0,t):"values"==a?o(0,e[t]):o(0,[t,e[t]])},"values"),i.Arguments=i.Array,p("keys"),p("values"),p("entries")},function(e,a){},function(e,a,t){"use strict";var p,o,i,d=t(28),r=t(2),n=t(7),l=t(21),s=t(23),u=t(9),m=(t(3),t(14)),c=t(38),f=t(40),h=(t(58).set,t(60)),v=t(30).set,g=t(48)(),D="Promise",y=r.TypeError,w=r.process,b=r[D],w=r.process,_="process"==l(w),C=function(){},F=!!function(){try{var e=b.resolve(1),a=(e.constructor={})[t(1)("species")]=function(e){e(C,C)};return(_||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof a}catch(e){}}(),S=function(e,a){return e===a||e===b&&a===i},E=function(e){var a;return!(!u(e)||"function"!=typeof(a=e.then))&&a},k=function(e){return S(b,e)?new A(e):new o(e)},A=o=function(e){var a,t;this.promise=new e(function(e,p){if(void 0!==a||void 0!==t)throw y("Bad Promise constructor");a=e,t=p}),this.resolve=m(a),this.reject=m(t)},N=function(e){try{e()}catch(e){return{error:e}}},$=function(e,a){if(!e._n){e._n=!0;var t=e._c;g(function(){for(var p=e._v,o=1==e._s,i=0;t.length>i;)!function(a){var t,i,d=o?a.ok:a.fail,r=a.resolve,n=a.reject,l=a.domain;try{d?(o||(2==e._h&&T(e),e._h=1),!0===d?t=p:(l&&l.enter(),t=d(p),l&&l.exit()),t===a.promise?n(y("Promise-chain cycle")):(i=E(t))?i.call(t,r,n):r(t)):n(p)}catch(e){n(e)}}(t[i++]);e._c=[],e._n=!1,a&&!e._h&&O(e)})}},O=function(e){v.call(r,function(){var a,t,p,o=e._v;if(x(e)&&(a=N(function(){_?w.emit("unhandledRejection",o,e):(t=r.onunhandledrejection)?t({promise:e,reason:o}):(p=r.console)&&p.error&&p.error("Unhandled promise rejection",o)}),e._h=_||x(e)?2:1),e._a=void 0,a)throw a.error})},x=function(e){if(1==e._h)return!1;for(var a,t=e._a||e._c,p=0;t.length>p;)if((a=t[p++]).fail||!x(a.promise))return!1;return!0},T=function(e){v.call(r,function(){var a;_?w.emit("rejectionHandled",e):(a=r.onrejectionhandled)&&a({promise:e,reason:e._v})})},B=function(e){var a=this;a._d||(a._d=!0,(a=a._w||a)._v=e,a._s=2,a._a||(a._a=a._c.slice()),$(a,!0))},I=function(e){var a,t=this;if(!t._d){t._d=!0,t=t._w||t;try{if(t===e)throw y("Promise can't be resolved itself");(a=E(e))?g(function(){var p={_w:t,_d:!1};try{a.call(e,n(I,p,1),n(B,p,1))}catch(e){B.call(p,e)}}):(t._v=e,t._s=1,$(t,!1))}catch(e){B.call({_w:t,_d:!1},e)}}};F||(b=function(e){c(this,b,D,"_h"),m(e),p.call(this);try{e(n(I,this,1),n(B,this,1))}catch(e){B.call(this,e)}},(p=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=t(56)(b.prototype,{then:function(e,a){var t=k(h(this,b));return t.ok="function"!=typeof e||e,t.fail="function"==typeof a&&a,t.domain=_?w.domain:void 0,this._c.push(t),this._a&&this._a.push(t),this._s&&$(this,!1),t.promise},catch:function(e){return this.then(void 0,e)}}),A=function(){var e=new p;this.promise=e,this.resolve=n(I,e,1),this.reject=n(B,e,1)}),s(s.G+s.W+!F*s.F,{Promise:b}),t(18)(b,D),t(59)(D),i=t(6)[D],s(s.S+!F*s.F,D,{reject:function(e){var a=k(this);return(0,a.reject)(e),a.promise}}),s(s.S+s.F*(d||!F),D,{resolve:function(e){if(e instanceof b&&S(e.constructor,this))return e;var a=k(this);return(0,a.resolve)(e),a.promise}}),s(s.S+!(F&&t(46)(function(e){b.all(e).catch(C)}))*s.F,D,{all:function(e){var a=this,t=k(a),p=t.resolve,o=t.reject,i=N(function(){var t=[],i=0,d=1;f(e,!1,function(e){var r=i++,n=!1;t.push(void 0),d++,a.resolve(e).then(function(e){n||(n=!0,t[r]=e,--d||p(t))},o)}),--d||p(t)});return i&&o(i.error),t.promise},race:function(e){var a=this,t=k(a),p=t.reject,o=N(function(){f(e,!1,function(e){a.resolve(e).then(t.resolve,p)})});return o&&p(o.error),t.promise}})},function(e,a,t){"use strict";var p=t(61)(!0);t(27)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,a=this._t,t=this._i;return t>=a.length?{value:void 0,done:!0}:(e=p(a,t),this._i+=e.length,{value:e,done:!1})})},function(e,a,t){t(65);for(var p=t(2),o=t(5),i=t(10),d=t(1)("toStringTag"),r=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],n=0;n<5;n++){var l=r[n],s=p[l],u=s&&s.prototype;u&&!u[d]&&o(u,d,l),i[l]=i.Array}},function(e,a){e.exports=t(35317)},function(e,a){e.exports=t(76982)}];function o(e){if(i[e])return i[e].exports;var a=i[e]={exports:{},id:e,loaded:!1};return p[e].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}var i={};return o.m=p,o.c=i,o.p="",o(0)}(t(35317),t(76982))},35600(e,a,t){let p,o=t(70857),i=t(52018),d=t(56071),{env:r}=process;function n(e,a={}){var t;return 0!==(t=function(e,{streamIsTTY:a,sniffFlags:t=!0}={}){let i=function(){if("FORCE_COLOR"in r)return"true"===r.FORCE_COLOR?1:"false"===r.FORCE_COLOR?0:0===r.FORCE_COLOR.length?1:Math.min(Number.parseInt(r.FORCE_COLOR,10),3)}();void 0!==i&&(p=i);let n=t?p:i;if(0===n)return 0;if(t){if(d("color=16m")||d("color=full")||d("color=truecolor"))return 3;if(d("color=256"))return 2}if(e&&!a&&void 0===n)return 0;let l=n||0;if("dumb"===r.TERM)return l;if("win32"===process.platform){let e=o.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(e=>e in r)||"codeship"===r.CI_NAME?1:l;if("TEAMCITY_VERSION"in r)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION);if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){let e=Number.parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:l}(e,{streamIsTTY:e&&e.isTTY,...a}))&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}d("no-color")||d("no-colors")||d("color=false")||d("color=never")?p=0:(d("color")||d("colors")||d("color=true")||d("color=always"))&&(p=1),e.exports={supportsColor:n,stdout:n({isTTY:i.isatty(1)}),stderr:n({isTTY:i.isatty(2)})}},23246(e,a,t){var p=t(24876),o=t(91749),i={TRANSITIONAL:0,NONTRANSITIONAL:1};function d(e){return e.split("\0").map(function(e){return e.normalize("NFC")}).join("\0")}function r(e){for(var a=0,t=o.length-1;a<=t;){var p=Math.floor((a+t)/2),i=o[p];if(i[0][0]<=e&&i[0][1]>=e)return i;i[0][0]>e?t=p-1:a=p+1}return null}var n=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function l(e){return e.replace(n,"_").length}var s=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;e.exports.toASCII=function(e,a,t,o){var n=function e(a,t,o){var n=function(e,a,t){for(var p=!1,o="",d=l(e),n=0;n<d;++n){var s=e.codePointAt(n),u=r(s);switch(u[1]){case"disallowed":p=!0,o+=String.fromCodePoint(s);break;case"ignored":break;case"mapped":o+=String.fromCodePoint.apply(String,u[2]);break;case"deviation":t===i.TRANSITIONAL?o+=String.fromCodePoint.apply(String,u[2]):o+=String.fromCodePoint(s);break;case"valid":o+=String.fromCodePoint(s);break;case"disallowed_STD3_mapped":a?(p=!0,o+=String.fromCodePoint(s)):o+=String.fromCodePoint.apply(String,u[2]);break;case"disallowed_STD3_valid":a&&(p=!0),o+=String.fromCodePoint(s)}}return{string:o,error:p}}(a,t,o);n.string=d(n.string);for(var u=n.string.split("."),m=0;m<u.length;++m)try{var c=function(a){"xn--"===a.substr(0,4)&&(a=p.toUnicode(a),i.NONTRANSITIONAL);var t=!1;(d(a)!==a||"-"===a[3]&&"-"===a[4]||"-"===a[0]||"-"===a[a.length-1]||-1!==a.indexOf(".")||0===a.search(s))&&(t=!0);for(var o=l(a),n=0;n<o;++n){var u=r(a.codePointAt(n));if(e===i.TRANSITIONAL&&"valid"!==u[1]||e===i.NONTRANSITIONAL&&"valid"!==u[1]&&"deviation"!==u[1]){t=!0;break}}return{label:a,error:t}}(u[m]);u[m]=c.label,n.error=n.error||c.error}catch(e){n.error=!0}return{string:u.join("."),error:n.error}}(e,a,t),u=n.string.split(".");if(u=u.map(function(e){try{return p.toASCII(e)}catch(a){return n.error=!0,e}}),o){var m=u.slice(0,u.length-1).join(".").length;(m.length>253||0===m.length)&&(n.error=!0);for(var c=0;c<u.length;++c)if(u.length>63||0===u.length){n.error=!0;break}}return n.error?null:u.join(".")},e.exports.PROCESSING_OPTIONS=i},98706(e,a,t){let p=t(78323);a.implementation=class{constructor(e){let a=e[0],t=e[1],o=null;if(void 0!==t&&"failure"===(o=p.basicURLParse(t)))throw TypeError("Invalid base URL");let i=p.basicURLParse(a,{baseURL:o});if("failure"===i)throw TypeError("Invalid URL");this._url=i}get href(){return p.serializeURL(this._url)}set href(e){let a=p.basicURLParse(e);if("failure"===a)throw TypeError("Invalid URL");this._url=a}get origin(){return p.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(e){p.basicURLParse(e+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){p.cannotHaveAUsernamePasswordPort(this._url)||p.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){p.cannotHaveAUsernamePasswordPort(this._url)||p.setThePassword(this._url,e)}get host(){let e=this._url;return null===e.host?"":null===e.port?p.serializeHost(e.host):p.serializeHost(e.host)+":"+p.serializeInteger(e.port)}set host(e){this._url.cannotBeABaseURL||p.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){return null===this._url.host?"":p.serializeHost(this._url.host)}set hostname(e){this._url.cannotBeABaseURL||p.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){return null===this._url.port?"":p.serializeInteger(this._url.port)}set port(e){p.cannotHaveAUsernamePasswordPort(this._url)||(""===e?this._url.port=null:p.basicURLParse(e,{url:this._url,stateOverride:"port"}))}get pathname(){return this._url.cannotBeABaseURL?this._url.path[0]:0===this._url.path.length?"":"/"+this._url.path.join("/")}set pathname(e){this._url.cannotBeABaseURL||(this._url.path=[],p.basicURLParse(e,{url:this._url,stateOverride:"path start"}))}get search(){return null===this._url.query||""===this._url.query?"":"?"+this._url.query}set search(e){let a=this._url;if(""===e){a.query=null;return}let t="?"===e[0]?e.substring(1):e;a.query="",p.basicURLParse(t,{url:a,stateOverride:"query"})}get hash(){return null===this._url.fragment||""===this._url.fragment?"":"#"+this._url.fragment}set hash(e){if(""===e){this._url.fragment=null;return}let a="#"===e[0]?e.substring(1):e;this._url.fragment="",p.basicURLParse(a,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}}},76447(e,a,t){let p=t(36151),o=t(4887),i=t(98706),d=o.implSymbol;function r(a){if(!this||this[d]||!(this instanceof r))throw TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");if(arguments.length<1)throw TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.");let t=[];for(let e=0;e<arguments.length&&e<2;++e)t[e]=arguments[e];t[0]=p.USVString(t[0]),void 0!==t[1]&&(t[1]=p.USVString(t[1])),e.exports.setup(this,t)}r.prototype.toJSON=function(){if(!this||!e.exports.is(this))throw TypeError("Illegal invocation");let a=[];for(let e=0;e<arguments.length&&e<0;++e)a[e]=arguments[e];return this[d].toJSON.apply(this[d],a)},Object.defineProperty(r.prototype,"href",{get(){return this[d].href},set(e){e=p.USVString(e),this[d].href=e},enumerable:!0,configurable:!0}),r.prototype.toString=function(){if(!this||!e.exports.is(this))throw TypeError("Illegal invocation");return this.href},Object.defineProperty(r.prototype,"origin",{get(){return this[d].origin},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"protocol",{get(){return this[d].protocol},set(e){e=p.USVString(e),this[d].protocol=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"username",{get(){return this[d].username},set(e){e=p.USVString(e),this[d].username=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"password",{get(){return this[d].password},set(e){e=p.USVString(e),this[d].password=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"host",{get(){return this[d].host},set(e){e=p.USVString(e),this[d].host=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hostname",{get(){return this[d].hostname},set(e){e=p.USVString(e),this[d].hostname=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"port",{get(){return this[d].port},set(e){e=p.USVString(e),this[d].port=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pathname",{get(){return this[d].pathname},set(e){e=p.USVString(e),this[d].pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"search",{get(){return this[d].search},set(e){e=p.USVString(e),this[d].search=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hash",{get(){return this[d].hash},set(e){e=p.USVString(e),this[d].hash=e},enumerable:!0,configurable:!0}),e.exports={is:e=>!!e&&e[d]instanceof i.implementation,create(e,a){let t=Object.create(r.prototype);return this.setup(t,e,a),t},setup(e,a,t){t||(t={}),t.wrapper=e,e[d]=new i.implementation(a,t),e[d][o.wrapperSymbol]=e},interface:r,expose:{Window:{URL:r},Worker:{URL:r}}}},44044(e,a,t){a.k=t(76447).interface,t(78323).serializeURL,t(78323).serializeURLOrigin,t(78323).basicURLParse,t(78323).setTheUsername,t(78323).setThePassword,t(78323).serializeHost,t(78323).serializeInteger,t(78323).parseURL},78323(e,a,t){let p=t(24876),o=t(23246),i={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},d=Symbol("failure");function r(e){return p.ucs2.decode(e).length}function n(e,a){let t=e[a];return isNaN(t)?void 0:String.fromCodePoint(t)}function l(e){return e>=48&&e<=57}function s(e){return e>=65&&e<=90||e>=97&&e<=122}function u(e){return l(e)||e>=65&&e<=70||e>=97&&e<=102}function m(e){return"."===e||"%2e"===e.toLowerCase()}function c(e){return 2===e.length&&s(e.codePointAt(0))&&(":"===e[1]||"|"===e[1])}function f(e){return void 0!==i[e]}function h(e){return f(e.scheme)}function v(e){let a=e.toString(16).toUpperCase();return 1===a.length&&(a="0"+a),"%"+a}function g(e){return e<=31||e>126}let D=new Set([32,34,35,60,62,63,96,123,125]);function y(e){return g(e)||D.has(e)}let w=new Set([47,58,59,61,64,91,92,93,94,124]);function b(e){return y(e)||w.has(e)}function _(e,a){let t=String.fromCodePoint(e);if(a(e)){let e=new Buffer(t),a="";for(let t=0;t<e.length;++t)a+=v(e[t]);return a}return t}function C(e,a){if("["===e[0])return"]"!==e[e.length-1]?d:function(e){let a=[0,0,0,0,0,0,0,0],t=0,o=null,i=0;if(58===(e=p.ucs2.decode(e))[i]){if(58!==e[i+1])return d;i+=2,o=++t}for(;i<e.length;){if(8===t)return d;if(58===e[i]){if(null!==o)return d;++i,o=++t;continue}let p=0,r=0;for(;r<4&&u(e[i]);)p=16*p+parseInt(n(e,i),16),++i,++r;if(46===e[i]){if(0===r||(i-=r,t>6))return d;let p=0;for(;void 0!==e[i];){let o=null;if(p>0)if(46!==e[i]||!(p<4))return d;else++i;if(!l(e[i]))return d;for(;l(e[i]);){let a=parseInt(n(e,i));if(null===o)o=a;else{if(0===o)return d;o=10*o+a}if(o>255)return d;++i}a[t]=256*a[t]+o,(2==++p||4===p)&&++t}if(4!==p)return d;break}if(58===e[i]){if(void 0===e[++i])return d}else if(void 0!==e[i])return d;a[t]=p,++t}if(null!==o){let e=t-o;for(t=7;0!==t&&e>0;){let p=a[o+e-1];a[o+e-1]=a[t],a[t]=p,--t,--e}}else if(null===o&&8!==t)return d;return a}(e.substring(1,e.length-1));if(!a){var t=e;if(-1!==t.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/))return d;let a="",o=p.ucs2.decode(t);for(let e=0;e<o.length;++e)a+=_(o[e],g);return a}let i=function(e){let a=new Buffer(e),t=[];for(let e=0;e<a.length;++e)37!==a[e]?t.push(a[e]):37===a[e]&&u(a[e+1])&&u(a[e+2])?(t.push(parseInt(a.slice(e+1,e+3).toString(),16)),e+=2):t.push(a[e]);return new Buffer(t).toString()}(e),r=o.toASCII(i,!1,o.PROCESSING_OPTIONS.NONTRANSITIONAL,!1);if(null===r||-1!==r.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/))return d;let s=function(e){let a=e.split(".");if(""===a[a.length-1]&&a.length>1&&a.pop(),a.length>4)return e;let t=[];for(let p of a){if(""===p)return e;let a=function(e){let a=10;return(e.length>=2&&"0"===e.charAt(0)&&"x"===e.charAt(1).toLowerCase()?(e=e.substring(2),a=16):e.length>=2&&"0"===e.charAt(0)&&(e=e.substring(1),a=8),""===e)?0:(10===a?/[^0-9]/:16===a?/[^0-9A-Fa-f]/:/[^0-7]/).test(e)?d:parseInt(e,a)}(p);if(a===d)return e;t.push(a)}for(let e=0;e<t.length-1;++e)if(t[e]>255)return d;if(t[t.length-1]>=Math.pow(256,5-t.length))return d;let p=t.pop(),o=0;for(let e of t)p+=e*Math.pow(256,3-o),++o;return p}(r);return"number"==typeof s||s===d?s:r}function F(e){if("number"==typeof e){let a="",t=e;for(let e=1;e<=4;++e)a=String(t%256)+a,4!==e&&(a="."+a),t=Math.floor(t/256);return a}return e instanceof Array?"["+function(e){let a="",t=function(e){let a=null,t=1,p=null,o=0;for(let i=0;i<e.length;++i)0!==e[i]?(o>t&&(a=p,t=o),p=null,o=0):(null===p&&(p=i),++o);return o>t&&(a=p,t=o),{idx:a,len:t}}(e).idx,p=!1;for(let o=0;o<=7;++o)if(!p||0!==e[o]){if(p&&(p=!1),t===o){a+=0===o?"::":":",p=!0;continue}a+=e[o].toString(16),7!==o&&(a+=":")}return a}(e)+"]":e}function S(e){var a;let t=e.path;0===t.length||"file"===e.scheme&&1===t.length&&(a=t[0],/^[A-Za-z]:$/.test(a))||t.pop()}function E(e){return""!==e.username||""!==e.password}function k(e,a,t,o,i){if(this.pointer=0,this.input=e,this.base=a||null,this.encodingOverride=t||"utf-8",this.stateOverride=i,this.url=o,this.failure=!1,this.parseError=!1,!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:!1};let e=this.input.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"");e!==this.input&&(this.parseError=!0),this.input=e}let r=this.input.replace(/\u0009|\u000A|\u000D/g,"");for(r!==this.input&&(this.parseError=!0),this.input=r,this.state=i||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=p.ucs2.decode(this.input);this.pointer<=this.input.length;++this.pointer){let e=this.input[this.pointer],a=isNaN(e)?void 0:String.fromCodePoint(e),t=this["parse "+this.state](e,a);if(t){if(t===d){this.failure=!0;break}}else break}}k.prototype["parse scheme start"]=function(e,a){if(s(e))this.buffer+=a.toLowerCase(),this.state="scheme";else{if(this.stateOverride)return this.parseError=!0,d;this.state="no scheme",--this.pointer}return!0},k.prototype["parse scheme"]=function(e,a){if(s(e)||l(e)||43===e||45===e||46===e)this.buffer+=a.toLowerCase();else if(58===e){if(this.stateOverride&&(h(this.url)&&!f(this.buffer)||!h(this.url)&&f(this.buffer)||(E(this.url)||null!==this.url.port)&&"file"===this.buffer||"file"===this.url.scheme&&(""===this.url.host||null===this.url.host))||(this.url.scheme=this.buffer,this.buffer="",this.stateOverride))return!1;"file"===this.url.scheme?((47!==this.input[this.pointer+1]||47!==this.input[this.pointer+2])&&(this.parseError=!0),this.state="file"):h(this.url)&&null!==this.base&&this.base.scheme===this.url.scheme?this.state="special relative or authority":h(this.url)?this.state="special authority slashes":47===this.input[this.pointer+1]?(this.state="path or authority",++this.pointer):(this.url.cannotBeABaseURL=!0,this.url.path.push(""),this.state="cannot-be-a-base-URL path")}else{if(this.stateOverride)return this.parseError=!0,d;this.buffer="",this.state="no scheme",this.pointer=-1}return!0},k.prototype["parse no scheme"]=function(e){return null===this.base||this.base.cannotBeABaseURL&&35!==e?d:(this.base.cannotBeABaseURL&&35===e?(this.url.scheme=this.base.scheme,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.url.cannotBeABaseURL=!0,this.state="fragment"):("file"===this.base.scheme?this.state="file":this.state="relative",--this.pointer),!0)},k.prototype["parse special relative or authority"]=function(e){return 47===e&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="relative",--this.pointer),!0},k.prototype["parse path or authority"]=function(e){return 47===e?this.state="authority":(this.state="path",--this.pointer),!0},k.prototype["parse relative"]=function(e){return this.url.scheme=this.base.scheme,isNaN(e)?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query):47===e?this.state="relative slash":63===e?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):h(this.url)&&92===e?(this.parseError=!0,this.state="relative slash"):(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(0,this.base.path.length-1),this.state="path",--this.pointer),!0},k.prototype["parse relative slash"]=function(e){return h(this.url)&&(47===e||92===e)?(92===e&&(this.parseError=!0),this.state="special authority ignore slashes"):47===e?this.state="authority":(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.state="path",--this.pointer),!0},k.prototype["parse special authority slashes"]=function(e){return 47===e&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="special authority ignore slashes",--this.pointer),!0},k.prototype["parse special authority ignore slashes"]=function(e){return 47!==e&&92!==e?(this.state="authority",--this.pointer):this.parseError=!0,!0},k.prototype["parse authority"]=function(e,a){if(64===e){this.parseError=!0,this.atFlag&&(this.buffer="%40"+this.buffer),this.atFlag=!0;let e=r(this.buffer);for(let a=0;a<e;++a){let e=this.buffer.codePointAt(a);if(58===e&&!this.passwordTokenSeenFlag){this.passwordTokenSeenFlag=!0;continue}let t=_(e,b);this.passwordTokenSeenFlag?this.url.password+=t:this.url.username+=t}this.buffer=""}else if(isNaN(e)||47===e||63===e||35===e||h(this.url)&&92===e){if(this.atFlag&&""===this.buffer)return this.parseError=!0,d;this.pointer-=r(this.buffer)+1,this.buffer="",this.state="host"}else this.buffer+=a;return!0},k.prototype["parse hostname"]=k.prototype["parse host"]=function(e,a){if(this.stateOverride&&"file"===this.url.scheme)--this.pointer,this.state="file host";else if(58!==e||this.arrFlag)if(isNaN(e)||47===e||63===e||35===e||h(this.url)&&92===e){if(--this.pointer,h(this.url)&&""===this.buffer)return this.parseError=!0,d;if(this.stateOverride&&""===this.buffer&&(E(this.url)||null!==this.url.port))return this.parseError=!0,!1;let e=C(this.buffer,h(this.url));if(e===d)return d;if(this.url.host=e,this.buffer="",this.state="path start",this.stateOverride)return!1}else 91===e?this.arrFlag=!0:93===e&&(this.arrFlag=!1),this.buffer+=a;else{if(""===this.buffer)return this.parseError=!0,d;let e=C(this.buffer,h(this.url));if(e===d)return d;if(this.url.host=e,this.buffer="",this.state="port","hostname"===this.stateOverride)return!1}return!0},k.prototype["parse port"]=function(e,a){if(l(e))this.buffer+=a;else{if(!(isNaN(e)||47===e||63===e||35===e||h(this.url)&&92===e)&&!this.stateOverride)return this.parseError=!0,d;if(""!==this.buffer){let e=parseInt(this.buffer);if(e>65535)return this.parseError=!0,d;this.url.port=e===i[this.url.scheme]?null:e,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}return!0};let A=new Set([47,92,63,35]);k.prototype["parse file"]=function(e){if(this.url.scheme="file",47===e||92===e)92===e&&(this.parseError=!0),this.state="file slash";else if(null!==this.base&&"file"===this.base.scheme)if(isNaN(e))this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query;else if(63===e)this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query";else if(35===e)this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment";else{var a;this.input.length-this.pointer-1!=0&&(a=this.input[this.pointer+1],s(e)&&(58===a||124===a))&&(!(this.input.length-this.pointer-1>=2)||A.has(this.input[this.pointer+2]))?this.parseError=!0:(this.url.host=this.base.host,this.url.path=this.base.path.slice(),S(this.url)),this.state="path",--this.pointer}else this.state="path",--this.pointer;return!0},k.prototype["parse file slash"]=function(e){if(47===e||92===e)92===e&&(this.parseError=!0),this.state="file host";else{if(null!==this.base&&"file"===this.base.scheme){var a;2===(a=this.base.path[0]).length&&s(a.codePointAt(0))&&":"===a[1]?this.url.path.push(this.base.path[0]):this.url.host=this.base.host}this.state="path",--this.pointer}return!0},k.prototype["parse file host"]=function(e,a){if(isNaN(e)||47===e||92===e||63===e||35===e)if(--this.pointer,!this.stateOverride&&c(this.buffer))this.parseError=!0,this.state="path";else if(""===this.buffer){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let e=C(this.buffer,h(this.url));if(e===d)return d;if("localhost"===e&&(e=""),this.url.host=e,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=a;return!0},k.prototype["parse path start"]=function(e){return h(this.url)?(92===e&&(this.parseError=!0),this.state="path",47!==e&&92!==e&&--this.pointer):this.stateOverride||63!==e?this.stateOverride||35!==e?void 0!==e&&(this.state="path",47!==e&&--this.pointer):(this.url.fragment="",this.state="fragment"):(this.url.query="",this.state="query"),!0},k.prototype["parse path"]=function(e){if(isNaN(e)||47===e||h(this.url)&&92===e||!this.stateOverride&&(63===e||35===e)){var a;if((h(this.url)&&92===e&&(this.parseError=!0),".."===(a=(a=this.buffer).toLowerCase())||"%2e."===a||".%2e"===a||"%2e%2e"===a)?(S(this.url),47===e||h(this.url)&&92===e||this.url.path.push("")):m(this.buffer)&&47!==e&&!(h(this.url)&&92===e)?this.url.path.push(""):m(this.buffer)||("file"===this.url.scheme&&0===this.url.path.length&&c(this.buffer)&&(""!==this.url.host&&null!==this.url.host&&(this.parseError=!0,this.url.host=""),this.buffer=this.buffer[0]+":"),this.url.path.push(this.buffer)),this.buffer="","file"===this.url.scheme&&(void 0===e||63===e||35===e))for(;this.url.path.length>1&&""===this.url.path[0];)this.parseError=!0,this.url.path.shift();63===e&&(this.url.query="",this.state="query"),35===e&&(this.url.fragment="",this.state="fragment")}else 37!==e||u(this.input[this.pointer+1])&&u(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=_(e,y);return!0},k.prototype["parse cannot-be-a-base-URL path"]=function(e){return 63===e?(this.url.query="",this.state="query"):35===e?(this.url.fragment="",this.state="fragment"):(isNaN(e)||37===e||(this.parseError=!0),37!==e||u(this.input[this.pointer+1])&&u(this.input[this.pointer+2])||(this.parseError=!0),isNaN(e)||(this.url.path[0]=this.url.path[0]+_(e,g))),!0},k.prototype["parse query"]=function(e,a){if(isNaN(e)||!this.stateOverride&&35===e){h(this.url)&&"ws"!==this.url.scheme&&"wss"!==this.url.scheme||(this.encodingOverride="utf-8");let a=new Buffer(this.buffer);for(let e=0;e<a.length;++e)a[e]<33||a[e]>126||34===a[e]||35===a[e]||60===a[e]||62===a[e]?this.url.query+=v(a[e]):this.url.query+=String.fromCodePoint(a[e]);this.buffer="",35===e&&(this.url.fragment="",this.state="fragment")}else 37!==e||u(this.input[this.pointer+1])&&u(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=a;return!0},k.prototype["parse fragment"]=function(e){return isNaN(e)||(0===e?this.parseError=!0:(37!==e||u(this.input[this.pointer+1])&&u(this.input[this.pointer+2])||(this.parseError=!0),this.url.fragment+=_(e,g))),!0},e.exports.serializeURL=function(e,a){let t=e.scheme+":";if(null!==e.host?(t+="//",(""!==e.username||""!==e.password)&&(t+=e.username,""!==e.password&&(t+=":"+e.password),t+="@"),t+=F(e.host),null!==e.port&&(t+=":"+e.port)):null===e.host&&"file"===e.scheme&&(t+="//"),e.cannotBeABaseURL)t+=e.path[0];else for(let a of e.path)t+="/"+a;return null!==e.query&&(t+="?"+e.query),a||null===e.fragment||(t+="#"+e.fragment),t},e.exports.serializeURLOrigin=function(a){switch(a.scheme){case"blob":try{return e.exports.serializeURLOrigin(e.exports.parseURL(a.path[0]))}catch(e){return"null"}case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":var t;let p;return p=(t={scheme:a.scheme,host:a.host,port:a.port}).scheme+"://"+F(t.host),null!==t.port&&(p+=":"+t.port),p;case"file":return"file://";default:return"null"}},e.exports.basicURLParse=function(e,a){void 0===a&&(a={});let t=new k(e,a.baseURL,a.encodingOverride,a.url,a.stateOverride);return t.failure?"failure":t.url},e.exports.setTheUsername=function(e,a){e.username="";let t=p.ucs2.decode(a);for(let a=0;a<t.length;++a)e.username+=_(t[a],b)},e.exports.setThePassword=function(e,a){e.password="";let t=p.ucs2.decode(a);for(let a=0;a<t.length;++a)e.password+=_(t[a],b)},e.exports.serializeHost=F,e.exports.cannotHaveAUsernamePasswordPort=function(e){return null===e.host||""===e.host||e.cannotBeABaseURL||"file"===e.scheme},e.exports.serializeInteger=function(e){return String(e)},e.exports.parseURL=function(a,t){return void 0===t&&(t={}),e.exports.basicURLParse(a,{baseURL:t.baseURL,encodingOverride:t.encodingOverride})}},4887(e){e.exports.wrapperSymbol=Symbol("wrapper"),e.exports.implSymbol=Symbol("impl")},36151(e){var a={};function t(e,a){!a.unsigned&&--e;let t=a.unsigned?0:-Math.pow(2,e),p=Math.pow(2,e)-1,o=a.moduloBitLength?Math.pow(2,a.moduloBitLength):Math.pow(2,e),i=a.moduloBitLength?Math.pow(2,a.moduloBitLength-1):Math.pow(2,e-1);return function(e,d){d||(d={});let r=+e;if(d.enforceRange){if(!Number.isFinite(r))throw TypeError("Argument is not a finite number");if((r=(r<0?-1:1)*Math.floor(Math.abs(r)))<t||r>p)throw TypeError("Argument is not in byte range");return r}if(!isNaN(r)&&d.clamp){var n;return(r=(n=r)%1==.5&&(1&n)==0?Math.floor(n):Math.round(n))<t&&(r=t),r>p&&(r=p),r}if(!Number.isFinite(r)||0===r)return 0;if(r=(r<0?-1:1)*Math.floor(Math.abs(r))%o,!a.unsigned&&r>=i)return r-o;if(a.unsigned){if(r<0)r+=o;else if(-0===r)return 0}return r}}e.exports=a,a.void=function(){},a.boolean=function(e){return!!e},a.byte=t(8,{unsigned:!1}),a.octet=t(8,{unsigned:!0}),a.short=t(16,{unsigned:!1}),a["unsigned short"]=t(16,{unsigned:!0}),a.long=t(32,{unsigned:!1}),a["unsigned long"]=t(32,{unsigned:!0}),a["long long"]=t(32,{unsigned:!1,moduloBitLength:64}),a["unsigned long long"]=t(32,{unsigned:!0,moduloBitLength:64}),a.double=function(e){let a=+e;if(!Number.isFinite(a))throw TypeError("Argument is not a finite floating-point value");return a},a["unrestricted double"]=function(e){let a=+e;if(isNaN(a))throw TypeError("Argument is NaN");return a},a.float=a.double,a["unrestricted float"]=a["unrestricted double"],a.DOMString=function(e,a){return(a||(a={}),a.treatNullAsEmptyString&&null===e)?"":String(e)},a.ByteString=function(e,a){let t,p=String(e);for(let e=0;void 0!==(t=p.codePointAt(e));++e)if(t>255)throw TypeError("Argument is not a valid bytestring");return p},a.USVString=function(e){let a=String(e),t=a.length,p=[];for(let e=0;e<t;++e){let o=a.charCodeAt(e);if(o<55296||o>57343)p.push(String.fromCodePoint(o));else if(56320<=o&&o<=57343)p.push(String.fromCodePoint(65533));else if(e===t-1)p.push(String.fromCodePoint(65533));else{let t=a.charCodeAt(e+1);if(56320<=t&&t<=57343){let a=1023&o,i=1023&t;p.push(String.fromCodePoint(65536+1024*a+i)),++e}else p.push(String.fromCodePoint(65533))}}return p.join("")},a.Date=function(e,a){if(!(e instanceof Date))throw TypeError("Argument is not a Date object");if(!isNaN(e))return e},a.RegExp=function(e,a){return e instanceof RegExp||(e=new RegExp(e)),e}},84361(e){e.exports=import("ws").then(function(e){return e})},83440(a){a.exports=e},42613(e){e.exports=t("assert")},20181(e){e.exports=t("buffer")},35317(e){e.exports=t("child_process")},76982(e){e.exports=t("crypto")},24434(e){e.exports=t("events")},79896(e){e.exports=t("fs")},91943(e){e.exports=t("fs/promises")},58611(e){e.exports=t("http")},65692(e){e.exports=t("https")},69278(e){e.exports=t("net")},16698(e){e.exports=t("node:async_hooks")},31421(e){e.exports=t("node:child_process")},77598(e){e.exports=t("node:crypto")},41314(e){e.exports=t("node:dgram")},40610(e){e.exports=t("node:dns")},78474(e){e.exports=t("node:events")},73024(e){e.exports=t("node:fs")},51455(e){e.exports=t("node:fs/promises")},37067(e){e.exports=t("node:http")},44708(e){e.exports=t("node:https")},77030(e){e.exports=t("node:net")},48161(e){e.exports=t("node:os")},76760(e){e.exports=t("node:path")},1708(e){e.exports=t("node:process")},80481(e){e.exports=t("node:readline")},26848(e){e.exports=t("node:readline/promises")},7066(e){e.exports=t("node:tty")},73136(e){e.exports=t("node:url")},57975(e){e.exports=t("node:util")},70857(e){e.exports=t("os")},16928(e){e.exports=t("path")},24876(e){e.exports=t("punycode")},2203(e){e.exports=t("stream")},13193(e){e.exports=t("string_decoder")},64756(e){e.exports=t("tls")},52018(e){e.exports=t("tty")},87016(e){e.exports=t("url")},39023(e){e.exports=t("util")},43106(e){e.exports=t("zlib")},66442(e){e.exports=function(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,p=Array(a);t<a;t++)p[t]=e[t];return p},e.exports.__esModule=!0,e.exports.default=e.exports},3634(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},99436(e){function a(e,a,t,p,o,i,d){try{var r=e[i](d),n=r.value}catch(e){return void t(e)}r.done?a(n):Promise.resolve(n).then(p,o)}e.exports=function(e){return function(){var t=this,p=arguments;return new Promise(function(o,i){var d=e.apply(t,p);function r(e){a(d,o,i,r,n,"next",e)}function n(e){a(d,o,i,r,n,"throw",e)}r(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports},96525(e){e.exports=function(e,a){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var p,o,i,d,r=[],n=!0,l=!1;try{if(i=(t=t.call(e)).next,0===a){if(Object(t)!==t)return;n=!1}else for(;!(n=(p=i.call(t)).done)&&(r.push(p.value),r.length!==a);n=!0);}catch(e){l=!0,o=e}finally{try{if(!n&&null!=t.return&&(d=t.return(),Object(d)!==d))return}finally{if(l)throw o}}return r}},e.exports.__esModule=!0,e.exports.default=e.exports},5523(e){e.exports=function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},67996(e,a,t){var p=t(51112);e.exports=function(e,a){if(null==e)return{};var t,o,i=p(e,a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(e);for(o=0;o<d.length;o++)t=d[o],-1===a.indexOf(t)&&({}).propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},51112(e){e.exports=function(e,a){if(null==e)return{};var t={};for(var p in e)if(({}).hasOwnProperty.call(e,p)){if(-1!==a.indexOf(p))continue;t[p]=e[p]}return t},e.exports.__esModule=!0,e.exports.default=e.exports},68832(e,a,t){var p=t(3634),o=t(96525),i=t(78243),d=t(5523);e.exports=function(e,a){return p(e)||o(e,a)||i(e,a)||d()},e.exports.__esModule=!0,e.exports.default=e.exports},78243(e,a,t){var p=t(66442);e.exports=function(e,a){if(e){if("string"==typeof e)return p(e,a);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?p(e,a):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},65181(e,a,t){let{Argument:p}=t(41762),{Command:o}=t(18572),{CommanderError:i,InvalidArgumentError:d}=t(43823),{Help:r}=t(99690),{Option:n}=t(92088);a.DM=new o,a.gu=e=>new o(e),a.Ww=(e,a)=>new n(e,a),a.er=(e,a)=>new p(e,a),a.uB=o,a.c$=n,a.ef=p,a._V=r,a.b7=i,a.Di=d,a.a2=d},41762(e,a,t){let{InvalidArgumentError:p}=t(43823);a.Argument=class{constructor(e,a){switch(this.description=a||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,e[0]){case"<":this.required=!0,this._name=e.slice(1,-1);break;case"[":this.required=!1,this._name=e.slice(1,-1);break;default:this.required=!0,this._name=e}this._name.length>3&&"..."===this._name.slice(-3)&&(this.variadic=!0,this._name=this._name.slice(0,-3))}name(){return this._name}_concatValue(e,a){return a!==this.defaultValue&&Array.isArray(a)?a.concat(e):[e]}default(e,a){return this.defaultValue=e,this.defaultValueDescription=a,this}argParser(e){return this.parseArg=e,this}choices(e){return this.argChoices=e.slice(),this.parseArg=(e,a)=>{if(!this.argChoices.includes(e))throw new p(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(e,a):e},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}},a.humanReadableArgName=function(e){let a=e.name()+(!0===e.variadic?"...":"");return e.required?"<"+a+">":"["+a+"]"}},18572(e,a,t){let p=t(78474).EventEmitter,o=t(31421),i=t(76760),d=t(73024),r=t(1708),{Argument:n,humanReadableArgName:l}=t(41762),{CommanderError:s}=t(43823),{Help:u}=t(99690),{Option:m,DualOptions:c}=t(92088),{suggestSimilar:f}=t(86054);class h extends p{constructor(e){super(),this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!0,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=e||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._outputConfiguration={writeOut:e=>r.stdout.write(e),writeErr:e=>r.stderr.write(e),getOutHelpWidth:()=>r.stdout.isTTY?r.stdout.columns:void 0,getErrHelpWidth:()=>r.stderr.isTTY?r.stderr.columns:void 0,outputError:(e,a)=>a(e)},this._hidden=!1,this._helpOption=void 0,this._addImplicitHelpCommand=void 0,this._helpCommand=void 0,this._helpConfiguration={}}copyInheritedSettings(e){return this._outputConfiguration=e._outputConfiguration,this._helpOption=e._helpOption,this._helpCommand=e._helpCommand,this._helpConfiguration=e._helpConfiguration,this._exitCallback=e._exitCallback,this._storeOptionsAsProperties=e._storeOptionsAsProperties,this._combineFlagAndOptionalValue=e._combineFlagAndOptionalValue,this._allowExcessArguments=e._allowExcessArguments,this._enablePositionalOptions=e._enablePositionalOptions,this._showHelpAfterError=e._showHelpAfterError,this._showSuggestionAfterError=e._showSuggestionAfterError,this}_getCommandAndAncestors(){let e=[];for(let a=this;a;a=a.parent)e.push(a);return e}command(e,a,t){let p=a,o=t;"object"==typeof p&&null!==p&&(o=p,p=null),o=o||{};let[,i,d]=e.match(/([^ ]+) *(.*)/),r=this.createCommand(i);return(p&&(r.description(p),r._executableHandler=!0),o.isDefault&&(this._defaultCommandName=r._name),r._hidden=!!(o.noHelp||o.hidden),r._executableFile=o.executableFile||null,d&&r.arguments(d),this._registerCommand(r),r.parent=this,r.copyInheritedSettings(this),p)?this:r}createCommand(e){return new h(e)}createHelp(){return Object.assign(new u,this.configureHelp())}configureHelp(e){return void 0===e?this._helpConfiguration:(this._helpConfiguration=e,this)}configureOutput(e){return void 0===e?this._outputConfiguration:(Object.assign(this._outputConfiguration,e),this)}showHelpAfterError(e=!0){return"string"!=typeof e&&(e=!!e),this._showHelpAfterError=e,this}showSuggestionAfterError(e=!0){return this._showSuggestionAfterError=!!e,this}addCommand(e,a){if(!e._name)throw Error(`Command passed to .addCommand() must have a name
5
+ - specify the name in Command constructor or using .name()`);return(a=a||{}).isDefault&&(this._defaultCommandName=e._name),(a.noHelp||a.hidden)&&(e._hidden=!0),this._registerCommand(e),e.parent=this,e._checkForBrokenPassThrough(),this}createArgument(e,a){return new n(e,a)}argument(e,a,t,p){let o=this.createArgument(e,a);return"function"==typeof t?o.default(p).argParser(t):o.default(t),this.addArgument(o),this}arguments(e){return e.trim().split(/ +/).forEach(e=>{this.argument(e)}),this}addArgument(e){let a=this.registeredArguments.slice(-1)[0];if(a&&a.variadic)throw Error(`only the last argument can be variadic '${a.name()}'`);if(e.required&&void 0!==e.defaultValue&&void 0===e.parseArg)throw Error(`a default value for a required argument is never used: '${e.name()}'`);return this.registeredArguments.push(e),this}helpCommand(e,a){if("boolean"==typeof e)return this._addImplicitHelpCommand=e,this;let[,t,p]=(e=e??"help [command]").match(/([^ ]+) *(.*)/),o=a??"display help for command",i=this.createCommand(t);return i.helpOption(!1),p&&i.arguments(p),o&&i.description(o),this._addImplicitHelpCommand=!0,this._helpCommand=i,this}addHelpCommand(e,a){return"object"!=typeof e?this.helpCommand(e,a):(this._addImplicitHelpCommand=!0,this._helpCommand=e),this}_getHelpCommand(){return this._addImplicitHelpCommand??(this.commands.length&&!this._actionHandler&&!this._findCommand("help"))?(void 0===this._helpCommand&&this.helpCommand(void 0,void 0),this._helpCommand):null}hook(e,a){let t=["preSubcommand","preAction","postAction"];if(!t.includes(e))throw Error(`Unexpected value for event passed to hook : '${e}'.
6
+ Expecting one of '${t.join("', '")}'`);return this._lifeCycleHooks[e]?this._lifeCycleHooks[e].push(a):this._lifeCycleHooks[e]=[a],this}exitOverride(e){return e?this._exitCallback=e:this._exitCallback=e=>{if("commander.executeSubCommandAsync"!==e.code)throw e},this}_exit(e,a,t){this._exitCallback&&this._exitCallback(new s(e,a,t)),r.exit(e)}action(e){let a=a=>{let t=this.registeredArguments.length,p=a.slice(0,t);return this._storeOptionsAsProperties?p[t]=this:p[t]=this.opts(),p.push(this),e.apply(this,p)};return this._actionHandler=a,this}createOption(e,a){return new m(e,a)}_callParseArg(e,a,t,p){try{return e.parseArg(a,t)}catch(e){if("commander.invalidArgument"===e.code){let a=`${p} ${e.message}`;this.error(a,{exitCode:e.exitCode,code:e.code})}throw e}}_registerOption(e){let a=e.short&&this._findOption(e.short)||e.long&&this._findOption(e.long);if(a){let t=e.long&&this._findOption(e.long)?e.long:e.short;throw Error(`Cannot add option '${e.flags}'${this._name&&` to command '${this._name}'`} due to conflicting flag '${t}'
7
+ - already used by option '${a.flags}'`)}this.options.push(e)}_registerCommand(e){let a=e=>[e.name()].concat(e.aliases()),t=a(e).find(e=>this._findCommand(e));if(t){let p=a(this._findCommand(t)).join("|"),o=a(e).join("|");throw Error(`cannot add command '${o}' as already have command '${p}'`)}this.commands.push(e)}addOption(e){this._registerOption(e);let a=e.name(),t=e.attributeName();if(e.negate){let a=e.long.replace(/^--no-/,"--");this._findOption(a)||this.setOptionValueWithSource(t,void 0===e.defaultValue||e.defaultValue,"default")}else void 0!==e.defaultValue&&this.setOptionValueWithSource(t,e.defaultValue,"default");let p=(a,p,o)=>{null==a&&void 0!==e.presetArg&&(a=e.presetArg);let i=this.getOptionValue(t);null!==a&&e.parseArg?a=this._callParseArg(e,a,i,p):null!==a&&e.variadic&&(a=e._concatValue(a,i)),null==a&&(a=!e.negate&&(!!e.isBoolean()||!!e.optional||"")),this.setOptionValueWithSource(t,a,o)};return this.on("option:"+a,a=>{let t=`error: option '${e.flags}' argument '${a}' is invalid.`;p(a,t,"cli")}),e.envVar&&this.on("optionEnv:"+a,a=>{let t=`error: option '${e.flags}' value '${a}' from env '${e.envVar}' is invalid.`;p(a,t,"env")}),this}_optionEx(e,a,t,p,o){if("object"==typeof a&&a instanceof m)throw Error("To add an Option object use addOption() instead of option() or requiredOption()");let i=this.createOption(a,t);if(i.makeOptionMandatory(!!e.mandatory),"function"==typeof p)i.default(o).argParser(p);else if(p instanceof RegExp){let e=p;p=(a,t)=>{let p=e.exec(a);return p?p[0]:t},i.default(o).argParser(p)}else i.default(p);return this.addOption(i)}option(e,a,t,p){return this._optionEx({},e,a,t,p)}requiredOption(e,a,t,p){return this._optionEx({mandatory:!0},e,a,t,p)}combineFlagAndOptionalValue(e=!0){return this._combineFlagAndOptionalValue=!!e,this}allowUnknownOption(e=!0){return this._allowUnknownOption=!!e,this}allowExcessArguments(e=!0){return this._allowExcessArguments=!!e,this}enablePositionalOptions(e=!0){return this._enablePositionalOptions=!!e,this}passThroughOptions(e=!0){return this._passThroughOptions=!!e,this._checkForBrokenPassThrough(),this}_checkForBrokenPassThrough(){if(this.parent&&this._passThroughOptions&&!this.parent._enablePositionalOptions)throw Error(`passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`)}storeOptionsAsProperties(e=!0){if(this.options.length)throw Error("call .storeOptionsAsProperties() before adding options");if(Object.keys(this._optionValues).length)throw Error("call .storeOptionsAsProperties() before setting option values");return this._storeOptionsAsProperties=!!e,this}getOptionValue(e){return this._storeOptionsAsProperties?this[e]:this._optionValues[e]}setOptionValue(e,a){return this.setOptionValueWithSource(e,a,void 0)}setOptionValueWithSource(e,a,t){return this._storeOptionsAsProperties?this[e]=a:this._optionValues[e]=a,this._optionValueSources[e]=t,this}getOptionValueSource(e){return this._optionValueSources[e]}getOptionValueSourceWithGlobals(e){let a;return this._getCommandAndAncestors().forEach(t=>{void 0!==t.getOptionValueSource(e)&&(a=t.getOptionValueSource(e))}),a}_prepareUserArgs(e,a){let t;if(void 0!==e&&!Array.isArray(e))throw Error("first parameter to parse must be array or undefined");if(a=a||{},void 0===e&&void 0===a.from){r.versions?.electron&&(a.from="electron");let e=r.execArgv??[];(e.includes("-e")||e.includes("--eval")||e.includes("-p")||e.includes("--print"))&&(a.from="eval")}switch(void 0===e&&(e=r.argv),this.rawArgs=e.slice(),a.from){case void 0:case"node":this._scriptPath=e[1],t=e.slice(2);break;case"electron":r.defaultApp?(this._scriptPath=e[1],t=e.slice(2)):t=e.slice(1);break;case"user":t=e.slice(0);break;case"eval":t=e.slice(1);break;default:throw Error(`unexpected parse option { from: '${a.from}' }`)}return!this._name&&this._scriptPath&&this.nameFromFilename(this._scriptPath),this._name=this._name||"program",t}parse(e,a){let t=this._prepareUserArgs(e,a);return this._parseCommand([],t),this}async parseAsync(e,a){let t=this._prepareUserArgs(e,a);return await this._parseCommand([],t),this}_executeSubCommand(e,a){let t;a=a.slice();let p=!1,n=[".js",".ts",".tsx",".mjs",".cjs"];function l(e,a){let t=i.resolve(e,a);if(d.existsSync(t))return t;if(n.includes(i.extname(a)))return;let p=n.find(e=>d.existsSync(`${t}${e}`));if(p)return`${t}${p}`}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let u=e._executableFile||`${this._name}-${e._name}`,m=this._executableDir||"";if(this._scriptPath){let e;try{e=d.realpathSync(this._scriptPath)}catch(a){e=this._scriptPath}m=i.resolve(i.dirname(e),m)}if(m){let a=l(m,u);if(!a&&!e._executableFile&&this._scriptPath){let t=i.basename(this._scriptPath,i.extname(this._scriptPath));t!==this._name&&(a=l(m,`${t}-${e._name}`))}u=a||u}p=n.includes(i.extname(u)),"win32"!==r.platform?p?(a.unshift(u),a=v(r.execArgv).concat(a),t=o.spawn(r.argv[0],a,{stdio:"inherit"})):t=o.spawn(u,a,{stdio:"inherit"}):(a.unshift(u),a=v(r.execArgv).concat(a),t=o.spawn(r.execPath,a,{stdio:"inherit"})),t.killed||["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach(e=>{r.on(e,()=>{!1===t.killed&&null===t.exitCode&&t.kill(e)})});let c=this._exitCallback;t.on("close",e=>{e=e??1,c?c(new s(e,"commander.executeSubCommandAsync","(close)")):r.exit(e)}),t.on("error",a=>{if("ENOENT"===a.code){let a=m?`searched for local subcommand relative to directory '${m}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory";throw Error(`'${u}' does not exist
5
8
  - if '${e._name}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
6
9
  - if the default executable name is not suitable, use the executableFile option to supply a custom name or path
7
- - ${t}`)}if("EACCES"===t.code)throw Error(`'${d}' not executable`);if(f){let e=new c(1,"commander.executeSubCommandAsync","(error)");e.nestedError=t,f(e)}else s.exit(1)}),this.runningCommand=o}_dispatchSubcommand(e,t,o){let r,n=this._findCommand(e);return n||this.help({error:!0}),r=this._chainOrCallSubCommandHook(r,n,"preSubcommand"),r=this._chainOrCall(r,()=>{if(!n._executableHandler)return n._parseCommand(t,o);this._executeSubCommand(n,t.concat(o))})}_dispatchHelpCommand(e){e||this.help();let t=this._findCommand(e);return t&&!t._executableHandler&&t.help(),this._dispatchSubcommand(e,[],[this._getHelpOption()?.long??this._getHelpOption()?.short??"--help"])}_checkNumberOfArguments(){this.registeredArguments.forEach((e,t)=>{e.required&&null==this.args[t]&&this.missingArgument(e.name())}),this.registeredArguments.length>0&&this.registeredArguments[this.registeredArguments.length-1].variadic||this.args.length>this.registeredArguments.length&&this._excessArguments(this.args)}_processArguments(){let e=(e,t,o)=>{let r=t;if(null!==t&&e.parseArg){let n=`error: command-argument value '${t}' is invalid for argument '${e.name()}'.`;r=this._callParseArg(e,t,o,n)}return r};this._checkNumberOfArguments();let t=[];this.registeredArguments.forEach((o,r)=>{let n=o.defaultValue;o.variadic?r<this.args.length?(n=this.args.slice(r),o.parseArg&&(n=n.reduce((t,r)=>e(o,r,t),o.defaultValue))):void 0===n&&(n=[]):r<this.args.length&&(n=this.args[r],o.parseArg&&(n=e(o,n,o.defaultValue))),t[r]=n}),this.processedArgs=t}_chainOrCall(e,t){return e&&e.then&&"function"==typeof e.then?e.then(()=>t()):t()}_chainOrCallHooks(e,t){let o=e,r=[];return this._getCommandAndAncestors().reverse().filter(e=>void 0!==e._lifeCycleHooks[t]).forEach(e=>{e._lifeCycleHooks[t].forEach(t=>{r.push({hookedCommand:e,callback:t})})}),"postAction"===t&&r.reverse(),r.forEach(e=>{o=this._chainOrCall(o,()=>e.callback(e.hookedCommand,this))}),o}_chainOrCallSubCommandHook(e,t,o){let r=e;return void 0!==this._lifeCycleHooks[o]&&this._lifeCycleHooks[o].forEach(e=>{r=this._chainOrCall(r,()=>e(this,t))}),r}_parseCommand(e,t){let o=this.parseOptions(t);if(this._parseOptionsEnv(),this._parseOptionsImplied(),e=e.concat(o.operands),t=o.unknown,this.args=e.concat(t),e&&this._findCommand(e[0]))return this._dispatchSubcommand(e[0],e.slice(1),t);if(this._getHelpCommand()&&e[0]===this._getHelpCommand().name())return this._dispatchHelpCommand(e[1]);if(this._defaultCommandName)return this._outputHelpIfRequested(t),this._dispatchSubcommand(this._defaultCommandName,e,t);!this.commands.length||0!==this.args.length||this._actionHandler||this._defaultCommandName||this.help({error:!0}),this._outputHelpIfRequested(o.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let r=()=>{o.unknown.length>0&&this.unknownOption(o.unknown[0])},n=`command:${this.name()}`;if(this._actionHandler){let o;return r(),this._processArguments(),o=this._chainOrCallHooks(o,"preAction"),o=this._chainOrCall(o,()=>this._actionHandler(this.processedArgs)),this.parent&&(o=this._chainOrCall(o,()=>{this.parent.emit(n,e,t)})),o=this._chainOrCallHooks(o,"postAction")}if(this.parent&&this.parent.listenerCount(n))r(),this._processArguments(),this.parent.emit(n,e,t);else if(e.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",e,t);this.listenerCount("command:*")?this.emit("command:*",e,t):this.commands.length?this.unknownCommand():(r(),this._processArguments())}else this.commands.length?(r(),this.help({error:!0})):(r(),this._processArguments())}_findCommand(e){if(e)return this.commands.find(t=>t._name===e||t._aliases.includes(e))}_findOption(e){return this.options.find(t=>t.is(e))}_checkForMissingMandatoryOptions(){this._getCommandAndAncestors().forEach(e=>{e.options.forEach(t=>{t.mandatory&&void 0===e.getOptionValue(t.attributeName())&&e.missingMandatoryOptionValue(t)})})}_checkForConflictingLocalOptions(){let e=this.options.filter(e=>{let t=e.attributeName();return void 0!==this.getOptionValue(t)&&"default"!==this.getOptionValueSource(t)});e.filter(e=>e.conflictsWith.length>0).forEach(t=>{let o=e.find(e=>t.conflictsWith.includes(e.attributeName()));o&&this._conflictingOption(t,o)})}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach(e=>{e._checkForConflictingLocalOptions()})}parseOptions(e){let t=[],o=[],r=t,n=e.slice();function i(e){return e.length>1&&"-"===e[0]}let a=null;for(;n.length;){let e=n.shift();if("--"===e){r===o&&r.push(e),r.push(...n);break}if(a&&!i(e)){this.emit(`option:${a.name()}`,e);continue}if(a=null,i(e)){let t=this._findOption(e);if(t){if(t.required){let e=n.shift();void 0===e&&this.optionMissingArgument(t),this.emit(`option:${t.name()}`,e)}else if(t.optional){let e=null;n.length>0&&!i(n[0])&&(e=n.shift()),this.emit(`option:${t.name()}`,e)}else this.emit(`option:${t.name()}`);a=t.variadic?t:null;continue}}if(e.length>2&&"-"===e[0]&&"-"!==e[1]){let t=this._findOption(`-${e[1]}`);if(t){t.required||t.optional&&this._combineFlagAndOptionalValue?this.emit(`option:${t.name()}`,e.slice(2)):(this.emit(`option:${t.name()}`),n.unshift(`-${e.slice(2)}`));continue}}if(/^--[^=]+=/.test(e)){let t=e.indexOf("="),o=this._findOption(e.slice(0,t));if(o&&(o.required||o.optional)){this.emit(`option:${o.name()}`,e.slice(t+1));continue}}if(i(e)&&(r=o),(this._enablePositionalOptions||this._passThroughOptions)&&0===t.length&&0===o.length){if(this._findCommand(e)){t.push(e),n.length>0&&o.push(...n);break}else if(this._getHelpCommand()&&e===this._getHelpCommand().name()){t.push(e),n.length>0&&t.push(...n);break}else if(this._defaultCommandName){o.push(e),n.length>0&&o.push(...n);break}}if(this._passThroughOptions){r.push(e),n.length>0&&r.push(...n);break}r.push(e)}return{operands:t,unknown:o}}opts(){if(this._storeOptionsAsProperties){let e={},t=this.options.length;for(let o=0;o<t;o++){let t=this.options[o].attributeName();e[t]=t===this._versionOptionName?this._version:this[t]}return e}return this._optionValues}optsWithGlobals(){return this._getCommandAndAncestors().reduce((e,t)=>Object.assign(e,t.opts()),{})}error(e,t){this._outputConfiguration.outputError(`${e}
10
+ - ${a}`)}if("EACCES"===a.code)throw Error(`'${u}' not executable`);if(c){let e=new s(1,"commander.executeSubCommandAsync","(error)");e.nestedError=a,c(e)}else r.exit(1)}),this.runningCommand=t}_dispatchSubcommand(e,a,t){let p,o=this._findCommand(e);return o||this.help({error:!0}),p=this._chainOrCallSubCommandHook(p,o,"preSubcommand"),p=this._chainOrCall(p,()=>{if(!o._executableHandler)return o._parseCommand(a,t);this._executeSubCommand(o,a.concat(t))})}_dispatchHelpCommand(e){e||this.help();let a=this._findCommand(e);return a&&!a._executableHandler&&a.help(),this._dispatchSubcommand(e,[],[this._getHelpOption()?.long??this._getHelpOption()?.short??"--help"])}_checkNumberOfArguments(){this.registeredArguments.forEach((e,a)=>{e.required&&null==this.args[a]&&this.missingArgument(e.name())}),this.registeredArguments.length>0&&this.registeredArguments[this.registeredArguments.length-1].variadic||this.args.length>this.registeredArguments.length&&this._excessArguments(this.args)}_processArguments(){let e=(e,a,t)=>{let p=a;if(null!==a&&e.parseArg){let o=`error: command-argument value '${a}' is invalid for argument '${e.name()}'.`;p=this._callParseArg(e,a,t,o)}return p};this._checkNumberOfArguments();let a=[];this.registeredArguments.forEach((t,p)=>{let o=t.defaultValue;t.variadic?p<this.args.length?(o=this.args.slice(p),t.parseArg&&(o=o.reduce((a,p)=>e(t,p,a),t.defaultValue))):void 0===o&&(o=[]):p<this.args.length&&(o=this.args[p],t.parseArg&&(o=e(t,o,t.defaultValue))),a[p]=o}),this.processedArgs=a}_chainOrCall(e,a){return e&&e.then&&"function"==typeof e.then?e.then(()=>a()):a()}_chainOrCallHooks(e,a){let t=e,p=[];return this._getCommandAndAncestors().reverse().filter(e=>void 0!==e._lifeCycleHooks[a]).forEach(e=>{e._lifeCycleHooks[a].forEach(a=>{p.push({hookedCommand:e,callback:a})})}),"postAction"===a&&p.reverse(),p.forEach(e=>{t=this._chainOrCall(t,()=>e.callback(e.hookedCommand,this))}),t}_chainOrCallSubCommandHook(e,a,t){let p=e;return void 0!==this._lifeCycleHooks[t]&&this._lifeCycleHooks[t].forEach(e=>{p=this._chainOrCall(p,()=>e(this,a))}),p}_parseCommand(e,a){let t=this.parseOptions(a);if(this._parseOptionsEnv(),this._parseOptionsImplied(),e=e.concat(t.operands),a=t.unknown,this.args=e.concat(a),e&&this._findCommand(e[0]))return this._dispatchSubcommand(e[0],e.slice(1),a);if(this._getHelpCommand()&&e[0]===this._getHelpCommand().name())return this._dispatchHelpCommand(e[1]);if(this._defaultCommandName)return this._outputHelpIfRequested(a),this._dispatchSubcommand(this._defaultCommandName,e,a);!this.commands.length||0!==this.args.length||this._actionHandler||this._defaultCommandName||this.help({error:!0}),this._outputHelpIfRequested(t.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let p=()=>{t.unknown.length>0&&this.unknownOption(t.unknown[0])},o=`command:${this.name()}`;if(this._actionHandler){let t;return p(),this._processArguments(),t=this._chainOrCallHooks(t,"preAction"),t=this._chainOrCall(t,()=>this._actionHandler(this.processedArgs)),this.parent&&(t=this._chainOrCall(t,()=>{this.parent.emit(o,e,a)})),t=this._chainOrCallHooks(t,"postAction")}if(this.parent&&this.parent.listenerCount(o))p(),this._processArguments(),this.parent.emit(o,e,a);else if(e.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",e,a);this.listenerCount("command:*")?this.emit("command:*",e,a):this.commands.length?this.unknownCommand():(p(),this._processArguments())}else this.commands.length?(p(),this.help({error:!0})):(p(),this._processArguments())}_findCommand(e){if(e)return this.commands.find(a=>a._name===e||a._aliases.includes(e))}_findOption(e){return this.options.find(a=>a.is(e))}_checkForMissingMandatoryOptions(){this._getCommandAndAncestors().forEach(e=>{e.options.forEach(a=>{a.mandatory&&void 0===e.getOptionValue(a.attributeName())&&e.missingMandatoryOptionValue(a)})})}_checkForConflictingLocalOptions(){let e=this.options.filter(e=>{let a=e.attributeName();return void 0!==this.getOptionValue(a)&&"default"!==this.getOptionValueSource(a)});e.filter(e=>e.conflictsWith.length>0).forEach(a=>{let t=e.find(e=>a.conflictsWith.includes(e.attributeName()));t&&this._conflictingOption(a,t)})}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach(e=>{e._checkForConflictingLocalOptions()})}parseOptions(e){let a=[],t=[],p=a,o=e.slice();function i(e){return e.length>1&&"-"===e[0]}let d=null;for(;o.length;){let e=o.shift();if("--"===e){p===t&&p.push(e),p.push(...o);break}if(d&&!i(e)){this.emit(`option:${d.name()}`,e);continue}if(d=null,i(e)){let a=this._findOption(e);if(a){if(a.required){let e=o.shift();void 0===e&&this.optionMissingArgument(a),this.emit(`option:${a.name()}`,e)}else if(a.optional){let e=null;o.length>0&&!i(o[0])&&(e=o.shift()),this.emit(`option:${a.name()}`,e)}else this.emit(`option:${a.name()}`);d=a.variadic?a:null;continue}}if(e.length>2&&"-"===e[0]&&"-"!==e[1]){let a=this._findOption(`-${e[1]}`);if(a){a.required||a.optional&&this._combineFlagAndOptionalValue?this.emit(`option:${a.name()}`,e.slice(2)):(this.emit(`option:${a.name()}`),o.unshift(`-${e.slice(2)}`));continue}}if(/^--[^=]+=/.test(e)){let a=e.indexOf("="),t=this._findOption(e.slice(0,a));if(t&&(t.required||t.optional)){this.emit(`option:${t.name()}`,e.slice(a+1));continue}}if(i(e)&&(p=t),(this._enablePositionalOptions||this._passThroughOptions)&&0===a.length&&0===t.length){if(this._findCommand(e)){a.push(e),o.length>0&&t.push(...o);break}else if(this._getHelpCommand()&&e===this._getHelpCommand().name()){a.push(e),o.length>0&&a.push(...o);break}else if(this._defaultCommandName){t.push(e),o.length>0&&t.push(...o);break}}if(this._passThroughOptions){p.push(e),o.length>0&&p.push(...o);break}p.push(e)}return{operands:a,unknown:t}}opts(){if(this._storeOptionsAsProperties){let e={},a=this.options.length;for(let t=0;t<a;t++){let a=this.options[t].attributeName();e[a]=a===this._versionOptionName?this._version:this[a]}return e}return this._optionValues}optsWithGlobals(){return this._getCommandAndAncestors().reduce((e,a)=>Object.assign(e,a.opts()),{})}error(e,a){this._outputConfiguration.outputError(`${e}
8
11
  `,this._outputConfiguration.writeErr),"string"==typeof this._showHelpAfterError?this._outputConfiguration.writeErr(`${this._showHelpAfterError}
9
- `):this._showHelpAfterError&&(this._outputConfiguration.writeErr("\n"),this.outputHelp({error:!0}));let o=t||{},r=o.exitCode||1,n=o.code||"commander.error";this._exit(r,n,e)}_parseOptionsEnv(){this.options.forEach(e=>{if(e.envVar&&e.envVar in s.env){let t=e.attributeName();(void 0===this.getOptionValue(t)||["default","config","env"].includes(this.getOptionValueSource(t)))&&(e.required||e.optional?this.emit(`optionEnv:${e.name()}`,s.env[e.envVar]):this.emit(`optionEnv:${e.name()}`))}})}_parseOptionsImplied(){let e=new f(this.options),t=e=>void 0!==this.getOptionValue(e)&&!["default","implied"].includes(this.getOptionValueSource(e));this.options.filter(o=>void 0!==o.implied&&t(o.attributeName())&&e.valueFromOption(this.getOptionValue(o.attributeName()),o)).forEach(e=>{Object.keys(e.implied).filter(e=>!t(e)).forEach(t=>{this.setOptionValueWithSource(t,e.implied[t],"implied")})})}missingArgument(e){let t=`error: missing required argument '${e}'`;this.error(t,{code:"commander.missingArgument"})}optionMissingArgument(e){let t=`error: option '${e.flags}' argument missing`;this.error(t,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(e){let t=`error: required option '${e.flags}' not specified`;this.error(t,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(e,t){let o=e=>{let t=e.attributeName(),o=this.getOptionValue(t),r=this.options.find(e=>e.negate&&t===e.attributeName()),n=this.options.find(e=>!e.negate&&t===e.attributeName());return r&&(void 0===r.presetArg&&!1===o||void 0!==r.presetArg&&o===r.presetArg)?r:n||e},r=e=>{let t=o(e),r=t.attributeName();return"env"===this.getOptionValueSource(r)?`environment variable '${t.envVar}'`:`option '${t.flags}'`},n=`error: ${r(e)} cannot be used with ${r(t)}`;this.error(n,{code:"commander.conflictingOption"})}unknownOption(e){if(this._allowUnknownOption)return;let t="";if(e.startsWith("--")&&this._showSuggestionAfterError){let o=[],r=this;do{let e=r.createHelp().visibleOptions(r).filter(e=>e.long).map(e=>e.long);o=o.concat(e),r=r.parent}while(r&&!r._enablePositionalOptions);t=g(e,o)}let o=`error: unknown option '${e}'${t}`;this.error(o,{code:"commander.unknownOption"})}_excessArguments(e){if(this._allowExcessArguments)return;let t=this.registeredArguments.length,o=this.parent?` for '${this.name()}'`:"",r=`error: too many arguments${o}. Expected ${t} argument${1===t?"":"s"} but got ${e.length}.`;this.error(r,{code:"commander.excessArguments"})}unknownCommand(){let e=this.args[0],t="";if(this._showSuggestionAfterError){let o=[];this.createHelp().visibleCommands(this).forEach(e=>{o.push(e.name()),e.alias()&&o.push(e.alias())}),t=g(e,o)}let o=`error: unknown command '${e}'${t}`;this.error(o,{code:"commander.unknownCommand"})}version(e,t,o){if(void 0===e)return this._version;this._version=e,t=t||"-V, --version",o=o||"output the version number";let r=this.createOption(t,o);return this._versionOptionName=r.attributeName(),this._registerOption(r),this.on("option:"+r.name(),()=>{this._outputConfiguration.writeOut(`${e}
10
- `),this._exit(0,"commander.version",e)}),this}description(e,t){return void 0===e&&void 0===t?this._description:(this._description=e,t&&(this._argsDescription=t),this)}summary(e){return void 0===e?this._summary:(this._summary=e,this)}alias(e){if(void 0===e)return this._aliases[0];let t=this;if(0!==this.commands.length&&this.commands[this.commands.length-1]._executableHandler&&(t=this.commands[this.commands.length-1]),e===t._name)throw Error("Command alias can't be the same as its name");let o=this.parent?._findCommand(e);if(o){let t=[o.name()].concat(o.aliases()).join("|");throw Error(`cannot add alias '${e}' to command '${this.name()}' as already have command '${t}'`)}return t._aliases.push(e),this}aliases(e){return void 0===e?this._aliases:(e.forEach(e=>this.alias(e)),this)}usage(e){if(void 0===e){if(this._usage)return this._usage;let e=this.registeredArguments.map(e=>u(e));return[].concat(this.options.length||null!==this._helpOption?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?e:[]).join(" ")}return this._usage=e,this}name(e){return void 0===e?this._name:(this._name=e,this)}nameFromFilename(e){return this._name=i.basename(e,i.extname(e)),this}executableDir(e){return void 0===e?this._executableDir:(this._executableDir=e,this)}helpInformation(e){let t=this.createHelp();return void 0===t.helpWidth&&(t.helpWidth=e&&e.error?this._outputConfiguration.getErrHelpWidth():this._outputConfiguration.getOutHelpWidth()),t.formatHelp(this,t)}_getHelpContext(e){let t,o={error:!!(e=e||{}).error};return t=o.error?e=>this._outputConfiguration.writeErr(e):e=>this._outputConfiguration.writeOut(e),o.write=e.write||t,o.command=this,o}outputHelp(e){let t;"function"==typeof e&&(t=e,e=void 0);let o=this._getHelpContext(e);this._getCommandAndAncestors().reverse().forEach(e=>e.emit("beforeAllHelp",o)),this.emit("beforeHelp",o);let r=this.helpInformation(o);if(t&&"string"!=typeof(r=t(r))&&!Buffer.isBuffer(r))throw Error("outputHelp callback must return a string or a Buffer");o.write(r),this._getHelpOption()?.long&&this.emit(this._getHelpOption().long),this.emit("afterHelp",o),this._getCommandAndAncestors().forEach(e=>e.emit("afterAllHelp",o))}helpOption(e,t){return"boolean"==typeof e?e?this._helpOption=this._helpOption??void 0:this._helpOption=null:(e=e??"-h, --help",t=t??"display help for command",this._helpOption=this.createOption(e,t)),this}_getHelpOption(){return void 0===this._helpOption&&this.helpOption(void 0,void 0),this._helpOption}addHelpOption(e){return this._helpOption=e,this}help(e){this.outputHelp(e);let t=s.exitCode||0;0===t&&e&&"function"!=typeof e&&e.error&&(t=1),this._exit(t,"commander.help","(outputHelp)")}addHelpText(e,t){let o=["beforeAll","before","after","afterAll"];if(!o.includes(e))throw Error(`Unexpected value for position to addHelpText.
11
- Expecting one of '${o.join("', '")}'`);let r=`${e}Help`;return this.on(r,e=>{let o;(o="function"==typeof t?t({error:e.error,command:e.command}):t)&&e.write(`${o}
12
- `)}),this}_outputHelpIfRequested(e){let t=this._getHelpOption();t&&e.find(e=>t.is(e))&&(this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)"))}}function m(e){return e.map(e=>{let t,o;if(!e.startsWith("--inspect"))return e;let r="127.0.0.1",n="9229";return(null!==(o=e.match(/^(--inspect(-brk)?)$/))?t=o[1]:null!==(o=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))?(t=o[1],/^\d+$/.test(o[3])?n=o[3]:r=o[3]):null!==(o=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))&&(t=o[1],r=o[3],n=o[4]),t&&"0"!==n)?`${t}=${r}:${parseInt(n)+1}`:e})}t.Command=h},43823(e,t){class o extends Error{constructor(e,t,o){super(o),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=t,this.exitCode=e,this.nestedError=void 0}}t.CommanderError=o,t.InvalidArgumentError=class extends o{constructor(e){super(1,"commander.invalidArgument",e),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}},99690(e,t,o){let{humanReadableArgName:r}=o(41762);t.Help=class{constructor(){this.helpWidth=void 0,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}visibleCommands(e){let t=e.commands.filter(e=>!e._hidden),o=e._getHelpCommand();return o&&!o._hidden&&t.push(o),this.sortSubcommands&&t.sort((e,t)=>e.name().localeCompare(t.name())),t}compareOptions(e,t){let o=e=>e.short?e.short.replace(/^-/,""):e.long.replace(/^--/,"");return o(e).localeCompare(o(t))}visibleOptions(e){let t=e.options.filter(e=>!e.hidden),o=e._getHelpOption();if(o&&!o.hidden){let r=o.short&&e._findOption(o.short),n=o.long&&e._findOption(o.long);r||n?o.long&&!n?t.push(e.createOption(o.long,o.description)):o.short&&!r&&t.push(e.createOption(o.short,o.description)):t.push(o)}return this.sortOptions&&t.sort(this.compareOptions),t}visibleGlobalOptions(e){if(!this.showGlobalOptions)return[];let t=[];for(let o=e.parent;o;o=o.parent){let e=o.options.filter(e=>!e.hidden);t.push(...e)}return this.sortOptions&&t.sort(this.compareOptions),t}visibleArguments(e){return(e._argsDescription&&e.registeredArguments.forEach(t=>{t.description=t.description||e._argsDescription[t.name()]||""}),e.registeredArguments.find(e=>e.description))?e.registeredArguments:[]}subcommandTerm(e){let t=e.registeredArguments.map(e=>r(e)).join(" ");return e._name+(e._aliases[0]?"|"+e._aliases[0]:"")+(e.options.length?" [options]":"")+(t?" "+t:"")}optionTerm(e){return e.flags}argumentTerm(e){return e.name()}longestSubcommandTermLength(e,t){return t.visibleCommands(e).reduce((e,o)=>Math.max(e,t.subcommandTerm(o).length),0)}longestOptionTermLength(e,t){return t.visibleOptions(e).reduce((e,o)=>Math.max(e,t.optionTerm(o).length),0)}longestGlobalOptionTermLength(e,t){return t.visibleGlobalOptions(e).reduce((e,o)=>Math.max(e,t.optionTerm(o).length),0)}longestArgumentTermLength(e,t){return t.visibleArguments(e).reduce((e,o)=>Math.max(e,t.argumentTerm(o).length),0)}commandUsage(e){let t=e._name;e._aliases[0]&&(t=t+"|"+e._aliases[0]);let o="";for(let t=e.parent;t;t=t.parent)o=t.name()+" "+o;return o+t+" "+e.usage()}commandDescription(e){return e.description()}subcommandDescription(e){return e.summary()||e.description()}optionDescription(e){let t=[];return(e.argChoices&&t.push(`choices: ${e.argChoices.map(e=>JSON.stringify(e)).join(", ")}`),void 0!==e.defaultValue&&(e.required||e.optional||e.isBoolean()&&"boolean"==typeof e.defaultValue)&&t.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),void 0!==e.presetArg&&e.optional&&t.push(`preset: ${JSON.stringify(e.presetArg)}`),void 0!==e.envVar&&t.push(`env: ${e.envVar}`),t.length>0)?`${e.description} (${t.join(", ")})`:e.description}argumentDescription(e){let t=[];if(e.argChoices&&t.push(`choices: ${e.argChoices.map(e=>JSON.stringify(e)).join(", ")}`),void 0!==e.defaultValue&&t.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),t.length>0){let o=`(${t.join(", ")})`;return e.description?`${e.description} ${o}`:o}return e.description}formatHelp(e,t){let o=t.padWidth(e,t),r=t.helpWidth||80;function n(e,n){if(n){let i=`${e.padEnd(o+2)}${n}`;return t.wrap(i,r-2,o+2)}return e}function i(e){return e.join("\n").replace(/^/gm," ".repeat(2))}let a=[`Usage: ${t.commandUsage(e)}`,""],s=t.commandDescription(e);s.length>0&&(a=a.concat([t.wrap(s,r,0),""]));let l=t.visibleArguments(e).map(e=>n(t.argumentTerm(e),t.argumentDescription(e)));l.length>0&&(a=a.concat(["Arguments:",i(l),""]));let u=t.visibleOptions(e).map(e=>n(t.optionTerm(e),t.optionDescription(e)));if(u.length>0&&(a=a.concat(["Options:",i(u),""])),this.showGlobalOptions){let o=t.visibleGlobalOptions(e).map(e=>n(t.optionTerm(e),t.optionDescription(e)));o.length>0&&(a=a.concat(["Global Options:",i(o),""]))}let c=t.visibleCommands(e).map(e=>n(t.subcommandTerm(e),t.subcommandDescription(e)));return c.length>0&&(a=a.concat(["Commands:",i(c),""])),a.join("\n")}padWidth(e,t){return Math.max(t.longestOptionTermLength(e,t),t.longestGlobalOptionTermLength(e,t),t.longestSubcommandTermLength(e,t),t.longestArgumentTermLength(e,t))}wrap(e,t,o,r=40){let n=RegExp("[\\n][ \\f\\t\\v\xa0  -    \uFEFF]+");if(e.match(n))return e;let i=t-o;if(i<r)return e;let a=e.slice(0,o),s=e.slice(o).replace("\r\n","\n"),l=" ".repeat(o),u="\\s​",c=RegExp(`
13
- |.{1,${i-1}}([${u}]|$)|[^${u}]+?([${u}]|$)`,"g");return a+(s.match(c)||[]).map((e,t)=>"\n"===e?"":(t>0?l:"")+e.trimEnd()).join("\n")}}},92088(e,t,o){let{InvalidArgumentError:r}=o(43823);t.Option=class{constructor(e,t){let o,r,n;this.flags=e,this.description=t||"",this.required=e.includes("<"),this.optional=e.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test(e),this.mandatory=!1;let i=((n=e.split(/[ |,]+/)).length>1&&!/^[[<]/.test(n[1])&&(o=n.shift()),r=n.shift(),!o&&/^-[^-]$/.test(r)&&(o=r,r=void 0),{shortFlag:o,longFlag:r});this.short=i.shortFlag,this.long=i.longFlag,this.negate=!1,this.long&&(this.negate=this.long.startsWith("--no-")),this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0}default(e,t){return this.defaultValue=e,this.defaultValueDescription=t,this}preset(e){return this.presetArg=e,this}conflicts(e){return this.conflictsWith=this.conflictsWith.concat(e),this}implies(e){let t=e;return"string"==typeof e&&(t={[e]:!0}),this.implied=Object.assign(this.implied||{},t),this}env(e){return this.envVar=e,this}argParser(e){return this.parseArg=e,this}makeOptionMandatory(e=!0){return this.mandatory=!!e,this}hideHelp(e=!0){return this.hidden=!!e,this}_concatValue(e,t){return t!==this.defaultValue&&Array.isArray(t)?t.concat(e):[e]}choices(e){return this.argChoices=e.slice(),this.parseArg=(e,t)=>{if(!this.argChoices.includes(e))throw new r(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(e,t):e},this}name(){return this.long?this.long.replace(/^--/,""):this.short.replace(/^-/,"")}attributeName(){return this.name().replace(/^no-/,"").split("-").reduce((e,t)=>e+t[0].toUpperCase()+t.slice(1))}is(e){return this.short===e||this.long===e}isBoolean(){return!this.required&&!this.optional&&!this.negate}},t.DualOptions=class{constructor(e){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,e.forEach(e=>{e.negate?this.negativeOptions.set(e.attributeName(),e):this.positiveOptions.set(e.attributeName(),e)}),this.negativeOptions.forEach((e,t)=>{this.positiveOptions.has(t)&&this.dualOptions.add(t)})}valueFromOption(e,t){let o=t.attributeName();if(!this.dualOptions.has(o))return!0;let r=this.negativeOptions.get(o).presetArg;return t.negate===((void 0!==r&&r)===e)}}},86054(e,t){t.suggestSimilar=function(e,t){if(!t||0===t.length)return"";t=Array.from(new Set(t));let o=e.startsWith("--");o&&(e=e.slice(2),t=t.map(e=>e.slice(2)));let r=[],n=3;return(t.forEach(t=>{if(t.length<=1)return;let o=function(e,t){if(Math.abs(e.length-t.length)>3)return Math.max(e.length,t.length);let o=[];for(let t=0;t<=e.length;t++)o[t]=[t];for(let e=0;e<=t.length;e++)o[0][e]=e;for(let r=1;r<=t.length;r++)for(let n=1;n<=e.length;n++){let i=1;i=+(e[n-1]!==t[r-1]),o[n][r]=Math.min(o[n-1][r]+1,o[n][r-1]+1,o[n-1][r-1]+i),n>1&&r>1&&e[n-1]===t[r-2]&&e[n-2]===t[r-1]&&(o[n][r]=Math.min(o[n][r],o[n-2][r-2]+1))}return o[e.length][t.length]}(e,t),i=Math.max(e.length,t.length);(i-o)/i>.4&&(o<n?(n=o,r=[t]):o===n&&r.push(t))}),r.sort((e,t)=>e.localeCompare(t)),o&&(r=r.map(e=>`--${e}`)),r.length>1)?`
14
- (Did you mean one of ${r.join(", ")}?)`:1===r.length?`
15
- (Did you mean ${r[0]}?)`:""}},98247(e,t,o){o.d(t,{v:()=>$});var r,n,i,a,s,l,u,c=o(99436),d=o(35679),p=o(73284),f=o(47988),g=o(94979),h=o(16928),m=o(79896);function D(e){function t(e){if(Object(e)!==e)return Promise.reject(TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then(function(e){return{value:e,done:t}})}return(D=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var o=this.s.return;return void 0===o?Promise.resolve({value:e,done:!0}):t(o.apply(this.s,arguments))},throw:function(e){var o=this.s.return;return void 0===o?Promise.reject(e):t(o.apply(this.s,arguments))}},new D(e)}var y=(r=c(function*(){return(yield Promise.resolve().then(o.bind(o,30155))).default}),function(){return r.apply(this,arguments)}),v=(n=c(function*(){return Promise.all([o.e(6370),o.e(5785),o.e(9583)]).then(o.bind(o,92642))}),function(){return n.apply(this,arguments)}),b=(i=c(function*(e){return(yield y())(e).start()}),function(e){return i.apply(this,arguments)}),F=(a=c(function*(){var e=(0,f.getCurrentProfile)(),t=(0,f.getToken)(e);return t||(console.error(p.default.red("Not logged in. Use `bricks auth login` first.")),process.exit(1)),(0,(yield v()).createActivityLogClient)((0,f.getActivityLogBaseUrl)(),t)}),function(){return a.apply(this,arguments)}),_=e=>new Date(e).toISOString().replace("T"," ").replace(/\.\d+Z$/,"Z"),C=(e,t)=>{if(!e)return"";var o="string"==typeof e?e:JSON.stringify(e);return o.length>t?o.slice(0,t-1)+"…":o},$=new d.uB("activity-log").alias("al").description("Activity log queries (read-only)");$.command("events").description("Query activity log events (all types)").requiredOption("--start-time <datetime>","Start time (ISO 8601 or relative: 1h, 30m, 2d)").option("--end-time <datetime>","End time (default: now)").option("--device <id>","Filter by device ID").option("--type <type>","Filter by event type: general, data, local_sync").option("--event-name <name>","Filter by event name").option("--subspace <id>","Filter by subspace ID").option("--sender <id>","Filter by sender").option("--limit <n>","Max events to display",parseInt).option("-j, --json","Output as JSON array").option("--jsonl","Output as JSONL (one JSON per line)").action((s=c(function*(e){var t=yield F(),o=(a=(0,g.p)(e.startTime),new Date(s=e.endTime?(0,g.p)(e.endTime):new Date().toISOString())-new Date(a)>2592e6&&(console.error(p.default.red("Time range must be 30 days or less")),process.exit(1)),l={start_time:a,end_time:s},e.device&&(l.device_id=e.device),e.type&&(l.event_type=e.type),e.eventName&&(l.event_name=e.eventName),e.subspace&&(l.subspace_id=e.subspace),e.sender&&(l.sender=e.sender),l);if(e.jsonl){var r=0;try{var n=!1,i=!1;try{for(var a,s,l,u,c,d=function(e){var t,o,r,n=2;for("u">typeof Symbol&&(o=Symbol.asyncIterator,r=Symbol.iterator);n--;){if(o&&null!=(t=e[o]))return t.call(e);if(r&&null!=(t=e[r]))return new D(t.call(e));o="@@asyncIterator",r="@@iterator"}throw TypeError("Object is not async iterable")}(t.events(o));n=!(c=yield d.next()).done;n=!1){var f=c.value;if(console.log(JSON.stringify(f)),r++,e.limit&&r>=e.limit)break}}catch(e){i=!0,u=e}finally{try{n&&null!=d.return&&(yield d.return())}finally{if(i)throw u}}}catch(e){console.error(p.default.red(`Failed to query events: ${e.message}`)),process.exit(1)}return}var h=yield b("Querying events...");try{var m=yield t.collectEvents(o,{limit:e.limit});if(h.stop(),e.json)return void console.log(JSON.stringify(m,null,2));if(0===m.length)return void console.log(p.default.yellow("No events found"));for(var y of(console.log(p.default.bold(`
16
- Activity Log Events (${m.length})`)),console.log("─".repeat(100)),console.log(p.default.gray(`${"Timestamp".padEnd(24)} ${"Type".padEnd(12)} ${"Device".padEnd(14)} ${"Event Name".padEnd(28)} ${"Sender".padEnd(16)} Payload`)),console.log("─".repeat(100)),m)){var v=_(y.timestamp),$=(y.event_type||"").padEnd(12),E=C(y.device_id,14).padEnd(14),w=C(y.event_name,28).padEnd(28),k=C(y.sender,16).padEnd(16),S=C(y.payload,40);console.log(`${v} ${$} ${E} ${w} ${k} ${p.default.gray(S)}`)}console.log("─".repeat(100))}catch(e){h.fail(`Failed to query events: ${e.message}`),process.exit(1)}}),function(e){return s.apply(this,arguments)})),$.command("screenshots").description("List screenshot timestamps for a device").requiredOption("--device <id>","Device ID (required)").requiredOption("--start-time <datetime>","Start time (ISO 8601 or relative: 1h, 30m, 2d)").option("--end-time <datetime>","End time (default: now)").option("-j, --json","Output as JSON").action((l=c(function*(e){var t=yield F(),o=(0,g.p)(e.startTime),r=e.endTime?(0,g.p)(e.endTime):new Date().toISOString();new Date(r)-new Date(o)>2592e6&&(console.error(p.default.red("Time range must be 30 days or less")),process.exit(1));var n={device_id:e.device,start_time:o,end_time:r},i=yield b("Querying screenshots...");try{var a=yield t.collectScreenshots(n);if(i.stop(),e.json)return void console.log(JSON.stringify(a,null,2));if(0===a.length)return void console.log(p.default.yellow("No screenshots found"));console.log(p.default.bold(`
17
- Screenshots (${a.length})`)),console.log("─".repeat(56)),console.log(p.default.gray(`${"#".padStart(4)} ${"Timestamp".padEnd(24)} --ts value`)),console.log("─".repeat(56)),a.forEach((e,t)=>{var o=new Date(e.timestamp).getTime();console.log(`${String(t+1).padStart(4)} ${_(e.timestamp).padEnd(24)} ${o}`)}),console.log("─".repeat(56))}catch(e){i.fail(`Failed to query screenshots: ${e.message}`),process.exit(1)}}),function(e){return l.apply(this,arguments)})),$.command("screenshot").description("Download a screenshot image").requiredOption("--device <id>","Device ID").requiredOption("--ts <timestamp>","Screenshot timestamp (ISO 8601 or epoch ms)").option("--space <id>","Workspace/space ID (auto-detected from profile)").option("-o, --output <path>","Output file path").option("--open","Open with OS default viewer after download").action((u=c(function*(e){var t,r,n=yield F(),i=e.space||(t=(0,f.getCurrentProfile)(),r=(0,f.getTokenInfo)(t),r?.workspaceId);i||(console.error(p.default.red("Could not determine workspace ID. Use --space <id> or log in first.")),process.exit(1));var a=/^\d+$/.test(e.ts)?e.ts:new Date(e.ts).getTime(),s=yield b("Downloading screenshot...");try{var l=yield n.downloadScreenshot(i,e.device,a);s.stop();var u=e.output||`screenshot-${e.device}-${a}.jpg`,c=h.resolve(u);m.writeFileSync(c,l);var d=(l.length/1024).toFixed(1);if(console.log(p.default.green(`✓ Screenshot saved: ${c} (${d} KB)`)),e.open){var g=(yield Promise.resolve().then(o.t.bind(o,35317,19))).exec,D="darwin"===process.platform?"open":"win32"===process.platform?"start":"xdg-open";g(`${D} "${c}"`)}}catch(e){s.fail(`Failed to download screenshot: ${e.message}`),process.exit(1)}}),function(e){return u.apply(this,arguments)}))},17422(e,t,o){o.d(t,{B:()=>j});var r,n,i,a,s,l,u,c,d,p,f,g,h,m,D,y,v,b=o(99436),F=o(35679),_=o(73284),C=o(30155),$=o(79896),E=o(44618),w=o(7586),k=o(56493),S=o(68168),x=o(74049),O=o(98593),A=(e,t)=>(0,O.H_)(e,t,{currentVersion:e?.current_version||null,unreleasedChanges:!!e?.has_unreleased_changes}),j=new F.uB("app").description("Application management");j.command("new").description("Create a new application").requiredOption("-n, --name <name>","Application name").option("-d, --description <description>","Application description").option("--layout-width <width>","Layout width",parseInt).option("--layout-height <height>","Layout height",parseInt).option("--init","Initialize a BRICKS Project after creation").option("-o, --output <dir>","Output directory for --init (default: current directory)").option("-y, --yes","Skip prompts for --init").option("-j, --json","Output as JSON").action((r=b(function*(e){var t=(0,k.requireAuth)(),r=e.json?null:(0,C.default)("Creating application...").start();try{var n={name:e.name};e.description&&(n.description=e.description),e.layoutWidth&&(n.layoutWidth=e.layoutWidth),e.layoutHeight&&(n.layoutHeight=e.layoutHeight);var i=yield t.createApplication(n);if(e.json&&!e.init?console.log(JSON.stringify(i,null,2)):!e.json&&(r.succeed(`Application created: ${_.default.green(i.name)}`),console.log(` ID: ${_.default.gray(i._id)}`),i.description&&console.log(` ${_.default.gray(i.description)}`)),e.init){r&&r.stop();var a=(yield Promise.all([o.e(5658),o.e(4456)]).then(o.bind(o,58891))).initProject;yield a("application",i._id,{output:e.output,yes:e.yes,json:e.json})}}catch(t){e.json?console.error(JSON.stringify({error:t.message})):r.fail(`Failed to create application: ${t.message}`),process.exit(1)}}),function(e){return r.apply(this,arguments)})),j.command("share-info <applicationId>").description("Show public share info (releases available for share-new) for an application").option("-j, --json","Output as JSON").action((n=b(function*(e,t){var o=(0,k.requireAuth)(),r=t.json?null:(0,C.default)("Fetching share info...").start();try{var n=yield o.publicApplicationShareInfo({id:e});if(r&&r.stop(),!n)return void(t.json?console.log(JSON.stringify(null)):console.log(_.default.yellow("No share info found for this application")));if(t.json)return void console.log(JSON.stringify(n,null,2));var i=[...n.share?.selected_releases||[]].sort((e,t)=>new Date(t.date||0)-new Date(e.date||0));console.log(_.default.bold(`
18
- Share Info: ${n.name||"Unnamed"}`)),console.log("─".repeat(60)),console.log(`App ID: ${_.default.gray(n._id)}`),n.description&&console.log(`Description: ${n.description}`),n.owner?.id_from_user&&console.log(`Owner: ${_.default.gray(n.owner.id_from_user)}`),n.share?.tags?.length&&console.log(`Tags: ${n.share.tags.join(", ")}`),n.share?.type&&console.log(`Type: ${n.share.type}`),console.log(`
12
+ `):this._showHelpAfterError&&(this._outputConfiguration.writeErr("\n"),this.outputHelp({error:!0}));let t=a||{},p=t.exitCode||1,o=t.code||"commander.error";this._exit(p,o,e)}_parseOptionsEnv(){this.options.forEach(e=>{if(e.envVar&&e.envVar in r.env){let a=e.attributeName();(void 0===this.getOptionValue(a)||["default","config","env"].includes(this.getOptionValueSource(a)))&&(e.required||e.optional?this.emit(`optionEnv:${e.name()}`,r.env[e.envVar]):this.emit(`optionEnv:${e.name()}`))}})}_parseOptionsImplied(){let e=new c(this.options),a=e=>void 0!==this.getOptionValue(e)&&!["default","implied"].includes(this.getOptionValueSource(e));this.options.filter(t=>void 0!==t.implied&&a(t.attributeName())&&e.valueFromOption(this.getOptionValue(t.attributeName()),t)).forEach(e=>{Object.keys(e.implied).filter(e=>!a(e)).forEach(a=>{this.setOptionValueWithSource(a,e.implied[a],"implied")})})}missingArgument(e){let a=`error: missing required argument '${e}'`;this.error(a,{code:"commander.missingArgument"})}optionMissingArgument(e){let a=`error: option '${e.flags}' argument missing`;this.error(a,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(e){let a=`error: required option '${e.flags}' not specified`;this.error(a,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(e,a){let t=e=>{let a=e.attributeName(),t=this.getOptionValue(a),p=this.options.find(e=>e.negate&&a===e.attributeName()),o=this.options.find(e=>!e.negate&&a===e.attributeName());return p&&(void 0===p.presetArg&&!1===t||void 0!==p.presetArg&&t===p.presetArg)?p:o||e},p=e=>{let a=t(e),p=a.attributeName();return"env"===this.getOptionValueSource(p)?`environment variable '${a.envVar}'`:`option '${a.flags}'`},o=`error: ${p(e)} cannot be used with ${p(a)}`;this.error(o,{code:"commander.conflictingOption"})}unknownOption(e){if(this._allowUnknownOption)return;let a="";if(e.startsWith("--")&&this._showSuggestionAfterError){let t=[],p=this;do{let e=p.createHelp().visibleOptions(p).filter(e=>e.long).map(e=>e.long);t=t.concat(e),p=p.parent}while(p&&!p._enablePositionalOptions);a=f(e,t)}let t=`error: unknown option '${e}'${a}`;this.error(t,{code:"commander.unknownOption"})}_excessArguments(e){if(this._allowExcessArguments)return;let a=this.registeredArguments.length,t=this.parent?` for '${this.name()}'`:"",p=`error: too many arguments${t}. Expected ${a} argument${1===a?"":"s"} but got ${e.length}.`;this.error(p,{code:"commander.excessArguments"})}unknownCommand(){let e=this.args[0],a="";if(this._showSuggestionAfterError){let t=[];this.createHelp().visibleCommands(this).forEach(e=>{t.push(e.name()),e.alias()&&t.push(e.alias())}),a=f(e,t)}let t=`error: unknown command '${e}'${a}`;this.error(t,{code:"commander.unknownCommand"})}version(e,a,t){if(void 0===e)return this._version;this._version=e,a=a||"-V, --version",t=t||"output the version number";let p=this.createOption(a,t);return this._versionOptionName=p.attributeName(),this._registerOption(p),this.on("option:"+p.name(),()=>{this._outputConfiguration.writeOut(`${e}
13
+ `),this._exit(0,"commander.version",e)}),this}description(e,a){return void 0===e&&void 0===a?this._description:(this._description=e,a&&(this._argsDescription=a),this)}summary(e){return void 0===e?this._summary:(this._summary=e,this)}alias(e){if(void 0===e)return this._aliases[0];let a=this;if(0!==this.commands.length&&this.commands[this.commands.length-1]._executableHandler&&(a=this.commands[this.commands.length-1]),e===a._name)throw Error("Command alias can't be the same as its name");let t=this.parent?._findCommand(e);if(t){let a=[t.name()].concat(t.aliases()).join("|");throw Error(`cannot add alias '${e}' to command '${this.name()}' as already have command '${a}'`)}return a._aliases.push(e),this}aliases(e){return void 0===e?this._aliases:(e.forEach(e=>this.alias(e)),this)}usage(e){if(void 0===e){if(this._usage)return this._usage;let e=this.registeredArguments.map(e=>l(e));return[].concat(this.options.length||null!==this._helpOption?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?e:[]).join(" ")}return this._usage=e,this}name(e){return void 0===e?this._name:(this._name=e,this)}nameFromFilename(e){return this._name=i.basename(e,i.extname(e)),this}executableDir(e){return void 0===e?this._executableDir:(this._executableDir=e,this)}helpInformation(e){let a=this.createHelp();return void 0===a.helpWidth&&(a.helpWidth=e&&e.error?this._outputConfiguration.getErrHelpWidth():this._outputConfiguration.getOutHelpWidth()),a.formatHelp(this,a)}_getHelpContext(e){let a,t={error:!!(e=e||{}).error};return a=t.error?e=>this._outputConfiguration.writeErr(e):e=>this._outputConfiguration.writeOut(e),t.write=e.write||a,t.command=this,t}outputHelp(e){let a;"function"==typeof e&&(a=e,e=void 0);let t=this._getHelpContext(e);this._getCommandAndAncestors().reverse().forEach(e=>e.emit("beforeAllHelp",t)),this.emit("beforeHelp",t);let p=this.helpInformation(t);if(a&&"string"!=typeof(p=a(p))&&!Buffer.isBuffer(p))throw Error("outputHelp callback must return a string or a Buffer");t.write(p),this._getHelpOption()?.long&&this.emit(this._getHelpOption().long),this.emit("afterHelp",t),this._getCommandAndAncestors().forEach(e=>e.emit("afterAllHelp",t))}helpOption(e,a){return"boolean"==typeof e?e?this._helpOption=this._helpOption??void 0:this._helpOption=null:(e=e??"-h, --help",a=a??"display help for command",this._helpOption=this.createOption(e,a)),this}_getHelpOption(){return void 0===this._helpOption&&this.helpOption(void 0,void 0),this._helpOption}addHelpOption(e){return this._helpOption=e,this}help(e){this.outputHelp(e);let a=r.exitCode||0;0===a&&e&&"function"!=typeof e&&e.error&&(a=1),this._exit(a,"commander.help","(outputHelp)")}addHelpText(e,a){let t=["beforeAll","before","after","afterAll"];if(!t.includes(e))throw Error(`Unexpected value for position to addHelpText.
14
+ Expecting one of '${t.join("', '")}'`);let p=`${e}Help`;return this.on(p,e=>{let t;(t="function"==typeof a?a({error:e.error,command:e.command}):a)&&e.write(`${t}
15
+ `)}),this}_outputHelpIfRequested(e){let a=this._getHelpOption();a&&e.find(e=>a.is(e))&&(this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)"))}}function v(e){return e.map(e=>{let a,t;if(!e.startsWith("--inspect"))return e;let p="127.0.0.1",o="9229";return(null!==(t=e.match(/^(--inspect(-brk)?)$/))?a=t[1]:null!==(t=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))?(a=t[1],/^\d+$/.test(t[3])?o=t[3]:p=t[3]):null!==(t=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))&&(a=t[1],p=t[3],o=t[4]),a&&"0"!==o)?`${a}=${p}:${parseInt(o)+1}`:e})}a.Command=h},43823(e,a){class t extends Error{constructor(e,a,t){super(t),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=a,this.exitCode=e,this.nestedError=void 0}}a.CommanderError=t,a.InvalidArgumentError=class extends t{constructor(e){super(1,"commander.invalidArgument",e),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}},99690(e,a,t){let{humanReadableArgName:p}=t(41762);a.Help=class{constructor(){this.helpWidth=void 0,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}visibleCommands(e){let a=e.commands.filter(e=>!e._hidden),t=e._getHelpCommand();return t&&!t._hidden&&a.push(t),this.sortSubcommands&&a.sort((e,a)=>e.name().localeCompare(a.name())),a}compareOptions(e,a){let t=e=>e.short?e.short.replace(/^-/,""):e.long.replace(/^--/,"");return t(e).localeCompare(t(a))}visibleOptions(e){let a=e.options.filter(e=>!e.hidden),t=e._getHelpOption();if(t&&!t.hidden){let p=t.short&&e._findOption(t.short),o=t.long&&e._findOption(t.long);p||o?t.long&&!o?a.push(e.createOption(t.long,t.description)):t.short&&!p&&a.push(e.createOption(t.short,t.description)):a.push(t)}return this.sortOptions&&a.sort(this.compareOptions),a}visibleGlobalOptions(e){if(!this.showGlobalOptions)return[];let a=[];for(let t=e.parent;t;t=t.parent){let e=t.options.filter(e=>!e.hidden);a.push(...e)}return this.sortOptions&&a.sort(this.compareOptions),a}visibleArguments(e){return(e._argsDescription&&e.registeredArguments.forEach(a=>{a.description=a.description||e._argsDescription[a.name()]||""}),e.registeredArguments.find(e=>e.description))?e.registeredArguments:[]}subcommandTerm(e){let a=e.registeredArguments.map(e=>p(e)).join(" ");return e._name+(e._aliases[0]?"|"+e._aliases[0]:"")+(e.options.length?" [options]":"")+(a?" "+a:"")}optionTerm(e){return e.flags}argumentTerm(e){return e.name()}longestSubcommandTermLength(e,a){return a.visibleCommands(e).reduce((e,t)=>Math.max(e,a.subcommandTerm(t).length),0)}longestOptionTermLength(e,a){return a.visibleOptions(e).reduce((e,t)=>Math.max(e,a.optionTerm(t).length),0)}longestGlobalOptionTermLength(e,a){return a.visibleGlobalOptions(e).reduce((e,t)=>Math.max(e,a.optionTerm(t).length),0)}longestArgumentTermLength(e,a){return a.visibleArguments(e).reduce((e,t)=>Math.max(e,a.argumentTerm(t).length),0)}commandUsage(e){let a=e._name;e._aliases[0]&&(a=a+"|"+e._aliases[0]);let t="";for(let a=e.parent;a;a=a.parent)t=a.name()+" "+t;return t+a+" "+e.usage()}commandDescription(e){return e.description()}subcommandDescription(e){return e.summary()||e.description()}optionDescription(e){let a=[];return(e.argChoices&&a.push(`choices: ${e.argChoices.map(e=>JSON.stringify(e)).join(", ")}`),void 0!==e.defaultValue&&(e.required||e.optional||e.isBoolean()&&"boolean"==typeof e.defaultValue)&&a.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),void 0!==e.presetArg&&e.optional&&a.push(`preset: ${JSON.stringify(e.presetArg)}`),void 0!==e.envVar&&a.push(`env: ${e.envVar}`),a.length>0)?`${e.description} (${a.join(", ")})`:e.description}argumentDescription(e){let a=[];if(e.argChoices&&a.push(`choices: ${e.argChoices.map(e=>JSON.stringify(e)).join(", ")}`),void 0!==e.defaultValue&&a.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),a.length>0){let t=`(${a.join(", ")})`;return e.description?`${e.description} ${t}`:t}return e.description}formatHelp(e,a){let t=a.padWidth(e,a),p=a.helpWidth||80;function o(e,o){if(o){let i=`${e.padEnd(t+2)}${o}`;return a.wrap(i,p-2,t+2)}return e}function i(e){return e.join("\n").replace(/^/gm," ".repeat(2))}let d=[`Usage: ${a.commandUsage(e)}`,""],r=a.commandDescription(e);r.length>0&&(d=d.concat([a.wrap(r,p,0),""]));let n=a.visibleArguments(e).map(e=>o(a.argumentTerm(e),a.argumentDescription(e)));n.length>0&&(d=d.concat(["Arguments:",i(n),""]));let l=a.visibleOptions(e).map(e=>o(a.optionTerm(e),a.optionDescription(e)));if(l.length>0&&(d=d.concat(["Options:",i(l),""])),this.showGlobalOptions){let t=a.visibleGlobalOptions(e).map(e=>o(a.optionTerm(e),a.optionDescription(e)));t.length>0&&(d=d.concat(["Global Options:",i(t),""]))}let s=a.visibleCommands(e).map(e=>o(a.subcommandTerm(e),a.subcommandDescription(e)));return s.length>0&&(d=d.concat(["Commands:",i(s),""])),d.join("\n")}padWidth(e,a){return Math.max(a.longestOptionTermLength(e,a),a.longestGlobalOptionTermLength(e,a),a.longestSubcommandTermLength(e,a),a.longestArgumentTermLength(e,a))}wrap(e,a,t,p=40){let o=RegExp("[\\n][ \\f\\t\\v\xa0  -    \uFEFF]+");if(e.match(o))return e;let i=a-t;if(i<p)return e;let d=e.slice(0,t),r=e.slice(t).replace("\r\n","\n"),n=" ".repeat(t),l="\\s​",s=RegExp(`
16
+ |.{1,${i-1}}([${l}]|$)|[^${l}]+?([${l}]|$)`,"g");return d+(r.match(s)||[]).map((e,a)=>"\n"===e?"":(a>0?n:"")+e.trimEnd()).join("\n")}}},92088(e,a,t){let{InvalidArgumentError:p}=t(43823);a.Option=class{constructor(e,a){let t,p,o;this.flags=e,this.description=a||"",this.required=e.includes("<"),this.optional=e.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test(e),this.mandatory=!1;let i=((o=e.split(/[ |,]+/)).length>1&&!/^[[<]/.test(o[1])&&(t=o.shift()),p=o.shift(),!t&&/^-[^-]$/.test(p)&&(t=p,p=void 0),{shortFlag:t,longFlag:p});this.short=i.shortFlag,this.long=i.longFlag,this.negate=!1,this.long&&(this.negate=this.long.startsWith("--no-")),this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0}default(e,a){return this.defaultValue=e,this.defaultValueDescription=a,this}preset(e){return this.presetArg=e,this}conflicts(e){return this.conflictsWith=this.conflictsWith.concat(e),this}implies(e){let a=e;return"string"==typeof e&&(a={[e]:!0}),this.implied=Object.assign(this.implied||{},a),this}env(e){return this.envVar=e,this}argParser(e){return this.parseArg=e,this}makeOptionMandatory(e=!0){return this.mandatory=!!e,this}hideHelp(e=!0){return this.hidden=!!e,this}_concatValue(e,a){return a!==this.defaultValue&&Array.isArray(a)?a.concat(e):[e]}choices(e){return this.argChoices=e.slice(),this.parseArg=(e,a)=>{if(!this.argChoices.includes(e))throw new p(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(e,a):e},this}name(){return this.long?this.long.replace(/^--/,""):this.short.replace(/^-/,"")}attributeName(){return this.name().replace(/^no-/,"").split("-").reduce((e,a)=>e+a[0].toUpperCase()+a.slice(1))}is(e){return this.short===e||this.long===e}isBoolean(){return!this.required&&!this.optional&&!this.negate}},a.DualOptions=class{constructor(e){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,e.forEach(e=>{e.negate?this.negativeOptions.set(e.attributeName(),e):this.positiveOptions.set(e.attributeName(),e)}),this.negativeOptions.forEach((e,a)=>{this.positiveOptions.has(a)&&this.dualOptions.add(a)})}valueFromOption(e,a){let t=a.attributeName();if(!this.dualOptions.has(t))return!0;let p=this.negativeOptions.get(t).presetArg;return a.negate===((void 0!==p&&p)===e)}}},86054(e,a){a.suggestSimilar=function(e,a){if(!a||0===a.length)return"";a=Array.from(new Set(a));let t=e.startsWith("--");t&&(e=e.slice(2),a=a.map(e=>e.slice(2)));let p=[],o=3;return(a.forEach(a=>{if(a.length<=1)return;let t=function(e,a){if(Math.abs(e.length-a.length)>3)return Math.max(e.length,a.length);let t=[];for(let a=0;a<=e.length;a++)t[a]=[a];for(let e=0;e<=a.length;e++)t[0][e]=e;for(let p=1;p<=a.length;p++)for(let o=1;o<=e.length;o++){let i=1;i=+(e[o-1]!==a[p-1]),t[o][p]=Math.min(t[o-1][p]+1,t[o][p-1]+1,t[o-1][p-1]+i),o>1&&p>1&&e[o-1]===a[p-2]&&e[o-2]===a[p-1]&&(t[o][p]=Math.min(t[o][p],t[o-2][p-2]+1))}return t[e.length][a.length]}(e,a),i=Math.max(e.length,a.length);(i-t)/i>.4&&(t<o?(o=t,p=[a]):t===o&&p.push(a))}),p.sort((e,a)=>e.localeCompare(a)),t&&(p=p.map(e=>`--${e}`)),p.length>1)?`
17
+ (Did you mean one of ${p.join(", ")}?)`:1===p.length?`
18
+ (Did you mean ${p[0]}?)`:""}},98247(e,a,t){t.d(a,{v:()=>S});var p,o,i,d,r,n,l,s=t(99436),u=t(35679),m=t(73284),c=t(47988),f=t(31802),h=t(94979),v=t(16928),g=t(79896);function D(e){function a(e){if(Object(e)!==e)return Promise.reject(TypeError(e+" is not an object."));var a=e.done;return Promise.resolve(e.value).then(function(e){return{value:e,done:a}})}return(D=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return a(this.n.apply(this.s,arguments))},return:function(e){var t=this.s.return;return void 0===t?Promise.resolve({value:e,done:!0}):a(t.apply(this.s,arguments))},throw:function(e){var t=this.s.return;return void 0===t?Promise.reject(e):a(t.apply(this.s,arguments))}},new D(e)}var y=(p=s(function*(){return(yield Promise.resolve().then(t.bind(t,30155))).default}),function(){return p.apply(this,arguments)}),w=(o=s(function*(){return t.e(9583).then(t.bind(t,92642))}),function(){return o.apply(this,arguments)}),b=(i=s(function*(e){return(yield y())(e).start()}),function(e){return i.apply(this,arguments)}),_=(d=s(function*(){var e=(0,c.getCurrentProfile)(),a=(0,f.getConnectionContext)(e),t=a.auth;return t||(console.error(m.default.red("Not logged in. Use `bricks auth login` first.")),process.exit(1)),{client:(0,(yield w()).createActivityLogClient)(a.activityLogBaseUrl,t),workspaceId:a.tokenInfo?.workspaceId}}),function(){return d.apply(this,arguments)}),C=e=>new Date(e).toISOString().replace("T"," ").replace(/\.\d+Z$/,"Z"),F=(e,a)=>{if(!e)return"";var t="string"==typeof e?e:JSON.stringify(e);return t.length>a?t.slice(0,a-1)+"…":t},S=new u.uB("activity-log").alias("al").description("Activity log queries (read-only)");S.command("events").description("Query activity log events (all types)").requiredOption("--start-time <datetime>","Start time (ISO 8601 or relative: 1h, 30m, 2d)").option("--end-time <datetime>","End time (default: now)").option("--device <id>","Filter by device ID").option("--type <type>","Filter by event type: general, data, local_sync").option("--event-name <name>","Filter by event name").option("--subspace <id>","Filter by subspace ID").option("--sender <id>","Filter by sender").option("--limit <n>","Max events to display",parseInt).option("-j, --json","Output as JSON array").option("--jsonl","Output as JSONL (one JSON per line)").action((r=s(function*(e){var a=(yield _()).client,t=(d=(0,h.p)(e.startTime),new Date(r=e.endTime?(0,h.p)(e.endTime):new Date().toISOString())-new Date(d)>2592e6&&(console.error(m.default.red("Time range must be 30 days or less")),process.exit(1)),n={start_time:d,end_time:r},e.device&&(n.device_id=e.device),e.type&&(n.event_type=e.type),e.eventName&&(n.event_name=e.eventName),e.subspace&&(n.subspace_id=e.subspace),e.sender&&(n.sender=e.sender),n);if(e.jsonl){var p=0;try{var o=!1,i=!1;try{for(var d,r,n,l,s,u=function(e){var a,t,p,o=2;for("u">typeof Symbol&&(t=Symbol.asyncIterator,p=Symbol.iterator);o--;){if(t&&null!=(a=e[t]))return a.call(e);if(p&&null!=(a=e[p]))return new D(a.call(e));t="@@asyncIterator",p="@@iterator"}throw TypeError("Object is not async iterable")}(a.events(t));o=!(s=yield u.next()).done;o=!1){var c=s.value;if(console.log(JSON.stringify(c)),p++,e.limit&&p>=e.limit)break}}catch(e){i=!0,l=e}finally{try{o&&null!=u.return&&(yield u.return())}finally{if(i)throw l}}}catch(e){console.error(m.default.red(`Failed to query events: ${e.message}`)),process.exit(1)}return}var f=yield b("Querying events...");try{var v=yield a.collectEvents(t,{limit:e.limit});if(f.stop(),e.json)return void console.log(JSON.stringify(v,null,2));if(0===v.length)return void console.log(m.default.yellow("No events found"));for(var g of(console.log(m.default.bold(`
19
+ Activity Log Events (${v.length})`)),console.log("─".repeat(100)),console.log(m.default.gray(`${"Timestamp".padEnd(24)} ${"Type".padEnd(12)} ${"Device".padEnd(14)} ${"Event Name".padEnd(28)} ${"Sender".padEnd(16)} Payload`)),console.log("─".repeat(100)),v)){var y=C(g.timestamp),w=(g.event_type||"").padEnd(12),S=F(g.device_id,14).padEnd(14),E=F(g.event_name,28).padEnd(28),k=F(g.sender,16).padEnd(16),A=F(g.payload,40);console.log(`${y} ${w} ${S} ${E} ${k} ${m.default.gray(A)}`)}console.log("─".repeat(100))}catch(e){f.fail(`Failed to query events: ${e.message}`),process.exit(1)}}),function(e){return r.apply(this,arguments)})),S.command("screenshots").description("List screenshot timestamps for a device").requiredOption("--device <id>","Device ID (required)").requiredOption("--start-time <datetime>","Start time (ISO 8601 or relative: 1h, 30m, 2d)").option("--end-time <datetime>","End time (default: now)").option("-j, --json","Output as JSON").action((n=s(function*(e){var a=(yield _()).client,t=(0,h.p)(e.startTime),p=e.endTime?(0,h.p)(e.endTime):new Date().toISOString();new Date(p)-new Date(t)>2592e6&&(console.error(m.default.red("Time range must be 30 days or less")),process.exit(1));var o={device_id:e.device,start_time:t,end_time:p},i=yield b("Querying screenshots...");try{var d=yield a.collectScreenshots(o);if(i.stop(),e.json)return void console.log(JSON.stringify(d,null,2));if(0===d.length)return void console.log(m.default.yellow("No screenshots found"));console.log(m.default.bold(`
20
+ Screenshots (${d.length})`)),console.log("─".repeat(56)),console.log(m.default.gray(`${"#".padStart(4)} ${"Timestamp".padEnd(24)} --ts value`)),console.log("─".repeat(56)),d.forEach((e,a)=>{var t=new Date(e.timestamp).getTime();console.log(`${String(a+1).padStart(4)} ${C(e.timestamp).padEnd(24)} ${t}`)}),console.log("─".repeat(56))}catch(e){i.fail(`Failed to query screenshots: ${e.message}`),process.exit(1)}}),function(e){return n.apply(this,arguments)})),S.command("screenshot").description("Download a screenshot image").requiredOption("--device <id>","Device ID").requiredOption("--ts <timestamp>","Screenshot timestamp (ISO 8601 or epoch ms)").option("--space <id>","Workspace/space ID (auto-detected from profile)").option("-o, --output <path>","Output file path").option("--open","Open with OS default viewer after download").action((l=s(function*(e){var a=yield _(),p=a.client,o=a.workspaceId,i=e.space||o;i||(console.error(m.default.red("Could not determine workspace ID. Use --space <id> or log in first.")),process.exit(1));var d=/^\d+$/.test(e.ts)?e.ts:new Date(e.ts).getTime(),r=yield b("Downloading screenshot...");try{var n=yield p.downloadScreenshot(i,e.device,d);r.stop();var l=e.output||`screenshot-${e.device}-${d}.jpg`,s=v.resolve(l);g.writeFileSync(s,n);var u=(n.length/1024).toFixed(1);if(console.log(m.default.green(`✓ Screenshot saved: ${s} (${u} KB)`)),e.open){var c=(yield Promise.resolve().then(t.t.bind(t,35317,19))).exec,f="darwin"===process.platform?"open":"win32"===process.platform?"start":"xdg-open";c(`${f} "${s}"`)}}catch(e){r.fail(`Failed to download screenshot: ${e.message}`),process.exit(1)}}),function(e){return l.apply(this,arguments)}))},17422(e,a,t){t.d(a,{B:()=>x});var p,o,i,d,r,n,l,s,u,m,c,f,h,v,g,D,y,w=t(99436),b=t(35679),_=t(73284),C=t(30155),F=t(79896),S=t(44618),E=t(7586),k=t(56493),A=t(68168),N=t(74049),$=t(98593),O=(e,a)=>(0,$.H_)(e,a,{currentVersion:e?.current_version||null,unreleasedChanges:!!e?.has_unreleased_changes}),x=new b.uB("app").description("Application management");x.command("new").description("Create a new application").requiredOption("-n, --name <name>","Application name").option("-d, --description <description>","Application description").option("--layout-width <width>","Layout width",parseInt).option("--layout-height <height>","Layout height",parseInt).option("--init","Initialize a BRICKS Project after creation").option("-o, --output <dir>","Output directory for --init (default: current directory)").option("-y, --yes","Skip prompts for --init").option("-j, --json","Output as JSON").action((p=w(function*(e){var a=(0,k.requireAuth)(),p=e.json?null:(0,C.default)("Creating application...").start();try{var o={name:e.name};e.description&&(o.description=e.description),e.layoutWidth&&(o.layoutWidth=e.layoutWidth),e.layoutHeight&&(o.layoutHeight=e.layoutHeight);var i=yield a.createApplication(o);if(e.json&&!e.init?console.log(JSON.stringify(i,null,2)):!e.json&&(p.succeed(`Application created: ${_.default.green(i.name)}`),console.log(` ID: ${_.default.gray(i._id)}`),i.description&&console.log(` ${_.default.gray(i.description)}`)),e.init){p&&p.stop();var d=(yield Promise.all([t.e(5658),t.e(4456)]).then(t.bind(t,58891))).initProject;yield d("application",i._id,{output:e.output,yes:e.yes,json:e.json})}}catch(a){e.json?console.error(JSON.stringify({error:a.message})):p.fail(`Failed to create application: ${a.message}`),process.exit(1)}}),function(e){return p.apply(this,arguments)})),x.command("share-info <applicationId>").description("Show public share info (releases available for share-new) for an application").option("-j, --json","Output as JSON").action((o=w(function*(e,a){var t=(0,k.requireAuth)(),p=a.json?null:(0,C.default)("Fetching share info...").start();try{var o=yield t.publicApplicationShareInfo({id:e});if(p&&p.stop(),!o)return void(a.json?console.log(JSON.stringify(null)):console.log(_.default.yellow("No share info found for this application")));if(a.json)return void console.log(JSON.stringify(o,null,2));var i=[...o.share?.selected_releases||[]].sort((e,a)=>new Date(a.date||0)-new Date(e.date||0));console.log(_.default.bold(`
21
+ Share Info: ${o.name||"Unnamed"}`)),console.log("─".repeat(60)),console.log(`App ID: ${_.default.gray(o._id)}`),o.description&&console.log(`Description: ${o.description}`),o.owner?.id_from_user&&console.log(`Owner: ${_.default.gray(o.owner.id_from_user)}`),o.share?.tags?.length&&console.log(`Tags: ${o.share.tags.join(", ")}`),o.share?.type&&console.log(`Type: ${o.share.type}`),console.log(`
19
22
  ${_.default.bold("Selected Releases")} (${i.length})`),0===i.length?console.log(_.default.gray(" None")):i.forEach(e=>{console.log(`
20
- ${_.default.cyan(e.name||"(unnamed)")} ${_.default.gray(e.date||"")}`),console.log(` Version ID: ${_.default.green(e.version)}`),console.log(` Release ID: ${_.default.gray(e._id)}`),e.note&&console.log(` Note: ${_.default.gray(e.note)}`)}),console.log("\n"+"─".repeat(60)),console.log(_.default.gray("Use:"),`bricks app share-new --app-id ${n._id} --version <name>`),console.log(_.default.gray("Or: "),"bricks app share-new --version-id <Version ID>")}catch(e){t.json?console.error(JSON.stringify({error:e.message})):r.fail(`Failed to fetch share info: ${e.message}`),process.exit(1)}}),function(e,t){return n.apply(this,arguments)})),j.command("share-new").description("Create a new application from a shared release version").option("--app-id <id>","Source shared application ID (requires --version)").option("--version <name>","Release name to use from the source app (requires --app-id)").option("--version-id <id>","Share version ID (from `app share-info`); skips lookup").option("-n, --name <name>","Application name").option("-d, --description <description>","Application description").option("--skip-if-exists","Return existing application if one already exists with this share version").option("--init","Initialize a BRICKS Project after creation").option("-o, --output <dir>","Output directory for --init (default: current directory)").option("-y, --yes","Skip prompts for --init").option("-j, --json","Output as JSON").action((i=b(function*(e){var t=(0,k.requireAuth)(),r=e.json?null:(0,C.default)("Creating application from shared version...").start();try{if(!e.versionId&&!(e.appId&&e.version))throw Error("Provide --version-id, or both --app-id and --version. Run `bricks app share-info <appId>` to discover values.");var n=e.versionId;if(!n){r&&(r.text="Resolving share version...");var i=yield t.publicApplicationShareInfo({id:e.appId}),a=i?.share?.selected_releases||[],s=a.find(t=>t.name===e.version);if(!s){var l=a.map(e=>e.name).filter(Boolean).join(", ")||"none";throw Error(`Release "${e.version}" not found on app ${e.appId}. Available: ${l}`)}n=s.version,r&&(r.text="Creating application from shared version...")}var u={shareVersionId:n};e.name&&(u.name=e.name),e.description&&(u.description=e.description),e.skipIfExists&&(u.skipIfExists=!0);var c=yield t.createApplicationWithShareVersion(u);if(e.json&&!e.init?console.log(JSON.stringify(c,null,2)):!e.json&&(r.succeed(`Application created: ${_.default.green(c.name)}`),console.log(` ID: ${_.default.gray(c._id)}`),c.description&&console.log(` ${_.default.gray(c.description)}`)),e.init){r&&r.stop();var d=(yield Promise.all([o.e(5658),o.e(4456)]).then(o.bind(o,58891))).initProject;yield d("application",c._id,{output:e.output,yes:e.yes,json:e.json})}}catch(t){e.json?console.error(JSON.stringify({error:t.message})):r.fail(`Failed to create application from shared version: ${t.message}`),process.exit(1)}}),function(e){return i.apply(this,arguments)})),j.command("list").description("List all applications").option("-k, --keyword <keyword>","Filter by keyword").option("-j, --json","Output as JSON").action((a=b(function*(e){var t=(0,k.requireAuth)(),o=(0,C.default)("Fetching applications...").start();try{var r=yield t.applications({keyword:e.keyword});if(o.stop(),e.json)return void console.log(JSON.stringify(r,null,2));if(!r||0===r.length)return void console.log(_.default.yellow("No applications found"));console.log(_.default.bold("\nApplications")),console.log("─".repeat(80)),r.forEach(e=>{var t=e.has_unreleased_changes?_.default.yellow("●"):_.default.green("●"),o=e.current_version?`v${e.current_version}`:_.default.gray("no version");console.log(`${t} ${_.default.cyan(e.name)} ${_.default.gray(o)}`),console.log(` ID: ${_.default.gray(e._id)}`),e.description&&console.log(` ${_.default.gray(e.description)}`),console.log()})}catch(e){o.fail(`Failed to list applications: ${e.message}`),process.exit(1)}}),function(e){return a.apply(this,arguments)})),j.command("get <id>").description("Get application details").option("-c, --composed","Get composed configuration").option("-j, --json","Output as JSON").action((s=b(function*(e,t){var o=(0,k.requireAuth)(),r=(0,C.default)("Fetching application...").start();try{var n=yield o.application({id:e,composed:t.composed});if(r.stop(),n||(console.log(_.default.red("Application not found")),process.exit(1)),t.json)return void console.log(JSON.stringify(n,null,2));if(console.log(_.default.bold(`
21
- Application: ${n.name}`)),console.log("─".repeat(60)),console.log(`ID: ${_.default.gray(n._id)}`),console.log(`Description: ${n.description||_.default.gray("N/A")}`),console.log(`Tags: ${n.tags?.join(", ")||_.default.gray("None")}`),console.log(`Created: ${_.default.gray(n.create_datetime)}`),console.log(`Modified: ${_.default.gray(n.last_modify_datetime)}`),console.log(`
22
- ${_.default.bold("Version")}`),n.current_version){if(console.log(`Current: v${n.current_version}`),n.current_version_details){var i=n.current_version_details;i.name&&console.log(`Release Name: ${i.name}`),i.note&&console.log(`Release Note: ${_.default.gray(i.note)}`),i.create_datetime&&console.log(`Released At: ${_.default.gray(i.create_datetime)}`)}}else console.log(`Current: ${_.default.gray("No version")}`);if(console.log(`Unreleased: ${n.has_unreleased_changes?_.default.yellow("Yes"):_.default.green("No")}`),console.log(`
23
- ${_.default.bold("Features")}`),console.log(`Short Edit: ${n.short_edit?.enabled?_.default.green("Enabled"):_.default.gray("Disabled")}`),n.short_edit?.enabled&&n.short_edit.ref_map){var a=Object.keys(n.short_edit.ref_map).length;console.log(` References: ${a} editable properties`)}console.log(`Automation: ${n.canvas_control?.enable_schedule?_.default.green("Scheduled"):_.default.gray("No schedule")}`),n.lock?.enabled&&console.log(`Locked: ${_.default.yellow("Yes")}`),n.sync_key&&console.log(`Sync Key: ${_.default.gray(n.sync_key)}`),n.devices?.length>0?(console.log(`
24
- ${_.default.bold("Bound Devices")} (${n.devices.length})`),n.devices.forEach(e=>{var t="active"===e.status?_.default.green("●"):_.default.gray("○"),o=e.frame?_.default.gray(` [${e.frame.x||0},${e.frame.y||0} ${e.frame.width}x${e.frame.height}]`):"";console.log(` ${t} ${e.device_id}${o}`)})):console.log(`
25
- ${_.default.bold("Bound Devices")}: ${_.default.gray("None")}`),console.log("─".repeat(60))}catch(e){r.fail(`Failed to get application: ${e.message}`),process.exit(1)}}),function(e,t){return s.apply(this,arguments)})),j.command("resolve <query>").description("Resolve an application name or ID to stable IDs").option("-l, --limit <limit>","Limit search results",e=>Number.parseInt(e,10),10).option("-j, --json","Output as JSON").action((l=b(function*(e,t){var o=(0,k.requireAuth)(),r=t.json?null:(0,C.default)("Resolving application...").start();try{var n=yield(0,S.Y)(()=>o.application({id:e})),i=n?[n]:yield o.applications({keyword:e,paginate:{limit:t.limit}}),a=(0,S.K)({resource:"application",query:e,items:i||[],fields:["_id","name"],selectedBy:n?"id":null});if(r&&r.stop(),t.json)return void(0,w.GF)(a);if(a.resolved){var s=a.resolved;console.log(_.default.bold("\nResolved Application")),console.log("─".repeat(60)),console.log(`Name: ${_.default.cyan(s.name||"Unnamed")}`),console.log(`ID: ${_.default.gray(s._id)}`),console.log(`Selected By: ${a.selectedBy}`),console.log("─".repeat(60));return}if(0===a.matches.length)return void console.log(_.default.yellow(`No applications matched "${e}"`));console.log(_.default.bold(`
26
- Matching Applications (${a.matches.length})`)),console.log("─".repeat(80)),a.matches.forEach(e=>{console.log(`${_.default.cyan(e.name||"Unnamed")} ${_.default.gray(e._id)}`)}),console.log("─".repeat(80))}catch(t){r?r.fail(`Failed to resolve application: ${t.message}`):(0,w.OW)(t.message,{resource:"application",query:e}),process.exit(1)}}),function(e,t){return l.apply(this,arguments)})),j.command("update <id>").description("Update application name, description, and/or configuration").option("-n, --name <name>","Application name").option("-d, --description <description>","Application description").option("-c, --config <json>","Application config as JSON string").option("-f, --file <path>","Application config from file").option("--validate","Validate configuration (default: true when config is set)",!0).option("--no-validate","Skip server-side config validation").option("--last-commit-id <id>","Reject if server config.bricks_project_last_commit_id does not match this value").option("-j, --json","Output as JSON").action((u=b(function*(e,t){var o=(0,k.requireAuth)(),r=t.json?null:(0,C.default)("Updating application...").start();try{var n=yield o.updateApplication((0,O.jB)(e,t));t.json?(0,O.yd)({action:"application.update",target:A(n,e),result:{lastCommitId:t.lastCommitId||null},json:!0}):(r.succeed(`Application updated: ${_.default.green(n.name)}`),n.has_unreleased_changes&&console.log(_.default.yellow("Note: Application has unreleased changes")))}catch(o){t.json?(0,w.OW)(o.message,{action:"application.update",target:{id:e}}):r.fail(`Failed to update application: ${o.message}`),process.exit(1)}}),function(e,t){return u.apply(this,arguments)})),j.command("short-edit <id>").description("Short edit application properties").requiredOption("-l, --list <json>","Short edit list as JSON array").action((c=b(function*(e,t){var o=(0,k.requireAuth)(),r=(0,C.default)("Applying short edit...").start();try{var n=JSON.parse(t.list);Array.isArray(n)||(r.fail("List must be a JSON array"),process.exit(1));var i=yield o.shortEditApplication({id:e,list:n});r.succeed(`Short edit applied to: ${_.default.green(i.name)}`)}catch(e){r.fail(`Failed to apply short edit: ${e.message}`),process.exit(1)}}),function(e,t){return c.apply(this,arguments)})),j.command("short-refs <id>").description("List short edit references for an application").option("-k, --keyword <keyword>","Filter by shortId or title").option("-t, --types <types>","Comma-separated shortId prefixes to include (e.g. B,C,S)").option("-j, --json","Output as JSON").action((d=b(function*(e,t){var o=(0,k.requireAuth)(),r=(0,C.default)("Fetching short edit references...").start();try{var n=yield o.application({id:e});if(r.stop(),!n?.short_edit?.enabled)return void console.log(_.default.yellow("Short Edit is not enabled for this application"));var i=t.types?t.types.split(",").map(e=>e.trim()).filter(Boolean):[],a=(0,E.V)(n.short_edit.ref_map,{keyword:t.keyword,types:i});if(t.json)return void console.log(JSON.stringify(a,null,2));if(0===a.length)return void console.log(_.default.yellow("No short edit references found"));console.log(_.default.bold(`
27
- Short Edit References: ${n.name}`)),a.forEach(e=>{console.log(_.default.cyan(`
28
- ${e.label} (${e.prefix}_)`)),e.refs.forEach(({shortId:e,ref:t})=>{var o=t?.title?_.default.gray(`- ${t.title}`):"";console.log(` ${_.default.green(e)} ${o}`)})}),console.log()}catch(e){r.fail(`Failed to fetch short edit references: ${e.message}`),process.exit(1)}}),function(e,t){return d.apply(this,arguments)})),j.command("bind <id>").description("Bind devices to application").option("-b, --bind <devices>","Device IDs to bind (comma-separated)").option("-u, --unbind <devices>","Device IDs to unbind (comma-separated)").option("--dry-run","Validate inputs and show the binding plan without applying it").option("-j, --json","Output as JSON").action((p=b(function*(e,t){var o=(0,k.requireAuth)(),r=t.json?null:(0,C.default)("Updating device bindings...").start();try{var n=yield o.application({id:e});if(!n)throw Error("Application not found");var i=t.bind?t.bind.split(",").map(e=>e.trim()):[],a=t.unbind?t.unbind.split(",").map(e=>e.trim()):[],s={id:e};if(i.length>0&&(s.bindDevices=i),a.length>0&&(s.unbindDevices=a),t.dryRun){r&&r.stop(),(0,O.S5)({action:"application.bind",target:A(n,e),request:{bindDevices:i,unbindDevices:a},checks:[(0,O.Iy)("application exists",!0,`${n.name} (${n._id})`),(0,O.Iy)("device changes provided",i.length+a.length>0,`bind=${i.length}, unbind=${a.length}`)],json:t.json});return}yield o.bindApplication(s),t.json?(0,O.yd)({action:"application.bind",target:A(n,e),result:{bindDevices:i,unbindDevices:a},json:!0}):r.succeed("Device bindings updated")}catch(o){t.json?(0,w.OW)(o.message,{action:"application.bind",target:{id:e}}):r.fail(`Failed to update bindings: ${o.message}`),process.exit(1)}}),function(e,t){return p.apply(this,arguments)})),j.command("remove <id>").description("Remove an application").option("--dry-run","Validate the target and show the removal plan without deleting it").option("-j, --json","Output as JSON").action((f=b(function*(e,t){var o=(0,k.requireAuth)(),r=t.json?null:(0,C.default)("Removing application...").start();try{var n=yield o.application({id:e});if(!n)throw Error("Application not found");var i=A(n,e);if(t.dryRun){r&&r.stop(),(0,O.S5)({action:"application.remove",target:i,request:{id:e},checks:[(0,O.Iy)("application exists",!0,`${i.name} (${i.id})`)],json:t.json});return}var a=yield o.removeApplication({id:e});t.json?(0,O.yd)({action:"application.remove",target:i,result:{removed:!!a},json:!0}):r.succeed(`Application removed: ${_.default.green(i.name)}`)}catch(o){t.json?(0,w.OW)(o.message,{action:"application.remove",target:{id:e}}):r.fail(`Failed to remove application: ${o.message}`),process.exit(1)}}),function(e,t){return f.apply(this,arguments)})),j.command("trigger <id> <testId>").description("Trigger automation test on application").option("--play","Play the test",!0).option("--stop","Stop the test").option("--setup-at-launch","Setup to run at app launch").option("-g, --match-group <group>","Match group").action((g=b(function*(e,t,o){var r=(0,k.requireAuth)(),n=(0,C.default)("Triggering automation...").start();try{yield r.triggerApplicationCanvasControl({id:e,testId:t,play:!o.stop&&o.play,setupAtLaunch:o.setupAtLaunch,matchGroup:o.matchGroup}),n.succeed(`Automation triggered: ${_.default.green(t)}`)}catch(e){n.fail(`Failed to trigger automation: ${e.message}`),process.exit(1)}}),function(e,t,o){return g.apply(this,arguments)})),j.command("release <id>").description("Release application to BRICKS platform").requiredOption("-c, --config <path|json>","Application config file path or JSON string").option("-n, --name <name>","Update application name as part of the release").option("--version <version>","Version name").option("--changelogs <text>","Release changelogs").option("--dry-run","Validate inputs and show the release plan without publishing").option("-j, --json","Output as JSON").action((h=b(function*(e,t){var o=(0,k.requireAuth)(),r=t.json?null:(0,C.default)("Releasing application...").start();try{var n=(0,x.Ku)(t.config),i=n.config,a=n.source,s=n.sizeBytes,l=yield o.application({id:e});if(!l)throw Error("Application not found");if(l.lock?.enabled)throw Error("Application is locked");var u=t.version||t.name||l.name||"Untitled",c=(0,x.w9)(t.changelogs);if(t.dryRun){r&&r.stop(),(0,O.S5)({action:"application.release",target:A(l,e),request:{name:t.name||null,version:u,changelogs:t.changelogs||null,configSource:a,configSizeBytes:s},checks:[(0,O.Iy)("application exists",!0,`${l.name} (${l._id})`),(0,O.Iy)("application is unlocked",!l.lock?.enabled),(0,O.Iy)("release config loaded",!0,`${s} bytes`)],json:t.json});return}var d=yield o.releaseApplication({id:e,config:i,...t.name?{name:t.name}:{},releaseCurrentVersion:u,releaseCurrentVersionNote:c});t.json?(0,O.yd)({action:"application.release",target:A(d||l,e),result:{name:t.name||null,version:u,configSource:a,configSizeBytes:s},json:!0}):r.succeed(`Application released: ${_.default.green(d?.name||l.name)}`)}catch(o){t.json?(0,w.OW)(o.message,{action:"application.release",target:{id:e}}):r.fail(`Failed to release application: ${o.message}`),process.exit(1)}}),function(e,t){return h.apply(this,arguments)})),j.command("project-pull <id>").description("Pull application source files from BRICKS platform").option("-j, --json","Output as JSON (for programmatic use)").action((m=b(function*(e,t){var o=(0,k.requireAuth)(),r=t.json?null:(0,C.default)("Pulling application project...").start();try{var n=yield o.applicationProject({id:e,buildApplicationOnly:!0});n||(r?r.fail("Application project not found"):console.error(JSON.stringify({error:"Application project not found"})),process.exit(1)),t.json?console.log(JSON.stringify(n)):(r.succeed(`Application project fetched: ${_.default.green(n.files?.length||0)} files`),console.log(JSON.stringify(n,null,2)))}catch(e){t.json?console.error(JSON.stringify({error:e.message})):r.fail(`Failed to pull application project: ${e.message}`),process.exit(1)}}),function(e,t){return m.apply(this,arguments)})),j.command("check-config <path>").description("Validate application config against BRICKS schema").option("-j, --json","Output as JSON").option("--validate-automation","Also validate automation_map and test_map references (skips commented/unfinished steps)").option("--no-validate-expressions","Skip validating PROPERTY_BANK_EXPRESSION strings against the runtime expression rules").action((D=b(function*(e,t){$.existsSync(e)||(console.error(_.default.red(`Config file not found: ${e}`)),process.exit(1));var r=(0,C.default)("Validating config...").start();try{var n=$.readFileSync(e,"utf-8"),i=JSON.parse(n),a=yield Promise.all([o.e(9866),o.e(6645),o.e(9430),o.e(1010),o.e(7511),o.e(7574)]).then(o.t.bind(o,38890,19)),s=a.checkConfig,l=a.checkConfigDeprecatedFeatures,u=s(i,{checkAutomation:!!t.validateAutomation,checkCalc:!0,checkExpressions:!1!==t.validateExpressions}),c=l(i);if(r.stop(),t.json){console.log(JSON.stringify({...u,deprecations:c},null,2)),u.valid||process.exit(1);return}if(u.valid&&0===c.length)return void console.log(_.default.green("✓ Config is valid"));console.log(_.default.bold("\nConfig Validation Report")),console.log("─".repeat(60)),u.schema.length>0&&(console.log(_.default.red(`
29
- Schema Errors (${u.schema.length})
30
- `)),u.schema.forEach((e,t)=>{var o=e.instancePath||e.dataPath||"/";console.log(` ${_.default.red(`${t+1}.`)} ${_.default.bold(o)}`),console.log(` ${e.message}`),e.params?.pattern&&console.log(` ${_.default.gray(`pattern: ${e.params.pattern}`)}`)})),u.ref.length>0&&(console.log(_.default.red(`
31
- Reference Errors (${u.ref.length})
32
- `)),u.ref.forEach((e,t)=>{console.log(` ${_.default.red(`${t+1}.`)} ${_.default.bold(e.field)}`),console.log(` ${e.message}`)})),u.calc.length>0&&(console.log(_.default.red(`
33
- Data Calculation Errors (${u.calc.length})
34
- `)),u.calc.forEach((e,t)=>{console.log(` ${_.default.red(`${t+1}.`)} ${_.default.bold(e.field)}`),console.log(` ${e.message}`)})),u.expression?.length>0&&(console.log(_.default.red(`
35
- Expression Errors (${u.expression.length})
36
- `)),u.expression.forEach((e,t)=>{console.log(` ${_.default.red(`${t+1}.`)} ${_.default.bold(e.field)}`),console.log(` ${e.message}`)})),c.length>0&&(console.log(_.default.yellow(`
37
- Deprecation Warnings (${c.length})
38
- `)),c.forEach((e,t)=>{console.log(` ${_.default.yellow(`${t+1}.`)} ${_.default.bold(e.id)}`),console.log(` ${e.data}`)})),console.log("\n"+"─".repeat(60));var d=u.schema.length+u.ref.length+u.calc.length+(u.expression?.length||0);u.valid?console.log(_.default.yellow(`⚠ ${c.length} warning(s)`)):console.log(_.default.red(`✗ ${d} error(s)`)+(c.length>0?_.default.yellow(`, ${c.length} warning(s)`):"")),u.valid||process.exit(1)}catch(e){r.fail(`Failed to validate config: ${e.message}`),process.exit(1)}}),function(e,t){return D.apply(this,arguments)})),j.command("doctor <idOrPath>").description("Diagnose an application config: schema validation plus semantic lint rules (data races, layout mistakes, dead config)").option("-j, --json","Output as JSON").option("-c, --composed","Fetch the composed configuration (remote id only)").option("--strict","Exit with code 1 when warnings are found").option("--only <codes>","Run only these rule codes (comma-separated)").option("--ignore <codes>","Skip these rule codes (comma-separated)").option("--validate-automation","Also validate automation_map and test_map references").action((y=b(function*(e,t){var r=t.json?null:(0,C.default)("Running config doctor...").start();try{var n=yield Promise.all([o.e(9866),o.e(6645),o.e(9430),o.e(1010),o.e(7511),o.e(563)]).then(o.bind(o,63322)),i=n.runConfigDoctor,a=n.renderConfigDoctorReport,s=yield i("app",e,t),l=s.report,u=s.exitCode;r?.stop(),t.json?(0,w.GF)({...l,exitCode:u}):console.log(a(l)),0!==u&&process.exit(u)}catch(e){r?r.fail(`Config doctor failed: ${e.message}`):(0,w.OW)(e.message),process.exit(1)}}),function(e,t){return y.apply(this,arguments)})),j.command("ctor-init <id>").alias("project-init").description("Initialize a BRICKS Project from an application (deprecated: use `bricks ctor init`)").option("-o, --output <dir>","Output directory (default: current directory)").option("--github-actions","Include GitHub Actions workflow (default: true)").option("--no-github-actions","Skip GitHub Actions workflow setup").option("--agents","Include AGENTS.md (default: true)").option("--no-agents","Skip AGENTS.md setup").option("--claude","Include CLAUDE.md (default: true)").option("--no-claude","Skip CLAUDE.md setup").option("--gemini","Include GEMINI.md (default: false)").option("--no-gemini","Skip GEMINI.md setup").option("--install","Run bun install after generation (default: true)").option("--no-install","Skip bun install after generation").option("--git","Initialize git repository (default: true)").option("--no-git","Skip git initialization").option("-y, --yes","Skip prompts and use defaults/flags").option("-j, --json","Output as JSON (for programmatic use)").action((v=b(function*(e,t){t.json||console.error(_.default.yellow("Note: `bricks app ctor-init` is deprecated. Use `bricks ctor init <id>` instead."));var r=(yield Promise.all([o.e(5658),o.e(4456)]).then(o.bind(o,58891))).initProject;yield r("application",e,t)}),function(e,t){return v.apply(this,arguments)}))},55614(e,t,r){r.d(t,{s:()=>b});var n,i,a,s,l,u=r(99436),c=r(35679),d=r(73284),p=r(30155);let f=o("readline");var g=r(47988),h=r(7586),m=r(29988),D=e=>!!e&&"object"==typeof e&&!Array.isArray(e),y=(e={})=>{var t=D(e)?e:{},o=t.plan,r=D(o)?o:{},n=D(t.lock)?t.lock:{},i="string"==typeof o?o:r.type;return{...t,plan:{...r,type:i||"free"},lock:{...n,features:!!n.features}}},v=(n=u(function*(){var e=(0,g.getCurrentProfile)(),t=(0,g.getCurrentProfileSource)(),o=(0,g.getTokenInfo)(e),r=(0,g.getBaseUrl)();if(!o?.token)return{ok:!1,profile:e,profileSource:t,baseUrl:r,auth:{available:!1,source:"missing",workspaceId:null,workspaceName:null,createdAt:null,tokenPreview:null},workspace:null,error:null};try{var n=(0,(yield(0,m.i)()).createClient)(r,o.token),i=yield n.workspace();return{ok:!0,profile:e,profileSource:t,baseUrl:r,auth:{available:!0,source:"config",workspaceId:i?._id||o.workspaceId||null,workspaceName:i?.name||o.workspaceName||null,createdAt:o.createdAt||null,tokenPreview:(0,h.$l)(o.token)},workspace:i?{_id:i._id,name:i.name,description:i.description||null}:null,error:null}}catch(n){return{ok:!1,profile:e,profileSource:t,baseUrl:r,auth:{available:!0,source:"config",workspaceId:o.workspaceId||null,workspaceName:o.workspaceName||null,createdAt:o.createdAt||null,tokenPreview:(0,h.$l)(o.token)},workspace:null,error:{message:n.message}}}}),function(){return n.apply(this,arguments)}),b=new c.uB("auth").description("Authentication and token management");b.command("login").description("Login with a one-time passcode from BRICKS Controller (recommended)").argument("[passcode]","One-time passcode from BRICKS Controller").option("-p, --profile <profile>","Profile name to save the token").option("-n, --name <name>","Profile display name").action((i=u(function*(e,t){var o,r=t.profile||(0,g.getCurrentProfile)(),n=t.name,i=e;!i&&(console.log(d.default.cyan("Generate a one-time passcode from BRICKS Controller:")),console.log(d.default.gray(" 1. Open the link below (or select your workspace first)")),console.log(` ${d.default.underline.blue("https://control.bricks.tools/#/?action=manage-tokens")}`),console.log(d.default.gray(' 2. Click "Generate OTP" to create a one-time passcode\n')),(i=yield(o=f.createInterface({input:process.stdin,output:process.stdout}),new Promise(e=>{o.question("Enter passcode: ",t=>{o.close(),e(t.trim())})})))||(console.log(d.default.red("Passcode is required")),process.exit(1)));var a=(0,p.default)("Validating passcode...").start();try{var s=yield(0,m.i)(),l=s.createClient,u=(0,s.createPublicClient)((0,g.getBaseUrl)()),c=yield u.checkWorkspaceOTP(i);c.valid||(a.fail(`Invalid passcode: ${c.error||"Unknown error"}`),process.exit(1)),a.text=`Exchanging passcode for token (workspace: ${c.workspaceName})...`;var h=yield u.exchangeWorkspaceOTP(i);h.token||(a.fail("Failed to obtain token"),process.exit(1));var D=l((0,g.getBaseUrl)(),h.token),v=yield D.workspace();v||(a.fail("Token validation failed"),process.exit(1)),(0,g.setToken)(r,{token:h.token,name:n||v.name,workspaceId:v._id,workspaceName:v.name,workspaceBilling:y(v.billing)}),(0,g.setCurrentProfile)(r),a.succeed(`Logged in to workspace: ${d.default.green(v.name)} (profile: ${d.default.cyan(r)})`)}catch(e){a.fail(`Login failed: ${e.message}`),process.exit(1)}}),function(e,t){return i.apply(this,arguments)})),b.command("login-token").description("Login with a workspace token directly").option("-t, --token <token>","Workspace token").option("-p, --profile <profile>","Profile name to save the token").option("-n, --name <name>","Profile display name").action((a=u(function*(e){var t=e.profile||(0,g.getCurrentProfile)(),o=e.token,r=e.name;o||(console.error(d.default.red("Error: Token is required. Use -t or --token to provide it.")),console.log(d.default.gray("\nYou can get a workspace token from BRICKS Controller:")+d.default.underline.blue("https://control.bricks.tools/#/?action=manage-tokens")),console.log(` ${d.default.underline.blue("https://control.bricks.tools/#/?action=manage-tokens")}`),console.log(d.default.gray("Select your workspace and create a new token.\n")),console.log(d.default.yellow("Tip: Use `bricks auth login` for a simpler OTP-based login.")),process.exit(1));var n=(0,p.default)("Validating token...").start();try{var i=(0,(yield(0,m.i)()).createClient)((0,g.getBaseUrl)(),o),a=yield i.workspace();a||(n.fail("Invalid token or unable to access workspace"),process.exit(1)),(0,g.setToken)(t,{token:o,name:r||a.name,workspaceId:a._id,workspaceName:a.name,workspaceBilling:y(a.billing)}),(0,g.setCurrentProfile)(t),n.succeed(`Logged in to workspace: ${d.default.green(a.name)} (profile: ${d.default.cyan(t)})`)}catch(e){n.fail(`Login failed: ${e.message}`),process.exit(1)}}),function(e){return a.apply(this,arguments)})),b.command("logout").description("Remove saved token").option("-p, --profile <profile>","Profile to remove").option("-a, --all","Remove all profiles").action((s=u(function*(e){var t=e.profile;if(e.all){(0,g.listProfiles)().forEach(e=>(0,g.removeToken)(e.name)),console.log(d.default.green("All profiles removed"));return}var o=t||(0,g.getCurrentProfile)();(0,g.getTokenInfo)(o)?((0,g.removeToken)(o),console.log(d.default.green(`Logged out from profile: ${o}`))):console.log(d.default.yellow(`No token found for profile: ${o}`))}),function(e){return s.apply(this,arguments)})),b.command("status").description("Show current authentication status").option("-j, --json","Output as JSON").action((l=u(function*(e){var t=(0,g.getCurrentProfile)(),o=(0,g.getTokenInfo)(t);if(!o)return e.json?void(0,h.GF)((yield v())):(console.log(d.default.yellow("Not logged in")),void console.log(d.default.gray("Use `bricks auth login` to login")));if(e.json)return void(0,h.GF)((yield v()));var r=(0,p.default)("Checking connection...").start();try{var n=(0,(yield(0,m.i)()).createClient)((0,g.getBaseUrl)(),o.token),i=yield n.workspace();r.stop(),console.log(d.default.bold("\nAuthentication Status")),console.log("─".repeat(40)),console.log(`Profile: ${d.default.cyan(t)}`),console.log(`Workspace: ${d.default.green(i.name)}`),console.log(`Workspace ID: ${d.default.gray(i._id)}`);var a=(0,g.getBaseUrl)(),s=o.baseUrl;console.log(`Base URL: ${d.default.gray(a)}${s?"":d.default.gray(" (global)")}`),console.log(`Logged in: ${d.default.gray(o.createdAt)}`),console.log("─".repeat(40))}catch(e){r.fail(`Connection failed: ${e.message}`)}}),function(e){return l.apply(this,arguments)})),b.command("list").description("List all saved profiles").action(()=>{var e=(0,g.listProfiles)();if(0===e.length){console.log(d.default.yellow("No saved profiles")),console.log(d.default.gray("Use `bricks auth login` to login"));return}console.log(d.default.bold("\nSaved Profiles")),console.log("─".repeat(60)),e.forEach(e=>{var t=e.current?d.default.green("● "):" ",o=e.current?d.default.green(e.name):e.name,r=e.baseUrl?d.default.gray(` [${e.baseUrl}]`):"";console.log(`${t}${o.padEnd(15)} ${d.default.gray(e.workspaceName||"Unknown")}${r}`)}),console.log("─".repeat(60))}),b.command("use <profile>").description("Switch to a different profile").action(e=>{var t=(0,g.getTokenInfo)(e);if(!t){console.log(d.default.red(`Profile not found: ${e}`)),console.log(d.default.gray("Use `bricks auth list` to see available profiles"));return}(0,g.setCurrentProfile)(e),console.log(d.default.green(`Switched to profile: ${e}`)),t.workspaceName&&console.log(d.default.gray(`Workspace: ${t.workspaceName}`))}),b.command("set-url <url>").description("Set the base URL for the current profile").option("-g, --global","Set the global base URL instead of per-profile").action((e,t)=>{if(t.global)(0,g.setBaseUrl)(e),console.log(d.default.green(`Global base URL set to: ${e}`));else{var o=(0,g.getCurrentProfile)();(0,g.setBaseUrl)(e,o),console.log(d.default.green(`Base URL for profile ${d.default.cyan(o)} set to: ${e}`))}})},59845(e,t,o){o.d(t,{Q:()=>I});var r,n,i,a,s,l,u,c,d,p,f,g=o(99436),h=o(35679),m=o(73284),D=o(77598),y=o(48161),v=o(76760),b=o(51455),F=o(27549),_=o(19557),C=8089,$=(r=g(function*(e,t,o=3e3){return(0,_.uE)(`http://${e}:${t}/buttress/info`,o)}),function(e,t){return r.apply(this,arguments)}),E=v.join(y.homedir(),".bricks-cli","buttress"),w=e=>v.join(e||E,"state.json"),k=()=>{try{return`buttress-${F.machineIdSync()}`}catch{return null}},S=(n=g(function*(e){var t=w(e);try{var o=yield b.readFile(t,"utf8");return JSON.parse(o)}catch(e){if("ENOENT"===e.code)return null;throw e}}),function(e){return n.apply(this,arguments)}),x=(i=g(function*(e,t){var o=t||E,r=w(t);yield b.mkdir(o,{recursive:!0});var n=`${r}.tmp-${process.pid}`;return yield b.writeFile(n,JSON.stringify(e,null,2),"utf8"),yield b.rename(n,r),r}),function(e,t){return i.apply(this,arguments)}),O=(a=g(function*(e){var t=w(e);try{return yield b.unlink(t),!0}catch(e){if("ENOENT"===e.code)return!1;throw e}}),function(e){return a.apply(this,arguments)}),A=(s=g(function*({timeout:e=3e3,verify:t=!0,port:o=C,onStatus:r}={}){r?.(`Scanning UDP ${o} for ${e}ms...`);var n,i=yield(({timeout:e=3e3,idleTimeout:t=0,port:o=C}={})=>(0,_.YH)({port:o,timeout:e,idleTimeout:t,buildQuery:()=>Buffer.from(JSON.stringify({t:"QUERY",v:"2.0",d:{id:`cli-${(0,_.BW)()}`}})),parseMessage:(e,t)=>{var o=(0,_.nl)(e,e=>e?.v==="2.0");if(!o)return null;var r={...o,address:t.address};return{key:r.id||`${t.address}:${r.port}`,value:r}}}))({timeout:e,port:o});return 0===i.length?[]:t?(r?.(`Verifying ${i.length} server(s)...`),yield Promise.all(i.map((n=g(function*(e){var t=yield $(e.address,e.port,2e3);return t?{...e,...t,address:e.address,verified:!0}:{...e,verified:!1}}),function(e){return n.apply(this,arguments)})))):i}),function(){return s.apply(this,arguments)}),j=(l=g(function*(){var e=yield Promise.resolve().then(o.bind(o,47988)),t=e.getToken,r=e.getBaseUrl,n=e.getCurrentProfile,i=(yield Promise.all([o.e(6370),o.e(5785),o.e(3332),o.e(2209),o.e(907)]).then(o.bind(o,85382))).createClient,a=t(n());return a||(console.error(m.default.red("Not logged in. Use `bricks auth login` first.")),process.exit(1)),i(r(),a)}),function(){return l.apply(this,arguments)}),I=new h.uB("buttress").description("Pair and inspect buttress-server bindings for the current workspace").alias("butr");I.command("bind").description("Pair a local buttress-server with the current workspace").option("-s, --server-id <id>","Buttress server id (auto-detected from machine id by default)").option("-n, --name <name>","Friendly name for this buttress server").option("--state-dir <dir>","Override the buttress state directory (defaults to ~/.bricks-cli/buttress)").option("--print","Print state.json to stdout instead of writing to disk (useful for remote setups)").action((u=g(function*(e){var t,r,n,i,a,s,l=(yield Promise.resolve().then(o.bind(o,30155))).default,u=e.serverId||k();u||(console.error(m.default.red("Could not detect a local server id. Pass --server-id <id> explicitly.")),process.exit(1));var c=(r=(t=D.generateKeyPairSync("ed25519")).publicKey,n=t.privateKey,i=r.export({type:"spki",format:"der"}),a=n.export({type:"pkcs8",format:"der"}),s=D.createHash("sha256").update(i).digest("hex").slice(0,16),{publicKeySpki:i.toString("base64"),privateKeyPkcs8:a.toString("base64"),kid:s}),d=yield j(),p=l(`Binding buttress server ${m.default.cyan(u)}...`).start();try{var f=yield d.bindButtressServer({serverId:u,name:e.name,serverPublicKey:{spkiBase64:c.publicKeySpki,kid:c.kid}});p.stop();var g={workspace:{id:f.workspaceId,name:f.workspaceName,serverId:f.serverId,issuerPublicKey:f.issuerPublicKey.pem,kid:f.issuerPublicKey.kid,boundAt:new Date().toISOString()},serverKeyPair:c};if(e.print){console.warn(m.default.yellow("⚠ Output contains the server announce private key. Treat as a secret.")),process.stdout.write(`${JSON.stringify(g,null,2)}
39
- `);return}var h=yield x(g,e.stateDir);console.log(m.default.green("✓"),"Buttress server bound to workspace."),console.log(` Workspace: ${m.default.bold(f.workspaceName)} (${f.workspaceId})`),console.log(` Server id: ${m.default.cyan(f.serverId)}`),console.log(` Issuer kid: ${m.default.gray(f.issuerPublicKey.kid)}`),console.log(` Announce kid: ${m.default.gray(c.kid)}`),console.log(` State file: ${m.default.gray(h)}`),console.log(),console.log(m.default.yellow("Restart buttress-server for the binding to take effect."))}catch(e){p.fail(`Bind failed: ${e.message}`),process.exit(1)}}),function(e){return u.apply(this,arguments)})),I.command("unbind").description("Unbind a buttress server from this workspace").option("-s, --server-id <id>","Buttress server id (auto-detected by default)").option("--state-dir <dir>","Override the buttress state directory").option("--keep-local","Do not remove the local state.json file").action((c=g(function*(e){var t=e.serverId||k();t||(console.error(m.default.red("Could not detect a local server id. Pass --server-id explicitly.")),process.exit(1));var o=yield j();try{if((yield o.unbindButtressServer({serverId:t}))?console.log(m.default.green("✓"),`Unbound ${m.default.cyan(t)} from workspace.`):console.log(m.default.yellow("!"),`${m.default.cyan(t)} was not bound to this workspace.`),!e.keepLocal){var r=w(e.stateDir),n=yield S(e.stateDir);n?.workspace?.serverId===t&&(yield O(e.stateDir),console.log(m.default.gray(`Removed local state file: ${r}`)))}}catch(e){console.error(m.default.red(`Unbind failed: ${e.message}`)),process.exit(1)}}),function(e){return c.apply(this,arguments)})),I.command("status").description("Show local buttress binding state and the workspace-side bound list").option("--state-dir <dir>","Override the buttress state directory").option("-j, --json","Output as JSON").action((d=g(function*(e){var t=yield S(e.stateDir),o=null;try{var r=yield j();o=yield r.buttressServers()}catch(e){o={error:e.message}}e.json?console.log(JSON.stringify({local:t,remote:o},null,2)):(console.log(m.default.bold("\nLocal buttress state")),console.log("─".repeat(60)),t?.workspace?(console.log(` Workspace: ${m.default.bold(t.workspace.name)} (${t.workspace.id})`),console.log(` Server id: ${m.default.cyan(t.workspace.serverId)}`),console.log(` Issuer kid: ${m.default.gray(t.workspace.kid)}`),console.log(` Bound at: ${m.default.gray(t.workspace.boundAt)}`),console.log(` File: ${m.default.gray(w(e.stateDir))}`)):console.log(m.default.gray(" not bound (no state.json found)")),console.log(m.default.bold("\nWorkspace-side bound servers")),console.log("─".repeat(60)),Array.isArray(o)?0===o.length?console.log(m.default.gray(" none")):o.forEach(e=>{console.log(` ${m.default.cyan(e.serverId)} ${m.default.gray(e.name||"")} ${m.default.gray(e.boundAt||"")}`)}):o?.error&&console.log(m.default.red(` failed to fetch: ${o.error}`)))}),function(e){return d.apply(this,arguments)})),I.command("issue-token").description("Issue a long-lived workspace-scoped buttress access token (CLI/CTOR usage)").option("--ttl <seconds>","Time-to-live in seconds (default 30 days)",e=>parseInt(e,10)).option("-j, --json","Output as JSON").action((p=g(function*(e){var t=yield j();try{var o=yield t.issueButtressAccessToken({ttlSeconds:e.ttl});if(e.json)return void console.log(JSON.stringify(o,null,2));console.log(m.default.green("✓"),"Buttress access token issued."),console.log(` Workspace: ${o.workspaceId}`),console.log(` Expires: ${o.expiresAt}`),console.log(` jti: ${m.default.gray(o.jti)}`),console.log(),console.log(m.default.cyan(o.token))}catch(e){console.error(m.default.red(`Issue token failed: ${e.message}`)),process.exit(1)}}),function(e){return p.apply(this,arguments)})),I.command("scan").description("Scan LAN for buttress-servers via UDP and verify each via /buttress/info").option("-t, --timeout <ms>","Scan timeout in milliseconds","3000").option("-p, --port <port>","UDP discovery port",String(C)).option("--udp-only","Skip HTTP /buttress/info verification").option("-j, --json","Output as JSON").action((f=g(function*(e){var t=(yield Promise.resolve().then(o.bind(o,30155))).default,r=yield Promise.resolve().then(o.bind(o,47988)),n=r.getCurrentProfile,i=r.getTokenInfo,a=parseInt(e.timeout,10),s=parseInt(e.port,10),l=[],u=t(`Scanning for buttress-servers (${a}ms)...`).start();try{l=yield A({timeout:a,port:s,verify:!e.udpOnly,onStatus:e=>{u.text=e}}),u.stop()}catch(e){u.fail(`Scan failed: ${e.message}`),process.exit(1)}var c=n(),d=i(c)?.workspaceId||null;if(e.json)return void console.log(JSON.stringify({servers:l,workspaceId:d},null,2));if(0===l.length)return void console.log(m.default.yellow("No buttress-servers found on the LAN."));for(var p of(console.log(m.default.bold(`
40
- Found ${l.length} buttress-server(s)`)),console.log("─".repeat(70)),l)){var f=!1===p.verified?m.default.red("unverified"):m.default.green("online"),g=p.workspace?.id,h=g&&d&&g===d,D=p.authentication?.bound?m.default.yellow("JWT required"):m.default.gray("open");console.log(` ${m.default.bold(p.name||"Unknown")} ${m.default.gray(`(${p.address}:${p.port})`)} [${f}]`),p.id&&console.log(` Server id: ${m.default.cyan(p.id)}`),p.version&&console.log(` Version: ${m.default.green(p.version)}`);var y=p.authentication?.kid?m.default.gray(` (kid: ${p.authentication.kid})`):"";if(console.log(` Auth: ${D}${y}`),g){var v=h?m.default.green(`${g} ${m.default.bold("(current profile)")}`):m.default.gray(g);console.log(` Workspace: ${v}`)}if(Array.isArray(p.generators)&&p.generators.length>0)for(var b of(console.log(" Generators:"),p.generators)){var F=[];"number"==typeof b.score&&F.push(`score ${b.score.toFixed(1)}`),!0===b.hasGpu?F.push("GPU ✓"):!1===b.hasGpu&&F.push("GPU ✗"),"number"==typeof b.usableBytes&&F.push(`${(b.usableBytes/0x40000000).toFixed(1)} GB usable`);var _=F.length>0?` ${m.default.gray(F.join(" "))}`:"";console.log(` - ${m.default.cyan(b.type)}${_}`)}}console.log("─".repeat(70)),l.some(e=>e.authentication?.bound)&&(console.log(),console.log(m.default.gray("To connect to a bound server, run `bricks buttress issue-token` for a workspace access token.")))}),function(e){return f.apply(this,arguments)}))},71335(e,t,o){o.d(t,{oT:()=>c});var r=o(35679),n=o(73284),i=o(47988),a={prod:"https://display.bricks.tools",beta:"https://display-beta.bricks.tools",dev:"http://localhost:3001"},s=e=>{var t=Object.entries(a).find(([,t])=>e===t);return t?t[0]:null},l={prod:"https://activity-log.bricks.tools",beta:"https://activity-log-beta.bricks.tools",dev:"http://localhost:8088"},u=e=>{var t=Object.entries(l).find(([,t])=>e===t);return t?t[0]:null},c=new r.uB("config").description("CLI configuration management");c.command("endpoint").argument("[environment]","Environment to use (prod, beta, dev)").description("Show or set endpoint environment").option("-p, --profile","Set for current profile instead of global").action((e,t)=>{if(!e){var o=(0,i.getBaseUrl)(),r=s(o),c=(0,i.getActivityLogBaseUrl)(),d=u(c);console.log(n.default.bold("\nEndpoint Configuration")),console.log("─".repeat(50)),console.log(n.default.bold("BRICKS")),console.log(` URL: ${n.default.cyan(o)}`),console.log(` Environment: ${r?n.default.green(r):n.default.yellow("custom")}`),console.log(n.default.bold("Activity Log")),console.log(` URL: ${n.default.cyan(c)}`),console.log(` Environment: ${d?n.default.green(d):n.default.yellow("custom")}`),console.log("─".repeat(50)),console.log(n.default.gray("\nUsage: bricks config endpoint <prod|beta|dev>"));return}var p=Object.keys(a);p.includes(e)||(console.error(n.default.red(`Invalid environment: ${e}`)),console.log(n.default.gray(`Valid options: ${p.join(", ")}`)),process.exit(1));var f=a[e],g=l[e],h=t.profile?(0,i.getCurrentProfile)():null;(0,i.setBaseUrl)(f,h),(0,i.setActivityLogBaseUrl)(g,h);var m=t.profile?` (profile: ${(0,i.getCurrentProfile)()})`:"";console.log(n.default.green(`✓ Endpoint changed to ${e}${m}`)),console.log(n.default.gray(` BRICKS: ${f}`)),console.log(n.default.gray(` Activity Log: ${g}`)),console.log(n.default.yellow("\nNote: You may need to re-authenticate if your token is for a different environment.")),console.log(n.default.gray("Use `bricks auth status` to check your connection."))}),c.command("show").description("Show current configuration").option("-j, --json","Output as JSON").action(e=>{var t=(0,i.getBaseUrl)(),o=s(t);if(e.json)return void console.log(JSON.stringify({endpoint:t,environment:o||"custom"},null,2));console.log(n.default.bold("\nBRICKS CLI Configuration")),console.log("─".repeat(50)),console.log(`BRICKS: ${n.default.cyan(t)}`),o?console.log(`Environment: ${n.default.green(o)}`):console.log(`Environment: ${n.default.yellow("custom")}`);var r=(0,i.getActivityLogBaseUrl)(),a=u(r);console.log(`Activity Log: ${n.default.cyan(r)} ${a?n.default.green(`(${a})`):n.default.yellow("(custom)")}`),console.log("─".repeat(50))})},22175(e,t,o){o.d(t,{g:()=>g});var r,n,i,a,s,l,u,c,d=o(99436),p=o(35679),f=o(73284),g=new p.uB("ctor").description("BRICKS Project (ctor) tooling: scaffold, sync, compile, deploy, and serve the project"),h=e=>{console.error(f.default.red(e?.message||String(e))),process.exit(1)};g.command("init <id>").description("Initialize a BRICKS Project from an application or module").option("--type <type>","Project type: app or module","app").option("-o, --output <dir>","Output directory (default: current directory)").option("--github-actions","Include GitHub Actions workflow (default: true)").option("--no-github-actions","Skip GitHub Actions workflow setup").option("--agents","Include AGENTS.md (default: true)").option("--no-agents","Skip AGENTS.md setup").option("--claude","Include CLAUDE.md (default: true)").option("--no-claude","Skip CLAUDE.md setup").option("--gemini","Include GEMINI.md (default: false)").option("--no-gemini","Skip GEMINI.md setup").option("--install","Run bun install after generation (default: true)").option("--no-install","Skip bun install after generation").option("--git","Initialize git repository (default: true)").option("--no-git","Skip git initialization").option("-y, --yes","Skip prompts and use defaults/flags").option("-j, --json","Output as JSON (for programmatic use)").action((r=d(function*(e,t){var r="module"===t.type?"module":"application",n=(yield Promise.all([o.e(5658),o.e(4456)]).then(o.bind(o,58891))).initProject;yield n(r,e,t)}),function(e,t){return r.apply(this,arguments)})),g.command("postinstall").description("Regenerate the ctor/ library, MCP config, and skills (run from a project)").option("--skip-copy-project","Skip copying the ctor/ library into the project").option("--refresh-skills","Also overwrite bundled skill files whose content changed (default keeps existing skills)").option("--check","Compare the bundled ctor/skills assets against the project without writing (always exits 0; read the output)").option("-j, --json","With --check, output the comparison as JSON").action((n=d(function*(e){try{if(e.check){var t=(yield Promise.all([o.e(7111),o.e(1708)]).then(o.bind(o,37495))).checkProjectAssets,r=yield t();if(e.json)return void console.log(JSON.stringify(r,null,2));if(r.upToDate)return void console.log(`Project assets match the bundled snapshot (CLI ${r.cliVersion}).`);var n=(e,{changed:t,missing:o})=>{if(t.length||o.length){for(var r of(console.log(`${e}: ${t.length} changed, ${o.length} missing`),t))console.log(` ~ ${r}`);for(var n of o)console.log(` + ${n}`)}};console.log(`Project assets differ from the bundled snapshot (CLI ${r.cliVersion}):`),n("ctor/",r.lib),n("skills",r.skills),console.log("Run `bricks ctor postinstall --refresh-skills` to update them.");return}var i=(yield Promise.all([o.e(7111),o.e(1708)]).then(o.bind(o,37495))).postinstall;yield i(e)}catch(e){h(e)}}),function(e){return n.apply(this,arguments)})),g.command("pull").description("Pull the latest project files from BRICKS (3-way git merge)").option("-f, --force","Force pull, committing any unstaged changes first").action((i=d(function*(e){try{var t=(yield o.e(9663).then(o.bind(o,47090))).pull;yield t(e)}catch(e){h(e)}}),function(e){return i.apply(this,arguments)})),g.command("push").description("Compile and push config to BRICKS without creating a release").option("--auto-commit","Auto-commit unstaged changes before pushing").option("--no-check","Skip the conflict guard (don't pass --last-commit-id)").option("--no-validate","Skip server-side config schema validation").option("-y, --yes","Skip all prompts").action((a=d(function*(e){try{var t=(yield Promise.all([o.e(6645),o.e(2151),o.e(7648),o.e(8026),o.e(9590)]).then(o.bind(o,85909))).compile,r=(yield o.e(2557).then(o.bind(o,71772))).push;yield t({check:!0}),yield r(e)}catch(e){h(e)}}),function(e){return a.apply(this,arguments)})),g.command("deploy").description("Compile and release the project to BRICKS").option("--changelogs <text>","Changelogs text for the release").option("--changelogs-file <path>","Read changelogs from a file").option("--auto-commit","Auto-commit unstaged changes before deploying").option("--auto-version","Auto-bump patch version before deploying").option("--version <version>","Set explicit version for the release").option("-y, --yes","Skip all prompts").action((s=d(function*(e){try{var t=(yield Promise.all([o.e(6645),o.e(2151),o.e(7648),o.e(8026),o.e(9590)]).then(o.bind(o,85909))).compile,r=(yield o.e(1215).then(o.bind(o,42914))).deploy;yield t({check:!0}),yield r(e)}catch(e){h(e)}}),function(e){return s.apply(this,arguments)})),g.command("compile").description("Typecheck and build the project config").option("--no-check","Skip the typecheck preflight").action((l=d(function*(e){try{var t=(yield Promise.all([o.e(6645),o.e(2151),o.e(7648),o.e(8026),o.e(9590)]).then(o.bind(o,85909))).compile;yield t(e)}catch(e){h(e)}}),function(e){return l.apply(this,arguments)})),g.command("simulator").description("Run the BRICKS web-preview simulator for the project").allowUnknownOption(!0).helpOption(!1).action((u=d(function*(e,t){try{var r=(yield o.e(9320).then(o.bind(o,7931))).simulator;yield r(t.args)}catch(e){h(e)}}),function(e,t){return u.apply(this,arguments)})),g.command("mcp").description("Start the project-local bricks-ctor MCP server (STDIO)").option("--project <dir>","Project root (default: current directory)").action((c=d(function*(e){try{var t=(yield Promise.all([o.e(9866),o.e(4479),o.e(4685),o.e(6194)]).then(o.bind(o,95417))).startCtorMcpServer;yield t(e.project)}catch(e){h(e)}}),function(e){return c.apply(this,arguments)}))},55609(e,t,o){o.d(t,{E:()=>W});var r,n,i,a,s,l,u,c,d,p,f,g,h,m,D,y,v,b,F,_=o(68832),C=o(99436),$=o(79896),E=o(35679),w=o(73284),k=o(7586),S=o(56493),x=o(8479),O=o(47988),A=o(31596),j=o(98593),I=(r=C(function*(){return(yield Promise.resolve().then(o.bind(o,30155))).default}),function(){return r.apply(this,arguments)}),B=(n=C(function*(e,t){return e.json?null:(yield I())(t).start()}),function(e,t){return n.apply(this,arguments)}),N=(i=C(function*(){return o.e(5658).then(o.bind(o,27521))}),function(){return i.apply(this,arguments)}),P=(a=C(function*(){return o.e(1936).then(o.bind(o,76627))}),function(){return a.apply(this,arguments)}),T=(s=C(function*(){return Promise.all([o.e(6370),o.e(5785),o.e(9387)]).then(o.bind(o,30182))}),function(){return s.apply(this,arguments)}),R=(l=C(function*({message:e,autoYes:t,json:o}){if(t)return!0;if(o)throw Error("Confirmation required: pass -y/--yes together with --json");if(!(0,x.isInteractiveTerminal)())throw Error("Refusing to prompt in a non-interactive shell. Pass -y/--yes to confirm.");try{var r=(yield N()).confirm;return yield r({message:e,default:!1})}catch{return!1}}),function(e){return l.apply(this,arguments)}),M=({spinner:e,error:t,options:o,action:r,target:n})=>{var i=t.message;i?.includes(A.GE)?i=`${A.GE} Run \`bricks data enable\` first.`:t.isBankAuthError&&(i=`${i}
41
- The Data Bank key may be invalid or revoked — run \`bricks data login\` to reissue.`),o.json?(0,k.OW)(i,{action:r,...n&&{target:n}}):e?e.fail(i):console.error(w.default.red(i)),process.exit(1)},U=e=>{try{return JSON.parse(e)}catch{return e}},J=(e,t)=>{try{return JSON.parse(e)}catch{throw Error(`Invalid JSON for ${t}`)}},L=e=>e.split(",").map(e=>e.trim()).filter(Boolean),q=e=>({name:e.name,meta:e.meta,value:(0,k.$l)(e.value),enableExpired:!!e.enableExpired,expiredAt:e.expiredAt||null,createAt:e.createAt||null,hasReadLimit:!!e.limitedReadProperties?.length,hasWriteLimit:!!e.limitedWriteProperties?.length}),G=(u=C(function*(e){var t=yield e.workspace();return t?.bank||{}}),function(e){return u.apply(this,arguments)}),V=(c=C(function*(e){var t=(yield P()).resolveBankCredentials,o=yield T(),r=o.createBankClient,n=o.resolveBankEndpoint,i=yield t(e);return r({endpoint:n((0,O.getBaseUrl)()),spacename:i.spacename,spacekey:i.spacekey})}),function(e){return c.apply(this,arguments)}),W=new E.uB("data").description("Data Bank (remote properties) management");W.command("status").description("Show Data Bank status for this workspace").option("-j, --json","Output as JSON").action((d=C(function*(e){var t=(0,S.requireAuth)(),o=yield B(e,"Fetching Data Bank status...");try{var r=yield G(t),n=(0,O.getBankCredentials)((0,O.getCurrentProfile)()),i={enabled:!!r.enable_remote_update,spacename:r.spacename||null,keys:(r.keys||[]).map(q),cliKey:n?{keyName:n.keyName||null,spacekey:(0,k.$l)(n.spacekey),issuedAt:n.issuedAt||null}:null};if(o&&o.stop(),e.json)return void(0,k.GF)(i);console.log(w.default.bold("\nData Bank")),console.log("─".repeat(60)),console.log(`Enabled: ${i.enabled?w.default.green("Yes"):w.default.red("No")}`),console.log(`Spacename: ${i.spacename||w.default.gray("N/A")}`),console.log(`Keys: ${i.keys.length}`),console.log(`CLI Key: ${i.cliKey?`${i.cliKey.keyName||"Unnamed"} ${w.default.gray(`(${i.cliKey.spacekey})`)}`:w.default.gray("none (issued automatically on first use)")}`),console.log("─".repeat(60)),i.enabled||console.log(w.default.yellow("Run `bricks data enable` to enable Data Bank."))}catch(t){M({spinner:o,error:t,options:e,action:"data.status"})}}),function(e){return d.apply(this,arguments)}));var H=(p=C(function*(e,t){var o=(0,S.requireAuth)(),r=e?"data.enable":"data.disable",n=yield B(t,`${e?"Enabling":"Disabling"} Data Bank...`);try{var i=yield o.updateWorkspace({enableBankRemoteUpdate:e}),a=i?.bank||{};n&&n.stop(),(0,j.yd)({action:r,target:{spacename:a.spacename||null},result:{enabled:!!a.enable_remote_update},json:t.json,message:e?`${w.default.green("Data Bank enabled.")} Spacename: ${w.default.cyan(a.spacename)}`:w.default.green("Data Bank disabled.")})}catch(e){M({spinner:n,error:e,options:t,action:r})}}),function(e,t){return p.apply(this,arguments)});W.command("enable").description("Enable Data Bank on this workspace").option("-j, --json","Output as JSON").action(e=>H(!0,e)),W.command("disable").description("Disable Data Bank on this workspace").option("-j, --json","Output as JSON").action(e=>H(!1,e)),W.command("login").description("Issue a Data Bank space key and save it to the active profile").option("--name <keyName>","Space key name","bricks-cli").option("-j, --json","Output as JSON").action((f=C(function*(e){var t=(0,S.requireAuth)(),o=yield B(e,"Issuing Data Bank key...");try{var r=(yield P()).issueBankCredentials,n=yield r(t,{keyName:e.name});o&&o.stop(),(0,j.yd)({action:"data.login",target:{spacename:n.spacename},result:{keyName:n.keyName,spacekey:(0,k.$l)(n.spacekey),issuedAt:n.issuedAt},json:e.json,message:`${w.default.green("Data Bank key issued and saved.")} ${w.default.gray(`(${n.keyName}, stored in ${O.CONFIG_PATH})`)}`})}catch(t){M({spinner:o,error:t,options:e,action:"data.login"})}}),function(e){return f.apply(this,arguments)})),W.command("logout").description("Remove the stored Data Bank key from the active profile").option("--revoke","Also revoke the key on the workspace").option("-j, --json","Output as JSON").action((g=C(function*(e){var t=(0,S.requireAuth)(),o=yield B(e,"Clearing Data Bank key...");try{var r=(yield P()).clearStoredBankCredentials,n=yield r(t,{revoke:e.revoke}),i=n.cleared,a=n.revoked;o&&o.stop(),(0,j.yd)({action:"data.logout",target:{profile:(0,O.getCurrentProfile)()},result:{cleared:i,revoked:a},json:e.json,message:i?w.default.green(`Data Bank key removed${a?" and revoked":""}.`):w.default.yellow("No Data Bank key stored for this profile.")})}catch(t){M({spinner:o,error:t,options:e,action:"data.logout"})}}),function(e){return g.apply(this,arguments)}));var K=new E.uB("keys").description("Data Bank space key management");W.addCommand(K),K.command("list").description("List Data Bank space keys (values are masked; use --json for full values)").option("-j, --json","Output as JSON (includes full key values)").action((h=C(function*(e){var t=(0,S.requireAuth)(),o=yield B(e,"Fetching space keys...");try{var r=(yield G(t)).keys||[];if(o&&o.stop(),e.json)return void(0,k.GF)(r);if(0===r.length)return void console.log(w.default.yellow("No space keys found"));console.log(w.default.bold("\nData Bank Space Keys")),console.log("─".repeat(60)),r.map(q).forEach(e=>{var t=e.enableExpired?`expires ${e.expiredAt}`:"no expiry",o=[e.hasReadLimit&&"read-limited",e.hasWriteLimit&&"write-limited"].filter(Boolean).join(", ");console.log(`● ${w.default.cyan(e.name||"Unnamed")} ${w.default.gray(`(${e.meta})`)}`),console.log(` Value: ${w.default.gray(e.value)}`),console.log(` Expiry: ${w.default.gray(t)}${o?w.default.gray(`, ${o}`):""}`),console.log()}),console.log("─".repeat(60))}catch(t){M({spinner:o,error:t,options:e,action:"data.keys.list"})}}),function(e){return h.apply(this,arguments)})),K.command("new <name>").description("Create a new Data Bank space key").option("--expire-at <date>","Expiry time (ISO date, between 1 hour and 90 days from now)").option("--read <propertyIds>","Limit readable properties (comma separated)").option("--write <propertyIds>","Limit writable properties (comma separated)").option("-j, --json","Output as JSON").action((m=C(function*(e,t){var o=(0,S.requireAuth)(),r=yield B(t,"Creating space key...");try{if(t.expireAt&&Number.isNaN(Date.parse(t.expireAt)))throw Error(`Invalid --expire-at date: ${t.expireAt}`);var n=yield G(o),i=new Set((n.keys||[]).map(e=>e.value)),a=yield o.updateWorkspace({newBankKey:{name:e,enableExpired:!!t.expireAt,expiredAt:t.expireAt,limitedReadProps:t.read?L(t.read):void 0,limitedWriteProps:t.write?L(t.write):void 0}}),s=a?.bank?.keys||[],l=s.find(e=>!i.has(e.value))||s.filter(t=>t.name===e).at(-1);if(!l)throw Error("Space key was not created");r&&r.stop(),(0,j.yd)({action:"data.keys.new",target:{name:e},result:l,json:t.json,message:w.default.green(`Space key "${e}" created.`)}),t.json||(console.log(w.default.yellow("\n⚠ Copy this key now — it will not be shown again in full:")),console.log(l.value))}catch(o){M({spinner:r,error:o,options:t,action:"data.keys.new",target:{name:e}})}}),function(e,t){return m.apply(this,arguments)})),K.command("revoke <keyOrName>").description("Revoke a Data Bank space key by value or name").option("-y, --yes","Skip confirmation prompt").option("-j, --json","Output as JSON").action((D=C(function*(e,t){var o=(0,S.requireAuth)(),r=yield B(t,"Resolving space key...");try{var n=(yield G(o)).keys||[],i=n.filter(t=>t.value===e);if(0===i.length&&(i=n.filter(t=>t.name===e)),0===i.length)throw Error(`No space key matched "${e}"`);if(i.length>1)throw Error(`Multiple space keys named "${e}"; pass the exact key value instead`);var a=i,s=_(a,1)[0];if(r&&r.stop(),!(yield R({message:`Revoke space key "${s.name}" (${(0,k.$l)(s.value)})?`,autoYes:t.yes,json:t.json})))return void console.log(w.default.yellow("Cancelled"));yield o.updateWorkspace({revokeBankKey:s.value}),(0,j.yd)({action:"data.keys.revoke",target:{name:s.name,meta:s.meta},result:{revoked:!0},json:t.json,message:w.default.green(`Space key "${s.name}" revoked.`)})}catch(e){M({spinner:r,error:e,options:t,action:"data.keys.revoke"})}}),function(e,t){return D.apply(this,arguments)})),W.command("list").description("List Data Bank properties").option("-k, --keyword <keyword>","Filter by definition title / description or tags").option("-m, --meta <meta>",`Filter by meta (${A.YC.join(" | ")})`).option("-j, --json","Output as JSON").action((y=C(function*(e){var t=(0,S.requireAuth)(),o=yield B(e,"Fetching properties...");try{(0,A.jR)(e.meta);var r=yield V(t),n=yield r.listProperties({keyword:e.keyword,meta:e.meta});if(o&&o.stop(),e.json)return void(0,k.GF)(n||[]);if(!n||0===n.length)return void console.log(w.default.yellow("No Data Bank properties found"));console.log(w.default.bold(`
42
- Data Bank Properties (${n.length})`)),console.log("─".repeat(80)),n.forEach(e=>{var t=e.definition?.title;console.log(`● ${w.default.cyan(e.propertyId)} ${w.default.gray(`(${e.meta})`)}${t?` ${t}`:""}`),e.tags?.length&&console.log(` Tags: ${e.tags.join(", ")}`),console.log(` Value: ${(e=>{if(null==e)return w.default.gray("null");var t=JSON.stringify(e);return t.length>60?`${t.slice(0,60)}…`:t})(e.value)}`),console.log(` Updated: ${w.default.gray(e.updateAt)}`),console.log()}),console.log("─".repeat(80))}catch(t){M({spinner:o,error:t,options:e,action:"data.list"})}}),function(e){return y.apply(this,arguments)})),W.command("get <propertyId>").description("Get a Data Bank property").option("-j, --json","Output as JSON").action((v=C(function*(e,t){var o=(0,S.requireAuth)(),r=yield B(t,"Fetching property...");try{var n=yield V(o),i=yield n.getProperty(e);if(!i)throw Error(`Property not found: ${e}`);if(r&&r.stop(),t.json)return void(0,k.GF)(i);console.log(w.default.bold(`
43
- Data Bank Property: ${i.propertyId}`)),console.log("─".repeat(60)),console.log(`Meta: ${i.meta}`),console.log(`Title: ${i.definition?.title||w.default.gray("N/A")}`),console.log(`Tags: ${i.tags?.join(", ")||w.default.gray("None")}`),console.log(`Last Note: ${i.lastUpdateNote||w.default.gray("N/A")}`),console.log(`Updated: ${w.default.gray(i.updateAt)}`),console.log(`Created: ${w.default.gray(i.createAt)}`),console.log(`
44
- ${w.default.bold("Value")}`),console.log(JSON.stringify(i.value,null,2)),console.log(`
45
- ${w.default.bold("Definition")}`),console.log(JSON.stringify(i.definition,null,2)),console.log("─".repeat(60))}catch(o){M({spinner:r,error:o,options:t,action:"data.get",target:{propertyId:e}})}}),function(e,t){return v.apply(this,arguments)})),W.command("set <propertyId>").description("Create or update a Data Bank property (upsert by default)").option("-v, --value <value>","New value (JSON; falls back to plain string)").option("--value-file <path>","Read the new value from a file (JSON; falls back to raw text)").option("-d, --definition <json>","Replace the property definition (JSON)").option("--definition-file <path>","Read the definition from a JSON file").option("-m, --meta <meta>",`Property meta (${A.YC.join(" | ")}), default InSubspace`).option("-t, --tags <tags>","Replace tags (comma separated)").option("-n, --note <note>","Update note","Updated via bricks-cli").option("--no-upsert","Fail when the property does not exist").option("--no-notify","Do not notify subscribed devices").option("--dry-run","Validate inputs and show the payload without sending it").option("-j, --json","Output as JSON").action((b=C(function*(e,t){var o=(0,S.requireAuth)(),r=yield B(t,"Preparing property update...");try{if(void 0!==t.value&&t.valueFile)throw Error("Use either --value or --value-file, not both");if(t.definition&&t.definitionFile)throw Error("Use either --definition or --definition-file, not both");(0,A.jR)(t.meta);var n,i,a=!0;void 0!==t.value?n=U(t.value):t.valueFile?n=U($.readFileSync(t.valueFile,"utf8")):a=!1,t.definition?i=J(t.definition,"--definition"):t.definitionFile&&(i=J($.readFileSync(t.definitionFile,"utf8"),"--definition-file"));var s=yield V(o),l=yield s.getProperty(e);if(!l&&!t.upsert)throw Error(`Property not found: ${e} (--no-upsert)`);!a&&l&&(n=l.value);var u={propertyId:e,meta:t.meta,definition:i,value:n,updateNote:t.note,upsert:t.upsert,tags:t.tags?L(t.tags):void 0},c=!1===t.notify||void 0,d={propertyId:e,exists:!!l};if(t.dryRun){r&&r.stop(),(0,j.S5)({action:"data.set",target:d,request:{...u,dontNotify:c},checks:[(0,j.Iy)("property exists",!!l,l?void 0:"will be created"),(0,j.Iy)("value provided",a,a?void 0:"current value kept")],json:t.json});return}var p=(yield s.updateProperties([u],c))||[],f=_(p,1)[0];if(!f)throw Error("Property was not updated");r&&r.stop(),(0,j.yd)({action:"data.set",target:d,result:f,json:t.json,message:`${w.default.green(l?"Property updated:":"Property created:")} ${f.propertyId}`})}catch(o){M({spinner:r,error:o,options:t,action:"data.set",target:{propertyId:e}})}}),function(e,t){return b.apply(this,arguments)})),W.command("remove <propertyId>").description("Remove a Data Bank property").option("-y, --yes","Skip confirmation prompt").option("--dry-run","Validate inputs and show the removal plan without sending it").option("-j, --json","Output as JSON").action((F=C(function*(e,t){var o=(0,S.requireAuth)(),r=yield B(t,"Fetching property...");try{var n=yield V(o),i=yield n.getProperty(e);if(!i)throw Error(`Property not found: ${e}`);r&&r.stop();var a={propertyId:e,title:i.definition?.title};if(t.dryRun)return void(0,j.S5)({action:"data.remove",target:a,request:{propertyId:e},checks:[(0,j.Iy)("property exists",!0)],json:t.json});if(!(yield R({message:`Remove Data Bank property "${e}"? This cannot be undone.`,autoYes:t.yes,json:t.json})))return void console.log(w.default.yellow("Cancelled"));if(!(yield n.removeProperty(e)))throw Error("Property was not removed");(0,j.yd)({action:"data.remove",target:a,result:{removed:!0},json:t.json,message:w.default.green(`Property removed: ${e}`)})}catch(o){M({spinner:r,error:o,options:t,action:"data.remove",target:{propertyId:e}})}}),function(e,t){return F.apply(this,arguments)}))},42400(e,t,o){o.a(e,async function(e,r){try{o.d(t,{D:()=>g});var n=o(35679),i=o(69278),a=o(16928),s=o(70857),l=o(84361),u=e([l]);l=(u.then?(await u)():u)[0];var c=process.env.BRICKS_PROJECT_DESKTOP_DATA_DIR||a.join(s.homedir(),".bricks-project-desktop"),d=a.join(c,"acp.sock"),p=`[acp] Cannot connect to CTOR.
23
+ ${_.default.cyan(e.name||"(unnamed)")} ${_.default.gray(e.date||"")}`),console.log(` Version ID: ${_.default.green(e.version)}`),console.log(` Release ID: ${_.default.gray(e._id)}`),e.note&&console.log(` Note: ${_.default.gray(e.note)}`)}),console.log("\n"+"─".repeat(60)),console.log(_.default.gray("Use:"),`bricks app share-new --app-id ${o._id} --version <name>`),console.log(_.default.gray("Or: "),"bricks app share-new --version-id <Version ID>")}catch(e){a.json?console.error(JSON.stringify({error:e.message})):p.fail(`Failed to fetch share info: ${e.message}`),process.exit(1)}}),function(e,a){return o.apply(this,arguments)})),x.command("share-new").description("Create a new application from a shared release version").option("--app-id <id>","Source shared application ID (requires --version)").option("--version <name>","Release name to use from the source app (requires --app-id)").option("--version-id <id>","Share version ID (from `app share-info`); skips lookup").option("-n, --name <name>","Application name").option("-d, --description <description>","Application description").option("--skip-if-exists","Return existing application if one already exists with this share version").option("--init","Initialize a BRICKS Project after creation").option("-o, --output <dir>","Output directory for --init (default: current directory)").option("-y, --yes","Skip prompts for --init").option("-j, --json","Output as JSON").action((i=w(function*(e){var a=(0,k.requireAuth)(),p=e.json?null:(0,C.default)("Creating application from shared version...").start();try{if(!e.versionId&&!(e.appId&&e.version))throw Error("Provide --version-id, or both --app-id and --version. Run `bricks app share-info <appId>` to discover values.");var o=e.versionId;if(!o){p&&(p.text="Resolving share version...");var i=yield a.publicApplicationShareInfo({id:e.appId}),d=i?.share?.selected_releases||[],r=d.find(a=>a.name===e.version);if(!r){var n=d.map(e=>e.name).filter(Boolean).join(", ")||"none";throw Error(`Release "${e.version}" not found on app ${e.appId}. Available: ${n}`)}o=r.version,p&&(p.text="Creating application from shared version...")}var l={shareVersionId:o};e.name&&(l.name=e.name),e.description&&(l.description=e.description),e.skipIfExists&&(l.skipIfExists=!0);var s=yield a.createApplicationWithShareVersion(l);if(e.json&&!e.init?console.log(JSON.stringify(s,null,2)):!e.json&&(p.succeed(`Application created: ${_.default.green(s.name)}`),console.log(` ID: ${_.default.gray(s._id)}`),s.description&&console.log(` ${_.default.gray(s.description)}`)),e.init){p&&p.stop();var u=(yield Promise.all([t.e(5658),t.e(4456)]).then(t.bind(t,58891))).initProject;yield u("application",s._id,{output:e.output,yes:e.yes,json:e.json})}}catch(a){e.json?console.error(JSON.stringify({error:a.message})):p.fail(`Failed to create application from shared version: ${a.message}`),process.exit(1)}}),function(e){return i.apply(this,arguments)})),x.command("list").description("List all applications").option("-k, --keyword <keyword>","Filter by keyword").option("-j, --json","Output as JSON").action((d=w(function*(e){var a=(0,k.requireAuth)(),t=(0,C.default)("Fetching applications...").start();try{var p=yield a.applications({keyword:e.keyword});if(t.stop(),e.json)return void console.log(JSON.stringify(p,null,2));if(!p||0===p.length)return void console.log(_.default.yellow("No applications found"));console.log(_.default.bold("\nApplications")),console.log("─".repeat(80)),p.forEach(e=>{var a=e.has_unreleased_changes?_.default.yellow("●"):_.default.green("●"),t=e.current_version?`v${e.current_version}`:_.default.gray("no version");console.log(`${a} ${_.default.cyan(e.name)} ${_.default.gray(t)}`),console.log(` ID: ${_.default.gray(e._id)}`),e.description&&console.log(` ${_.default.gray(e.description)}`),console.log()})}catch(e){t.fail(`Failed to list applications: ${e.message}`),process.exit(1)}}),function(e){return d.apply(this,arguments)})),x.command("get <id>").description("Get application details").option("-c, --composed","Get composed configuration").option("-j, --json","Output as JSON").action((r=w(function*(e,a){var t=(0,k.requireAuth)(),p=(0,C.default)("Fetching application...").start();try{var o=yield t.application({id:e,composed:a.composed});if(p.stop(),o||(console.log(_.default.red("Application not found")),process.exit(1)),a.json)return void console.log(JSON.stringify(o,null,2));if(console.log(_.default.bold(`
24
+ Application: ${o.name}`)),console.log("─".repeat(60)),console.log(`ID: ${_.default.gray(o._id)}`),console.log(`Description: ${o.description||_.default.gray("N/A")}`),console.log(`Tags: ${o.tags?.join(", ")||_.default.gray("None")}`),console.log(`Created: ${_.default.gray(o.create_datetime)}`),console.log(`Modified: ${_.default.gray(o.last_modify_datetime)}`),console.log(`
25
+ ${_.default.bold("Version")}`),o.current_version){if(console.log(`Current: v${o.current_version}`),o.current_version_details){var i=o.current_version_details;i.name&&console.log(`Release Name: ${i.name}`),i.note&&console.log(`Release Note: ${_.default.gray(i.note)}`),i.create_datetime&&console.log(`Released At: ${_.default.gray(i.create_datetime)}`)}}else console.log(`Current: ${_.default.gray("No version")}`);if(console.log(`Unreleased: ${o.has_unreleased_changes?_.default.yellow("Yes"):_.default.green("No")}`),console.log(`
26
+ ${_.default.bold("Features")}`),console.log(`Short Edit: ${o.short_edit?.enabled?_.default.green("Enabled"):_.default.gray("Disabled")}`),o.short_edit?.enabled&&o.short_edit.ref_map){var d=Object.keys(o.short_edit.ref_map).length;console.log(` References: ${d} editable properties`)}console.log(`Automation: ${o.canvas_control?.enable_schedule?_.default.green("Scheduled"):_.default.gray("No schedule")}`),o.lock?.enabled&&console.log(`Locked: ${_.default.yellow("Yes")}`),o.sync_key&&console.log(`Sync Key: ${_.default.gray(o.sync_key)}`),o.devices?.length>0?(console.log(`
27
+ ${_.default.bold("Bound Devices")} (${o.devices.length})`),o.devices.forEach(e=>{var a="active"===e.status?_.default.green("●"):_.default.gray("○"),t=e.frame?_.default.gray(` [${e.frame.x||0},${e.frame.y||0} ${e.frame.width}x${e.frame.height}]`):"";console.log(` ${a} ${e.device_id}${t}`)})):console.log(`
28
+ ${_.default.bold("Bound Devices")}: ${_.default.gray("None")}`),console.log("─".repeat(60))}catch(e){p.fail(`Failed to get application: ${e.message}`),process.exit(1)}}),function(e,a){return r.apply(this,arguments)})),x.command("resolve <query>").description("Resolve an application name or ID to stable IDs").option("-l, --limit <limit>","Limit search results",e=>Number.parseInt(e,10),10).option("-j, --json","Output as JSON").action((n=w(function*(e,a){var t=(0,k.requireAuth)(),p=a.json?null:(0,C.default)("Resolving application...").start();try{var o=yield(0,A.Y)(()=>t.application({id:e})),i=o?[o]:yield t.applications({keyword:e,paginate:{limit:a.limit}}),d=(0,A.K)({resource:"application",query:e,items:i||[],fields:["_id","name"],selectedBy:o?"id":null});if(p&&p.stop(),a.json)return void(0,E.GF)(d);if(d.resolved){var r=d.resolved;console.log(_.default.bold("\nResolved Application")),console.log("─".repeat(60)),console.log(`Name: ${_.default.cyan(r.name||"Unnamed")}`),console.log(`ID: ${_.default.gray(r._id)}`),console.log(`Selected By: ${d.selectedBy}`),console.log("─".repeat(60));return}if(0===d.matches.length)return void console.log(_.default.yellow(`No applications matched "${e}"`));console.log(_.default.bold(`
29
+ Matching Applications (${d.matches.length})`)),console.log("─".repeat(80)),d.matches.forEach(e=>{console.log(`${_.default.cyan(e.name||"Unnamed")} ${_.default.gray(e._id)}`)}),console.log("─".repeat(80))}catch(a){p?p.fail(`Failed to resolve application: ${a.message}`):(0,E.OW)(a.message,{resource:"application",query:e}),process.exit(1)}}),function(e,a){return n.apply(this,arguments)})),x.command("update <id>").description("Update application name, description, and/or configuration").option("-n, --name <name>","Application name").option("-d, --description <description>","Application description").option("-c, --config <json>","Application config as JSON string").option("-f, --file <path>","Application config from file").option("--validate","Validate configuration (default: true when config is set)",!0).option("--no-validate","Skip server-side config validation").option("--last-commit-id <id>","Reject if server config.bricks_project_last_commit_id does not match this value").option("-j, --json","Output as JSON").action((l=w(function*(e,a){var t=(0,k.requireAuth)(),p=a.json?null:(0,C.default)("Updating application...").start();try{var o=yield t.updateApplication((0,$.jB)(e,a));a.json?(0,$.yd)({action:"application.update",target:O(o,e),result:{lastCommitId:a.lastCommitId||null},json:!0}):(p.succeed(`Application updated: ${_.default.green(o.name)}`),o.has_unreleased_changes&&console.log(_.default.yellow("Note: Application has unreleased changes")))}catch(t){a.json?(0,E.OW)(t.message,{action:"application.update",target:{id:e}}):p.fail(`Failed to update application: ${t.message}`),process.exit(1)}}),function(e,a){return l.apply(this,arguments)})),x.command("short-edit <id>").description("Short edit application properties").requiredOption("-l, --list <json>","Short edit list as JSON array").action((s=w(function*(e,a){var t=(0,k.requireAuth)(),p=(0,C.default)("Applying short edit...").start();try{var o=JSON.parse(a.list);Array.isArray(o)||(p.fail("List must be a JSON array"),process.exit(1));var i=yield t.shortEditApplication({id:e,list:o});p.succeed(`Short edit applied to: ${_.default.green(i.name)}`)}catch(e){p.fail(`Failed to apply short edit: ${e.message}`),process.exit(1)}}),function(e,a){return s.apply(this,arguments)})),x.command("short-refs <id>").description("List short edit references for an application").option("-k, --keyword <keyword>","Filter by shortId or title").option("-t, --types <types>","Comma-separated shortId prefixes to include (e.g. B,C,S)").option("-j, --json","Output as JSON").action((u=w(function*(e,a){var t=(0,k.requireAuth)(),p=(0,C.default)("Fetching short edit references...").start();try{var o=yield t.application({id:e});if(p.stop(),!o?.short_edit?.enabled)return void console.log(_.default.yellow("Short Edit is not enabled for this application"));var i=a.types?a.types.split(",").map(e=>e.trim()).filter(Boolean):[],d=(0,S.V)(o.short_edit.ref_map,{keyword:a.keyword,types:i});if(a.json)return void console.log(JSON.stringify(d,null,2));if(0===d.length)return void console.log(_.default.yellow("No short edit references found"));console.log(_.default.bold(`
30
+ Short Edit References: ${o.name}`)),d.forEach(e=>{console.log(_.default.cyan(`
31
+ ${e.label} (${e.prefix}_)`)),e.refs.forEach(({shortId:e,ref:a})=>{var t=a?.title?_.default.gray(`- ${a.title}`):"";console.log(` ${_.default.green(e)} ${t}`)})}),console.log()}catch(e){p.fail(`Failed to fetch short edit references: ${e.message}`),process.exit(1)}}),function(e,a){return u.apply(this,arguments)})),x.command("bind <id>").description("Bind devices to application").option("-b, --bind <devices>","Device IDs to bind (comma-separated)").option("-u, --unbind <devices>","Device IDs to unbind (comma-separated)").option("--dry-run","Validate inputs and show the binding plan without applying it").option("-j, --json","Output as JSON").action((m=w(function*(e,a){var t=(0,k.requireAuth)(),p=a.json?null:(0,C.default)("Updating device bindings...").start();try{var o=yield t.application({id:e});if(!o)throw Error("Application not found");var i=a.bind?a.bind.split(",").map(e=>e.trim()):[],d=a.unbind?a.unbind.split(",").map(e=>e.trim()):[],r={id:e};if(i.length>0&&(r.bindDevices=i),d.length>0&&(r.unbindDevices=d),a.dryRun){p&&p.stop(),(0,$.S5)({action:"application.bind",target:O(o,e),request:{bindDevices:i,unbindDevices:d},checks:[(0,$.Iy)("application exists",!0,`${o.name} (${o._id})`),(0,$.Iy)("device changes provided",i.length+d.length>0,`bind=${i.length}, unbind=${d.length}`)],json:a.json});return}yield t.bindApplication(r),a.json?(0,$.yd)({action:"application.bind",target:O(o,e),result:{bindDevices:i,unbindDevices:d},json:!0}):p.succeed("Device bindings updated")}catch(t){a.json?(0,E.OW)(t.message,{action:"application.bind",target:{id:e}}):p.fail(`Failed to update bindings: ${t.message}`),process.exit(1)}}),function(e,a){return m.apply(this,arguments)})),x.command("remove <id>").description("Remove an application").option("--dry-run","Validate the target and show the removal plan without deleting it").option("-j, --json","Output as JSON").action((c=w(function*(e,a){var t=(0,k.requireAuth)(),p=a.json?null:(0,C.default)("Removing application...").start();try{var o=yield t.application({id:e});if(!o)throw Error("Application not found");var i=O(o,e);if(a.dryRun){p&&p.stop(),(0,$.S5)({action:"application.remove",target:i,request:{id:e},checks:[(0,$.Iy)("application exists",!0,`${i.name} (${i.id})`)],json:a.json});return}var d=yield t.removeApplication({id:e});a.json?(0,$.yd)({action:"application.remove",target:i,result:{removed:!!d},json:!0}):p.succeed(`Application removed: ${_.default.green(i.name)}`)}catch(t){a.json?(0,E.OW)(t.message,{action:"application.remove",target:{id:e}}):p.fail(`Failed to remove application: ${t.message}`),process.exit(1)}}),function(e,a){return c.apply(this,arguments)})),x.command("trigger <id> <testId>").description("Trigger automation test on application").option("--play","Play the test",!0).option("--stop","Stop the test").option("--setup-at-launch","Setup to run at app launch").option("-g, --match-group <group>","Match group").action((f=w(function*(e,a,t){var p=(0,k.requireAuth)(),o=(0,C.default)("Triggering automation...").start();try{yield p.triggerApplicationCanvasControl({id:e,testId:a,play:!t.stop&&t.play,setupAtLaunch:t.setupAtLaunch,matchGroup:t.matchGroup}),o.succeed(`Automation triggered: ${_.default.green(a)}`)}catch(e){o.fail(`Failed to trigger automation: ${e.message}`),process.exit(1)}}),function(e,a,t){return f.apply(this,arguments)})),x.command("release <id>").description("Release application to BRICKS platform").requiredOption("-c, --config <path|json>","Application config file path or JSON string").option("-n, --name <name>","Update application name as part of the release").option("--version <version>","Version name").option("--changelogs <text>","Release changelogs").option("--dry-run","Validate inputs and show the release plan without publishing").option("-j, --json","Output as JSON").action((h=w(function*(e,a){var t=(0,k.requireAuth)(),p=a.json?null:(0,C.default)("Releasing application...").start();try{var o=(0,N.Ku)(a.config),i=o.config,d=o.source,r=o.sizeBytes,n=yield t.application({id:e});if(!n)throw Error("Application not found");if(n.lock?.enabled)throw Error("Application is locked");var l=a.version||a.name||n.name||"Untitled",s=(0,N.w9)(a.changelogs);if(a.dryRun){p&&p.stop(),(0,$.S5)({action:"application.release",target:O(n,e),request:{name:a.name||null,version:l,changelogs:a.changelogs||null,configSource:d,configSizeBytes:r},checks:[(0,$.Iy)("application exists",!0,`${n.name} (${n._id})`),(0,$.Iy)("application is unlocked",!n.lock?.enabled),(0,$.Iy)("release config loaded",!0,`${r} bytes`)],json:a.json});return}var u=yield t.releaseApplication({id:e,config:i,...a.name?{name:a.name}:{},releaseCurrentVersion:l,releaseCurrentVersionNote:s});a.json?(0,$.yd)({action:"application.release",target:O(u||n,e),result:{name:a.name||null,version:l,configSource:d,configSizeBytes:r},json:!0}):p.succeed(`Application released: ${_.default.green(u?.name||n.name)}`)}catch(t){a.json?(0,E.OW)(t.message,{action:"application.release",target:{id:e}}):p.fail(`Failed to release application: ${t.message}`),process.exit(1)}}),function(e,a){return h.apply(this,arguments)})),x.command("project-pull <id>").description("Pull application source files from BRICKS platform").option("-j, --json","Output as JSON (for programmatic use)").action((v=w(function*(e,a){var t=(0,k.requireAuth)(),p=a.json?null:(0,C.default)("Pulling application project...").start();try{var o=yield t.applicationProject({id:e,buildApplicationOnly:!0});o||(p?p.fail("Application project not found"):console.error(JSON.stringify({error:"Application project not found"})),process.exit(1)),a.json?console.log(JSON.stringify(o)):(p.succeed(`Application project fetched: ${_.default.green(o.files?.length||0)} files`),console.log(JSON.stringify(o,null,2)))}catch(e){a.json?console.error(JSON.stringify({error:e.message})):p.fail(`Failed to pull application project: ${e.message}`),process.exit(1)}}),function(e,a){return v.apply(this,arguments)})),x.command("check-config <path>").description("Validate application config against BRICKS schema").option("-j, --json","Output as JSON").option("--validate-automation","Also validate automation_map and test_map references (skips commented/unfinished steps)").option("--no-validate-expressions","Skip validating PROPERTY_BANK_EXPRESSION strings against the runtime expression rules").action((g=w(function*(e,a){F.existsSync(e)||(console.error(_.default.red(`Config file not found: ${e}`)),process.exit(1));var p=(0,C.default)("Validating config...").start();try{var o=F.readFileSync(e,"utf-8"),i=JSON.parse(o),d=yield Promise.all([t.e(9866),t.e(6645),t.e(9430),t.e(1010),t.e(7511),t.e(7574)]).then(t.t.bind(t,38890,19)),r=d.checkConfig,n=d.checkConfigDeprecatedFeatures,l=r(i,{checkAutomation:!!a.validateAutomation,checkCalc:!0,checkExpressions:!1!==a.validateExpressions}),s=n(i);if(p.stop(),a.json){console.log(JSON.stringify({...l,deprecations:s},null,2)),l.valid||process.exit(1);return}if(l.valid&&0===s.length)return void console.log(_.default.green("✓ Config is valid"));console.log(_.default.bold("\nConfig Validation Report")),console.log("─".repeat(60)),l.schema.length>0&&(console.log(_.default.red(`
32
+ Schema Errors (${l.schema.length})
33
+ `)),l.schema.forEach((e,a)=>{var t=e.instancePath||e.dataPath||"/";console.log(` ${_.default.red(`${a+1}.`)} ${_.default.bold(t)}`),console.log(` ${e.message}`),e.params?.pattern&&console.log(` ${_.default.gray(`pattern: ${e.params.pattern}`)}`)})),l.ref.length>0&&(console.log(_.default.red(`
34
+ Reference Errors (${l.ref.length})
35
+ `)),l.ref.forEach((e,a)=>{console.log(` ${_.default.red(`${a+1}.`)} ${_.default.bold(e.field)}`),console.log(` ${e.message}`)})),l.calc.length>0&&(console.log(_.default.red(`
36
+ Data Calculation Errors (${l.calc.length})
37
+ `)),l.calc.forEach((e,a)=>{console.log(` ${_.default.red(`${a+1}.`)} ${_.default.bold(e.field)}`),console.log(` ${e.message}`)})),l.expression?.length>0&&(console.log(_.default.red(`
38
+ Expression Errors (${l.expression.length})
39
+ `)),l.expression.forEach((e,a)=>{console.log(` ${_.default.red(`${a+1}.`)} ${_.default.bold(e.field)}`),console.log(` ${e.message}`)})),s.length>0&&(console.log(_.default.yellow(`
40
+ Deprecation Warnings (${s.length})
41
+ `)),s.forEach((e,a)=>{console.log(` ${_.default.yellow(`${a+1}.`)} ${_.default.bold(e.id)}`),console.log(` ${e.data}`)})),console.log("\n"+"─".repeat(60));var u=l.schema.length+l.ref.length+l.calc.length+(l.expression?.length||0);l.valid?console.log(_.default.yellow(`⚠ ${s.length} warning(s)`)):console.log(_.default.red(`✗ ${u} error(s)`)+(s.length>0?_.default.yellow(`, ${s.length} warning(s)`):"")),l.valid||process.exit(1)}catch(e){p.fail(`Failed to validate config: ${e.message}`),process.exit(1)}}),function(e,a){return g.apply(this,arguments)})),x.command("doctor <idOrPath>").description("Diagnose an application config: schema validation plus semantic lint rules (data races, layout mistakes, dead config)").option("-j, --json","Output as JSON").option("-c, --composed","Fetch the composed configuration (remote id only)").option("--strict","Exit with code 1 when warnings are found").option("--only <codes>","Run only these rule codes (comma-separated)").option("--ignore <codes>","Skip these rule codes (comma-separated)").option("--validate-automation","Also validate automation_map and test_map references").action((D=w(function*(e,a){var p=a.json?null:(0,C.default)("Running config doctor...").start();try{var o=yield Promise.all([t.e(9866),t.e(6645),t.e(9430),t.e(1010),t.e(7511),t.e(563)]).then(t.bind(t,63322)),i=o.runConfigDoctor,d=o.renderConfigDoctorReport,r=yield i("app",e,a),n=r.report,l=r.exitCode;p?.stop(),a.json?(0,E.GF)({...n,exitCode:l}):console.log(d(n)),0!==l&&process.exit(l)}catch(e){p?p.fail(`Config doctor failed: ${e.message}`):(0,E.OW)(e.message),process.exit(1)}}),function(e,a){return D.apply(this,arguments)})),x.command("ctor-init <id>").alias("project-init").description("Initialize a BRICKS Project from an application (deprecated: use `bricks ctor init`)").option("-o, --output <dir>","Output directory (default: current directory)").option("--github-actions","Include GitHub Actions workflow (default: true)").option("--no-github-actions","Skip GitHub Actions workflow setup").option("--agents","Include AGENTS.md (default: true)").option("--no-agents","Skip AGENTS.md setup").option("--claude","Include CLAUDE.md (default: true)").option("--no-claude","Skip CLAUDE.md setup").option("--gemini","Include GEMINI.md (default: false)").option("--no-gemini","Skip GEMINI.md setup").option("--install","Run bun install after generation (default: true)").option("--no-install","Skip bun install after generation").option("--git","Initialize git repository (default: true)").option("--no-git","Skip git initialization").option("-y, --yes","Skip prompts and use defaults/flags").option("-j, --json","Output as JSON (for programmatic use)").action((y=w(function*(e,a){a.json||console.error(_.default.yellow("Note: `bricks app ctor-init` is deprecated. Use `bricks ctor init <id>` instead."));var p=(yield Promise.all([t.e(5658),t.e(4456)]).then(t.bind(t,58891))).initProject;yield p("application",e,a)}),function(e,a){return y.apply(this,arguments)}))},55614(e,a,p){p.d(a,{s:()=>j});var o,i,d,r,n,l,s,u,m,c,f,h,v=p(68832),g=p(99436),D=p(35679),y=p(73284),w=p(30155);let b=t("readline");var _=p(47988),C=p(63755),F=p(31802),S=p(7586),E=p(29988),k=(o=g(function*(e){var a=v((yield Promise.all([p.e(9215).then(p.bind(p,8498)),p.e(1946).then(p.bind(p,51649)),p.e(1001).then(p.bind(p,52928))])),3),t=a[0].render,o=a[1].default,i=a[2].WorkspacePicker;return new Promise(a=>{var p,d=e=>{p.unmount(),a(e)};p=t(o.createElement(i,{workspaces:e,onSelect:d,onCancel:()=>d(null)}))})}),function(e){return o.apply(this,arguments)}),A=e=>!!e&&"object"==typeof e&&!Array.isArray(e),N=(e={})=>{var a=A(e)?e:{},t=a.plan,p=A(t)?t:{},o=A(a.lock)?a.lock:{},i="string"==typeof t?t:p.type;return{...a,plan:{...p,type:i||"free"},lock:{...o,features:!!o.features}}},$=(i=g(function*(){var e;try{e=yield(0,C.EC)()}catch(e){console.error(y.default.red(e.message)),process.exit(1)}return e?.user?.sub||(console.error(y.default.red("Not signed in. Run `bricks auth login` first.")),process.exit(1)),e}),function(){return i.apply(this,arguments)}),O=(e,a)=>{if(!e)throw Error("Not signed in. Run `bricks auth login` first.");if(e.user?.sub!==a)throw Error("OAuth account changed. Re-select the workspace for the current account.");return e},x=(d=g(function*(e){return O((yield(0,C.EC)()),e).accessToken}),function(e){return d.apply(this,arguments)}),T=(r=g(function*(e,a){return("u">typeof module&&"function"==typeof module.require?module.require("../gql/controller-client.js"):yield Promise.all([p.e(3332),p.e(8295),p.e(7494)]).then(p.bind(p,59957))).createControllerClient(e,()=>x(a))}),function(e,a){return r.apply(this,arguments)}),B=(n=g(function*(e,a={}){var t,p,o=(yield $()).user.sub,i=(0,_.getCurrentProfile)(),d=(0,F.getConnectionContext)(i),r=d.tokenInfo,n=d.baseUrl,l={...r?.baseUrl?{baseUrl:r.baseUrl}:{},...r?.activityLogBaseUrl?{activityLogBaseUrl:r.activityLogBaseUrl}:{}},s=(0,w.default)("Loading your workspaces...").start();try{var u=yield T(n,o);t=yield u.workspaces(),s.stop()}catch(e){if(s.fail(`Failed to load workspaces: ${e.message}`),a.optional)return void console.log(y.default.gray("Select a workspace later with `bricks auth use-workspace`"));process.exit(1)}if(!t.length){if(console.log(y.default.yellow("Your account has no accessible workspaces.")),a.optional)return;process.exit(1)}if(e){var m=String(e).toLowerCase();if(!(p=t.find(e=>String(e._id).toLowerCase()===m))){var c=t.filter(e=>(e.name||"").toLowerCase()===m);c.length>1&&(console.error(y.default.red(`Workspace name is ambiguous: ${e}`)),c.forEach(e=>{console.error(y.default.gray(` ${e.name}: ${e._id}`))}),console.error(y.default.gray("Retry with the workspace ID.")),process.exit(1)),p=v(c,1)[0]}p||(console.error(y.default.red(`Workspace not found: ${e}`)),console.log(y.default.gray("Use `bricks auth workspaces` to list available workspaces")),process.exit(1))}else if(1===t.length)p=v(t,1)[0],console.log(y.default.gray(`Only one workspace available: ${p.name}`));else if(process.stdin.isTTY&&process.stdout.isTTY||(console.error(y.default.red("Cannot prompt for a workspace in a non-interactive terminal. Pass its ID.")),console.error(y.default.gray("Use `bricks auth workspaces --json` to list workspace IDs.")),process.exit(1)),!(p=yield k(t))){if(a.optional)return void console.log(y.default.gray("Skipped. Select a workspace later with `bricks auth use-workspace`"));console.error(y.default.red("Workspace selection cancelled")),process.exit(1)}var f=a.profile||String(p.name||"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"workspace",h=(0,_.resolveOAuthProfileTarget)(f,p._id,o),g=h.profile,D=h.baseline;a.profile&&g!==a.profile&&(console.error(y.default.red(`Profile name is already used by a different profile: ${a.profile}`)),console.log(y.default.gray(`Pick another name, or free it with \`bricks auth remove ${a.profile}\``)),process.exit(1));var b=(0,w.default)(`Selecting ${p.name}...`).start();try{var S=p;if(O((yield(0,C.EC)()),o),!(0,_.setTokenIfProfileCurrent)(g,{type:"oauth",oauthSubject:o,name:S.name,workspaceId:S._id,workspaceName:S.name,workspaceBilling:N(S.billing),...l},D,{expectedOAuthSubject:o,makeCurrent:!0}))throw Error(`Profile ${g} changed while selecting the workspace. Retry.`);b.succeed(`Using workspace ${y.default.green(S.name)} (profile: ${y.default.cyan(g)})`)}catch(e){b.fail(`Failed to select workspace: ${e.message}`),process.exit(1)}}),function(e){return n.apply(this,arguments)}),I=(l=g(function*(){var e=(0,_.getCurrentProfile)(),a=(0,_.getCurrentProfileSource)(),t=(0,F.getConnectionContext)(e),p=t.tokenInfo,o=t.baseUrl,i=t.oauth,d=t.auth,r=p?.type==="oauth"?"oauth":p?.token?"token":null,n=i?.user?.sub?{loggedIn:!0,email:i.user.email||null,sub:i.user.sub,expiresAt:i.expiresAt||null}:{loggedIn:!1};if(!d)return{ok:!1,profile:e,profileSource:a,baseUrl:o,oauth:n,auth:{available:!1,source:"missing",kind:r,workspaceId:p?.workspaceId||null,workspaceName:p?.workspaceName||null,createdAt:p?.createdAt||null,tokenPreview:null},workspace:null,error:null};try{var l=(0,(yield(0,E.i)()).createClient)(o,d),s=yield l.workspace();return{ok:!0,profile:e,profileSource:a,baseUrl:o,oauth:n,auth:{available:!0,source:"config",kind:d.kind,workspaceId:s?._id||p.workspaceId||null,workspaceName:s?.name||p.workspaceName||null,createdAt:p.createdAt||null,tokenPreview:"token"===d.kind?(0,S.$l)(d.token):null},workspace:s?{_id:s._id,name:s.name,description:s.description||null}:null,error:null}}catch(t){return{ok:!1,profile:e,profileSource:a,baseUrl:o,oauth:n,auth:{available:!0,source:"config",kind:d.kind,workspaceId:p.workspaceId||null,workspaceName:p.workspaceName||null,createdAt:p.createdAt||null,tokenPreview:"token"===d.kind?(0,S.$l)(d.token):null},workspace:null,error:{message:t.message}}}}),function(){return l.apply(this,arguments)}),j=new D.uB("auth").description("Authentication and token management");j.command("login").description("Sign in with your BRICKS account (opens the browser, OAuth)").argument("[passcode]","Deprecated — passcode login moved to `bricks auth login-workspace`").option("-p, --profile <profile>","Deprecated passcode login profile name").option("-n, --name <name>","Deprecated passcode login display name").option("--no-browser","Use the device-code flow instead of opening a local browser").action((s=g(function*(e,a){if(e)return console.log(y.default.yellow("`bricks auth login <passcode>` is deprecated; use `bricks auth login-workspace <passcode>`.")),V(e,a);(a.profile||a.name)&&(console.log(y.default.yellow("-p/--profile and -n/--name apply to passcode login and are ignored for OAuth sign-in.")),console.log(y.default.gray("Name the workspace profile with `bricks auth use-workspace -p`."))),(0,C.n_)()||(console.error(y.default.red("OAuth login is not configured in this build.")),console.error(y.default.gray("Set BRICKS_OAUTH_CLIENT_ID, or use workspace auth: bricks auth login-workspace")),process.exit(1));var t,p,o=(0,_.getOAuth)();try{if(!1!==a.browser&&(0,C.X9)()){var i,d=(0,w.default)("Waiting for the browser sign-in...").start();try{t=yield(0,C.b2)({onAuthorizeUrl:(i=g(function*(e){var a=yield(0,C.ph)(e);d.text="Waiting for the browser sign-in...",d.stop(),a?console.log(y.default.gray("Opened the browser. If it did not appear, open:")):console.log(y.default.gray("Could not open a browser automatically. Open:")),console.log(` ${y.default.underline.blue(e)}
42
+ `),d.start()}),function(e){return i.apply(this,arguments)})}),d.stop()}catch(e){d.fail(`Login failed: ${e.message}`),console.log(y.default.gray("Tip: over SSH/headless, use `bricks auth login --no-browser`")),process.exit(1)}}else{var r=yield(0,C.UY)();console.log(y.default.bold("\nConfirm the sign-in in any browser:")),console.log(` ${y.default.underline.blue(r.verification_uri_complete||r.verification_uri)}`),console.log(` Code: ${y.default.cyan(r.user_code)}
43
+ `);var n=(0,w.default)("Waiting for confirmation...").start();try{t=yield(0,C.Zd)(r),n.stop()}catch(e){n.fail(e.message),process.exit(1)}}}catch(e){console.error(y.default.red(`Login failed: ${e.message}`)),process.exit(1)}try{p=(0,C.bo)(t)}catch(e){console.error(y.default.red(`Login failed: ${e.message}`)),process.exit(1)}var l=yield(0,_.installOAuthSessionIfCurrentAsync)(o,p);if(!l.installed){console.error(y.default.red("A newer sign-in or sign-out completed while this login was open. Please retry.")),process.exit(1);return}l.previous?.refreshToken&&l.previous.refreshToken!==p.refreshToken&&(yield(0,C.IC)(l.previous.refreshToken));var s=p.user.email||p.user.name||p.user.sub||"unknown";l.identityChanged&&console.log(y.default.yellow(`Signed in as a different account (was: ${l.previous.user.email||l.previous.user.sub}). Existing profiles were kept.`)),console.log(y.default.green(`Signed in as ${y.default.bold(s)}`));var u=(0,_.listProfiles)().some(e=>"oauth"===e.type&&e.oauthSubject===p.user.sub);!u&&process.stdout.isTTY&&process.stdin.isTTY?yield B(null,{optional:!0}):u||console.log(y.default.gray("Next: select a workspace with `bricks auth use-workspace`"))}),function(e,a){return s.apply(this,arguments)}));var V=(u=g(function*(e,a){var t,p=a.profile||(0,_.getCurrentProfile)(),o=(0,F.getConnectionContext)(p),i=o.baseUrl,d=o.baseline,r=a.name,n=a.token;if(n){var l=(0,w.default)("Validating token...").start();try{var s=(0,(yield(0,E.i)()).createClient)(i,n),u=yield s.workspace();if(u||(l.fail("Invalid token or unable to access workspace"),process.exit(1)),!(0,_.setTokenIfProfileCurrent)(p,{token:n,name:r||u.name,workspaceId:u._id,workspaceName:u.name,workspaceBilling:N(u.billing)},d,{makeCurrent:!0}))throw Error(`Profile ${p} changed while logging in. Retry.`);l.succeed(`Logged in to workspace: ${y.default.green(u.name)} (profile: ${y.default.cyan(p)})`)}catch(e){l.fail(`Login failed: ${e.message}`),process.exit(1)}return}var m=e;!m&&(console.log(y.default.cyan("Generate a one-time passcode from BRICKS Controller:")),console.log(y.default.gray(" 1. Open the link below (or select your workspace first)")),console.log(` ${y.default.underline.blue("https://control.bricks.tools/#/?action=manage-tokens")}`),console.log(y.default.gray(' 2. Click "Generate OTP" to create a one-time passcode\n')),(m=yield(t=b.createInterface({input:process.stdin,output:process.stdout}),new Promise(e=>{t.question("Enter passcode: ",a=>{t.close(),e(a.trim())})})))||(console.log(y.default.red("Passcode is required")),process.exit(1)));var c=(0,w.default)("Validating passcode...").start();try{var f=yield(0,E.i)(),h=f.createClient,v=(0,f.createPublicClient)(i),g=yield v.checkWorkspaceOTP(m);g.valid||(c.fail(`Invalid passcode: ${g.error||"Unknown error"}`),process.exit(1)),c.text=`Exchanging passcode for token (workspace: ${g.workspaceName})...`;var D=yield v.exchangeWorkspaceOTP(m);D.token||(c.fail("Failed to obtain token"),process.exit(1));var C=h(i,D.token),S=yield C.workspace();if(S||(c.fail("Token validation failed"),process.exit(1)),!(0,_.setTokenIfProfileCurrent)(p,{token:D.token,name:r||S.name,workspaceId:S._id,workspaceName:S.name,workspaceBilling:N(S.billing)},d,{makeCurrent:!0}))throw Error(`Profile ${p} changed while logging in. Retry.`);c.succeed(`Logged in to workspace: ${y.default.green(S.name)} (profile: ${y.default.cyan(p)})`)}catch(e){c.fail(`Login failed: ${e.message}`),process.exit(1)}}),function(e,a){return u.apply(this,arguments)});j.command("login-workspace").description("Workspace auth: login with a one-time passcode or a workspace token").argument("[passcode]","One-time passcode from BRICKS Controller").option("-t, --token <token>","Workspace token (instead of a passcode)").option("-p, --profile <profile>","Profile name to save the token").option("-n, --name <name>","Profile display name").action(V),j.command("login-token",{hidden:!0}).description("Deprecated: use `bricks auth login-workspace --token <token>`").option("-t, --token <token>","Workspace token").option("-p, --profile <profile>","Profile name to save the token").option("-n, --name <name>","Profile display name").action((m=g(function*(e){console.log(y.default.yellow("`bricks auth login-token` is deprecated; use `bricks auth login-workspace --token <token>`")),e.token||(console.error(y.default.red("Error: Token is required. Use -t or --token to provide it.")),process.exit(1)),yield V(null,e)}),function(e){return m.apply(this,arguments)})),j.command("workspaces").description("List workspaces your BRICKS account can access (OAuth)").option("-j, --json","Output as JSON").action((c=g(function*(e){var a=yield $(),t=(0,F.getConnectionContext)((0,_.getCurrentProfile)());if(t.oauth?.user?.sub!==a.user.sub){console.error(y.default.red("OAuth account changed. Retry the command.")),process.exit(1);return}var p=e.json?null:(0,w.default)("Loading workspaces...").start();try{var o=yield T(t.baseUrl,a.user.sub),i=yield o.workspaces();if(p?.stop(),e.json)return void(0,S.GF)(i);if(!i.length)return void console.log(y.default.yellow("Your account has no accessible workspaces."));var d=(0,_.listProfiles)();console.log(y.default.bold("\nWorkspaces")),console.log("─".repeat(60)),i.forEach(e=>{var t=d.find(t=>"oauth"===t.type&&t.oauthSubject===a.user.sub&&String(t.workspaceId)===String(e._id)),p=t?.current?y.default.green("● "):" ",o=t?y.default.gray(` (profile: ${t.name})`):"";console.log(`${p}${e.name.padEnd(24)} ${y.default.gray(e._id)}${o}`)}),console.log("─".repeat(60))}catch(e){p?.fail(`Failed to load workspaces: ${e.message}`),process.exit(1)}}),function(e){return c.apply(this,arguments)})),j.command("use-workspace").description("Select a workspace as the active profile (OAuth)").argument("[workspace]","Workspace id or name (interactive picker when omitted)").option("-p, --profile <profile>","Profile name to create or update").action(B),j.command("logout").description("Sign out of OAuth or remove the current workspace-token profile").option("-a, --all","Also remove all saved profiles (full reset)").option("-p, --profile <profile>","Deprecated: use `bricks auth remove <profile>`").action((f=g(function*(e){if(e.profile){var a=(0,_.getTokenInfo)(e.profile);return a?(0,_.removeTokenIfCurrent)(e.profile,a)?void console.log(y.default.yellow(`Removed profile: ${e.profile} (--profile is deprecated; use \`bricks auth remove ${e.profile}\`)`)):void console.log(y.default.yellow(`Profile changed while removing: ${e.profile}. Retry.`)):void console.log(y.default.yellow(`No profile found: ${e.profile}`))}if(e.all){yield(0,C.iF)();var t=[];(0,_.listProfiles)().forEach(({name:e,current:a,...p})=>{(0,_.removeTokenIfCurrent)(e,p)||t.push(e)}),0===t.length?console.log(y.default.green("All profiles removed")):console.log(y.default.yellow(`Profiles changed while removing and were kept: ${t.join(", ")}. Retry.`));return}var p=(0,_.getCurrentProfile)(),o=(0,_.getTokenInfo)(p);o&&"oauth"!==o.type?(0,_.removeTokenIfCurrent)(p,o)?console.log(y.default.green(`Logged out from profile: ${p}`)):console.log(y.default.yellow(`Profile changed while logging out: ${p}. Retry.`)):(yield(0,C.iF)())?(console.log(y.default.green("Signed out of your BRICKS account")),console.log(y.default.gray("Profiles were kept; OAuth profiles are inactive until next login"))):(console.log(y.default.yellow("No OAuth session to sign out of")),console.log(y.default.gray("To remove a workspace-token profile: bricks auth remove <profile>")))}),function(e){return f.apply(this,arguments)})),j.command("remove <profile>").description("Remove a saved profile (any kind)").action(e=>{var a=(0,_.getTokenInfo)(e);if(!a)return void console.log(y.default.yellow(`No profile found: ${e}`));var t=(0,_.getCurrentProfile)()===e;(0,_.removeTokenIfCurrent)(e,a)?(console.log(y.default.green(`Removed profile: ${e}`)),t&&console.log(y.default.gray("It was the current profile — switch with `bricks auth use <profile>`"))):console.log(y.default.yellow(`Profile changed while removing: ${e}. Retry.`))}),j.command("status").description("Show current authentication status").option("-j, --json","Output as JSON").action((h=g(function*(e){if(e.json)return void(0,S.GF)((yield I()));var a=(0,_.getCurrentProfile)(),t=(0,F.getConnectionContext)(a),p=t.tokenInfo,o=t.oauth,i=t.auth,d=t.baseUrl,r=p?.type==="oauth"?"oauth":p?.token?"token":null;if(o?.user){var n=o.expiresAt?new Date(o.expiresAt).getTime()-Date.now():0;console.log(`${y.default.bold("Account:")} ${y.default.green(o.user.email||o.user.sub)} ${y.default.gray(`(${n>0?"token refreshes automatically":"token expired (refreshes on next use)"})`)}`)}else console.log(`${y.default.bold("Account:")} ${y.default.gray("not signed in (OAuth)")}`);if(!i){console.log(y.default.yellow("\nNo usable credential for the current profile")),"oauth"===r?o?.user?.sub&&p?.oauthSubject!==o.user.sub?console.log(y.default.gray("Profile belongs to another or legacy account — run `bricks auth use-workspace`")):console.log(y.default.gray("Profile uses OAuth — run `bricks auth login`")):console.log(y.default.gray("Use `bricks auth login` (OAuth) or `bricks auth login-workspace`"));return}var l=(0,w.default)("Checking connection...").start();try{var s=(0,(yield(0,E.i)()).createClient)(d,i),u=yield s.workspace();l.stop(),console.log(y.default.bold("\nAuthentication Status")),console.log("─".repeat(40)),console.log(`Profile: ${y.default.cyan(a)} ${y.default.gray(`(${i.kind})`)}`),console.log(`Workspace: ${y.default.green(u.name)}`),console.log(`Workspace ID: ${y.default.gray(u._id)}`);var m=p.baseUrl;console.log(`Base URL: ${y.default.gray(d)}${m?"":y.default.gray(" (global)")}`),console.log(`Logged in: ${y.default.gray(p.createdAt)}`),console.log("─".repeat(40))}catch(e){l.fail(`Connection failed: ${e.message}`)}}),function(e){return h.apply(this,arguments)})),j.command("list").description("List all saved profiles").action(()=>{var e=(0,_.listProfiles)(),a=(0,_.getOAuth)();if(a?.user&&console.log(`${y.default.bold("Account:")} ${y.default.green(a.user.email||a.user.sub)}`),0===e.length){console.log(y.default.yellow("No saved profiles")),console.log(y.default.gray("Use `bricks auth login` to sign in, then `bricks auth use-workspace`"));return}console.log(y.default.bold("\nSaved Profiles")),console.log("─".repeat(60)),e.forEach(e=>{var a=e.current?y.default.green("● "):" ",t=e.current?y.default.green(e.name):e.name,p="oauth"===e.type?y.default.blue("oauth"):y.default.gray("token"),o=e.baseUrl?y.default.gray(` [${e.baseUrl}]`):"";console.log(`${a}${t.padEnd(15)} ${p} ${y.default.gray(e.workspaceName||"Unknown")}${o}`)}),console.log("─".repeat(60))}),j.command("use <profile>").description("Switch to a different profile").action(e=>{var a=(0,_.getTokenInfo)(e);if(!a){console.log(y.default.red(`Profile not found: ${e}`)),console.log(y.default.gray("Use `bricks auth list` to see available profiles"));return}(0,_.setCurrentProfile)(e),console.log(y.default.green(`Switched to profile: ${e}`)),a.workspaceName&&console.log(y.default.gray(`Workspace: ${a.workspaceName}`)),"oauth"!==a.type||(0,F.getAuthContext)(e)||console.log(y.default.yellow("This OAuth profile is inactive — run `bricks auth login`, then select it with `bricks auth use-workspace`"))}),j.command("set-url <url>").description("Set the base URL for the current profile").option("-g, --global","Set the global base URL instead of per-profile").action((e,a)=>{if(a.global)(0,_.setBaseUrl)(e),console.log(y.default.green(`Global base URL set to: ${e}`));else{var t=(0,_.getCurrentProfile)();(0,_.setBaseUrl)(e,t),console.log(y.default.green(`Base URL for profile ${y.default.cyan(t)} set to: ${e}`))}})},59845(e,a,t){t.d(a,{Q:()=>V});var p,o,i,d,r,n,l,s,u,m,c,f,h=t(99436),v=t(35679),g=t(73284),D=t(67996),y=t(77598),w=t(48161),b=t(76760),_=t(51455),C=t(27549),F=t(19557),S=8089,E=(p=h(function*(e,a,t=3e3){return(0,F.uE)(`http://${e}:${a}/buttress/info`,t)}),function(e,a){return p.apply(this,arguments)}),k=["privateKeyPkcs8"],A=b.join(w.homedir(),".bricks-cli","buttress"),N=e=>b.join(e||A,"state.json"),$=()=>{try{return`buttress-${C.machineIdSync()}`}catch{return null}},O=(o=h(function*(e){var a=N(e);try{var t=yield _.readFile(a,"utf8");return JSON.parse(t)}catch(e){if("ENOENT"===e.code)return null;throw e}}),function(e){return o.apply(this,arguments)}),x=(i=h(function*(e,a){var t=a||A,p=N(a);yield _.mkdir(t,{recursive:!0,mode:448}),yield _.chmod(t,448);var o=`${p}.tmp-${process.pid}-${y.randomUUID()}`;try{yield _.writeFile(o,JSON.stringify(e,null,2),{encoding:"utf8",mode:384}),yield _.chmod(o,384),yield _.rename(o,p),yield _.chmod(p,384)}catch(e){throw yield _.unlink(o).catch(()=>{}),e}return p}),function(e,a){return i.apply(this,arguments)}),T=(d=h(function*(e){var a=N(e);try{return yield _.unlink(a),!0}catch(e){if("ENOENT"===e.code)return!1;throw e}}),function(e){return d.apply(this,arguments)}),B=(r=h(function*({client:e,serverId:a,workspaceId:t,stateDir:p,keepLocal:o=!1}){var i=o?null:yield O(p),d=!o&&((e,a,t)=>{if(e?.workspace?.serverId!==a)return!1;var p=e.workspace.id;if(!p||!t||String(p)!==String(t))throw Error(`Local Buttress state belongs to workspace ${p||"unknown"}, but the current profile targets ${t||"unknown"}. Switch profiles first.`);return!0})(i,a,t);return{removed:yield e.unbindButtressServer({serverId:a}),localRemoved:!!d&&(yield T(p))}}),function(e){return r.apply(this,arguments)}),I=(n=h(function*({timeout:e=3e3,verify:a=!0,port:t=S,onStatus:p}={}){p?.(`Scanning UDP ${t} for ${e}ms...`);var o,i=yield(({timeout:e=3e3,idleTimeout:a=0,port:t=S}={})=>(0,F.YH)({port:t,timeout:e,idleTimeout:a,buildQuery:()=>Buffer.from(JSON.stringify({t:"QUERY",v:"2.0",d:{id:`cli-${(0,F.BW)()}`}})),parseMessage:(e,a)=>{var t=(0,F.nl)(e,e=>e?.v==="2.0");if(!t)return null;var p={...t,address:a.address};return{key:p.id||`${a.address}:${p.port}`,value:p}}}))({timeout:e,port:t});return 0===i.length?[]:a?(p?.(`Verifying ${i.length} server(s)...`),yield Promise.all(i.map((o=h(function*(e){var a=yield E(e.address,e.port,2e3);return a?{...e,...a,address:e.address,verified:!0}:{...e,verified:!1}}),function(e){return o.apply(this,arguments)})))):i}),function(){return n.apply(this,arguments)}),j=(l=h(function*(){var e=(yield Promise.resolve().then(t.bind(t,47988))).getCurrentProfile,a=(0,(yield Promise.resolve().then(t.bind(t,31802))).getConnectionContext)(e()),p=a.auth,o=a.baseUrl;return p||(console.error(g.default.red("Not logged in. Use `bricks auth login` first.")),process.exit(1)),{client:(0,(yield Promise.all([t.e(3332),t.e(8295),t.e(907)]).then(t.bind(t,85382))).createClient)(o,p),workspaceId:p.workspaceId}}),function(){return l.apply(this,arguments)}),V=new v.uB("buttress").description("Pair and inspect buttress-server bindings for the current workspace").alias("butr");V.command("bind").description("Pair a local buttress-server with the current workspace").option("-s, --server-id <id>","Buttress server id (auto-detected from machine id by default)").option("-n, --name <name>","Friendly name for this buttress server").option("--state-dir <dir>","Override the buttress state directory (defaults to ~/.bricks-cli/buttress)").option("--print","Print state.json to stdout instead of writing to disk (useful for remote setups)").action((s=h(function*(e){var a,p,o,i,d,r,n=(yield Promise.resolve().then(t.bind(t,30155))).default,l=e.serverId||$();l||(console.error(g.default.red("Could not detect a local server id. Pass --server-id <id> explicitly.")),process.exit(1));var s=(p=(a=y.generateKeyPairSync("ed25519")).publicKey,o=a.privateKey,i=p.export({type:"spki",format:"der"}),d=o.export({type:"pkcs8",format:"der"}),r=y.createHash("sha256").update(i).digest("hex").slice(0,16),{publicKeySpki:i.toString("base64"),privateKeyPkcs8:d.toString("base64"),kid:r}),u=(yield j()).client,m=n(`Binding buttress server ${g.default.cyan(l)}...`).start();try{var c=yield u.bindButtressServer({serverId:l,name:e.name,serverPublicKey:{spkiBase64:s.publicKeySpki,kid:s.kid}});m.stop();var f={workspace:{id:c.workspaceId,name:c.workspaceName,serverId:c.serverId,issuerPublicKey:c.issuerPublicKey.pem,kid:c.issuerPublicKey.kid,boundAt:new Date().toISOString()},serverKeyPair:s};if(e.print){console.warn(g.default.yellow("⚠ Output contains the server announce private key. Treat as a secret.")),process.stdout.write(`${JSON.stringify(f,null,2)}
44
+ `);return}var h=yield x(f,e.stateDir);console.log(g.default.green(""),"Buttress server bound to workspace."),console.log(` Workspace: ${g.default.bold(c.workspaceName)} (${c.workspaceId})`),console.log(` Server id: ${g.default.cyan(c.serverId)}`),console.log(` Issuer kid: ${g.default.gray(c.issuerPublicKey.kid)}`),console.log(` Announce kid: ${g.default.gray(s.kid)}`),console.log(` State file: ${g.default.gray(h)}`),console.log(),console.log(g.default.yellow("Restart buttress-server for the binding to take effect."))}catch(e){m.fail(`Bind failed: ${e.message}`),process.exit(1)}}),function(e){return s.apply(this,arguments)})),V.command("unbind").description("Unbind a buttress server from this workspace").option("-s, --server-id <id>","Buttress server id (auto-detected by default)").option("--state-dir <dir>","Override the buttress state directory").option("--keep-local","Do not remove the local state.json file").action((u=h(function*(e){var a=e.serverId||$();a||(console.error(g.default.red("Could not detect a local server id. Pass --server-id explicitly.")),process.exit(1));var t=yield j(),p=t.client,o=t.workspaceId;try{var i=yield B({client:p,serverId:a,workspaceId:o,stateDir:e.stateDir,keepLocal:e.keepLocal}),d=i.removed,r=i.localRemoved;if(d?console.log(g.default.green("✓"),`Unbound ${g.default.cyan(a)} from workspace.`):console.log(g.default.yellow("!"),`${g.default.cyan(a)} was not bound to this workspace.`),r){var n=N(e.stateDir);console.log(g.default.gray(`Removed local state file: ${n}`))}}catch(e){console.error(g.default.red(`Unbind failed: ${e.message}`)),process.exit(1)}}),function(e){return u.apply(this,arguments)})),V.command("status").description("Show local buttress binding state and the workspace-side bound list").option("--state-dir <dir>","Override the buttress state directory").option("-j, --json","Output as JSON").action((m=h(function*(e){var a=yield O(e.stateDir),t=null;try{var p=(yield j()).client;t=yield p.buttressServers()}catch(e){t={error:e.message}}e.json?console.log(JSON.stringify(((e,a)=>{if(!e?.serverKeyPair||"object"!=typeof e.serverKeyPair)return{local:e,remote:a};var t=e.serverKeyPair,p=(t.privateKeyPkcs8,D(t,k));return{local:{...e,serverKeyPair:p},remote:a}})(a,t),null,2)):(console.log(g.default.bold("\nLocal buttress state")),console.log("".repeat(60)),a?.workspace?(console.log(` Workspace: ${g.default.bold(a.workspace.name)} (${a.workspace.id})`),console.log(` Server id: ${g.default.cyan(a.workspace.serverId)}`),console.log(` Issuer kid: ${g.default.gray(a.workspace.kid)}`),console.log(` Bound at: ${g.default.gray(a.workspace.boundAt)}`),console.log(` File: ${g.default.gray(N(e.stateDir))}`)):console.log(g.default.gray(" not bound (no state.json found)")),console.log(g.default.bold("\nWorkspace-side bound servers")),console.log("─".repeat(60)),Array.isArray(t)?0===t.length?console.log(g.default.gray(" none")):t.forEach(e=>{console.log(` ${g.default.cyan(e.serverId)} ${g.default.gray(e.name||"")} ${g.default.gray(e.boundAt||"")}`)}):t?.error&&console.log(g.default.red(` failed to fetch: ${t.error}`)))}),function(e){return m.apply(this,arguments)})),V.command("issue-token").description("Issue a long-lived workspace-scoped buttress access token (CLI/CTOR usage)").option("--ttl <seconds>","Time-to-live in seconds (default 30 days)",e=>parseInt(e,10)).option("-j, --json","Output as JSON").action((c=h(function*(e){var a=(yield j()).client;try{var t=yield a.issueButtressAccessToken({ttlSeconds:e.ttl});if(e.json)return void console.log(JSON.stringify(t,null,2));console.log(g.default.green("✓"),"Buttress access token issued."),console.log(` Workspace: ${t.workspaceId}`),console.log(` Expires: ${t.expiresAt}`),console.log(` jti: ${g.default.gray(t.jti)}`),console.log(),console.log(g.default.cyan(t.token))}catch(e){console.error(g.default.red(`Issue token failed: ${e.message}`)),process.exit(1)}}),function(e){return c.apply(this,arguments)})),V.command("scan").description("Scan LAN for buttress-servers via UDP and verify each via /buttress/info").option("-t, --timeout <ms>","Scan timeout in milliseconds","3000").option("-p, --port <port>","UDP discovery port",String(S)).option("--udp-only","Skip HTTP /buttress/info verification").option("-j, --json","Output as JSON").action((f=h(function*(e){var a=(yield Promise.resolve().then(t.bind(t,30155))).default,p=yield Promise.resolve().then(t.bind(t,47988)),o=p.getCurrentProfile,i=p.getTokenInfo,d=parseInt(e.timeout,10),r=parseInt(e.port,10),n=[],l=a(`Scanning for buttress-servers (${d}ms)...`).start();try{n=yield I({timeout:d,port:r,verify:!e.udpOnly,onStatus:e=>{l.text=e}}),l.stop()}catch(e){l.fail(`Scan failed: ${e.message}`),process.exit(1)}var s=o(),u=i(s)?.workspaceId||null;if(e.json)return void console.log(JSON.stringify({servers:n,workspaceId:u},null,2));if(0===n.length)return void console.log(g.default.yellow("No buttress-servers found on the LAN."));for(var m of(console.log(g.default.bold(`
45
+ Found ${n.length} buttress-server(s)`)),console.log("─".repeat(70)),n)){var c=!1===m.verified?g.default.red("unverified"):g.default.green("online"),f=m.workspace?.id,h=f&&u&&f===u,v=m.authentication?.bound?g.default.yellow("JWT required"):g.default.gray("open");console.log(` ${g.default.bold(m.name||"Unknown")} ${g.default.gray(`(${m.address}:${m.port})`)} [${c}]`),m.id&&console.log(` Server id: ${g.default.cyan(m.id)}`),m.version&&console.log(` Version: ${g.default.green(m.version)}`);var D=m.authentication?.kid?g.default.gray(` (kid: ${m.authentication.kid})`):"";if(console.log(` Auth: ${v}${D}`),f){var y=h?g.default.green(`${f} ${g.default.bold("(current profile)")}`):g.default.gray(f);console.log(` Workspace: ${y}`)}if(Array.isArray(m.generators)&&m.generators.length>0)for(var w of(console.log(" Generators:"),m.generators)){var b=[];"number"==typeof w.score&&b.push(`score ${w.score.toFixed(1)}`),!0===w.hasGpu?b.push("GPU ✓"):!1===w.hasGpu&&b.push("GPU ✗"),"number"==typeof w.usableBytes&&b.push(`${(w.usableBytes/0x40000000).toFixed(1)} GB usable`);var _=b.length>0?` ${g.default.gray(b.join(" "))}`:"";console.log(` - ${g.default.cyan(w.type)}${_}`)}}console.log("─".repeat(70)),n.some(e=>e.authentication?.bound)&&(console.log(),console.log(g.default.gray("To connect to a bound server, run `bricks buttress issue-token` for a workspace access token.")))}),function(e){return f.apply(this,arguments)}))},71335(e,a,t){t.d(a,{oT:()=>s});var p=t(35679),o=t(73284),i=t(47988),d={prod:"https://display.bricks.tools",beta:"https://display-beta.bricks.tools",dev:"http://localhost:3001"},r=e=>{var a=Object.entries(d).find(([,a])=>e===a);return a?a[0]:null},n={prod:"https://activity-log.bricks.tools",beta:"https://activity-log-beta.bricks.tools",dev:"http://localhost:8088"},l=e=>{var a=Object.entries(n).find(([,a])=>e===a);return a?a[0]:null},s=new p.uB("config").description("CLI configuration management");s.command("endpoint").argument("[environment]","Environment to use (prod, beta, dev)").description("Show or set endpoint environment").option("-p, --profile","Set for current profile instead of global").action((e,a)=>{if(!e){var t=(0,i.getBaseUrl)(),p=r(t),s=(0,i.getActivityLogBaseUrl)(),u=l(s);console.log(o.default.bold("\nEndpoint Configuration")),console.log("─".repeat(50)),console.log(o.default.bold("BRICKS")),console.log(` URL: ${o.default.cyan(t)}`),console.log(` Environment: ${p?o.default.green(p):o.default.yellow("custom")}`),console.log(o.default.bold("Activity Log")),console.log(` URL: ${o.default.cyan(s)}`),console.log(` Environment: ${u?o.default.green(u):o.default.yellow("custom")}`),console.log("─".repeat(50)),console.log(o.default.gray("\nUsage: bricks config endpoint <prod|beta|dev>"));return}var m=Object.keys(d);m.includes(e)||(console.error(o.default.red(`Invalid environment: ${e}`)),console.log(o.default.gray(`Valid options: ${m.join(", ")}`)),process.exit(1));var c=d[e],f=n[e],h=a.profile?(0,i.getCurrentProfile)():null;(0,i.setBaseUrl)(c,h),(0,i.setActivityLogBaseUrl)(f,h);var v=a.profile?` (profile: ${(0,i.getCurrentProfile)()})`:"";console.log(o.default.green(`✓ Endpoint changed to ${e}${v}`)),console.log(o.default.gray(` BRICKS: ${c}`)),console.log(o.default.gray(` Activity Log: ${f}`)),console.log(o.default.yellow("\nNote: You may need to re-authenticate if your token is for a different environment.")),console.log(o.default.gray("Use `bricks auth status` to check your connection."))}),s.command("show").description("Show current configuration").option("-j, --json","Output as JSON").action(e=>{var a=(0,i.getBaseUrl)(),t=r(a);if(e.json)return void console.log(JSON.stringify({endpoint:a,environment:t||"custom"},null,2));console.log(o.default.bold("\nBRICKS CLI Configuration")),console.log("─".repeat(50)),console.log(`BRICKS: ${o.default.cyan(a)}`),t?console.log(`Environment: ${o.default.green(t)}`):console.log(`Environment: ${o.default.yellow("custom")}`);var p=(0,i.getActivityLogBaseUrl)(),d=l(p);console.log(`Activity Log: ${o.default.cyan(p)} ${d?o.default.green(`(${d})`):o.default.yellow("(custom)")}`),console.log("─".repeat(50))})},22175(e,a,t){t.d(a,{g:()=>f});var p,o,i,d,r,n,l,s,u=t(99436),m=t(35679),c=t(73284),f=new m.uB("ctor").description("BRICKS Project (ctor) tooling: scaffold, sync, compile, deploy, and serve the project"),h=e=>{console.error(c.default.red(e?.message||String(e))),process.exit(1)};f.command("init <id>").description("Initialize a BRICKS Project from an application or module").option("--type <type>","Project type: app or module","app").option("-o, --output <dir>","Output directory (default: current directory)").option("--github-actions","Include GitHub Actions workflow (default: true)").option("--no-github-actions","Skip GitHub Actions workflow setup").option("--agents","Include AGENTS.md (default: true)").option("--no-agents","Skip AGENTS.md setup").option("--claude","Include CLAUDE.md (default: true)").option("--no-claude","Skip CLAUDE.md setup").option("--gemini","Include GEMINI.md (default: false)").option("--no-gemini","Skip GEMINI.md setup").option("--install","Run bun install after generation (default: true)").option("--no-install","Skip bun install after generation").option("--git","Initialize git repository (default: true)").option("--no-git","Skip git initialization").option("-y, --yes","Skip prompts and use defaults/flags").option("-j, --json","Output as JSON (for programmatic use)").action((p=u(function*(e,a){var p="module"===a.type?"module":"application",o=(yield Promise.all([t.e(5658),t.e(4456)]).then(t.bind(t,58891))).initProject;yield o(p,e,a)}),function(e,a){return p.apply(this,arguments)})),f.command("postinstall").description("Regenerate the ctor/ library, MCP config, and skills (run from a project)").option("--skip-copy-project","Skip copying the ctor/ library into the project").option("--refresh-skills","Also overwrite bundled skill files whose content changed (default keeps existing skills)").option("--check","Compare the bundled ctor/skills assets against the project without writing (always exits 0; read the output)").option("-j, --json","With --check, output the comparison as JSON").action((o=u(function*(e){try{if(e.check){var a=(yield Promise.all([t.e(7111),t.e(1708)]).then(t.bind(t,37495))).checkProjectAssets,p=yield a();if(e.json)return void console.log(JSON.stringify(p,null,2));if(p.upToDate)return void console.log(`Project assets match the bundled snapshot (CLI ${p.cliVersion}).`);var o=(e,{changed:a,missing:t})=>{if(a.length||t.length){for(var p of(console.log(`${e}: ${a.length} changed, ${t.length} missing`),a))console.log(` ~ ${p}`);for(var o of t)console.log(` + ${o}`)}};console.log(`Project assets differ from the bundled snapshot (CLI ${p.cliVersion}):`),o("ctor/",p.lib),o("skills",p.skills),console.log("Run `bricks ctor postinstall --refresh-skills` to update them.");return}var i=(yield Promise.all([t.e(7111),t.e(1708)]).then(t.bind(t,37495))).postinstall;yield i(e)}catch(e){h(e)}}),function(e){return o.apply(this,arguments)})),f.command("pull").description("Pull the latest project files from BRICKS (3-way git merge)").option("-f, --force","Force pull, committing any unstaged changes first").action((i=u(function*(e){try{var a=(yield t.e(9663).then(t.bind(t,47090))).pull;yield a(e)}catch(e){h(e)}}),function(e){return i.apply(this,arguments)})),f.command("push").description("Compile and push config to BRICKS without creating a release").option("--auto-commit","Auto-commit unstaged changes before pushing").option("--no-check","Skip the conflict guard (don't pass --last-commit-id)").option("--no-validate","Skip server-side config schema validation").option("-y, --yes","Skip all prompts").action((d=u(function*(e){try{var a=(yield Promise.all([t.e(6645),t.e(2151),t.e(7648),t.e(3593),t.e(9590)]).then(t.bind(t,85909))).compile,p=(yield t.e(2557).then(t.bind(t,71772))).push;yield a({check:!0}),yield p(e)}catch(e){h(e)}}),function(e){return d.apply(this,arguments)})),f.command("deploy").description("Compile and release the project to BRICKS").option("--changelogs <text>","Changelogs text for the release").option("--changelogs-file <path>","Read changelogs from a file").option("--auto-commit","Auto-commit unstaged changes before deploying").option("--auto-version","Auto-bump patch version before deploying").option("--version <version>","Set explicit version for the release").option("-y, --yes","Skip all prompts").action((r=u(function*(e){try{var a=(yield Promise.all([t.e(6645),t.e(2151),t.e(7648),t.e(3593),t.e(9590)]).then(t.bind(t,85909))).compile,p=(yield t.e(1215).then(t.bind(t,42914))).deploy;yield a({check:!0}),yield p(e)}catch(e){h(e)}}),function(e){return r.apply(this,arguments)})),f.command("compile").description("Typecheck and build the project config").option("--no-check","Skip the typecheck preflight").action((n=u(function*(e){try{var a=(yield Promise.all([t.e(6645),t.e(2151),t.e(7648),t.e(3593),t.e(9590)]).then(t.bind(t,85909))).compile;yield a(e)}catch(e){h(e)}}),function(e){return n.apply(this,arguments)})),f.command("simulator").description("Run the BRICKS web-preview simulator for the project").allowUnknownOption(!0).helpOption(!1).action((l=u(function*(e,a){try{var p=(yield t.e(9320).then(t.bind(t,7931))).simulator;yield p(a.args)}catch(e){h(e)}}),function(e,a){return l.apply(this,arguments)})),f.command("mcp").description("Start the project-local bricks-ctor MCP server (STDIO)").option("--project <dir>","Project root (default: current directory)").action((s=u(function*(e){try{var a=(yield Promise.all([t.e(9866),t.e(4479),t.e(4685),t.e(6194)]).then(t.bind(t,95417))).startCtorMcpServer;yield a(e.project)}catch(e){h(e)}}),function(e){return s.apply(this,arguments)}))},55609(e,a,t){t.d(a,{E:()=>W});var p,o,i,d,r,n,l,s,u,m,c,f,h,v,g,D,y,w,b,_=t(68832),C=t(99436),F=t(79896),S=t(35679),E=t(73284),k=t(7586),A=t(56493),N=t(8479),$=t(47988),O=t(31596),x=t(98593),T=(p=C(function*(){return(yield Promise.resolve().then(t.bind(t,30155))).default}),function(){return p.apply(this,arguments)}),B=(o=C(function*(e,a){return e.json?null:(yield T())(a).start()}),function(e,a){return o.apply(this,arguments)}),I=(i=C(function*(){return t.e(5658).then(t.bind(t,27521))}),function(){return i.apply(this,arguments)}),j=(d=C(function*(){return t.e(1936).then(t.bind(t,76627))}),function(){return d.apply(this,arguments)}),V=(r=C(function*(){return t.e(9387).then(t.bind(t,30182))}),function(){return r.apply(this,arguments)}),P=(n=C(function*({message:e,autoYes:a,json:t}){if(a)return!0;if(t)throw Error("Confirmation required: pass -y/--yes together with --json");if(!(0,N.isInteractiveTerminal)())throw Error("Refusing to prompt in a non-interactive shell. Pass -y/--yes to confirm.");try{var p=(yield I()).confirm;return yield p({message:e,default:!1})}catch{return!1}}),function(e){return n.apply(this,arguments)}),R=({spinner:e,error:a,options:t,action:p,target:o})=>{var i=a.message;i?.includes(O.GE)?i=`${O.GE} Run \`bricks data enable\` first.`:a.isBankAuthError&&(i=`${i}
46
+ The Data Bank key may be invalid or revoked — run \`bricks data login\` to reissue.`),t.json?(0,k.OW)(i,{action:p,...o&&{target:o}}):e?e.fail(i):console.error(E.default.red(i)),process.exit(1)},M=e=>{try{return JSON.parse(e)}catch{return e}},U=(e,a)=>{try{return JSON.parse(e)}catch{throw Error(`Invalid JSON for ${a}`)}},L=e=>e.split(",").map(e=>e.trim()).filter(Boolean),q=e=>({name:e.name,meta:e.meta,value:(0,k.$l)(e.value),enableExpired:!!e.enableExpired,expiredAt:e.expiredAt||null,createAt:e.createAt||null,hasReadLimit:!!e.limitedReadProperties?.length,hasWriteLimit:!!e.limitedWriteProperties?.length}),J=(l=C(function*(e){var a=yield e.workspace();return a?.bank||{}}),function(e){return l.apply(this,arguments)}),G=()=>{var e=(0,$.getCurrentProfile)(),a=(0,A.requireAuthConnection)(e),t=a.baseUrl,p=a.client;return{profile:e,baseUrl:t,client:p,fingerprint:a.fingerprint,bank:a.bank}},H=(s=C(function*(e,{profile:a,baseUrl:t,fingerprint:p,bank:o}){var i=(yield j()).resolveBankCredentials,d=yield V(),r=d.createBankClient,n=d.resolveBankEndpoint,l=yield i(e,{profile:a,expectedProfile:p,bank:o});return r({endpoint:n(t),spacename:l.spacename,spacekey:l.spacekey})}),function(e,a){return s.apply(this,arguments)}),W=new S.uB("data").description("Data Bank (remote properties) management");W.command("status").description("Show Data Bank status for this workspace").option("-j, --json","Output as JSON").action((u=C(function*(e){var a=G(),t=a.client,p=a.bank,o=yield B(e,"Fetching Data Bank status...");try{var i=yield J(t),d={enabled:!!i.enable_remote_update,spacename:i.spacename||null,keys:(i.keys||[]).map(q),cliKey:p?{keyName:p.keyName||null,spacekey:(0,k.$l)(p.spacekey),issuedAt:p.issuedAt||null}:null};if(o&&o.stop(),e.json)return void(0,k.GF)(d);console.log(E.default.bold("\nData Bank")),console.log("─".repeat(60)),console.log(`Enabled: ${d.enabled?E.default.green("Yes"):E.default.red("No")}`),console.log(`Spacename: ${d.spacename||E.default.gray("N/A")}`),console.log(`Keys: ${d.keys.length}`),console.log(`CLI Key: ${d.cliKey?`${d.cliKey.keyName||"Unnamed"} ${E.default.gray(`(${d.cliKey.spacekey})`)}`:E.default.gray("none (issued automatically on first use)")}`),console.log("─".repeat(60)),d.enabled||console.log(E.default.yellow("Run `bricks data enable` to enable Data Bank."))}catch(a){R({spinner:o,error:a,options:e,action:"data.status"})}}),function(e){return u.apply(this,arguments)}));var K=(m=C(function*(e,a){var t=G().client,p=e?"data.enable":"data.disable",o=yield B(a,`${e?"Enabling":"Disabling"} Data Bank...`);try{var i=yield t.updateWorkspace({enableBankRemoteUpdate:e}),d=i?.bank||{};o&&o.stop(),(0,x.yd)({action:p,target:{spacename:d.spacename||null},result:{enabled:!!d.enable_remote_update},json:a.json,message:e?`${E.default.green("Data Bank enabled.")} Spacename: ${E.default.cyan(d.spacename)}`:E.default.green("Data Bank disabled.")})}catch(e){R({spinner:o,error:e,options:a,action:p})}}),function(e,a){return m.apply(this,arguments)});W.command("enable").description("Enable Data Bank on this workspace").option("-j, --json","Output as JSON").action(e=>K(!0,e)),W.command("disable").description("Disable Data Bank on this workspace").option("-j, --json","Output as JSON").action(e=>K(!1,e)),W.command("login").description("Issue a Data Bank space key and save it to the active profile").option("--name <keyName>","Space key name","bricks-cli").option("-j, --json","Output as JSON").action((c=C(function*(e){var a=G(),t=a.client,p=a.profile,o=a.fingerprint,i=a.bank,d=yield B(e,"Issuing Data Bank key...");try{var r=(yield j()).issueBankCredentials,n=yield r(t,{keyName:e.name,profile:p,expectedProfile:o,bank:i});d&&d.stop(),(0,x.yd)({action:"data.login",target:{spacename:n.spacename},result:{keyName:n.keyName,spacekey:(0,k.$l)(n.spacekey),issuedAt:n.issuedAt},json:e.json,message:`${E.default.green("Data Bank key issued and saved.")} ${E.default.gray(`(${n.keyName}, stored in ${$.CONFIG_PATH})`)}`})}catch(a){R({spinner:d,error:a,options:e,action:"data.login"})}}),function(e){return c.apply(this,arguments)})),W.command("logout").description("Remove the stored Data Bank key from the active profile").option("--revoke","Also revoke the key on the workspace").option("-j, --json","Output as JSON").action((f=C(function*(e){var a=G(),t=a.client,p=a.profile,o=a.fingerprint,i=a.bank,d=yield B(e,"Clearing Data Bank key...");try{var r=(yield j()).clearStoredBankCredentials,n=yield r(t,{revoke:e.revoke,profile:p,expectedProfile:o,bank:i}),l=n.cleared,s=n.revoked;d&&d.stop(),(0,x.yd)({action:"data.logout",target:{profile:p},result:{cleared:l,revoked:s},json:e.json,message:l?E.default.green(`Data Bank key removed${s?" and revoked":""}.`):E.default.yellow("No Data Bank key stored for this profile.")})}catch(a){R({spinner:d,error:a,options:e,action:"data.logout"})}}),function(e){return f.apply(this,arguments)}));var z=new S.uB("keys").description("Data Bank space key management");W.addCommand(z),z.command("list").description("List Data Bank space keys (values are masked; use --json for full values)").option("-j, --json","Output as JSON (includes full key values)").action((h=C(function*(e){var a=G().client,t=yield B(e,"Fetching space keys...");try{var p=(yield J(a)).keys||[];if(t&&t.stop(),e.json)return void(0,k.GF)(p);if(0===p.length)return void console.log(E.default.yellow("No space keys found"));console.log(E.default.bold("\nData Bank Space Keys")),console.log("─".repeat(60)),p.map(q).forEach(e=>{var a=e.enableExpired?`expires ${e.expiredAt}`:"no expiry",t=[e.hasReadLimit&&"read-limited",e.hasWriteLimit&&"write-limited"].filter(Boolean).join(", ");console.log(`● ${E.default.cyan(e.name||"Unnamed")} ${E.default.gray(`(${e.meta})`)}`),console.log(` Value: ${E.default.gray(e.value)}`),console.log(` Expiry: ${E.default.gray(a)}${t?E.default.gray(`, ${t}`):""}`),console.log()}),console.log("─".repeat(60))}catch(a){R({spinner:t,error:a,options:e,action:"data.keys.list"})}}),function(e){return h.apply(this,arguments)})),z.command("new <name>").description("Create a new Data Bank space key").option("--expire-at <date>","Expiry time (ISO date, between 1 hour and 90 days from now)").option("--read <propertyIds>","Limit readable properties (comma separated)").option("--write <propertyIds>","Limit writable properties (comma separated)").option("-j, --json","Output as JSON").action((v=C(function*(e,a){var t=G().client,p=yield B(a,"Creating space key...");try{if(a.expireAt&&Number.isNaN(Date.parse(a.expireAt)))throw Error(`Invalid --expire-at date: ${a.expireAt}`);var o=yield J(t),i=new Set((o.keys||[]).map(e=>e.value)),d=yield t.updateWorkspace({newBankKey:{name:e,enableExpired:!!a.expireAt,expiredAt:a.expireAt,limitedReadProps:a.read?L(a.read):void 0,limitedWriteProps:a.write?L(a.write):void 0}}),r=d?.bank?.keys||[],n=r.find(e=>!i.has(e.value))||r.filter(a=>a.name===e).at(-1);if(!n)throw Error("Space key was not created");p&&p.stop(),(0,x.yd)({action:"data.keys.new",target:{name:e},result:n,json:a.json,message:E.default.green(`Space key "${e}" created.`)}),a.json||(console.log(E.default.yellow("\n⚠ Copy this key now — it will not be shown again in full:")),console.log(n.value))}catch(t){R({spinner:p,error:t,options:a,action:"data.keys.new",target:{name:e}})}}),function(e,a){return v.apply(this,arguments)})),z.command("revoke <keyOrName>").description("Revoke a Data Bank space key by value or name").option("-y, --yes","Skip confirmation prompt").option("-j, --json","Output as JSON").action((g=C(function*(e,a){var t=G().client,p=yield B(a,"Resolving space key...");try{var o=(yield J(t)).keys||[],i=o.filter(a=>a.value===e);if(0===i.length&&(i=o.filter(a=>a.name===e)),0===i.length)throw Error(`No space key matched "${e}"`);if(i.length>1)throw Error(`Multiple space keys named "${e}"; pass the exact key value instead`);var d=i,r=_(d,1)[0];if(p&&p.stop(),!(yield P({message:`Revoke space key "${r.name}" (${(0,k.$l)(r.value)})?`,autoYes:a.yes,json:a.json})))return void console.log(E.default.yellow("Cancelled"));yield t.updateWorkspace({revokeBankKey:r.value}),(0,x.yd)({action:"data.keys.revoke",target:{name:r.name,meta:r.meta},result:{revoked:!0},json:a.json,message:E.default.green(`Space key "${r.name}" revoked.`)})}catch(e){R({spinner:p,error:e,options:a,action:"data.keys.revoke"})}}),function(e,a){return g.apply(this,arguments)})),W.command("list").description("List Data Bank properties").option("-k, --keyword <keyword>","Filter by definition title / description or tags").option("-m, --meta <meta>",`Filter by meta (${O.YC.join(" | ")})`).option("-j, --json","Output as JSON").action((D=C(function*(e){var a=G(),t=a.client,p=yield B(e,"Fetching properties...");try{(0,O.jR)(e.meta);var o=yield H(t,a),i=yield o.listProperties({keyword:e.keyword,meta:e.meta});if(p&&p.stop(),e.json)return void(0,k.GF)(i||[]);if(!i||0===i.length)return void console.log(E.default.yellow("No Data Bank properties found"));console.log(E.default.bold(`
47
+ Data Bank Properties (${i.length})`)),console.log("─".repeat(80)),i.forEach(e=>{var a=e.definition?.title;console.log(`● ${E.default.cyan(e.propertyId)} ${E.default.gray(`(${e.meta})`)}${a?` ${a}`:""}`),e.tags?.length&&console.log(` Tags: ${e.tags.join(", ")}`),console.log(` Value: ${(e=>{if(null==e)return E.default.gray("null");var a=JSON.stringify(e);return a.length>60?`${a.slice(0,60)}…`:a})(e.value)}`),console.log(` Updated: ${E.default.gray(e.updateAt)}`),console.log()}),console.log("─".repeat(80))}catch(a){R({spinner:p,error:a,options:e,action:"data.list"})}}),function(e){return D.apply(this,arguments)})),W.command("get <propertyId>").description("Get a Data Bank property").option("-j, --json","Output as JSON").action((y=C(function*(e,a){var t=G(),p=t.client,o=yield B(a,"Fetching property...");try{var i=yield H(p,t),d=yield i.getProperty(e);if(!d)throw Error(`Property not found: ${e}`);if(o&&o.stop(),a.json)return void(0,k.GF)(d);console.log(E.default.bold(`
48
+ Data Bank Property: ${d.propertyId}`)),console.log("─".repeat(60)),console.log(`Meta: ${d.meta}`),console.log(`Title: ${d.definition?.title||E.default.gray("N/A")}`),console.log(`Tags: ${d.tags?.join(", ")||E.default.gray("None")}`),console.log(`Last Note: ${d.lastUpdateNote||E.default.gray("N/A")}`),console.log(`Updated: ${E.default.gray(d.updateAt)}`),console.log(`Created: ${E.default.gray(d.createAt)}`),console.log(`
49
+ ${E.default.bold("Value")}`),console.log(JSON.stringify(d.value,null,2)),console.log(`
50
+ ${E.default.bold("Definition")}`),console.log(JSON.stringify(d.definition,null,2)),console.log("─".repeat(60))}catch(t){R({spinner:o,error:t,options:a,action:"data.get",target:{propertyId:e}})}}),function(e,a){return y.apply(this,arguments)})),W.command("set <propertyId>").description("Create or update a Data Bank property (upsert by default)").option("-v, --value <value>","New value (JSON; falls back to plain string)").option("--value-file <path>","Read the new value from a file (JSON; falls back to raw text)").option("-d, --definition <json>","Replace the property definition (JSON)").option("--definition-file <path>","Read the definition from a JSON file").option("-m, --meta <meta>",`Property meta (${O.YC.join(" | ")}), default InSubspace`).option("-t, --tags <tags>","Replace tags (comma separated)").option("-n, --note <note>","Update note","Updated via bricks-cli").option("--no-upsert","Fail when the property does not exist").option("--no-notify","Do not notify subscribed devices").option("--dry-run","Validate inputs and show the payload without sending it").option("-j, --json","Output as JSON").action((w=C(function*(e,a){var t=G(),p=t.client,o=yield B(a,"Preparing property update...");try{if(void 0!==a.value&&a.valueFile)throw Error("Use either --value or --value-file, not both");if(a.definition&&a.definitionFile)throw Error("Use either --definition or --definition-file, not both");(0,O.jR)(a.meta);var i,d,r=!0;void 0!==a.value?i=M(a.value):a.valueFile?i=M(F.readFileSync(a.valueFile,"utf8")):r=!1,a.definition?d=U(a.definition,"--definition"):a.definitionFile&&(d=U(F.readFileSync(a.definitionFile,"utf8"),"--definition-file"));var n=yield H(p,t),l=yield n.getProperty(e);if(!l&&!a.upsert)throw Error(`Property not found: ${e} (--no-upsert)`);!r&&l&&(i=l.value);var s={propertyId:e,meta:a.meta,definition:d,value:i,updateNote:a.note,upsert:a.upsert,tags:a.tags?L(a.tags):void 0},u=!1===a.notify||void 0,m={propertyId:e,exists:!!l};if(a.dryRun){o&&o.stop(),(0,x.S5)({action:"data.set",target:m,request:{...s,dontNotify:u},checks:[(0,x.Iy)("property exists",!!l,l?void 0:"will be created"),(0,x.Iy)("value provided",r,r?void 0:"current value kept")],json:a.json});return}var c=(yield n.updateProperties([s],u))||[],f=_(c,1)[0];if(!f)throw Error("Property was not updated");o&&o.stop(),(0,x.yd)({action:"data.set",target:m,result:f,json:a.json,message:`${E.default.green(l?"Property updated:":"Property created:")} ${f.propertyId}`})}catch(t){R({spinner:o,error:t,options:a,action:"data.set",target:{propertyId:e}})}}),function(e,a){return w.apply(this,arguments)})),W.command("remove <propertyId>").description("Remove a Data Bank property").option("-y, --yes","Skip confirmation prompt").option("--dry-run","Validate inputs and show the removal plan without sending it").option("-j, --json","Output as JSON").action((b=C(function*(e,a){var t=G(),p=t.client,o=yield B(a,"Fetching property...");try{var i=yield H(p,t),d=yield i.getProperty(e);if(!d)throw Error(`Property not found: ${e}`);o&&o.stop();var r={propertyId:e,title:d.definition?.title};if(a.dryRun)return void(0,x.S5)({action:"data.remove",target:r,request:{propertyId:e},checks:[(0,x.Iy)("property exists",!0)],json:a.json});if(!(yield P({message:`Remove Data Bank property "${e}"? This cannot be undone.`,autoYes:a.yes,json:a.json})))return void console.log(E.default.yellow("Cancelled"));if(!(yield i.removeProperty(e)))throw Error("Property was not removed");(0,x.yd)({action:"data.remove",target:r,result:{removed:!0},json:a.json,message:E.default.green(`Property removed: ${e}`)})}catch(t){R({spinner:o,error:t,options:a,action:"data.remove",target:{propertyId:e}})}}),function(e,a){return b.apply(this,arguments)}))},42400(e,a,t){t.a(e,async function(e,p){try{t.d(a,{D:()=>f});var o=t(35679),i=t(69278),d=t(16928),r=t(70857),n=t(84361),l=e([n]);n=(l.then?(await l)():l)[0];var s=process.env.BRICKS_PROJECT_DESKTOP_DATA_DIR||d.join(r.homedir(),".bricks-project-desktop"),u=d.join(s,"acp.sock"),m=`[acp] Cannot connect to CTOR.
46
51
  Make sure the desktop app is running and ACP is enabled in Settings.
47
- Socket: ${d}
48
- `,f=e=>{var t=new i.Socket,o="",r=!1,n=[];t.on("error",t=>{var o="ENOENT"===t.code||"ECONNREFUSED"===t.code?"CTOR not reachable (is the desktop app running with ACP enabled?)":`socket error: ${t.message}`;process.stderr.write(`[acp] ${o}
49
- `);try{e.close(1011,o)}catch{}}),t.on("connect",()=>{for(r=!0;n.length>0;)t.write(n.shift())}),t.on("data",t=>{for(o+=t.toString("utf8");-1!==(r=o.indexOf("\n"));){var r,n=o.slice(0,r);o=o.slice(r+1),n.length>0&&e.readyState===e.OPEN&&e.send(n)}}),t.on("close",()=>{o.length>0&&e.readyState===e.OPEN&&(e.send(o),o="");try{e.close()}catch{}}),e.on("message",(e,o)=>{var i=o?Buffer.from(e).toString("utf8"):e.toString(),a=i.endsWith("\n")?i:i+"\n";r?t.write(a):n.push(a)}),e.on("close",()=>t.destroy()),e.on("error",()=>t.destroy()),t.connect(d)},g=new n.uB("desktop-acp-bridge").description("ACP bridge — connects acpx to the running CTOR desktop app").option("--ws","Start a WebSocket server that bridges the Unix socket instead of using stdio").option("--host <host>","WebSocket server bind host (default: 0.0.0.0)","0.0.0.0").option("--port <port>","WebSocket server port (default: 8765)","8765").option("--auth-token <token>","Require this Bearer token in the WebSocket Authorization header").action(e=>{if(!e.ws){var t;return void((t=i.connect(d)).on("connect",()=>{process.stdin.pipe(t),t.pipe(process.stdout)}),t.on("error",e=>{"ENOENT"===e.code||"ECONNREFUSED"===e.code?process.stderr.write(p):process.stderr.write(`[acp] Connection error: ${e.message}
50
- `),process.exit(1)}),t.on("close",()=>{process.exit(0)}))}var o=Number.parseInt(e.port,10);(!Number.isInteger(o)||o<0||o>65535)&&(process.stderr.write(`[acp] Invalid --port value: ${e.port}
51
- `),process.exit(1));var r=e.authToken||process.env.BRICKS_DESKTOP_ACP_BRIDGE_TOKEN||void 0;(({host:e,port:t,authToken:o})=>{var r=new l.WebSocketServer({host:e,port:t,verifyClient:({req:e},t)=>{if(!o)return void t(!0);for(var r=e.headers.authorization||"",n=`Bearer ${o}`,i=Buffer.from(r),a=Buffer.from(n),s=i.length===a.length,l=Math.max(i.length,a.length),u=0;u<l;u++)(i[u]||0)!==(a[u]||0)&&(s=!1);s?t(!0):t(!1,401,"Unauthorized")}});r.on("listening",()=>{var e=r.address(),t="string"==typeof e?e:`ws://${e.address}:${e.port}`;process.stderr.write(`[acp] WebSocket bridge listening on ${t}
52
- `),o||process.stderr.write("[acp] WARNING: no --auth-token set; the bridge is exposed on this host without authentication.\n")}),r.on("error",e=>{process.stderr.write(`[acp] WebSocket server error: ${e.message}
53
- `),process.exit(1)}),r.on("connection",f);var n=()=>{r.close(()=>process.exit(0))};process.on("SIGINT",n),process.on("SIGTERM",n)})({host:e.host,port:o,authToken:r})});r()}catch(e){r(e)}})},1983(e,t,o){o.d(t,{_:()=>A});var r,n,i,a,s,l,u,c,d,p,f,g,h,m,D=o(68832),y=o(99436),v=o(35679),b=o(73284),F=o(30155),_=o(7586),C=o(56493),$=o(68168),E=o(98593),w=o(94979),k=e=>{if(!e)return b.default.gray("○ Unknown");var t=Date.now()-new Date(e).getTime();if(t<=3e5)return b.default.green("● Online");var o=Math.floor(t/6e4);if(o<60)return b.default.yellow(`○ Offline (${o}m ago)`);var r=Math.floor(o/60);if(r<24)return b.default.red(`○ Offline (${r}h ago)`);var n=Math.floor(r/24);return b.default.red(`○ Offline (${n}d ago)`)},S=(e,t)=>(0,E.H_)(e,t,{name:e.name||e.device_name||"Unnamed",deviceName:e?.device_name||null}),x=(r=y(function*(e,t){var o=yield e.device({id:t});if(!o)throw Error("Device not found");return o}),function(e,t){return r.apply(this,arguments)}),O=(n=y(function*({id:e,type:t,eventPayload:o,options:r,progressMessage:n,successMessage:i,failureMessage:a="Failed to control device"}){var s=(0,C.requireAuth)(),l=r.json?null:(0,F.default)(n).start();try{var u=yield x(s,e),c=S(u,e);if(r.dryRun){l&&l.stop(),(0,E.S5)({action:"device.control",target:c,request:{type:t,eventPayload:o||null},checks:[(0,E.Iy)("device exists",!0,`${c.name} (${c.id})`)],json:r.json});return}yield s.controlDevice({id:e,type:t,eventPayload:o}),l?l.succeed(i):(0,E.yd)({action:"device.control",target:c,result:{type:t,eventPayload:o||null},json:!0})}catch(o){r.json?(0,_.OW)(o.message,{action:"device.control",target:{id:e},type:t}):l.fail(`${a}: ${o.message}`),process.exit(1)}}),function(e){return n.apply(this,arguments)}),A=new v.uB("device").description("Device management");A.command("list").description("List all devices").option("-k, --keyword <keyword>","Filter by keyword").option("-j, --json","Output as JSON").action((i=y(function*(e){var t=(0,C.requireAuth)(),o=(0,F.default)("Fetching devices...").start();try{var r=yield t.devices({keyword:e.keyword});if(o.stop(),e.json)return void console.log(JSON.stringify(r,null,2));if(!r||0===r.length)return void console.log(b.default.yellow("No devices found"));console.log(b.default.bold("\nDevices")),console.log("─".repeat(80)),r.forEach(e=>{var t=e.entry_detail?.watch_dog_timer?.last_alive_time,o=k(t),r=e.entry_detail?.application?.name||b.default.gray("No app bound");console.log(`${o} ${b.default.cyan(e.name||e.device_name)}`),console.log(` ID: ${b.default.gray(e._id)}`),console.log(` App: ${r}`),console.log()})}catch(e){o.fail(`Failed to list devices: ${e.message}`),process.exit(1)}}),function(e){return i.apply(this,arguments)})),A.command("get <id>").description("Get device details").option("-j, --json","Output as JSON").action((a=y(function*(e,t){var o=(0,C.requireAuth)(),r=(0,F.default)("Fetching device...").start();try{var n=yield o.device({id:e});if(r.stop(),n||(console.log(b.default.red("Device not found")),process.exit(1)),t.json)return void console.log(JSON.stringify(n,null,2));var i=n.entry_detail?.watch_dog_timer?.last_alive_time,a=k(i);if(console.log(b.default.bold(`
54
- Device: ${n.name||n.device_name}`)),console.log("─".repeat(60)),console.log(`Status: ${a}`),console.log(`ID: ${b.default.gray(n._id)}`),console.log(`Device Name: ${n.device_name||b.default.gray("N/A")}`),console.log(`Description: ${n.description||b.default.gray("N/A")}`),console.log(`Tags: ${n.tags?.join(", ")||b.default.gray("None")}`),console.log(`Created: ${b.default.gray(n.create_datetime||"N/A")}`),console.log(`Modified: ${b.default.gray(n.last_modify_datetime||"N/A")}`),n.entry_detail){var s=n.entry_detail;if(console.log(`
55
- ${b.default.bold("Entry Details")}`),console.log(`Type: ${s.type||b.default.gray("N/A")}`),console.log(`Unique ID: ${b.default.gray(s.unique_id||"N/A")}`),console.log(`Version: ${s.operation_version||b.default.gray("N/A")}`),console.log(`Mode: ${s.operation_mode||b.default.gray("N/A")}`),Array.isArray(s.screen)&&s.screen.length>0)console.log(`
56
- ${b.default.bold("Screens")} (${s.screen.length})`),s.screen.forEach((e,t)=>{var o=e.resolution,r=o?`${o.width}x${o.height} @${o.scale}x`:"N/A",n=e.master?b.default.green(" (master)"):"",i=e.orientation?` [${e.orientation}]`:"",a=e.touch?.available?b.default.cyan(` touch:${e.touch.touch_point}pt`):"";console.log(` ${t+1}. ${e.title||"Screen"}${n}${i} - ${r}${a}`)});else if(s.screen?.resolution){var l=s.screen.resolution;console.log(`Resolution: ${l.width}x${l.height} @${l.scale}x`)}var u=null!=s.memory_usage,c=null!=s.disk_usage;if(u||c){if(console.log(`
57
- ${b.default.bold("System Resources")}`),u){var d=Array.isArray(s.memory_usage)?s.memory_usage[0]:s.memory_usage;if(Number.isFinite(d)){var p=Math.round(100*d),f=b.default.green;p>80?f=b.default.red:p>60&&(f=b.default.yellow),console.log(`Memory: ${f(`${p}%`)}`)}else console.log(`Memory: ${b.default.gray("N/A")}`)}if(c){var g=Array.isArray(s.disk_usage)?s.disk_usage[0]:s.disk_usage;if(Number.isFinite(g)){var h=Math.round(100*g),m=b.default.green;h>90?m=b.default.red:h>75&&(m=b.default.yellow),console.log(`Disk: ${m(`${h}%`)}`)}else console.log(`Disk: ${b.default.gray("N/A")}`)}}var D=[];if(s.sound?.available&&D.push("Sound"),s.camera?.available&&D.push("Camera"),s.audio_in?.available&&D.push("Audio Input"),D.length>0&&(console.log(`
58
- ${b.default.bold("Capabilities")}`),console.log(`Available: ${D.join(", ")}`),s.camera?.channel?.length>0&&s.camera.channel.forEach(e=>{var t=e.resolution?`${e.resolution.width}x${e.resolution.height}`:"";console.log(` Camera: ${e.title||"Camera"} ${t} [${e.orientation||"N/A"}]`)})),s.local_sync){var y=s.local_sync;console.log(`
59
- ${b.default.bold("Local Sync")}`),console.log(`Role: ${y.is_main?b.default.cyan("Main"):"Secondary"}`),null!=y.peer_count&&console.log(`Peers: ${y.peer_count}`),null!=y.mean_latency&&console.log(`Latency: ${y.mean_latency.toFixed(2)}ms`)}if(s.update){var v=s.update;console.log(`
60
- ${b.default.bold("Update Status")}`),console.log(`Needs Update: ${v.need_update?b.default.yellow("Yes"):b.default.green("No")}`),v.current_version&&console.log(`App Version: ${v.current_version}`),v.running_mode&&console.log(`Running Mode: ${v.running_mode}`),v.last_update_at&&console.log(`Last Update: ${b.default.gray(v.last_update_at)}`)}if(s.watch_dog_timer){var _=s.watch_dog_timer;console.log(`
61
- ${b.default.bold("Watchdog")}`),console.log(`Alive: ${_.alive?b.default.green("Yes"):b.default.red("No")}`),_.last_launch_time&&console.log(`Last Launch: ${b.default.gray(_.last_launch_time)}`),_.last_alive_time&&console.log(`Last Alive: ${b.default.gray(_.last_alive_time)}`)}}n.bound_application&&(console.log(`
62
- ${b.default.bold("Bound Application")}`),console.log(`Name: ${n.bound_application.name}`),console.log(`ID: ${b.default.gray(n.bound_application._id)}`)),n.env?.variables&&Object.keys(n.env.variables).length>0&&(console.log(`
63
- ${b.default.bold("Environment Variables")}`),Object.entries(n.env.variables).forEach(([e,t])=>{console.log(` ${b.default.cyan(e)}: ${t}`)})),console.log("─".repeat(60))}catch(e){r.fail(`Failed to get device: ${e.message}`),process.exit(1)}}),function(e,t){return a.apply(this,arguments)})),A.command("resolve <query>").description("Resolve a device name or ID to stable IDs").option("-l, --limit <limit>","Limit search results",e=>Number.parseInt(e,10),10).option("-j, --json","Output as JSON").action((s=y(function*(e,t){var o=(0,C.requireAuth)(),r=t.json?null:(0,F.default)("Resolving device...").start();try{var n=yield(0,$.Y)(()=>o.device({id:e})),i=n||!e?n?[n]:[]:yield o.devices({keyword:e,paginate:{limit:t.limit}}),a=(0,$.K)({resource:"device",query:e,items:n?[n]:i||[],fields:["_id","name","device_name"],selectedBy:n?"id":null});if(r&&r.stop(),t.json)return void(0,_.GF)(a);if(a.resolved){var s=a.resolved;console.log(b.default.bold("\nResolved Device")),console.log("─".repeat(60)),console.log(`Name: ${b.default.cyan(s.name||s.device_name||"Unnamed")}`),console.log(`ID: ${b.default.gray(s._id)}`),console.log(`Selected By: ${a.selectedBy}`),console.log("─".repeat(60));return}if(0===a.matches.length)return void console.log(b.default.yellow(`No devices matched "${e}"`));console.log(b.default.bold(`
64
- Matching Devices (${a.matches.length})`)),console.log("─".repeat(80)),a.matches.forEach(e=>{console.log(`${b.default.cyan(e.name||e.device_name||"Unnamed")} ${b.default.gray(e._id)}`)}),console.log("─".repeat(80))}catch(t){r?r.fail(`Failed to resolve device: ${t.message}`):(0,_.OW)(t.message,{resource:"device",query:e}),process.exit(1)}}),function(e,t){return s.apply(this,arguments)})),A.command("bind <passcode>").description("Bind a new device using passcode").option("-n, --name <name>","Device name").option("--dry-run","Validate inputs and show the device binding plan without creating a device").option("-j, --json","Output as JSON").action((l=y(function*(e,t){var o=(0,C.requireAuth)(),r=t.json?null:(0,F.default)("Checking passcode...").start();try{var n=yield o.checkBindDevicePasscode({passcode:e});n||(t.json?(0,_.OW)("Invalid passcode or expired",{action:"device.bind"}):r.fail("Invalid passcode or expired"),process.exit(1));var i={name:t.name||n.payload?.deviceName||"CLI Device",deviceName:n.payload?.deviceName||null};if(t.dryRun){r&&r.stop(),(0,E.S5)({action:"device.bind",target:i,request:{passcodePreview:(0,_.$l)(e),requestedName:t.name||null,inferredName:n.payload?.deviceName||null},checks:[(0,E.Iy)("passcode is valid",!0),(0,E.Iy)("device name resolved",!0,i.name)],json:t.json});return}r&&(r.text="Binding device...");var a=yield o.createDevice({bindPasscode:e,name:i.name,deviceName:n.payload?.deviceName});t.json?(0,E.yd)({action:"device.bind",target:S(a,a._id),result:{inferredName:n.payload?.deviceName||null},json:!0}):(r.succeed(`Device bound successfully: ${b.default.green(a.name)}`),console.log(b.default.gray(`Device ID: ${a._id}`)))}catch(e){t.json?(0,_.OW)(e.message,{action:"device.bind"}):r.fail(`Failed to bind device: ${e.message}`),process.exit(1)}}),function(e,t){return l.apply(this,arguments)})),A.command("remove <id>").description("Remove a device").option("--dry-run","Validate the target and show the removal plan without deleting it").option("-j, --json","Output as JSON").action((u=y(function*(e,t){var o=(0,C.requireAuth)(),r=t.json?null:(0,F.default)("Removing device...").start();try{var n=yield x(o,e),i=S(n,e);if(t.dryRun){r&&r.stop(),(0,E.S5)({action:"device.remove",target:i,request:{id:e},checks:[(0,E.Iy)("device exists",!0,`${i.name} (${i.id})`)],json:t.json});return}var a=yield o.removeDevice({id:e});t.json?(0,E.yd)({action:"device.remove",target:i,result:{removed:!!a},json:!0}):r.succeed(`Device removed: ${b.default.green(i.name)}`)}catch(o){t.json?(0,_.OW)(o.message,{action:"device.remove",target:{id:e}}):r.fail(`Failed to remove device: ${o.message}`),process.exit(1)}}),function(e,t){return u.apply(this,arguments)})),A.command("control <id> <type>").description("Control a device").option("-p, --payload <json>","Event payload as JSON").option("--dry-run","Validate inputs and show the control request without sending it").option("-j, --json","Output as JSON").action((c=y(function*(e,t,o){try{var r;o.payload&&(r=JSON.parse(o.payload)),yield O({id:e,type:t,eventPayload:r,options:o,progressMessage:`Sending ${t} to device...`,successMessage:`Control event sent: ${b.default.green(t)}`,failureMessage:"Failed to control device"})}catch(r){o.json?(0,_.OW)(r.message,{action:"device.control",target:{id:e},type:t}):console.error(b.default.red(`Failed to control device: ${r.message}`)),process.exit(1)}}),function(e,t,o){return c.apply(this,arguments)})),A.command("refresh <id>").description("Refresh device application").option("--dry-run","Validate inputs and show the refresh request without sending it").option("-j, --json","Output as JSON").action((d=y(function*(e,t){yield O({id:e,type:"refresh",options:t,progressMessage:"Refreshing device...",successMessage:"Device refreshed",failureMessage:"Failed to refresh device"})}),function(e,t){return d.apply(this,arguments)})),A.command("clear-cache <id>").description("Clear device cache").option("--dry-run","Validate inputs and show the cache-clear request without sending it").option("-j, --json","Output as JSON").action((p=y(function*(e,t){yield O({id:e,type:"clear-cache",options:t,progressMessage:"Clearing cache...",successMessage:"Cache cleared",failureMessage:"Failed to clear cache"})}),function(e,t){return p.apply(this,arguments)})),A.command("screenshot <id>").description("Take device screenshot and save to file").option("-o, --output <path>","Output file path").option("--no-take","Only fetch existing screenshot without taking a new one").action((f=y(function*(e,t){var r=(0,C.requireAuth)(),n=(0,F.default)("Fetching workspace info...").start();try{var i=yield r.workspace();i?.media_resource?.enable_media_workspace||(n.fail("Media workspace is not enabled for this workspace"),process.exit(1)),i.media_resource.system_media_box_id||(n.fail("No media box configured for this workspace"),process.exit(1)),!1!==t.take&&(n.text="Sending screenshot request to device...",yield r.controlDevice({id:e,type:"take-screenshot"}),n.text="Waiting for device to capture screenshot...",yield new Promise(e=>setTimeout(e,3e3))),n.text="Fetching screenshot...";var a=(yield m||=Promise.all([o.e(6370),o.e(831)]).then(o.bind(o,60450))).fetchAndSaveScreenshot,s=yield a(r,i,e,t.output);if(s.error&&(n.fail(s.error),process.exit(1)),n.succeed("Screenshot saved"),console.log(),console.log(b.default.bold("Screenshot saved to:")),console.log(b.default.cyan(s.path)),console.log(),s.file?.meta){var l=s.file.meta,u=l.originalWidth,c=l.originalHeight,d=l.originalFileSize;if(u&&c&&console.log(`${b.default.gray("Size:")} ${u}x${c}`),d){var p=(d/1024).toFixed(1);console.log(`${b.default.gray("File:")} ${p} KB`)}}s.file?.updatedAt&&console.log(`${b.default.gray("Updated:")} ${new Date(s.file.updatedAt).toLocaleString()}`)}catch(e){n.fail(`Failed to get screenshot: ${e.message}`),process.exit(1)}}),function(e,t){return f.apply(this,arguments)})),A.command("metrics <id>").description("Show device metrics (uptime, memory, disk)").option("--start-date <date>","Start date/time (ISO 8601 or relative e.g. 1h, 2d, default: today)").option("--end-date <date>","End date/time (ISO 8601 or relative e.g. 1h, 2d, default: now)").option("-j, --json","Output as JSON").action((g=y(function*(e,t){var o=(0,C.requireAuth)(),r=(0,F.default)("Fetching device metrics...").start();try{var n=new Date,i=new Date(n.getFullYear(),n.getMonth(),n.getDate()).toISOString(),a=t.startDate?(0,w.p)(t.startDate):i,s=t.endDate?(0,w.p)(t.endDate):n.toISOString(),l=yield o.deviceUsage({deviceId:e,startDate:a,endDate:s});if(r.stop(),!l||0===l.length)return void console.log(b.default.yellow("No metrics data found for this device"));if(t.json)return void console.log(JSON.stringify(l,null,2));for(var u of(console.log(b.default.bold(`
65
- Device Metrics: ${e}`)),console.log("─".repeat(60)),console.log(b.default.gray(`${"Date".padEnd(12)} ${"Uptime Events".padEnd(15)} ${"Avg Memory".padEnd(12)} ${"Avg Disk".padEnd(10)}`)),console.log("─".repeat(60)),l)){var c=(u.date||"").padEnd(12),d=String(u.uptime?.length||0).padEnd(15),p="N/A";if(u.memory_usage?.length){var f=0,g=0;for(var h of u.memory_usage){var m=h.values||[],y=D(m,2),v=y[0],_=y[1];null!=v&&null!=_&&_>0&&(f+=v,g+=_)}g>0&&(p=`${(f/g*100).toFixed(1)}%`)}var $="N/A";if(u.disk_usage?.length){var E=0,k=0;for(var S of u.disk_usage){var x=S.values||[],O=D(x,2),A=O[0],j=O[1];null!=A&&null!=j&&j>0&&(E+=A,k+=j)}k>0&&($=`${(E/k*100).toFixed(1)}%`)}console.log(`${c} ${d} ${p.padEnd(12)} ${$.padEnd(10)}`)}console.log("─".repeat(60))}catch(e){r.fail(`Failed to get device metrics: ${e.message}`),process.exit(1)}}),function(e,t){return g.apply(this,arguments)})),A.command("monitor").description("Monitor device status (polls every 60s)").option("-g, --group <id>","Monitor devices in a group").option("-i, --interval <seconds>","Polling interval in seconds","60").action((h=y(function*(e){var t,o=(0,C.requireAuth)(),r=1e3*parseInt(e.interval,10);console.log(b.default.bold("\nDevice Monitor")),console.log(b.default.gray(`Polling every ${e.interval}s. Press Ctrl+C to stop.
66
- `));var n=(t=y(function*(){try{var t;if(t=e.group?yield o.devicesByGroup({id:e.group}):yield o.devices({}),process.stdout.write("\x1b[2J\x1b[0f"),console.log(b.default.bold("Device Monitor")+b.default.gray(` - ${new Date().toLocaleTimeString()}`)),console.log("─".repeat(80)),!t||0===t.length)return void console.log(b.default.yellow("No devices found"));t.forEach(e=>{var t=e.entry_detail?.watch_dog_timer?.last_alive_time,o=k(t),r=e.name||e.device_name||e.device_target_name||"Unnamed",n=e.entry_detail?.application?.name||b.default.gray("No app");console.log(`${o} ${b.default.cyan(r.padEnd(25))} ${n}`)}),console.log(`
67
- ${b.default.gray("Press Ctrl+C to stop")}`)}catch(e){console.error(b.default.red(`Error: ${e.message}`))}}),function(){return t.apply(this,arguments)});yield n(),setInterval(n,r)}),function(e){return h.apply(this,arguments)}))},80274(e,t,o){o.d(t,{gf:()=>er});var r,n,i,a,s,l,u,c,d,p,f,g,h,m,D,y,v,b,F,_,C,$,E,w,k,S,x,O,A,j,I,B,N,P,T,R=o(68832),M=o(99436),U=o(35679),J=o(73284),L=o(51455),q=o(76760),G=o(75646),V=(r=M(function*(e,t,o=3e3){var r;try{var n=new AbortController;r=setTimeout(()=>n.abort(),o);var i=yield fetch(`http://${e}:${t}/json/list`,{signal:n.signal});if(!i.ok)return null;return yield i.json()}catch{return null}finally{void 0!==r&&clearTimeout(r)}}),function(e,t){return r.apply(this,arguments)}),W=e=>{if(!e)return null;var t=e.match(/\/ws\/(.+)$/);return t?decodeURIComponent(t[1]):null},H=(n=M(function*(e,t=1e3){for(var o=[],r=e,n=0;n<10;n++){var i=q.join(r,".bricks","devtools.json");try{var a=yield L.readFile(i,"utf8"),s=JSON.parse(a),l=yield(0,G.verifyDevToolsServer)(s.address||"localhost",s.port,t);l&&o.push({name:s.name||"BRICKS Simulator",address:s.address||"localhost",port:s.port,protocols:["cdp"],hasPasscode:!1,source:"project",projectPath:r,...l})}catch{}var u=q.dirname(r);if(u===r)break;r=u}return o}),function(e){return n.apply(this,arguments)}),K=(i=M(function*({timeout:e=3e3,verify:t=!1,udpOnly:o=!1,project:r=!0,port:n=19851,cwd:i=process.cwd(),onStatus:a}={}){var s,l=(0,G.discoverDevToolsServers)({timeout:e,idleTimeout:800}),u=o?Promise.resolve([]):(a?.("Scanning via UDP + HTTP probe..."),(0,G.httpProbeSubnet)({port:n,timeout:e})),c=r?H(i,1e3):Promise.resolve([]),d=R((yield Promise.all([l,u,c])),3),p=(e=>{var t=new Map;for(var o of e){var r=o.deviceId||`${o.address}:${o.port}`,n=t.get(r);if(!n){t.set(r,{...o,addresses:[o.address],protocols:[...o.protocols||[]]});continue}for(var i of(n.addresses.includes(o.address)||n.addresses.push(o.address),"127.0.0.1"===n.address&&"127.0.0.1"!==o.address&&(n.address=o.address),o.protocols||[]))n.protocols.includes(i)||n.protocols.push(i);for(var a of Object.entries(o)){var s=R(a,2),l=s[0],u=s[1];null!=u&&"address"!==l&&"addresses"!==l&&"protocols"!==l&&(void 0===n[l]||null===n[l])&&(n[l]=u)}}return[...t.values()]})([...d[0],...d[1],...d[2]]);if(0===p.length)return[];if(t){a?.(`Verifying ${p.length} server(s)...`);var f,g=yield Promise.all(p.map((f=M(function*(e){var t=yield(0,G.verifyDevToolsServer)(e.address,e.port);return{...e,...t||{},address:e.address,port:e.port,verified:!!t,version:t?.version||e.version}}),function(e){return f.apply(this,arguments)})));p.splice(0,p.length,...g)}return a?.("Checking chrome://inspect support..."),yield Promise.all(p.map((s=M(function*(e){var t=yield V(e.address,e.port);if(t){e.chromeInspect=!0;var o=W(t[0]?.webSocketDebuggerUrl);o&&(e.passcode=o)}}),function(e){return s.apply(this,arguments)}))),p}),function(){return i.apply(this,arguments)}),Y="2.24",z="19851",Q="127.0.0.1",X=e=>{if(!e)return{host:void 0,port:void 0};var t=e.match(/^\[([^\]]+)\](?::(\d+))?$/);if(t)return{host:t[1],port:t[2]};var o=e.lastIndexOf(":");if(o>0&&e.indexOf(":")===o){var r=e.slice(o+1);if(/^\d+$/.test(r))return{host:e.slice(0,o),port:r}}return{host:e,port:void 0}},Z=e=>{if(!e)return!1;for(var t=e.replace(/^v/,"").split(".").map(Number),o=Y.split(".").map(Number),r=0;r<o.length&&!((t[r]||0)>o[r]);r++)if((t[r]||0)<o[r])return!1;return!0},ee=e=>e?.auth?.workspaceJwt?.enabled?"workspace-jwt":e?.auth?.passcode||e?.hasPasscode?"passcode":e?.auth?"locked":"open",et=e=>"workspace-jwt"===e?J.default.green(e):"passcode"===e?J.default.yellow(e):"locked"===e?J.default.red(e):J.default.gray(e),eo=(a=M(function*({info:e,cdpOptions:t,force:r=!1}){if(t.passcode||!e?.auth?.workspaceJwt?.enabled)return null;var n=yield Promise.resolve().then(o.bind(o,47988)),i=n.getCurrentProfile,a=n.getTokenInfo,s=n.getBaseUrl,l=(yield Promise.all([o.e(6370),o.e(5785),o.e(3332),o.e(2209),o.e(907)]).then(o.bind(o,85382))).createClient,u=(yield o.e(4305).then(o.bind(o,7944))).getOrIssueDevtoolsToken,c=i(),d=a(c);if(!d?.token||!d?.workspaceId||e.workspaceId&&String(d.workspaceId)!==String(e.workspaceId))return null;var p=l(s(),d.token);return(yield u({profile:c,client:p,workspaceId:e.workspaceId||void 0,force:r})).token}),function(e){return a.apply(this,arguments)}),er=new U.uB("devtools").description("DevTools server discovery, inspection, and CDP commands").option("-a, --address <address>",`DevTools server address, host or host:port (default: ${Q})`).option("-p, --port <port>",`Server port for CDP commands (default: ${z})`).option("--passcode <passcode>","Device passcode for CDP commands"),en=e=>e.option("-a, --address <address>","DevTools server address, host or host:port").option("-p, --port <port>",`Server port (default: ${z})`).option("--passcode <passcode>","Device passcode").option("-j, --json","Output as JSON"),ei=(s=M(function*(e,t){var r,n,i,a=(yield Promise.resolve().then(o.bind(o,30155))).default,s=(yield Promise.resolve().then(o.bind(o,75646))).verifyDevToolsServer,l=(yield o.e(1178).then(o.bind(o,28193))).createCdpClient,u=(r=er.opts(),n=X(e.address??r.address),{...e,address:n.host??Q,port:e.port??r.port??n.port??z,passcode:e.passcode??r.passcode}),c=parseInt(u.port,10),d=a("Connecting to DevTools...").start();try{var p=yield s(u.address,c);p||(d.fail(`Cannot reach DevTools server at ${u.address}:${c}`),process.exit(1)),p.version&&!Z(p.version)&&(d.fail(`CDP requires app version >= ${Y} (device: ${p.version})`),process.exit(1));var f=yield eo({info:p,cdpOptions:u});i=l(u.address,c,{passcode:u.passcode,accessToken:f});try{yield i.connect()}catch(e){if(i.close(),!f||!/403|Forbidden/i.test(e.message))throw e;f=yield eo({info:p,cdpOptions:u,force:!0}),i=l(u.address,c,{passcode:u.passcode,accessToken:f}),yield i.connect()}d.stop(),yield t(i)}catch(e){d.isSpinning&&d.stop(),console.error(J.default.red(e.message)),process.exit(1)}finally{i?.close()}}),function(e,t){return s.apply(this,arguments)}),ea=({subspaceId:e,handler:t,action:o,parameters:r,property:n,waitAsync:i,sync:a})=>{var s={handler:t,action:o};void 0!==r&&(s.parameters=r),void 0!==n&&(s.property=n),void 0!==i&&(s.waitAsync=i),void 0!==a&&(s.sync=a);var l=e?JSON.stringify(e):"(Object.keys(globalThis.system?.subspaces?.() || {})[0] || '')";return`(() => {
52
+ Socket: ${u}
53
+ `,c=e=>{var a=new i.Socket,t="",p=!1,o=[];a.on("error",a=>{var t="ENOENT"===a.code||"ECONNREFUSED"===a.code?"CTOR not reachable (is the desktop app running with ACP enabled?)":`socket error: ${a.message}`;process.stderr.write(`[acp] ${t}
54
+ `);try{e.close(1011,t)}catch{}}),a.on("connect",()=>{for(p=!0;o.length>0;)a.write(o.shift())}),a.on("data",a=>{for(t+=a.toString("utf8");-1!==(p=t.indexOf("\n"));){var p,o=t.slice(0,p);t=t.slice(p+1),o.length>0&&e.readyState===e.OPEN&&e.send(o)}}),a.on("close",()=>{t.length>0&&e.readyState===e.OPEN&&(e.send(t),t="");try{e.close()}catch{}}),e.on("message",(e,t)=>{var i=t?Buffer.from(e).toString("utf8"):e.toString(),d=i.endsWith("\n")?i:i+"\n";p?a.write(d):o.push(d)}),e.on("close",()=>a.destroy()),e.on("error",()=>a.destroy()),a.connect(u)},f=new o.uB("desktop-acp-bridge").description("ACP bridge — connects acpx to the running CTOR desktop app").option("--ws","Start a WebSocket server that bridges the Unix socket instead of using stdio").option("--host <host>","WebSocket server bind host (default: 0.0.0.0)","0.0.0.0").option("--port <port>","WebSocket server port (default: 8765)","8765").option("--auth-token <token>","Require this Bearer token in the WebSocket Authorization header").action(e=>{if(!e.ws){var a;return void((a=i.connect(u)).on("connect",()=>{process.stdin.pipe(a),a.pipe(process.stdout)}),a.on("error",e=>{"ENOENT"===e.code||"ECONNREFUSED"===e.code?process.stderr.write(m):process.stderr.write(`[acp] Connection error: ${e.message}
55
+ `),process.exit(1)}),a.on("close",()=>{process.exit(0)}))}var t=Number.parseInt(e.port,10);(!Number.isInteger(t)||t<0||t>65535)&&(process.stderr.write(`[acp] Invalid --port value: ${e.port}
56
+ `),process.exit(1));var p=e.authToken||process.env.BRICKS_DESKTOP_ACP_BRIDGE_TOKEN||void 0;(({host:e,port:a,authToken:t})=>{var p=new n.WebSocketServer({host:e,port:a,verifyClient:({req:e},a)=>{if(!t)return void a(!0);for(var p=e.headers.authorization||"",o=`Bearer ${t}`,i=Buffer.from(p),d=Buffer.from(o),r=i.length===d.length,n=Math.max(i.length,d.length),l=0;l<n;l++)(i[l]||0)!==(d[l]||0)&&(r=!1);r?a(!0):a(!1,401,"Unauthorized")}});p.on("listening",()=>{var e=p.address(),a="string"==typeof e?e:`ws://${e.address}:${e.port}`;process.stderr.write(`[acp] WebSocket bridge listening on ${a}
57
+ `),t||process.stderr.write("[acp] WARNING: no --auth-token set; the bridge is exposed on this host without authentication.\n")}),p.on("error",e=>{process.stderr.write(`[acp] WebSocket server error: ${e.message}
58
+ `),process.exit(1)}),p.on("connection",c);var o=()=>{p.close(()=>process.exit(0))};process.on("SIGINT",o),process.on("SIGTERM",o)})({host:e.host,port:t,authToken:p})});p()}catch(e){p(e)}})},1983(e,a,t){t.d(a,{_:()=>O});var p,o,i,d,r,n,l,s,u,m,c,f,h,v,g=t(68832),D=t(99436),y=t(35679),w=t(73284),b=t(30155),_=t(7586),C=t(56493),F=t(68168),S=t(98593),E=t(94979),k=e=>{if(!e)return w.default.gray("○ Unknown");var a=Date.now()-new Date(e).getTime();if(a<=3e5)return w.default.green("● Online");var t=Math.floor(a/6e4);if(t<60)return w.default.yellow(`○ Offline (${t}m ago)`);var p=Math.floor(t/60);if(p<24)return w.default.red(`○ Offline (${p}h ago)`);var o=Math.floor(p/24);return w.default.red(`○ Offline (${o}d ago)`)},A=(e,a)=>(0,S.H_)(e,a,{name:e.name||e.device_name||"Unnamed",deviceName:e?.device_name||null}),N=(p=D(function*(e,a){var t=yield e.device({id:a});if(!t)throw Error("Device not found");return t}),function(e,a){return p.apply(this,arguments)}),$=(o=D(function*({id:e,type:a,eventPayload:t,options:p,progressMessage:o,successMessage:i,failureMessage:d="Failed to control device"}){var r=(0,C.requireAuth)(),n=p.json?null:(0,b.default)(o).start();try{var l=yield N(r,e),s=A(l,e);if(p.dryRun){n&&n.stop(),(0,S.S5)({action:"device.control",target:s,request:{type:a,eventPayload:t||null},checks:[(0,S.Iy)("device exists",!0,`${s.name} (${s.id})`)],json:p.json});return}yield r.controlDevice({id:e,type:a,eventPayload:t}),n?n.succeed(i):(0,S.yd)({action:"device.control",target:s,result:{type:a,eventPayload:t||null},json:!0})}catch(t){p.json?(0,_.OW)(t.message,{action:"device.control",target:{id:e},type:a}):n.fail(`${d}: ${t.message}`),process.exit(1)}}),function(e){return o.apply(this,arguments)}),O=new y.uB("device").description("Device management");O.command("list").description("List all devices").option("-k, --keyword <keyword>","Filter by keyword").option("-j, --json","Output as JSON").action((i=D(function*(e){var a=(0,C.requireAuth)(),t=(0,b.default)("Fetching devices...").start();try{var p=yield a.devices({keyword:e.keyword});if(t.stop(),e.json)return void console.log(JSON.stringify(p,null,2));if(!p||0===p.length)return void console.log(w.default.yellow("No devices found"));console.log(w.default.bold("\nDevices")),console.log("─".repeat(80)),p.forEach(e=>{var a=e.entry_detail?.watch_dog_timer?.last_alive_time,t=k(a),p=e.entry_detail?.application?.name||w.default.gray("No app bound");console.log(`${t} ${w.default.cyan(e.name||e.device_name)}`),console.log(` ID: ${w.default.gray(e._id)}`),console.log(` App: ${p}`),console.log()})}catch(e){t.fail(`Failed to list devices: ${e.message}`),process.exit(1)}}),function(e){return i.apply(this,arguments)})),O.command("get <id>").description("Get device details").option("-j, --json","Output as JSON").action((d=D(function*(e,a){var t=(0,C.requireAuth)(),p=(0,b.default)("Fetching device...").start();try{var o=yield t.device({id:e});if(p.stop(),o||(console.log(w.default.red("Device not found")),process.exit(1)),a.json)return void console.log(JSON.stringify(o,null,2));var i=o.entry_detail?.watch_dog_timer?.last_alive_time,d=k(i);if(console.log(w.default.bold(`
59
+ Device: ${o.name||o.device_name}`)),console.log("─".repeat(60)),console.log(`Status: ${d}`),console.log(`ID: ${w.default.gray(o._id)}`),console.log(`Device Name: ${o.device_name||w.default.gray("N/A")}`),console.log(`Description: ${o.description||w.default.gray("N/A")}`),console.log(`Tags: ${o.tags?.join(", ")||w.default.gray("None")}`),console.log(`Created: ${w.default.gray(o.create_datetime||"N/A")}`),console.log(`Modified: ${w.default.gray(o.last_modify_datetime||"N/A")}`),o.entry_detail){var r=o.entry_detail;if(console.log(`
60
+ ${w.default.bold("Entry Details")}`),console.log(`Type: ${r.type||w.default.gray("N/A")}`),console.log(`Unique ID: ${w.default.gray(r.unique_id||"N/A")}`),console.log(`Version: ${r.operation_version||w.default.gray("N/A")}`),console.log(`Mode: ${r.operation_mode||w.default.gray("N/A")}`),Array.isArray(r.screen)&&r.screen.length>0)console.log(`
61
+ ${w.default.bold("Screens")} (${r.screen.length})`),r.screen.forEach((e,a)=>{var t=e.resolution,p=t?`${t.width}x${t.height} @${t.scale}x`:"N/A",o=e.master?w.default.green(" (master)"):"",i=e.orientation?` [${e.orientation}]`:"",d=e.touch?.available?w.default.cyan(` touch:${e.touch.touch_point}pt`):"";console.log(` ${a+1}. ${e.title||"Screen"}${o}${i} - ${p}${d}`)});else if(r.screen?.resolution){var n=r.screen.resolution;console.log(`Resolution: ${n.width}x${n.height} @${n.scale}x`)}var l=null!=r.memory_usage,s=null!=r.disk_usage;if(l||s){if(console.log(`
62
+ ${w.default.bold("System Resources")}`),l){var u=Array.isArray(r.memory_usage)?r.memory_usage[0]:r.memory_usage;if(Number.isFinite(u)){var m=Math.round(100*u),c=w.default.green;m>80?c=w.default.red:m>60&&(c=w.default.yellow),console.log(`Memory: ${c(`${m}%`)}`)}else console.log(`Memory: ${w.default.gray("N/A")}`)}if(s){var f=Array.isArray(r.disk_usage)?r.disk_usage[0]:r.disk_usage;if(Number.isFinite(f)){var h=Math.round(100*f),v=w.default.green;h>90?v=w.default.red:h>75&&(v=w.default.yellow),console.log(`Disk: ${v(`${h}%`)}`)}else console.log(`Disk: ${w.default.gray("N/A")}`)}}var g=[];if(r.sound?.available&&g.push("Sound"),r.camera?.available&&g.push("Camera"),r.audio_in?.available&&g.push("Audio Input"),g.length>0&&(console.log(`
63
+ ${w.default.bold("Capabilities")}`),console.log(`Available: ${g.join(", ")}`),r.camera?.channel?.length>0&&r.camera.channel.forEach(e=>{var a=e.resolution?`${e.resolution.width}x${e.resolution.height}`:"";console.log(` Camera: ${e.title||"Camera"} ${a} [${e.orientation||"N/A"}]`)})),r.local_sync){var D=r.local_sync;console.log(`
64
+ ${w.default.bold("Local Sync")}`),console.log(`Role: ${D.is_main?w.default.cyan("Main"):"Secondary"}`),null!=D.peer_count&&console.log(`Peers: ${D.peer_count}`),null!=D.mean_latency&&console.log(`Latency: ${D.mean_latency.toFixed(2)}ms`)}if(r.update){var y=r.update;console.log(`
65
+ ${w.default.bold("Update Status")}`),console.log(`Needs Update: ${y.need_update?w.default.yellow("Yes"):w.default.green("No")}`),y.current_version&&console.log(`App Version: ${y.current_version}`),y.running_mode&&console.log(`Running Mode: ${y.running_mode}`),y.last_update_at&&console.log(`Last Update: ${w.default.gray(y.last_update_at)}`)}if(r.watch_dog_timer){var _=r.watch_dog_timer;console.log(`
66
+ ${w.default.bold("Watchdog")}`),console.log(`Alive: ${_.alive?w.default.green("Yes"):w.default.red("No")}`),_.last_launch_time&&console.log(`Last Launch: ${w.default.gray(_.last_launch_time)}`),_.last_alive_time&&console.log(`Last Alive: ${w.default.gray(_.last_alive_time)}`)}}o.bound_application&&(console.log(`
67
+ ${w.default.bold("Bound Application")}`),console.log(`Name: ${o.bound_application.name}`),console.log(`ID: ${w.default.gray(o.bound_application._id)}`)),o.env?.variables&&Object.keys(o.env.variables).length>0&&(console.log(`
68
+ ${w.default.bold("Environment Variables")}`),Object.entries(o.env.variables).forEach(([e,a])=>{console.log(` ${w.default.cyan(e)}: ${a}`)})),console.log("─".repeat(60))}catch(e){p.fail(`Failed to get device: ${e.message}`),process.exit(1)}}),function(e,a){return d.apply(this,arguments)})),O.command("resolve <query>").description("Resolve a device name or ID to stable IDs").option("-l, --limit <limit>","Limit search results",e=>Number.parseInt(e,10),10).option("-j, --json","Output as JSON").action((r=D(function*(e,a){var t=(0,C.requireAuth)(),p=a.json?null:(0,b.default)("Resolving device...").start();try{var o=yield(0,F.Y)(()=>t.device({id:e})),i=o||!e?o?[o]:[]:yield t.devices({keyword:e,paginate:{limit:a.limit}}),d=(0,F.K)({resource:"device",query:e,items:o?[o]:i||[],fields:["_id","name","device_name"],selectedBy:o?"id":null});if(p&&p.stop(),a.json)return void(0,_.GF)(d);if(d.resolved){var r=d.resolved;console.log(w.default.bold("\nResolved Device")),console.log("─".repeat(60)),console.log(`Name: ${w.default.cyan(r.name||r.device_name||"Unnamed")}`),console.log(`ID: ${w.default.gray(r._id)}`),console.log(`Selected By: ${d.selectedBy}`),console.log("─".repeat(60));return}if(0===d.matches.length)return void console.log(w.default.yellow(`No devices matched "${e}"`));console.log(w.default.bold(`
69
+ Matching Devices (${d.matches.length})`)),console.log("─".repeat(80)),d.matches.forEach(e=>{console.log(`${w.default.cyan(e.name||e.device_name||"Unnamed")} ${w.default.gray(e._id)}`)}),console.log("─".repeat(80))}catch(a){p?p.fail(`Failed to resolve device: ${a.message}`):(0,_.OW)(a.message,{resource:"device",query:e}),process.exit(1)}}),function(e,a){return r.apply(this,arguments)})),O.command("bind <passcode>").description("Bind a new device using passcode").option("-n, --name <name>","Device name").option("--dry-run","Validate inputs and show the device binding plan without creating a device").option("-j, --json","Output as JSON").action((n=D(function*(e,a){var t=(0,C.requireAuth)(),p=a.json?null:(0,b.default)("Checking passcode...").start();try{var o=yield t.checkBindDevicePasscode({passcode:e});o||(a.json?(0,_.OW)("Invalid passcode or expired",{action:"device.bind"}):p.fail("Invalid passcode or expired"),process.exit(1));var i={name:a.name||o.payload?.deviceName||"CLI Device",deviceName:o.payload?.deviceName||null};if(a.dryRun){p&&p.stop(),(0,S.S5)({action:"device.bind",target:i,request:{passcodePreview:(0,_.$l)(e),requestedName:a.name||null,inferredName:o.payload?.deviceName||null},checks:[(0,S.Iy)("passcode is valid",!0),(0,S.Iy)("device name resolved",!0,i.name)],json:a.json});return}p&&(p.text="Binding device...");var d=yield t.createDevice({bindPasscode:e,name:i.name,deviceName:o.payload?.deviceName});a.json?(0,S.yd)({action:"device.bind",target:A(d,d._id),result:{inferredName:o.payload?.deviceName||null},json:!0}):(p.succeed(`Device bound successfully: ${w.default.green(d.name)}`),console.log(w.default.gray(`Device ID: ${d._id}`)))}catch(e){a.json?(0,_.OW)(e.message,{action:"device.bind"}):p.fail(`Failed to bind device: ${e.message}`),process.exit(1)}}),function(e,a){return n.apply(this,arguments)})),O.command("remove <id>").description("Remove a device").option("--dry-run","Validate the target and show the removal plan without deleting it").option("-j, --json","Output as JSON").action((l=D(function*(e,a){var t=(0,C.requireAuth)(),p=a.json?null:(0,b.default)("Removing device...").start();try{var o=yield N(t,e),i=A(o,e);if(a.dryRun){p&&p.stop(),(0,S.S5)({action:"device.remove",target:i,request:{id:e},checks:[(0,S.Iy)("device exists",!0,`${i.name} (${i.id})`)],json:a.json});return}var d=yield t.removeDevice({id:e});a.json?(0,S.yd)({action:"device.remove",target:i,result:{removed:!!d},json:!0}):p.succeed(`Device removed: ${w.default.green(i.name)}`)}catch(t){a.json?(0,_.OW)(t.message,{action:"device.remove",target:{id:e}}):p.fail(`Failed to remove device: ${t.message}`),process.exit(1)}}),function(e,a){return l.apply(this,arguments)})),O.command("control <id> <type>").description("Control a device").option("-p, --payload <json>","Event payload as JSON").option("--dry-run","Validate inputs and show the control request without sending it").option("-j, --json","Output as JSON").action((s=D(function*(e,a,t){try{var p;t.payload&&(p=JSON.parse(t.payload)),yield $({id:e,type:a,eventPayload:p,options:t,progressMessage:`Sending ${a} to device...`,successMessage:`Control event sent: ${w.default.green(a)}`,failureMessage:"Failed to control device"})}catch(p){t.json?(0,_.OW)(p.message,{action:"device.control",target:{id:e},type:a}):console.error(w.default.red(`Failed to control device: ${p.message}`)),process.exit(1)}}),function(e,a,t){return s.apply(this,arguments)})),O.command("refresh <id>").description("Refresh device application").option("--dry-run","Validate inputs and show the refresh request without sending it").option("-j, --json","Output as JSON").action((u=D(function*(e,a){yield $({id:e,type:"refresh",options:a,progressMessage:"Refreshing device...",successMessage:"Device refreshed",failureMessage:"Failed to refresh device"})}),function(e,a){return u.apply(this,arguments)})),O.command("clear-cache <id>").description("Clear device cache").option("--dry-run","Validate inputs and show the cache-clear request without sending it").option("-j, --json","Output as JSON").action((m=D(function*(e,a){yield $({id:e,type:"clear-cache",options:a,progressMessage:"Clearing cache...",successMessage:"Cache cleared",failureMessage:"Failed to clear cache"})}),function(e,a){return m.apply(this,arguments)})),O.command("screenshot <id>").description("Take device screenshot and save to file").option("-o, --output <path>","Output file path").option("--no-take","Only fetch existing screenshot without taking a new one").action((c=D(function*(e,a){var p=(0,C.requireAuth)(),o=(0,b.default)("Fetching workspace info...").start();try{var i=yield p.workspace();i?.media_resource?.enable_media_workspace||(o.fail("Media workspace is not enabled for this workspace"),process.exit(1)),i.media_resource.system_media_box_id||(o.fail("No media box configured for this workspace"),process.exit(1)),!1!==a.take&&(o.text="Sending screenshot request to device...",yield p.controlDevice({id:e,type:"take-screenshot"}),o.text="Waiting for device to capture screenshot...",yield new Promise(e=>setTimeout(e,3e3))),o.text="Fetching screenshot...";var d=(yield v||=t.e(831).then(t.bind(t,60450))).fetchAndSaveScreenshot,r=yield d(p,i,e,a.output);if(r.error&&(o.fail(r.error),process.exit(1)),o.succeed("Screenshot saved"),console.log(),console.log(w.default.bold("Screenshot saved to:")),console.log(w.default.cyan(r.path)),console.log(),r.file?.meta){var n=r.file.meta,l=n.originalWidth,s=n.originalHeight,u=n.originalFileSize;if(l&&s&&console.log(`${w.default.gray("Size:")} ${l}x${s}`),u){var m=(u/1024).toFixed(1);console.log(`${w.default.gray("File:")} ${m} KB`)}}r.file?.updatedAt&&console.log(`${w.default.gray("Updated:")} ${new Date(r.file.updatedAt).toLocaleString()}`)}catch(e){o.fail(`Failed to get screenshot: ${e.message}`),process.exit(1)}}),function(e,a){return c.apply(this,arguments)})),O.command("metrics <id>").description("Show device metrics (uptime, memory, disk)").option("--start-date <date>","Start date/time (ISO 8601 or relative e.g. 1h, 2d, default: today)").option("--end-date <date>","End date/time (ISO 8601 or relative e.g. 1h, 2d, default: now)").option("-j, --json","Output as JSON").action((f=D(function*(e,a){var t=(0,C.requireAuth)(),p=(0,b.default)("Fetching device metrics...").start();try{var o=new Date,i=new Date(o.getFullYear(),o.getMonth(),o.getDate()).toISOString(),d=a.startDate?(0,E.p)(a.startDate):i,r=a.endDate?(0,E.p)(a.endDate):o.toISOString(),n=yield t.deviceUsage({deviceId:e,startDate:d,endDate:r});if(p.stop(),!n||0===n.length)return void console.log(w.default.yellow("No metrics data found for this device"));if(a.json)return void console.log(JSON.stringify(n,null,2));for(var l of(console.log(w.default.bold(`
70
+ Device Metrics: ${e}`)),console.log("─".repeat(60)),console.log(w.default.gray(`${"Date".padEnd(12)} ${"Uptime Events".padEnd(15)} ${"Avg Memory".padEnd(12)} ${"Avg Disk".padEnd(10)}`)),console.log("─".repeat(60)),n)){var s=(l.date||"").padEnd(12),u=String(l.uptime?.length||0).padEnd(15),m="N/A";if(l.memory_usage?.length){var c=0,f=0;for(var h of l.memory_usage){var v=h.values||[],D=g(v,2),y=D[0],_=D[1];null!=y&&null!=_&&_>0&&(c+=y,f+=_)}f>0&&(m=`${(c/f*100).toFixed(1)}%`)}var F="N/A";if(l.disk_usage?.length){var S=0,k=0;for(var A of l.disk_usage){var N=A.values||[],$=g(N,2),O=$[0],x=$[1];null!=O&&null!=x&&x>0&&(S+=O,k+=x)}k>0&&(F=`${(S/k*100).toFixed(1)}%`)}console.log(`${s} ${u} ${m.padEnd(12)} ${F.padEnd(10)}`)}console.log("─".repeat(60))}catch(e){p.fail(`Failed to get device metrics: ${e.message}`),process.exit(1)}}),function(e,a){return f.apply(this,arguments)})),O.command("monitor").description("Monitor device status (polls every 60s)").option("-g, --group <id>","Monitor devices in a group").option("-i, --interval <seconds>","Polling interval in seconds","60").action((h=D(function*(e){var a,t=(0,C.requireAuth)(),p=1e3*parseInt(e.interval,10);console.log(w.default.bold("\nDevice Monitor")),console.log(w.default.gray(`Polling every ${e.interval}s. Press Ctrl+C to stop.
71
+ `));var o=(a=D(function*(){try{var a;if(a=e.group?yield t.devicesByGroup({id:e.group}):yield t.devices({}),process.stdout.write("\x1b[2J\x1b[0f"),console.log(w.default.bold("Device Monitor")+w.default.gray(` - ${new Date().toLocaleTimeString()}`)),console.log("─".repeat(80)),!a||0===a.length)return void console.log(w.default.yellow("No devices found"));a.forEach(e=>{var a=e.entry_detail?.watch_dog_timer?.last_alive_time,t=k(a),p=e.name||e.device_name||e.device_target_name||"Unnamed",o=e.entry_detail?.application?.name||w.default.gray("No app");console.log(`${t} ${w.default.cyan(p.padEnd(25))} ${o}`)}),console.log(`
72
+ ${w.default.gray("Press Ctrl+C to stop")}`)}catch(e){console.error(w.default.red(`Error: ${e.message}`))}}),function(){return a.apply(this,arguments)});yield o(),setInterval(o,p)}),function(e){return h.apply(this,arguments)}))},80274(e,a,t){t.d(a,{gf:()=>ei});var p,o,i,d,r,n,l,s,u,m,c,f,h,v,g,D,y,w,b,_,C,F,S,E,k,A,N,$,O,x,T,B,I,j,V,P,R=t(68832),M=t(99436),U=t(35679),L=t(73284),q=t(51455),J=t(76760),G=t(75646),H=(p=M(function*(e,a,t=3e3){var p;try{var o=new AbortController;p=setTimeout(()=>o.abort(),t);var i=yield fetch(`http://${e}:${a}/json/list`,{signal:o.signal});if(!i.ok)return null;return yield i.json()}catch{return null}finally{void 0!==p&&clearTimeout(p)}}),function(e,a){return p.apply(this,arguments)}),W=e=>{if(!e)return null;var a=e.match(/\/ws\/(.+)$/);return a?decodeURIComponent(a[1]):null},K=(o=M(function*(e,a=1e3){for(var t=[],p=e,o=0;o<10;o++){var i=J.join(p,".bricks","devtools.json");try{var d=yield q.readFile(i,"utf8"),r=JSON.parse(d),n=yield(0,G.verifyDevToolsServer)(r.address||"localhost",r.port,a);n&&t.push({name:r.name||"BRICKS Simulator",address:r.address||"localhost",port:r.port,protocols:["cdp"],hasPasscode:!1,source:"project",projectPath:p,...n})}catch{}var l=J.dirname(p);if(l===p)break;p=l}return t}),function(e){return o.apply(this,arguments)}),z=(i=M(function*({timeout:e=3e3,verify:a=!1,udpOnly:t=!1,project:p=!0,port:o=19851,cwd:i=process.cwd(),onStatus:d}={}){var r,n=(0,G.discoverDevToolsServers)({timeout:e,idleTimeout:800}),l=t?Promise.resolve([]):(d?.("Scanning via UDP + HTTP probe..."),(0,G.httpProbeSubnet)({port:o,timeout:e})),s=p?K(i,1e3):Promise.resolve([]),u=R((yield Promise.all([n,l,s])),3),m=(e=>{var a=new Map;for(var t of e){var p=t.deviceId||`${t.address}:${t.port}`,o=a.get(p);if(!o){a.set(p,{...t,addresses:[t.address],protocols:[...t.protocols||[]]});continue}for(var i of(o.addresses.includes(t.address)||o.addresses.push(t.address),"127.0.0.1"===o.address&&"127.0.0.1"!==t.address&&(o.address=t.address),t.protocols||[]))o.protocols.includes(i)||o.protocols.push(i);for(var d of Object.entries(t)){var r=R(d,2),n=r[0],l=r[1];null!=l&&"address"!==n&&"addresses"!==n&&"protocols"!==n&&(void 0===o[n]||null===o[n])&&(o[n]=l)}}return[...a.values()]})([...u[0],...u[1],...u[2]]);if(0===m.length)return[];if(a){d?.(`Verifying ${m.length} server(s)...`);var c,f=yield Promise.all(m.map((c=M(function*(e){var a=yield(0,G.verifyDevToolsServer)(e.address,e.port);return{...e,...a||{},address:e.address,port:e.port,verified:!!a,version:a?.version||e.version}}),function(e){return c.apply(this,arguments)})));m.splice(0,m.length,...f)}return d?.("Checking chrome://inspect support..."),yield Promise.all(m.map((r=M(function*(e){var a=yield H(e.address,e.port);if(a){e.chromeInspect=!0;var t=W(a[0]?.webSocketDebuggerUrl);t&&(e.passcode=t)}}),function(e){return r.apply(this,arguments)}))),m}),function(){return i.apply(this,arguments)}),Y="2.24",Z="19851",Q="127.0.0.1",X=e=>{if(!e)return{host:void 0,port:void 0};var a=e.match(/^\[([^\]]+)\](?::(\d+))?$/);if(a)return{host:a[1],port:a[2]};var t=e.lastIndexOf(":");if(t>0&&e.indexOf(":")===t){var p=e.slice(t+1);if(/^\d+$/.test(p))return{host:e.slice(0,t),port:p}}return{host:e,port:void 0}},ee=e=>{if(!e)return!1;for(var a=e.replace(/^v/,"").split(".").map(Number),t=Y.split(".").map(Number),p=0;p<t.length&&!((a[p]||0)>t[p]);p++)if((a[p]||0)<t[p])return!1;return!0},ea=e=>e?.auth?.workspaceJwt?.enabled?"workspace-jwt":e?.auth?.passcode||e?.hasPasscode?"passcode":e?.auth?"locked":"open",et=e=>"workspace-jwt"===e?L.default.green(e):"passcode"===e?L.default.yellow(e):"locked"===e?L.default.red(e):L.default.gray(e),ep=(d=M(function*(){var e=R((yield Promise.all([Promise.resolve().then(t.bind(t,47988)),Promise.resolve().then(t.bind(t,31802)),Promise.all([t.e(3332),t.e(8295),t.e(907)]).then(t.bind(t,85382)),t.e(4305).then(t.bind(t,7944))])),4),a=e[0];return{config:a,authContext:e[1],gqlClient:e[2],devtoolsToken:e[3]}}),function(){return d.apply(this,arguments)}),eo=(r=M(function*({info:e,cdpOptions:a,force:t=!1}){if(a.passcode||!e?.auth?.workspaceJwt?.enabled)return null;var p=yield ep(),o=p.config,i=p.authContext,d=p.gqlClient,r=p.devtoolsToken,n=o.getCurrentProfile,l=i.getConnectionContext,s=d.createClient,u=r.getOrIssueDevtoolsToken,m=n(),c=l(m),f=c.auth,h=c.baseUrl;if(!f?.workspaceId||e.workspaceId&&String(f.workspaceId)!==String(e.workspaceId))return null;var v=s(h,f);return(yield u({profile:m,client:v,workspaceId:e.workspaceId||void 0,force:t})).token}),function(e){return r.apply(this,arguments)}),ei=new U.uB("devtools").description("DevTools server discovery, inspection, and CDP commands").option("-a, --address <address>",`DevTools server address, host or host:port (default: ${Q})`).option("-p, --port <port>",`Server port for CDP commands (default: ${Z})`).option("--passcode <passcode>","Device passcode for CDP commands"),ed=e=>e.option("-a, --address <address>","DevTools server address, host or host:port").option("-p, --port <port>",`Server port (default: ${Z})`).option("--passcode <passcode>","Device passcode").option("-j, --json","Output as JSON"),er=(n=M(function*(e,a){var p,o,i,d=(yield Promise.resolve().then(t.bind(t,30155))).default,r=(yield Promise.resolve().then(t.bind(t,75646))).verifyDevToolsServer,n=(yield t.e(1178).then(t.bind(t,28193))).createCdpClient,l=(p=ei.opts(),o=X(e.address??p.address),{...e,address:o.host??Q,port:e.port??p.port??o.port??Z,passcode:e.passcode??p.passcode}),s=parseInt(l.port,10),u=d("Connecting to DevTools...").start();try{var m=yield r(l.address,s);m||(u.fail(`Cannot reach DevTools server at ${l.address}:${s}`),process.exit(1)),m.version&&!ee(m.version)&&(u.fail(`CDP requires app version >= ${Y} (device: ${m.version})`),process.exit(1));var c=yield eo({info:m,cdpOptions:l});i=n(l.address,s,{passcode:l.passcode,accessToken:c});try{yield i.connect()}catch(e){if(i.close(),!c||!/403|Forbidden/i.test(e.message))throw e;c=yield eo({info:m,cdpOptions:l,force:!0}),i=n(l.address,s,{passcode:l.passcode,accessToken:c}),yield i.connect()}u.stop(),yield a(i)}catch(e){u.isSpinning&&u.stop(),console.error(L.default.red(e.message)),process.exit(1)}finally{i?.close()}}),function(e,a){return n.apply(this,arguments)}),en=({subspaceId:e,handler:a,action:t,parameters:p,property:o,waitAsync:i,sync:d})=>{var r={handler:a,action:t};void 0!==p&&(r.parameters=p),void 0!==o&&(r.property=o),void 0!==i&&(r.waitAsync=i),void 0!==d&&(r.sync=d);var n=e?JSON.stringify(e):"(Object.keys(globalThis.system?.subspaces?.() || {})[0] || '')";return`(() => {
68
73
  const systemRef = globalThis.system
69
74
  if (!systemRef?.executeAction) throw new Error('BRICKS DevTools system actions are unavailable')
70
- const subspaceId = ${l}
75
+ const subspaceId = ${n}
71
76
  if (!subspaceId) throw new Error('No BRICKS subspace is available')
72
- return systemRef.executeAction(subspaceId, ${JSON.stringify(s)})
73
- })()`},es=/^\d+$/,el=e=>"string"==typeof e&&es.test(e),eu=(l=M(function*(e,t){yield e.send("DOM.enable");var o=yield e.send("DOM.resolveNode",{nodeId:Number(t)}),r=o?.object;if(!r)throw Error(`Node ${t} not found`);if("value"in r)return r.value;if(!r.objectId)throw Error(`Node ${t} did not resolve to metadata`);var n=yield e.send("Runtime.getProperties",{objectId:r.objectId,ownProperties:!0}),i=n.result,a=n.exceptionDetails;if(a)throw Error(a.text||`Cannot read node ${t}`);return(void 0===i?[]:i).reduce((e,t)=>(e[t.name]=(e=>{if(e)return"value"in e?e.value:e.unserializableValue||e.description})(t.value),e),{})}),function(e,t){return l.apply(this,arguments)}),ec=(u=M(function*(e,{subspaceId:t,brickId:o}){var r=t,n=o,i={};if(el(t)){var a=yield eu(e,t);if(r=a.subspaceId||(String(a.shortId||"").startsWith("S_")?a.shortId:null),i.subspaceNodeId=Number(t),!r)throw Error(`Node ${t} is not inside a BRICKS subspace`)}if(el(o)){var s=yield eu(e,o);if(n=s.brickId||(String(s.shortId||"").startsWith("B_")?s.shortId:null),!el(t)&&s.subspaceId&&(r=s.subspaceId),i.brickNodeId=Number(o),!n)throw Error(`Node ${o} is not a BRICKS brick`)}return{subspaceId:r,brickId:n,...i}}),function(e,t){return u.apply(this,arguments)}),ed=(c=M(function*(e,t,{json:o,successMessage:r,jsonResult:n}){yield e.send("Runtime.enable");var i=yield e.send("Runtime.evaluate",{expression:t,objectGroup:"console",returnByValue:!0,awaitPromise:!0});if(i.exceptionDetails){var a=i.exceptionDetails;throw Error(a.exception?.description||a.exception?.value||a.text||"Runtime evaluation failed")}o?console.log(JSON.stringify({success:!0,...n},null,2)):console.log(J.default.green(r))}),function(e,t,o){return c.apply(this,arguments)}),ep=e=>{if(!e)return{};for(var t={},o=0;o<e.length;o+=2)t[e[o]]=e[o+1];return t},ef=e=>{if(!e)return null;var t=e.nodeName||e.localName||"unknown",o=e.id||e.shortId;o&&(t+=`#${o}`),e.title&&(t+=` "${e.title}"`);var r=[];return e.nodeId&&r.push(`node ${e.nodeId}`),e.shortId&&e.shortId!==o&&r.push(e.shortId),e.brickId&&e.brickId!==e.shortId&&r.push(e.brickId),e.templateKey&&r.push(e.templateKey),r.length>0?`${t} (${r.join(", ")})`:t},eg=(e,t="",o=!0,r=!0)=>{var n=[],i=r?"":o?" ":"│ ",a=e.nodeName||"#unknown";if(9===e.nodeType)a="#document";else if(3===e.nodeType){var s=e.nodeValue||"";a=J.default.gray(`"${s}"`)}else if(1===e.nodeType){var l=ep(e.attributes),u=l.id||l["short-id"];u&&(a+=J.default.gray(`#${u}`)),l.title&&(a+=` ${J.default.green(`"${l.title}"`)}`),void 0!==l.w&&void 0!==l.h&&(a+=J.default.blue(` ${l.w}\xd7${l.h}`),void 0!==l.x&&void 0!==l.y&&(a+=J.default.blue(` @${l.x},${l.y}`)));var c=[];void 0!==l.hide&&c.push(J.default.red("hidden")),void 0!==l.pressable&&c.push(J.default.yellow("pressable")),void 0!==l.editable&&c.push(J.default.yellow("editable")),c.length>0&&(a+=` [${c.join(", ")}]`)}n.push(`${t}${r?"":o?"└─ ":"├─ "}${a}`);var d=e.children||[];return d.forEach((e,o)=>{n.push(...eg(e,t+i,o===d.length-1,!1))}),n};er.command("issue-token").description("Issue a workspace-scoped DevTools access token and save it to the CLI config (used automatically by devtools commands)").option("--ttl <seconds>","Time-to-live in seconds (default 30 days)",e=>parseInt(e,10)).option("-j, --json","Output as JSON").action((d=M(function*(e){var t=yield Promise.resolve().then(o.bind(o,47988)),r=t.getCurrentProfile,n=t.getTokenInfo,i=t.getBaseUrl,a=t.CONFIG_PATH,s=(yield Promise.all([o.e(6370),o.e(5785),o.e(3332),o.e(2209),o.e(907)]).then(o.bind(o,85382))).createClient,l=(yield o.e(4305).then(o.bind(o,7944))).getOrIssueDevtoolsToken,u=r(),c=n(u);c?.token||(console.error(J.default.red("Not logged in. Use `bricks auth login` first.")),process.exit(1));var d=s(i(),c.token);try{var p=yield l({profile:u,client:d,ttlSeconds:e.ttl,force:!0});if(e.json)return void console.log(JSON.stringify({profile:u,workspaceId:p.workspaceId,expiresAt:p.expiresAt,jti:p.jti},null,2));console.log(J.default.green("✓"),"DevTools access token issued and saved."),console.log(` Profile: ${u}`),console.log(` Workspace: ${p.workspaceId}`),console.log(` Expires: ${p.expiresAt}`),console.log(` jti: ${J.default.gray(p.jti)}`),console.log(J.default.gray(` Saved to ${a}`))}catch(e){console.error(J.default.red(`Issue token failed: ${e.message}`)),process.exit(1)}}),function(e){return d.apply(this,arguments)})),er.command("scan").description("Scan LAN for DevTools servers via UDP + HTTP").option("-t, --timeout <ms>","Scan timeout in milliseconds","3000").option("-j, --json","Output as JSON").option("--verify","Verify each discovered server via HTTP").option("--udp-only","Skip HTTP subnet probe (UDP only)").option("--no-project","Exclude local BRICKS project preview servers").option("-p, --port <port>","Port for HTTP probe","19851").action((p=M(function*(e){var t=(yield Promise.resolve().then(o.bind(o,30155))).default,r=yield Promise.resolve().then(o.bind(o,47988)),n=r.getCurrentProfile,i=r.getTokenInfo,a=parseInt(e.timeout,10),s=t(`Scanning for DevTools servers (${a}ms)...`).start();try{var l=yield K({timeout:a,verify:!!e.verify,udpOnly:!!e.udpOnly,project:!!e.project,port:parseInt(e.port,10),onStatus:e=>{s.text=e}});if(0===l.length){e.json?(s.stop(),console.log(JSON.stringify([],null,2))):s.info("No DevTools servers found on the network."),process.exit(0);return}s.stop(),e.json&&(console.log(JSON.stringify(l,null,2)),process.exit(0));var u=n(),c=i(u),d=c?.workspaceId||null;console.log(J.default.bold(`
74
- Found ${l.length} DevTools server(s)`)),console.log("─".repeat(80));var p=function*(e){var t=!1===e.verified?J.default.red("unverified"):J.default.green("online"),o=ee(e),r=et(o),n=(e.protocols||[]).map(e=>J.default.cyan(e)).join(", "),i=e.workspaceId&&d&&e.workspaceId===d,a=e.addresses||[e.address],s=a.filter(t=>t!==e.address),l=s.length>0?`${e.address}:${e.port} +${s.length} more`:`${e.address}:${e.port}`;if(console.log(` ${J.default.bold(e.name||"Unknown")} ${J.default.gray(`(${l})`)} [${t}]`),s.length>0&&console.log(` Addresses: ${a.map(e=>J.default.gray(e)).join(", ")}`),e.version&&console.log(` Version: ${J.default.green(e.version)}`),e.chromeInspect){var u=e.passcode?J.default.cyan(e.passcode):J.default.gray("no passcode");console.log(` Chrome Inspect: ${J.default.green("supported")} (passcode: ${u})`)}var c=` Protocols: ${n||J.default.gray("none")} Auth: ${r}`;if(e.deviceId&&(c+=` Device: ${J.default.gray(e.deviceId)}`),console.log(c),e.workspaceId){var p=i?J.default.green(`${e.workspaceId} (current profile)`):J.default.gray(e.workspaceId);console.log(` Workspace: ${p}`)}};for(var f of l)yield*p(f);console.log("─".repeat(80));var g=l[0],h=`${g.address}:${g.port||19851}`,m=ee(g),D=g.passcode?`/ws/${encodeURIComponent(g.passcode)}`:"workspace-jwt"===m?"/ws/<workspace-token>":"/ws/<passcode>";console.log(J.default.gray(`
75
- Connect via: http://${h}/devtools-frontend/inspector.html?ws=${h}${D}`)),console.log(J.default.gray(`Legacy: devtools://devtools/bundled/inspector.html?ws=${h}${D}`)),process.exit(0)}catch(e){s.fail(`Scan failed: ${e.message}`),process.exit(1)}}),function(e){return p.apply(this,arguments)})),er.command("open <address>").description("Show DevTools server information").option("-p, --port <port>",`Server port (default: ${z})`).option("--info","Show connection URLs").action((f=M(function*(e,t){var r=(yield Promise.resolve().then(o.bind(o,30155))).default,n=(yield Promise.resolve().then(o.bind(o,75646))).verifyDevToolsServer,i=X(e),a=i.host??Q,s=parseInt(t.port??i.port??z,10),l=`${a}:${s}`,u=r(`Fetching server info from ${l}...`).start(),c=yield n(a,s);c||(u.fail(`Could not reach DevTools server at ${l}`),process.exit(1)),u.stop();var d=yield V(a,s),p=d?W(d?.[0]?.webSocketDebuggerUrl):null,f=ee(c),g=p?`/ws/${encodeURIComponent(p)}`:"workspace-jwt"===f?"/ws/<workspace-token>":"/ws/<passcode>";if(t.info){console.log(J.default.bold("Connection URLs")),console.log("─".repeat(60)),console.log(` Web UI: ${J.default.cyan(`http://${l}`)}`),console.log(` CDP: ${J.default.cyan(`http://${l}/devtools-frontend/inspector.html?ws=${l}${g}`)}`),console.log(` CDP legacy: ${J.default.cyan(`devtools://devtools/bundled/inspector.html?ws=${l}${g}`)}`),console.log(` MCP: ${J.default.cyan(`http://${l}/mcp`)}`),console.log(` MCP SSE: ${J.default.cyan(`http://${l}/sse`)}`),console.log(` Info: ${J.default.cyan(`http://${l}/devtools/info`)}`),console.log("─".repeat(60)),console.log(),console.log(J.default.bold("Authorization")),c.auth?.workspaceJwt?.enabled&&console.log(` Workspace JWT: ${J.default.green("enabled")} (kid: ${c.auth.workspaceJwt.kid})`),p&&console.log(` Passcode: ${J.default.cyan(p)}`),console.log(" MCP and MCP SSE require a Bearer token header:"),console.log(` ${J.default.gray(`Authorization: Bearer ${c.auth?.workspaceJwt?.enabled?"<workspace-token>":p||"<passcode>"}`)}`);return}if(console.log(J.default.bold("DevTools Server")),console.log("─".repeat(60)),console.log(` Name: ${J.default.cyan(c.name||"Unknown")}`),console.log(` Version: ${c.version?J.default.green(c.version):J.default.gray("N/A")}`),console.log(` Device ID: ${J.default.gray(c.deviceId||"N/A")}`),console.log(` Workspace: ${J.default.gray(c.workspaceId||"N/A")}`),console.log(` Protocols: ${(c.protocols||[]).map(e=>J.default.cyan(e)).join(", ")||J.default.gray("none")}`),console.log(` Auth: ${et(f)}`),console.log(` Port: ${c.port}`),d){var h=p?J.default.cyan(p):J.default.gray("no passcode");console.log(` Inspect: ${J.default.green("chrome://inspect supported")} (passcode: ${h})`)}else console.log(` Inspect: ${J.default.gray("chrome://inspect not available")}`);console.log("─".repeat(60)),c.version&&!Z(c.version)&&console.log(J.default.yellow(`
76
- CDP commands require version >= ${Y}`)),console.log(J.default.gray(`
77
- Use --info to see connection URLs`))}),function(e,t){return f.apply(this,arguments)})),en(er.command("screenshot").description("Capture device screenshot").option("-o, --output <path>","Output file path")).action((g=M(function*(e){var t;yield ei(e,(t=M(function*(t){var r=yield t.send("Page.captureScreenshot",{format:"png"});r.data||(console.error(J.default.red("No screenshot data received")),process.exit(1));var n=yield Promise.resolve().then(o.t.bind(o,73024,19)),i=yield Promise.resolve().then(o.t.bind(o,76760,19)),a=e.output||`screenshot-${Date.now()}.png`,s=i.resolve(a);n.writeFileSync(s,Buffer.from(r.data,"base64")),console.log(J.default.green(`Screenshot saved to ${s}`))}),function(e){return t.apply(this,arguments)}))}),function(e){return g.apply(this,arguments)}));var eh=er.command("brick").description("Brick component inspection");en(eh.command("tree").description("Print brick component tree").option("-d, --depth <depth>","Max depth (-1 for full)","3")).action((h=M(function*(e){var t;yield ei(e,(t=M(function*(t){yield t.send("DOM.enable");var o=parseInt(e.depth,10),r=(yield t.send("DOM.getDocument",{depth:o})).root;e.json?console.log(JSON.stringify(r,null,2)):console.log(eg(r).join("\n"))}),function(e){return t.apply(this,arguments)}))}),function(e){return h.apply(this,arguments)})),en(eh.command("query <selector>").description("Find brick by CSS selector")).action((m=M(function*(e,t){var o;yield ei(t,(o=M(function*(o){yield o.send("DOM.enable");var r=(yield o.send("DOM.getDocument",{depth:0})).root,n=(yield o.send("DOM.querySelector",{nodeId:r.nodeId,selector:e})).nodeId;if(0===n)return void console.log(J.default.yellow("No element found"));var i=yield o.send("DOM.describeNode",{nodeId:n}),a=ep((yield o.send("DOM.getAttributes",{nodeId:n})).attributes);if(t.json)return void console.log(JSON.stringify({nodeId:n,...i.node,attributes:a},null,2));if(console.log(J.default.bold(`Node ${n}: ${i.node?.nodeName||"unknown"}`)),Object.keys(a).length>0)for(var s of(console.log(J.default.bold("Attributes:")),Object.entries(a))){var l=R(s,2),u=l[0],c=l[1];console.log(` ${J.default.cyan(u)}: ${c}`)}}),function(e){return o.apply(this,arguments)}))}),function(e,t){return m.apply(this,arguments)})),en(eh.command("query-all <selector>").description("Find all bricks matching CSS selector")).action((D=M(function*(e,t){var o;yield ei(t,(o=M(function*(o){yield o.send("DOM.enable");var r=(yield o.send("DOM.getDocument",{depth:0})).root,n=(yield o.send("DOM.querySelectorAll",{nodeId:r.nodeId,selector:e})).nodeIds;if(t.json)return void console.log(JSON.stringify({nodeIds:n,count:n.length},null,2));for(var i of(console.log(J.default.bold(`Found ${n.length} element(s)`)),n)){var a=yield o.send("DOM.describeNode",{nodeId:i}),s=ep((yield o.send("DOM.getAttributes",{nodeId:i})).attributes),l=s.id||s["short-id"]||"";console.log(` ${i}: ${a.node?.nodeName}${l?J.default.gray(`#${l}`):""}`)}}),function(e){return o.apply(this,arguments)}))}),function(e,t){return D.apply(this,arguments)})),en(eh.command("attributes <nodeId>").description("Get brick attributes")).action((y=M(function*(e,t){var o;yield ei(t,(o=M(function*(o){yield o.send("DOM.enable");var r=parseInt(e,10),n=ep((yield o.send("DOM.getAttributes",{nodeId:r})).attributes);if(t.json)return void console.log(JSON.stringify(n,null,2));if(0===Object.keys(n).length)return void console.log(J.default.gray("No attributes"));for(var i of Object.entries(n)){var a=R(i,2),s=a[0],l=a[1];console.log(` ${J.default.cyan(s)}: ${l}`)}}),function(e){return o.apply(this,arguments)}))}),function(e,t){return y.apply(this,arguments)})),en(eh.command("box-model <nodeId>").description("Get brick dimensions and position")).action((v=M(function*(e,t){var o;yield ei(t,(o=M(function*(o){yield o.send("DOM.enable");var r=parseInt(e,10),n=(yield o.send("DOM.getBoxModel",{nodeId:r})).model;t.json?console.log(JSON.stringify(n,null,2)):(console.log(J.default.bold(`Box Model for node ${r}`)),console.log(` Width: ${n.width}`),console.log(` Height: ${n.height}`),n.content&&console.log(` Content: [${n.content.join(", ")}]`),n.padding&&console.log(` Padding: [${n.padding.join(", ")}]`),n.border&&console.log(` Border: [${n.border.join(", ")}]`),n.margin&&console.log(` Margin: [${n.margin.join(", ")}]`))}),function(e){return o.apply(this,arguments)}))}),function(e,t){return v.apply(this,arguments)})),en(eh.command("resolve <nodeId>").description("Resolve brick to JavaScript object with properties")).action((b=M(function*(e,t){var o;yield ei(t,(o=M(function*(o){yield o.send("DOM.enable");var r=parseInt(e,10),n=(yield o.send("DOM.resolveNode",{nodeId:r})).object;if(t.json)return void console.log(JSON.stringify(n,null,2));if(console.log(J.default.bold(`Resolved node ${r}`)),console.log(` Type: ${n.type}`),n.className&&console.log(` Class: ${n.className}`),n.description&&console.log(` Description: ${n.description}`),n.objectId&&console.log(` Object ID: ${J.default.gray(n.objectId)}`),n.preview?.properties)for(var i of(console.log(J.default.bold(" Properties:")),n.preview.properties))console.log(` ${J.default.cyan(i.name)}: ${i.value}`)}),function(e){return o.apply(this,arguments)}))}),function(e,t){return b.apply(this,arguments)})),en(eh.command("focus <nodeId>").description("Focus a brick element")).action((F=M(function*(e,t){var o;yield ei(t,(o=M(function*(t){yield t.send("DOM.enable");var o=parseInt(e,10);yield t.send("DOM.focus",{nodeId:o}),console.log(J.default.green(`Focused node ${o}`))}),function(e){return o.apply(this,arguments)}))}),function(e,t){return F.apply(this,arguments)})),en(eh.command("input <subspaceId> <brickId> <text...>").description("Set text on a BRICK_TEXT_INPUT by subspace/brick id or node id")).action((_=M(function*(e,t,o,r){var n,i=Array.isArray(o)?o.join(" "):o;yield ei(r,(n=M(function*(o){var n=yield ec(o,{subspaceId:e,brickId:t});yield ed(o,(({subspaceId:e,brickId:t,text:o})=>ea({subspaceId:e,handler:t,action:"BRICK_TEXT_INPUT_SET_TEXT",parameters:{BRICK_TEXT_INPUT_TEXT:o}}))({...n,text:i}),{json:r.json,successMessage:`Set text on ${n.brickId}`,jsonResult:{...n,action:"BRICK_TEXT_INPUT_SET_TEXT",text:i}})}),function(e){return n.apply(this,arguments)}))}),function(e,t,o,r){return _.apply(this,arguments)}));var em=er.command("input").description("Input emulation");en(em.command("tap <x> <y>").description("Tap/click at coordinates")).action((C=M(function*(e,t,o){var r;yield ei(o,(r=M(function*(r){var n=parseFloat(e),i=parseFloat(t),a=yield r.send("Input.dispatchMouseEvent",{type:"mousePressed",x:n,y:i,button:"left",clickCount:1});yield r.send("Input.dispatchMouseEvent",{type:"mouseReleased",x:n,y:i,button:"left",clickCount:1}),(({x:e,y:t,tapResult:o,json:r})=>{if(r)return console.log(JSON.stringify({x:e,y:t,...o||{}},null,2));console.log(J.default.green(`Tapped at (${e}, ${t})`));var n=ef(o?.element||o?.tappedElement||o?.hitElement);if(!n)return console.log(J.default.yellow(" Element: none"));console.log(` Element: ${n}`);var i=o?.hitElement,a=o?.tappedElement;if(i&&a&&i.nodeId!==a.nodeId){var s=ef(i);s&&console.log(` Hit: ${s}`)}o&&!1===o.dispatched&&console.log(J.default.yellow(" Action: no pressable handler"))})({x:n,y:i,tapResult:a,json:o.json})}),function(e){return r.apply(this,arguments)}))}),function(e,t,o){return C.apply(this,arguments)})),en(em.command("key <key>").description("Dispatch key event (e.g., Enter, Escape, Tab)")).action(($=M(function*(e,t){var o;yield ei(t,(o=M(function*(t){yield t.send("Input.dispatchKeyEvent",{type:"keyDown",key:e}),yield t.send("Input.dispatchKeyEvent",{type:"keyUp",key:e}),console.log(J.default.green(`Key: ${e}`))}),function(e){return o.apply(this,arguments)}))}),function(e,t){return $.apply(this,arguments)})),en(er.command("popup").description("System popup and alert control").command("close [popupId]").description("Close the current system alert/popup, or a popup by id/type").option("--type <type>","Popup clear type for SYSTEM POPUP_RESET").option("--subspace <subspaceId>","Subspace id to execute from (defaults to first subspace)")).action((E=M(function*(e,t){var o;yield ei(t,(o=M(function*(o){yield ed(o,(({subspaceId:e,popupId:t,clearType:o})=>{var r={};return t&&(r.POPUP_ID=t),o&&(r.POPUP_CLEAR_TYPE=o),ea({subspaceId:e,handler:"SYSTEM",action:"POPUP_RESET",parameters:r})})({subspaceId:t.subspace,popupId:e,clearType:t.type}),{json:t.json,successMessage:e?`Closed popup ${e}`:"Closed current popup",jsonResult:{subspaceId:t.subspace||null,popupId:e||null,clearType:t.type||null,action:"POPUP_RESET"}})}),function(e){return o.apply(this,arguments)}))}),function(e,t){return E.apply(this,arguments)}));var eD=er.command("network").description("Network inspection");en(eD.command("list").description("Capture snapshot of network activity").option("--duration <ms>","Capture duration in milliseconds","2000")).action((w=M(function*(e){var t;yield ei(e,(t=M(function*(t){var o=new Map,r=parseInt(e.duration,10);t.on("Network.requestWillBeSent",e=>{o.set(e.requestId,{method:e.request.method,url:e.request.url,requestId:e.requestId,timestamp:e.timestamp})}),t.on("Network.responseReceived",e=>{var t=o.get(e.requestId);t&&(t.status=e.response.status,t.mimeType=e.response.mimeType)}),t.on("Network.loadingFailed",e=>{var t=o.get(e.requestId);t&&(t.error=e.errorText)}),yield t.send("Network.enable"),yield new Promise(e=>setTimeout(e,r)),yield t.send("Network.disable");var n=[...o.values()];if(e.json)return void console.log(JSON.stringify(n,null,2));if(console.log(J.default.bold(`Network Activity (captured ${(r/1e3).toFixed(1)}s, ${n.length} requests)`)),0===n.length)return void console.log(J.default.gray(" No network activity captured"));for(var i of n){var a=i.error?J.default.red("ERR"):i.status?i.status<300?J.default.green(i.status):i.status<400?J.default.yellow(i.status):J.default.red(i.status):J.default.gray("..."),s=i.url.length>60?i.url.substring(0,57)+"...":i.url;console.log(` ${a} ${J.default.bold(i.method.padEnd(6))} ${s} ${J.default.gray(`(${i.requestId})`)}`)}}),function(e){return t.apply(this,arguments)}))}),function(e){return w.apply(this,arguments)})),en(eD.command("get <requestId>").description("Get response body for a network request")).action((k=M(function*(e,t){var o;yield ei(t,(o=M(function*(o){yield o.send("Network.enable");var r=yield o.send("Network.getResponseBody",{requestId:e}),n=r.body,i=r.base64Encoded;t.json?console.log(JSON.stringify({body:n,base64Encoded:i},null,2)):i?console.log(J.default.gray(`[base64 encoded, ${n.length} chars]`)):console.log(n)}),function(e){return o.apply(this,arguments)}))}),function(e,t){return k.apply(this,arguments)}));var ey="bricks://app",ev="DATA-",eb="properties",eF="entries",e_=e=>{if(null==e||"object"!=typeof e)return{value:e};if("value"in e)return{value:e.value};if("unserializableValue"in e)return{value:e.unserializableValue};if(e.objectId){var t=e.preview?.properties;return Array.isArray(t)&&t.length>0?{value:t.reduce((e,t)=>(e[t.name]=t.value,e),{}),byRef:!0}:{value:e.description||`[${e.type}]`,byRef:!0}}return{value:"undefined"===e.type?void 0:e.description}},eC=e=>{var t=e.startsWith(ev)?e.slice(ev.length):e,o=t.indexOf(":");return o<0?{shortId:t,title:null}:{shortId:t.slice(0,o),title:t.slice(o+1)}},e$=e=>{if(e.startsWith("global:"))return{scope:"global",name:e.slice(7)};if(e.startsWith("subspace:")){var t=e.slice(9),o=t.indexOf(":");return o>0?{scope:"subspace",subspaceUuid:t.slice(0,o),name:t.slice(o+1)}:{scope:"subspace",subspaceUuid:t,name:""}}return{scope:null,name:e}},eE=(e=[])=>{var t=new Map,o=new Map,r=new Set;for(var n of e||[])if(n&&"object"==typeof n){var i=n.shortId,a=n.uuid;i&&r.add(i),a&&(r.add(a),t.set(a,n),o.set(a,a),i&&o.set(i,a))}return{byUuid:t,uuidByScope:o,knownScopes:r}},ew=(e=[])=>e?.byUuid&&e?.uuidByScope&&e?.knownScopes?e:eE(e),ek=(S=M(function*(e){try{var t=yield e.send("Runtime.evaluate",{expression:"JSON.stringify(Object.values(system.subspaces()).map((s) => ({ shortId: s.shortId, uuid: s.uuid, title: s.title })))",objectGroup:"console",returnByValue:!0}),o=t.result;if(t.exceptionDetails||"string"!=typeof o?.value)return[];return JSON.parse(o.value)}catch{return[]}}),function(e){return S.apply(this,arguments)}),eS=(e,{full:t=!1,width:o=100}={})=>{var r="string"==typeof e?e:JSON.stringify(e);return void 0===r?J.default.gray("undefined"):t||r.length<=o?r:`${r.substring(0,o)}…`},ex=(e,t)=>{var o=ew(t),r=e.subspaceUuid?o.byUuid.get(e.subspaceUuid):null;return{key:e.rawKey,scope:e.scope,...e.subspaceUuid?{subspaceUuid:e.subspaceUuid}:{},...r?.shortId?{subspaceShortId:r.shortId}:{},name:e.name,value:e.value}},eO=(x=M(function*(e,{databaseName:t,objectStoreName:o,options:r}){var n=parseInt(r.skip??"0",10)||0,i=parseInt(r.limit??"25",10)||25,a=null;try{a=(yield e.send("IndexedDB.getMetadata",{securityOrigin:ey,databaseName:t,objectStoreName:o})).entriesCount}catch{}var s=yield e.send("IndexedDB.requestData",{securityOrigin:ey,databaseName:t,objectStoreName:o,indexName:"",skipCount:n,pageSize:i,returnByValue:!0}),l=s.objectStoreDataEntries,u=s.hasMore,c=!1,d=l.map(e=>{var t=e_(e.key).value,o=e_(e.value),r=o.value;return o.byRef&&(c=!0),{key:t,value:r}});if(r.json)return void console.log(JSON.stringify({database:t,objectStore:o,skip:n,limit:i,total:a,hasMore:!!u,entries:d},null,2));var p=null==a?"":` of ${a}`,f=n>0?`, skipped ${n}`:"";for(var g of(console.log(J.default.bold(`${t} / ${o} (${d.length}${p} entries${f})`)),console.log("─".repeat(60)),0===d.length&&console.log(J.default.gray(" No entries")),d)){var h=g.key,m=g.value,D="string"==typeof h?h:JSON.stringify(h);console.log(` ${J.default.cyan(D)}: ${eS(m,{full:!!r.full})}`)}u&&console.log(J.default.gray(" …more entries available — use -l/--limit and -s/--skip")),c&&console.log(J.default.yellow("\n Some values came back as object handles (device app without by-value reads).\n Update the device app to see full values."))}),function(e,t){return x.apply(this,arguments)}),eA=e=>e.option("-l, --limit <count>","Max items to fetch","25").option("-s, --skip <count>","Items to skip","0").option("--full","Do not truncate values"),ej=er.command("storage").description("Storage inspection (read-only — CDP cannot mutate device storage)");en(ej.command("list").description("Overview of all storage stores with entry counts")).action((O=M(function*(e){var t;yield ei(e,(t=M(function*(t){yield t.send("DOMStorage.enable"),yield t.send("IndexedDB.enable");var o,r=(o=M(function*(e){return(yield t.send("DOMStorage.getDOMStorageItems",{storageId:{securityOrigin:ey,isLocalStorage:e}})).entries.length}),function(e){return o.apply(this,arguments)}),n=yield r(!0),i=yield r(!1),a=(yield t.send("IndexedDB.requestDatabaseNames",{securityOrigin:ey})).databaseNames,s=[];for(var l of a){var u=l.startsWith(ev)?eb:eF,c=null;try{c=(yield t.send("IndexedDB.getMetadata",{securityOrigin:ey,databaseName:l,objectStoreName:u})).entriesCount}catch{}s.push({name:l,objectStoreName:u,entriesCount:c})}var d=s.filter(e=>e.name.startsWith(ev)).map(e=>({...e,...eC(e.name)})),p=s.filter(e=>!e.name.startsWith(ev));if(e.json)return void console.log(JSON.stringify({system:{persist:n,memory:i},dataBanks:d,caches:p},null,2));var f=e=>null==e?J.default.gray("? entries"):`${e} entries`;for(var g of(console.log(J.default.bold("Storage Overview")+J.default.gray(" (read-only)")),console.log("─".repeat(60)),console.log(` ${J.default.bold("System storage")}${J.default.gray(" → storage system persist|memory")}`),console.log(` persist ${f(n)}`),console.log(` memory ${f(i)}`),console.log(` ${J.default.bold("Data banks")}${J.default.gray(" → storage data-bank get <S_xxxx|title>")}`),0===d.length&&console.log(J.default.gray(" none")),d)){var h=g.title?` "${g.title}"`:"";console.log(` ${J.default.cyan(g.shortId)}${h} ${f(g.entriesCount)}`)}for(var m of(console.log(` ${J.default.bold("Caches")}${J.default.gray(" → storage cache generator|generative-media")}`),0===p.length&&console.log(J.default.gray(" none")),p))console.log(` ${J.default.cyan(m.name)} ${f(m.entriesCount)}`);console.log("─".repeat(60))}),function(e){return t.apply(this,arguments)}))}),function(e){return O.apply(this,arguments)}));var eI=ej.command("system").description("System key-value storage"),eB=e=>e.option("--scope <scope>","Filter by scope: global or a subspace S_xxxx/UUID").option("--prefix <prefix>","Filter by key-name prefix (within the scope)").option("--full","Do not truncate values"),eN=(e,t)=>{var o;return o=M(function*(o){var r;yield ei(o,(r=M(function*(r){yield r.send("DOMStorage.enable");var n=(yield r.send("DOMStorage.getDOMStorageItems",{storageId:{securityOrigin:ey,isLocalStorage:e}})).entries,i=yield ek(r),a=eE(i),s=((e,{scope:t,prefix:o,subspaceIndex:r=[]}={})=>{var n=ew(r),i=t&&"global"!==t?n.uuidByScope.get(t)||t:null;return e.map(([e,t])=>({rawKey:e,value:t,...e$(e)})).filter(e=>("global"!==t||"global"===e.scope)&&(!i||"subspace"===e.scope&&e.subspaceUuid===i)&&(!o||!!e.name.startsWith(o)))})(n,{scope:o.scope,prefix:o.prefix,subspaceIndex:a});if(o.json)return void console.log(JSON.stringify(s.map(e=>ex(e,a)),null,2));if(((e,{label:t,subspaceIndex:o,full:r})=>{var n=ew(o);if(console.log(J.default.bold(`${t} (${e.length} items)`)),console.log("─".repeat(60)),0===e.length)return console.log(J.default.gray(" No entries"));var i=null;for(var a of e){var s="subspace"===a.scope?`subspace:${a.subspaceUuid}`:a.scope;if(s!==i)if(i=s,"subspace"===a.scope){var l=n.byUuid.get(a.subspaceUuid),u=l?`${l.shortId}${l.title?` "${l.title}"`:""} `:"";console.log(` ${J.default.bold(`subspace ${u}`)}${J.default.gray(`(${a.subspaceUuid})`)}`)}else console.log(` ${J.default.bold(a.scope||"other")}`);var c=a.name||a.rawKey;console.log(` ${J.default.cyan(c)}: ${eS(a.value,{full:r,width:80})}`)}})(s,{label:t,subspaceIndex:a,full:!!o.full}),0===s.length&&o.scope&&"global"!==o.scope&&!a.knownScopes.has(o.scope)){var l=i.map(e=>e.shortId).join(", ");console.log(J.default.yellow(` Scope "${o.scope}" did not match a known subspace${l?` (known: ${l})`:""}`))}}),function(e){return r.apply(this,arguments)}))}),function(e){return o.apply(this,arguments)}};eB(en(eI.command("persist").description("Show persistent system storage entries"))).action(eN(!0,"Persistent Storage")),eB(en(eI.command("memory").description("Show in-memory system storage entries"))).action(eN(!1,"Memory Storage")),en(eI.command("get <key>").description("Show a single system storage value (full, untruncated)").option("--scope <scope>","Key scope: global (default) or a subspace S_xxxx/UUID","global").option("--memory","Read from in-memory storage instead of persistent")).action((A=M(function*(e,t){var o;yield ei(t,(o=M(function*(o){yield o.send("DOMStorage.enable");var r=(yield o.send("DOMStorage.getDOMStorageItems",{storageId:{securityOrigin:ey,isLocalStorage:!t.memory}})).entries,n=eE((yield ek(o))),i=[e];if("global"===t.scope)i.push(`global:${e}`);else{var a=n.uuidByScope.get(t.scope)||t.scope;i.push(`subspace:${a}:${e}`)}var s=r.map(([e,t])=>({rawKey:e,value:t,...e$(e)})).find(e=>i.includes(e.rawKey));if(!s){var l=r.map(([e])=>e).filter(t=>t.toLowerCase().includes(e.toLowerCase())).slice(0,5);if(l.length>0)for(var u of(console.error(J.default.yellow("Similar keys:")),l))console.error(` ${u}`);throw Error(`Key not found: ${i[i.length-1]}`)}if(t.json)return void console.log(JSON.stringify(ex(s,n),null,2));if("string"==typeof s.value)try{console.log(JSON.stringify(JSON.parse(s.value),null,2));return}catch{}console.log("string"==typeof s.value?s.value:JSON.stringify(s.value,null,2))}),function(e){return o.apply(this,arguments)}))}),function(e,t){return A.apply(this,arguments)}));var eP=ej.command("data-bank").description("Data bank (Property Bank) stores");en(eP.command("list").description("List data banks")).action((j=M(function*(e){var t;yield ei(e,(t=M(function*(t){yield t.send("IndexedDB.enable");var o=(yield t.send("IndexedDB.requestDatabaseNames",{securityOrigin:ey})).databaseNames,r=[];for(var n of o.filter(e=>e.startsWith(ev))){var i=null;try{i=(yield t.send("IndexedDB.getMetadata",{securityOrigin:ey,databaseName:n,objectStoreName:eb})).entriesCount}catch{}r.push({name:n,...eC(n),entriesCount:i})}if(e.json)return void console.log(JSON.stringify(r,null,2));for(var a of(console.log(J.default.bold(`Data Banks (${r.length})`)),console.log("─".repeat(60)),0===r.length&&console.log(J.default.gray(" No data banks")),r)){var s=a.title?` ${J.default.green(`"${a.title}"`)}`:"",l=null===a.entriesCount||void 0===a.entriesCount?"":J.default.gray(` ${a.entriesCount} entries`);console.log(` ${J.default.cyan(a.shortId)}${s}${l}`)}console.log(J.default.gray("\nInspect: bricks devtools storage data-bank get <S_xxxx|title>"))}),function(e){return t.apply(this,arguments)}))}),function(e){return j.apply(this,arguments)})),eA(en(eP.command("get <bank> [store]").description(`Show data bank entries — <bank> accepts a subspace S_xxxx, a title keyword, or the full DATA-* database name; [store] defaults to "${eb}"`))).action((I=M(function*(e,t,o){var r;yield ei(o,(r=M(function*(r){yield r.send("IndexedDB.enable");var n=(yield r.send("IndexedDB.requestDatabaseNames",{securityOrigin:ey})).databaseNames,i=((e,t)=>{var o=e.filter(e=>e.startsWith(ev)),r=o.find(e=>e===t||e===`${ev}${t}`);if(r)return{match:r};if(t.startsWith("S_")){var n=o.filter(e=>eC(e).shortId===t);if(1===n.length)return{match:n[0]};if(n.length>1)return{candidates:n}}var i=t.toLowerCase(),a=o.filter(e=>e.slice(ev.length).toLowerCase().includes(i));return 1===a.length?{match:a[0]}:{candidates:a}})(n,e);if(!i.match){var a=n.filter(e=>e.startsWith(ev)),s=(i.candidates?.length||0)>1,l=s?i.candidates:a;for(var u of(console.error(J.default.yellow(s?`Data bank "${e}" is ambiguous. Candidates:`:`Data bank "${e}" not found. Available:`)),l)){var c=eC(u),d=c.shortId,p=c.title;console.error(` ${d}${p?` "${p}"`:""}`)}process.exit(1)}yield eO(r,{databaseName:i.match,objectStoreName:t||eb,options:o})}),function(e){return r.apply(this,arguments)}))}),function(e,t,o){return I.apply(this,arguments)}));var eT=ej.command("cache").description("Cache stores (generator, generative-media)"),eR=e=>{var t;return t=M(function*(t){var o;yield ei(t,(o=M(function*(o){yield o.send("IndexedDB.enable"),yield eO(o,{databaseName:e,objectStoreName:eF,options:t})}),function(e){return o.apply(this,arguments)}))}),function(e){return t.apply(this,arguments)}};eA(en(eT.command("generator").description("Show generator cache entries"))).action(eR("GENERATOR_CACHE")),eA(en(eT.command("generative-media").description("Show generative media cache entries"))).action(eR("GENERATIVE_MEDIA_CACHE")),eA(en(ej.command("generator-cache",{hidden:!0}).description("Alias of `storage cache generator`"))).action(eR("GENERATOR_CACHE"));var eM=er.command("runtime").description("Runtime and evaluation");en(eM.command("eval <expression>").description("Evaluate JavaScript expression").option("--await","Await promise result")).action((B=M(function*(e,t){var o;yield ei(t,(o=M(function*(o){yield o.send("Runtime.enable");var r=yield o.send("Runtime.evaluate",{expression:e,objectGroup:"console",returnByValue:!0,awaitPromise:!!t.await,generatePreview:!0});if(t.json)return void console.log(JSON.stringify(r,null,2));r.exceptionDetails&&(console.error(J.default.red(`Error: ${r.exceptionDetails.text}`)),r.exceptionDetails.exception?.description&&console.error(J.default.red(r.exceptionDetails.exception.description)),process.exit(1));var n=r.result;"undefined"===n.type?console.log(J.default.gray("undefined")):void 0!==n.value?console.log("object"==typeof n.value?JSON.stringify(n.value,null,2):String(n.value)):n.description?console.log(n.description):console.log(J.default.gray(`[${n.type}${n.subtype?`:${n.subtype}`:""}]`))}),function(e){return o.apply(this,arguments)}))}),function(e,t){return B.apply(this,arguments)})),en(eM.command("properties <objectId>").description("Get properties of a remote object")).action((N=M(function*(e,t){var o;yield ei(t,(o=M(function*(o){var r=(yield o.send("Runtime.getProperties",{objectId:e,ownProperties:!0})).result;if(t.json)return void console.log(JSON.stringify(r,null,2));for(var n of(console.log(J.default.bold(`Properties of ${e}`)),r))if(n.enumerable){var i=n.value,a=i?.description||i?.value?.toString()||J.default.gray(`[${i?.type}]`);console.log(` ${J.default.cyan(n.name)}: ${a}`)}}),function(e){return o.apply(this,arguments)}))}),function(e,t){return N.apply(this,arguments)}));var eU=er.command("simulator").description("Inspect simulated peripherals (Application Simulator / web preview servers only)").command("thermal-printer").description("Simulated thermal printers and their print results"),eJ="This DevTools server does not expose simulator inspection. Connect to an Application Simulator preview (e.g. the CTOR project simulator) running a preview build with the Simulator CDP domain.",eL=e=>{if(!e)return"unknown time";var t=new Date(e);return Number.isNaN(t.getTime())?"unknown time":t.toLocaleString()},eq=e=>{if(e.raw)return"raw data";var t=(e=>{if(!e?.length)return"";var t=[];for(var o of e){var r=t[t.length-1];r&&r.type===o?r.count+=1:t.push({type:o,count:1})}return t.map(({type:e,count:t})=>t>1?`${e}\xd7${t}`:e).join(", ")})(e.commandTypes);return`${e.commandCount} command(s)${t?`: ${t}`:""}`};en(eU.command("list").description("List simulated thermal printers and their print history").option("--commands","Include full print command payloads (use with -j)")).action((P=M(function*(e){var t;yield ei(e,(t=M(function*(t){var o=yield t.send("Simulator.listThermalPrinters",{includeCommands:!!e.commands}),r=o?.printers;if(Array.isArray(r)||(console.error(J.default.red(eJ)),process.exit(1)),e.json)return void console.log(JSON.stringify(r,null,2));if(0===r.length){console.log(J.default.yellow("No simulated thermal printers registered.")),console.log(J.default.gray("A printer appears once the application configures GENERATOR_THERMAL_PRINTER."));return}for(var n of(console.log(J.default.bold(`Simulated Thermal Printers (${r.length})`)),console.log("─".repeat(60)),r)){var i=n.errored?J.default.red("fault"):n.connected?J.default.green("connected"):J.default.gray("idle");console.log(` ${J.default.bold(n.label||n.driver)} ${J.default.gray(`(${n.driver})`)} [${i}]`),console.log(` Printer ID: ${J.default.cyan(n.id)}`),n.connectString&&console.log(` Connect: ${J.default.gray(n.connectString)}`);var a=n.printHistory||[];if(0===a.length){console.log(J.default.gray(" No print results yet."));continue}var s="memory"===n.printHistorySource?J.default.gray(" (restored from memory)"):"";for(var l of(console.log(` Print results, newest first${s}:`),a))console.log(` --index ${l.index} ${eL(l.printedAt)} ${J.default.gray(eq(l))}`)}console.log("─".repeat(60)),console.log(J.default.gray("Save one as PNG: bricks devtools simulator thermal-printer print-result"))}),function(e){return t.apply(this,arguments)}))}),function(e){return P.apply(this,arguments)})),en(eU.command("print-result").description("Render a simulated print result to a PNG image").option("--printer <id>","Printer ID (see `list`; defaults to the only registered printer)").option("-i, --index <n>","Print history index, 0 = latest","0").option("--scale <factor>","Image scale factor (1-4)","2").option("-o, --output <path>","Output file path")).action((T=M(function*(e){var t;yield ei(e,(t=M(function*(t){var r=yield t.send("Simulator.captureThermalPrinterPrintResult",{id:e.printer,index:parseInt(e.index,10)||0,scale:parseFloat(e.scale)||2},3e4);r?.data||(console.error(J.default.red(eJ)),process.exit(1));var n=yield Promise.resolve().then(o.t.bind(o,73024,19)),i=yield Promise.resolve().then(o.t.bind(o,76760,19)),a=e.output||`print-result-${Date.now()}.png`,s=i.resolve(a);(n.writeFileSync(s,Buffer.from(r.data,"base64")),e.json)?console.log(JSON.stringify({path:s,id:r.id,driver:r.driver,label:r.label,index:r.index,printedAt:r.printedAt,width:r.width,height:r.height},null,2)):(console.log(J.default.green(`Print result saved to ${s}`)),console.log(` Printer: ${r.label} ${J.default.gray(`(${r.driver}, ${r.id})`)}`),console.log(` Printed: ${eL(r.printedAt)} (--index ${r.index})`),r.width&&r.height&&console.log(` Size: ${r.width}\xd7${r.height}`))}),function(e){return t.apply(this,arguments)}))}),function(e){return T.apply(this,arguments)}))},70970(e,t,o){o.d(t,{l:()=>s});var r=o(99436),n=o(35679),i=o(7586),a=()=>Promise.all([o.e(6370),o.e(5785),o.e(3332),o.e(2209),o.e(907),o.e(2486)]).then(o.bind(o,421)),s=(({loadDoctorModule:e=a}={})=>{var t;return new n.uB("doctor").description("Check CLI configuration, auth state, and workspace reachability").option("-j, --json","Output as JSON").action((t=r(function*(t){try{var o=yield e(),r=o.buildDoctorReport,n=o.renderDoctorReport,a=yield r();if(t.json)return void(0,i.GF)(a);console.log(n(a))}catch(e){t.json?(0,i.OW)(e.message):console.error(`Doctor failed: ${e.message}`),process.exit(1)}}),function(e){return t.apply(this,arguments)}))})()},28634(e,t,o){o.d(t,{p:()=>_});var r,n,i,a,s,l,u,c=o(68832),d=o(99436),p=o(35679),f=o(73284),g=o(30155),h=o(7586),m=o(56493),D=o(68168),y=o(98593),v=e=>{if(!e)return f.default.gray("○");var t=Date.now()-new Date(e).getTime();return t<=3e5?f.default.green("●"):60>Math.floor(t/6e4)?f.default.yellow("○"):f.default.red("○")},b=(e,t)=>(0,y.H_)(e,t,{deviceCount:e?.devices?.length||0}),F=["refresh","clear-cache","system-menu-open","system-menu-close","system-info-open","system-info-close","local-sync-panel-open","local-sync-panel-close","debug-panel-open","debug-panel-close","logging-on","logging-off","test-panel-open","test-panel-close"],_=new p.uB("group").description("Device Group management");_.command("list").description("List all device groups").option("-j, --json","Output as JSON").action((r=d(function*(e){var t=(0,m.requireAuth)(),o=(0,g.default)("Fetching device groups...").start();try{var r=yield t.deviceGroups({});if(o.stop(),e.json)return void console.log(JSON.stringify(r,null,2));if(!r||0===r.length)return void console.log(f.default.yellow("No device groups found"));console.log(f.default.bold("\nDevice Groups")),console.log("─".repeat(80)),r.forEach(e=>{var t=e.devices?.length||0;console.log(`● ${f.default.cyan(e.name)} ${f.default.gray(`(${t} devices)`)}`),console.log(` ID: ${f.default.gray(e._id)}`),e.description&&console.log(` ${f.default.gray(e.description)}`),console.log()})}catch(e){o.fail(`Failed to list groups: ${e.message}`),process.exit(1)}}),function(e){return r.apply(this,arguments)})),_.command("get <id>").description("Get device group details").option("-j, --json","Output as JSON").action((n=d(function*(e,t){var o=(0,m.requireAuth)(),r=(0,g.default)("Fetching device group...").start();try{var n=yield o.deviceGroup({id:e});if(r.stop(),n||(console.log(f.default.red("Device group not found")),process.exit(1)),t.json)return void console.log(JSON.stringify(n,null,2));console.log(f.default.bold(`
78
- Device Group: ${n.name}`)),console.log("─".repeat(60)),console.log(`ID: ${f.default.gray(n._id)}`),console.log(`Description: ${n.description||f.default.gray("N/A")}`),console.log(`Tags: ${n.tags?.join(", ")||f.default.gray("None")}`),console.log(`Created: ${f.default.gray(n.create_datetime)}`),console.log(`Modified: ${f.default.gray(n.last_modify_datetime)}`),n.devices?.length>0&&(console.log(`
79
- ${f.default.bold("Devices")} (${n.devices.length})`),n.devices.forEach(e=>{var t=e.device_target_name||e.device_id;console.log(` - ${t} ${f.default.gray(`(${e.device_id})`)}`)})),console.log("─".repeat(60))}catch(e){r.fail(`Failed to get group: ${e.message}`),process.exit(1)}}),function(e,t){return n.apply(this,arguments)})),_.command("resolve <query>").description("Resolve a device group name or ID to stable IDs").option("-l, --limit <limit>","Limit search results",e=>Number.parseInt(e,10),10).option("-j, --json","Output as JSON").action((i=d(function*(e,t){var o=(0,m.requireAuth)(),r=t.json?null:(0,g.default)("Resolving device group...").start();try{var n=yield(0,D.Y)(()=>o.deviceGroup({id:e})),i=n?[n]:yield o.deviceGroups({paginate:{limit:t.limit}}),a=n?i:(i||[]).filter(t=>t.name?.toLowerCase().includes(e.trim().toLowerCase())),s=(0,D.K)({resource:"group",query:e,items:a||[],fields:["_id","name"],selectedBy:n?"id":null});if(r&&r.stop(),t.json)return void(0,h.GF)(s);if(s.resolved){var l=s.resolved;console.log(f.default.bold("\nResolved Device Group")),console.log("─".repeat(60)),console.log(`Name: ${f.default.cyan(l.name||"Unnamed")}`),console.log(`ID: ${f.default.gray(l._id)}`),console.log(`Selected By: ${s.selectedBy}`),console.log("─".repeat(60));return}if(0===s.matches.length)return void console.log(f.default.yellow(`No device groups matched "${e}"`));console.log(f.default.bold(`
80
- Matching Device Groups (${s.matches.length})`)),console.log("─".repeat(80)),s.matches.forEach(e=>{console.log(`${f.default.cyan(e.name||"Unnamed")} ${f.default.gray(e._id)}`)}),console.log("─".repeat(80))}catch(t){r?r.fail(`Failed to resolve device group: ${t.message}`):(0,h.OW)(t.message,{resource:"group",query:e}),process.exit(1)}}),function(e,t){return i.apply(this,arguments)})),_.command("devices <id>").description("List devices in a group with status").option("-j, --json","Output as JSON").action((a=d(function*(e,t){var o=(0,m.requireAuth)(),r=(0,g.default)("Fetching devices...").start();try{var n=yield o.devicesByGroup({id:e});if(r.stop(),t.json)return void console.log(JSON.stringify(n,null,2));if(!n||0===n.length)return void console.log(f.default.yellow("No devices in this group"));console.log(f.default.bold("\nDevices in Group")),console.log("─".repeat(80)),n.forEach(e=>{var t=e.device||{},o=t.entry_detail?.watch_dog_timer?.last_alive_time,r=v(o),n=t.name||t.device_name||e.target_name||t._id||"Unknown",i=t.entry_detail?.application?.name||f.default.gray("No app");console.log(`${r} ${f.default.cyan(n.padEnd(30))} ${i}`)}),console.log("─".repeat(80))}catch(e){r.fail(`Failed to get devices: ${e.message}`),process.exit(1)}}),function(e,t){return a.apply(this,arguments)})),_.command("dispatch <id> <action>").description("Dispatch action to all devices in group").option("--dry-run","Validate inputs and show the dispatch plan without sending it").option("-j, --json","Output as JSON").action((s=d(function*(e,t,o){var r=(0,m.requireAuth)(),n=o.json?null:(0,g.default)(`Dispatching ${t}...`).start();F.includes(t)||(o.json?(0,h.OW)(`Invalid action. Valid actions: ${F.join(", ")}`,{action:"group.dispatch",target:{id:e}}):n.fail(`Invalid action. Valid actions: ${F.join(", ")}`),process.exit(1));try{var i=yield r.deviceGroup({id:e});if(!i)throw Error("Device group not found");if(o.dryRun){n&&n.stop(),(0,y.S5)({action:"group.dispatch",target:b(i,e),request:{action:t},checks:[(0,y.Iy)("group exists",!0,`${i.name} (${i._id})`),(0,y.Iy)("action is valid",!0)],json:o.json});return}var a=yield r.dispatchDeviceGroupAction({id:e,action:t});o.json?(0,y.yd)({action:"group.dispatch",target:b(i,e),result:{action:t,dispatched:a?.dispatched||0,devices:a?.devices||0},json:!0}):(n.succeed(`Action dispatched: ${f.default.green(t)}`),a&&(console.log(`Dispatched: ${f.default.green(a.dispatched||0)}`),console.log(`Devices: ${f.default.gray(a.devices||0)}`)))}catch(t){o.json?(0,h.OW)(t.message,{action:"group.dispatch",target:{id:e}}):n.fail(`Failed to dispatch action: ${t.message}`),process.exit(1)}}),function(e,t,o){return s.apply(this,arguments)})),_.command("refresh <id>").description("Refresh all devices in group").option("--dry-run","Validate inputs and show the refresh plan without sending it").option("-j, --json","Output as JSON").action((l=d(function*(e,t){var o=(0,m.requireAuth)(),r=t.json?null:(0,g.default)("Refreshing devices...").start();try{var n=yield o.deviceGroup({id:e});if(!n)throw Error("Device group not found");if(t.dryRun){r&&r.stop(),(0,y.S5)({action:"group.refresh",target:b(n,e),request:{action:"refresh"},checks:[(0,y.Iy)("group exists",!0,`${n.name} (${n._id})`)],json:t.json});return}var i=yield o.dispatchDeviceGroupAction({id:e,action:"refresh"});t.json?(0,y.yd)({action:"group.refresh",target:b(n,e),result:{dispatched:i?.dispatched||0,devices:i?.devices||0},json:!0}):(r.succeed("Devices refreshed"),i&&(console.log(`Dispatched: ${f.default.green(i.dispatched||0)}`),console.log(`Devices: ${f.default.gray(i.devices||0)}`)))}catch(o){t.json?(0,h.OW)(o.message,{action:"group.refresh",target:{id:e}}):r.fail(`Failed to refresh: ${o.message}`),process.exit(1)}}),function(e,t){return l.apply(this,arguments)})),_.command("monitor <id>").description("Monitor devices in group (polls every 60s)").option("-i, --interval <seconds>","Polling interval in seconds","60").action((u=d(function*(e,t){var o,r=(0,m.requireAuth)(),n=1e3*parseInt(t.interval,10);console.log(f.default.bold("\nDevice Group Monitor")),console.log(f.default.gray(`Polling every ${t.interval}s. Press Ctrl+C to stop.
81
- `));var i=(o=d(function*(){try{var t=yield Promise.all([r.deviceGroup({id:e}),r.devicesByGroup({id:e})]),o=c(t,2),n=o[0],i=o[1];if(process.stdout.write("\x1b[2J\x1b[0f"),console.log(f.default.bold(`Device Group: ${n.name}`)+f.default.gray(` - ${new Date().toLocaleTimeString()}`)),console.log("─".repeat(80)),!i||0===i.length)return void console.log(f.default.yellow("No devices in this group"));var a=0,s=0;i.forEach(e=>{var t=e.device||{},o=t.entry_detail?.watch_dog_timer?.last_alive_time,r=v(o),n=t.name||t.device_name||e.target_name||t._id||"Unknown",i=t.entry_detail?.application?.name||f.default.gray("No app");o&&Date.now()-new Date(o).getTime()<=3e5?a++:s++,console.log(`${r} ${f.default.cyan(n.padEnd(30))} ${i}`)}),console.log("─".repeat(80)),console.log(`Online: ${f.default.green(a)} Offline: ${f.default.red(s)}`),console.log(`
82
- ${f.default.gray("Press Ctrl+C to stop")}`)}catch(e){console.error(f.default.red(`Error: ${e.message}`))}}),function(){return o.apply(this,arguments)});yield i(),setInterval(i,n)}),function(e,t){return u.apply(this,arguments)}))},429(e,t,o){o.d(t,{K:()=>l});var r,n=o(99436),i=o(35679),a=o(73284),s=o(47988),l=new i.uB("mcp").description("MCP server management");l.command("start").description("Start the BRICKS MCP server in STDIO mode").option("-t, --token <token>","API token (overrides saved token)").action((r=n(function*(e){var t=(0,s.getCurrentProfile)(),r=e.token||(0,s.getToken)(t);r||(console.error(a.default.red("Error: No API token found.")),console.error(a.default.gray("Please login first with: bricks auth login <passcode>")),console.error(a.default.gray("Or provide a token with: bricks mcp start --token <token>")),process.exit(1));try{var n=(yield Promise.all([o.e(6370),o.e(9866),o.e(6645),o.e(3332),o.e(4479),o.e(7648),o.e(853),o.e(1010),o.e(8117)]).then(o.bind(o,98372))).startStdioServer;yield n({token:r})}catch(e){console.error(a.default.red(`Failed to start MCP server: ${e.message}`)),process.exit(1)}}),function(e){return r.apply(this,arguments)}))},12569(e,t,o){o.d(t,{u:()=>v});var r,n,i,a,s,l,u,c,d,p=o(68832),f=o(99436),g=o(35679),h=()=>(c||(c=Promise.all([Promise.resolve().then(o.bind(o,73284)),Promise.resolve().then(o.bind(o,30155)),Promise.resolve().then(o.bind(o,56493)),Promise.all([o.e(6370),o.e(831)]).then(o.bind(o,60450))]).then(([e,t,o,r])=>({chalk:e.default,ora:t.default,requireAuth:o.requireAuth,isMediaEnabled:r.isMediaEnabled,buildScreenshotUrl:r.buildScreenshotUrl}))),c),m=(r=f(function*(e,t){var o=yield e.workspace();if(!t.isMediaEnabled(o))throw Error("Media workspace not enabled for this workspace")}),function(e,t){return r.apply(this,arguments)}),D=e=>{var t=e.meta||{};if(!t.originalFileUploaded)return{ready:!1,label:"Uploading"};if("Video"===e.fileType){if(!t.videoThumbOriginalFileKey)return{ready:!1,label:"Processing"};if(!t.convertedFileUploaded)return{ready:!1,label:"Transcoding"}}return{ready:!0,label:"Ready"}},y=(e,t)=>e.ready?t.green(e.label):t.yellow(e.label),v=new g.uB("media").description("Media Flow support");v.command("boxes").description("List Media Flow boxes").option("-j, --json","Output as JSON").action((n=f(function*(e){var t=yield h(),o=t.chalk,r=t.requireAuth(),n=t.ora("Fetching media boxes...").start();try{yield m(r,t);var i=yield r.mediaBoxes();if(n.stop(),e.json)return void console.log(JSON.stringify(i,null,2));if(!i||0===i.length)return void console.log(o.yellow("No media boxes found"));console.log(o.bold("\nMedia Boxes")),console.log("─".repeat(80)),i.forEach(e=>{console.log(`${o.cyan(e.name||"Unnamed")} ${o.gray(e.id)}`),e.description&&console.log(` ${e.description}`),e.tags?.length&&console.log(` Tags: ${e.tags.join(", ")}`),null!=e.size&&console.log(` Size: ${e.size}`),console.log()})}catch(e){n.fail(`Failed to list media boxes: ${e.message}`),process.exit(1)}}),function(e){return n.apply(this,arguments)})),v.command("box <id>").description("Get Media Flow box details").option("-j, --json","Output as JSON").action((i=f(function*(e,t){var o=yield h(),r=o.chalk,n=o.requireAuth(),i=o.ora("Fetching media box...").start();try{yield m(n,o);var a=yield n.mediaBox({id:e});if(i.stop(),a||(console.log(r.red("Media box not found")),process.exit(1)),t.json)return void console.log(JSON.stringify(a,null,2));console.log(r.bold(`
83
- Media Box: ${a.name||"Unnamed"}`)),console.log("─".repeat(60)),console.log(`ID: ${r.gray(a.id)}`),console.log(`Description: ${a.description||r.gray("N/A")}`),console.log(`Tags: ${a.tags?.join(", ")||r.gray("None")}`),null!=a.size&&console.log(`Size: ${a.size}`),a.passcodes?.length&&(console.log(`
84
- ${r.bold("Passcodes")}`),a.passcodes.forEach(e=>{console.log(`- ${e.name||"Passcode"}: ${e.code}`)})),console.log("─".repeat(60))}catch(e){i.fail(`Failed to get media box: ${e.message}`),process.exit(1)}}),function(e,t){return i.apply(this,arguments)})),v.command("files <boxId>").description("List Media Flow files in a box").option("-t, --types <types>","Comma-separated file types to include").option("-u, --user-tag <tag>","Filter by user tag (repeatable)",(e,t)=>[...t,e],[]).option("-l, --limit <limit>","Limit results",e=>Number.parseInt(e,10)).option("-o, --offset <offset>","Offset results",e=>Number.parseInt(e,10)).option("-j, --json","Output as JSON").action((a=f(function*(e,t){var o=yield h(),r=o.chalk,n=o.requireAuth(),i=o.ora("Fetching media files...").start();try{yield m(n,o);var a=t.types?t.types.split(",").map(e=>e.trim()).filter(Boolean):void 0,s=t.userTag?.length?t.userTag:void 0,l=yield n.mediaFiles({boxId:e,includeTypes:a,userTags:s,limit:t.limit,offset:t.offset});if(i.stop(),t.json)return void console.log(JSON.stringify(l,null,2));if(!l||0===l.length)return void console.log(r.yellow("No media files found"));console.log(r.bold(`
85
- Media Files (${l.length})`)),console.log("─".repeat(100)),l.forEach(e=>{var t=D(e);console.log(`${r.cyan(e.name||"Unnamed")} ${r.gray(e.id)}`),console.log(` Type: ${e.fileType} Status: ${y(t,r)}`),e.userTags?.length&&console.log(` Tags: ${e.userTags.join(", ")}`),e.updatedAt&&console.log(` Updated: ${new Date(e.updatedAt).toLocaleString()}`),console.log()})}catch(e){i.fail(`Failed to list media files: ${e.message}`),process.exit(1)}}),function(e,t){return a.apply(this,arguments)})),v.command("file <id>").description("Get Media Flow file details").option("-j, --json","Output as JSON").action((s=f(function*(e,t){var o=yield h(),r=o.chalk,n=o.requireAuth(),i=o.ora("Fetching media file...").start();try{yield m(n,o);var a=yield n.mediaFile({id:e});if(i.stop(),a||(console.log(r.red("Media file not found")),process.exit(1)),t.json)return void console.log(JSON.stringify(a,null,2));var s=D(a);console.log(r.bold(`
86
- Media File: ${a.name||"Unnamed"}`)),console.log("─".repeat(60)),console.log(`ID: ${r.gray(a.id)}`),console.log(`Box ID: ${r.gray(a.boxId)}`),console.log(`Type: ${a.fileType}`),console.log(`Status: ${y(s,r)}`),console.log(`Description: ${a.description||r.gray("N/A")}`),console.log(`Tags: ${a.userTags?.join(", ")||r.gray("None")}`),console.log(`Created: ${r.gray(a.createdAt||"N/A")}`),console.log(`Updated: ${r.gray(a.updatedAt||"N/A")}`);var l=o.buildScreenshotUrl(a),u=o.buildScreenshotUrl(a,{preferThumbnail:!0});a.meta?.originalFileKey&&console.log(`Original Key: ${r.gray(a.meta.originalFileKey)}`),l&&console.log(`Original URL: ${r.gray(l)}`),u&&u!==l&&console.log(`Thumbnail URL: ${r.gray(u)}`),console.log("─".repeat(60))}catch(e){i.fail(`Failed to get media file: ${e.message}`),process.exit(1)}}),function(e,t){return s.apply(this,arguments)}));var b=e=>{var t=e.match(/^(\d+)x(\d+)(?::(\w+))?$/);if(!t)throw Error(`Invalid image version spec: "${e}". Expected format: WxH or WxH:STRATEGY`);return{width:parseInt(t[1],10),height:parseInt(t[2],10),strategy:(t[3]||"FILL").toUpperCase(),copypreview:!1}},F=(l=f(function*(e,t,o,r,n){var i=new FormData;for(var a of Object.entries(t)){var s=p(a,2),l=s[0],u=s[1];i.append(l,u)}i.append("file",new Blob([o],{type:n}),r);var c=yield fetch(e,{method:"POST",body:i});if(!c.ok&&204!==c.status){var d=yield c.text().catch(()=>"");throw Error(`S3 upload failed (${c.status}): ${d}`)}}),function(e,t,o,r,n){return l.apply(this,arguments)});v.command("upload <boxId> <files...>").description("Upload file(s) to a Media Flow box").option("-d, --description <text>","File description","").option("-t, --user-tag <tag>","User tag (repeatable, max 15)",(e,t)=>[...t,e],[]).option("--image-version <spec>","Image resize spec as WxH or WxH:STRATEGY (repeatable)",(e,t)=>[...t,e],[]).option("--image-version-type <type>","Image output format: jpg or png").option("--enable-ai-analysis","Enable AI analysis on uploaded files").option("--ai-instruction <text>","Custom AI analysis instruction").option("--concurrency <n>","Max concurrent uploads",e=>parseInt(e,10),3).option("-j, --json","Output as JSON").action((u=f(function*(e,t,r){var n=yield h(),i=yield(!d&&(d=Promise.all([Promise.resolve().then(o.t.bind(o,51455,19)),Promise.resolve().then(o.t.bind(o,76760,19)),o.e(2247).then(o.t.bind(o,86090,19)),o.e(5212).then(o.bind(o,76983))]).then(([e,t,o,r])=>({readFile:e.readFile,stat:e.stat,basename:t.basename,resolve:t.resolve,lookup:o.lookup,runWithConcurrency:r.runWithConcurrency}))),d),a=n.chalk,s=n.requireAuth(),l=n.ora("Preparing upload...").start();try{if(yield m(s,n),r.userTag.length>15)throw Error("Maximum 15 user tags allowed");var u,c,p=r.imageVersion.map(b),g=r.enableAiAnalysis||!!r.aiInstruction,D=yield Promise.all(t.map((u=f(function*(e){var t=i.resolve(e),o=yield i.stat(t).catch(()=>null);if(!o||!o.isFile())throw Error(`Not a file: ${e}`);var r=i.basename(t),n=i.lookup(r)||"application/octet-stream";return{filePath:t,fileName:r,contentType:n,size:o.size}}),function(e){return u.apply(this,arguments)})));l.stop();var y=D.length;console.log(a.bold(`
87
- Uploading ${y} file${y>1?"s":""} to box ${a.gray(e)}...
88
- `));var v=[];yield i.runWithConcurrency(D,r.concurrency,(c=f(function*(t,o){var l=`[${o+1}/${y}] ${t.fileName}`,u=n.ora(`${l} — requesting upload...`).start();try{var c,d,f=(c=t.contentType)&&"image/svg+xml"!==c?c.startsWith("image/")?"IMAGE":c.startsWith("video/")?"VIDEO":c.startsWith("audio/")?"AUDIO":"FILE":"FILE",h={imageVersions:"IMAGE"===f?p:[],imageVersionType:"IMAGE"===f?r.imageVersionType:void 0,enableAiAnalysis:g,aiCustomInstruction:r.aiInstruction||void 0},m=yield s.createMediaFileUploadRequest({name:t.fileName,description:r.description,boxId:e,fileType:f,contentType:t.contentType,userTags:r.userTag.length?r.userTag:[],meta:h});u.text=`${l} — uploading to storage...`;var D=JSON.parse(m.meta.uploadInfo),b=yield i.readFile(t.filePath);yield F(D.url,{AWSAccessKeyId:D.AWSAccessKeyId,"Content-Type":D["Content-Type"],key:D.key,Signature:D.Signature,Policy:D.Policy,acl:D.acl},b,t.fileName,t.contentType),u.succeed(`${l} ${a.green("✓")} ${a.gray(`(${f}, ${(d=t.size)<1024?`${d} B`:d<1048576?`${(d/1024).toFixed(1)} KB`:d<0x40000000?`${(d/1048576).toFixed(1)} MB`:`${(d/0x40000000).toFixed(1)} GB`})`)}`),v.push({file:t.fileName,id:m.id,status:"success",fileType:f,size:t.size})}catch(e){u.fail(`${l} — ${e.message}`),v.push({file:t.fileName,id:null,status:"failed",error:e.message})}}),function(e,t){return c.apply(this,arguments)}));var _=v.filter(e=>"success"===e.status).length,C=v.filter(e=>"failed"===e.status).length;r.json?console.log(JSON.stringify({boxId:e,results:v,summary:{total:y,success:_,failed:C}},null,2)):(console.log(),0===C?console.log(a.green(`Uploaded ${_}/${y} files`)):console.log(a.yellow(`Uploaded ${_}/${y} files (${C} failed)`))),C>0&&process.exit(1)}catch(e){l.fail(`Upload failed: ${e.message}`),process.exit(1)}}),function(e,t,o){return u.apply(this,arguments)}))},32541(e,t,o){o.d(t,{A:()=>x});var r,n,i,a,s,l,u,c,d,p,f,g,h,m=o(99436),D=o(35679),y=o(73284),v=o(30155),b=o(47988),F=o(29988),_=o(44618),C=o(7586),$=o(56493),E=o(68168),w=o(74049),k=o(98593),S=(e,t)=>(0,k.H_)(e,t,{currentVersion:e?.current_version||null,public:!!e?.is_public}),x=new D.uB("module").description("Module management");x.command("new").description("Create a new module").requiredOption("-n, --name <name>","Module name").option("-d, --description <description>","Module description").option("--layout-width <width>","Layout width",parseInt).option("--layout-height <height>","Layout height",parseInt).option("--public","Make module available to all users").option("--allow-modify","Allow users to modify imported module config").option("--init","Initialize a BRICKS Project after creation").option("-o, --output <dir>","Output directory for --init (default: current directory)").option("-y, --yes","Skip prompts for --init").option("-j, --json","Output as JSON").action((r=m(function*(e){var t=(0,$.requireAuth)(),r=e.json?null:(0,v.default)("Creating module...").start();try{var n={name:e.name};e.description&&(n.description=e.description),e.layoutWidth&&(n.layoutWidth=e.layoutWidth),e.layoutHeight&&(n.layoutHeight=e.layoutHeight),e.public&&(n.isPublic=!0),e.allowModify&&(n.isAllowModify=!0);var i=yield t.createModule(n);if(e.json&&!e.init?console.log(JSON.stringify(i,null,2)):e.json||(r.succeed(`Module created: ${y.default.green(i.name)}`),console.log(` ID: ${y.default.gray(i._id)}`),i.description&&console.log(` ${y.default.gray(i.description)}`),console.log(` Public: ${i.is_public?y.default.green("Yes"):y.default.gray("No")}`),console.log(` Allow Modify: ${i.is_allow_modify?y.default.green("Yes"):y.default.gray("No")}`)),e.init){r&&r.stop();var a=(yield Promise.all([o.e(5658),o.e(4456)]).then(o.bind(o,58891))).initProject;yield a("module",i._id,{output:e.output,yes:e.yes,json:e.json})}}catch(t){e.json?console.error(JSON.stringify({error:t.message})):r.fail(`Failed to create module: ${t.message}`),process.exit(1)}}),function(e){return r.apply(this,arguments)})),x.command("list").description("List all modules").option("-k, --keyword <keyword>","Filter by keyword").option("-j, --json","Output as JSON").action((n=m(function*(e){var t=(0,$.requireAuth)(),o=(0,v.default)("Fetching modules...").start();try{var r=yield t.modules({keyword:e.keyword});if(o.stop(),e.json)return void console.log(JSON.stringify(r,null,2));if(!r||0===r.length)return void console.log(y.default.yellow("No modules found"));console.log(y.default.bold("\nModules")),console.log("─".repeat(80)),r.forEach(e=>{var t=e.current_version?`v${e.current_version}`:y.default.gray("no version");console.log(`● ${y.default.cyan(e.name)} ${y.default.gray(t)}`),console.log(` ID: ${y.default.gray(e._id)}`),e.description&&console.log(` ${y.default.gray(e.description)}`),console.log()})}catch(e){o.fail(`Failed to list modules: ${e.message}`),process.exit(1)}}),function(e){return n.apply(this,arguments)})),x.command("list-public").description("Search public modules").requiredOption("-k, --keyword <keyword>","Search keyword (min 2 characters)").option("-j, --json","Output as JSON").action((i=m(function*(e){var t=(0,(yield(0,F.i)()).createClient)((0,b.getBaseUrl)()),o=(0,v.default)("Searching public modules...").start();try{var r=yield t.publicModules({keyword:e.keyword});if(o.stop(),e.json)return void console.log(JSON.stringify(r,null,2));if(!r||0===r.length)return void console.log(y.default.yellow("No public modules found"));console.log(y.default.bold("\nPublic Modules")),console.log("─".repeat(80)),r.forEach(e=>{var t=e.current_version?`v${e.current_version}`:y.default.gray("no version");console.log(`● ${y.default.cyan(e.name)} ${y.default.gray(t)}`),console.log(` ID: ${y.default.gray(e._id)}`),e.description&&console.log(` ${y.default.gray(e.description)}`),console.log()})}catch(e){o.fail(`Failed to search public modules: ${e.message}`),process.exit(1)}}),function(e){return i.apply(this,arguments)})),x.command("get <id>").description("Get module details").option("-j, --json","Output as JSON").action((a=m(function*(e,t){var o=(0,$.requireAuth)(),r=(0,v.default)("Fetching module...").start();try{var n=yield o.module({id:e});if(r.stop(),n||(console.log(y.default.red("Module not found")),process.exit(1)),t.json)return void console.log(JSON.stringify(n,null,2));if(console.log(y.default.bold(`
89
- Module: ${n.name}`)),console.log("─".repeat(60)),console.log(`ID: ${y.default.gray(n._id)}`),console.log(`Description: ${n.description||y.default.gray("N/A")}`),console.log(`Tags: ${n.tags?.join(", ")||y.default.gray("None")}`),console.log(`Created: ${y.default.gray(n.create_datetime)}`),console.log(`Modified: ${y.default.gray(n.last_modify_datetime)}`),console.log(`
90
- ${y.default.bold("Version")}`),console.log(`Current: ${n.current_version?`v${n.current_version}`:y.default.gray("No version")}`),console.log(`Unreleased: ${n.has_unreleased_changes?y.default.yellow("Yes"):y.default.green("No")}`),console.log(`
91
- ${y.default.bold("Settings")}`),console.log(`Public: ${n.is_public?y.default.green("Yes"):y.default.gray("No")}`),console.log(`Allow Modify: ${n.is_allow_modify?y.default.green("Yes"):y.default.gray("No")}`),console.log(`Short Edit: ${n.short_edit?.enabled?y.default.green("Enabled"):y.default.gray("Disabled")}`),n.short_edit?.enabled&&n.short_edit.ref_map){var i=Object.keys(n.short_edit.ref_map).length;console.log(` References: ${i} editable properties`)}n.use_count?.total_count!=null&&(console.log(`
92
- ${y.default.bold("Usage")}`),console.log(`Used In: ${n.use_count.total_count} application(s)`)),n.expose_properties?.length>0&&(console.log(`
93
- ${y.default.bold("Exposed Properties")} (${n.expose_properties.length})`),n.expose_properties.forEach(e=>{console.log(` - ${y.default.cyan(e)}`)})),console.log("─".repeat(60))}catch(e){r.fail(`Failed to get module: ${e.message}`),process.exit(1)}}),function(e,t){return a.apply(this,arguments)})),x.command("resolve <query>").description("Resolve a module name or ID to stable IDs").option("-l, --limit <limit>","Limit search results",e=>Number.parseInt(e,10),10).option("-j, --json","Output as JSON").action((s=m(function*(e,t){var o=(0,$.requireAuth)(),r=t.json?null:(0,v.default)("Resolving module...").start();try{var n=yield(0,E.Y)(()=>o.module({id:e})),i=n?[n]:yield o.modules({keyword:e,paginate:{limit:t.limit}}),a=(0,E.K)({resource:"module",query:e,items:i||[],fields:["_id","name"],selectedBy:n?"id":null});if(r&&r.stop(),t.json)return void(0,C.GF)(a);if(a.resolved){var s=a.resolved;console.log(y.default.bold("\nResolved Module")),console.log("─".repeat(60)),console.log(`Name: ${y.default.cyan(s.name||"Unnamed")}`),console.log(`ID: ${y.default.gray(s._id)}`),console.log(`Selected By: ${a.selectedBy}`),console.log("─".repeat(60));return}if(0===a.matches.length)return void console.log(y.default.yellow(`No modules matched "${e}"`));console.log(y.default.bold(`
94
- Matching Modules (${a.matches.length})`)),console.log("─".repeat(80)),a.matches.forEach(e=>{console.log(`${y.default.cyan(e.name||"Unnamed")} ${y.default.gray(e._id)}`)}),console.log("─".repeat(80))}catch(t){r?r.fail(`Failed to resolve module: ${t.message}`):(0,C.OW)(t.message,{resource:"module",query:e}),process.exit(1)}}),function(e,t){return s.apply(this,arguments)})),x.command("update <id>").description("Update module name, description, and/or configuration").option("-n, --name <name>","Module name").option("-d, --description <description>","Module description").option("-c, --config <json>","Module config as JSON string").option("-f, --file <path>","Module config from file").option("--validate","Validate configuration (default: true when config is set)",!0).option("--no-validate","Skip server-side config validation").option("--last-commit-id <id>","Reject if server config.bricks_project_last_commit_id does not match this value").option("-j, --json","Output as JSON").action((l=m(function*(e,t){var o=(0,$.requireAuth)(),r=t.json?null:(0,v.default)("Updating module...").start();try{var n=yield o.updateModule((0,k.jB)(e,t));t.json?(0,k.yd)({action:"module.update",target:S(n,e),result:{lastCommitId:t.lastCommitId||null},json:!0}):(r.succeed(`Module updated: ${y.default.green(n.name)}`),n.has_unreleased_changes&&console.log(y.default.yellow("Note: Module has unreleased changes")))}catch(o){t.json?(0,C.OW)(o.message,{action:"module.update",target:{id:e}}):r.fail(`Failed to update module: ${o.message}`),process.exit(1)}}),function(e,t){return l.apply(this,arguments)})),x.command("short-edit <id>").description("Short edit module properties").requiredOption("-l, --list <json>","Short edit list as JSON array").action((u=m(function*(e,t){var o=(0,$.requireAuth)(),r=(0,v.default)("Applying short edit...").start();try{var n=JSON.parse(t.list);Array.isArray(n)||(r.fail("List must be a JSON array"),process.exit(1));var i=yield o.shortEditModule({id:e,list:n});r.succeed(`Short edit applied to: ${y.default.green(i.name)}`)}catch(e){r.fail(`Failed to apply short edit: ${e.message}`),process.exit(1)}}),function(e,t){return u.apply(this,arguments)})),x.command("short-refs <id>").description("List short edit references for a module").option("-k, --keyword <keyword>","Filter by shortId or title").option("-t, --types <types>","Comma-separated shortId prefixes to include (e.g. B,C,S)").option("-j, --json","Output as JSON").action((c=m(function*(e,t){var o=(0,$.requireAuth)(),r=(0,v.default)("Fetching short edit references...").start();try{var n=yield o.module({id:e});if(r.stop(),!n?.short_edit?.enabled)return void console.log(y.default.yellow("Short Edit is not enabled for this module"));var i=t.types?t.types.split(",").map(e=>e.trim()).filter(Boolean):[],a=(0,_.V)(n.short_edit.ref_map,{keyword:t.keyword,types:i});if(t.json)return void console.log(JSON.stringify(a,null,2));if(0===a.length)return void console.log(y.default.yellow("No short edit references found"));console.log(y.default.bold(`
95
- Short Edit References: ${n.name}`)),a.forEach(e=>{console.log(y.default.cyan(`
96
- ${e.label} (${e.prefix}_)`)),e.refs.forEach(({shortId:e,ref:t})=>{var o=t?.title?y.default.gray(`- ${t.title}`):"";console.log(` ${y.default.green(e)} ${o}`)})}),console.log()}catch(e){r.fail(`Failed to fetch short edit references: ${e.message}`),process.exit(1)}}),function(e,t){return c.apply(this,arguments)})),x.command("remove <id>").description("Remove a module").option("--dry-run","Validate the target and show the removal plan without deleting it").option("-j, --json","Output as JSON").action((d=m(function*(e,t){var o=(0,$.requireAuth)(),r=t.json?null:(0,v.default)("Removing module...").start();try{var n=yield o.module({id:e});if(!n)throw Error("Module not found");var i=S(n,e);if(t.dryRun){r&&r.stop(),(0,k.S5)({action:"module.remove",target:i,request:{id:e},checks:[(0,k.Iy)("module exists",!0,`${i.name} (${i.id})`)],json:t.json});return}var a=yield o.removeModule({id:e});t.json?(0,k.yd)({action:"module.remove",target:i,result:{removed:!!a},json:!0}):r.succeed(`Module removed: ${y.default.green(i.name)}`)}catch(o){t.json?(0,C.OW)(o.message,{action:"module.remove",target:{id:e}}):r.fail(`Failed to remove module: ${o.message}`),process.exit(1)}}),function(e,t){return d.apply(this,arguments)})),x.command("release <id>").description("Release module to BRICKS platform").requiredOption("-c, --config <path|json>","Module config file path or JSON string").option("-n, --name <name>","Update module name as part of the release").option("--version <version>","Version name").option("--changelogs <text>","Release changelogs").option("--dry-run","Validate inputs and show the release plan without publishing").option("-j, --json","Output as JSON").action((p=m(function*(e,t){var o=(0,$.requireAuth)(),r=t.json?null:(0,v.default)("Releasing module...").start();try{var n=(0,w.Ku)(t.config),i=n.config,a=n.source,s=n.sizeBytes,l=yield o.module({id:e});if(!l)throw Error("Module not found");if(l.is_public)throw Error("Public module deployment is temporarily not recommended");var u=t.version||t.name||l.name||"Untitled",c=(0,w.w9)(t.changelogs);if(t.dryRun){r&&r.stop(),(0,k.S5)({action:"module.release",target:S(l,e),request:{name:t.name||null,version:u,changelogs:t.changelogs||null,configSource:a,configSizeBytes:s},checks:[(0,k.Iy)("module exists",!0,`${l.name} (${l._id})`),(0,k.Iy)("module is private",!l.is_public),(0,k.Iy)("release config loaded",!0,`${s} bytes`)],json:t.json});return}var d=yield o.releaseModule({id:e,config:i,...t.name?{name:t.name}:{},releaseCurrentVersion:u,releaseCurrentVersionNote:c});t.json?(0,k.yd)({action:"module.release",target:S(d||l,e),result:{name:t.name||null,version:u,configSource:a,configSizeBytes:s},json:!0}):r.succeed(`Module released: ${y.default.green(d?.name||l.name)}`)}catch(o){t.json?(0,C.OW)(o.message,{action:"module.release",target:{id:e}}):r.fail(`Failed to release module: ${o.message}`),process.exit(1)}}),function(e,t){return p.apply(this,arguments)})),x.command("project-pull <id>").description("Pull module source files from BRICKS platform").option("-j, --json","Output as JSON (for programmatic use)").action((f=m(function*(e,t){var o=(0,$.requireAuth)(),r=t.json?null:(0,v.default)("Pulling module project...").start();try{var n=yield o.moduleProject({id:e,buildApplicationOnly:!0});n||(r?r.fail("Module project not found"):console.error(JSON.stringify({error:"Module project not found"})),process.exit(1)),t.json?console.log(JSON.stringify(n)):(r.succeed(`Module project fetched: ${y.default.green(n.files?.length||0)} files`),console.log(JSON.stringify(n,null,2)))}catch(e){t.json?console.error(JSON.stringify({error:e.message})):r.fail(`Failed to pull module project: ${e.message}`),process.exit(1)}}),function(e,t){return f.apply(this,arguments)})),x.command("doctor <idOrPath>").description("Diagnose a module config: schema validation plus semantic lint rules (data races, layout mistakes, dead config)").option("-j, --json","Output as JSON").option("--strict","Exit with code 1 when warnings are found").option("--only <codes>","Run only these rule codes (comma-separated)").option("--ignore <codes>","Skip these rule codes (comma-separated)").option("--validate-automation","Also validate automation_map and test_map references").action((g=m(function*(e,t){var r=t.json?null:(0,v.default)("Running config doctor...").start();try{var n=yield Promise.all([o.e(9866),o.e(6645),o.e(9430),o.e(1010),o.e(7511),o.e(563)]).then(o.bind(o,63322)),i=n.runConfigDoctor,a=n.renderConfigDoctorReport,s=yield i("module",e,t),l=s.report,u=s.exitCode;r?.stop(),t.json?(0,C.GF)({...l,exitCode:u}):console.log(a(l)),0!==u&&process.exit(u)}catch(e){r?r.fail(`Config doctor failed: ${e.message}`):(0,C.OW)(e.message),process.exit(1)}}),function(e,t){return g.apply(this,arguments)})),x.command("ctor-init <id>").alias("project-init").description("Initialize a BRICKS Project from a module (deprecated: use `bricks ctor init --type module`)").option("-o, --output <dir>","Output directory (default: current directory)").option("--github-actions","Include GitHub Actions workflow (default: true)").option("--no-github-actions","Skip GitHub Actions workflow setup").option("--agents","Include AGENTS.md (default: true)").option("--no-agents","Skip AGENTS.md setup").option("--claude","Include CLAUDE.md (default: true)").option("--no-claude","Skip CLAUDE.md setup").option("--gemini","Include GEMINI.md (default: false)").option("--no-gemini","Skip GEMINI.md setup").option("--install","Run bun install after generation (default: true)").option("--no-install","Skip bun install after generation").option("--git","Initialize git repository (default: true)").option("--no-git","Skip git initialization").option("-y, --yes","Skip prompts and use defaults/flags").option("-j, --json","Output as JSON (for programmatic use)").action((h=m(function*(e,t){t.json||console.error(y.default.yellow("Note: `bricks module ctor-init` is deprecated. Use `bricks ctor init <id> --type module` instead."));var r=(yield Promise.all([o.e(5658),o.e(4456)]).then(o.bind(o,58891))).initProject;yield r("module",e,t)}),function(e,t){return h.apply(this,arguments)}))},38311(e,t,o){o.d(t,{D:()=>d});var r,n,i,a=o(99436),s=o(35679),l=o(73284),u=(r=a(function*(){var e=(yield Promise.resolve().then(o.bind(o,30155))).default,t=yield o.e(6818).then(o.bind(o,53241)),r=t.detectChannel,n=t.detectInstallMethod,i=yield o.e(9405).then(o.bind(o,21068));return{ora:e,detectChannel:r,detectInstallMethod:n,fetchLatestVersionInfo:i.fetchLatestVersionInfo,runUpdateForMethod:i.runUpdateForMethod}}),function(){return r.apply(this,arguments)}),c=(n=a(function*({message:e,defaultValue:t,autoYes:r}){if(r)return!0;(0,(yield Promise.resolve().then(o.bind(o,8479))).isInteractiveTerminal)()||(console.error(l.default.red("Refusing to prompt in a non-interactive shell. Pass -y/--yes to confirm.")),process.exit(1));try{var n=(yield o.e(5658).then(o.bind(o,27521))).confirm;return yield n({message:e,default:t})}catch{return!1}}),function(e){return n.apply(this,arguments)}),d=new s.uB("update-cli").description("Update the BRICKS CLI to the latest version").option("-y, --yes","Skip confirmation prompts").option("--channel <channel>","Override channel (release|beta)").option("--check-update","Only check whether a newer version is available and exit").action((i=a(function*(e){var t,o=yield u(),r=o.ora,n=o.detectChannel,i=o.detectInstallMethod,s=o.fetchLatestVersionInfo,d=o.runUpdateForMethod,p="2.25.0-beta.74",f=i(),g=e.channel||n({version:p,execPath:f.execPath});console.log(l.default.bold(e.checkUpdate?"BRICKS CLI Update Check":"BRICKS CLI Update")),console.log("─".repeat(60)),console.log(`Current version : ${l.default.cyan(p)}`),console.log(`Channel : ${l.default.cyan(g)}`),console.log(`Detected method : ${l.default.cyan(f.method)}`),f.execPath&&"binary"===f.method&&console.log(`Binary path : ${l.default.gray(f.execPath)}`),f.installRoot&&console.log(`Install root : ${l.default.gray(f.installRoot)}`);var h="npm"===f.method||"bun"===f.method?"npm":"cdn",m=r(`Fetching latest version info (${h})...`).start(),D=null,y=null;try{D=(yield s(g,f.method)).version,m.succeed(`Latest ${g} (${h}): ${l.default.green(D)}`)}catch(e){y=e,m.warn(`Could not fetch version info: ${e.message}`)}var v=D&&D===p;if(e.checkUpdate){if(y&&process.exit(2),v)return void console.log(l.default.green("\nUp to date."));D&&(console.log(l.default.yellow(`
97
- Update available: ${p} → ${D}. Run 'bricks update-cli' to install.`)),process.exit(1)),console.log(l.default.yellow("\nCould not determine current version.")),process.exit(2)}if(v&&(console.log(l.default.green("\nAlready running the latest version.")),!(yield c({message:"Reinstall anyway?",defaultValue:!1,autoYes:e.yes}))))return void console.log(l.default.gray("Skipped."));var b=["npm","bun","binary"].includes(f.method);b||console.log(l.default.yellow(`Cannot auto-detect installer (method: ${f.method}); falling back to binary install.`));var F=b?f.method:"binary";if(!(yield c({message:`Update CLI using "${F}" method?`,defaultValue:!0,autoYes:e.yes})))return void console.log(l.default.yellow("Cancelled."));var _=(t=a(function*(e){console.log(l.default.cyan(`
98
- → Running ${e} update...`));try{return yield d(e,g,f),!0}catch(t){return console.error(l.default.yellow(`
99
- ${e} update failed: ${t.message}`)),!1}}),function(e){return t.apply(this,arguments)}),C=yield _(F);!C&&"binary"!==F&&(console.log(l.default.cyan("\nFalling back to binary install (same method used by the desktop app).")),(yield c({message:"Try the binary installer as a fallback?",defaultValue:!0,autoYes:e.yes}))&&(C=yield _("binary"))),C||(console.error(l.default.red("\nUpdate failed. See messages above.")),process.exit(1)),console.log(l.default.green("\nUpdate complete."))}),function(e){return i.apply(this,arguments)}))},1878(e,t,o){o.a(e,async function(e,r){try{o.d(t,{A:()=>S,e:()=>k});var n,i=o(99436),a=o(35679),s=o(73284),l=o(47988),u=o(8479),c=o(55614),d=o(1983),p=o(17422),f=o(32541),g=o(28634),h=o(12569),m=o(55609),D=o(71335),y=o(429),v=o(80274),b=o(42400),F=o(98247),_=o(70970),C=o(38311),$=o(59845),E=o(22175),w=e([b]);b=(w.then?(await w)():w)[0];var k=(n=i(function*(){var e,t=process.argv.findIndex(e=>"--auth-profile"===e||"-ap"===e);-1!==t&&process.argv[t+1]&&((0,l.setProfileOverride)(process.argv[t+1]),process.argv.splice(t,2)),a.DM.name("bricks").description("BRICKS CLI - Command-line interface for BRICKS Workspace API").version("2.25.0-beta.74","-v, --version","output the version number").enablePositionalOptions(),a.DM.addCommand(c.s),a.DM.addCommand(d._),a.DM.addCommand(p.B),a.DM.addCommand(f.A),a.DM.addCommand(g.p),a.DM.addCommand(h.u),a.DM.addCommand(m.E),a.DM.addCommand(D.oT),a.DM.addCommand(y.K),a.DM.addCommand(v.gf),a.DM.addCommand(b.D),a.DM.addCommand(F.v),a.DM.addCommand(_.l),a.DM.addCommand(C.D),a.DM.addCommand($.Q),a.DM.addCommand(E.g),a.DM.command("interactive").alias("i").description("Start interactive mode with Ink UI").action(i(function*(){try{var e=(yield Promise.all([o.e(6370),o.e(5785),o.e(3332),o.e(2209),o.e(3690),o.e(907),o.e(9940)]).then(o.bind(o,92319))).runInteractiveMode;yield e()}catch(e){console.error(s.default.red(`Failed to start interactive mode: ${e.message}`)),process.exit(1)}})),a.DM.command("workspace").alias("ws").description("Show current workspace information").option("-j, --json","Output as JSON").action((e=i(function*(e){var t=yield Promise.resolve().then(o.bind(o,47988)),r=t.getToken,n=t.getBaseUrl,i=t.getCurrentProfile,a=(yield Promise.all([o.e(6370),o.e(5785),o.e(3332),o.e(2209),o.e(907)]).then(o.bind(o,85382))).createClient,l=(yield Promise.resolve().then(o.bind(o,30155))).default,u=i(),c=r(u);c||(console.error(s.default.red("Not logged in. Use `bricks auth login` first.")),process.exit(1));var d=l("Fetching workspace info...").start();try{var p=a(n(),c),f=yield p.workspace();if(d.stop(),e.json)return void console.log(JSON.stringify(f,null,2));console.log(s.default.bold("\nWorkspace Information")),console.log("─".repeat(60)),console.log(`Name: ${s.default.green(f.name)}`),console.log(`ID: ${s.default.gray(f._id)}`),console.log(`Description: ${f.description||s.default.gray("N/A")}`),console.log(`
100
- ${s.default.bold("Data")}`),console.log(`Remote Update: ${f.bank?.enable_remote_update?s.default.green("Enabled"):s.default.gray("Disabled")}`),console.log(`Spacename: ${f.bank?.spacename||s.default.gray("N/A")}`),console.log("─".repeat(60))}catch(e){d.fail(`Failed to get workspace: ${e.message}`),process.exit(1)}}),function(t){return e.apply(this,arguments)})),a.DM.on("--help",()=>{console.log(""),console.log(s.default.bold("Examples:")),console.log(""),console.log(s.default.gray(" # Login with a one-time passcode (recommended)")),console.log(" $ bricks auth login <passcode>"),console.log(""),console.log(s.default.gray(" # List all devices")),console.log(" $ bricks device list"),console.log(""),console.log(s.default.gray(" # Monitor devices in real-time")),console.log(" $ bricks device monitor"),console.log(""),console.log(s.default.gray(" # Control a device")),console.log(" $ bricks device refresh <device-id>"),console.log(" $ bricks device control <device-id> clear-cache"),console.log(""),console.log(s.default.gray(" # Bind a new device")),console.log(' $ bricks device bind <passcode> -n "My Device"'),console.log(""),console.log(s.default.gray(" # List applications")),console.log(" $ bricks app list"),console.log(""),console.log(s.default.gray(" # Start interactive mode")),console.log(" $ bricks interactive"),console.log(""),console.log(s.default.gray(" # Change API endpoint")),console.log(" $ bricks config endpoint beta"),console.log(""),console.log(s.default.gray("Get workspace token from BRICKS Controller:")),console.log(s.default.cyan(" https://control.bricks.tools")),console.log(s.default.gray(" Go to Workspace Settings > API Token"))});var r=process.argv.slice(2);if(0===r.length){if((0,u.shouldStartInteractiveMode)(r))try{var n=(yield Promise.all([o.e(6370),o.e(5785),o.e(3332),o.e(2209),o.e(3690),o.e(907),o.e(9940)]).then(o.bind(o,92319))).runInteractiveMode;yield n();return}catch(e){console.error(s.default.red(`Failed to start interactive mode: ${e.message}`)),process.exit(1)}console.error(s.default.gray("No command provided. Interactive mode requires a TTY, so showing help instead.\n")),a.DM.outputHelp();return}yield a.DM.parseAsync(process.argv)}),function(){return n.apply(this,arguments)});let S=k;r()}catch(e){r(e)}})},31596(e,t,o){o.d(t,{GE:()=>n,YC:()=>r,jR:()=>i});var r=["InSubspace","Global"],n="Data Bank is not enabled for this workspace.",i=e=>{if(e&&!r.includes(e))throw Error(`Invalid meta "${e}" (expected ${r.join(" | ")})`)}},56493(e,t,o){o.r(t),o.d(t,{requireAuth:()=>l});var r=o(99436),n=o(73284),i=o(47988),a=o(29988),s=new Set(["$$typeof","asymmetricMatch","catch","constructor","finally","hasOwnProperty","inspect","nodeType","toJSON","toString","valueOf"]),l=()=>{var e,t,o,l,u=(0,i.getCurrentProfile)(),c=(0,i.getToken)(u);return c||(console.error(n.default.red("Not logged in. Use `bricks auth login` first.")),process.exit(1)),e=(0,i.getBaseUrl)(),t=null,o=r(function*(){return t||=Promise.resolve((0,a.i)()).then(({createClient:t})=>t(e,c))}),l=function(){return o.apply(this,arguments)},new Proxy({},{get:(e,t)=>t===Symbol.toStringTag?"BricksLazyClient":"string"!=typeof t||"then"===t||s.has(t)?void 0:r(function*(...e){var o=yield l(),r=o[t];return"function"==typeof r?r.apply(o,e):r})})}},7586(e,t,o){o.d(t,{$l:()=>i,GF:()=>r,OW:()=>n});var r=e=>{console.log(JSON.stringify(e,null,2))},n=(e,t={})=>{console.error(JSON.stringify({ok:!1,error:{message:e,...t}},null,2))},i=(e,t=4)=>e?e.length<=2*t?"*".repeat(e.length):`${e.slice(0,t)}…${e.slice(-t)}`:null},8479(e,t,o){o.r(t),o.d(t,{isInteractiveTerminal:()=>r,shouldStartInteractiveMode:()=>n});var r=()=>!!(process.stdin.isTTY&&process.stdout.isTTY&&"function"==typeof process.stdin.setRawMode),n=(e=[])=>0===e.length&&r()},47988(e,t,o){o.r(t),o.d(t,{CONFIG_DIR:()=>a,CONFIG_PATH:()=>s,clearBankCredentials:()=>$,clearConfig:()=>k,default:()=>S,getActivityLogBaseUrl:()=>E,getBankCredentials:()=>_,getBaseUrl:()=>u,getCurrentProfile:()=>y,getCurrentProfileSource:()=>v,getToken:()=>p,getTokenInfo:()=>f,getTokens:()=>d,listProfiles:()=>F,removeToken:()=>h,setActivityLogBaseUrl:()=>w,setBankCredentials:()=>C,setBaseUrl:()=>c,setCurrentProfile:()=>b,setProfileOverride:()=>D,setToken:()=>g});var r=o(83440),n=o(16928),i=o(70857),a=n.join(i.homedir(),".bricks-cli"),s=n.join(a,"config.json"),l=new r.default({projectName:"bricks-cli",cwd:a,schema:{tokens:{type:"object",default:{},additionalProperties:{type:"object",properties:{token:{type:"string"},name:{type:"string"},workspaceId:{type:"string"},workspaceName:{type:"string"},workspaceBilling:{type:"object"},createdAt:{type:"string"},baseUrl:{type:"string"},bank:{type:"object"}}}},currentProfile:{type:"string",default:"default"},baseUrl:{type:"string",default:"https://display.bricks.tools"},activityLogBaseUrl:{type:"string",default:"https://activity-log.bricks.tools"},devtoolsTokens:{type:"object",default:{},additionalProperties:{type:"object",additionalProperties:{type:"object",properties:{token:{type:"string"},expiresAt:{type:"string"},jti:{type:"string"},workspaceId:{type:"string"}}}}}}}),u=()=>{var e=y(),t=l.get("tokens");return t[e]?.baseUrl||l.get("baseUrl")},c=(e,t)=>{if(!t)return void l.set("baseUrl",e);var o=l.get("tokens");o[t]||(o[t]={}),o[t].baseUrl=e,l.set("tokens",o)},d=()=>l.get("tokens"),p=(e="default")=>{var t=l.get("tokens");return t[e]?.token},f=(e="default")=>l.get("tokens")[e],g=(e,t)=>{var o=l.get("tokens"),r=o[e];o[e]={...r?.baseUrl?{baseUrl:r.baseUrl}:{},...r?.activityLogBaseUrl?{activityLogBaseUrl:r.activityLogBaseUrl}:{},...t,createdAt:new Date().toISOString()},l.set("tokens",o)},h=e=>{var t=l.get("tokens");delete t[e],l.set("tokens",t)},m=null,D=e=>{m=e},y=()=>m||process.env.BRICKS_PROFILE||l.get("currentProfile"),v=()=>m?"override":process.env.BRICKS_PROFILE?"env":"config",b=e=>l.set("currentProfile",e),F=()=>{var e=l.get("tokens"),t=l.get("currentProfile");return Object.keys(e).map(o=>({...e[o],name:o,current:o===t}))},_=(e="default")=>{var t=l.get("tokens");return t[e]?.bank||null},C=(e,t)=>{var o=l.get("tokens");o[e]||(o[e]={}),o[e].bank=t,l.set("tokens",o)},$=e=>{var t=l.get("tokens");return!!t[e]?.bank&&(delete t[e].bank,l.set("tokens",t),!0)},E=()=>{var e=y(),t=l.get("tokens");return t[e]?.activityLogBaseUrl||l.get("activityLogBaseUrl")},w=(e,t)=>{if(!t)return void l.set("activityLogBaseUrl",e);var o=l.get("tokens");o[t]||(o[t]={}),o[t].activityLogBaseUrl=e,l.set("tokens",o)},k=()=>{l.clear()};let S=l},75646(e,t,o){o.r(t),o.d(t,{discoverDevToolsServers:()=>l,httpProbeSubnet:()=>u,verifyDevToolsServer:()=>c});var r,n,i=o(99436),a=o(19557),s="bricks-devtools",l=({timeout:e=3e3,idleTimeout:t=0}={})=>(0,a.YH)({port:19900,timeout:e,idleTimeout:t,buildQuery:()=>Buffer.from(JSON.stringify({t:"QUERY",v:"1.0",s:s,d:{id:`cli-${(0,a.BW)()}`}})),parseMessage:(e,t)=>{var o=(0,a.nl)(e,e=>e?.s===s);if(!o)return null;var r=t.address;return{key:`${r}:${o.port}`,value:{...o,address:r}}}}),u=(r=i(function*({port:e=19851,connectTimeout:t=500,concurrency:o=50,timeout:r=0}={}){var n=(0,a.r9)();if(0===n.length)return[];var s=[],l=r>0?Date.now()+r:0,u=[],d=new Set;for(var p of n){var f=p.address.split(".").slice(0,3).join(".");if(!d.has(f)){d.add(f);for(var g=1;g<255;g++)u.push(`${f}.${g}`)}}for(var h=0;h<u.length&&!(l&&Date.now()>=l);h+=o){var m=u.slice(h,h+o);yield Promise.allSettled(m.map(function(){var o=i(function*(o){var r=yield c(o,e,t);r&&s.push({...r,address:o,port:e})});return function(e){return o.apply(this,arguments)}}()))}return s}),function(){return r.apply(this,arguments)}),c=(n=i(function*(e,t,o=3e3){return(0,a.uE)(`http://${e}:${t}/devtools/info`,o)}),function(e,t){return n.apply(this,arguments)})},29988(e,t,o){o.d(t,{i:()=>r});var r=()=>"u">typeof module&&"function"==typeof module.require?module.require("../gql/client.js"):Promise.all([o.e(6370),o.e(5785),o.e(3332),o.e(2209),o.e(907)]).then(o.bind(o,85382))},19557(e,t,o){o.d(t,{BW:()=>s,YH:()=>d,nl:()=>u,r9:()=>c,uE:()=>p});var r,n=o(99436),i=o(41314),a=o(48161),s=()=>Math.random().toString(36).slice(2,9),l=new Set(["ANNOUNCE","RESPONSE"]),u=(e,t)=>{var o=JSON.parse(e.toString());return t(o)&&l.has(o.t)&&o.d?.info||null},c=()=>{var e=[];for(var t of Object.values(a.networkInterfaces()))for(var o of t)if(function(){if("IPv4"!==o.family||o.internal)return 1;var t=o.address.split(".").map(Number),r=o.netmask.split(".").map(Number),n=t.map((e,t)=>(e|255&~r[t]).toString()).join(".");e.push({address:o.address,broadcast:n})}())continue;return e},d=({port:e,timeout:t=3e3,idleTimeout:o=0,buildQuery:r,parseMessage:n})=>new Promise((a,s)=>{var l=new Map,u=i.createSocket("udp4"),d=null,p=null,f=!1,g=()=>{if(!f){f=!0,clearTimeout(d),clearTimeout(p);try{u.close()}catch{}a([...l.values()])}};u.on("error",e=>{if(!f){f=!0,clearTimeout(d),clearTimeout(p);try{u.close()}catch{}s(e)}}),u.on("message",(e,t)=>{try{var r=n(e,t);if(!r||l.has(r.key))return;l.set(r.key,r.value),o&&!f&&(clearTimeout(p),p=setTimeout(g,o))}catch{}}),u.bind(()=>{u.setBroadcast(!0);var o=r();for(var n of(()=>{var e=new Set(["255.255.255.255","127.0.0.1"]);for(var t of c())e.add(t.broadcast);return[...e]})())u.send(o,0,o.length,e,n);d=setTimeout(g,t)})}),p=(r=n(function*(e,t=3e3){var o;try{var r=new AbortController;o=setTimeout(()=>r.abort(),t);var n=yield fetch(e,{signal:r.signal});if(!n.ok)return null;return yield n.json()}catch{return null}finally{void 0!==o&&clearTimeout(o)}}),function(e){return r.apply(this,arguments)})},74049(e,t,o){o.d(t,{Ku:()=>s,w9:()=>a});var r=o(79896),n=o(16928),i=new Set(["CTOR","CTOR Desktop"]),a=e=>{var t,o=`Release by ${(t=process.env.BRICKS_RELEASE_SIGN)&&i.has(t)?t:"BRICKS CLI"}`;return e?`${e}
77
+ return systemRef.executeAction(subspaceId, ${JSON.stringify(r)})
78
+ })()`},el=/^\d+$/,es=e=>"string"==typeof e&&el.test(e),eu=(l=M(function*(e,a){yield e.send("DOM.enable");var t=yield e.send("DOM.resolveNode",{nodeId:Number(a)}),p=t?.object;if(!p)throw Error(`Node ${a} not found`);if("value"in p)return p.value;if(!p.objectId)throw Error(`Node ${a} did not resolve to metadata`);var o=yield e.send("Runtime.getProperties",{objectId:p.objectId,ownProperties:!0}),i=o.result,d=o.exceptionDetails;if(d)throw Error(d.text||`Cannot read node ${a}`);return(void 0===i?[]:i).reduce((e,a)=>(e[a.name]=(e=>{if(e)return"value"in e?e.value:e.unserializableValue||e.description})(a.value),e),{})}),function(e,a){return l.apply(this,arguments)}),em=(s=M(function*(e,{subspaceId:a,brickId:t}){var p=a,o=t,i={};if(es(a)){var d=yield eu(e,a);if(p=d.subspaceId||(String(d.shortId||"").startsWith("S_")?d.shortId:null),i.subspaceNodeId=Number(a),!p)throw Error(`Node ${a} is not inside a BRICKS subspace`)}if(es(t)){var r=yield eu(e,t);if(o=r.brickId||(String(r.shortId||"").startsWith("B_")?r.shortId:null),!es(a)&&r.subspaceId&&(p=r.subspaceId),i.brickNodeId=Number(t),!o)throw Error(`Node ${t} is not a BRICKS brick`)}return{subspaceId:p,brickId:o,...i}}),function(e,a){return s.apply(this,arguments)}),ec=(u=M(function*(e,a,{json:t,successMessage:p,jsonResult:o}){yield e.send("Runtime.enable");var i=yield e.send("Runtime.evaluate",{expression:a,objectGroup:"console",returnByValue:!0,awaitPromise:!0});if(i.exceptionDetails){var d=i.exceptionDetails;throw Error(d.exception?.description||d.exception?.value||d.text||"Runtime evaluation failed")}t?console.log(JSON.stringify({success:!0,...o},null,2)):console.log(L.default.green(p))}),function(e,a,t){return u.apply(this,arguments)}),ef=e=>{if(!e)return{};for(var a={},t=0;t<e.length;t+=2)a[e[t]]=e[t+1];return a},eh=e=>{if(!e)return null;var a=e.nodeName||e.localName||"unknown",t=e.id||e.shortId;t&&(a+=`#${t}`),e.title&&(a+=` "${e.title}"`);var p=[];return e.nodeId&&p.push(`node ${e.nodeId}`),e.shortId&&e.shortId!==t&&p.push(e.shortId),e.brickId&&e.brickId!==e.shortId&&p.push(e.brickId),e.templateKey&&p.push(e.templateKey),p.length>0?`${a} (${p.join(", ")})`:a},ev=(e,a="",t=!0,p=!0)=>{var o=[],i=p?"":t?" ":"│ ",d=e.nodeName||"#unknown";if(9===e.nodeType)d="#document";else if(3===e.nodeType){var r=e.nodeValue||"";d=L.default.gray(`"${r}"`)}else if(1===e.nodeType){var n=ef(e.attributes),l=n.id||n["short-id"];l&&(d+=L.default.gray(`#${l}`)),n.title&&(d+=` ${L.default.green(`"${n.title}"`)}`),void 0!==n.w&&void 0!==n.h&&(d+=L.default.blue(` ${n.w}\xd7${n.h}`),void 0!==n.x&&void 0!==n.y&&(d+=L.default.blue(` @${n.x},${n.y}`)));var s=[];void 0!==n.hide&&s.push(L.default.red("hidden")),void 0!==n.pressable&&s.push(L.default.yellow("pressable")),void 0!==n.editable&&s.push(L.default.yellow("editable")),s.length>0&&(d+=` [${s.join(", ")}]`)}o.push(`${a}${p?"":t?"└─ ":"├─ "}${d}`);var u=e.children||[];return u.forEach((e,t)=>{o.push(...ev(e,a+i,t===u.length-1,!1))}),o};ei.command("issue-token").description("Issue a workspace-scoped DevTools access token and save it to the CLI config (used automatically by devtools commands)").option("--ttl <seconds>","Time-to-live in seconds (default 30 days)",e=>parseInt(e,10)).option("-j, --json","Output as JSON").action((m=M(function*(e){var a=yield ep(),t=a.config,p=a.authContext,o=a.gqlClient,i=a.devtoolsToken,d=t.getCurrentProfile,r=t.CONFIG_PATH,n=p.getConnectionContext,l=o.createClient,s=i.getOrIssueDevtoolsToken,u=d(),m=n(u),c=m.auth,f=m.baseUrl;c||(console.error(L.default.red("Not logged in.")),console.error(L.default.gray("Use `bricks auth login` (OAuth) or `bricks auth login-workspace` (workspace token) first.")),process.exit(1));var h=l(f,c);try{var v=yield s({profile:u,client:h,ttlSeconds:e.ttl,force:!0});if(e.json)return void console.log(JSON.stringify({profile:u,workspaceId:v.workspaceId,expiresAt:v.expiresAt,jti:v.jti},null,2));console.log(L.default.green("✓"),"DevTools access token issued and saved."),console.log(` Profile: ${u}`),console.log(` Workspace: ${v.workspaceId}`),console.log(` Expires: ${v.expiresAt}`),console.log(` jti: ${L.default.gray(v.jti)}`),console.log(L.default.gray(` Saved to ${r}`))}catch(e){console.error(L.default.red(`Issue token failed: ${e.message}`)),process.exit(1)}}),function(e){return m.apply(this,arguments)})),ei.command("scan").description("Scan LAN for DevTools servers via UDP + HTTP").option("-t, --timeout <ms>","Scan timeout in milliseconds","3000").option("-j, --json","Output as JSON").option("--verify","Verify each discovered server via HTTP").option("--udp-only","Skip HTTP subnet probe (UDP only)").option("--no-project","Exclude local BRICKS project preview servers").option("-p, --port <port>","Port for HTTP probe","19851").action((c=M(function*(e){var a=(yield Promise.resolve().then(t.bind(t,30155))).default,p=yield Promise.resolve().then(t.bind(t,47988)),o=p.getCurrentProfile,i=p.getTokenInfo,d=parseInt(e.timeout,10),r=a(`Scanning for DevTools servers (${d}ms)...`).start();try{var n=yield z({timeout:d,verify:!!e.verify,udpOnly:!!e.udpOnly,project:!!e.project,port:parseInt(e.port,10),onStatus:e=>{r.text=e}});if(0===n.length){e.json?(r.stop(),console.log(JSON.stringify([],null,2))):r.info("No DevTools servers found on the network."),process.exit(0);return}r.stop(),e.json&&(console.log(JSON.stringify(n,null,2)),process.exit(0));var l=o(),s=i(l),u=s?.workspaceId||null;console.log(L.default.bold(`
79
+ Found ${n.length} DevTools server(s)`)),console.log("─".repeat(80));var m=function*(e){var a=!1===e.verified?L.default.red("unverified"):L.default.green("online"),t=ea(e),p=et(t),o=(e.protocols||[]).map(e=>L.default.cyan(e)).join(", "),i=e.workspaceId&&u&&e.workspaceId===u,d=e.addresses||[e.address],r=d.filter(a=>a!==e.address),n=r.length>0?`${e.address}:${e.port} +${r.length} more`:`${e.address}:${e.port}`;if(console.log(` ${L.default.bold(e.name||"Unknown")} ${L.default.gray(`(${n})`)} [${a}]`),r.length>0&&console.log(` Addresses: ${d.map(e=>L.default.gray(e)).join(", ")}`),e.version&&console.log(` Version: ${L.default.green(e.version)}`),e.chromeInspect){var l=e.passcode?L.default.cyan(e.passcode):L.default.gray("no passcode");console.log(` Chrome Inspect: ${L.default.green("supported")} (passcode: ${l})`)}var s=` Protocols: ${o||L.default.gray("none")} Auth: ${p}`;if(e.deviceId&&(s+=` Device: ${L.default.gray(e.deviceId)}`),console.log(s),e.workspaceId){var m=i?L.default.green(`${e.workspaceId} (current profile)`):L.default.gray(e.workspaceId);console.log(` Workspace: ${m}`)}};for(var c of n)yield*m(c);console.log("─".repeat(80));var f=n[0],h=`${f.address}:${f.port||19851}`,v=ea(f),g=f.passcode?`/ws/${encodeURIComponent(f.passcode)}`:"workspace-jwt"===v?"/ws/<workspace-token>":"/ws/<passcode>";console.log(L.default.gray(`
80
+ Connect via: http://${h}/devtools-frontend/inspector.html?ws=${h}${g}`)),console.log(L.default.gray(`Legacy: devtools://devtools/bundled/inspector.html?ws=${h}${g}`)),process.exit(0)}catch(e){r.fail(`Scan failed: ${e.message}`),process.exit(1)}}),function(e){return c.apply(this,arguments)})),ei.command("open <address>").description("Show DevTools server information").option("-p, --port <port>",`Server port (default: ${Z})`).option("--info","Show connection URLs").action((f=M(function*(e,a){var p=(yield Promise.resolve().then(t.bind(t,30155))).default,o=(yield Promise.resolve().then(t.bind(t,75646))).verifyDevToolsServer,i=X(e),d=i.host??Q,r=parseInt(a.port??i.port??Z,10),n=`${d}:${r}`,l=p(`Fetching server info from ${n}...`).start(),s=yield o(d,r);s||(l.fail(`Could not reach DevTools server at ${n}`),process.exit(1)),l.stop();var u=yield H(d,r),m=u?W(u?.[0]?.webSocketDebuggerUrl):null,c=ea(s),f=m?`/ws/${encodeURIComponent(m)}`:"workspace-jwt"===c?"/ws/<workspace-token>":"/ws/<passcode>";if(a.info){console.log(L.default.bold("Connection URLs")),console.log("─".repeat(60)),console.log(` Web UI: ${L.default.cyan(`http://${n}`)}`),console.log(` CDP: ${L.default.cyan(`http://${n}/devtools-frontend/inspector.html?ws=${n}${f}`)}`),console.log(` CDP legacy: ${L.default.cyan(`devtools://devtools/bundled/inspector.html?ws=${n}${f}`)}`),console.log(` MCP: ${L.default.cyan(`http://${n}/mcp`)}`),console.log(` MCP SSE: ${L.default.cyan(`http://${n}/sse`)}`),console.log(` Info: ${L.default.cyan(`http://${n}/devtools/info`)}`),console.log("─".repeat(60)),console.log(),console.log(L.default.bold("Authorization")),s.auth?.workspaceJwt?.enabled&&console.log(` Workspace JWT: ${L.default.green("enabled")} (kid: ${s.auth.workspaceJwt.kid})`),m&&console.log(` Passcode: ${L.default.cyan(m)}`),console.log(" MCP and MCP SSE require a Bearer token header:"),console.log(` ${L.default.gray(`Authorization: Bearer ${s.auth?.workspaceJwt?.enabled?"<workspace-token>":m||"<passcode>"}`)}`);return}if(console.log(L.default.bold("DevTools Server")),console.log("─".repeat(60)),console.log(` Name: ${L.default.cyan(s.name||"Unknown")}`),console.log(` Version: ${s.version?L.default.green(s.version):L.default.gray("N/A")}`),console.log(` Device ID: ${L.default.gray(s.deviceId||"N/A")}`),console.log(` Workspace: ${L.default.gray(s.workspaceId||"N/A")}`),console.log(` Protocols: ${(s.protocols||[]).map(e=>L.default.cyan(e)).join(", ")||L.default.gray("none")}`),console.log(` Auth: ${et(c)}`),console.log(` Port: ${s.port}`),u){var h=m?L.default.cyan(m):L.default.gray("no passcode");console.log(` Inspect: ${L.default.green("chrome://inspect supported")} (passcode: ${h})`)}else console.log(` Inspect: ${L.default.gray("chrome://inspect not available")}`);console.log("─".repeat(60)),s.version&&!ee(s.version)&&console.log(L.default.yellow(`
81
+ CDP commands require version >= ${Y}`)),console.log(L.default.gray(`
82
+ Use --info to see connection URLs`))}),function(e,a){return f.apply(this,arguments)})),ed(ei.command("screenshot").description("Capture device screenshot").option("-o, --output <path>","Output file path")).action((h=M(function*(e){var a;yield er(e,(a=M(function*(a){var p=yield a.send("Page.captureScreenshot",{format:"png"});p.data||(console.error(L.default.red("No screenshot data received")),process.exit(1));var o=yield Promise.resolve().then(t.t.bind(t,73024,19)),i=yield Promise.resolve().then(t.t.bind(t,76760,19)),d=e.output||`screenshot-${Date.now()}.png`,r=i.resolve(d);o.writeFileSync(r,Buffer.from(p.data,"base64")),console.log(L.default.green(`Screenshot saved to ${r}`))}),function(e){return a.apply(this,arguments)}))}),function(e){return h.apply(this,arguments)}));var eg=ei.command("brick").description("Brick component inspection");ed(eg.command("tree").description("Print brick component tree").option("-d, --depth <depth>","Max depth (-1 for full)","3")).action((v=M(function*(e){var a;yield er(e,(a=M(function*(a){yield a.send("DOM.enable");var t=parseInt(e.depth,10),p=(yield a.send("DOM.getDocument",{depth:t})).root;e.json?console.log(JSON.stringify(p,null,2)):console.log(ev(p).join("\n"))}),function(e){return a.apply(this,arguments)}))}),function(e){return v.apply(this,arguments)})),ed(eg.command("query <selector>").description("Find brick by CSS selector")).action((g=M(function*(e,a){var t;yield er(a,(t=M(function*(t){yield t.send("DOM.enable");var p=(yield t.send("DOM.getDocument",{depth:0})).root,o=(yield t.send("DOM.querySelector",{nodeId:p.nodeId,selector:e})).nodeId;if(0===o)return void console.log(L.default.yellow("No element found"));var i=yield t.send("DOM.describeNode",{nodeId:o}),d=ef((yield t.send("DOM.getAttributes",{nodeId:o})).attributes);if(a.json)return void console.log(JSON.stringify({nodeId:o,...i.node,attributes:d},null,2));if(console.log(L.default.bold(`Node ${o}: ${i.node?.nodeName||"unknown"}`)),Object.keys(d).length>0)for(var r of(console.log(L.default.bold("Attributes:")),Object.entries(d))){var n=R(r,2),l=n[0],s=n[1];console.log(` ${L.default.cyan(l)}: ${s}`)}}),function(e){return t.apply(this,arguments)}))}),function(e,a){return g.apply(this,arguments)})),ed(eg.command("query-all <selector>").description("Find all bricks matching CSS selector")).action((D=M(function*(e,a){var t;yield er(a,(t=M(function*(t){yield t.send("DOM.enable");var p=(yield t.send("DOM.getDocument",{depth:0})).root,o=(yield t.send("DOM.querySelectorAll",{nodeId:p.nodeId,selector:e})).nodeIds;if(a.json)return void console.log(JSON.stringify({nodeIds:o,count:o.length},null,2));for(var i of(console.log(L.default.bold(`Found ${o.length} element(s)`)),o)){var d=yield t.send("DOM.describeNode",{nodeId:i}),r=ef((yield t.send("DOM.getAttributes",{nodeId:i})).attributes),n=r.id||r["short-id"]||"";console.log(` ${i}: ${d.node?.nodeName}${n?L.default.gray(`#${n}`):""}`)}}),function(e){return t.apply(this,arguments)}))}),function(e,a){return D.apply(this,arguments)})),ed(eg.command("attributes <nodeId>").description("Get brick attributes")).action((y=M(function*(e,a){var t;yield er(a,(t=M(function*(t){yield t.send("DOM.enable");var p=parseInt(e,10),o=ef((yield t.send("DOM.getAttributes",{nodeId:p})).attributes);if(a.json)return void console.log(JSON.stringify(o,null,2));if(0===Object.keys(o).length)return void console.log(L.default.gray("No attributes"));for(var i of Object.entries(o)){var d=R(i,2),r=d[0],n=d[1];console.log(` ${L.default.cyan(r)}: ${n}`)}}),function(e){return t.apply(this,arguments)}))}),function(e,a){return y.apply(this,arguments)})),ed(eg.command("box-model <nodeId>").description("Get brick dimensions and position")).action((w=M(function*(e,a){var t;yield er(a,(t=M(function*(t){yield t.send("DOM.enable");var p=parseInt(e,10),o=(yield t.send("DOM.getBoxModel",{nodeId:p})).model;a.json?console.log(JSON.stringify(o,null,2)):(console.log(L.default.bold(`Box Model for node ${p}`)),console.log(` Width: ${o.width}`),console.log(` Height: ${o.height}`),o.content&&console.log(` Content: [${o.content.join(", ")}]`),o.padding&&console.log(` Padding: [${o.padding.join(", ")}]`),o.border&&console.log(` Border: [${o.border.join(", ")}]`),o.margin&&console.log(` Margin: [${o.margin.join(", ")}]`))}),function(e){return t.apply(this,arguments)}))}),function(e,a){return w.apply(this,arguments)})),ed(eg.command("resolve <nodeId>").description("Resolve brick to JavaScript object with properties")).action((b=M(function*(e,a){var t;yield er(a,(t=M(function*(t){yield t.send("DOM.enable");var p=parseInt(e,10),o=(yield t.send("DOM.resolveNode",{nodeId:p})).object;if(a.json)return void console.log(JSON.stringify(o,null,2));if(console.log(L.default.bold(`Resolved node ${p}`)),console.log(` Type: ${o.type}`),o.className&&console.log(` Class: ${o.className}`),o.description&&console.log(` Description: ${o.description}`),o.objectId&&console.log(` Object ID: ${L.default.gray(o.objectId)}`),o.preview?.properties)for(var i of(console.log(L.default.bold(" Properties:")),o.preview.properties))console.log(` ${L.default.cyan(i.name)}: ${i.value}`)}),function(e){return t.apply(this,arguments)}))}),function(e,a){return b.apply(this,arguments)})),ed(eg.command("focus <nodeId>").description("Focus a brick element")).action((_=M(function*(e,a){var t;yield er(a,(t=M(function*(a){yield a.send("DOM.enable");var t=parseInt(e,10);yield a.send("DOM.focus",{nodeId:t}),console.log(L.default.green(`Focused node ${t}`))}),function(e){return t.apply(this,arguments)}))}),function(e,a){return _.apply(this,arguments)})),ed(eg.command("input <subspaceId> <brickId> <text...>").description("Set text on a BRICK_TEXT_INPUT by subspace/brick id or node id")).action((C=M(function*(e,a,t,p){var o,i=Array.isArray(t)?t.join(" "):t;yield er(p,(o=M(function*(t){var o=yield em(t,{subspaceId:e,brickId:a});yield ec(t,(({subspaceId:e,brickId:a,text:t})=>en({subspaceId:e,handler:a,action:"BRICK_TEXT_INPUT_SET_TEXT",parameters:{BRICK_TEXT_INPUT_TEXT:t}}))({...o,text:i}),{json:p.json,successMessage:`Set text on ${o.brickId}`,jsonResult:{...o,action:"BRICK_TEXT_INPUT_SET_TEXT",text:i}})}),function(e){return o.apply(this,arguments)}))}),function(e,a,t,p){return C.apply(this,arguments)}));var eD=ei.command("input").description("Input emulation");ed(eD.command("tap <x> <y>").description("Tap/click at coordinates")).action((F=M(function*(e,a,t){var p;yield er(t,(p=M(function*(p){var o=parseFloat(e),i=parseFloat(a),d=yield p.send("Input.dispatchMouseEvent",{type:"mousePressed",x:o,y:i,button:"left",clickCount:1});yield p.send("Input.dispatchMouseEvent",{type:"mouseReleased",x:o,y:i,button:"left",clickCount:1}),(({x:e,y:a,tapResult:t,json:p})=>{if(p)return console.log(JSON.stringify({x:e,y:a,...t||{}},null,2));console.log(L.default.green(`Tapped at (${e}, ${a})`));var o=eh(t?.element||t?.tappedElement||t?.hitElement);if(!o)return console.log(L.default.yellow(" Element: none"));console.log(` Element: ${o}`);var i=t?.hitElement,d=t?.tappedElement;if(i&&d&&i.nodeId!==d.nodeId){var r=eh(i);r&&console.log(` Hit: ${r}`)}t&&!1===t.dispatched&&console.log(L.default.yellow(" Action: no pressable handler"))})({x:o,y:i,tapResult:d,json:t.json})}),function(e){return p.apply(this,arguments)}))}),function(e,a,t){return F.apply(this,arguments)})),ed(eD.command("key <key>").description("Dispatch key event (e.g., Enter, Escape, Tab)")).action((S=M(function*(e,a){var t;yield er(a,(t=M(function*(a){yield a.send("Input.dispatchKeyEvent",{type:"keyDown",key:e}),yield a.send("Input.dispatchKeyEvent",{type:"keyUp",key:e}),console.log(L.default.green(`Key: ${e}`))}),function(e){return t.apply(this,arguments)}))}),function(e,a){return S.apply(this,arguments)})),ed(ei.command("popup").description("System popup and alert control").command("close [popupId]").description("Close the current system alert/popup, or a popup by id/type").option("--type <type>","Popup clear type for SYSTEM POPUP_RESET").option("--subspace <subspaceId>","Subspace id to execute from (defaults to first subspace)")).action((E=M(function*(e,a){var t;yield er(a,(t=M(function*(t){yield ec(t,(({subspaceId:e,popupId:a,clearType:t})=>{var p={};return a&&(p.POPUP_ID=a),t&&(p.POPUP_CLEAR_TYPE=t),en({subspaceId:e,handler:"SYSTEM",action:"POPUP_RESET",parameters:p})})({subspaceId:a.subspace,popupId:e,clearType:a.type}),{json:a.json,successMessage:e?`Closed popup ${e}`:"Closed current popup",jsonResult:{subspaceId:a.subspace||null,popupId:e||null,clearType:a.type||null,action:"POPUP_RESET"}})}),function(e){return t.apply(this,arguments)}))}),function(e,a){return E.apply(this,arguments)}));var ey=ei.command("network").description("Network inspection");ed(ey.command("list").description("Capture snapshot of network activity").option("--duration <ms>","Capture duration in milliseconds","2000")).action((k=M(function*(e){var a;yield er(e,(a=M(function*(a){var t=new Map,p=parseInt(e.duration,10);a.on("Network.requestWillBeSent",e=>{t.set(e.requestId,{method:e.request.method,url:e.request.url,requestId:e.requestId,timestamp:e.timestamp})}),a.on("Network.responseReceived",e=>{var a=t.get(e.requestId);a&&(a.status=e.response.status,a.mimeType=e.response.mimeType)}),a.on("Network.loadingFailed",e=>{var a=t.get(e.requestId);a&&(a.error=e.errorText)}),yield a.send("Network.enable"),yield new Promise(e=>setTimeout(e,p)),yield a.send("Network.disable");var o=[...t.values()];if(e.json)return void console.log(JSON.stringify(o,null,2));if(console.log(L.default.bold(`Network Activity (captured ${(p/1e3).toFixed(1)}s, ${o.length} requests)`)),0===o.length)return void console.log(L.default.gray(" No network activity captured"));for(var i of o){var d=i.error?L.default.red("ERR"):i.status?i.status<300?L.default.green(i.status):i.status<400?L.default.yellow(i.status):L.default.red(i.status):L.default.gray("..."),r=i.url.length>60?i.url.substring(0,57)+"...":i.url;console.log(` ${d} ${L.default.bold(i.method.padEnd(6))} ${r} ${L.default.gray(`(${i.requestId})`)}`)}}),function(e){return a.apply(this,arguments)}))}),function(e){return k.apply(this,arguments)})),ed(ey.command("get <requestId>").description("Get response body for a network request")).action((A=M(function*(e,a){var t;yield er(a,(t=M(function*(t){yield t.send("Network.enable");var p=yield t.send("Network.getResponseBody",{requestId:e}),o=p.body,i=p.base64Encoded;a.json?console.log(JSON.stringify({body:o,base64Encoded:i},null,2)):i?console.log(L.default.gray(`[base64 encoded, ${o.length} chars]`)):console.log(o)}),function(e){return t.apply(this,arguments)}))}),function(e,a){return A.apply(this,arguments)}));var ew="bricks://app",eb="DATA-",e_="properties",eC="entries",eF=e=>{if(null==e||"object"!=typeof e)return{value:e};if("value"in e)return{value:e.value};if("unserializableValue"in e)return{value:e.unserializableValue};if(e.objectId){var a=e.preview?.properties;return Array.isArray(a)&&a.length>0?{value:a.reduce((e,a)=>(e[a.name]=a.value,e),{}),byRef:!0}:{value:e.description||`[${e.type}]`,byRef:!0}}return{value:"undefined"===e.type?void 0:e.description}},eS=e=>{var a=e.startsWith(eb)?e.slice(eb.length):e,t=a.indexOf(":");return t<0?{shortId:a,title:null}:{shortId:a.slice(0,t),title:a.slice(t+1)}},eE=e=>{if(e.startsWith("global:"))return{scope:"global",name:e.slice(7)};if(e.startsWith("subspace:")){var a=e.slice(9),t=a.indexOf(":");return t>0?{scope:"subspace",subspaceUuid:a.slice(0,t),name:a.slice(t+1)}:{scope:"subspace",subspaceUuid:a,name:""}}return{scope:null,name:e}},ek=(e=[])=>{var a=new Map,t=new Map,p=new Set;for(var o of e||[])if(o&&"object"==typeof o){var i=o.shortId,d=o.uuid;i&&p.add(i),d&&(p.add(d),a.set(d,o),t.set(d,d),i&&t.set(i,d))}return{byUuid:a,uuidByScope:t,knownScopes:p}},eA=(e=[])=>e?.byUuid&&e?.uuidByScope&&e?.knownScopes?e:ek(e),eN=(N=M(function*(e){try{var a=yield e.send("Runtime.evaluate",{expression:"JSON.stringify(Object.values(system.subspaces()).map((s) => ({ shortId: s.shortId, uuid: s.uuid, title: s.title })))",objectGroup:"console",returnByValue:!0}),t=a.result;if(a.exceptionDetails||"string"!=typeof t?.value)return[];return JSON.parse(t.value)}catch{return[]}}),function(e){return N.apply(this,arguments)}),e$=(e,{full:a=!1,width:t=100}={})=>{var p="string"==typeof e?e:JSON.stringify(e);return void 0===p?L.default.gray("undefined"):a||p.length<=t?p:`${p.substring(0,t)}…`},eO=(e,a)=>{var t=eA(a),p=e.subspaceUuid?t.byUuid.get(e.subspaceUuid):null;return{key:e.rawKey,scope:e.scope,...e.subspaceUuid?{subspaceUuid:e.subspaceUuid}:{},...p?.shortId?{subspaceShortId:p.shortId}:{},name:e.name,value:e.value}},ex=($=M(function*(e,{databaseName:a,objectStoreName:t,options:p}){var o=parseInt(p.skip??"0",10)||0,i=parseInt(p.limit??"25",10)||25,d=null;try{d=(yield e.send("IndexedDB.getMetadata",{securityOrigin:ew,databaseName:a,objectStoreName:t})).entriesCount}catch{}var r=yield e.send("IndexedDB.requestData",{securityOrigin:ew,databaseName:a,objectStoreName:t,indexName:"",skipCount:o,pageSize:i,returnByValue:!0}),n=r.objectStoreDataEntries,l=r.hasMore,s=!1,u=n.map(e=>{var a=eF(e.key).value,t=eF(e.value),p=t.value;return t.byRef&&(s=!0),{key:a,value:p}});if(p.json)return void console.log(JSON.stringify({database:a,objectStore:t,skip:o,limit:i,total:d,hasMore:!!l,entries:u},null,2));var m=null==d?"":` of ${d}`,c=o>0?`, skipped ${o}`:"";for(var f of(console.log(L.default.bold(`${a} / ${t} (${u.length}${m} entries${c})`)),console.log("─".repeat(60)),0===u.length&&console.log(L.default.gray(" No entries")),u)){var h=f.key,v=f.value,g="string"==typeof h?h:JSON.stringify(h);console.log(` ${L.default.cyan(g)}: ${e$(v,{full:!!p.full})}`)}l&&console.log(L.default.gray(" …more entries available — use -l/--limit and -s/--skip")),s&&console.log(L.default.yellow("\n Some values came back as object handles (device app without by-value reads).\n Update the device app to see full values."))}),function(e,a){return $.apply(this,arguments)}),eT=e=>e.option("-l, --limit <count>","Max items to fetch","25").option("-s, --skip <count>","Items to skip","0").option("--full","Do not truncate values"),eB=ei.command("storage").description("Storage inspection (read-only — CDP cannot mutate device storage)");ed(eB.command("list").description("Overview of all storage stores with entry counts")).action((O=M(function*(e){var a;yield er(e,(a=M(function*(a){yield a.send("DOMStorage.enable"),yield a.send("IndexedDB.enable");var t,p=(t=M(function*(e){return(yield a.send("DOMStorage.getDOMStorageItems",{storageId:{securityOrigin:ew,isLocalStorage:e}})).entries.length}),function(e){return t.apply(this,arguments)}),o=yield p(!0),i=yield p(!1),d=(yield a.send("IndexedDB.requestDatabaseNames",{securityOrigin:ew})).databaseNames,r=[];for(var n of d){var l=n.startsWith(eb)?e_:eC,s=null;try{s=(yield a.send("IndexedDB.getMetadata",{securityOrigin:ew,databaseName:n,objectStoreName:l})).entriesCount}catch{}r.push({name:n,objectStoreName:l,entriesCount:s})}var u=r.filter(e=>e.name.startsWith(eb)).map(e=>({...e,...eS(e.name)})),m=r.filter(e=>!e.name.startsWith(eb));if(e.json)return void console.log(JSON.stringify({system:{persist:o,memory:i},dataBanks:u,caches:m},null,2));var c=e=>null==e?L.default.gray("? entries"):`${e} entries`;for(var f of(console.log(L.default.bold("Storage Overview")+L.default.gray(" (read-only)")),console.log("─".repeat(60)),console.log(` ${L.default.bold("System storage")}${L.default.gray(" → storage system persist|memory")}`),console.log(` persist ${c(o)}`),console.log(` memory ${c(i)}`),console.log(` ${L.default.bold("Data banks")}${L.default.gray(" → storage data-bank get <S_xxxx|title>")}`),0===u.length&&console.log(L.default.gray(" none")),u)){var h=f.title?` "${f.title}"`:"";console.log(` ${L.default.cyan(f.shortId)}${h} ${c(f.entriesCount)}`)}for(var v of(console.log(` ${L.default.bold("Caches")}${L.default.gray(" → storage cache generator|generative-media")}`),0===m.length&&console.log(L.default.gray(" none")),m))console.log(` ${L.default.cyan(v.name)} ${c(v.entriesCount)}`);console.log("─".repeat(60))}),function(e){return a.apply(this,arguments)}))}),function(e){return O.apply(this,arguments)}));var eI=eB.command("system").description("System key-value storage"),ej=e=>e.option("--scope <scope>","Filter by scope: global or a subspace S_xxxx/UUID").option("--prefix <prefix>","Filter by key-name prefix (within the scope)").option("--full","Do not truncate values"),eV=(e,a)=>{var t;return t=M(function*(t){var p;yield er(t,(p=M(function*(p){yield p.send("DOMStorage.enable");var o=(yield p.send("DOMStorage.getDOMStorageItems",{storageId:{securityOrigin:ew,isLocalStorage:e}})).entries,i=yield eN(p),d=ek(i),r=((e,{scope:a,prefix:t,subspaceIndex:p=[]}={})=>{var o=eA(p),i=a&&"global"!==a?o.uuidByScope.get(a)||a:null;return e.map(([e,a])=>({rawKey:e,value:a,...eE(e)})).filter(e=>("global"!==a||"global"===e.scope)&&(!i||"subspace"===e.scope&&e.subspaceUuid===i)&&(!t||!!e.name.startsWith(t)))})(o,{scope:t.scope,prefix:t.prefix,subspaceIndex:d});if(t.json)return void console.log(JSON.stringify(r.map(e=>eO(e,d)),null,2));if(((e,{label:a,subspaceIndex:t,full:p})=>{var o=eA(t);if(console.log(L.default.bold(`${a} (${e.length} items)`)),console.log("─".repeat(60)),0===e.length)return console.log(L.default.gray(" No entries"));var i=null;for(var d of e){var r="subspace"===d.scope?`subspace:${d.subspaceUuid}`:d.scope;if(r!==i)if(i=r,"subspace"===d.scope){var n=o.byUuid.get(d.subspaceUuid),l=n?`${n.shortId}${n.title?` "${n.title}"`:""} `:"";console.log(` ${L.default.bold(`subspace ${l}`)}${L.default.gray(`(${d.subspaceUuid})`)}`)}else console.log(` ${L.default.bold(d.scope||"other")}`);var s=d.name||d.rawKey;console.log(` ${L.default.cyan(s)}: ${e$(d.value,{full:p,width:80})}`)}})(r,{label:a,subspaceIndex:d,full:!!t.full}),0===r.length&&t.scope&&"global"!==t.scope&&!d.knownScopes.has(t.scope)){var n=i.map(e=>e.shortId).join(", ");console.log(L.default.yellow(` Scope "${t.scope}" did not match a known subspace${n?` (known: ${n})`:""}`))}}),function(e){return p.apply(this,arguments)}))}),function(e){return t.apply(this,arguments)}};ej(ed(eI.command("persist").description("Show persistent system storage entries"))).action(eV(!0,"Persistent Storage")),ej(ed(eI.command("memory").description("Show in-memory system storage entries"))).action(eV(!1,"Memory Storage")),ed(eI.command("get <key>").description("Show a single system storage value (full, untruncated)").option("--scope <scope>","Key scope: global (default) or a subspace S_xxxx/UUID","global").option("--memory","Read from in-memory storage instead of persistent")).action((x=M(function*(e,a){var t;yield er(a,(t=M(function*(t){yield t.send("DOMStorage.enable");var p=(yield t.send("DOMStorage.getDOMStorageItems",{storageId:{securityOrigin:ew,isLocalStorage:!a.memory}})).entries,o=ek((yield eN(t))),i=[e];if("global"===a.scope)i.push(`global:${e}`);else{var d=o.uuidByScope.get(a.scope)||a.scope;i.push(`subspace:${d}:${e}`)}var r=p.map(([e,a])=>({rawKey:e,value:a,...eE(e)})).find(e=>i.includes(e.rawKey));if(!r){var n=p.map(([e])=>e).filter(a=>a.toLowerCase().includes(e.toLowerCase())).slice(0,5);if(n.length>0)for(var l of(console.error(L.default.yellow("Similar keys:")),n))console.error(` ${l}`);throw Error(`Key not found: ${i[i.length-1]}`)}if(a.json)return void console.log(JSON.stringify(eO(r,o),null,2));if("string"==typeof r.value)try{console.log(JSON.stringify(JSON.parse(r.value),null,2));return}catch{}console.log("string"==typeof r.value?r.value:JSON.stringify(r.value,null,2))}),function(e){return t.apply(this,arguments)}))}),function(e,a){return x.apply(this,arguments)}));var eP=eB.command("data-bank").description("Data bank (Property Bank) stores");ed(eP.command("list").description("List data banks")).action((T=M(function*(e){var a;yield er(e,(a=M(function*(a){yield a.send("IndexedDB.enable");var t=(yield a.send("IndexedDB.requestDatabaseNames",{securityOrigin:ew})).databaseNames,p=[];for(var o of t.filter(e=>e.startsWith(eb))){var i=null;try{i=(yield a.send("IndexedDB.getMetadata",{securityOrigin:ew,databaseName:o,objectStoreName:e_})).entriesCount}catch{}p.push({name:o,...eS(o),entriesCount:i})}if(e.json)return void console.log(JSON.stringify(p,null,2));for(var d of(console.log(L.default.bold(`Data Banks (${p.length})`)),console.log("─".repeat(60)),0===p.length&&console.log(L.default.gray(" No data banks")),p)){var r=d.title?` ${L.default.green(`"${d.title}"`)}`:"",n=null===d.entriesCount||void 0===d.entriesCount?"":L.default.gray(` ${d.entriesCount} entries`);console.log(` ${L.default.cyan(d.shortId)}${r}${n}`)}console.log(L.default.gray("\nInspect: bricks devtools storage data-bank get <S_xxxx|title>"))}),function(e){return a.apply(this,arguments)}))}),function(e){return T.apply(this,arguments)})),eT(ed(eP.command("get <bank> [store]").description(`Show data bank entries — <bank> accepts a subspace S_xxxx, a title keyword, or the full DATA-* database name; [store] defaults to "${e_}"`))).action((B=M(function*(e,a,t){var p;yield er(t,(p=M(function*(p){yield p.send("IndexedDB.enable");var o=(yield p.send("IndexedDB.requestDatabaseNames",{securityOrigin:ew})).databaseNames,i=((e,a)=>{var t=e.filter(e=>e.startsWith(eb)),p=t.find(e=>e===a||e===`${eb}${a}`);if(p)return{match:p};if(a.startsWith("S_")){var o=t.filter(e=>eS(e).shortId===a);if(1===o.length)return{match:o[0]};if(o.length>1)return{candidates:o}}var i=a.toLowerCase(),d=t.filter(e=>e.slice(eb.length).toLowerCase().includes(i));return 1===d.length?{match:d[0]}:{candidates:d}})(o,e);if(!i.match){var d=o.filter(e=>e.startsWith(eb)),r=(i.candidates?.length||0)>1,n=r?i.candidates:d;for(var l of(console.error(L.default.yellow(r?`Data bank "${e}" is ambiguous. Candidates:`:`Data bank "${e}" not found. Available:`)),n)){var s=eS(l),u=s.shortId,m=s.title;console.error(` ${u}${m?` "${m}"`:""}`)}process.exit(1)}yield ex(p,{databaseName:i.match,objectStoreName:a||e_,options:t})}),function(e){return p.apply(this,arguments)}))}),function(e,a,t){return B.apply(this,arguments)}));var eR=eB.command("cache").description("Cache stores (generator, generative-media)"),eM=e=>{var a;return a=M(function*(a){var t;yield er(a,(t=M(function*(t){yield t.send("IndexedDB.enable"),yield ex(t,{databaseName:e,objectStoreName:eC,options:a})}),function(e){return t.apply(this,arguments)}))}),function(e){return a.apply(this,arguments)}};eT(ed(eR.command("generator").description("Show generator cache entries"))).action(eM("GENERATOR_CACHE")),eT(ed(eR.command("generative-media").description("Show generative media cache entries"))).action(eM("GENERATIVE_MEDIA_CACHE")),eT(ed(eB.command("generator-cache",{hidden:!0}).description("Alias of `storage cache generator`"))).action(eM("GENERATOR_CACHE"));var eU=ei.command("runtime").description("Runtime and evaluation");ed(eU.command("eval <expression>").description("Evaluate JavaScript expression").option("--await","Await promise result")).action((I=M(function*(e,a){var t;yield er(a,(t=M(function*(t){yield t.send("Runtime.enable");var p=yield t.send("Runtime.evaluate",{expression:e,objectGroup:"console",returnByValue:!0,awaitPromise:!!a.await,generatePreview:!0});if(a.json)return void console.log(JSON.stringify(p,null,2));p.exceptionDetails&&(console.error(L.default.red(`Error: ${p.exceptionDetails.text}`)),p.exceptionDetails.exception?.description&&console.error(L.default.red(p.exceptionDetails.exception.description)),process.exit(1));var o=p.result;"undefined"===o.type?console.log(L.default.gray("undefined")):void 0!==o.value?console.log("object"==typeof o.value?JSON.stringify(o.value,null,2):String(o.value)):o.description?console.log(o.description):console.log(L.default.gray(`[${o.type}${o.subtype?`:${o.subtype}`:""}]`))}),function(e){return t.apply(this,arguments)}))}),function(e,a){return I.apply(this,arguments)})),ed(eU.command("properties <objectId>").description("Get properties of a remote object")).action((j=M(function*(e,a){var t;yield er(a,(t=M(function*(t){var p=(yield t.send("Runtime.getProperties",{objectId:e,ownProperties:!0})).result;if(a.json)return void console.log(JSON.stringify(p,null,2));for(var o of(console.log(L.default.bold(`Properties of ${e}`)),p))if(o.enumerable){var i=o.value,d=i?.description||i?.value?.toString()||L.default.gray(`[${i?.type}]`);console.log(` ${L.default.cyan(o.name)}: ${d}`)}}),function(e){return t.apply(this,arguments)}))}),function(e,a){return j.apply(this,arguments)}));var eL=ei.command("simulator").description("Inspect simulated peripherals (Application Simulator / web preview servers only)").command("thermal-printer").description("Simulated thermal printers and their print results"),eq="This DevTools server does not expose simulator inspection. Connect to an Application Simulator preview (e.g. the CTOR project simulator) running a preview build with the Simulator CDP domain.",eJ=e=>{if(!e)return"unknown time";var a=new Date(e);return Number.isNaN(a.getTime())?"unknown time":a.toLocaleString()},eG=e=>{if(e.raw)return"raw data";var a=(e=>{if(!e?.length)return"";var a=[];for(var t of e){var p=a[a.length-1];p&&p.type===t?p.count+=1:a.push({type:t,count:1})}return a.map(({type:e,count:a})=>a>1?`${e}\xd7${a}`:e).join(", ")})(e.commandTypes);return`${e.commandCount} command(s)${a?`: ${a}`:""}`};ed(eL.command("list").description("List simulated thermal printers and their print history").option("--commands","Include full print command payloads (use with -j)")).action((V=M(function*(e){var a;yield er(e,(a=M(function*(a){var t=yield a.send("Simulator.listThermalPrinters",{includeCommands:!!e.commands}),p=t?.printers;if(Array.isArray(p)||(console.error(L.default.red(eq)),process.exit(1)),e.json)return void console.log(JSON.stringify(p,null,2));if(0===p.length){console.log(L.default.yellow("No simulated thermal printers registered.")),console.log(L.default.gray("A printer appears once the application configures GENERATOR_THERMAL_PRINTER."));return}for(var o of(console.log(L.default.bold(`Simulated Thermal Printers (${p.length})`)),console.log("─".repeat(60)),p)){var i=o.errored?L.default.red("fault"):o.connected?L.default.green("connected"):L.default.gray("idle");console.log(` ${L.default.bold(o.label||o.driver)} ${L.default.gray(`(${o.driver})`)} [${i}]`),console.log(` Printer ID: ${L.default.cyan(o.id)}`),o.connectString&&console.log(` Connect: ${L.default.gray(o.connectString)}`);var d=o.printHistory||[];if(0===d.length){console.log(L.default.gray(" No print results yet."));continue}var r="memory"===o.printHistorySource?L.default.gray(" (restored from memory)"):"";for(var n of(console.log(` Print results, newest first${r}:`),d))console.log(` --index ${n.index} ${eJ(n.printedAt)} ${L.default.gray(eG(n))}`)}console.log("─".repeat(60)),console.log(L.default.gray("Save one as PNG: bricks devtools simulator thermal-printer print-result"))}),function(e){return a.apply(this,arguments)}))}),function(e){return V.apply(this,arguments)})),ed(eL.command("print-result").description("Render a simulated print result to a PNG image").option("--printer <id>","Printer ID (see `list`; defaults to the only registered printer)").option("-i, --index <n>","Print history index, 0 = latest","0").option("--scale <factor>","Image scale factor (1-4)","2").option("-o, --output <path>","Output file path")).action((P=M(function*(e){var a;yield er(e,(a=M(function*(a){var p=yield a.send("Simulator.captureThermalPrinterPrintResult",{id:e.printer,index:parseInt(e.index,10)||0,scale:parseFloat(e.scale)||2},3e4);p?.data||(console.error(L.default.red(eq)),process.exit(1));var o=yield Promise.resolve().then(t.t.bind(t,73024,19)),i=yield Promise.resolve().then(t.t.bind(t,76760,19)),d=e.output||`print-result-${Date.now()}.png`,r=i.resolve(d);(o.writeFileSync(r,Buffer.from(p.data,"base64")),e.json)?console.log(JSON.stringify({path:r,id:p.id,driver:p.driver,label:p.label,index:p.index,printedAt:p.printedAt,width:p.width,height:p.height},null,2)):(console.log(L.default.green(`Print result saved to ${r}`)),console.log(` Printer: ${p.label} ${L.default.gray(`(${p.driver}, ${p.id})`)}`),console.log(` Printed: ${eJ(p.printedAt)} (--index ${p.index})`),p.width&&p.height&&console.log(` Size: ${p.width}\xd7${p.height}`))}),function(e){return a.apply(this,arguments)}))}),function(e){return P.apply(this,arguments)}))},70970(e,a,t){t.d(a,{l:()=>r});var p=t(99436),o=t(35679),i=t(7586),d=()=>Promise.all([t.e(3332),t.e(8295),t.e(907),t.e(2486)]).then(t.bind(t,421)),r=(({loadDoctorModule:e=d}={})=>{var a;return new o.uB("doctor").description("Check CLI configuration, auth state, and workspace reachability").option("-j, --json","Output as JSON").action((a=p(function*(a){try{var t=yield e(),p=t.buildDoctorReport,o=t.renderDoctorReport,d=yield p();if(a.json)return void(0,i.GF)(d);console.log(o(d))}catch(e){a.json?(0,i.OW)(e.message):console.error(`Doctor failed: ${e.message}`),process.exit(1)}}),function(e){return a.apply(this,arguments)}))})()},28634(e,a,t){t.d(a,{p:()=>_});var p,o,i,d,r,n,l,s=t(68832),u=t(99436),m=t(35679),c=t(73284),f=t(30155),h=t(7586),v=t(56493),g=t(68168),D=t(98593),y=e=>{if(!e)return c.default.gray("○");var a=Date.now()-new Date(e).getTime();return a<=3e5?c.default.green("●"):60>Math.floor(a/6e4)?c.default.yellow("○"):c.default.red("○")},w=(e,a)=>(0,D.H_)(e,a,{deviceCount:e?.devices?.length||0}),b=["refresh","clear-cache","system-menu-open","system-menu-close","system-info-open","system-info-close","local-sync-panel-open","local-sync-panel-close","debug-panel-open","debug-panel-close","logging-on","logging-off","test-panel-open","test-panel-close"],_=new m.uB("group").description("Device Group management");_.command("list").description("List all device groups").option("-j, --json","Output as JSON").action((p=u(function*(e){var a=(0,v.requireAuth)(),t=(0,f.default)("Fetching device groups...").start();try{var p=yield a.deviceGroups({});if(t.stop(),e.json)return void console.log(JSON.stringify(p,null,2));if(!p||0===p.length)return void console.log(c.default.yellow("No device groups found"));console.log(c.default.bold("\nDevice Groups")),console.log("─".repeat(80)),p.forEach(e=>{var a=e.devices?.length||0;console.log(`● ${c.default.cyan(e.name)} ${c.default.gray(`(${a} devices)`)}`),console.log(` ID: ${c.default.gray(e._id)}`),e.description&&console.log(` ${c.default.gray(e.description)}`),console.log()})}catch(e){t.fail(`Failed to list groups: ${e.message}`),process.exit(1)}}),function(e){return p.apply(this,arguments)})),_.command("get <id>").description("Get device group details").option("-j, --json","Output as JSON").action((o=u(function*(e,a){var t=(0,v.requireAuth)(),p=(0,f.default)("Fetching device group...").start();try{var o=yield t.deviceGroup({id:e});if(p.stop(),o||(console.log(c.default.red("Device group not found")),process.exit(1)),a.json)return void console.log(JSON.stringify(o,null,2));console.log(c.default.bold(`
83
+ Device Group: ${o.name}`)),console.log("─".repeat(60)),console.log(`ID: ${c.default.gray(o._id)}`),console.log(`Description: ${o.description||c.default.gray("N/A")}`),console.log(`Tags: ${o.tags?.join(", ")||c.default.gray("None")}`),console.log(`Created: ${c.default.gray(o.create_datetime)}`),console.log(`Modified: ${c.default.gray(o.last_modify_datetime)}`),o.devices?.length>0&&(console.log(`
84
+ ${c.default.bold("Devices")} (${o.devices.length})`),o.devices.forEach(e=>{var a=e.device_target_name||e.device_id;console.log(` - ${a} ${c.default.gray(`(${e.device_id})`)}`)})),console.log("─".repeat(60))}catch(e){p.fail(`Failed to get group: ${e.message}`),process.exit(1)}}),function(e,a){return o.apply(this,arguments)})),_.command("resolve <query>").description("Resolve a device group name or ID to stable IDs").option("-l, --limit <limit>","Limit search results",e=>Number.parseInt(e,10),10).option("-j, --json","Output as JSON").action((i=u(function*(e,a){var t=(0,v.requireAuth)(),p=a.json?null:(0,f.default)("Resolving device group...").start();try{var o=yield(0,g.Y)(()=>t.deviceGroup({id:e})),i=o?[o]:yield t.deviceGroups({paginate:{limit:a.limit}}),d=o?i:(i||[]).filter(a=>a.name?.toLowerCase().includes(e.trim().toLowerCase())),r=(0,g.K)({resource:"group",query:e,items:d||[],fields:["_id","name"],selectedBy:o?"id":null});if(p&&p.stop(),a.json)return void(0,h.GF)(r);if(r.resolved){var n=r.resolved;console.log(c.default.bold("\nResolved Device Group")),console.log("─".repeat(60)),console.log(`Name: ${c.default.cyan(n.name||"Unnamed")}`),console.log(`ID: ${c.default.gray(n._id)}`),console.log(`Selected By: ${r.selectedBy}`),console.log("─".repeat(60));return}if(0===r.matches.length)return void console.log(c.default.yellow(`No device groups matched "${e}"`));console.log(c.default.bold(`
85
+ Matching Device Groups (${r.matches.length})`)),console.log("─".repeat(80)),r.matches.forEach(e=>{console.log(`${c.default.cyan(e.name||"Unnamed")} ${c.default.gray(e._id)}`)}),console.log("─".repeat(80))}catch(a){p?p.fail(`Failed to resolve device group: ${a.message}`):(0,h.OW)(a.message,{resource:"group",query:e}),process.exit(1)}}),function(e,a){return i.apply(this,arguments)})),_.command("devices <id>").description("List devices in a group with status").option("-j, --json","Output as JSON").action((d=u(function*(e,a){var t=(0,v.requireAuth)(),p=(0,f.default)("Fetching devices...").start();try{var o=yield t.devicesByGroup({id:e});if(p.stop(),a.json)return void console.log(JSON.stringify(o,null,2));if(!o||0===o.length)return void console.log(c.default.yellow("No devices in this group"));console.log(c.default.bold("\nDevices in Group")),console.log("─".repeat(80)),o.forEach(e=>{var a=e.device||{},t=a.entry_detail?.watch_dog_timer?.last_alive_time,p=y(t),o=a.name||a.device_name||e.target_name||a._id||"Unknown",i=a.entry_detail?.application?.name||c.default.gray("No app");console.log(`${p} ${c.default.cyan(o.padEnd(30))} ${i}`)}),console.log("─".repeat(80))}catch(e){p.fail(`Failed to get devices: ${e.message}`),process.exit(1)}}),function(e,a){return d.apply(this,arguments)})),_.command("dispatch <id> <action>").description("Dispatch action to all devices in group").option("--dry-run","Validate inputs and show the dispatch plan without sending it").option("-j, --json","Output as JSON").action((r=u(function*(e,a,t){var p=(0,v.requireAuth)(),o=t.json?null:(0,f.default)(`Dispatching ${a}...`).start();b.includes(a)||(t.json?(0,h.OW)(`Invalid action. Valid actions: ${b.join(", ")}`,{action:"group.dispatch",target:{id:e}}):o.fail(`Invalid action. Valid actions: ${b.join(", ")}`),process.exit(1));try{var i=yield p.deviceGroup({id:e});if(!i)throw Error("Device group not found");if(t.dryRun){o&&o.stop(),(0,D.S5)({action:"group.dispatch",target:w(i,e),request:{action:a},checks:[(0,D.Iy)("group exists",!0,`${i.name} (${i._id})`),(0,D.Iy)("action is valid",!0)],json:t.json});return}var d=yield p.dispatchDeviceGroupAction({id:e,action:a});t.json?(0,D.yd)({action:"group.dispatch",target:w(i,e),result:{action:a,dispatched:d?.dispatched||0,devices:d?.devices||0},json:!0}):(o.succeed(`Action dispatched: ${c.default.green(a)}`),d&&(console.log(`Dispatched: ${c.default.green(d.dispatched||0)}`),console.log(`Devices: ${c.default.gray(d.devices||0)}`)))}catch(a){t.json?(0,h.OW)(a.message,{action:"group.dispatch",target:{id:e}}):o.fail(`Failed to dispatch action: ${a.message}`),process.exit(1)}}),function(e,a,t){return r.apply(this,arguments)})),_.command("refresh <id>").description("Refresh all devices in group").option("--dry-run","Validate inputs and show the refresh plan without sending it").option("-j, --json","Output as JSON").action((n=u(function*(e,a){var t=(0,v.requireAuth)(),p=a.json?null:(0,f.default)("Refreshing devices...").start();try{var o=yield t.deviceGroup({id:e});if(!o)throw Error("Device group not found");if(a.dryRun){p&&p.stop(),(0,D.S5)({action:"group.refresh",target:w(o,e),request:{action:"refresh"},checks:[(0,D.Iy)("group exists",!0,`${o.name} (${o._id})`)],json:a.json});return}var i=yield t.dispatchDeviceGroupAction({id:e,action:"refresh"});a.json?(0,D.yd)({action:"group.refresh",target:w(o,e),result:{dispatched:i?.dispatched||0,devices:i?.devices||0},json:!0}):(p.succeed("Devices refreshed"),i&&(console.log(`Dispatched: ${c.default.green(i.dispatched||0)}`),console.log(`Devices: ${c.default.gray(i.devices||0)}`)))}catch(t){a.json?(0,h.OW)(t.message,{action:"group.refresh",target:{id:e}}):p.fail(`Failed to refresh: ${t.message}`),process.exit(1)}}),function(e,a){return n.apply(this,arguments)})),_.command("monitor <id>").description("Monitor devices in group (polls every 60s)").option("-i, --interval <seconds>","Polling interval in seconds","60").action((l=u(function*(e,a){var t,p=(0,v.requireAuth)(),o=1e3*parseInt(a.interval,10);console.log(c.default.bold("\nDevice Group Monitor")),console.log(c.default.gray(`Polling every ${a.interval}s. Press Ctrl+C to stop.
86
+ `));var i=(t=u(function*(){try{var a=yield Promise.all([p.deviceGroup({id:e}),p.devicesByGroup({id:e})]),t=s(a,2),o=t[0],i=t[1];if(process.stdout.write("\x1b[2J\x1b[0f"),console.log(c.default.bold(`Device Group: ${o.name}`)+c.default.gray(` - ${new Date().toLocaleTimeString()}`)),console.log("─".repeat(80)),!i||0===i.length)return void console.log(c.default.yellow("No devices in this group"));var d=0,r=0;i.forEach(e=>{var a=e.device||{},t=a.entry_detail?.watch_dog_timer?.last_alive_time,p=y(t),o=a.name||a.device_name||e.target_name||a._id||"Unknown",i=a.entry_detail?.application?.name||c.default.gray("No app");t&&Date.now()-new Date(t).getTime()<=3e5?d++:r++,console.log(`${p} ${c.default.cyan(o.padEnd(30))} ${i}`)}),console.log("─".repeat(80)),console.log(`Online: ${c.default.green(d)} Offline: ${c.default.red(r)}`),console.log(`
87
+ ${c.default.gray("Press Ctrl+C to stop")}`)}catch(e){console.error(c.default.red(`Error: ${e.message}`))}}),function(){return t.apply(this,arguments)});yield i(),setInterval(i,o)}),function(e,a){return l.apply(this,arguments)}))},68473(e,a,t){t.d(a,{K:()=>u});var p,o,i=t(99436),d=t(35679),r=t(73284),n=t(47988),l=t(31802),s=(p=i(function*(e){return(0,(yield Promise.all([t.e(9866),t.e(3332),t.e(6645),t.e(4479),t.e(7648),t.e(853),t.e(1010),t.e(8117)]).then(t.bind(t,98372))).startStdioServer)(e)}),function(e){return p.apply(this,arguments)}),u=new d.uB("mcp").description("MCP server management");u.command("start").description("Start the BRICKS MCP server in STDIO mode").option("-t, --token <token>","API token (overrides saved token)").action((o=i(function*(e){var a=(0,n.getCurrentProfile)(),t=(0,l.getConnectionContext)(a),p=t.auth,o=t.baseUrl,i=t.activityLogBaseUrl,d=e.token?null:p,u=e.token||(d?.kind==="token"?d.token:null);u||d||(console.error(r.default.red("Error: No API credential found.")),console.error(r.default.gray("Please login first with: bricks auth login")),console.error(r.default.gray("Or provide a token with: bricks mcp start --token <token>")),process.exit(1));try{yield s({...u?{token:u}:{getAuthHeaders:d.getHeaders},baseUrl:o,activityLogBaseUrl:i})}catch(e){console.error(r.default.red(`Failed to start MCP server: ${e.message}`)),process.exit(1)}}),function(e){return o.apply(this,arguments)}))},12569(e,a,t){t.d(a,{u:()=>y});var p,o,i,d,r,n,l,s,u,m=t(68832),c=t(99436),f=t(35679),h=()=>(s||(s=Promise.all([Promise.resolve().then(t.bind(t,73284)),Promise.resolve().then(t.bind(t,30155)),Promise.resolve().then(t.bind(t,56493)),t.e(831).then(t.bind(t,60450))]).then(([e,a,t,p])=>({chalk:e.default,ora:a.default,requireAuth:t.requireAuth,isMediaEnabled:p.isMediaEnabled,buildScreenshotUrl:p.buildScreenshotUrl}))),s),v=(p=c(function*(e,a){var t=yield e.workspace();if(!a.isMediaEnabled(t))throw Error("Media workspace not enabled for this workspace")}),function(e,a){return p.apply(this,arguments)}),g=e=>{var a=e.meta||{};if(!a.originalFileUploaded)return{ready:!1,label:"Uploading"};if("Video"===e.fileType){if(!a.videoThumbOriginalFileKey)return{ready:!1,label:"Processing"};if(!a.convertedFileUploaded)return{ready:!1,label:"Transcoding"}}return{ready:!0,label:"Ready"}},D=(e,a)=>e.ready?a.green(e.label):a.yellow(e.label),y=new f.uB("media").description("Media Flow support");y.command("boxes").description("List Media Flow boxes").option("-j, --json","Output as JSON").action((o=c(function*(e){var a=yield h(),t=a.chalk,p=a.requireAuth(),o=a.ora("Fetching media boxes...").start();try{yield v(p,a);var i=yield p.mediaBoxes();if(o.stop(),e.json)return void console.log(JSON.stringify(i,null,2));if(!i||0===i.length)return void console.log(t.yellow("No media boxes found"));console.log(t.bold("\nMedia Boxes")),console.log("─".repeat(80)),i.forEach(e=>{console.log(`${t.cyan(e.name||"Unnamed")} ${t.gray(e.id)}`),e.description&&console.log(` ${e.description}`),e.tags?.length&&console.log(` Tags: ${e.tags.join(", ")}`),null!=e.size&&console.log(` Size: ${e.size}`),console.log()})}catch(e){o.fail(`Failed to list media boxes: ${e.message}`),process.exit(1)}}),function(e){return o.apply(this,arguments)})),y.command("box <id>").description("Get Media Flow box details").option("-j, --json","Output as JSON").action((i=c(function*(e,a){var t=yield h(),p=t.chalk,o=t.requireAuth(),i=t.ora("Fetching media box...").start();try{yield v(o,t);var d=yield o.mediaBox({id:e});if(i.stop(),d||(console.log(p.red("Media box not found")),process.exit(1)),a.json)return void console.log(JSON.stringify(d,null,2));console.log(p.bold(`
88
+ Media Box: ${d.name||"Unnamed"}`)),console.log("─".repeat(60)),console.log(`ID: ${p.gray(d.id)}`),console.log(`Description: ${d.description||p.gray("N/A")}`),console.log(`Tags: ${d.tags?.join(", ")||p.gray("None")}`),null!=d.size&&console.log(`Size: ${d.size}`),d.passcodes?.length&&(console.log(`
89
+ ${p.bold("Passcodes")}`),d.passcodes.forEach(e=>{console.log(`- ${e.name||"Passcode"}: ${e.code}`)})),console.log("─".repeat(60))}catch(e){i.fail(`Failed to get media box: ${e.message}`),process.exit(1)}}),function(e,a){return i.apply(this,arguments)})),y.command("files <boxId>").description("List Media Flow files in a box").option("-t, --types <types>","Comma-separated file types to include").option("-u, --user-tag <tag>","Filter by user tag (repeatable)",(e,a)=>[...a,e],[]).option("-l, --limit <limit>","Limit results",e=>Number.parseInt(e,10)).option("-o, --offset <offset>","Offset results",e=>Number.parseInt(e,10)).option("-j, --json","Output as JSON").action((d=c(function*(e,a){var t=yield h(),p=t.chalk,o=t.requireAuth(),i=t.ora("Fetching media files...").start();try{yield v(o,t);var d=a.types?a.types.split(",").map(e=>e.trim()).filter(Boolean):void 0,r=a.userTag?.length?a.userTag:void 0,n=yield o.mediaFiles({boxId:e,includeTypes:d,userTags:r,limit:a.limit,offset:a.offset});if(i.stop(),a.json)return void console.log(JSON.stringify(n,null,2));if(!n||0===n.length)return void console.log(p.yellow("No media files found"));console.log(p.bold(`
90
+ Media Files (${n.length})`)),console.log("─".repeat(100)),n.forEach(e=>{var a=g(e);console.log(`${p.cyan(e.name||"Unnamed")} ${p.gray(e.id)}`),console.log(` Type: ${e.fileType} Status: ${D(a,p)}`),e.userTags?.length&&console.log(` Tags: ${e.userTags.join(", ")}`),e.updatedAt&&console.log(` Updated: ${new Date(e.updatedAt).toLocaleString()}`),console.log()})}catch(e){i.fail(`Failed to list media files: ${e.message}`),process.exit(1)}}),function(e,a){return d.apply(this,arguments)})),y.command("file <id>").description("Get Media Flow file details").option("-j, --json","Output as JSON").action((r=c(function*(e,a){var t=yield h(),p=t.chalk,o=t.requireAuth(),i=t.ora("Fetching media file...").start();try{yield v(o,t);var d=yield o.mediaFile({id:e});if(i.stop(),d||(console.log(p.red("Media file not found")),process.exit(1)),a.json)return void console.log(JSON.stringify(d,null,2));var r=g(d);console.log(p.bold(`
91
+ Media File: ${d.name||"Unnamed"}`)),console.log("─".repeat(60)),console.log(`ID: ${p.gray(d.id)}`),console.log(`Box ID: ${p.gray(d.boxId)}`),console.log(`Type: ${d.fileType}`),console.log(`Status: ${D(r,p)}`),console.log(`Description: ${d.description||p.gray("N/A")}`),console.log(`Tags: ${d.userTags?.join(", ")||p.gray("None")}`),console.log(`Created: ${p.gray(d.createdAt||"N/A")}`),console.log(`Updated: ${p.gray(d.updatedAt||"N/A")}`);var n=t.buildScreenshotUrl(d),l=t.buildScreenshotUrl(d,{preferThumbnail:!0});d.meta?.originalFileKey&&console.log(`Original Key: ${p.gray(d.meta.originalFileKey)}`),n&&console.log(`Original URL: ${p.gray(n)}`),l&&l!==n&&console.log(`Thumbnail URL: ${p.gray(l)}`),console.log("─".repeat(60))}catch(e){i.fail(`Failed to get media file: ${e.message}`),process.exit(1)}}),function(e,a){return r.apply(this,arguments)}));var w=e=>{var a=e.match(/^(\d+)x(\d+)(?::(\w+))?$/);if(!a)throw Error(`Invalid image version spec: "${e}". Expected format: WxH or WxH:STRATEGY`);return{width:parseInt(a[1],10),height:parseInt(a[2],10),strategy:(a[3]||"FILL").toUpperCase(),copypreview:!1}},b=(n=c(function*(e,a,t,p,o){var i=new FormData;for(var d of Object.entries(a)){var r=m(d,2),n=r[0],l=r[1];i.append(n,l)}i.append("file",new Blob([t],{type:o}),p);var s=yield fetch(e,{method:"POST",body:i});if(!s.ok&&204!==s.status){var u=yield s.text().catch(()=>"");throw Error(`S3 upload failed (${s.status}): ${u}`)}}),function(e,a,t,p,o){return n.apply(this,arguments)});y.command("upload <boxId> <files...>").description("Upload file(s) to a Media Flow box").option("-d, --description <text>","File description","").option("-t, --user-tag <tag>","User tag (repeatable, max 15)",(e,a)=>[...a,e],[]).option("--image-version <spec>","Image resize spec as WxH or WxH:STRATEGY (repeatable)",(e,a)=>[...a,e],[]).option("--image-version-type <type>","Image output format: jpg or png").option("--enable-ai-analysis","Enable AI analysis on uploaded files").option("--ai-instruction <text>","Custom AI analysis instruction").option("--concurrency <n>","Max concurrent uploads",e=>parseInt(e,10),3).option("-j, --json","Output as JSON").action((l=c(function*(e,a,p){var o=yield h(),i=yield(!u&&(u=Promise.all([Promise.resolve().then(t.t.bind(t,51455,19)),Promise.resolve().then(t.t.bind(t,76760,19)),t.e(2247).then(t.t.bind(t,86090,19)),t.e(5212).then(t.bind(t,76983))]).then(([e,a,t,p])=>({readFile:e.readFile,stat:e.stat,basename:a.basename,resolve:a.resolve,lookup:t.lookup,runWithConcurrency:p.runWithConcurrency}))),u),d=o.chalk,r=o.requireAuth(),n=o.ora("Preparing upload...").start();try{if(yield v(r,o),p.userTag.length>15)throw Error("Maximum 15 user tags allowed");var l,s,m=p.imageVersion.map(w),f=p.enableAiAnalysis||!!p.aiInstruction,g=yield Promise.all(a.map((l=c(function*(e){var a=i.resolve(e),t=yield i.stat(a).catch(()=>null);if(!t||!t.isFile())throw Error(`Not a file: ${e}`);var p=i.basename(a),o=i.lookup(p)||"application/octet-stream";return{filePath:a,fileName:p,contentType:o,size:t.size}}),function(e){return l.apply(this,arguments)})));n.stop();var D=g.length;console.log(d.bold(`
92
+ Uploading ${D} file${D>1?"s":""} to box ${d.gray(e)}...
93
+ `));var y=[];yield i.runWithConcurrency(g,p.concurrency,(s=c(function*(a,t){var n=`[${t+1}/${D}] ${a.fileName}`,l=o.ora(`${n} — requesting upload...`).start();try{var s,u,c=(s=a.contentType)&&"image/svg+xml"!==s?s.startsWith("image/")?"IMAGE":s.startsWith("video/")?"VIDEO":s.startsWith("audio/")?"AUDIO":"FILE":"FILE",h={imageVersions:"IMAGE"===c?m:[],imageVersionType:"IMAGE"===c?p.imageVersionType:void 0,enableAiAnalysis:f,aiCustomInstruction:p.aiInstruction||void 0},v=yield r.createMediaFileUploadRequest({name:a.fileName,description:p.description,boxId:e,fileType:c,contentType:a.contentType,userTags:p.userTag.length?p.userTag:[],meta:h});l.text=`${n} — uploading to storage...`;var g=JSON.parse(v.meta.uploadInfo),w=yield i.readFile(a.filePath);yield b(g.url,{AWSAccessKeyId:g.AWSAccessKeyId,"Content-Type":g["Content-Type"],key:g.key,Signature:g.Signature,Policy:g.Policy,acl:g.acl},w,a.fileName,a.contentType),l.succeed(`${n} ${d.green("✓")} ${d.gray(`(${c}, ${(u=a.size)<1024?`${u} B`:u<1048576?`${(u/1024).toFixed(1)} KB`:u<0x40000000?`${(u/1048576).toFixed(1)} MB`:`${(u/0x40000000).toFixed(1)} GB`})`)}`),y.push({file:a.fileName,id:v.id,status:"success",fileType:c,size:a.size})}catch(e){l.fail(`${n} — ${e.message}`),y.push({file:a.fileName,id:null,status:"failed",error:e.message})}}),function(e,a){return s.apply(this,arguments)}));var _=y.filter(e=>"success"===e.status).length,C=y.filter(e=>"failed"===e.status).length;p.json?console.log(JSON.stringify({boxId:e,results:y,summary:{total:D,success:_,failed:C}},null,2)):(console.log(),0===C?console.log(d.green(`Uploaded ${_}/${D} files`)):console.log(d.yellow(`Uploaded ${_}/${D} files (${C} failed)`))),C>0&&process.exit(1)}catch(e){n.fail(`Upload failed: ${e.message}`),process.exit(1)}}),function(e,a,t){return l.apply(this,arguments)}))},32541(e,a,t){t.d(a,{A:()=>N});var p,o,i,d,r,n,l,s,u,m,c,f,h,v=t(99436),g=t(35679),D=t(73284),y=t(30155),w=t(47988),b=t(29988),_=t(44618),C=t(7586),F=t(56493),S=t(68168),E=t(74049),k=t(98593),A=(e,a)=>(0,k.H_)(e,a,{currentVersion:e?.current_version||null,public:!!e?.is_public}),N=new g.uB("module").description("Module management");N.command("new").description("Create a new module").requiredOption("-n, --name <name>","Module name").option("-d, --description <description>","Module description").option("--layout-width <width>","Layout width",parseInt).option("--layout-height <height>","Layout height",parseInt).option("--public","Make module available to all users").option("--allow-modify","Allow users to modify imported module config").option("--init","Initialize a BRICKS Project after creation").option("-o, --output <dir>","Output directory for --init (default: current directory)").option("-y, --yes","Skip prompts for --init").option("-j, --json","Output as JSON").action((p=v(function*(e){var a=(0,F.requireAuth)(),p=e.json?null:(0,y.default)("Creating module...").start();try{var o={name:e.name};e.description&&(o.description=e.description),e.layoutWidth&&(o.layoutWidth=e.layoutWidth),e.layoutHeight&&(o.layoutHeight=e.layoutHeight),e.public&&(o.isPublic=!0),e.allowModify&&(o.isAllowModify=!0);var i=yield a.createModule(o);if(e.json&&!e.init?console.log(JSON.stringify(i,null,2)):e.json||(p.succeed(`Module created: ${D.default.green(i.name)}`),console.log(` ID: ${D.default.gray(i._id)}`),i.description&&console.log(` ${D.default.gray(i.description)}`),console.log(` Public: ${i.is_public?D.default.green("Yes"):D.default.gray("No")}`),console.log(` Allow Modify: ${i.is_allow_modify?D.default.green("Yes"):D.default.gray("No")}`)),e.init){p&&p.stop();var d=(yield Promise.all([t.e(5658),t.e(4456)]).then(t.bind(t,58891))).initProject;yield d("module",i._id,{output:e.output,yes:e.yes,json:e.json})}}catch(a){e.json?console.error(JSON.stringify({error:a.message})):p.fail(`Failed to create module: ${a.message}`),process.exit(1)}}),function(e){return p.apply(this,arguments)})),N.command("list").description("List all modules").option("-k, --keyword <keyword>","Filter by keyword").option("-j, --json","Output as JSON").action((o=v(function*(e){var a=(0,F.requireAuth)(),t=(0,y.default)("Fetching modules...").start();try{var p=yield a.modules({keyword:e.keyword});if(t.stop(),e.json)return void console.log(JSON.stringify(p,null,2));if(!p||0===p.length)return void console.log(D.default.yellow("No modules found"));console.log(D.default.bold("\nModules")),console.log("─".repeat(80)),p.forEach(e=>{var a=e.current_version?`v${e.current_version}`:D.default.gray("no version");console.log(`● ${D.default.cyan(e.name)} ${D.default.gray(a)}`),console.log(` ID: ${D.default.gray(e._id)}`),e.description&&console.log(` ${D.default.gray(e.description)}`),console.log()})}catch(e){t.fail(`Failed to list modules: ${e.message}`),process.exit(1)}}),function(e){return o.apply(this,arguments)})),N.command("list-public").description("Search public modules").requiredOption("-k, --keyword <keyword>","Search keyword (min 2 characters)").option("-j, --json","Output as JSON").action((i=v(function*(e){var a=(0,(yield(0,b.i)()).createClient)((0,w.getBaseUrl)()),t=(0,y.default)("Searching public modules...").start();try{var p=yield a.publicModules({keyword:e.keyword});if(t.stop(),e.json)return void console.log(JSON.stringify(p,null,2));if(!p||0===p.length)return void console.log(D.default.yellow("No public modules found"));console.log(D.default.bold("\nPublic Modules")),console.log("─".repeat(80)),p.forEach(e=>{var a=e.current_version?`v${e.current_version}`:D.default.gray("no version");console.log(`● ${D.default.cyan(e.name)} ${D.default.gray(a)}`),console.log(` ID: ${D.default.gray(e._id)}`),e.description&&console.log(` ${D.default.gray(e.description)}`),console.log()})}catch(e){t.fail(`Failed to search public modules: ${e.message}`),process.exit(1)}}),function(e){return i.apply(this,arguments)})),N.command("get <id>").description("Get module details").option("-j, --json","Output as JSON").action((d=v(function*(e,a){var t=(0,F.requireAuth)(),p=(0,y.default)("Fetching module...").start();try{var o=yield t.module({id:e});if(p.stop(),o||(console.log(D.default.red("Module not found")),process.exit(1)),a.json)return void console.log(JSON.stringify(o,null,2));if(console.log(D.default.bold(`
94
+ Module: ${o.name}`)),console.log("─".repeat(60)),console.log(`ID: ${D.default.gray(o._id)}`),console.log(`Description: ${o.description||D.default.gray("N/A")}`),console.log(`Tags: ${o.tags?.join(", ")||D.default.gray("None")}`),console.log(`Created: ${D.default.gray(o.create_datetime)}`),console.log(`Modified: ${D.default.gray(o.last_modify_datetime)}`),console.log(`
95
+ ${D.default.bold("Version")}`),console.log(`Current: ${o.current_version?`v${o.current_version}`:D.default.gray("No version")}`),console.log(`Unreleased: ${o.has_unreleased_changes?D.default.yellow("Yes"):D.default.green("No")}`),console.log(`
96
+ ${D.default.bold("Settings")}`),console.log(`Public: ${o.is_public?D.default.green("Yes"):D.default.gray("No")}`),console.log(`Allow Modify: ${o.is_allow_modify?D.default.green("Yes"):D.default.gray("No")}`),console.log(`Short Edit: ${o.short_edit?.enabled?D.default.green("Enabled"):D.default.gray("Disabled")}`),o.short_edit?.enabled&&o.short_edit.ref_map){var i=Object.keys(o.short_edit.ref_map).length;console.log(` References: ${i} editable properties`)}o.use_count?.total_count!=null&&(console.log(`
97
+ ${D.default.bold("Usage")}`),console.log(`Used In: ${o.use_count.total_count} application(s)`)),o.expose_properties?.length>0&&(console.log(`
98
+ ${D.default.bold("Exposed Properties")} (${o.expose_properties.length})`),o.expose_properties.forEach(e=>{console.log(` - ${D.default.cyan(e)}`)})),console.log("─".repeat(60))}catch(e){p.fail(`Failed to get module: ${e.message}`),process.exit(1)}}),function(e,a){return d.apply(this,arguments)})),N.command("resolve <query>").description("Resolve a module name or ID to stable IDs").option("-l, --limit <limit>","Limit search results",e=>Number.parseInt(e,10),10).option("-j, --json","Output as JSON").action((r=v(function*(e,a){var t=(0,F.requireAuth)(),p=a.json?null:(0,y.default)("Resolving module...").start();try{var o=yield(0,S.Y)(()=>t.module({id:e})),i=o?[o]:yield t.modules({keyword:e,paginate:{limit:a.limit}}),d=(0,S.K)({resource:"module",query:e,items:i||[],fields:["_id","name"],selectedBy:o?"id":null});if(p&&p.stop(),a.json)return void(0,C.GF)(d);if(d.resolved){var r=d.resolved;console.log(D.default.bold("\nResolved Module")),console.log("─".repeat(60)),console.log(`Name: ${D.default.cyan(r.name||"Unnamed")}`),console.log(`ID: ${D.default.gray(r._id)}`),console.log(`Selected By: ${d.selectedBy}`),console.log("─".repeat(60));return}if(0===d.matches.length)return void console.log(D.default.yellow(`No modules matched "${e}"`));console.log(D.default.bold(`
99
+ Matching Modules (${d.matches.length})`)),console.log("─".repeat(80)),d.matches.forEach(e=>{console.log(`${D.default.cyan(e.name||"Unnamed")} ${D.default.gray(e._id)}`)}),console.log("─".repeat(80))}catch(a){p?p.fail(`Failed to resolve module: ${a.message}`):(0,C.OW)(a.message,{resource:"module",query:e}),process.exit(1)}}),function(e,a){return r.apply(this,arguments)})),N.command("update <id>").description("Update module name, description, and/or configuration").option("-n, --name <name>","Module name").option("-d, --description <description>","Module description").option("-c, --config <json>","Module config as JSON string").option("-f, --file <path>","Module config from file").option("--validate","Validate configuration (default: true when config is set)",!0).option("--no-validate","Skip server-side config validation").option("--last-commit-id <id>","Reject if server config.bricks_project_last_commit_id does not match this value").option("-j, --json","Output as JSON").action((n=v(function*(e,a){var t=(0,F.requireAuth)(),p=a.json?null:(0,y.default)("Updating module...").start();try{var o=yield t.updateModule((0,k.jB)(e,a));a.json?(0,k.yd)({action:"module.update",target:A(o,e),result:{lastCommitId:a.lastCommitId||null},json:!0}):(p.succeed(`Module updated: ${D.default.green(o.name)}`),o.has_unreleased_changes&&console.log(D.default.yellow("Note: Module has unreleased changes")))}catch(t){a.json?(0,C.OW)(t.message,{action:"module.update",target:{id:e}}):p.fail(`Failed to update module: ${t.message}`),process.exit(1)}}),function(e,a){return n.apply(this,arguments)})),N.command("short-edit <id>").description("Short edit module properties").requiredOption("-l, --list <json>","Short edit list as JSON array").action((l=v(function*(e,a){var t=(0,F.requireAuth)(),p=(0,y.default)("Applying short edit...").start();try{var o=JSON.parse(a.list);Array.isArray(o)||(p.fail("List must be a JSON array"),process.exit(1));var i=yield t.shortEditModule({id:e,list:o});p.succeed(`Short edit applied to: ${D.default.green(i.name)}`)}catch(e){p.fail(`Failed to apply short edit: ${e.message}`),process.exit(1)}}),function(e,a){return l.apply(this,arguments)})),N.command("short-refs <id>").description("List short edit references for a module").option("-k, --keyword <keyword>","Filter by shortId or title").option("-t, --types <types>","Comma-separated shortId prefixes to include (e.g. B,C,S)").option("-j, --json","Output as JSON").action((s=v(function*(e,a){var t=(0,F.requireAuth)(),p=(0,y.default)("Fetching short edit references...").start();try{var o=yield t.module({id:e});if(p.stop(),!o?.short_edit?.enabled)return void console.log(D.default.yellow("Short Edit is not enabled for this module"));var i=a.types?a.types.split(",").map(e=>e.trim()).filter(Boolean):[],d=(0,_.V)(o.short_edit.ref_map,{keyword:a.keyword,types:i});if(a.json)return void console.log(JSON.stringify(d,null,2));if(0===d.length)return void console.log(D.default.yellow("No short edit references found"));console.log(D.default.bold(`
100
+ Short Edit References: ${o.name}`)),d.forEach(e=>{console.log(D.default.cyan(`
101
+ ${e.label} (${e.prefix}_)`)),e.refs.forEach(({shortId:e,ref:a})=>{var t=a?.title?D.default.gray(`- ${a.title}`):"";console.log(` ${D.default.green(e)} ${t}`)})}),console.log()}catch(e){p.fail(`Failed to fetch short edit references: ${e.message}`),process.exit(1)}}),function(e,a){return s.apply(this,arguments)})),N.command("remove <id>").description("Remove a module").option("--dry-run","Validate the target and show the removal plan without deleting it").option("-j, --json","Output as JSON").action((u=v(function*(e,a){var t=(0,F.requireAuth)(),p=a.json?null:(0,y.default)("Removing module...").start();try{var o=yield t.module({id:e});if(!o)throw Error("Module not found");var i=A(o,e);if(a.dryRun){p&&p.stop(),(0,k.S5)({action:"module.remove",target:i,request:{id:e},checks:[(0,k.Iy)("module exists",!0,`${i.name} (${i.id})`)],json:a.json});return}var d=yield t.removeModule({id:e});a.json?(0,k.yd)({action:"module.remove",target:i,result:{removed:!!d},json:!0}):p.succeed(`Module removed: ${D.default.green(i.name)}`)}catch(t){a.json?(0,C.OW)(t.message,{action:"module.remove",target:{id:e}}):p.fail(`Failed to remove module: ${t.message}`),process.exit(1)}}),function(e,a){return u.apply(this,arguments)})),N.command("release <id>").description("Release module to BRICKS platform").requiredOption("-c, --config <path|json>","Module config file path or JSON string").option("-n, --name <name>","Update module name as part of the release").option("--version <version>","Version name").option("--changelogs <text>","Release changelogs").option("--dry-run","Validate inputs and show the release plan without publishing").option("-j, --json","Output as JSON").action((m=v(function*(e,a){var t=(0,F.requireAuth)(),p=a.json?null:(0,y.default)("Releasing module...").start();try{var o=(0,E.Ku)(a.config),i=o.config,d=o.source,r=o.sizeBytes,n=yield t.module({id:e});if(!n)throw Error("Module not found");if(n.is_public)throw Error("Public module deployment is temporarily not recommended");var l=a.version||a.name||n.name||"Untitled",s=(0,E.w9)(a.changelogs);if(a.dryRun){p&&p.stop(),(0,k.S5)({action:"module.release",target:A(n,e),request:{name:a.name||null,version:l,changelogs:a.changelogs||null,configSource:d,configSizeBytes:r},checks:[(0,k.Iy)("module exists",!0,`${n.name} (${n._id})`),(0,k.Iy)("module is private",!n.is_public),(0,k.Iy)("release config loaded",!0,`${r} bytes`)],json:a.json});return}var u=yield t.releaseModule({id:e,config:i,...a.name?{name:a.name}:{},releaseCurrentVersion:l,releaseCurrentVersionNote:s});a.json?(0,k.yd)({action:"module.release",target:A(u||n,e),result:{name:a.name||null,version:l,configSource:d,configSizeBytes:r},json:!0}):p.succeed(`Module released: ${D.default.green(u?.name||n.name)}`)}catch(t){a.json?(0,C.OW)(t.message,{action:"module.release",target:{id:e}}):p.fail(`Failed to release module: ${t.message}`),process.exit(1)}}),function(e,a){return m.apply(this,arguments)})),N.command("project-pull <id>").description("Pull module source files from BRICKS platform").option("-j, --json","Output as JSON (for programmatic use)").action((c=v(function*(e,a){var t=(0,F.requireAuth)(),p=a.json?null:(0,y.default)("Pulling module project...").start();try{var o=yield t.moduleProject({id:e,buildApplicationOnly:!0});o||(p?p.fail("Module project not found"):console.error(JSON.stringify({error:"Module project not found"})),process.exit(1)),a.json?console.log(JSON.stringify(o)):(p.succeed(`Module project fetched: ${D.default.green(o.files?.length||0)} files`),console.log(JSON.stringify(o,null,2)))}catch(e){a.json?console.error(JSON.stringify({error:e.message})):p.fail(`Failed to pull module project: ${e.message}`),process.exit(1)}}),function(e,a){return c.apply(this,arguments)})),N.command("doctor <idOrPath>").description("Diagnose a module config: schema validation plus semantic lint rules (data races, layout mistakes, dead config)").option("-j, --json","Output as JSON").option("--strict","Exit with code 1 when warnings are found").option("--only <codes>","Run only these rule codes (comma-separated)").option("--ignore <codes>","Skip these rule codes (comma-separated)").option("--validate-automation","Also validate automation_map and test_map references").action((f=v(function*(e,a){var p=a.json?null:(0,y.default)("Running config doctor...").start();try{var o=yield Promise.all([t.e(9866),t.e(6645),t.e(9430),t.e(1010),t.e(7511),t.e(563)]).then(t.bind(t,63322)),i=o.runConfigDoctor,d=o.renderConfigDoctorReport,r=yield i("module",e,a),n=r.report,l=r.exitCode;p?.stop(),a.json?(0,C.GF)({...n,exitCode:l}):console.log(d(n)),0!==l&&process.exit(l)}catch(e){p?p.fail(`Config doctor failed: ${e.message}`):(0,C.OW)(e.message),process.exit(1)}}),function(e,a){return f.apply(this,arguments)})),N.command("ctor-init <id>").alias("project-init").description("Initialize a BRICKS Project from a module (deprecated: use `bricks ctor init --type module`)").option("-o, --output <dir>","Output directory (default: current directory)").option("--github-actions","Include GitHub Actions workflow (default: true)").option("--no-github-actions","Skip GitHub Actions workflow setup").option("--agents","Include AGENTS.md (default: true)").option("--no-agents","Skip AGENTS.md setup").option("--claude","Include CLAUDE.md (default: true)").option("--no-claude","Skip CLAUDE.md setup").option("--gemini","Include GEMINI.md (default: false)").option("--no-gemini","Skip GEMINI.md setup").option("--install","Run bun install after generation (default: true)").option("--no-install","Skip bun install after generation").option("--git","Initialize git repository (default: true)").option("--no-git","Skip git initialization").option("-y, --yes","Skip prompts and use defaults/flags").option("-j, --json","Output as JSON (for programmatic use)").action((h=v(function*(e,a){a.json||console.error(D.default.yellow("Note: `bricks module ctor-init` is deprecated. Use `bricks ctor init <id> --type module` instead."));var p=(yield Promise.all([t.e(5658),t.e(4456)]).then(t.bind(t,58891))).initProject;yield p("module",e,a)}),function(e,a){return h.apply(this,arguments)}))},38311(e,a,t){t.d(a,{D:()=>u});var p,o,i,d=t(99436),r=t(35679),n=t(73284),l=(p=d(function*(){var e=(yield Promise.resolve().then(t.bind(t,30155))).default,a=yield t.e(6818).then(t.bind(t,53241)),p=a.detectChannel,o=a.detectInstallMethod,i=yield t.e(9405).then(t.bind(t,21068));return{ora:e,detectChannel:p,detectInstallMethod:o,fetchLatestVersionInfo:i.fetchLatestVersionInfo,runUpdateForMethod:i.runUpdateForMethod}}),function(){return p.apply(this,arguments)}),s=(o=d(function*({message:e,defaultValue:a,autoYes:p}){if(p)return!0;(0,(yield Promise.resolve().then(t.bind(t,8479))).isInteractiveTerminal)()||(console.error(n.default.red("Refusing to prompt in a non-interactive shell. Pass -y/--yes to confirm.")),process.exit(1));try{var o=(yield t.e(5658).then(t.bind(t,27521))).confirm;return yield o({message:e,default:a})}catch{return!1}}),function(e){return o.apply(this,arguments)}),u=new r.uB("update-cli").description("Update the BRICKS CLI to the latest version").option("-y, --yes","Skip confirmation prompts").option("--channel <channel>","Override channel (release|beta)").option("--check-update","Only check whether a newer version is available and exit").action((i=d(function*(e){var a,t=yield l(),p=t.ora,o=t.detectChannel,i=t.detectInstallMethod,r=t.fetchLatestVersionInfo,u=t.runUpdateForMethod,m="2.25.0-beta.75",c=i(),f=e.channel||o({version:m,execPath:c.execPath});console.log(n.default.bold(e.checkUpdate?"BRICKS CLI Update Check":"BRICKS CLI Update")),console.log("─".repeat(60)),console.log(`Current version : ${n.default.cyan(m)}`),console.log(`Channel : ${n.default.cyan(f)}`),console.log(`Detected method : ${n.default.cyan(c.method)}`),c.execPath&&"binary"===c.method&&console.log(`Binary path : ${n.default.gray(c.execPath)}`),c.installRoot&&console.log(`Install root : ${n.default.gray(c.installRoot)}`);var h="npm"===c.method||"bun"===c.method?"npm":"cdn",v=p(`Fetching latest version info (${h})...`).start(),g=null,D=null;try{g=(yield r(f,c.method)).version,v.succeed(`Latest ${f} (${h}): ${n.default.green(g)}`)}catch(e){D=e,v.warn(`Could not fetch version info: ${e.message}`)}var y=g&&g===m;if(e.checkUpdate){if(D&&process.exit(2),y)return void console.log(n.default.green("\nUp to date."));g&&(console.log(n.default.yellow(`
102
+ Update available: ${m} → ${g}. Run 'bricks update-cli' to install.`)),process.exit(1)),console.log(n.default.yellow("\nCould not determine current version.")),process.exit(2)}if(y&&(console.log(n.default.green("\nAlready running the latest version.")),!(yield s({message:"Reinstall anyway?",defaultValue:!1,autoYes:e.yes}))))return void console.log(n.default.gray("Skipped."));var w=["npm","bun","binary"].includes(c.method);w||console.log(n.default.yellow(`Cannot auto-detect installer (method: ${c.method}); falling back to binary install.`));var b=w?c.method:"binary";if(!(yield s({message:`Update CLI using "${b}" method?`,defaultValue:!0,autoYes:e.yes})))return void console.log(n.default.yellow("Cancelled."));var _=(a=d(function*(e){console.log(n.default.cyan(`
103
+ → Running ${e} update...`));try{return yield u(e,f,c),!0}catch(a){return console.error(n.default.yellow(`
104
+ ${e} update failed: ${a.message}`)),!1}}),function(e){return a.apply(this,arguments)}),C=yield _(b);!C&&"binary"!==b&&(console.log(n.default.cyan("\nFalling back to binary install (same method used by the desktop app).")),(yield s({message:"Try the binary installer as a fallback?",defaultValue:!0,autoYes:e.yes}))&&(C=yield _("binary"))),C||(console.error(n.default.red("\nUpdate failed. See messages above.")),process.exit(1)),console.log(n.default.green("\nUpdate complete."))}),function(e){return i.apply(this,arguments)}))},1878(e,a,t){t.a(e,async function(e,p){try{t.d(a,{A:()=>A,e:()=>k});var o,i=t(99436),d=t(35679),r=t(73284),n=t(47988),l=t(8479),s=t(55614),u=t(1983),m=t(17422),c=t(32541),f=t(28634),h=t(12569),v=t(55609),g=t(71335),D=t(68473),y=t(80274),w=t(42400),b=t(98247),_=t(70970),C=t(38311),F=t(59845),S=t(22175),E=e([w]);w=(E.then?(await E)():E)[0];var k=(o=i(function*(){var e,a=process.argv.findIndex(e=>"--auth-profile"===e||"-ap"===e);-1!==a&&process.argv[a+1]&&((0,n.setProfileOverride)(process.argv[a+1]),process.argv.splice(a,2)),d.DM.name("bricks").description("BRICKS CLI - Command-line interface for BRICKS Workspace API").version("2.25.0-beta.75","-v, --version","output the version number").enablePositionalOptions(),d.DM.addCommand(s.s),d.DM.addCommand(u._),d.DM.addCommand(m.B),d.DM.addCommand(c.A),d.DM.addCommand(f.p),d.DM.addCommand(h.u),d.DM.addCommand(v.E),d.DM.addCommand(g.oT),d.DM.addCommand(D.K),d.DM.addCommand(y.gf),d.DM.addCommand(w.D),d.DM.addCommand(b.v),d.DM.addCommand(_.l),d.DM.addCommand(C.D),d.DM.addCommand(F.Q),d.DM.addCommand(S.g),d.DM.command("interactive").alias("i").description("Start interactive mode with Ink UI").action(i(function*(){try{var e=(yield Promise.all([t.e(3332),t.e(8295),t.e(3690),t.e(907),t.e(7294)]).then(t.bind(t,94685))).runInteractiveMode;yield e()}catch(e){console.error(r.default.red(`Failed to start interactive mode: ${e.message}`)),process.exit(1)}})),d.DM.command("workspace").alias("ws").description("Show current workspace information").option("-j, --json","Output as JSON").action((e=i(function*(e){var a=(yield Promise.resolve().then(t.bind(t,47988))).getCurrentProfile,p=(yield Promise.resolve().then(t.bind(t,31802))).getConnectionContext,o=(yield Promise.all([t.e(3332),t.e(8295),t.e(907)]).then(t.bind(t,85382))).createClient,i=(yield Promise.resolve().then(t.bind(t,30155))).default,d=a(),n=p(d),l=n.auth,s=n.baseUrl;l||(console.error(r.default.red("Not logged in. Use `bricks auth login` first.")),process.exit(1));var u=i("Fetching workspace info...").start();try{var m=o(s,l),c=yield m.workspace();if(u.stop(),e.json)return void console.log(JSON.stringify(c,null,2));console.log(r.default.bold("\nWorkspace Information")),console.log("─".repeat(60)),console.log(`Name: ${r.default.green(c.name)}`),console.log(`ID: ${r.default.gray(c._id)}`),console.log(`Description: ${c.description||r.default.gray("N/A")}`),console.log(`
105
+ ${r.default.bold("Data")}`),console.log(`Remote Update: ${c.bank?.enable_remote_update?r.default.green("Enabled"):r.default.gray("Disabled")}`),console.log(`Spacename: ${c.bank?.spacename||r.default.gray("N/A")}`),console.log("─".repeat(60))}catch(e){u.fail(`Failed to get workspace: ${e.message}`),process.exit(1)}}),function(a){return e.apply(this,arguments)})),d.DM.on("--help",()=>{console.log(""),console.log(r.default.bold("Examples:")),console.log(""),console.log(r.default.gray(" # Sign in with your BRICKS account (opens the browser)")),console.log(" $ bricks auth login"),console.log(""),console.log(r.default.gray(" # Select a workspace as the active profile")),console.log(" $ bricks auth use-workspace"),console.log(""),console.log(r.default.gray(" # Workspace auth (CI/automation): one-time passcode or token")),console.log(" $ bricks auth login-workspace <passcode>"),console.log(""),console.log(r.default.gray(" # List all devices")),console.log(" $ bricks device list"),console.log(""),console.log(r.default.gray(" # Monitor devices in real-time")),console.log(" $ bricks device monitor"),console.log(""),console.log(r.default.gray(" # Control a device")),console.log(" $ bricks device refresh <device-id>"),console.log(" $ bricks device control <device-id> clear-cache"),console.log(""),console.log(r.default.gray(" # Bind a new device")),console.log(' $ bricks device bind <passcode> -n "My Device"'),console.log(""),console.log(r.default.gray(" # List applications")),console.log(" $ bricks app list"),console.log(""),console.log(r.default.gray(" # Start interactive mode")),console.log(" $ bricks interactive"),console.log(""),console.log(r.default.gray(" # Change API endpoint")),console.log(" $ bricks config endpoint beta"),console.log(""),console.log(r.default.gray("Get workspace token from BRICKS Controller:")),console.log(r.default.cyan(" https://control.bricks.tools")),console.log(r.default.gray(" Go to Workspace Settings > API Token"))});var p=process.argv.slice(2);if(0===p.length){if((0,l.shouldStartInteractiveMode)(p))try{var o=(yield Promise.all([t.e(3332),t.e(8295),t.e(3690),t.e(907),t.e(7294)]).then(t.bind(t,94685))).runInteractiveMode;yield o();return}catch(e){console.error(r.default.red(`Failed to start interactive mode: ${e.message}`)),process.exit(1)}console.error(r.default.gray("No command provided. Interactive mode requires a TTY, so showing help instead.\n")),d.DM.outputHelp();return}yield d.DM.parseAsync(process.argv)}),function(){return o.apply(this,arguments)});let A=k;p()}catch(e){p(e)}})},31802(e,a,t){t.r(a),t.d(a,{getAuthContext:()=>n,getConnectionContext:()=>r});var p=t(99436),o=t(47988),i=t(63755),d=(e,a)=>{if(!e)throw Error("Not logged in. Run `bricks auth login` first.");if(e.user?.sub!==a)throw Error("OAuth account changed. Re-select the workspace for the current account.");return e},r=e=>{var a=(0,o.getProfileCredentialSnapshot)(e);return{...a,auth:(({tokenInfo:e,oauth:a})=>{if(!e)return null;if("oauth"===e.type){if(!a?.accessToken||!e.oauthSubject||e.oauthSubject!==a.user?.sub||!e.workspaceId)return null;var t,o,r,n=e.oauthSubject;return{kind:"oauth",workspaceId:e.workspaceId,workspaceName:e.workspaceName,getHeaders:(o=p(function*(){var a=d((yield(0,i.EC)()),n);return{authorization:`Bearer ${a.accessToken}`,"x-bricks-workspace-id":String(e.workspaceId)}}),function(){return o.apply(this,arguments)}),refresh:(r=p(function*(){d((yield(0,i.EC)({forceRefresh:!0})),n)}),function(){return r.apply(this,arguments)})}}return e.token?{kind:"token",token:e.token,workspaceId:e.workspaceId,workspaceName:e.workspaceName,getHeaders:(t=p(function*(){return{authorization:`Bearer ${e.token}`}}),function(){return t.apply(this,arguments)})}:null})(a)}},n=e=>r(e).auth},31596(e,a,t){t.d(a,{GE:()=>o,YC:()=>p,jR:()=>i});var p=["InSubspace","Global"],o="Data Bank is not enabled for this workspace.",i=e=>{if(e&&!p.includes(e))throw Error(`Invalid meta "${e}" (expected ${p.join(" | ")})`)}},56493(e,a,t){t.r(a),t.d(a,{requireAuth:()=>s,requireAuthConnection:()=>l});var p=t(99436),o=t(73284),i=t(47988),d=t(31802),r=t(29988),n=new Set(["$$typeof","asymmetricMatch","catch","constructor","finally","hasOwnProperty","inspect","nodeType","toJSON","toString","valueOf"]),l=(e=(0,i.getCurrentProfile)())=>{var a,t,l,s=(0,d.getConnectionContext)(e),u=s.auth,m=s.baseUrl;return u||(console.error(o.default.red("Not logged in.")),console.error(o.default.gray("Use `bricks auth login` (OAuth) or `bricks auth login-workspace` (workspace token) first.")),process.exit(1)),{...s,client:(a=null,t=p(function*(){return a||=Promise.resolve((0,r.i)()).then(({createClient:e})=>e(m,u))}),l=function(){return t.apply(this,arguments)},new Proxy({},{get:(e,a)=>a===Symbol.toStringTag?"BricksLazyClient":"string"!=typeof a||"then"===a||n.has(a)?void 0:p(function*(...e){var t=yield l(),p=t[a];return"function"==typeof p?p.apply(t,e):p})}))}},s=(e=(0,i.getCurrentProfile)())=>l(e).client},7586(e,a,t){t.d(a,{$l:()=>i,GF:()=>p,OW:()=>o});var p=e=>{console.log(JSON.stringify(e,null,2))},o=(e,a={})=>{console.error(JSON.stringify({ok:!1,error:{message:e,...a}},null,2))},i=(e,a=4)=>e?e.length<=2*a?"*".repeat(e.length):`${e.slice(0,a)}…${e.slice(-a)}`:null},8479(e,a,t){t.r(a),t.d(a,{isInteractiveTerminal:()=>p,shouldStartInteractiveMode:()=>o});var p=()=>!!(process.stdin.isTTY&&process.stdout.isTTY&&"function"==typeof process.stdin.setRawMode),o=(e=[])=>0===e.length&&p()},47988(e,a,t){t.r(a),t.d(a,{CONFIG_DIR:()=>F,CONFIG_LOCK_PATH:()=>E,CONFIG_PATH:()=>S,OAUTH_REFRESH_LOCK_PATH:()=>k,clearBankCredentials:()=>eM,clearConfig:()=>eq,clearOAuth:()=>eF,clearOAuthIfCurrent:()=>e$,clearOAuthIfCurrentAsync:()=>eO,default:()=>eJ,getActivityLogBaseUrl:()=>eU,getBankCredentials:()=>eP,getBaseUrl:()=>G,getCurrentProfile:()=>eB,getCurrentProfileSource:()=>eI,getOAuth:()=>eb,getProfileAuthKind:()=>ew,getProfileCredentialSnapshot:()=>ee,getProfileCredentialSnapshotAsync:()=>ea,getProfileFingerprint:()=>et,getToken:()=>K,getTokenInfo:()=>z,getTokens:()=>W,initializeConfigAsync:()=>q,installOAuthSessionIfCurrent:()=>eD,installOAuthSessionIfCurrentAsync:()=>ey,invalidateOAuthProfileCredentials:()=>eh,invalidateOAuthProfileCredentialsAsync:()=>ev,listProfiles:()=>eV,removeToken:()=>es,removeTokenIfCurrent:()=>eu,replaceOAuthIfCurrent:()=>eA,replaceOAuthIfCurrentAsync:()=>eN,resolveOAuthProfileTarget:()=>ep,setActivityLogBaseUrl:()=>eL,setBankCredentials:()=>eR,setBaseUrl:()=>H,setCurrentProfile:()=>ej,setDevtoolsTokenIfProfileCurrent:()=>em,setDevtoolsTokenIfProfileCurrentAsync:()=>ec,setOAuth:()=>e_,setOAuthAsync:()=>eC,setProfileOverride:()=>eT,setToken:()=>ed,setTokenIfProfileCurrent:()=>en,setTokenIfProfileCurrentAsync:()=>el,takeOAuthSession:()=>eS,takeOAuthSessionAsync:()=>eE,withOAuthRefreshLock:()=>V});var p,o,i,d,r,n,l,s,u,m,c,f,h,v,g=t(68832),D=t(99436),y=t(83440),w=t(76982),b=t(79896),_=t(16928),C=t(70857),F=_.join(C.homedir(),".bricks-cli"),S=_.join(F,"config.json"),E=`${S}.lock`,k=`${S}.oauth-refresh.lock`,A=new Int32Array(new SharedArrayBuffer(4)),N=e=>new Promise(a=>setTimeout(a,e)),$=e=>{if(!Number.isInteger(e)||e<=0)return!1;try{return process.kill(e,0),!0}catch(e){return"ESRCH"!==e.code}},O=e=>{try{var a=b.readFileSync(e,"utf8"),t=b.statSync(e),p=null;try{var o=JSON.parse(a);Number.isInteger(o?.pid)&&"string"==typeof o?.nonce&&(p=o)}catch{}return{raw:a,stat:t,owner:p}}catch(e){if("ENOENT"===e.code)return null;throw e}},x=e=>{var a,t=O(e);if(!t)return!0;var p=t.owner?!$(t.owner.pid):Date.now()-t.stat.mtimeMs>1e3;if(!p)return!1;var o=`${e}.recovery`;try{a=T(o)}catch(e){if("EEXIST"===e.code)return!1;throw e}try{if(!(t=O(e)))return!0;if(!(p=t.owner?!$(t.owner.pid):Date.now()-t.stat.mtimeMs>1e3))return!1;return b.unlinkSync(e),!0}catch(e){if("ENOENT"===e.code)return!0;throw e}finally{B(o,a)}},T=e=>{var a,t={pid:process.pid,nonce:w.randomUUID()},p=`${e}.${t.pid}.${t.nonce}.candidate`;try{a=b.openSync(p,"wx",384),b.writeFileSync(a,JSON.stringify(t)),b.fsyncSync(a),b.closeSync(a),a=void 0}catch(e){if(void 0!==a)try{b.closeSync(a)}catch{}try{b.unlinkSync(p)}catch{}throw e}try{b.linkSync(p,e)}catch(e){try{b.unlinkSync(p)}catch{}throw e}try{b.unlinkSync(p)}catch(e){"ENOENT"!==e.code&&console.error(`Failed to clean up shared BRICKS lock candidate: ${e.message}`)}return{owner:t}},B=(e,{owner:a})=>{try{var t;(t=O(e))&&t.owner?.nonce===a.nonce&&b.unlinkSync(e)}catch(e){"ENOENT"!==e.code&&console.error(`Failed to release shared BRICKS lock: ${e.message}`)}},I=e=>{b.mkdirSync(F,{recursive:!0});for(var a,t=Date.now()+5e3;!a;)try{a=T(E)}catch(e){if("EEXIST"!==e.code)throw e;if(x(E))continue;if(Date.now()>=t)throw Error(`Timed out waiting for shared BRICKS config lock: ${E}`);Atomics.wait(A,0,0,20)}try{return e()}finally{B(E,a)}},j=(p=D(function*(e){b.mkdirSync(F,{recursive:!0});for(var a,t=Date.now()+5e3;!a;)try{a=T(E)}catch(e){if("EEXIST"!==e.code)throw e;if(x(E))continue;if(Date.now()>=t)throw Error(`Timed out waiting for shared BRICKS config lock: ${E}`);yield N(20)}try{var p=e();if(p&&"function"==typeof p.then)throw Error("Shared BRICKS config lock callbacks must be synchronous");return p}finally{B(E,a)}}),function(e){return p.apply(this,arguments)}),V=(o=D(function*(e,{timeoutMs:a=3e4}={}){b.mkdirSync(F,{recursive:!0});for(var t,p=Date.now()+a;!t;)try{t=T(k)}catch(e){if("EEXIST"!==e.code)throw e;if(x(k))continue;if(Date.now()>=p)throw Error(`Timed out waiting for OAuth refresh lock: ${k}`);yield N(20)}try{return yield e()}finally{B(k,t)}}),function(e){return o.apply(this,arguments)}),P=()=>new y.default({projectName:"bricks-cli",cwd:F,configFileMode:384,schema:{oauth:{type:"object",default:{},properties:{accessToken:{type:"string"},refreshToken:{type:["string","null"]},expiresAt:{type:"string"},user:{type:"object"},audience:{type:"string"}}},tokens:{type:"object",default:{},additionalProperties:{type:"object",properties:{type:{type:"string",enum:["oauth"]},oauthSubject:{type:"string"},token:{type:"string"},name:{type:"string"},workspaceId:{type:"string"},workspaceName:{type:"string"},workspaceBilling:{type:"object"},createdAt:{type:"string"},baseUrl:{type:"string"},activityLogBaseUrl:{type:"string"},bank:{type:"object"}}}},currentProfile:{type:"string",default:"default"},baseUrl:{type:"string",default:"https://display.bricks.tools"},activityLogBaseUrl:{type:"string",default:"https://activity-log.bricks.tools"},devtoolsTokens:{type:"object",default:{},additionalProperties:{type:"object",additionalProperties:{type:"object",properties:{token:{type:"string"},expiresAt:{type:"string"},jti:{type:"string"},workspaceId:{type:"string"}}}}}}}),R=null,M=null,U=()=>R||=P(),L=(i=D(function*(){if(R)return R;M||=j(()=>R||=P());try{return yield M}finally{M=null}}),function(){return i.apply(this,arguments)}),q=(d=D(function*(){yield L()}),function(){return d.apply(this,arguments)}),J={get:e=>U().get(e),set:(e,a)=>{var t=U();return I(()=>t.set(e,a))},clear:()=>{var e=U();return I(()=>e.clear())},setAsync:(r=D(function*(e,a){var t=yield L();return j(()=>t.set(e,a))}),function(e,a){return r.apply(this,arguments)}),update:(e,a)=>{var t=U();return I(()=>{var p=a(t.get(e));return t.set(e,p),p})},updateAsync:(n=D(function*(e,a){var t=yield L();return j(()=>{var p=a(t.get(e));return t.set(e,p),p})}),function(e,a){return n.apply(this,arguments)}),snapshot:e=>{var a=U().store;return Object.fromEntries(e.map(e=>[e,a[e]]))},snapshotAsync:(l=D(function*(e){var a=(yield L()).store;return Object.fromEntries(e.map(e=>[e,a[e]]))}),function(e){return l.apply(this,arguments)}),transaction:(e,a)=>{var t=U();return I(()=>{var p=a(Object.fromEntries(e.map(e=>[e,t.get(e)])))||{};return Object.keys(p).length>0&&t.set(p),p})},transactionAsync:(s=D(function*(e,a){var t=yield L();return j(()=>{var p=a(Object.fromEntries(e.map(e=>[e,t.get(e)])))||{};return Object.keys(p).length>0&&t.set(p),p})}),function(e,a){return s.apply(this,arguments)})},G=(e=eB())=>{var a=J.get("tokens");return a[e]?.baseUrl||J.get("baseUrl")},H=(e,a)=>{a?J.update("tokens",(t={})=>({...t,[a]:{...t[a],baseUrl:e}})):J.set("baseUrl",e)},W=()=>J.get("tokens"),K=(e="default")=>{var a=J.get("tokens");return a[e]?.token},z=(e="default")=>J.get("tokens")[e],Y=(e,a,t,p)=>{if(!e)return null;var o=null==e.workspaceId?null:String(e.workspaceId);return"oauth"===e.type?e.oauthSubject&&e.oauthSubject===a?.user?.sub?{kind:"oauth",workspaceId:o,oauthSubject:e.oauthSubject,baseUrl:t,activityLogBaseUrl:p}:null:e.token?{kind:"token",workspaceId:o,token:e.token,baseUrl:t,activityLogBaseUrl:p}:null},Z=(e,a,t,p,o)=>{if(!e)return!1;var i=Y(a,t,a?.baseUrl||p,a?.activityLogBaseUrl||o);return!!i&&i.kind===e.kind&&i.workspaceId===e.workspaceId&&i.baseUrl===e.baseUrl&&i.activityLogBaseUrl===e.activityLogBaseUrl&&("oauth"===i.kind?i.oauthSubject===e.oauthSubject:i.token===e.token)},Q=(e,a,t)=>({exists:void 0!==e,kind:e?.type==="oauth"?"oauth":e?.token?"token":"incomplete",workspaceId:e?.workspaceId==null?null:String(e.workspaceId),credential:e?.type==="oauth"?e.oauthSubject||null:e?.token||null,baseUrl:a,activityLogBaseUrl:t}),X=(e,{tokens:a={},oauth:t,devtoolsTokens:p={},baseUrl:o,activityLogBaseUrl:i})=>{var d=a[e],r=d?.baseUrl||o,n=d?.activityLogBaseUrl||i,l=Y(d,t,r,n);return{profile:e,tokenInfo:d,oauth:t,fingerprint:l,baseline:Q(d,r,n),bank:l&&d?.bank||null,devtoolsTokens:p[e]||{},baseUrl:r,activityLogBaseUrl:n}},ee=(e="default")=>X(e,J.snapshot(["tokens","oauth","devtoolsTokens","baseUrl","activityLogBaseUrl"])),ea=(u=D(function*(e="default"){return X(e,(yield J.snapshotAsync(["tokens","oauth","devtoolsTokens","baseUrl","activityLogBaseUrl"])))}),function(){return u.apply(this,arguments)}),et=(e="default")=>ee(e).fingerprint,ep=(e,a,t)=>{for(var p=J.snapshot(["tokens","baseUrl","activityLogBaseUrl"]),o=p.tokens||{},i=e,d=2;;){var r=o[i];if(!r||"oauth"===r.type&&r.oauthSubject===t&&String(r.workspaceId)===String(a))break;i=`${e}-${d}`,d+=1}var n=o[i];return{profile:i,baseline:Q(n,n?.baseUrl||p.baseUrl,n?.activityLogBaseUrl||p.activityLogBaseUrl)}},eo=(e,a,t,p)=>{var o=t[e],i=o?.workspaceId&&a?.workspaceId&&String(o.workspaceId)===String(a.workspaceId),d=o?.type==="oauth"&&a?.type==="oauth"&&!!o.oauthSubject&&o.oauthSubject===a.oauthSubject||o?.type!=="oauth"&&a?.type!=="oauth"&&!!o?.token&&o.token===a?.token,r=i&&d,n={tokens:{...t,[e]:{...o?.baseUrl?{baseUrl:o.baseUrl}:{},...o?.activityLogBaseUrl?{activityLogBaseUrl:o.activityLogBaseUrl}:{},...r&&o?.bank?{bank:o.bank}:{},...a,createdAt:new Date().toISOString()}}};if(!r&&p[e]){var l={...p};delete l[e],n.devtoolsTokens=l}return n},ei=(e,a)=>{if(e&&a?.user?.sub!==e)throw Error("OAuth account changed. Re-select the workspace for the current account.")},ed=(e,a,{expectedOAuthSubject:t}={})=>{J.transaction(t?["tokens","devtoolsTokens","oauth"]:["tokens","devtoolsTokens"],({tokens:p={},devtoolsTokens:o={},oauth:i})=>(ei(t,i),eo(e,a,p,o)))},er=(e,a,t,p)=>!!e&&JSON.stringify(e)===JSON.stringify(Q(a,a?.baseUrl||t,a?.activityLogBaseUrl||p)),en=(e,a,t,{expectedOAuthSubject:p,makeCurrent:o=!1}={})=>{var i=!1;return J.transaction(["tokens","devtoolsTokens","oauth","currentProfile","baseUrl","activityLogBaseUrl"],({tokens:d={},devtoolsTokens:r={},oauth:n,baseUrl:l,activityLogBaseUrl:s})=>{if(!er(t,d[e],l,s))return{};ei(p,n),i=!0;var u=eo(e,a,d,r);return o?{...u,currentProfile:e}:u}),i},el=(m=D(function*(e,a,t,{expectedOAuthSubject:p,makeCurrent:o=!1}={}){var i=!1;return yield J.transactionAsync(["tokens","devtoolsTokens","oauth","currentProfile","baseUrl","activityLogBaseUrl"],({tokens:d={},devtoolsTokens:r={},oauth:n,baseUrl:l,activityLogBaseUrl:s})=>{if(!er(t,d[e],l,s))return{};ei(p,n),i=!0;var u=eo(e,a,d,r);return o?{...u,currentProfile:e}:u}),i}),function(e,a,t){return m.apply(this,arguments)}),es=e=>{J.transaction(["tokens","devtoolsTokens"],({tokens:a={},devtoolsTokens:t={}})=>{var p={...a};delete p[e];var o={tokens:p};if(t[e]){var i={...t};delete i[e],o.devtoolsTokens=i}return o})},eu=(e,a)=>{var t=!1;return J.transaction(["tokens","devtoolsTokens"],({tokens:p={},devtoolsTokens:o={}})=>{if(i=p[e],!i||!a||String(i.workspaceId??"")!==String(a.workspaceId??"")||("oauth"===a.type?"oauth"!==i.type||i.oauthSubject!==a.oauthSubject:a.token?"oauth"===i.type||i.token!==a.token:JSON.stringify(i)!==JSON.stringify(a)))return{};t=!0;var i,d={...p};delete d[e];var r={...o};return delete r[e],{tokens:d,devtoolsTokens:r}}),t},em=(e,a,t,p)=>{var o=!1;return J.transaction(["tokens","oauth","devtoolsTokens","baseUrl","activityLogBaseUrl"],({tokens:i={},oauth:d,devtoolsTokens:r={},baseUrl:n,activityLogBaseUrl:l})=>Z(a,i[e],d,n,l)?(o=!0,{devtoolsTokens:{...r,[e]:{...r[e],[t]:p}}}):{}),o},ec=(c=D(function*(e,a,t,p){var o=!1;return yield J.transactionAsync(["tokens","oauth","devtoolsTokens","baseUrl","activityLogBaseUrl"],({tokens:i={},oauth:d,devtoolsTokens:r={},baseUrl:n,activityLogBaseUrl:l})=>Z(a,i[e],d,n,l)?(o=!0,{devtoolsTokens:{...r,[e]:{...r[e],[t]:p}}}):{}),o}),function(e,a,t,p){return c.apply(this,arguments)}),ef=(e,a)=>{if(e)return a(["tokens","devtoolsTokens"],({tokens:a={},devtoolsTokens:t={}})=>{var p={...a},o=[];for(var i of Object.entries(a)){var d=g(i,2),r=d[0],n=d[1];if(n?.type==="oauth"&&(!n.oauthSubject||n.oauthSubject===e)){o.push(r);var l={...n,oauthSubject:n.oauthSubject||e};delete l.bank,p[r]=l}}var s={...t},u=!1;return o.forEach(e=>{s[e]&&(delete s[e],u=!0)}),{tokens:p,...u?{devtoolsTokens:s}:{}}})},eh=e=>ef(e,J.transaction),ev=e=>ef(e,J.transactionAsync),eg=(e,a,t)=>{if(p=t.oauth,e?.accessToken?!ek(e,p):!!p?.accessToken)return{result:{installed:!1,identityChanged:!1,previous:null},updates:{}};var p,o=t.oauth?.accessToken?t.oauth:null,i=o?.user?.sub,d=!!(i&&a?.user?.sub&&i!==a.user.sub),r={installed:!0,identityChanged:d,previous:o};if(!d)return{result:r,updates:{oauth:a}};var n={...t.tokens||{}},l={...t.devtoolsTokens||{}},s=!1;for(var u of Object.entries(t.tokens||{})){var m=g(u,2),c=m[0],f=m[1];if(f?.type==="oauth"&&(!f.oauthSubject||f.oauthSubject===i)){var h={...f,oauthSubject:f.oauthSubject||i};delete h.bank,n[c]=h,l[c]&&(delete l[c],s=!0)}}return{result:r,updates:{oauth:a,tokens:n,...s?{devtoolsTokens:l}:{}}}},eD=(e,a)=>{var t;return J.transaction(["oauth","tokens","devtoolsTokens"],p=>{var o=eg(e,a,p);return t=o.result,o.updates}),t},ey=(f=D(function*(e,a){var t;return yield J.transactionAsync(["oauth","tokens","devtoolsTokens"],p=>{var o=eg(e,a,p);return t=o.result,o.updates}),t}),function(e,a){return f.apply(this,arguments)}),ew=(e="default")=>{var a=z(e);return a?"oauth"===a.type?"oauth":a.token?"token":null:null},eb=()=>{var e=J.get("oauth");return e&&Object.keys(e).length>0?e:null},e_=e=>J.set("oauth",e),eC=e=>J.setAsync("oauth",e),eF=()=>J.set("oauth",{}),eS=()=>{var e=null;return J.update("oauth",a=>(a?.accessToken&&(e=a),{})),e},eE=(h=D(function*(){var e=null;return yield J.updateAsync("oauth",a=>(a?.accessToken&&(e=a),{})),e}),function(){return h.apply(this,arguments)}),ek=(e,a)=>!!e&&!!a&&e.accessToken===a.accessToken&&e.refreshToken===a.refreshToken,eA=(e,a)=>{var t=!1;return J.update("oauth",p=>ek(e,p)?(t=!0,a||{}):p||{}),t},eN=(v=D(function*(e,a){var t=!1;return yield J.updateAsync("oauth",p=>ek(e,p)?(t=!0,a||{}):p||{}),t}),function(e,a){return v.apply(this,arguments)}),e$=e=>eA(e,{}),eO=e=>eN(e,{}),ex=null,eT=e=>{ex=e},eB=()=>ex||process.env.BRICKS_PROFILE||J.get("currentProfile"),eI=()=>ex?"override":process.env.BRICKS_PROFILE?"env":"config",ej=e=>J.set("currentProfile",e),eV=()=>{var e=J.get("tokens"),a=J.get("currentProfile");return Object.keys(e).map(t=>({...e[t],name:t,current:t===a}))},eP=(e="default")=>{var a=J.get("tokens")[e];if(a?.type==="oauth"){var t=eb();if(!a.oauthSubject||a.oauthSubject!==t?.user?.sub)return null}return a?.bank||null},eR=(e,a,{expectedProfile:t}={})=>{var p=!1;return J.transaction(["tokens","oauth","baseUrl","activityLogBaseUrl"],({tokens:o={},oauth:i,baseUrl:d,activityLogBaseUrl:r})=>(!t||Z(t,o[e],i,d,r))&&o[e]?(p=!0,{tokens:{...o,[e]:{...o[e],bank:a}}}):{}),p},eM=(e,{expectedProfile:a,expectedSpacekey:t}={})=>{var p=!1;return J.transaction(["tokens","oauth","baseUrl","activityLogBaseUrl"],({tokens:o={},oauth:i,baseUrl:d,activityLogBaseUrl:r})=>{if(a&&!Z(a,o[e],i,d,r)||!o[e]?.bank||t&&o[e].bank.spacekey!==t)return{};p=!0;var n={...o[e]};return delete n.bank,{tokens:{...o,[e]:n}}}),p},eU=(e=eB())=>{var a=J.get("tokens");return a[e]?.activityLogBaseUrl||J.get("activityLogBaseUrl")},eL=(e,a)=>{a?J.update("tokens",(t={})=>({...t,[a]:{...t[a],activityLogBaseUrl:e}})):J.set("activityLogBaseUrl",e)},eq=()=>{J.clear()};let eJ=J},75646(e,a,t){t.r(a),t.d(a,{discoverDevToolsServers:()=>n,httpProbeSubnet:()=>l,verifyDevToolsServer:()=>s});var p,o,i=t(99436),d=t(19557),r="bricks-devtools",n=({timeout:e=3e3,idleTimeout:a=0}={})=>(0,d.YH)({port:19900,timeout:e,idleTimeout:a,buildQuery:()=>Buffer.from(JSON.stringify({t:"QUERY",v:"1.0",s:r,d:{id:`cli-${(0,d.BW)()}`}})),parseMessage:(e,a)=>{var t=(0,d.nl)(e,e=>e?.s===r);if(!t)return null;var p=a.address;return{key:`${p}:${t.port}`,value:{...t,address:p}}}}),l=(p=i(function*({port:e=19851,connectTimeout:a=500,concurrency:t=50,timeout:p=0}={}){var o=(0,d.r9)();if(0===o.length)return[];var r=[],n=p>0?Date.now()+p:0,l=[],u=new Set;for(var m of o){var c=m.address.split(".").slice(0,3).join(".");if(!u.has(c)){u.add(c);for(var f=1;f<255;f++)l.push(`${c}.${f}`)}}for(var h=0;h<l.length&&!(n&&Date.now()>=n);h+=t){var v=l.slice(h,h+t);yield Promise.allSettled(v.map(function(){var t=i(function*(t){var p=yield s(t,e,a);p&&r.push({...p,address:t,port:e})});return function(e){return t.apply(this,arguments)}}()))}return r}),function(){return p.apply(this,arguments)}),s=(o=i(function*(e,a,t=3e3){return(0,d.uE)(`http://${e}:${a}/devtools/info`,t)}),function(e,a){return o.apply(this,arguments)})},29988(e,a,t){t.d(a,{i:()=>p});var p=()=>"u">typeof module&&"function"==typeof module.require?module.require("../gql/client.js"):Promise.all([t.e(3332),t.e(8295),t.e(907)]).then(t.bind(t,85382))},19557(e,a,t){t.d(a,{BW:()=>r,YH:()=>u,nl:()=>l,r9:()=>s,uE:()=>m});var p,o=t(99436),i=t(41314),d=t(48161),r=()=>Math.random().toString(36).slice(2,9),n=new Set(["ANNOUNCE","RESPONSE"]),l=(e,a)=>{var t=JSON.parse(e.toString());return a(t)&&n.has(t.t)&&t.d?.info||null},s=()=>{var e=[];for(var a of Object.values(d.networkInterfaces()))for(var t of a)if(function(){if("IPv4"!==t.family||t.internal)return 1;var a=t.address.split(".").map(Number),p=t.netmask.split(".").map(Number),o=a.map((e,a)=>(e|255&~p[a]).toString()).join(".");e.push({address:t.address,broadcast:o})}())continue;return e},u=({port:e,timeout:a=3e3,idleTimeout:t=0,buildQuery:p,parseMessage:o})=>new Promise((d,r)=>{var n=new Map,l=i.createSocket("udp4"),u=null,m=null,c=!1,f=()=>{if(!c){c=!0,clearTimeout(u),clearTimeout(m);try{l.close()}catch{}d([...n.values()])}};l.on("error",e=>{if(!c){c=!0,clearTimeout(u),clearTimeout(m);try{l.close()}catch{}r(e)}}),l.on("message",(e,a)=>{try{var p=o(e,a);if(!p||n.has(p.key))return;n.set(p.key,p.value),t&&!c&&(clearTimeout(m),m=setTimeout(f,t))}catch{}}),l.bind(()=>{l.setBroadcast(!0);var t=p();for(var o of(()=>{var e=new Set(["255.255.255.255","127.0.0.1"]);for(var a of s())e.add(a.broadcast);return[...e]})())l.send(t,0,t.length,e,o);u=setTimeout(f,a)})}),m=(p=o(function*(e,a=3e3){var t;try{var p=new AbortController;t=setTimeout(()=>p.abort(),a);var o=yield fetch(e,{signal:p.signal});if(!o.ok)return null;return yield o.json()}catch{return null}finally{void 0!==t&&clearTimeout(t)}}),function(e){return p.apply(this,arguments)})},63755(e,a,t){t.d(a,{EC:()=>M,IC:()=>U,UY:()=>I,X9:()=>J,Zd:()=>V,b2:()=>B,bo:()=>P,iF:()=>L,n_:()=>S,ph:()=>q});var p,o,i,d,r,n,l,s,u=t(68832),m=t(99436),c=t(76982),f=t(58611),h=t(35317),v=t(79657),g=t(64007),D=t(47988),y=process.env.BRICKS_OAUTH_DOMAIN||"auth0.bricks.tools",w=process.env.BRICKS_OAUTH_AUDIENCE||"https://display.bricks.tools",b="openid profile email offline_access",_=process.env.BRICKS_OAUTH_CLIENT_ID||"Atyy2gp0suIWE33rj8LtJ0pJpIGHiGaT",C="/callback",F="127.0.0.1",S=()=>!!_,E=(e,a,{signal:t}={})=>(()=>{var e=process.env.HTTPS_PROXY||process.env.https_proxy;if(!e)return v.Ay;var a=new g(e);return(e,t={})=>(0,v.Ay)(e,{...t,agent:a})})()(`https://${y}${e}`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams(a).toString(),signal:t}),k=(p=m(function*(e){var a;try{a=yield e.json()}catch(e){if(e?.name==="AbortError")throw e;a={}}if(!e.ok){var t=Error(a.error_description||a.error||`HTTP ${e.status}`);throw t.code=a.error,t}return a}),function(e){return p.apply(this,arguments)}),A=(o=m(function*(e,a){var t=new AbortController,p=setTimeout(()=>t.abort(),15e3);try{return yield k((yield E(e,a,{signal:t.signal})))}finally{clearTimeout(p)}}),function(e,a){return o.apply(this,arguments)}),N=e=>String(e).replaceAll("&","&amp;").replaceAll("<","&lt;").replaceAll(">","&gt;").replaceAll('"',"&quot;").replaceAll("'","&#39;"),$=({title:e,heading:a,message:t})=>`<!doctype html>
106
+ <html lang="en">
107
+ <head>
108
+ <meta charset="utf-8" />
109
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
110
+ <title>${N(e)}</title>
111
+ <style>
112
+ :root {
113
+ --text: #fafafa;
114
+ --text-dim: #a1a1aa;
115
+ --page-bg: #09090b;
116
+ --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
117
+ }
118
+ * { box-sizing: border-box; }
119
+ html { color-scheme: dark; }
120
+ body {
121
+ margin: 0;
122
+ min-height: 100vh;
123
+ display: flex;
124
+ align-items: center;
125
+ justify-content: center;
126
+ padding: 24px;
127
+ background: var(--page-bg);
128
+ color: var(--text);
129
+ font-family: var(--font-sans);
130
+ text-align: center;
131
+ }
132
+ main {
133
+ width: 100%;
134
+ max-width: 560px;
135
+ display: flex;
136
+ flex-direction: column;
137
+ align-items: center;
138
+ justify-content: center;
139
+ }
140
+ .logo {
141
+ width: 72px;
142
+ height: 72px;
143
+ display: block;
144
+ margin-bottom: 24px;
145
+ }
146
+ h1 {
147
+ margin: 0 0 10px;
148
+ font-size: 28px;
149
+ line-height: 1.15;
150
+ font-weight: 650;
151
+ color: var(--text);
152
+ }
153
+ p {
154
+ margin: 0;
155
+ line-height: 1.7;
156
+ color: var(--text-dim);
157
+ font-size: 15px;
158
+ }
159
+ </style>
160
+ </head>
161
+ <body>
162
+ <main>
163
+ <img class="logo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAQAAAD41aSMAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAFxIAABcSAWef0lIAAAAHdElNRQfqAxUDIA9cEchTAAAJD0lEQVR42u2dfVMbNxDGH/mMDZiCm2YCtClpknaS6ff/LJ2QljadSQqEBAyBALHvtn/4rNOd70WyLe+d2R8zCT7r5JUe7erlZKEIAictbgMeOiIAMyIAMyIAMyIAMyIAMyIAMyIAMyIAMyIAMyIAMyIAMyIAMyIAMyIAMyIAM22rVPLUxh1lmay6bkf0DiF3cRpGgOcIrCSoDkH0p1S/MyH+tIwblQJc2vqSkOHKKlWlACPucjQWu5qTURAzdqMgjYSjctyHiw4CEPaxw13CmnOJY8dG6uQBPXGBCjYoQuB0h1MfEHGXbwWRTpgZEYAZBwFkQcgHDgJI/+sDCUHMiADMOM6ELcnvLtQcKanq/REucQdgDVvYzEuTlwMV5klfcY1hkp+3+OtFgFNcTFkc4DvanSrIv7jNXFIIsDWVMsRhPMEh9LGXzoQG+GjMUc4BbOKAsp/1h85hEwcAQEcYQoEAfIefjPw+4Itx3zmATTrwJMLSRkEhLvAGo0wmKqehjnCBw8zHlXw2fcAJCCr1czuVQ16hh1AY1+u+kd8RvmRyU/iKt56GgUsYBZG+X+GovC51SsLfqZTFn32Fq4J3q6rsxsg9qYZBLMvYnsSiCB9mLH853jvhNfSNOEe4LkzZxZZRJd/ssqcTowiv8Ao7utJGFUsnn7RN5hpXEjwVXuM1uvrVrRcf8CwAYQ976qXRRi8LU/6Cp+pXo4x2EkT6/nVAQe3pKy1clJp2F1sVmX0KhTq/HqCg+toiPw9mvXtABwBUV78eFqQbV1tgSHVnlX/SyrtT75XnMKnQIDUSSap5DQDQ9rwEuaR5QBC3I4XI2pFdCz7dE4TFKek0LjoVLrIP47R+q8jPPGAK+8okIwbPl68qffda5/8kc9ekqdwABNXDa/PNhePZAyZVMNIzn451MboWaWbrFUNc6UfmahwkJyhzwPAOmfGtBzwL0MIVQKBhXKQw097MlPcAnevXEdYt8s8TIEKof/JQuMeZvj87y31k5HmPQ1yS32VgzyFI4UwXFljHj+ioopTv4v8BIDSGpK48RxB7XpEPRUZw2s2818dp6vUxPuMF+Wn9wNL6AAAIcICWVUHW8QyYNeKqnkPiKB2AAEC9osNUTzTEG+zTDv9SxGwQwtiHQ/yDQYlDkw4ZSv/jmxbOpy+qV+hk1umOccq/FDEbm3imw8kI/+FjYco+nsYOeYs3+LSUB3AKg7yKVS+wn5HgIk+qBeB9FLSLnnqqI12Ai4KWFGIP2+qlHgSeeXwGqozIWzDfVjvqNdYME3xZ5L0PCABArdEQ00vw5ZV0A5dorqGPetm5g+2cQEbYwLbR1RZ+jnpB5sK6n6UIp51x7kyMt3e0pMZsNrfmdRRnemtUB9u5dwXo46Muz+eUADc0WSzZREftgmgQf0oLA/RnqINyvHgAGb/N7rVU8LtJ3i40pX2tbI9aN14pilc5tZInuI9/28IBgD2c63zsVqfc8PI8oC77J4rsIMBYtg4z9wQIEKClqyapIh/Lct5HQeNKGM0pis3d0zG6xL1V31i2Nqdey96l4Pnz1NihyfLxylwFmO4z1q3uVPhixLiOHoeN4qtJu+9g8XhfijjBGt15XE5pxy1f4Q4g4L2u2AiPSk3r6mZhSrejv1p0jxHa9J+R3+zLI2X2e2ZkPGMFFu5y6gm918POw/Gl+FXVauo2zrRlyfjGHBEdGfkBLavlQVeWEPKS6ieEyG44mdc3ttHLif6ENl5WdB0/6OCSmg+rn/XiiUmIfS+jCy/zAEKUUXZseQd72FT5KUlfGROlxhykB7RTIxH1jAY4RYhxa4oAtMZ7hzLVleSQdL+TT/tqpOup3+lv3GHSOiMAXfxmuZDoSuUXtT/TxFEjvCxcTJ5SoODTKlKqzBVVkm4qnyt8Q4Q2ttG23VtXnCsBd7hBiAAb+TvtcvlGf+mA+ASPLO7x0wfMM2VQlumm3t+uTOGQqwLWvcT8LLI9nRnZHc2MCMCMCMCMCMCMkwCi1uJxqlN/S2qrwtC5kTrMAxROsCXfVS3l2nmw7jQRG3raGbA6uM+V5LgaZqRfZUYEYMYxBM2zN6aVWW6sy+E3abuiuZ5QuJ0VBDgKsIHd+Bsj2e3CUbwW35q6lnCPY0PA7/E9Wjn5jKskeZXnosn1KJW6lZOyhax1hHFfNnn9CQNtRYCfsG7kG6VyT/LJtyzEKW79CUDYRXeOXriNtvEVuN3a9Oh7dG7spduaq4S7dOTzxCzpMKpwV8+pTmUWtnikUTMjAjAjAjAjAjAjAjAjAjAjAjAjAjAjAjAjJ+cyIx7AjOwNZUY8gBkRgBkRgBkZBTEjnTAzEoKYEQGYEQGYEQGYEQGYkWEoM+IBzMg8gBnxAGZEAGZEAGZkFMSMeAAzMgpiRjyAGekDmJEQxIyEIGZEAGZEAGZEAGZEAGZEAGaczooY4Mlck4HkpAiFG/RqMrG4Nv6SwHDO6c7AuUU7nB0NzDsZS88kalL/C7XKrCkvZ0cvcjJWz4ndsq2SPoAZEYAZ5+Pr6xG5s4GiHlZ5PzVRIahJ5I5Sh6cFtXHkkXNTcDwxq89dQs1bo6i/chujucSxYxN1EqBXn6ELtdIHCNbErg2K/B1ZpmoTaVeJxj4Rq5c1s9PYJ2L1smZ26jJ8cOYBekC9EA8QFoIIwIwIwExjBZBOmBnphIWF0NiZ8KrQ2JlwXf7+xrw0NgQ11vAVLUdjEQGYaWwnXC9rZqexnXC9rJkdCUHMNFaABxiC6oWEIGbEA4SF0FgBJAQJC6GxAkgfICwEEYCZxgognbCwEEQAZkQAZkQAZkQAZhorgEzEhIXQWAFkHsCMbMwSwx92OR5gJ7wqRa4XTvuCRtzWGtSzOYycQ4rDUQUKx9iieow+7lMCvEenFnoQrp1HZ06npYxwwV1GjVnQa25jcq2yg/HIMs5i14fKkNXkwvFi1xtUpnq0MlOe5RJZnq1UHYLUYzrnLk0DeWwZPCrPDQUA0CK9gFKna6qSd+fP3y59cV3l5TW+RiX3BIB17LYTQPBGY5ciVgURgBkRgBkRgBkRgBkRgBkRgBkRgBkRgBkRgBkRgBkRgBkRgBkRgBkRgJn/AQveHJLic/uaAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDI1LTA1LTMwVDAxOjA2OjI1KzAwOjAw6pDGFAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyNS0wNS0zMFQwMTowNjoyNSswMDowMJvNfqgAAAAodEVYdGRhdGU6dGltZXN0YW1wADIwMjYtMDMtMjFUMDM6MzI6MTUrMDA6MDA/aNclAAAARnRFWHRzb2Z0d2FyZQBJbWFnZU1hZ2ljayA2LjcuOC05IDIwMTQtMDUtMTIgUTE2IGh0dHA6Ly93d3cuaW1hZ2VtYWdpY2sub3Jn3IbtAAAAABh0RVh0VGh1bWI6OkRvY3VtZW50OjpQYWdlcwAxp/+7LwAAABh0RVh0VGh1bWI6OkltYWdlOjpoZWlnaHQANTEywNBQUQAAABd0RVh0VGh1bWI6OkltYWdlOjpXaWR0aAA1MTIcfAPcAAAAGXRFWHRUaHVtYjo6TWltZXR5cGUAaW1hZ2UvcG5nP7JWTgAAABd0RVh0VGh1bWI6Ok1UaW1lADE1NDY5OTk4MDiLx93fAAAAD3RFWHRUaHVtYjo6U2l6ZQAwQkKUoj7sAAAAQHRFWHRUaHVtYjo6VVJJAGZpbGU6Ly8vdG1wL2Zhdmljb25zLzY1OTQ5ODdlNmE3NjU4MmMzZjU3MWZiZWE2OTFiOTg3I9M9xAAAAABJRU5ErkJggg==" alt="" />
164
+ <h1>${N(a)}</h1>
165
+ <p>${N(t)}</p>
166
+ </main>
167
+ </body>
168
+ </html>`,O=$({title:"Signed in to BRICKS",heading:"Signed in to BRICKS",message:"You can close this tab now."}),x=e=>$({title:"Sign-in failed",heading:"Sign-in failed",message:e}),T="Sign-in cancelled",B=(i=m(function*({onAuthorizeUrl:e,signal:a}={}){if(a?.aborted)throw Error(T);var t,p,o,i,d,r=(t=c.randomBytes(32).toString("base64url"),p=c.createHash("sha256").update(t).digest("base64url"),{verifier:t,challenge:p}),n=r.verifier,l=r.challenge,s=c.randomBytes(16).toString("base64url"),m=process.env.BRICKS_OAUTH_CALLBACK_PORT,h=null!=m&&""!==m?Number(m):8535,v=new Promise((e,a)=>{o=e,i=a}),g=f.createServer((e,a)=>{var t=new URL(e.url,`http://${F}`);if(t.pathname!==C)return void a.writeHead(404).end();var p=t.searchParams.get("error"),d=t.searchParams.get("code");if(t.searchParams.get("state")!==s)return void a.writeHead(400,{"Content-Type":"text/html"}).end(x("Invalid state"));if(p){var r=t.searchParams.get("error_description")||p;a.writeHead(200,{"Content-Type":"text/html"}).end(x(r)),i(Error(r));return}if(!d){a.writeHead(400,{"Content-Type":"text/html"}).end(x("Invalid state")),i(Error("OAuth callback did not include an authorization code"));return}a.writeHead(200,{"Content-Type":"text/html"}).end(O),o(d)}),D=yield new Promise((e,a)=>{g.once("error",e=>{e?.code==="EADDRINUSE"?a(Error(`Callback port ${h} is already in use — is another sign-in in progress? Close it and retry.`)):a(e)}),g.listen(h,F,()=>e(g.address().port))}),S=`http://${F}:${D}${C}`,E=(({redirectUri:e,state:a,challenge:t})=>{var p=new URL(`https://${y}/authorize`);return p.searchParams.set("response_type","code"),p.searchParams.set("client_id",_),p.searchParams.set("redirect_uri",e),p.searchParams.set("scope",b),p.searchParams.set("audience",w),p.searchParams.set("state",a),p.searchParams.set("code_challenge",t),p.searchParams.set("code_challenge_method","S256"),p.toString()})({redirectUri:S,state:s,challenge:l}),k=()=>i(Error(T));a?.addEventListener("abort",k,{once:!0});try{var N=new Promise((e,a)=>{d=setTimeout(()=>a(Error("Timed out waiting for the browser sign-in (5 minutes)")),3e5)}),$=e?Promise.resolve().then(()=>e(E)):Promise.resolve(),B=yield Promise.all([Promise.race([$,N]),Promise.race([v,N])]),I=u(B,2)[1];return yield A("/oauth/token",{grant_type:"authorization_code",client_id:_,code:I,code_verifier:n,redirect_uri:S})}finally{d&&clearTimeout(d),a?.removeEventListener("abort",k),yield new Promise(e=>{g.close(e),g.closeIdleConnections?.()})}}),function(){return i.apply(this,arguments)}),I=(d=m(function*(){return yield A("/oauth/device/code",{client_id:_,scope:b,audience:w})}),function(){return d.apply(this,arguments)}),j=e=>new Promise(a=>setTimeout(a,e)),V=(r=m(function*({device_code:e,interval:a=5,expires_in:t=900}){for(var p=Date.now()+1e3*t,o=1e3*a;Date.now()<p;){yield j(o);try{return yield A("/oauth/token",{grant_type:"urn:ietf:params:oauth:grant-type:device_code",client_id:_,device_code:e})}catch(e){if("authorization_pending"===e.code)continue;if("slow_down"===e.code){o+=5e3;continue}throw e}}throw Error("Device authorization expired before the sign-in was confirmed")}),function(e){return r.apply(this,arguments)}),P=(e,a=null,{preservePrevious:t=!1}={})=>{if(!e?.access_token)throw Error("OAuth token response did not include an access token");if(!t&&!e.id_token)throw Error("OAuth login response did not include an ID token");var p=e.id_token?(e=>{try{return JSON.parse(Buffer.from(e.split(".")[1],"base64url").toString("utf8"))}catch{return{}}})(e.id_token):{};if(!t&&!p.sub)throw Error("OAuth ID token did not include a user subject");if(t&&p.sub&&a?.user?.sub&&p.sub!==a.user.sub)throw Error("OAuth refresh returned a different user identity");var o=t?a?.user:null;return{accessToken:e.access_token,refreshToken:e.refresh_token||(t?a?.refreshToken:null)||null,expiresAt:new Date(Date.now()+1e3*(e.expires_in||0)).toISOString(),user:{sub:p.sub||o?.sub||null,email:p.email||o?.email||null,name:p.name||o?.name||null},audience:w}},R=null,M=(n=m(function*({forceRefresh:e=!1}={}){var a=(0,D.getOAuth)();if(!a?.accessToken)return null;var t=new Date(a.expiresAt||0).getTime()-Date.now();if(!e&&t>3e5)return a;if(!a.refreshToken){if(t>0)return a;if(!(yield(0,D.clearOAuthIfCurrentAsync)(a)))return(0,D.getOAuth)();throw Error("OAuth session expired. Run `bricks auth login` again.")}var p=`${a.accessToken}\0${a.refreshToken}`;if(R){var o=R;return o.sessionKey===p?o.promise:(yield o.promise.catch(()=>{}),M({forceRefresh:e}))}var i=(0,D.withOAuthRefreshLock)(m(function*(){var t=(0,D.getOAuth)();if(!t?.accessToken)return null;if(!a||!t||a.accessToken!==t.accessToken||a.refreshToken!==t.refreshToken)return t;var p=new Date(t.expiresAt||0).getTime()-Date.now();if(!e&&p>3e5)return t;if(!t.refreshToken){if(p>0)return t;if(!(yield(0,D.clearOAuthIfCurrentAsync)(t)))return(0,D.getOAuth)();throw Error("OAuth session expired. Run `bricks auth login` again.")}try{var o=yield A("/oauth/token",{grant_type:"refresh_token",client_id:_,refresh_token:t.refreshToken}),i=P(o,t,{preservePrevious:!0});if(!(yield(0,D.replaceOAuthIfCurrentAsync)(t,i)))return(0,D.getOAuth)();return i}catch(e){if("invalid_grant"===e.code){if(!(yield(0,D.clearOAuthIfCurrentAsync)(t)))return(0,D.getOAuth)();throw Error("OAuth session expired. Run `bricks auth login` again.")}throw e}}));R={sessionKey:p,promise:i};try{return yield i}finally{R?.promise===i&&(R=null)}}),function(){return n.apply(this,arguments)}),U=(l=m(function*(e){if(e){var a=new AbortController,t=setTimeout(()=>a.abort(),5e3);try{yield E("/oauth/revoke",{client_id:_,token:e},{signal:a.signal})}catch{}finally{clearTimeout(t)}}}),function(e){return l.apply(this,arguments)}),L=(s=m(function*(){var e=yield(0,D.takeOAuthSessionAsync)();return!!e?.accessToken&&(yield U(e.refreshToken),!0)}),function(){return s.apply(this,arguments)}),q=e=>new Promise(a=>{var t=u("darwin"===process.platform?["open",[e]]:"win32"===process.platform?["cmd",["/c","start","",e.replace(/&/g,"^&")]]:["xdg-open",[e]],2),p=t[0],o=t[1];try{var i=(0,h.spawn)(p,o,{stdio:"ignore",detached:!0});i.once("error",()=>a(!1)),i.once("spawn",()=>{i.unref(),a(!0)})}catch{a(!1)}}),J=()=>"darwin"===process.platform||"win32"===process.platform?!process.env.SSH_CONNECTION:!!process.env.DISPLAY||!!process.env.WAYLAND_DISPLAY},74049(e,a,t){t.d(a,{Ku:()=>r,w9:()=>d});var p=t(79896),o=t(16928),i=new Set(["CTOR","CTOR Desktop"]),d=e=>{var a,t=`Release by ${(a=process.env.BRICKS_RELEASE_SIGN)&&i.has(a)?a:"BRICKS CLI"}`;return e?`${e}
101
169
 
102
- ${o}`:o},s=e=>{if(e.endsWith(".json")||e.includes("/")){if(!r.existsSync(e))throw Error(`Config file not found: ${e}`);var t=r.readFileSync(e,"utf-8");return{config:t,source:{type:"file",path:n.resolve(e)},sizeBytes:Buffer.byteLength(t)}}return{config:e,source:{type:"inline"},sizeBytes:Buffer.byteLength(e)}}},68168(e,t,o){o.d(t,{K:()=>a,Y:()=>s});var r,n=o(99436),i=e=>String(e||"").trim().toLowerCase(),a=({resource:e,query:t,items:o,fields:r,selectedBy:n=null})=>{var a=i(t),s=o.filter(e=>r.some(t=>i(t.split(".").reduce((e,t)=>e?.[t],e)??null)===a)),l=null,u=n;return"id"===n?l=o[0]||null:1===s.length?(l=s[0],u="exact"):1===o.length&&(l=o[0],u="single"),{resource:e,query:t,exactMatchCount:s.length,matchCount:o.length,selectedBy:u,ambiguous:o.length>1&&!l,resolved:l,matches:o}},s=(r=n(function*(e){try{return yield e()}catch(e){if(/not found/i.test(e.message))return null;throw e}}),function(e){return r.apply(this,arguments)})},44618(e,t,o){o.d(t,{V:()=>i});var r={S:"Subspace",B:"Brick",C:"Canvas",A:"Animation",G:"Generator",D:"Data",F:"Data Calc",N:"Calc Node",T:"Test",TC:"Test Case",AT:"Automation Map"},n=e=>e?.split("_")?.[0]||"",i=(e,{keyword:t,types:o}={})=>{var i=t?.trim().toLowerCase()||"",a=o?.length>0?new Set(o.flatMap(e=>{var t=String(e).trim().toUpperCase();return t?[t]:[]})):null;return Object.entries(Object.entries(e||{}).filter(([,e])=>e&&!e.hide).filter(([e,t])=>{var o=n(e);if(a&&!a.has(o))return!1;if(!i)return!0;var r=t?.title?String(t.title).toLowerCase():"";return e.toLowerCase().includes(i)||r.includes(i)}).reduce((e,[t,o])=>{var r=n(t);return e[r]||(e[r]=[]),e[r].push({shortId:t,ref:o}),e},{})).map(([e,t])=>({prefix:e,label:r[e]||e,refs:t.sort((e,t)=>{var o=e.ref?.title||e.shortId,r=t.ref?.title||t.shortId;return String(o).localeCompare(String(r))})})).sort((e,t)=>e.label.localeCompare(t.label))}},94979(e,t,o){o.d(t,{p:()=>i});var r=/^(\d+)(s|m|h|d|w)$/,n={s:1e3,m:6e4,h:36e5,d:864e5,w:6048e5};function i(e){var t=e.match(r);if(t){var o=parseInt(t[1],10),i=n[t[2]];return new Date(Date.now()-o*i).toISOString()}var a=new Date(e);if(isNaN(a.getTime()))throw Error(`Invalid time format: "${e}". Use ISO 8601 or relative (e.g. 1h, 30m, 2d)`);return a.toISOString()}},98593(e,t,o){o.d(t,{H_:()=>s,Iy:()=>a,S5:()=>c,jB:()=>l,yd:()=>d});var r=o(73284),n=o(79896),i=o(7586),a=(e,t,o)=>({label:e,ok:t,detail:o}),s=(e,t,{id:o,name:r,...n}={})=>({id:e?._id||t,name:r||e?.name||"Unnamed",...n}),l=(e,t)=>{var o={id:e};return t.name&&(o.name=t.name),t.description&&(o.description=t.description),t.config?o.config=t.config:t.file&&(o.config=n.readFileSync(t.file,"utf-8")),void 0!==o.config&&(o.validateConfig=!1!==t.validate),t.lastCommitId&&(o.lastCommitId=t.lastCommitId),o},u=e=>null==e?r.default.gray("N/A"):"object"==typeof e?r.default.gray(JSON.stringify(e,null,2)):String(e),c=({action:e,target:t,request:o,checks:n=[],json:a=!1})=>{a?(0,i.GF)({ok:!0,dryRun:!0,action:e,target:t||null,request:o||null,checks:n}):(console.log(r.default.bold(`
103
- Dry Run: ${e}`)),console.log("─".repeat(60)),t&&(console.log(r.default.bold("Target")),Object.entries(t).forEach(([e,t])=>{console.log(`${e}: ${u(t)}`)})),o&&(console.log(`
104
- ${r.default.bold("Request")}`),Object.entries(o).forEach(([e,t])=>{console.log(`${e}: ${u(t)}`)})),n.length>0&&(console.log(`
105
- ${r.default.bold("Checks")}`),n.forEach(e=>{var t=e.ok?r.default.green("OK"):r.default.red("FAIL"),o=e.detail?` ${e.detail}`:"";console.log(`${t} ${e.label}${o}`)})),console.log("─".repeat(60)))},d=({action:e,target:t,result:o=null,json:r=!1,message:n})=>{r?(0,i.GF)({ok:!0,dryRun:!1,action:e,target:t||null,result:o}):n&&console.log(n)}},73284(e,t,o){let r;o.r(t),o.d(t,{foregroundColors:()=>u,default:()=>P,colorNames:()=>d,supportsColor:()=>v,colors:()=>d,supportsColorStderr:()=>b,modifierNames:()=>l,foregroundColorNames:()=>u,chalkStderr:()=>N,Chalk:()=>w,modifiers:()=>l,backgroundColorNames:()=>c,backgroundColors:()=>c});let n=(e=0)=>t=>`\u001B[${t+e}m`,i=(e=0)=>t=>`\u001B[${38+e};5;${t}m`,a=(e=0)=>(t,o,r)=>`\u001B[${38+e};2;${t};${o};${r}m`,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},l=Object.keys(s.modifier),u=Object.keys(s.color),c=Object.keys(s.bgColor),d=[...u,...c],p=function(){let e=new Map;for(let[t,o]of Object.entries(s)){for(let[t,r]of Object.entries(o))s[t]={open:`\u001B[${r[0]}m`,close:`\u001B[${r[1]}m`},o[t]=s[t],e.set(r[0],r[1]);Object.defineProperty(s,t,{value:o,enumerable:!1})}return Object.defineProperty(s,"codes",{value:e,enumerable:!1}),s.color.close="\x1b[39m",s.bgColor.close="\x1b[49m",s.color.ansi=n(),s.color.ansi256=i(),s.color.ansi16m=a(),s.bgColor.ansi=n(10),s.bgColor.ansi256=i(10),s.bgColor.ansi16m=a(10),Object.defineProperties(s,{rgbToAnsi256:{value:(e,t,o)=>e===t&&t===o?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(o/255*5),enumerable:!1},hexToRgb:{value(e){let t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[o]=t;3===o.length&&(o=[...o].map(e=>e+e).join(""));let r=Number.parseInt(o,16);return[r>>16&255,r>>8&255,255&r]},enumerable:!1},hexToAnsi256:{value:e=>s.rgbToAnsi256(...s.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){let t,o,r;if(e<8)return 30+e;if(e<16)return 90+(e-8);if(e>=232)o=t=((e-232)*10+8)/255,r=t;else{let n=(e-=16)%36;t=Math.floor(e/36)/5,o=Math.floor(n/6)/5,r=n%6/5}let n=2*Math.max(t,o,r);if(0===n)return 30;let i=30+(Math.round(r)<<2|Math.round(o)<<1|Math.round(t));return 2===n&&(i+=60),i},enumerable:!1},rgbToAnsi:{value:(e,t,o)=>s.ansi256ToAnsi(s.rgbToAnsi256(e,t,o)),enumerable:!1},hexToAnsi:{value:e=>s.ansi256ToAnsi(s.hexToAnsi256(e)),enumerable:!1}}),s}();var f=o(1708),g=o(48161),h=o(7066);function m(e,t=globalThis.Deno?globalThis.Deno.args:f.argv){let o=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(o+e),n=t.indexOf("--");return -1!==r&&(-1===n||r<n)}let{env:D}=f;function y(e,t={}){var o;return 0!==(o=function(e,{streamIsTTY:t,sniffFlags:o=!0}={}){let n=function(){if("FORCE_COLOR"in D)return"true"===D.FORCE_COLOR?1:"false"===D.FORCE_COLOR?0:0===D.FORCE_COLOR.length?1:Math.min(Number.parseInt(D.FORCE_COLOR,10),3)}();void 0!==n&&(r=n);let i=o?r:n;if(0===i)return 0;if(o){if(m("color=16m")||m("color=full")||m("color=truecolor"))return 3;if(m("color=256"))return 2}if("TF_BUILD"in D&&"AGENT_NAME"in D)return 1;if(e&&!t&&void 0===i)return 0;let a=i||0;if("dumb"===D.TERM)return a;if("win32"===f.platform){let e=g.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in D)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(e=>e in D)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(e=>e in D)||"codeship"===D.CI_NAME?1:a;if("TEAMCITY_VERSION"in D)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(D.TEAMCITY_VERSION);if("truecolor"===D.COLORTERM||"xterm-kitty"===D.TERM||"xterm-ghostty"===D.TERM||"wezterm"===D.TERM)return 3;if("TERM_PROGRAM"in D){let e=Number.parseInt((D.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(D.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(D.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(D.TERM)||"COLORTERM"in D?1:a}(e,{streamIsTTY:e&&e.isTTY,...t}))&&{level:o,hasBasic:!0,has256:o>=2,has16m:o>=3}}m("no-color")||m("no-colors")||m("color=false")||m("color=never")?r=0:(m("color")||m("colors")||m("color=true")||m("color=always"))&&(r=1);let{stdout:v,stderr:b}={stdout:y({isTTY:h.isatty(1)}),stderr:y({isTTY:h.isatty(2)})},F=Symbol("GENERATOR"),_=Symbol("STYLER"),C=Symbol("IS_EMPTY"),$=["ansi","ansi","ansi256","ansi16m"],E=Object.create(null);class w{constructor(e){return k(e)}}let k=e=>{let t=(...e)=>e.join(" ");return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let o=v?v.level:0;e.level=void 0===t.level?o:t.level})(t,e),Object.setPrototypeOf(t,S.prototype),t};function S(e){return k(e)}for(let[e,t]of(Object.setPrototypeOf(S.prototype,Function.prototype),Object.entries(p)))E[e]={get(){let o=j(this,A(t.open,t.close,this[_]),this[C]);return Object.defineProperty(this,e,{value:o}),o}};E.visible={get(){let e=j(this,this[_],!0);return Object.defineProperty(this,"visible",{value:e}),e}};let x=(e,t,o,...r)=>"rgb"===e?"ansi16m"===t?p[o].ansi16m(...r):"ansi256"===t?p[o].ansi256(p.rgbToAnsi256(...r)):p[o].ansi(p.rgbToAnsi(...r)):"hex"===e?x("rgb",t,o,...p.hexToRgb(...r)):p[o][e](...r);for(let e of["rgb","hex","ansi256"])E[e]={get(){let{level:t}=this;return function(...o){return j(this,A(x(e,$[t],"color",...o),p.color.close,this[_]),this[C])}}},E["bg"+e[0].toUpperCase()+e.slice(1)]={get(){let{level:t}=this;return function(...o){return j(this,A(x(e,$[t],"bgColor",...o),p.bgColor.close,this[_]),this[C])}}};let O=Object.defineProperties(()=>{},{...E,level:{enumerable:!0,get(){return this[F].level},set(e){this[F].level=e}}}),A=(e,t,o)=>{let r,n;return void 0===o?(r=e,n=t):(r=o.openAll+e,n=t+o.closeAll),{open:e,close:t,openAll:r,closeAll:n,parent:o}},j=(e,t,o)=>{let r=(...e)=>I(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,O),r[F]=e,r[_]=t,r[C]=o,r},I=(e,t)=>{if(e.level<=0||!t)return e[C]?"":t;let o=e[_];if(void 0===o)return t;let{openAll:r,closeAll:n}=o;if(t.includes("\x1b"))for(;void 0!==o;)t=function(e,t,o){let r=e.indexOf(t);if(-1===r)return e;let n=t.length,i=0,a="";do a+=e.slice(i,r)+t+o,i=r+n,r=e.indexOf(t,i);while(-1!==r);return a+e.slice(i)}(t,o.close,o.open),o=o.parent;let i=t.indexOf("\n");return -1!==i&&(t=function(e,t,o,r){let n=0,i="";do{let a="\r"===e[r-1];i+=e.slice(n,a?r-1:r)+t+(a?"\r\n":"\n")+o,n=r+1,r=e.indexOf("\n",n)}while(-1!==r);return i+e.slice(n)}(t,n,r,i)),r+t+n};Object.defineProperties(S.prototype,E);let B=k(void 0),N=k({level:b?b.level:0}),P=B},35679(e,t,o){o.d(t,{DM:()=>r,uB:()=>c});let{DM:r,gu:n,er:i,Ww:a,b7:s,Di:l,a2:u,uB:c,ef:d,c$:p,_V:f}=o(65181)},29122(e,t,o){o.d(t,{A:()=>n});var r=o(1708);function n(){let{env:e}=r,{TERM:t,TERM_PROGRAM:o}=e;return"win32"!==r.platform?"linux"!==t:!!e.WT_SESSION||!!e.TERMINUS_SUBLIME||"{cmd::Cmder}"===e.ConEmuTask||"Terminus-Sublime"===o||"vscode"===o||"xterm-256color"===t||"alacritty"===t||"rxvt-unicode"===t||"rxvt-unicode-256color"===t||"JetBrains-JediTerm"===e.TERMINAL_EMULATOR}},30155(e,t,o){let r;o.r(t),o.d(t,{spinners:()=>x,default:()=>J,oraPromise:()=>L});var n=o(1708),i=o(73284);let a=(e,t,o,r)=>{if("length"===o||"prototype"===o||"arguments"===o||"caller"===o)return;let n=Object.getOwnPropertyDescriptor(e,o),i=Object.getOwnPropertyDescriptor(t,o);(s(n,i)||!r)&&Object.defineProperty(e,o,i)},s=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},l=(e,t)=>`/* Wrapped ${e}*/
106
- ${t}`,u=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),c=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),d=new WeakMap,p=(e,t={})=>{let o;if("function"!=typeof e)throw TypeError("Expected a function");let r=0,n=e.displayName||e.name||"<anonymous>",i=function(...a){if(d.set(i,++r),1===r)o=e.apply(this,a),e=void 0;else if(!0===t.throw)throw Error(`Function \`${n}\` can only be called once`);return o};return!function(e,t,{ignoreNonConfigurable:o=!1}={}){let r,{name:n}=e;for(let r of Reflect.ownKeys(t))a(e,t,r,o);(r=Object.getPrototypeOf(t))!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r),((e,t,o)=>{let r=""===o?"":`with ${o.trim()}() `,n=l.bind(null,r,t.toString());Object.defineProperty(n,"name",c);let{writable:i,enumerable:a,configurable:s}=u;Object.defineProperty(e,"toString",{value:n,writable:i,enumerable:a,configurable:s})})(e,t,n)}(i,e),d.set(i,r),i};p.callCount=e=>{if(!d.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return d.get(e)};let f=[];f.push("SIGHUP","SIGINT","SIGTERM"),"win32"!==process.platform&&f.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&f.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");let g=e=>!!e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on,h=Symbol.for("signal-exit emitter"),m=globalThis,D=Object.defineProperty.bind(Object);class y{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(m[h])return m[h];D(m,h,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(e,t){this.listeners[e].push(t)}removeListener(e,t){let o=this.listeners[e],r=o.indexOf(t);-1!==r&&(0===r&&1===o.length?o.length=0:o.splice(r,1))}emit(e,t,o){if(this.emitted[e])return!1;this.emitted[e]=!0;let r=!1;for(let n of this.listeners[e])r=!0===n(t,o)||r;return"exit"===e&&(r=this.emit("afterExit",t,o)||r),r}}class v{}class b extends v{#e="win32"===F.platform?"SIGINT":"SIGHUP";#t=new y;#o;#r;#n;#i={};#a=!1;constructor(e){for(let t of(super(),this.#o=e,this.#i={},f))this.#i[t]=()=>{let o=this.#o.listeners(t),{count:r}=this.#t;if("object"==typeof e.__signal_exit_emitter__&&"number"==typeof e.__signal_exit_emitter__.count&&(r+=e.__signal_exit_emitter__.count),o.length===r){this.unload();let o=this.#t.emit("exit",null,t),r="SIGHUP"===t?this.#e:t;o||e.kill(e.pid,r)}};this.#n=e.reallyExit,this.#r=e.emit}onExit(e,t){if(!g(this.#o))return()=>{};!1===this.#a&&this.load();let o=t?.alwaysLast?"afterExit":"exit";return this.#t.on(o,e),()=>{this.#t.removeListener(o,e),0===this.#t.listeners.exit.length&&0===this.#t.listeners.afterExit.length&&this.unload()}}load(){if(!this.#a){for(let e of(this.#a=!0,this.#t.count+=1,f))try{let t=this.#i[e];t&&this.#o.on(e,t)}catch(e){}this.#o.emit=(e,...t)=>this.#s(e,...t),this.#o.reallyExit=e=>this.#l(e)}}unload(){this.#a&&(this.#a=!1,f.forEach(e=>{let t=this.#i[e];if(!t)throw Error("Listener not defined for signal: "+e);try{this.#o.removeListener(e,t)}catch(e){}}),this.#o.emit=this.#r,this.#o.reallyExit=this.#n,this.#t.count-=1)}#l(e){return g(this.#o)?(this.#o.exitCode=e||0,this.#t.emit("exit",this.#o.exitCode,null),this.#n.call(this.#o,this.#o.exitCode)):0}#s(e,...t){let o=this.#r;if(!("exit"===e&&g(this.#o)))return o.call(this.#o,e,...t);{"number"==typeof t[0]&&(this.#o.exitCode=t[0]);let r=o.call(this.#o,e,...t);return this.#t.emit("exit",this.#o.exitCode,null),r}}}let F=globalThis.process,{onExit:_,load:C,unload:$}=(r=g(F)?new b(F):new class extends v{onExit(){return()=>{}}load(){}unload(){}},{onExit:(e,t)=>r.onExit(e,t),load:()=>r.load(),unload:()=>r.unload()}),E=n.stderr.isTTY?n.stderr:n.stdout.isTTY?n.stdout:void 0,w=E?p(()=>{_(()=>{E.write("\x1b[?25h")},{alwaysLast:!0})}):()=>{},k=!1,S={};S.show=(e=n.stderr)=>{e.isTTY&&(k=!1,e.write("\x1b[?25h"))},S.hide=(e=n.stderr)=>{e.isTTY&&(w(),k=!0,e.write("\x1b[?25l"))},S.toggle=(e,t)=>{void 0!==e&&(k=e),k?S.show(t):S.hide(t)};var x=o(47661);let O={info:i.default.blue("ℹ"),success:i.default.green("✔"),warning:i.default.yellow("⚠"),error:i.default.red("✖")},A={info:i.default.blue("i"),success:i.default.green("√"),warning:i.default.yellow("‼"),error:i.default.red("\xd7")},j=("win32"!==n.platform?"linux"!==n.env.TERM:n.env.CI||n.env.WT_SESSION||n.env.TERMINUS_SUBLIME||"{cmd::Cmder}"===n.env.ConEmuTask||"Terminus-Sublime"===n.env.TERM_PROGRAM||"vscode"===n.env.TERM_PROGRAM||"xterm-256color"===n.env.TERM||"alacritty"===n.env.TERM||"JetBrains-JediTerm"===n.env.TERMINAL_EMULATOR)?O:A,I=function({onlyFirst:e=!1}={}){return RegExp("(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]",e?void 0:"g")}();function B(e){if("string"!=typeof e)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(I,"")}let N=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,P=new Intl.Segmenter,T=/^\p{Default_Ignorable_Code_Point}$/u;var R=o(29122);let M=new class{#u=0;start(){this.#u++,1===this.#u&&this.#c()}stop(){if(this.#u<=0)throw Error("`stop` called more times than `start`");this.#u--,0===this.#u&&this.#d()}#c(){"win32"!==n.platform&&n.stdin.isTTY&&(n.stdin.setRawMode(!0),n.stdin.on("data",this.#p),n.stdin.resume())}#d(){n.stdin.isTTY&&(n.stdin.off("data",this.#p),n.stdin.pause(),n.stdin.setRawMode(!1))}#p(e){3===e[0]&&n.emit("SIGINT")}};class U{#f=0;#g=!1;#h=0;#m=-1;#D=0;#y;#v;#b;#F;#_;#C;#$;#E;#w;#k;#S;color;constructor(e){"string"==typeof e&&(e={text:e}),this.#y={color:"cyan",stream:n.stderr,discardStdin:!0,hideCursor:!0,...e},this.color=this.#y.color,this.spinner=this.#y.spinner,this.#_=this.#y.interval,this.#b=this.#y.stream,this.#C="boolean"==typeof this.#y.isEnabled?this.#y.isEnabled:function({stream:e=process.stdout}={}){return!!(e&&e.isTTY&&"dumb"!==process.env.TERM&&!("CI"in process.env))}({stream:this.#b}),this.#$="boolean"==typeof this.#y.isSilent&&this.#y.isSilent,this.text=this.#y.text,this.prefixText=this.#y.prefixText,this.suffixText=this.#y.suffixText,this.indent=this.#y.indent}get indent(){return this.#E}set indent(e=0){if(!(e>=0&&Number.isInteger(e)))throw Error("The `indent` option must be an integer from 0 and up");this.#E=e,this.#x()}get interval(){return this.#_??this.#v.interval??100}get spinner(){return this.#v}set spinner(e){if(this.#m=-1,this.#_=void 0,"object"==typeof e){if(void 0===e.frames)throw Error("The given spinner must have a `frames` property");this.#v=e}else if((0,R.A)())if(void 0===e)this.#v=x.dots;else if("default"!==e&&x[e])this.#v=x[e];else throw Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`);else this.#v=x.line}get text(){return this.#w}set text(e=""){this.#w=e,this.#x()}get prefixText(){return this.#k}set prefixText(e=""){this.#k=e,this.#x()}get suffixText(){return this.#S}set suffixText(e=""){this.#S=e,this.#x()}get isSpinning(){return void 0!==this.#F}#O(e=this.#k,t=" "){return"string"==typeof e&&""!==e?e+t:"function"==typeof e?e()+t:""}#A(e=this.#S,t=" "){return"string"==typeof e&&""!==e?t+e:"function"==typeof e?t+e():""}#x(){let e=this.#b.columns??80,t=this.#O(this.#k,"-"),o=this.#A(this.#S,"-"),r=" ".repeat(this.#E)+t+"--"+this.#w+"--"+o;for(let t of(this.#h=0,B(r).split("\n")))this.#h+=Math.max(1,Math.ceil(function(e,t={}){if("string"!=typeof e||0===e.length)return 0;let{ambiguousIsNarrow:o=!0,countAnsiEscapeCodes:r=!1}=t;if(r||(e=B(e)),0===e.length)return 0;let n=0,i={ambiguousAsWide:!o};for(let{segment:t}of P.segment(e)){let e=t.codePointAt(0);if(!(e<=31)&&(!(e>=127)||!(e<=159))&&(!(e>=8203)||!(e<=8207))&&65279!==e&&(!(e>=768)||!(e<=879))&&(!(e>=6832)||!(e<=6911))&&(!(e>=7616)||!(e<=7679))&&(!(e>=8400)||!(e<=8447))&&(!(e>=65056)||!(e<=65071))&&(!(e>=55296)||!(e<=57343))&&(!(e>=65024)||!(e<=65039))&&!T.test(t)){if(N().test(t)){n+=2;continue}n+=function(e,{ambiguousAsWide:t=!1}={}){var o;if(!Number.isSafeInteger(e))throw TypeError(`Expected a code point, got \`${typeof e}\`.`);return 12288===e||e>=65281&&e<=65376||e>=65504&&e<=65510||(o=e)>=4352&&o<=4447||8986===o||8987===o||9001===o||9002===o||o>=9193&&o<=9196||9200===o||9203===o||9725===o||9726===o||9748===o||9749===o||o>=9776&&o<=9783||o>=9800&&o<=9811||9855===o||o>=9866&&o<=9871||9875===o||9889===o||9898===o||9899===o||9917===o||9918===o||9924===o||9925===o||9934===o||9940===o||9962===o||9970===o||9971===o||9973===o||9978===o||9981===o||9989===o||9994===o||9995===o||10024===o||10060===o||10062===o||o>=10067&&o<=10069||10071===o||o>=10133&&o<=10135||10160===o||10175===o||11035===o||11036===o||11088===o||11093===o||o>=11904&&o<=11929||o>=11931&&o<=12019||o>=12032&&o<=12245||o>=12272&&o<=12287||o>=12289&&o<=12350||o>=12353&&o<=12438||o>=12441&&o<=12543||o>=12549&&o<=12591||o>=12593&&o<=12686||o>=12688&&o<=12773||o>=12783&&o<=12830||o>=12832&&o<=12871||o>=12880&&o<=42124||o>=42128&&o<=42182||o>=43360&&o<=43388||o>=44032&&o<=55203||o>=63744&&o<=64255||o>=65040&&o<=65049||o>=65072&&o<=65106||o>=65108&&o<=65126||o>=65128&&o<=65131||o>=94176&&o<=94180||o>=94192&&o<=94198||o>=94208&&o<=101589||o>=101631&&o<=101662||o>=101760&&o<=101874||o>=110576&&o<=110579||o>=110581&&o<=110587||110589===o||110590===o||o>=110592&&o<=110882||110898===o||o>=110928&&o<=110930||110933===o||o>=110948&&o<=110951||o>=110960&&o<=111355||o>=119552&&o<=119638||o>=119648&&o<=119670||126980===o||127183===o||127374===o||o>=127377&&o<=127386||o>=127488&&o<=127490||o>=127504&&o<=127547||o>=127552&&o<=127560||127568===o||127569===o||o>=127584&&o<=127589||o>=127744&&o<=127776||o>=127789&&o<=127797||o>=127799&&o<=127868||o>=127870&&o<=127891||o>=127904&&o<=127946||o>=127951&&o<=127955||o>=127968&&o<=127984||127988===o||o>=127992&&o<=128062||128064===o||o>=128066&&o<=128252||o>=128255&&o<=128317||o>=128331&&o<=128334||o>=128336&&o<=128359||128378===o||128405===o||128406===o||128420===o||o>=128507&&o<=128591||o>=128640&&o<=128709||128716===o||o>=128720&&o<=128722||o>=128725&&o<=128728||o>=128732&&o<=128735||128747===o||128748===o||o>=128756&&o<=128764||o>=128992&&o<=129003||129008===o||o>=129292&&o<=129338||o>=129340&&o<=129349||o>=129351&&o<=129535||o>=129648&&o<=129660||o>=129664&&o<=129674||o>=129678&&o<=129734||129736===o||o>=129741&&o<=129756||o>=129759&&o<=129770||o>=129775&&o<=129784||o>=131072&&o<=196605||o>=196608&&o<=262141||t&&(161===e||164===e||167===e||168===e||170===e||173===e||174===e||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||198===e||208===e||215===e||216===e||e>=222&&e<=225||230===e||e>=232&&e<=234||236===e||237===e||240===e||242===e||243===e||e>=247&&e<=250||252===e||254===e||257===e||273===e||275===e||283===e||294===e||295===e||299===e||e>=305&&e<=307||312===e||e>=319&&e<=322||324===e||e>=328&&e<=331||333===e||338===e||339===e||358===e||359===e||363===e||462===e||464===e||466===e||468===e||470===e||472===e||474===e||476===e||593===e||609===e||708===e||711===e||e>=713&&e<=715||717===e||720===e||e>=728&&e<=731||733===e||735===e||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||1025===e||e>=1040&&e<=1103||1105===e||8208===e||e>=8211&&e<=8214||8216===e||8217===e||8220===e||8221===e||e>=8224&&e<=8226||e>=8228&&e<=8231||8240===e||8242===e||8243===e||8245===e||8251===e||8254===e||8308===e||8319===e||e>=8321&&e<=8324||8364===e||8451===e||8453===e||8457===e||8467===e||8470===e||8481===e||8482===e||8486===e||8491===e||8531===e||8532===e||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||8585===e||e>=8592&&e<=8601||8632===e||8633===e||8658===e||8660===e||8679===e||8704===e||8706===e||8707===e||8711===e||8712===e||8715===e||8719===e||8721===e||8725===e||8730===e||e>=8733&&e<=8736||8739===e||8741===e||e>=8743&&e<=8748||8750===e||e>=8756&&e<=8759||8764===e||8765===e||8776===e||8780===e||8786===e||8800===e||8801===e||e>=8804&&e<=8807||8810===e||8811===e||8814===e||8815===e||8834===e||8835===e||8838===e||8839===e||8853===e||8857===e||8869===e||8895===e||8978===e||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||9632===e||9633===e||e>=9635&&e<=9641||9650===e||9651===e||9654===e||9655===e||9660===e||9661===e||9664===e||9665===e||e>=9670&&e<=9672||9675===e||e>=9678&&e<=9681||e>=9698&&e<=9701||9711===e||9733===e||9734===e||9737===e||9742===e||9743===e||9756===e||9758===e||9792===e||9794===e||9824===e||9825===e||e>=9827&&e<=9829||e>=9831&&e<=9834||9836===e||9837===e||9839===e||9886===e||9887===e||9919===e||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||9955===e||9960===e||9961===e||e>=9963&&e<=9969||9972===e||e>=9974&&e<=9977||9979===e||9980===e||9982===e||9983===e||10045===e||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||65533===e||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||127375===e||127376===e||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109)?2:1}(e,i)}}return n}(t,{countAnsiEscapeCodes:!0})/e))}get isEnabled(){return this.#C&&!this.#$}set isEnabled(e){if("boolean"!=typeof e)throw TypeError("The `isEnabled` option must be a boolean");this.#C=e}get isSilent(){return this.#$}set isSilent(e){if("boolean"!=typeof e)throw TypeError("The `isSilent` option must be a boolean");this.#$=e}frame(){let e=Date.now();(-1===this.#m||e-this.#D>=this.interval)&&(this.#m=++this.#m%this.#v.frames.length,this.#D=e);let{frames:t}=this.#v,o=t[this.#m];return this.color&&(o=i.default[this.color](o)),("string"==typeof this.#k&&""!==this.#k?this.#k+" ":"")+o+("string"==typeof this.text?" "+this.text:"")+("string"==typeof this.#S&&""!==this.#S?" "+this.#S:"")}clear(){if(!this.#C||!this.#b.isTTY)return this;this.#b.cursorTo(0);for(let e=0;e<this.#f;e++)e>0&&this.#b.moveCursor(0,-1),this.#b.clearLine(1);return(this.#E||this.lastIndent!==this.#E)&&this.#b.cursorTo(this.#E),this.lastIndent=this.#E,this.#f=0,this}render(){return this.#$||(this.clear(),this.#b.write(this.frame()),this.#f=this.#h),this}start(e){return e&&(this.text=e),this.#$||(this.#C?this.isSpinning||(this.#y.hideCursor&&S.hide(this.#b),this.#y.discardStdin&&n.stdin.isTTY&&(this.#g=!0,M.start()),this.render(),this.#F=setInterval(this.render.bind(this),this.interval)):this.text&&this.#b.write(`- ${this.text}
107
- `)),this}stop(){return this.#C&&(clearInterval(this.#F),this.#F=void 0,this.#m=0,this.clear(),this.#y.hideCursor&&S.show(this.#b),this.#y.discardStdin&&n.stdin.isTTY&&this.#g&&(M.stop(),this.#g=!1)),this}succeed(e){return this.stopAndPersist({symbol:j.success,text:e})}fail(e){return this.stopAndPersist({symbol:j.error,text:e})}warn(e){return this.stopAndPersist({symbol:j.warning,text:e})}info(e){return this.stopAndPersist({symbol:j.info,text:e})}stopAndPersist(e={}){if(this.#$)return this;let t=e.prefixText??this.#k,o=this.#O(t," "),r=e.symbol??" ",n=e.text??this.text,i=e.suffixText??this.#S,a=o+r+("string"==typeof n?(r?" ":"")+n:"")+this.#A(i," ")+"\n";return this.stop(),this.#b.write(a),this}}function J(e){return new U(e)}async function L(e,t){let o="function"==typeof e,r="function"==typeof e.then;if(!o&&!r)throw TypeError("Parameter `action` must be a Function or a Promise");let{successText:n,failText:i}="object"==typeof t?t:{successText:void 0,failText:void 0},a=J(t).start();try{let t=o?e(a):e,r=await t;return a.succeed(void 0===n?void 0:"string"==typeof n?n:n(r)),r}catch(e){throw a.fail(void 0===i?void 0:"string"==typeof i?i:i(e)),e}}},3900(e){e.exports=JSON.parse('{"dots":{"interval":80,"frames":["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},"dots2":{"interval":80,"frames":["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},"dots3":{"interval":80,"frames":["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},"dots4":{"interval":80,"frames":["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},"dots5":{"interval":80,"frames":["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},"dots6":{"interval":80,"frames":["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},"dots7":{"interval":80,"frames":["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},"dots8":{"interval":80,"frames":["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},"dots9":{"interval":80,"frames":["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},"dots10":{"interval":80,"frames":["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},"dots11":{"interval":100,"frames":["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},"dots12":{"interval":80,"frames":["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},"dots13":{"interval":80,"frames":["⣼","⣹","⢻","⠿","⡟","⣏","⣧","⣶"]},"dots8Bit":{"interval":80,"frames":["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},"sand":{"interval":80,"frames":["⠁","⠂","⠄","⡀","⡈","⡐","⡠","⣀","⣁","⣂","⣄","⣌","⣔","⣤","⣥","⣦","⣮","⣶","⣷","⣿","⡿","⠿","⢟","⠟","⡛","⠛","⠫","⢋","⠋","⠍","⡉","⠉","⠑","⠡","⢁"]},"line":{"interval":130,"frames":["-","\\\\","|","/"]},"line2":{"interval":100,"frames":["⠂","-","–","—","–","-"]},"pipe":{"interval":100,"frames":["┤","┘","┴","└","├","┌","┬","┐"]},"simpleDots":{"interval":400,"frames":[". ",".. ","..."," "]},"simpleDotsScrolling":{"interval":200,"frames":[". ",".. ","..."," .."," ."," "]},"star":{"interval":70,"frames":["✶","✸","✹","✺","✹","✷"]},"star2":{"interval":80,"frames":["+","x","*"]},"flip":{"interval":70,"frames":["_","_","_","-","`","`","\'","\xb4","-","_","_","_"]},"hamburger":{"interval":100,"frames":["☱","☲","☴"]},"growVertical":{"interval":120,"frames":["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},"growHorizontal":{"interval":120,"frames":["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},"balloon":{"interval":140,"frames":[" ",".","o","O","@","*"," "]},"balloon2":{"interval":120,"frames":[".","o","O","\xb0","O","o","."]},"noise":{"interval":100,"frames":["▓","▒","░"]},"bounce":{"interval":120,"frames":["⠁","⠂","⠄","⠂"]},"boxBounce":{"interval":120,"frames":["▖","▘","▝","▗"]},"boxBounce2":{"interval":100,"frames":["▌","▀","▐","▄"]},"triangle":{"interval":50,"frames":["◢","◣","◤","◥"]},"binary":{"interval":80,"frames":["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},"arc":{"interval":100,"frames":["◜","◠","◝","◞","◡","◟"]},"circle":{"interval":120,"frames":["◡","⊙","◠"]},"squareCorners":{"interval":180,"frames":["◰","◳","◲","◱"]},"circleQuarters":{"interval":120,"frames":["◴","◷","◶","◵"]},"circleHalves":{"interval":50,"frames":["◐","◓","◑","◒"]},"squish":{"interval":100,"frames":["╫","╪"]},"toggle":{"interval":250,"frames":["⊶","⊷"]},"toggle2":{"interval":80,"frames":["▫","▪"]},"toggle3":{"interval":120,"frames":["□","■"]},"toggle4":{"interval":100,"frames":["■","□","▪","▫"]},"toggle5":{"interval":100,"frames":["▮","▯"]},"toggle6":{"interval":300,"frames":["ဝ","၀"]},"toggle7":{"interval":80,"frames":["⦾","⦿"]},"toggle8":{"interval":100,"frames":["◍","◌"]},"toggle9":{"interval":100,"frames":["◉","◎"]},"toggle10":{"interval":100,"frames":["㊂","㊀","㊁"]},"toggle11":{"interval":50,"frames":["⧇","⧆"]},"toggle12":{"interval":120,"frames":["☗","☖"]},"toggle13":{"interval":80,"frames":["=","*","-"]},"arrow":{"interval":100,"frames":["←","↖","↑","↗","→","↘","↓","↙"]},"arrow2":{"interval":80,"frames":["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},"arrow3":{"interval":120,"frames":["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},"bouncingBar":{"interval":80,"frames":["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},"bouncingBall":{"interval":80,"frames":["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},"smiley":{"interval":200,"frames":["\uD83D\uDE04 ","\uD83D\uDE1D "]},"monkey":{"interval":300,"frames":["\uD83D\uDE48 ","\uD83D\uDE48 ","\uD83D\uDE49 ","\uD83D\uDE4A "]},"hearts":{"interval":100,"frames":["\uD83D\uDC9B ","\uD83D\uDC99 ","\uD83D\uDC9C ","\uD83D\uDC9A ","❤️ "]},"clock":{"interval":100,"frames":["\uD83D\uDD5B ","\uD83D\uDD50 ","\uD83D\uDD51 ","\uD83D\uDD52 ","\uD83D\uDD53 ","\uD83D\uDD54 ","\uD83D\uDD55 ","\uD83D\uDD56 ","\uD83D\uDD57 ","\uD83D\uDD58 ","\uD83D\uDD59 ","\uD83D\uDD5A "]},"earth":{"interval":180,"frames":["\uD83C\uDF0D ","\uD83C\uDF0E ","\uD83C\uDF0F "]},"material":{"interval":17,"frames":["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},"moon":{"interval":80,"frames":["\uD83C\uDF11 ","\uD83C\uDF12 ","\uD83C\uDF13 ","\uD83C\uDF14 ","\uD83C\uDF15 ","\uD83C\uDF16 ","\uD83C\uDF17 ","\uD83C\uDF18 "]},"runner":{"interval":140,"frames":["\uD83D\uDEB6 ","\uD83C\uDFC3 "]},"pong":{"interval":80,"frames":["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},"shark":{"interval":120,"frames":["▐|\\\\____________▌","▐_|\\\\___________▌","▐__|\\\\__________▌","▐___|\\\\_________▌","▐____|\\\\________▌","▐_____|\\\\_______▌","▐______|\\\\______▌","▐_______|\\\\_____▌","▐________|\\\\____▌","▐_________|\\\\___▌","▐__________|\\\\__▌","▐___________|\\\\_▌","▐____________|\\\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},"dqpb":{"interval":100,"frames":["d","q","p","b"]},"weather":{"interval":100,"frames":["☀️ ","☀️ ","☀️ ","\uD83C\uDF24 ","⛅️ ","\uD83C\uDF25 ","☁️ ","\uD83C\uDF27 ","\uD83C\uDF28 ","\uD83C\uDF27 ","\uD83C\uDF28 ","\uD83C\uDF27 ","\uD83C\uDF28 ","⛈ ","\uD83C\uDF28 ","\uD83C\uDF27 ","\uD83C\uDF28 ","☁️ ","\uD83C\uDF25 ","⛅️ ","\uD83C\uDF24 ","☀️ ","☀️ "]},"christmas":{"interval":400,"frames":["\uD83C\uDF32","\uD83C\uDF84"]},"grenade":{"interval":80,"frames":["، ","′ "," \xb4 "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},"point":{"interval":125,"frames":["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},"layer":{"interval":150,"frames":["-","=","≡"]},"betaWave":{"interval":80,"frames":["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},"fingerDance":{"interval":160,"frames":["\uD83E\uDD18 ","\uD83E\uDD1F ","\uD83D\uDD96 ","✋ ","\uD83E\uDD1A ","\uD83D\uDC46 "]},"fistBump":{"interval":80,"frames":["\uD83E\uDD1C    \uD83E\uDD1B ","\uD83E\uDD1C    \uD83E\uDD1B ","\uD83E\uDD1C    \uD83E\uDD1B "," \uD83E\uDD1C  \uD83E\uDD1B  ","  \uD83E\uDD1C\uD83E\uDD1B   "," \uD83E\uDD1C✨\uD83E\uDD1B   ","\uD83E\uDD1C ✨ \uD83E\uDD1B  "]},"soccerHeader":{"interval":80,"frames":[" \uD83E\uDDD1⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️\uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 "]},"mindblown":{"interval":160,"frames":["\uD83D\uDE10 ","\uD83D\uDE10 ","\uD83D\uDE2E ","\uD83D\uDE2E ","\uD83D\uDE26 ","\uD83D\uDE26 ","\uD83D\uDE27 ","\uD83D\uDE27 ","\uD83E\uDD2F ","\uD83D\uDCA5 ","✨ ","  ","  ","  "]},"speaker":{"interval":160,"frames":["\uD83D\uDD08 ","\uD83D\uDD09 ","\uD83D\uDD0A ","\uD83D\uDD09 "]},"orangePulse":{"interval":100,"frames":["\uD83D\uDD38 ","\uD83D\uDD36 ","\uD83D\uDFE0 ","\uD83D\uDFE0 ","\uD83D\uDD36 "]},"bluePulse":{"interval":100,"frames":["\uD83D\uDD39 ","\uD83D\uDD37 ","\uD83D\uDD35 ","\uD83D\uDD35 ","\uD83D\uDD37 "]},"orangeBluePulse":{"interval":100,"frames":["\uD83D\uDD38 ","\uD83D\uDD36 ","\uD83D\uDFE0 ","\uD83D\uDFE0 ","\uD83D\uDD36 ","\uD83D\uDD39 ","\uD83D\uDD37 ","\uD83D\uDD35 ","\uD83D\uDD35 ","\uD83D\uDD37 "]},"timeTravel":{"interval":100,"frames":["\uD83D\uDD5B ","\uD83D\uDD5A ","\uD83D\uDD59 ","\uD83D\uDD58 ","\uD83D\uDD57 ","\uD83D\uDD56 ","\uD83D\uDD55 ","\uD83D\uDD54 ","\uD83D\uDD53 ","\uD83D\uDD52 ","\uD83D\uDD51 ","\uD83D\uDD50 "]},"aesthetic":{"interval":80,"frames":["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]},"dwarfFortress":{"interval":80,"frames":[" ██████\xa3\xa3\xa3 ","☺██████\xa3\xa3\xa3 ","☺██████\xa3\xa3\xa3 ","☺▓█████\xa3\xa3\xa3 ","☺▓█████\xa3\xa3\xa3 ","☺▒█████\xa3\xa3\xa3 ","☺▒█████\xa3\xa3\xa3 ","☺░█████\xa3\xa3\xa3 ","☺░█████\xa3\xa3\xa3 ","☺ █████\xa3\xa3\xa3 "," ☺█████\xa3\xa3\xa3 "," ☺█████\xa3\xa3\xa3 "," ☺▓████\xa3\xa3\xa3 "," ☺▓████\xa3\xa3\xa3 "," ☺▒████\xa3\xa3\xa3 "," ☺▒████\xa3\xa3\xa3 "," ☺░████\xa3\xa3\xa3 "," ☺░████\xa3\xa3\xa3 "," ☺ ████\xa3\xa3\xa3 "," ☺████\xa3\xa3\xa3 "," ☺████\xa3\xa3\xa3 "," ☺▓███\xa3\xa3\xa3 "," ☺▓███\xa3\xa3\xa3 "," ☺▒███\xa3\xa3\xa3 "," ☺▒███\xa3\xa3\xa3 "," ☺░███\xa3\xa3\xa3 "," ☺░███\xa3\xa3\xa3 "," ☺ ███\xa3\xa3\xa3 "," ☺███\xa3\xa3\xa3 "," ☺███\xa3\xa3\xa3 "," ☺▓██\xa3\xa3\xa3 "," ☺▓██\xa3\xa3\xa3 "," ☺▒██\xa3\xa3\xa3 "," ☺▒██\xa3\xa3\xa3 "," ☺░██\xa3\xa3\xa3 "," ☺░██\xa3\xa3\xa3 "," ☺ ██\xa3\xa3\xa3 "," ☺██\xa3\xa3\xa3 "," ☺██\xa3\xa3\xa3 "," ☺▓█\xa3\xa3\xa3 "," ☺▓█\xa3\xa3\xa3 "," ☺▒█\xa3\xa3\xa3 "," ☺▒█\xa3\xa3\xa3 "," ☺░█\xa3\xa3\xa3 "," ☺░█\xa3\xa3\xa3 "," ☺ █\xa3\xa3\xa3 "," ☺█\xa3\xa3\xa3 "," ☺█\xa3\xa3\xa3 "," ☺▓\xa3\xa3\xa3 "," ☺▓\xa3\xa3\xa3 "," ☺▒\xa3\xa3\xa3 "," ☺▒\xa3\xa3\xa3 "," ☺░\xa3\xa3\xa3 "," ☺░\xa3\xa3\xa3 "," ☺ \xa3\xa3\xa3 "," ☺\xa3\xa3\xa3 "," ☺\xa3\xa3\xa3 "," ☺▓\xa3\xa3 "," ☺▓\xa3\xa3 "," ☺▒\xa3\xa3 "," ☺▒\xa3\xa3 "," ☺░\xa3\xa3 "," ☺░\xa3\xa3 "," ☺ \xa3\xa3 "," ☺\xa3\xa3 "," ☺\xa3\xa3 "," ☺▓\xa3 "," ☺▓\xa3 "," ☺▒\xa3 "," ☺▒\xa3 "," ☺░\xa3 "," ☺░\xa3 "," ☺ \xa3 "," ☺\xa3 "," ☺\xa3 "," ☺▓ "," ☺▓ "," ☺▒ "," ☺▒ "," ☺░ "," ☺░ "," ☺ "," ☺ &"," ☺ ☼&"," ☺ ☼ &"," ☺☼ &"," ☺☼ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & ","‼ & "," & "," & "," & ░ "," & ▒ "," & ▓ "," & \xa3 "," & ░\xa3 "," & ▒\xa3 "," & ▓\xa3 "," & \xa3\xa3 "," & ░\xa3\xa3 "," & ▒\xa3\xa3 ","& ▓\xa3\xa3 ","& \xa3\xa3\xa3 "," ░\xa3\xa3\xa3 "," ▒\xa3\xa3\xa3 "," ▓\xa3\xa3\xa3 "," █\xa3\xa3\xa3 "," ░█\xa3\xa3\xa3 "," ▒█\xa3\xa3\xa3 "," ▓█\xa3\xa3\xa3 "," ██\xa3\xa3\xa3 "," ░██\xa3\xa3\xa3 "," ▒██\xa3\xa3\xa3 "," ▓██\xa3\xa3\xa3 "," ███\xa3\xa3\xa3 "," ░███\xa3\xa3\xa3 "," ▒███\xa3\xa3\xa3 "," ▓███\xa3\xa3\xa3 "," ████\xa3\xa3\xa3 "," ░████\xa3\xa3\xa3 "," ▒████\xa3\xa3\xa3 "," ▓████\xa3\xa3\xa3 "," █████\xa3\xa3\xa3 "," ░█████\xa3\xa3\xa3 "," ▒█████\xa3\xa3\xa3 "," ▓█████\xa3\xa3\xa3 "," ██████\xa3\xa3\xa3 "," ██████\xa3\xa3\xa3 "]}}')}},h={};function m(e){var t=h[e];if(void 0!==t)return t.exports;var o=h[e]={exports:{}};return g[e].call(o.exports,o,o.exports,m),o.exports}m.m=g,n=(r="function"==typeof Symbol)?Symbol("rspack queues"):"__rspack_queues",i=m.aE=r?Symbol("rspack exports"):"__webpack_exports__",a=r?Symbol("rspack error"):"__rspack_error",s=r?Symbol("rspack done"):"__rspack_done",l=m.zS=r?Symbol("rspack defer"):"__rspack_defer",m.zT=e=>{if(e.some(e=>{var t=h[e];return!t||!1===t[s]}))return{then:(t,o)=>Promise.all(e.map(m)).then(t,o)}},u=e=>{e&&e.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))},m.a=(e,t,o)=>{o&&((r=[]).d=-1);var r,c,d,p,f=new Set,g=e.exports,h=new Promise((e,t)=>{p=t,d=e});h[i]=g,h[n]=e=>{r&&e(r),f.forEach(e),h.catch(()=>{})},e.exports=h,t(e=>{c=e.map(e=>{if(null!==e&&"object"==typeof e){if(!e[n]&&e[l]){var t=m.zT(e[l]);if(!t)return e;var o=e;e={then(e,r){t.then(()=>e(o),r)}}}if(e[n])return e;if(e.then){var r=[];r.d=0,e.then(e=>{s[i]=e,u(r)},e=>{s[a]=e,u(r)});var s={};return s[l]=!1,s[n]=e=>e(r),s}}var c={};return c[n]=()=>{},c[i]=e,c});var t,o=()=>c.map(e=>{if(e[l])return e;if(e[a])throw e[a];return e[i]}),s=new Promise(e=>{(t=()=>e(o)).r=0;var i=e=>e!==r&&!f.has(e)&&(f.add(e),e&&!e.d&&(t.r++,e.push(t)));c.map(e=>e[l]||e[n](i))});return t.r?s:o()},e=>(e?p(h[a]=e):d(g),u(r),h[s]=!0)),r&&r.d<0&&(r.d=0)},m.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return m.d(t,{a:t}),t},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,m.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var o=Object.create(null);m.r(o);var r={};c=c||[null,d({}),d([]),d(d)];for(var n=2&t&&e;("object"==typeof n||"function"==typeof n)&&!~c.indexOf(n);n=d(n))Object.getOwnPropertyNames(n).forEach(t=>{r[t]=()=>e[t]});return r.default=()=>e,m.d(o,r),o},m.d=(e,t)=>{for(var o in t)m.o(t,o)&&!m.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},m.f={},m.e=e=>Promise.all(Object.keys(m.f).reduce((t,o)=>(m.f[o](e,t),t),[])),m.u=e=>""+e+".js",m.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),m.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},m.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),p={8410:0},f=e=>{var t,o,r=e.__rspack_esm_ids,n=e.__webpack_modules__,i=e.__rspack_esm_runtime,a=0;for(t in n)m.o(n,t)&&(m.m[t]=n[t]);for(i&&i(m);a<r.length;a++)o=r[a],m.o(p,o)&&p[o]&&p[o][0](),p[r[a]]=0},m.f.j=function(e,t){var o=m.o(p,e)?p[e]:void 0;if(0!==o)if(o)t.push(o[1]);else{var r=import("./"+m.u(e)).then(f,t=>{throw 0!==p[e]&&(p[e]=void 0),t}),r=Promise.race([r,new Promise(t=>{o=p[e]=[t]})]);t.push(o[1]=r)}};var D=m(1878),y=(D=await D).A,v=D.e;export{y as default,v as run};
170
+ ${t}`:t},r=e=>{if(e.endsWith(".json")||e.includes("/")){if(!p.existsSync(e))throw Error(`Config file not found: ${e}`);var a=p.readFileSync(e,"utf-8");return{config:a,source:{type:"file",path:o.resolve(e)},sizeBytes:Buffer.byteLength(a)}}return{config:e,source:{type:"inline"},sizeBytes:Buffer.byteLength(e)}}},68168(e,a,t){t.d(a,{K:()=>d,Y:()=>r});var p,o=t(99436),i=e=>String(e||"").trim().toLowerCase(),d=({resource:e,query:a,items:t,fields:p,selectedBy:o=null})=>{var d=i(a),r=t.filter(e=>p.some(a=>i(a.split(".").reduce((e,a)=>e?.[a],e)??null)===d)),n=null,l=o;return"id"===o?n=t[0]||null:1===r.length?(n=r[0],l="exact"):1===t.length&&(n=t[0],l="single"),{resource:e,query:a,exactMatchCount:r.length,matchCount:t.length,selectedBy:l,ambiguous:t.length>1&&!n,resolved:n,matches:t}},r=(p=o(function*(e){try{return yield e()}catch(e){if(/not found/i.test(e.message))return null;throw e}}),function(e){return p.apply(this,arguments)})},44618(e,a,t){t.d(a,{V:()=>i});var p={S:"Subspace",B:"Brick",C:"Canvas",A:"Animation",G:"Generator",D:"Data",F:"Data Calc",N:"Calc Node",T:"Test",TC:"Test Case",AT:"Automation Map"},o=e=>e?.split("_")?.[0]||"",i=(e,{keyword:a,types:t}={})=>{var i=a?.trim().toLowerCase()||"",d=t?.length>0?new Set(t.flatMap(e=>{var a=String(e).trim().toUpperCase();return a?[a]:[]})):null;return Object.entries(Object.entries(e||{}).filter(([,e])=>e&&!e.hide).filter(([e,a])=>{var t=o(e);if(d&&!d.has(t))return!1;if(!i)return!0;var p=a?.title?String(a.title).toLowerCase():"";return e.toLowerCase().includes(i)||p.includes(i)}).reduce((e,[a,t])=>{var p=o(a);return e[p]||(e[p]=[]),e[p].push({shortId:a,ref:t}),e},{})).map(([e,a])=>({prefix:e,label:p[e]||e,refs:a.sort((e,a)=>{var t=e.ref?.title||e.shortId,p=a.ref?.title||a.shortId;return String(t).localeCompare(String(p))})})).sort((e,a)=>e.label.localeCompare(a.label))}},94979(e,a,t){t.d(a,{p:()=>i});var p=/^(\d+)(s|m|h|d|w)$/,o={s:1e3,m:6e4,h:36e5,d:864e5,w:6048e5};function i(e){var a=e.match(p);if(a){var t=parseInt(a[1],10),i=o[a[2]];return new Date(Date.now()-t*i).toISOString()}var d=new Date(e);if(isNaN(d.getTime()))throw Error(`Invalid time format: "${e}". Use ISO 8601 or relative (e.g. 1h, 30m, 2d)`);return d.toISOString()}},98593(e,a,t){t.d(a,{H_:()=>r,Iy:()=>d,S5:()=>s,jB:()=>n,yd:()=>u});var p=t(73284),o=t(79896),i=t(7586),d=(e,a,t)=>({label:e,ok:a,detail:t}),r=(e,a,{id:t,name:p,...o}={})=>({id:e?._id||a,name:p||e?.name||"Unnamed",...o}),n=(e,a)=>{var t={id:e};return a.name&&(t.name=a.name),a.description&&(t.description=a.description),a.config?t.config=a.config:a.file&&(t.config=o.readFileSync(a.file,"utf-8")),void 0!==t.config&&(t.validateConfig=!1!==a.validate),a.lastCommitId&&(t.lastCommitId=a.lastCommitId),t},l=e=>null==e?p.default.gray("N/A"):"object"==typeof e?p.default.gray(JSON.stringify(e,null,2)):String(e),s=({action:e,target:a,request:t,checks:o=[],json:d=!1})=>{d?(0,i.GF)({ok:!0,dryRun:!0,action:e,target:a||null,request:t||null,checks:o}):(console.log(p.default.bold(`
171
+ Dry Run: ${e}`)),console.log("─".repeat(60)),a&&(console.log(p.default.bold("Target")),Object.entries(a).forEach(([e,a])=>{console.log(`${e}: ${l(a)}`)})),t&&(console.log(`
172
+ ${p.default.bold("Request")}`),Object.entries(t).forEach(([e,a])=>{console.log(`${e}: ${l(a)}`)})),o.length>0&&(console.log(`
173
+ ${p.default.bold("Checks")}`),o.forEach(e=>{var a=e.ok?p.default.green("OK"):p.default.red("FAIL"),t=e.detail?` ${e.detail}`:"";console.log(`${a} ${e.label}${t}`)})),console.log("─".repeat(60)))},u=({action:e,target:a,result:t=null,json:p=!1,message:o})=>{p?(0,i.GF)({ok:!0,dryRun:!1,action:e,target:a||null,result:t}):o&&console.log(o)}},73284(e,a,t){let p;t.r(a),t.d(a,{foregroundColors:()=>l,default:()=>j,colorNames:()=>u,supportsColor:()=>y,colors:()=>u,supportsColorStderr:()=>w,modifierNames:()=>n,foregroundColorNames:()=>l,chalkStderr:()=>I,Chalk:()=>E,modifiers:()=>n,backgroundColorNames:()=>s,backgroundColors:()=>s});let o=(e=0)=>a=>`\u001B[${a+e}m`,i=(e=0)=>a=>`\u001B[${38+e};5;${a}m`,d=(e=0)=>(a,t,p)=>`\u001B[${38+e};2;${a};${t};${p}m`,r={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},n=Object.keys(r.modifier),l=Object.keys(r.color),s=Object.keys(r.bgColor),u=[...l,...s],m=function(){let e=new Map;for(let[a,t]of Object.entries(r)){for(let[a,p]of Object.entries(t))r[a]={open:`\u001B[${p[0]}m`,close:`\u001B[${p[1]}m`},t[a]=r[a],e.set(p[0],p[1]);Object.defineProperty(r,a,{value:t,enumerable:!1})}return Object.defineProperty(r,"codes",{value:e,enumerable:!1}),r.color.close="\x1b[39m",r.bgColor.close="\x1b[49m",r.color.ansi=o(),r.color.ansi256=i(),r.color.ansi16m=d(),r.bgColor.ansi=o(10),r.bgColor.ansi256=i(10),r.bgColor.ansi16m=d(10),Object.defineProperties(r,{rgbToAnsi256:{value:(e,a,t)=>e===a&&a===t?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(a/255*5)+Math.round(t/255*5),enumerable:!1},hexToRgb:{value(e){let a=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!a)return[0,0,0];let[t]=a;3===t.length&&(t=[...t].map(e=>e+e).join(""));let p=Number.parseInt(t,16);return[p>>16&255,p>>8&255,255&p]},enumerable:!1},hexToAnsi256:{value:e=>r.rgbToAnsi256(...r.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){let a,t,p;if(e<8)return 30+e;if(e<16)return 90+(e-8);if(e>=232)t=a=((e-232)*10+8)/255,p=a;else{let o=(e-=16)%36;a=Math.floor(e/36)/5,t=Math.floor(o/6)/5,p=o%6/5}let o=2*Math.max(a,t,p);if(0===o)return 30;let i=30+(Math.round(p)<<2|Math.round(t)<<1|Math.round(a));return 2===o&&(i+=60),i},enumerable:!1},rgbToAnsi:{value:(e,a,t)=>r.ansi256ToAnsi(r.rgbToAnsi256(e,a,t)),enumerable:!1},hexToAnsi:{value:e=>r.ansi256ToAnsi(r.hexToAnsi256(e)),enumerable:!1}}),r}();var c=t(1708),f=t(48161),h=t(7066);function v(e,a=globalThis.Deno?globalThis.Deno.args:c.argv){let t=e.startsWith("-")?"":1===e.length?"-":"--",p=a.indexOf(t+e),o=a.indexOf("--");return -1!==p&&(-1===o||p<o)}let{env:g}=c;function D(e,a={}){var t;return 0!==(t=function(e,{streamIsTTY:a,sniffFlags:t=!0}={}){let o=function(){if("FORCE_COLOR"in g)return"true"===g.FORCE_COLOR?1:"false"===g.FORCE_COLOR?0:0===g.FORCE_COLOR.length?1:Math.min(Number.parseInt(g.FORCE_COLOR,10),3)}();void 0!==o&&(p=o);let i=t?p:o;if(0===i)return 0;if(t){if(v("color=16m")||v("color=full")||v("color=truecolor"))return 3;if(v("color=256"))return 2}if("TF_BUILD"in g&&"AGENT_NAME"in g)return 1;if(e&&!a&&void 0===i)return 0;let d=i||0;if("dumb"===g.TERM)return d;if("win32"===c.platform){let e=f.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in g)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(e=>e in g)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(e=>e in g)||"codeship"===g.CI_NAME?1:d;if("TEAMCITY_VERSION"in g)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(g.TEAMCITY_VERSION);if("truecolor"===g.COLORTERM||"xterm-kitty"===g.TERM||"xterm-ghostty"===g.TERM||"wezterm"===g.TERM)return 3;if("TERM_PROGRAM"in g){let e=Number.parseInt((g.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(g.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(g.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(g.TERM)||"COLORTERM"in g?1:d}(e,{streamIsTTY:e&&e.isTTY,...a}))&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}v("no-color")||v("no-colors")||v("color=false")||v("color=never")?p=0:(v("color")||v("colors")||v("color=true")||v("color=always"))&&(p=1);let{stdout:y,stderr:w}={stdout:D({isTTY:h.isatty(1)}),stderr:D({isTTY:h.isatty(2)})},b=Symbol("GENERATOR"),_=Symbol("STYLER"),C=Symbol("IS_EMPTY"),F=["ansi","ansi","ansi256","ansi16m"],S=Object.create(null);class E{constructor(e){return k(e)}}let k=e=>{let a=(...e)=>e.join(" ");return((e,a={})=>{if(a.level&&!(Number.isInteger(a.level)&&a.level>=0&&a.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let t=y?y.level:0;e.level=void 0===a.level?t:a.level})(a,e),Object.setPrototypeOf(a,A.prototype),a};function A(e){return k(e)}for(let[e,a]of(Object.setPrototypeOf(A.prototype,Function.prototype),Object.entries(m)))S[e]={get(){let t=x(this,O(a.open,a.close,this[_]),this[C]);return Object.defineProperty(this,e,{value:t}),t}};S.visible={get(){let e=x(this,this[_],!0);return Object.defineProperty(this,"visible",{value:e}),e}};let N=(e,a,t,...p)=>"rgb"===e?"ansi16m"===a?m[t].ansi16m(...p):"ansi256"===a?m[t].ansi256(m.rgbToAnsi256(...p)):m[t].ansi(m.rgbToAnsi(...p)):"hex"===e?N("rgb",a,t,...m.hexToRgb(...p)):m[t][e](...p);for(let e of["rgb","hex","ansi256"])S[e]={get(){let{level:a}=this;return function(...t){return x(this,O(N(e,F[a],"color",...t),m.color.close,this[_]),this[C])}}},S["bg"+e[0].toUpperCase()+e.slice(1)]={get(){let{level:a}=this;return function(...t){return x(this,O(N(e,F[a],"bgColor",...t),m.bgColor.close,this[_]),this[C])}}};let $=Object.defineProperties(()=>{},{...S,level:{enumerable:!0,get(){return this[b].level},set(e){this[b].level=e}}}),O=(e,a,t)=>{let p,o;return void 0===t?(p=e,o=a):(p=t.openAll+e,o=a+t.closeAll),{open:e,close:a,openAll:p,closeAll:o,parent:t}},x=(e,a,t)=>{let p=(...e)=>T(p,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(p,$),p[b]=e,p[_]=a,p[C]=t,p},T=(e,a)=>{if(e.level<=0||!a)return e[C]?"":a;let t=e[_];if(void 0===t)return a;let{openAll:p,closeAll:o}=t;if(a.includes("\x1b"))for(;void 0!==t;)a=function(e,a,t){let p=e.indexOf(a);if(-1===p)return e;let o=a.length,i=0,d="";do d+=e.slice(i,p)+a+t,i=p+o,p=e.indexOf(a,i);while(-1!==p);return d+e.slice(i)}(a,t.close,t.open),t=t.parent;let i=a.indexOf("\n");return -1!==i&&(a=function(e,a,t,p){let o=0,i="";do{let d="\r"===e[p-1];i+=e.slice(o,d?p-1:p)+a+(d?"\r\n":"\n")+t,o=p+1,p=e.indexOf("\n",o)}while(-1!==p);return i+e.slice(o)}(a,o,p,i)),p+a+o};Object.defineProperties(A.prototype,S);let B=k(void 0),I=k({level:w?w.level:0}),j=B},35679(e,a,t){t.d(a,{DM:()=>p,uB:()=>s});let{DM:p,gu:o,er:i,Ww:d,b7:r,Di:n,a2:l,uB:s,ef:u,c$:m,_V:c}=t(65181)},29122(e,a,t){t.d(a,{A:()=>o});var p=t(1708);function o(){let{env:e}=p,{TERM:a,TERM_PROGRAM:t}=e;return"win32"!==p.platform?"linux"!==a:!!e.WT_SESSION||!!e.TERMINUS_SUBLIME||"{cmd::Cmder}"===e.ConEmuTask||"Terminus-Sublime"===t||"vscode"===t||"xterm-256color"===a||"alacritty"===a||"rxvt-unicode"===a||"rxvt-unicode-256color"===a||"JetBrains-JediTerm"===e.TERMINAL_EMULATOR}},79657(e,a,t){let p;t.d(a,{Ay:()=>Q});var o=t(2203),i=t(58611),d=t(87016),r=t(44044),n=t(65692),l=t(43106);let s=o.Readable,u=Symbol("buffer"),m=Symbol("type");class c{constructor(){this[m]="";let e=arguments[0],a=arguments[1],t=[];if(e){let a=Number(e.length);for(let p=0;p<a;p++){let a,o=e[p];(a=o instanceof Buffer?o:ArrayBuffer.isView(o)?Buffer.from(o.buffer,o.byteOffset,o.byteLength):o instanceof ArrayBuffer?Buffer.from(o):o instanceof c?o[u]:Buffer.from("string"==typeof o?o:String(o))).length,t.push(a)}}this[u]=Buffer.concat(t);let p=a&&void 0!==a.type&&String(a.type).toLowerCase();p&&!/[^\u0020-\u007E]/.test(p)&&(this[m]=p)}get size(){return this[u].length}get type(){return this[m]}text(){return Promise.resolve(this[u].toString())}arrayBuffer(){let e=this[u];return Promise.resolve(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength))}stream(){let e=new s;return e._read=function(){},e.push(this[u]),e.push(null),e}toString(){return"[object Blob]"}slice(){let e,a=this.size,t=arguments[0],p=arguments[1];e=void 0===t?0:t<0?Math.max(a+t,0):Math.min(t,a);let o=Math.max((void 0===p?a:p<0?Math.max(a+p,0):Math.min(p,a))-e,0),i=this[u].slice(e,e+o),d=new c([],{type:arguments[2]});return d[u]=i,d}}function f(e,a,t){Error.call(this,e),this.message=e,this.type=a,t&&(this.code=this.errno=t.code),Error.captureStackTrace(this,this.constructor)}Object.defineProperties(c.prototype,{size:{enumerable:!0},type:{enumerable:!0},slice:{enumerable:!0}}),Object.defineProperty(c.prototype,Symbol.toStringTag,{value:"Blob",writable:!1,enumerable:!1,configurable:!0}),f.prototype=Object.create(Error.prototype),f.prototype.constructor=f,f.prototype.name="FetchError";try{p=require("encoding").convert}catch(e){}let h=Symbol("Body internals"),v=o.PassThrough;function g(e){var a=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},p=t.size,i=t.timeout;null==e?e=null:y(e)?e=Buffer.from(e.toString()):w(e)||Buffer.isBuffer(e)||("[object ArrayBuffer]"===Object.prototype.toString.call(e)?e=Buffer.from(e):ArrayBuffer.isView(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):e instanceof o||(e=Buffer.from(String(e)))),this[h]={body:e,disturbed:!1,error:null},this.size=void 0===p?0:p,this.timeout=void 0===i?0:i,e instanceof o&&e.on("error",function(e){let t="AbortError"===e.name?e:new f(`Invalid response body while trying to fetch ${a.url}: ${e.message}`,"system",e);a[h].error=t})}function D(){var e=this;if(this[h].disturbed)return g.Promise.reject(TypeError(`body used already for: ${this.url}`));if(this[h].disturbed=!0,this[h].error)return g.Promise.reject(this[h].error);let a=this.body;if(null===a)return g.Promise.resolve(Buffer.alloc(0));if(w(a)&&(a=a.stream()),Buffer.isBuffer(a))return g.Promise.resolve(a);if(!(a instanceof o))return g.Promise.resolve(Buffer.alloc(0));let t=[],p=0,i=!1;return new g.Promise(function(o,d){let r;e.timeout&&(r=setTimeout(function(){i=!0,d(new f(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))},e.timeout)),a.on("error",function(a){"AbortError"===a.name?(i=!0,d(a)):d(new f(`Invalid response body while trying to fetch ${e.url}: ${a.message}`,"system",a))}),a.on("data",function(a){if(!i&&null!==a){if(e.size&&p+a.length>e.size){i=!0,d(new f(`content size at ${e.url} over limit: ${e.size}`,"max-size"));return}p+=a.length,t.push(a)}}),a.on("end",function(){if(!i){clearTimeout(r);try{o(Buffer.concat(t,p))}catch(a){d(new f(`Could not create Buffer from response body for ${e.url}: ${a.message}`,"system",a))}}})})}function y(e){return"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&("URLSearchParams"===e.constructor.name||"[object URLSearchParams]"===Object.prototype.toString.call(e)||"function"==typeof e.sort)}function w(e){return"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.constructor&&"string"==typeof e.constructor.name&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function b(e){let a,t,p=e.body;if(e.bodyUsed)throw Error("cannot clone body after it is used");return p instanceof o&&"function"!=typeof p.getBoundary&&(a=new v,t=new v,p.pipe(a),p.pipe(t),e[h].body=a,p=t),p}function _(e){if(null===e)return null;if("string"==typeof e)return"text/plain;charset=UTF-8";if(y(e))return"application/x-www-form-urlencoded;charset=UTF-8";if(w(e))return e.type||null;if(Buffer.isBuffer(e))return null;else if("[object ArrayBuffer]"===Object.prototype.toString.call(e))return null;else if(ArrayBuffer.isView(e))return null;else if("function"==typeof e.getBoundary)return`multipart/form-data;boundary=${e.getBoundary()}`;else if(e instanceof o)return null;else return"text/plain;charset=UTF-8"}function C(e){let a=e.body;return null===a?0:w(a)?a.size:Buffer.isBuffer(a)?a.length:a&&"function"==typeof a.getLengthSync?a._lengthRetrievers&&0==a._lengthRetrievers.length||a.hasKnownLength&&a.hasKnownLength()?a.getLengthSync():null:null}g.prototype={get body(){return this[h].body},get bodyUsed(){return this[h].disturbed},arrayBuffer(){return D.call(this).then(function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)})},blob(){let e=this.headers&&this.headers.get("content-type")||"";return D.call(this).then(function(a){return Object.assign(new c([],{type:e.toLowerCase()}),{[u]:a})})},json(){var e=this;return D.call(this).then(function(a){try{return JSON.parse(a.toString())}catch(a){return g.Promise.reject(new f(`invalid json response body at ${e.url} reason: ${a.message}`,"invalid-json"))}})},text(){return D.call(this).then(function(e){return e.toString()})},buffer(){return D.call(this)},textConverted(){var e=this;return D.call(this).then(function(a){return function(e,a){let t,o;if("function"!=typeof p)throw Error("The package `encoding` must be installed to use the textConverted() function");let i=a.get("content-type"),d="utf-8";return i&&(t=/charset=([^;]*)/i.exec(i)),o=e.slice(0,1024).toString(),!t&&o&&(t=/<meta.+?charset=(['"])(.+?)\1/i.exec(o)),!t&&o&&(!(t=/<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(o))&&(t=/<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(o))&&t.pop(),t&&(t=/charset=(.*)/i.exec(t.pop()))),!t&&o&&(t=/<\?xml.+?encoding=(['"])(.+?)\1/i.exec(o)),t&&("gb2312"===(d=t.pop())||"gbk"===d)&&(d="gb18030"),p(e,"UTF-8",d).toString()}(a,e.headers)})}},Object.defineProperties(g.prototype,{body:{enumerable:!0},bodyUsed:{enumerable:!0},arrayBuffer:{enumerable:!0},blob:{enumerable:!0},json:{enumerable:!0},text:{enumerable:!0}}),g.mixIn=function(e){for(let a of Object.getOwnPropertyNames(g.prototype))if(!(a in e)){let t=Object.getOwnPropertyDescriptor(g.prototype,a);Object.defineProperty(e,a,t)}},g.Promise=global.Promise;let F=/[^\^_`a-zA-Z\-0-9!#$%&'*+.|~]/,S=/[^\t\x20-\x7e\x80-\xff]/;function E(e){if(e=`${e}`,F.test(e)||""===e)throw TypeError(`${e} is not a legal HTTP header name`)}function k(e){if(e=`${e}`,S.test(e))throw TypeError(`${e} is not a legal HTTP header value`)}function A(e,a){for(let t in a=a.toLowerCase(),e)if(t.toLowerCase()===a)return t}let N=Symbol("map");class ${constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(this[N]=Object.create(null),e instanceof $){let a=e.raw();for(let e of Object.keys(a))for(let t of a[e])this.append(e,t);return}if(null==e);else if("object"==typeof e){let a=e[Symbol.iterator];if(null!=a){if("function"!=typeof a)throw TypeError("Header pairs must be iterable");let t=[];for(let a of e){if("object"!=typeof a||"function"!=typeof a[Symbol.iterator])throw TypeError("Each header pair must be iterable");t.push(Array.from(a))}for(let e of t){if(2!==e.length)throw TypeError("Each header pair must be a name/value tuple");this.append(e[0],e[1])}}else for(let a of Object.keys(e)){let t=e[a];this.append(a,t)}}else throw TypeError("Provided initializer must be an object")}get(e){E(e=`${e}`);let a=A(this[N],e);return void 0===a?null:this[N][a].join(", ")}forEach(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,t=O(this),p=0;for(;p<t.length;){var o=t[p];let i=o[0],d=o[1];e.call(a,d,i,this),t=O(this),p++}}set(e,a){e=`${e}`,a=`${a}`,E(e),k(a);let t=A(this[N],e);this[N][void 0!==t?t:e]=[a]}append(e,a){e=`${e}`,a=`${a}`,E(e),k(a);let t=A(this[N],e);void 0!==t?this[N][t].push(a):this[N][e]=[a]}has(e){return E(e=`${e}`),void 0!==A(this[N],e)}delete(e){E(e=`${e}`);let a=A(this[N],e);void 0!==a&&delete this[N][a]}raw(){return this[N]}keys(){return T(this,"key")}values(){return T(this,"value")}[Symbol.iterator](){return T(this,"key+value")}}function O(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key+value";return Object.keys(e[N]).sort().map("key"===a?function(e){return e.toLowerCase()}:"value"===a?function(a){return e[N][a].join(", ")}:function(a){return[a.toLowerCase(),e[N][a].join(", ")]})}$.prototype.entries=$.prototype[Symbol.iterator],Object.defineProperty($.prototype,Symbol.toStringTag,{value:"Headers",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties($.prototype,{get:{enumerable:!0},forEach:{enumerable:!0},set:{enumerable:!0},append:{enumerable:!0},has:{enumerable:!0},delete:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0}});let x=Symbol("internal");function T(e,a){let t=Object.create(B);return t[x]={target:e,kind:a,index:0},t}let B=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==B)throw TypeError("Value of `this` is not a HeadersIterator");var e=this[x];let a=e.target,t=e.kind,p=e.index,o=O(a,t);return p>=o.length?{value:void 0,done:!0}:(this[x].index=p+1,{value:o[p],done:!1})}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));Object.defineProperty(B,Symbol.toStringTag,{value:"HeadersIterator",writable:!1,enumerable:!1,configurable:!0});let I=Symbol("Response internals"),j=i.STATUS_CODES;class V{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};g.call(this,e,a);let t=a.status||200,p=new $(a.headers);if(null!=e&&!p.has("Content-Type")){let a=_(e);a&&p.append("Content-Type",a)}this[I]={url:a.url,status:t,statusText:a.statusText||j[t],headers:p,counter:a.counter}}get url(){return this[I].url||""}get status(){return this[I].status}get ok(){return this[I].status>=200&&this[I].status<300}get redirected(){return this[I].counter>0}get statusText(){return this[I].statusText}get headers(){return this[I].headers}clone(){return new V(b(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}g.mixIn(V.prototype),Object.defineProperties(V.prototype,{url:{enumerable:!0},status:{enumerable:!0},ok:{enumerable:!0},redirected:{enumerable:!0},statusText:{enumerable:!0},headers:{enumerable:!0},clone:{enumerable:!0}}),Object.defineProperty(V.prototype,Symbol.toStringTag,{value:"Response",writable:!1,enumerable:!1,configurable:!0});let P=Symbol("Request internals"),R=d.URL||r.k,M=d.parse,U=d.format;function L(e){return/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(e)&&(e=new R(e).toString()),M(e)}let q="destroy"in o.Readable.prototype;function J(e){return"object"==typeof e&&"object"==typeof e[P]}class G{constructor(e){var a;let t,p,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};J(e)?p=L(e.url):(p=e&&e.href?L(e.href):L(`${e}`),e={});let i=o.method||e.method||"GET";if(i=i.toUpperCase(),(null!=o.body||J(e)&&null!==e.body)&&("GET"===i||"HEAD"===i))throw TypeError("Request with GET/HEAD method cannot have body");let d=null!=o.body?o.body:J(e)&&null!==e.body?b(e):null;g.call(this,d,{timeout:o.timeout||e.timeout||0,size:o.size||e.size||0});let r=new $(o.headers||e.headers||{});if(null!=d&&!r.has("Content-Type")){let e=_(d);e&&r.append("Content-Type",e)}let n=J(e)?e.signal:null;if("signal"in o&&(n=o.signal),null!=n&&(!(t=(a=n)&&"object"==typeof a&&Object.getPrototypeOf(a))||"AbortSignal"!==t.constructor.name))throw TypeError("Expected signal to be an instanceof AbortSignal");this[P]={method:i,redirect:o.redirect||e.redirect||"follow",headers:r,parsedURL:p,signal:n},this.follow=void 0!==o.follow?o.follow:void 0!==e.follow?e.follow:20,this.compress=void 0!==o.compress?o.compress:void 0===e.compress||e.compress,this.counter=o.counter||e.counter||0,this.agent=o.agent||e.agent}get method(){return this[P].method}get url(){return U(this[P].parsedURL)}get headers(){return this[P].headers}get redirect(){return this[P].redirect}get signal(){return this[P].signal}clone(){return new G(this)}}function H(e){Error.call(this,e),this.type="aborted",this.message=e,Error.captureStackTrace(this,this.constructor)}g.mixIn(G.prototype),Object.defineProperty(G.prototype,Symbol.toStringTag,{value:"Request",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(G.prototype,{method:{enumerable:!0},url:{enumerable:!0},headers:{enumerable:!0},redirect:{enumerable:!0},clone:{enumerable:!0},signal:{enumerable:!0}}),H.prototype=Object.create(Error.prototype),H.prototype.constructor=H,H.prototype.name="AbortError";let W=d.URL||r.k,K=o.PassThrough,z=function(e,a){let t=new W(a).hostname,p=new W(e).hostname;return t===p||"."===t[t.length-p.length-1]&&t.endsWith(p)};function Y(e,a){if(!Y.Promise)throw Error("native promise missing, set fetch.Promise to your favorite alternative");return g.Promise=Y.Promise,new Y.Promise(function(t,p){var d,r;let s,u,m,c=new G(e,a),h=function(e){let a,t,p=e[P].parsedURL,i=new $(e[P].headers);if(i.has("Accept")||i.set("Accept","*/*"),!p.protocol||!p.hostname)throw TypeError("Only absolute URLs are supported");if(!/^https?:$/.test(p.protocol))throw TypeError("Only HTTP(S) protocols are supported");if(e.signal&&e.body instanceof o.Readable&&!q)throw Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8");let d=null;if(null==e.body&&/^(POST|PUT)$/i.test(e.method)&&(d="0"),null!=e.body){let a=C(e);"number"==typeof a&&(d=String(a))}d&&i.set("Content-Length",d),i.has("User-Agent")||i.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"),e.compress&&!i.has("Accept-Encoding")&&i.set("Accept-Encoding","gzip,deflate");let r=e.agent;return"function"==typeof r&&(r=r(p)),Object.assign({},p,{method:e.method,headers:(a=Object.assign({__proto__:null},i[N]),void 0!==(t=A(i[N],"Host"))&&(a[t]=a[t][0]),a),agent:r})}(c),v=("https:"===h.protocol?n:i).request,g=c.signal,D=null,y=function(){let e=new H("The user aborted a request.");p(e),c.body&&c.body instanceof o.Readable&&Z(c.body,e),D&&D.body&&D.body.emit("error",e)};if(g&&g.aborted)return void y();let b=function(){y(),E()},_=v(h);function E(){_.abort(),g&&g.removeEventListener("abort",b),clearTimeout(u)}g&&g.addEventListener("abort",b),c.timeout&&_.once("socket",function(e){u=setTimeout(function(){p(new f(`network timeout at: ${c.url}`,"request-timeout")),E()},c.timeout)}),_.on("error",function(e){p(new f(`request to ${c.url} failed, reason: ${e.message}`,"system",e)),D&&D.body&&Z(D.body,e),E()}),d=_,r=function(e){(!g||!g.aborted)&&D&&D.body&&Z(D.body,e)},d.on("socket",function(e){s=e}),d.on("response",function(e){let a=e.headers;"chunked"!==a["transfer-encoding"]||a["content-length"]||e.once("close",function(e){if(s&&s.listenerCount("data")>0&&!e){let e=Error("Premature close");e.code="ERR_STREAM_PREMATURE_CLOSE",r(e)}})}),14>parseInt(process.version.substring(1))&&_.on("socket",function(e){e.addListener("close",function(a){let t=e.listenerCount("data")>0;if(D&&t&&!a&&!(g&&g.aborted)){let e=Error("Premature close");e.code="ERR_STREAM_PREMATURE_CLOSE",D.body.emit("error",e)}})}),_.on("response",function(e){clearTimeout(u);let a=function(e){let a=new $;for(let t of Object.keys(e))if(!F.test(t))if(Array.isArray(e[t]))for(let p of e[t])S.test(p)||(void 0===a[N][t]?a[N][t]=[p]:a[N][t].push(p));else S.test(e[t])||(a[N][t]=[e[t]]);return a}(e.headers);if(Y.isRedirect(e.statusCode)){let i=a.get("Location"),d=null;try{d=null===i?null:new W(i,c.url).toString()}catch(e){if("manual"!==c.redirect){p(new f(`uri requested responds with an invalid redirect URL: ${i}`,"invalid-redirect")),E();return}}switch(c.redirect){case"error":p(new f(`uri requested responds with a redirect, redirect mode is set to error: ${c.url}`,"no-redirect")),E();return;case"manual":if(null!==d)try{a.set("Location",d)}catch(e){p(e)}break;case"follow":var o;if(null===d)break;if(c.counter>=c.follow){p(new f(`maximum redirect reached at: ${c.url}`,"max-redirect")),E();return}let r={headers:new $(c.headers),follow:c.follow,counter:c.counter+1,agent:c.agent,compress:c.compress,method:c.method,body:c.body,signal:c.signal,timeout:c.timeout,size:c.size};if(!z(c.url,d)||(o=c.url,new W(d).protocol!==new W(o).protocol))for(let e of["authorization","www-authenticate","cookie","cookie2"])r.headers.delete(e);if(303!==e.statusCode&&c.body&&null===C(c)){p(new f("Cannot follow redirect with body being a readable stream","unsupported-redirect")),E();return}(303===e.statusCode||(301===e.statusCode||302===e.statusCode)&&"POST"===c.method)&&(r.method="GET",r.body=void 0,r.headers.delete("content-length")),t(Y(new G(d,r))),E();return}}e.once("end",function(){g&&g.removeEventListener("abort",b)});let i=e.pipe(new K),d={url:c.url,status:e.statusCode,statusText:e.statusMessage,headers:a,size:c.size,timeout:c.timeout,counter:c.counter},r=a.get("Content-Encoding");if(!c.compress||"HEAD"===c.method||null===r||204===e.statusCode||304===e.statusCode)return void t(D=new V(i,d));let n={flush:l.Z_SYNC_FLUSH,finishFlush:l.Z_SYNC_FLUSH};if("gzip"==r||"x-gzip"==r)return void t(D=new V(i=i.pipe(l.createGunzip(n)),d));if("deflate"==r||"x-deflate"==r){let a=e.pipe(new K);a.once("data",function(e){t(D=new V(i=(15&e[0])==8?i.pipe(l.createInflate()):i.pipe(l.createInflateRaw()),d))}),a.on("end",function(){D||t(D=new V(i,d))});return}"br"==r&&"function"==typeof l.createBrotliDecompress?t(D=new V(i=i.pipe(l.createBrotliDecompress()),d)):t(D=new V(i,d))}),null===(m=c.body)?_.end():w(m)?m.stream().pipe(_):Buffer.isBuffer(m)?(_.write(m),_.end()):m.pipe(_)})}function Z(e,a){e.destroy?e.destroy(a):(e.emit("error",a),e.end())}Y.isRedirect=function(e){return 301===e||302===e||303===e||307===e||308===e},Y.Promise=global.Promise;let Q=Y},30155(e,a,t){let p;t.r(a),t.d(a,{spinners:()=>N,default:()=>U,oraPromise:()=>L});var o=t(1708),i=t(73284);let d=(e,a,t,p)=>{if("length"===t||"prototype"===t||"arguments"===t||"caller"===t)return;let o=Object.getOwnPropertyDescriptor(e,t),i=Object.getOwnPropertyDescriptor(a,t);(r(o,i)||!p)&&Object.defineProperty(e,t,i)},r=function(e,a){return void 0===e||e.configurable||e.writable===a.writable&&e.enumerable===a.enumerable&&e.configurable===a.configurable&&(e.writable||e.value===a.value)},n=(e,a)=>`/* Wrapped ${e}*/
174
+ ${a}`,l=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),s=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),u=new WeakMap,m=(e,a={})=>{let t;if("function"!=typeof e)throw TypeError("Expected a function");let p=0,o=e.displayName||e.name||"<anonymous>",i=function(...d){if(u.set(i,++p),1===p)t=e.apply(this,d),e=void 0;else if(!0===a.throw)throw Error(`Function \`${o}\` can only be called once`);return t};return!function(e,a,{ignoreNonConfigurable:t=!1}={}){let p,{name:o}=e;for(let p of Reflect.ownKeys(a))d(e,a,p,t);(p=Object.getPrototypeOf(a))!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,p),((e,a,t)=>{let p=""===t?"":`with ${t.trim()}() `,o=n.bind(null,p,a.toString());Object.defineProperty(o,"name",s);let{writable:i,enumerable:d,configurable:r}=l;Object.defineProperty(e,"toString",{value:o,writable:i,enumerable:d,configurable:r})})(e,a,o)}(i,e),u.set(i,p),i};m.callCount=e=>{if(!u.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return u.get(e)};let c=[];c.push("SIGHUP","SIGINT","SIGTERM"),"win32"!==process.platform&&c.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&c.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");let f=e=>!!e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on,h=Symbol.for("signal-exit emitter"),v=globalThis,g=Object.defineProperty.bind(Object);class D{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(v[h])return v[h];g(v,h,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(e,a){this.listeners[e].push(a)}removeListener(e,a){let t=this.listeners[e],p=t.indexOf(a);-1!==p&&(0===p&&1===t.length?t.length=0:t.splice(p,1))}emit(e,a,t){if(this.emitted[e])return!1;this.emitted[e]=!0;let p=!1;for(let o of this.listeners[e])p=!0===o(a,t)||p;return"exit"===e&&(p=this.emit("afterExit",a,t)||p),p}}class y{}class w extends y{#e="win32"===b.platform?"SIGINT":"SIGHUP";#a=new D;#t;#p;#o;#i={};#d=!1;constructor(e){for(let a of(super(),this.#t=e,this.#i={},c))this.#i[a]=()=>{let t=this.#t.listeners(a),{count:p}=this.#a;if("object"==typeof e.__signal_exit_emitter__&&"number"==typeof e.__signal_exit_emitter__.count&&(p+=e.__signal_exit_emitter__.count),t.length===p){this.unload();let t=this.#a.emit("exit",null,a),p="SIGHUP"===a?this.#e:a;t||e.kill(e.pid,p)}};this.#o=e.reallyExit,this.#p=e.emit}onExit(e,a){if(!f(this.#t))return()=>{};!1===this.#d&&this.load();let t=a?.alwaysLast?"afterExit":"exit";return this.#a.on(t,e),()=>{this.#a.removeListener(t,e),0===this.#a.listeners.exit.length&&0===this.#a.listeners.afterExit.length&&this.unload()}}load(){if(!this.#d){for(let e of(this.#d=!0,this.#a.count+=1,c))try{let a=this.#i[e];a&&this.#t.on(e,a)}catch(e){}this.#t.emit=(e,...a)=>this.#r(e,...a),this.#t.reallyExit=e=>this.#n(e)}}unload(){this.#d&&(this.#d=!1,c.forEach(e=>{let a=this.#i[e];if(!a)throw Error("Listener not defined for signal: "+e);try{this.#t.removeListener(e,a)}catch(e){}}),this.#t.emit=this.#p,this.#t.reallyExit=this.#o,this.#a.count-=1)}#n(e){return f(this.#t)?(this.#t.exitCode=e||0,this.#a.emit("exit",this.#t.exitCode,null),this.#o.call(this.#t,this.#t.exitCode)):0}#r(e,...a){let t=this.#p;if(!("exit"===e&&f(this.#t)))return t.call(this.#t,e,...a);{"number"==typeof a[0]&&(this.#t.exitCode=a[0]);let p=t.call(this.#t,e,...a);return this.#a.emit("exit",this.#t.exitCode,null),p}}}let b=globalThis.process,{onExit:_,load:C,unload:F}=(p=f(b)?new w(b):new class extends y{onExit(){return()=>{}}load(){}unload(){}},{onExit:(e,a)=>p.onExit(e,a),load:()=>p.load(),unload:()=>p.unload()}),S=o.stderr.isTTY?o.stderr:o.stdout.isTTY?o.stdout:void 0,E=S?m(()=>{_(()=>{S.write("\x1b[?25h")},{alwaysLast:!0})}):()=>{},k=!1,A={};A.show=(e=o.stderr)=>{e.isTTY&&(k=!1,e.write("\x1b[?25h"))},A.hide=(e=o.stderr)=>{e.isTTY&&(E(),k=!0,e.write("\x1b[?25l"))},A.toggle=(e,a)=>{void 0!==e&&(k=e),k?A.show(a):A.hide(a)};var N=t(47661);let $={info:i.default.blue("ℹ"),success:i.default.green("✔"),warning:i.default.yellow("⚠"),error:i.default.red("✖")},O={info:i.default.blue("i"),success:i.default.green("√"),warning:i.default.yellow("‼"),error:i.default.red("\xd7")},x=("win32"!==o.platform?"linux"!==o.env.TERM:o.env.CI||o.env.WT_SESSION||o.env.TERMINUS_SUBLIME||"{cmd::Cmder}"===o.env.ConEmuTask||"Terminus-Sublime"===o.env.TERM_PROGRAM||"vscode"===o.env.TERM_PROGRAM||"xterm-256color"===o.env.TERM||"alacritty"===o.env.TERM||"JetBrains-JediTerm"===o.env.TERMINAL_EMULATOR)?$:O,T=function({onlyFirst:e=!1}={}){return RegExp("(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]",e?void 0:"g")}();function B(e){if("string"!=typeof e)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(T,"")}let I=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,j=new Intl.Segmenter,V=/^\p{Default_Ignorable_Code_Point}$/u;var P=t(29122);let R=new class{#l=0;start(){this.#l++,1===this.#l&&this.#s()}stop(){if(this.#l<=0)throw Error("`stop` called more times than `start`");this.#l--,0===this.#l&&this.#u()}#s(){"win32"!==o.platform&&o.stdin.isTTY&&(o.stdin.setRawMode(!0),o.stdin.on("data",this.#m),o.stdin.resume())}#u(){o.stdin.isTTY&&(o.stdin.off("data",this.#m),o.stdin.pause(),o.stdin.setRawMode(!1))}#m(e){3===e[0]&&o.emit("SIGINT")}};class M{#c=0;#f=!1;#h=0;#v=-1;#g=0;#D;#y;#w;#b;#_;#C;#F;#S;#E;#k;#A;color;constructor(e){"string"==typeof e&&(e={text:e}),this.#D={color:"cyan",stream:o.stderr,discardStdin:!0,hideCursor:!0,...e},this.color=this.#D.color,this.spinner=this.#D.spinner,this.#_=this.#D.interval,this.#w=this.#D.stream,this.#C="boolean"==typeof this.#D.isEnabled?this.#D.isEnabled:function({stream:e=process.stdout}={}){return!!(e&&e.isTTY&&"dumb"!==process.env.TERM&&!("CI"in process.env))}({stream:this.#w}),this.#F="boolean"==typeof this.#D.isSilent&&this.#D.isSilent,this.text=this.#D.text,this.prefixText=this.#D.prefixText,this.suffixText=this.#D.suffixText,this.indent=this.#D.indent}get indent(){return this.#S}set indent(e=0){if(!(e>=0&&Number.isInteger(e)))throw Error("The `indent` option must be an integer from 0 and up");this.#S=e,this.#N()}get interval(){return this.#_??this.#y.interval??100}get spinner(){return this.#y}set spinner(e){if(this.#v=-1,this.#_=void 0,"object"==typeof e){if(void 0===e.frames)throw Error("The given spinner must have a `frames` property");this.#y=e}else if((0,P.A)())if(void 0===e)this.#y=N.dots;else if("default"!==e&&N[e])this.#y=N[e];else throw Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`);else this.#y=N.line}get text(){return this.#E}set text(e=""){this.#E=e,this.#N()}get prefixText(){return this.#k}set prefixText(e=""){this.#k=e,this.#N()}get suffixText(){return this.#A}set suffixText(e=""){this.#A=e,this.#N()}get isSpinning(){return void 0!==this.#b}#$(e=this.#k,a=" "){return"string"==typeof e&&""!==e?e+a:"function"==typeof e?e()+a:""}#O(e=this.#A,a=" "){return"string"==typeof e&&""!==e?a+e:"function"==typeof e?a+e():""}#N(){let e=this.#w.columns??80,a=this.#$(this.#k,"-"),t=this.#O(this.#A,"-"),p=" ".repeat(this.#S)+a+"--"+this.#E+"--"+t;for(let a of(this.#h=0,B(p).split("\n")))this.#h+=Math.max(1,Math.ceil(function(e,a={}){if("string"!=typeof e||0===e.length)return 0;let{ambiguousIsNarrow:t=!0,countAnsiEscapeCodes:p=!1}=a;if(p||(e=B(e)),0===e.length)return 0;let o=0,i={ambiguousAsWide:!t};for(let{segment:a}of j.segment(e)){let e=a.codePointAt(0);if(!(e<=31)&&(!(e>=127)||!(e<=159))&&(!(e>=8203)||!(e<=8207))&&65279!==e&&(!(e>=768)||!(e<=879))&&(!(e>=6832)||!(e<=6911))&&(!(e>=7616)||!(e<=7679))&&(!(e>=8400)||!(e<=8447))&&(!(e>=65056)||!(e<=65071))&&(!(e>=55296)||!(e<=57343))&&(!(e>=65024)||!(e<=65039))&&!V.test(a)){if(I().test(a)){o+=2;continue}o+=function(e,{ambiguousAsWide:a=!1}={}){var t;if(!Number.isSafeInteger(e))throw TypeError(`Expected a code point, got \`${typeof e}\`.`);return 12288===e||e>=65281&&e<=65376||e>=65504&&e<=65510||(t=e)>=4352&&t<=4447||8986===t||8987===t||9001===t||9002===t||t>=9193&&t<=9196||9200===t||9203===t||9725===t||9726===t||9748===t||9749===t||t>=9776&&t<=9783||t>=9800&&t<=9811||9855===t||t>=9866&&t<=9871||9875===t||9889===t||9898===t||9899===t||9917===t||9918===t||9924===t||9925===t||9934===t||9940===t||9962===t||9970===t||9971===t||9973===t||9978===t||9981===t||9989===t||9994===t||9995===t||10024===t||10060===t||10062===t||t>=10067&&t<=10069||10071===t||t>=10133&&t<=10135||10160===t||10175===t||11035===t||11036===t||11088===t||11093===t||t>=11904&&t<=11929||t>=11931&&t<=12019||t>=12032&&t<=12245||t>=12272&&t<=12287||t>=12289&&t<=12350||t>=12353&&t<=12438||t>=12441&&t<=12543||t>=12549&&t<=12591||t>=12593&&t<=12686||t>=12688&&t<=12773||t>=12783&&t<=12830||t>=12832&&t<=12871||t>=12880&&t<=42124||t>=42128&&t<=42182||t>=43360&&t<=43388||t>=44032&&t<=55203||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65106||t>=65108&&t<=65126||t>=65128&&t<=65131||t>=94176&&t<=94180||t>=94192&&t<=94198||t>=94208&&t<=101589||t>=101631&&t<=101662||t>=101760&&t<=101874||t>=110576&&t<=110579||t>=110581&&t<=110587||110589===t||110590===t||t>=110592&&t<=110882||110898===t||t>=110928&&t<=110930||110933===t||t>=110948&&t<=110951||t>=110960&&t<=111355||t>=119552&&t<=119638||t>=119648&&t<=119670||126980===t||127183===t||127374===t||t>=127377&&t<=127386||t>=127488&&t<=127490||t>=127504&&t<=127547||t>=127552&&t<=127560||127568===t||127569===t||t>=127584&&t<=127589||t>=127744&&t<=127776||t>=127789&&t<=127797||t>=127799&&t<=127868||t>=127870&&t<=127891||t>=127904&&t<=127946||t>=127951&&t<=127955||t>=127968&&t<=127984||127988===t||t>=127992&&t<=128062||128064===t||t>=128066&&t<=128252||t>=128255&&t<=128317||t>=128331&&t<=128334||t>=128336&&t<=128359||128378===t||128405===t||128406===t||128420===t||t>=128507&&t<=128591||t>=128640&&t<=128709||128716===t||t>=128720&&t<=128722||t>=128725&&t<=128728||t>=128732&&t<=128735||128747===t||128748===t||t>=128756&&t<=128764||t>=128992&&t<=129003||129008===t||t>=129292&&t<=129338||t>=129340&&t<=129349||t>=129351&&t<=129535||t>=129648&&t<=129660||t>=129664&&t<=129674||t>=129678&&t<=129734||129736===t||t>=129741&&t<=129756||t>=129759&&t<=129770||t>=129775&&t<=129784||t>=131072&&t<=196605||t>=196608&&t<=262141||a&&(161===e||164===e||167===e||168===e||170===e||173===e||174===e||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||198===e||208===e||215===e||216===e||e>=222&&e<=225||230===e||e>=232&&e<=234||236===e||237===e||240===e||242===e||243===e||e>=247&&e<=250||252===e||254===e||257===e||273===e||275===e||283===e||294===e||295===e||299===e||e>=305&&e<=307||312===e||e>=319&&e<=322||324===e||e>=328&&e<=331||333===e||338===e||339===e||358===e||359===e||363===e||462===e||464===e||466===e||468===e||470===e||472===e||474===e||476===e||593===e||609===e||708===e||711===e||e>=713&&e<=715||717===e||720===e||e>=728&&e<=731||733===e||735===e||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||1025===e||e>=1040&&e<=1103||1105===e||8208===e||e>=8211&&e<=8214||8216===e||8217===e||8220===e||8221===e||e>=8224&&e<=8226||e>=8228&&e<=8231||8240===e||8242===e||8243===e||8245===e||8251===e||8254===e||8308===e||8319===e||e>=8321&&e<=8324||8364===e||8451===e||8453===e||8457===e||8467===e||8470===e||8481===e||8482===e||8486===e||8491===e||8531===e||8532===e||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||8585===e||e>=8592&&e<=8601||8632===e||8633===e||8658===e||8660===e||8679===e||8704===e||8706===e||8707===e||8711===e||8712===e||8715===e||8719===e||8721===e||8725===e||8730===e||e>=8733&&e<=8736||8739===e||8741===e||e>=8743&&e<=8748||8750===e||e>=8756&&e<=8759||8764===e||8765===e||8776===e||8780===e||8786===e||8800===e||8801===e||e>=8804&&e<=8807||8810===e||8811===e||8814===e||8815===e||8834===e||8835===e||8838===e||8839===e||8853===e||8857===e||8869===e||8895===e||8978===e||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||9632===e||9633===e||e>=9635&&e<=9641||9650===e||9651===e||9654===e||9655===e||9660===e||9661===e||9664===e||9665===e||e>=9670&&e<=9672||9675===e||e>=9678&&e<=9681||e>=9698&&e<=9701||9711===e||9733===e||9734===e||9737===e||9742===e||9743===e||9756===e||9758===e||9792===e||9794===e||9824===e||9825===e||e>=9827&&e<=9829||e>=9831&&e<=9834||9836===e||9837===e||9839===e||9886===e||9887===e||9919===e||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||9955===e||9960===e||9961===e||e>=9963&&e<=9969||9972===e||e>=9974&&e<=9977||9979===e||9980===e||9982===e||9983===e||10045===e||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||65533===e||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||127375===e||127376===e||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109)?2:1}(e,i)}}return o}(a,{countAnsiEscapeCodes:!0})/e))}get isEnabled(){return this.#C&&!this.#F}set isEnabled(e){if("boolean"!=typeof e)throw TypeError("The `isEnabled` option must be a boolean");this.#C=e}get isSilent(){return this.#F}set isSilent(e){if("boolean"!=typeof e)throw TypeError("The `isSilent` option must be a boolean");this.#F=e}frame(){let e=Date.now();(-1===this.#v||e-this.#g>=this.interval)&&(this.#v=++this.#v%this.#y.frames.length,this.#g=e);let{frames:a}=this.#y,t=a[this.#v];return this.color&&(t=i.default[this.color](t)),("string"==typeof this.#k&&""!==this.#k?this.#k+" ":"")+t+("string"==typeof this.text?" "+this.text:"")+("string"==typeof this.#A&&""!==this.#A?" "+this.#A:"")}clear(){if(!this.#C||!this.#w.isTTY)return this;this.#w.cursorTo(0);for(let e=0;e<this.#c;e++)e>0&&this.#w.moveCursor(0,-1),this.#w.clearLine(1);return(this.#S||this.lastIndent!==this.#S)&&this.#w.cursorTo(this.#S),this.lastIndent=this.#S,this.#c=0,this}render(){return this.#F||(this.clear(),this.#w.write(this.frame()),this.#c=this.#h),this}start(e){return e&&(this.text=e),this.#F||(this.#C?this.isSpinning||(this.#D.hideCursor&&A.hide(this.#w),this.#D.discardStdin&&o.stdin.isTTY&&(this.#f=!0,R.start()),this.render(),this.#b=setInterval(this.render.bind(this),this.interval)):this.text&&this.#w.write(`- ${this.text}
175
+ `)),this}stop(){return this.#C&&(clearInterval(this.#b),this.#b=void 0,this.#v=0,this.clear(),this.#D.hideCursor&&A.show(this.#w),this.#D.discardStdin&&o.stdin.isTTY&&this.#f&&(R.stop(),this.#f=!1)),this}succeed(e){return this.stopAndPersist({symbol:x.success,text:e})}fail(e){return this.stopAndPersist({symbol:x.error,text:e})}warn(e){return this.stopAndPersist({symbol:x.warning,text:e})}info(e){return this.stopAndPersist({symbol:x.info,text:e})}stopAndPersist(e={}){if(this.#F)return this;let a=e.prefixText??this.#k,t=this.#$(a," "),p=e.symbol??" ",o=e.text??this.text,i=e.suffixText??this.#A,d=t+p+("string"==typeof o?(p?" ":"")+o:"")+this.#O(i," ")+"\n";return this.stop(),this.#w.write(d),this}}function U(e){return new M(e)}async function L(e,a){let t="function"==typeof e,p="function"==typeof e.then;if(!t&&!p)throw TypeError("Parameter `action` must be a Function or a Promise");let{successText:o,failText:i}="object"==typeof a?a:{successText:void 0,failText:void 0},d=U(a).start();try{let a=t?e(d):e,p=await a;return d.succeed(void 0===o?void 0:"string"==typeof o?o:o(p)),p}catch(e){throw d.fail(void 0===i?void 0:"string"==typeof i?i:i(e)),e}}},3900(e){e.exports=JSON.parse('{"dots":{"interval":80,"frames":["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},"dots2":{"interval":80,"frames":["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},"dots3":{"interval":80,"frames":["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},"dots4":{"interval":80,"frames":["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},"dots5":{"interval":80,"frames":["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},"dots6":{"interval":80,"frames":["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},"dots7":{"interval":80,"frames":["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},"dots8":{"interval":80,"frames":["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},"dots9":{"interval":80,"frames":["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},"dots10":{"interval":80,"frames":["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},"dots11":{"interval":100,"frames":["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},"dots12":{"interval":80,"frames":["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},"dots13":{"interval":80,"frames":["⣼","⣹","⢻","⠿","⡟","⣏","⣧","⣶"]},"dots8Bit":{"interval":80,"frames":["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},"sand":{"interval":80,"frames":["⠁","⠂","⠄","⡀","⡈","⡐","⡠","⣀","⣁","⣂","⣄","⣌","⣔","⣤","⣥","⣦","⣮","⣶","⣷","⣿","⡿","⠿","⢟","⠟","⡛","⠛","⠫","⢋","⠋","⠍","⡉","⠉","⠑","⠡","⢁"]},"line":{"interval":130,"frames":["-","\\\\","|","/"]},"line2":{"interval":100,"frames":["⠂","-","–","—","–","-"]},"pipe":{"interval":100,"frames":["┤","┘","┴","└","├","┌","┬","┐"]},"simpleDots":{"interval":400,"frames":[". ",".. ","..."," "]},"simpleDotsScrolling":{"interval":200,"frames":[". ",".. ","..."," .."," ."," "]},"star":{"interval":70,"frames":["✶","✸","✹","✺","✹","✷"]},"star2":{"interval":80,"frames":["+","x","*"]},"flip":{"interval":70,"frames":["_","_","_","-","`","`","\'","\xb4","-","_","_","_"]},"hamburger":{"interval":100,"frames":["☱","☲","☴"]},"growVertical":{"interval":120,"frames":["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},"growHorizontal":{"interval":120,"frames":["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},"balloon":{"interval":140,"frames":[" ",".","o","O","@","*"," "]},"balloon2":{"interval":120,"frames":[".","o","O","\xb0","O","o","."]},"noise":{"interval":100,"frames":["▓","▒","░"]},"bounce":{"interval":120,"frames":["⠁","⠂","⠄","⠂"]},"boxBounce":{"interval":120,"frames":["▖","▘","▝","▗"]},"boxBounce2":{"interval":100,"frames":["▌","▀","▐","▄"]},"triangle":{"interval":50,"frames":["◢","◣","◤","◥"]},"binary":{"interval":80,"frames":["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},"arc":{"interval":100,"frames":["◜","◠","◝","◞","◡","◟"]},"circle":{"interval":120,"frames":["◡","⊙","◠"]},"squareCorners":{"interval":180,"frames":["◰","◳","◲","◱"]},"circleQuarters":{"interval":120,"frames":["◴","◷","◶","◵"]},"circleHalves":{"interval":50,"frames":["◐","◓","◑","◒"]},"squish":{"interval":100,"frames":["╫","╪"]},"toggle":{"interval":250,"frames":["⊶","⊷"]},"toggle2":{"interval":80,"frames":["▫","▪"]},"toggle3":{"interval":120,"frames":["□","■"]},"toggle4":{"interval":100,"frames":["■","□","▪","▫"]},"toggle5":{"interval":100,"frames":["▮","▯"]},"toggle6":{"interval":300,"frames":["ဝ","၀"]},"toggle7":{"interval":80,"frames":["⦾","⦿"]},"toggle8":{"interval":100,"frames":["◍","◌"]},"toggle9":{"interval":100,"frames":["◉","◎"]},"toggle10":{"interval":100,"frames":["㊂","㊀","㊁"]},"toggle11":{"interval":50,"frames":["⧇","⧆"]},"toggle12":{"interval":120,"frames":["☗","☖"]},"toggle13":{"interval":80,"frames":["=","*","-"]},"arrow":{"interval":100,"frames":["←","↖","↑","↗","→","↘","↓","↙"]},"arrow2":{"interval":80,"frames":["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},"arrow3":{"interval":120,"frames":["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},"bouncingBar":{"interval":80,"frames":["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},"bouncingBall":{"interval":80,"frames":["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},"smiley":{"interval":200,"frames":["\uD83D\uDE04 ","\uD83D\uDE1D "]},"monkey":{"interval":300,"frames":["\uD83D\uDE48 ","\uD83D\uDE48 ","\uD83D\uDE49 ","\uD83D\uDE4A "]},"hearts":{"interval":100,"frames":["\uD83D\uDC9B ","\uD83D\uDC99 ","\uD83D\uDC9C ","\uD83D\uDC9A ","❤️ "]},"clock":{"interval":100,"frames":["\uD83D\uDD5B ","\uD83D\uDD50 ","\uD83D\uDD51 ","\uD83D\uDD52 ","\uD83D\uDD53 ","\uD83D\uDD54 ","\uD83D\uDD55 ","\uD83D\uDD56 ","\uD83D\uDD57 ","\uD83D\uDD58 ","\uD83D\uDD59 ","\uD83D\uDD5A "]},"earth":{"interval":180,"frames":["\uD83C\uDF0D ","\uD83C\uDF0E ","\uD83C\uDF0F "]},"material":{"interval":17,"frames":["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},"moon":{"interval":80,"frames":["\uD83C\uDF11 ","\uD83C\uDF12 ","\uD83C\uDF13 ","\uD83C\uDF14 ","\uD83C\uDF15 ","\uD83C\uDF16 ","\uD83C\uDF17 ","\uD83C\uDF18 "]},"runner":{"interval":140,"frames":["\uD83D\uDEB6 ","\uD83C\uDFC3 "]},"pong":{"interval":80,"frames":["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},"shark":{"interval":120,"frames":["▐|\\\\____________▌","▐_|\\\\___________▌","▐__|\\\\__________▌","▐___|\\\\_________▌","▐____|\\\\________▌","▐_____|\\\\_______▌","▐______|\\\\______▌","▐_______|\\\\_____▌","▐________|\\\\____▌","▐_________|\\\\___▌","▐__________|\\\\__▌","▐___________|\\\\_▌","▐____________|\\\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},"dqpb":{"interval":100,"frames":["d","q","p","b"]},"weather":{"interval":100,"frames":["☀️ ","☀️ ","☀️ ","\uD83C\uDF24 ","⛅️ ","\uD83C\uDF25 ","☁️ ","\uD83C\uDF27 ","\uD83C\uDF28 ","\uD83C\uDF27 ","\uD83C\uDF28 ","\uD83C\uDF27 ","\uD83C\uDF28 ","⛈ ","\uD83C\uDF28 ","\uD83C\uDF27 ","\uD83C\uDF28 ","☁️ ","\uD83C\uDF25 ","⛅️ ","\uD83C\uDF24 ","☀️ ","☀️ "]},"christmas":{"interval":400,"frames":["\uD83C\uDF32","\uD83C\uDF84"]},"grenade":{"interval":80,"frames":["، ","′ "," \xb4 "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},"point":{"interval":125,"frames":["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},"layer":{"interval":150,"frames":["-","=","≡"]},"betaWave":{"interval":80,"frames":["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},"fingerDance":{"interval":160,"frames":["\uD83E\uDD18 ","\uD83E\uDD1F ","\uD83D\uDD96 ","✋ ","\uD83E\uDD1A ","\uD83D\uDC46 "]},"fistBump":{"interval":80,"frames":["\uD83E\uDD1C    \uD83E\uDD1B ","\uD83E\uDD1C    \uD83E\uDD1B ","\uD83E\uDD1C    \uD83E\uDD1B "," \uD83E\uDD1C  \uD83E\uDD1B  ","  \uD83E\uDD1C\uD83E\uDD1B   "," \uD83E\uDD1C✨\uD83E\uDD1B   ","\uD83E\uDD1C ✨ \uD83E\uDD1B  "]},"soccerHeader":{"interval":80,"frames":[" \uD83E\uDDD1⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️\uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 ","\uD83E\uDDD1 ⚽️ \uD83E\uDDD1 "]},"mindblown":{"interval":160,"frames":["\uD83D\uDE10 ","\uD83D\uDE10 ","\uD83D\uDE2E ","\uD83D\uDE2E ","\uD83D\uDE26 ","\uD83D\uDE26 ","\uD83D\uDE27 ","\uD83D\uDE27 ","\uD83E\uDD2F ","\uD83D\uDCA5 ","✨ ","  ","  ","  "]},"speaker":{"interval":160,"frames":["\uD83D\uDD08 ","\uD83D\uDD09 ","\uD83D\uDD0A ","\uD83D\uDD09 "]},"orangePulse":{"interval":100,"frames":["\uD83D\uDD38 ","\uD83D\uDD36 ","\uD83D\uDFE0 ","\uD83D\uDFE0 ","\uD83D\uDD36 "]},"bluePulse":{"interval":100,"frames":["\uD83D\uDD39 ","\uD83D\uDD37 ","\uD83D\uDD35 ","\uD83D\uDD35 ","\uD83D\uDD37 "]},"orangeBluePulse":{"interval":100,"frames":["\uD83D\uDD38 ","\uD83D\uDD36 ","\uD83D\uDFE0 ","\uD83D\uDFE0 ","\uD83D\uDD36 ","\uD83D\uDD39 ","\uD83D\uDD37 ","\uD83D\uDD35 ","\uD83D\uDD35 ","\uD83D\uDD37 "]},"timeTravel":{"interval":100,"frames":["\uD83D\uDD5B ","\uD83D\uDD5A ","\uD83D\uDD59 ","\uD83D\uDD58 ","\uD83D\uDD57 ","\uD83D\uDD56 ","\uD83D\uDD55 ","\uD83D\uDD54 ","\uD83D\uDD53 ","\uD83D\uDD52 ","\uD83D\uDD51 ","\uD83D\uDD50 "]},"aesthetic":{"interval":80,"frames":["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]},"dwarfFortress":{"interval":80,"frames":[" ██████\xa3\xa3\xa3 ","☺██████\xa3\xa3\xa3 ","☺██████\xa3\xa3\xa3 ","☺▓█████\xa3\xa3\xa3 ","☺▓█████\xa3\xa3\xa3 ","☺▒█████\xa3\xa3\xa3 ","☺▒█████\xa3\xa3\xa3 ","☺░█████\xa3\xa3\xa3 ","☺░█████\xa3\xa3\xa3 ","☺ █████\xa3\xa3\xa3 "," ☺█████\xa3\xa3\xa3 "," ☺█████\xa3\xa3\xa3 "," ☺▓████\xa3\xa3\xa3 "," ☺▓████\xa3\xa3\xa3 "," ☺▒████\xa3\xa3\xa3 "," ☺▒████\xa3\xa3\xa3 "," ☺░████\xa3\xa3\xa3 "," ☺░████\xa3\xa3\xa3 "," ☺ ████\xa3\xa3\xa3 "," ☺████\xa3\xa3\xa3 "," ☺████\xa3\xa3\xa3 "," ☺▓███\xa3\xa3\xa3 "," ☺▓███\xa3\xa3\xa3 "," ☺▒███\xa3\xa3\xa3 "," ☺▒███\xa3\xa3\xa3 "," ☺░███\xa3\xa3\xa3 "," ☺░███\xa3\xa3\xa3 "," ☺ ███\xa3\xa3\xa3 "," ☺███\xa3\xa3\xa3 "," ☺███\xa3\xa3\xa3 "," ☺▓██\xa3\xa3\xa3 "," ☺▓██\xa3\xa3\xa3 "," ☺▒██\xa3\xa3\xa3 "," ☺▒██\xa3\xa3\xa3 "," ☺░██\xa3\xa3\xa3 "," ☺░██\xa3\xa3\xa3 "," ☺ ██\xa3\xa3\xa3 "," ☺██\xa3\xa3\xa3 "," ☺██\xa3\xa3\xa3 "," ☺▓█\xa3\xa3\xa3 "," ☺▓█\xa3\xa3\xa3 "," ☺▒█\xa3\xa3\xa3 "," ☺▒█\xa3\xa3\xa3 "," ☺░█\xa3\xa3\xa3 "," ☺░█\xa3\xa3\xa3 "," ☺ █\xa3\xa3\xa3 "," ☺█\xa3\xa3\xa3 "," ☺█\xa3\xa3\xa3 "," ☺▓\xa3\xa3\xa3 "," ☺▓\xa3\xa3\xa3 "," ☺▒\xa3\xa3\xa3 "," ☺▒\xa3\xa3\xa3 "," ☺░\xa3\xa3\xa3 "," ☺░\xa3\xa3\xa3 "," ☺ \xa3\xa3\xa3 "," ☺\xa3\xa3\xa3 "," ☺\xa3\xa3\xa3 "," ☺▓\xa3\xa3 "," ☺▓\xa3\xa3 "," ☺▒\xa3\xa3 "," ☺▒\xa3\xa3 "," ☺░\xa3\xa3 "," ☺░\xa3\xa3 "," ☺ \xa3\xa3 "," ☺\xa3\xa3 "," ☺\xa3\xa3 "," ☺▓\xa3 "," ☺▓\xa3 "," ☺▒\xa3 "," ☺▒\xa3 "," ☺░\xa3 "," ☺░\xa3 "," ☺ \xa3 "," ☺\xa3 "," ☺\xa3 "," ☺▓ "," ☺▓ "," ☺▒ "," ☺▒ "," ☺░ "," ☺░ "," ☺ "," ☺ &"," ☺ ☼&"," ☺ ☼ &"," ☺☼ &"," ☺☼ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & ","‼ & "," & "," & "," & ░ "," & ▒ "," & ▓ "," & \xa3 "," & ░\xa3 "," & ▒\xa3 "," & ▓\xa3 "," & \xa3\xa3 "," & ░\xa3\xa3 "," & ▒\xa3\xa3 ","& ▓\xa3\xa3 ","& \xa3\xa3\xa3 "," ░\xa3\xa3\xa3 "," ▒\xa3\xa3\xa3 "," ▓\xa3\xa3\xa3 "," █\xa3\xa3\xa3 "," ░█\xa3\xa3\xa3 "," ▒█\xa3\xa3\xa3 "," ▓█\xa3\xa3\xa3 "," ██\xa3\xa3\xa3 "," ░██\xa3\xa3\xa3 "," ▒██\xa3\xa3\xa3 "," ▓██\xa3\xa3\xa3 "," ███\xa3\xa3\xa3 "," ░███\xa3\xa3\xa3 "," ▒███\xa3\xa3\xa3 "," ▓███\xa3\xa3\xa3 "," ████\xa3\xa3\xa3 "," ░████\xa3\xa3\xa3 "," ▒████\xa3\xa3\xa3 "," ▓████\xa3\xa3\xa3 "," █████\xa3\xa3\xa3 "," ░█████\xa3\xa3\xa3 "," ▒█████\xa3\xa3\xa3 "," ▓█████\xa3\xa3\xa3 "," ██████\xa3\xa3\xa3 "," ██████\xa3\xa3\xa3 "]}}')},91749(e){e.exports=JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"],[[47,47],"disallowed_STD3_valid"],[[48,57],"valid"],[[58,64],"disallowed_STD3_valid"],[[65,65],"mapped",[97]],[[66,66],"mapped",[98]],[[67,67],"mapped",[99]],[[68,68],"mapped",[100]],[[69,69],"mapped",[101]],[[70,70],"mapped",[102]],[[71,71],"mapped",[103]],[[72,72],"mapped",[104]],[[73,73],"mapped",[105]],[[74,74],"mapped",[106]],[[75,75],"mapped",[107]],[[76,76],"mapped",[108]],[[77,77],"mapped",[109]],[[78,78],"mapped",[110]],[[79,79],"mapped",[111]],[[80,80],"mapped",[112]],[[81,81],"mapped",[113]],[[82,82],"mapped",[114]],[[83,83],"mapped",[115]],[[84,84],"mapped",[116]],[[85,85],"mapped",[117]],[[86,86],"mapped",[118]],[[87,87],"mapped",[119]],[[88,88],"mapped",[120]],[[89,89],"mapped",[121]],[[90,90],"mapped",[122]],[[91,96],"disallowed_STD3_valid"],[[97,122],"valid"],[[123,127],"disallowed_STD3_valid"],[[128,159],"disallowed"],[[160,160],"disallowed_STD3_mapped",[32]],[[161,167],"valid",[],"NV8"],[[168,168],"disallowed_STD3_mapped",[32,776]],[[169,169],"valid",[],"NV8"],[[170,170],"mapped",[97]],[[171,172],"valid",[],"NV8"],[[173,173],"ignored"],[[174,174],"valid",[],"NV8"],[[175,175],"disallowed_STD3_mapped",[32,772]],[[176,177],"valid",[],"NV8"],[[178,178],"mapped",[50]],[[179,179],"mapped",[51]],[[180,180],"disallowed_STD3_mapped",[32,769]],[[181,181],"mapped",[956]],[[182,182],"valid",[],"NV8"],[[183,183],"valid"],[[184,184],"disallowed_STD3_mapped",[32,807]],[[185,185],"mapped",[49]],[[186,186],"mapped",[111]],[[187,187],"valid",[],"NV8"],[[188,188],"mapped",[49,8260,52]],[[189,189],"mapped",[49,8260,50]],[[190,190],"mapped",[51,8260,52]],[[191,191],"valid",[],"NV8"],[[192,192],"mapped",[224]],[[193,193],"mapped",[225]],[[194,194],"mapped",[226]],[[195,195],"mapped",[227]],[[196,196],"mapped",[228]],[[197,197],"mapped",[229]],[[198,198],"mapped",[230]],[[199,199],"mapped",[231]],[[200,200],"mapped",[232]],[[201,201],"mapped",[233]],[[202,202],"mapped",[234]],[[203,203],"mapped",[235]],[[204,204],"mapped",[236]],[[205,205],"mapped",[237]],[[206,206],"mapped",[238]],[[207,207],"mapped",[239]],[[208,208],"mapped",[240]],[[209,209],"mapped",[241]],[[210,210],"mapped",[242]],[[211,211],"mapped",[243]],[[212,212],"mapped",[244]],[[213,213],"mapped",[245]],[[214,214],"mapped",[246]],[[215,215],"valid",[],"NV8"],[[216,216],"mapped",[248]],[[217,217],"mapped",[249]],[[218,218],"mapped",[250]],[[219,219],"mapped",[251]],[[220,220],"mapped",[252]],[[221,221],"mapped",[253]],[[222,222],"mapped",[254]],[[223,223],"deviation",[115,115]],[[224,246],"valid"],[[247,247],"valid",[],"NV8"],[[248,255],"valid"],[[256,256],"mapped",[257]],[[257,257],"valid"],[[258,258],"mapped",[259]],[[259,259],"valid"],[[260,260],"mapped",[261]],[[261,261],"valid"],[[262,262],"mapped",[263]],[[263,263],"valid"],[[264,264],"mapped",[265]],[[265,265],"valid"],[[266,266],"mapped",[267]],[[267,267],"valid"],[[268,268],"mapped",[269]],[[269,269],"valid"],[[270,270],"mapped",[271]],[[271,271],"valid"],[[272,272],"mapped",[273]],[[273,273],"valid"],[[274,274],"mapped",[275]],[[275,275],"valid"],[[276,276],"mapped",[277]],[[277,277],"valid"],[[278,278],"mapped",[279]],[[279,279],"valid"],[[280,280],"mapped",[281]],[[281,281],"valid"],[[282,282],"mapped",[283]],[[283,283],"valid"],[[284,284],"mapped",[285]],[[285,285],"valid"],[[286,286],"mapped",[287]],[[287,287],"valid"],[[288,288],"mapped",[289]],[[289,289],"valid"],[[290,290],"mapped",[291]],[[291,291],"valid"],[[292,292],"mapped",[293]],[[293,293],"valid"],[[294,294],"mapped",[295]],[[295,295],"valid"],[[296,296],"mapped",[297]],[[297,297],"valid"],[[298,298],"mapped",[299]],[[299,299],"valid"],[[300,300],"mapped",[301]],[[301,301],"valid"],[[302,302],"mapped",[303]],[[303,303],"valid"],[[304,304],"mapped",[105,775]],[[305,305],"valid"],[[306,307],"mapped",[105,106]],[[308,308],"mapped",[309]],[[309,309],"valid"],[[310,310],"mapped",[311]],[[311,312],"valid"],[[313,313],"mapped",[314]],[[314,314],"valid"],[[315,315],"mapped",[316]],[[316,316],"valid"],[[317,317],"mapped",[318]],[[318,318],"valid"],[[319,320],"mapped",[108,183]],[[321,321],"mapped",[322]],[[322,322],"valid"],[[323,323],"mapped",[324]],[[324,324],"valid"],[[325,325],"mapped",[326]],[[326,326],"valid"],[[327,327],"mapped",[328]],[[328,328],"valid"],[[329,329],"mapped",[700,110]],[[330,330],"mapped",[331]],[[331,331],"valid"],[[332,332],"mapped",[333]],[[333,333],"valid"],[[334,334],"mapped",[335]],[[335,335],"valid"],[[336,336],"mapped",[337]],[[337,337],"valid"],[[338,338],"mapped",[339]],[[339,339],"valid"],[[340,340],"mapped",[341]],[[341,341],"valid"],[[342,342],"mapped",[343]],[[343,343],"valid"],[[344,344],"mapped",[345]],[[345,345],"valid"],[[346,346],"mapped",[347]],[[347,347],"valid"],[[348,348],"mapped",[349]],[[349,349],"valid"],[[350,350],"mapped",[351]],[[351,351],"valid"],[[352,352],"mapped",[353]],[[353,353],"valid"],[[354,354],"mapped",[355]],[[355,355],"valid"],[[356,356],"mapped",[357]],[[357,357],"valid"],[[358,358],"mapped",[359]],[[359,359],"valid"],[[360,360],"mapped",[361]],[[361,361],"valid"],[[362,362],"mapped",[363]],[[363,363],"valid"],[[364,364],"mapped",[365]],[[365,365],"valid"],[[366,366],"mapped",[367]],[[367,367],"valid"],[[368,368],"mapped",[369]],[[369,369],"valid"],[[370,370],"mapped",[371]],[[371,371],"valid"],[[372,372],"mapped",[373]],[[373,373],"valid"],[[374,374],"mapped",[375]],[[375,375],"valid"],[[376,376],"mapped",[255]],[[377,377],"mapped",[378]],[[378,378],"valid"],[[379,379],"mapped",[380]],[[380,380],"valid"],[[381,381],"mapped",[382]],[[382,382],"valid"],[[383,383],"mapped",[115]],[[384,384],"valid"],[[385,385],"mapped",[595]],[[386,386],"mapped",[387]],[[387,387],"valid"],[[388,388],"mapped",[389]],[[389,389],"valid"],[[390,390],"mapped",[596]],[[391,391],"mapped",[392]],[[392,392],"valid"],[[393,393],"mapped",[598]],[[394,394],"mapped",[599]],[[395,395],"mapped",[396]],[[396,397],"valid"],[[398,398],"mapped",[477]],[[399,399],"mapped",[601]],[[400,400],"mapped",[603]],[[401,401],"mapped",[402]],[[402,402],"valid"],[[403,403],"mapped",[608]],[[404,404],"mapped",[611]],[[405,405],"valid"],[[406,406],"mapped",[617]],[[407,407],"mapped",[616]],[[408,408],"mapped",[409]],[[409,411],"valid"],[[412,412],"mapped",[623]],[[413,413],"mapped",[626]],[[414,414],"valid"],[[415,415],"mapped",[629]],[[416,416],"mapped",[417]],[[417,417],"valid"],[[418,418],"mapped",[419]],[[419,419],"valid"],[[420,420],"mapped",[421]],[[421,421],"valid"],[[422,422],"mapped",[640]],[[423,423],"mapped",[424]],[[424,424],"valid"],[[425,425],"mapped",[643]],[[426,427],"valid"],[[428,428],"mapped",[429]],[[429,429],"valid"],[[430,430],"mapped",[648]],[[431,431],"mapped",[432]],[[432,432],"valid"],[[433,433],"mapped",[650]],[[434,434],"mapped",[651]],[[435,435],"mapped",[436]],[[436,436],"valid"],[[437,437],"mapped",[438]],[[438,438],"valid"],[[439,439],"mapped",[658]],[[440,440],"mapped",[441]],[[441,443],"valid"],[[444,444],"mapped",[445]],[[445,451],"valid"],[[452,454],"mapped",[100,382]],[[455,457],"mapped",[108,106]],[[458,460],"mapped",[110,106]],[[461,461],"mapped",[462]],[[462,462],"valid"],[[463,463],"mapped",[464]],[[464,464],"valid"],[[465,465],"mapped",[466]],[[466,466],"valid"],[[467,467],"mapped",[468]],[[468,468],"valid"],[[469,469],"mapped",[470]],[[470,470],"valid"],[[471,471],"mapped",[472]],[[472,472],"valid"],[[473,473],"mapped",[474]],[[474,474],"valid"],[[475,475],"mapped",[476]],[[476,477],"valid"],[[478,478],"mapped",[479]],[[479,479],"valid"],[[480,480],"mapped",[481]],[[481,481],"valid"],[[482,482],"mapped",[483]],[[483,483],"valid"],[[484,484],"mapped",[485]],[[485,485],"valid"],[[486,486],"mapped",[487]],[[487,487],"valid"],[[488,488],"mapped",[489]],[[489,489],"valid"],[[490,490],"mapped",[491]],[[491,491],"valid"],[[492,492],"mapped",[493]],[[493,493],"valid"],[[494,494],"mapped",[495]],[[495,496],"valid"],[[497,499],"mapped",[100,122]],[[500,500],"mapped",[501]],[[501,501],"valid"],[[502,502],"mapped",[405]],[[503,503],"mapped",[447]],[[504,504],"mapped",[505]],[[505,505],"valid"],[[506,506],"mapped",[507]],[[507,507],"valid"],[[508,508],"mapped",[509]],[[509,509],"valid"],[[510,510],"mapped",[511]],[[511,511],"valid"],[[512,512],"mapped",[513]],[[513,513],"valid"],[[514,514],"mapped",[515]],[[515,515],"valid"],[[516,516],"mapped",[517]],[[517,517],"valid"],[[518,518],"mapped",[519]],[[519,519],"valid"],[[520,520],"mapped",[521]],[[521,521],"valid"],[[522,522],"mapped",[523]],[[523,523],"valid"],[[524,524],"mapped",[525]],[[525,525],"valid"],[[526,526],"mapped",[527]],[[527,527],"valid"],[[528,528],"mapped",[529]],[[529,529],"valid"],[[530,530],"mapped",[531]],[[531,531],"valid"],[[532,532],"mapped",[533]],[[533,533],"valid"],[[534,534],"mapped",[535]],[[535,535],"valid"],[[536,536],"mapped",[537]],[[537,537],"valid"],[[538,538],"mapped",[539]],[[539,539],"valid"],[[540,540],"mapped",[541]],[[541,541],"valid"],[[542,542],"mapped",[543]],[[543,543],"valid"],[[544,544],"mapped",[414]],[[545,545],"valid"],[[546,546],"mapped",[547]],[[547,547],"valid"],[[548,548],"mapped",[549]],[[549,549],"valid"],[[550,550],"mapped",[551]],[[551,551],"valid"],[[552,552],"mapped",[553]],[[553,553],"valid"],[[554,554],"mapped",[555]],[[555,555],"valid"],[[556,556],"mapped",[557]],[[557,557],"valid"],[[558,558],"mapped",[559]],[[559,559],"valid"],[[560,560],"mapped",[561]],[[561,561],"valid"],[[562,562],"mapped",[563]],[[563,563],"valid"],[[564,566],"valid"],[[567,569],"valid"],[[570,570],"mapped",[11365]],[[571,571],"mapped",[572]],[[572,572],"valid"],[[573,573],"mapped",[410]],[[574,574],"mapped",[11366]],[[575,576],"valid"],[[577,577],"mapped",[578]],[[578,578],"valid"],[[579,579],"mapped",[384]],[[580,580],"mapped",[649]],[[581,581],"mapped",[652]],[[582,582],"mapped",[583]],[[583,583],"valid"],[[584,584],"mapped",[585]],[[585,585],"valid"],[[586,586],"mapped",[587]],[[587,587],"valid"],[[588,588],"mapped",[589]],[[589,589],"valid"],[[590,590],"mapped",[591]],[[591,591],"valid"],[[592,680],"valid"],[[681,685],"valid"],[[686,687],"valid"],[[688,688],"mapped",[104]],[[689,689],"mapped",[614]],[[690,690],"mapped",[106]],[[691,691],"mapped",[114]],[[692,692],"mapped",[633]],[[693,693],"mapped",[635]],[[694,694],"mapped",[641]],[[695,695],"mapped",[119]],[[696,696],"mapped",[121]],[[697,705],"valid"],[[706,709],"valid",[],"NV8"],[[710,721],"valid"],[[722,727],"valid",[],"NV8"],[[728,728],"disallowed_STD3_mapped",[32,774]],[[729,729],"disallowed_STD3_mapped",[32,775]],[[730,730],"disallowed_STD3_mapped",[32,778]],[[731,731],"disallowed_STD3_mapped",[32,808]],[[732,732],"disallowed_STD3_mapped",[32,771]],[[733,733],"disallowed_STD3_mapped",[32,779]],[[734,734],"valid",[],"NV8"],[[735,735],"valid",[],"NV8"],[[736,736],"mapped",[611]],[[737,737],"mapped",[108]],[[738,738],"mapped",[115]],[[739,739],"mapped",[120]],[[740,740],"mapped",[661]],[[741,745],"valid",[],"NV8"],[[746,747],"valid",[],"NV8"],[[748,748],"valid"],[[749,749],"valid",[],"NV8"],[[750,750],"valid"],[[751,767],"valid",[],"NV8"],[[768,831],"valid"],[[832,832],"mapped",[768]],[[833,833],"mapped",[769]],[[834,834],"valid"],[[835,835],"mapped",[787]],[[836,836],"mapped",[776,769]],[[837,837],"mapped",[953]],[[838,846],"valid"],[[847,847],"ignored"],[[848,855],"valid"],[[856,860],"valid"],[[861,863],"valid"],[[864,865],"valid"],[[866,866],"valid"],[[867,879],"valid"],[[880,880],"mapped",[881]],[[881,881],"valid"],[[882,882],"mapped",[883]],[[883,883],"valid"],[[884,884],"mapped",[697]],[[885,885],"valid"],[[886,886],"mapped",[887]],[[887,887],"valid"],[[888,889],"disallowed"],[[890,890],"disallowed_STD3_mapped",[32,953]],[[891,893],"valid"],[[894,894],"disallowed_STD3_mapped",[59]],[[895,895],"mapped",[1011]],[[896,899],"disallowed"],[[900,900],"disallowed_STD3_mapped",[32,769]],[[901,901],"disallowed_STD3_mapped",[32,776,769]],[[902,902],"mapped",[940]],[[903,903],"mapped",[183]],[[904,904],"mapped",[941]],[[905,905],"mapped",[942]],[[906,906],"mapped",[943]],[[907,907],"disallowed"],[[908,908],"mapped",[972]],[[909,909],"disallowed"],[[910,910],"mapped",[973]],[[911,911],"mapped",[974]],[[912,912],"valid"],[[913,913],"mapped",[945]],[[914,914],"mapped",[946]],[[915,915],"mapped",[947]],[[916,916],"mapped",[948]],[[917,917],"mapped",[949]],[[918,918],"mapped",[950]],[[919,919],"mapped",[951]],[[920,920],"mapped",[952]],[[921,921],"mapped",[953]],[[922,922],"mapped",[954]],[[923,923],"mapped",[955]],[[924,924],"mapped",[956]],[[925,925],"mapped",[957]],[[926,926],"mapped",[958]],[[927,927],"mapped",[959]],[[928,928],"mapped",[960]],[[929,929],"mapped",[961]],[[930,930],"disallowed"],[[931,931],"mapped",[963]],[[932,932],"mapped",[964]],[[933,933],"mapped",[965]],[[934,934],"mapped",[966]],[[935,935],"mapped",[967]],[[936,936],"mapped",[968]],[[937,937],"mapped",[969]],[[938,938],"mapped",[970]],[[939,939],"mapped",[971]],[[940,961],"valid"],[[962,962],"deviation",[963]],[[963,974],"valid"],[[975,975],"mapped",[983]],[[976,976],"mapped",[946]],[[977,977],"mapped",[952]],[[978,978],"mapped",[965]],[[979,979],"mapped",[973]],[[980,980],"mapped",[971]],[[981,981],"mapped",[966]],[[982,982],"mapped",[960]],[[983,983],"valid"],[[984,984],"mapped",[985]],[[985,985],"valid"],[[986,986],"mapped",[987]],[[987,987],"valid"],[[988,988],"mapped",[989]],[[989,989],"valid"],[[990,990],"mapped",[991]],[[991,991],"valid"],[[992,992],"mapped",[993]],[[993,993],"valid"],[[994,994],"mapped",[995]],[[995,995],"valid"],[[996,996],"mapped",[997]],[[997,997],"valid"],[[998,998],"mapped",[999]],[[999,999],"valid"],[[1000,1000],"mapped",[1001]],[[1001,1001],"valid"],[[1002,1002],"mapped",[1003]],[[1003,1003],"valid"],[[1004,1004],"mapped",[1005]],[[1005,1005],"valid"],[[1006,1006],"mapped",[1007]],[[1007,1007],"valid"],[[1008,1008],"mapped",[954]],[[1009,1009],"mapped",[961]],[[1010,1010],"mapped",[963]],[[1011,1011],"valid"],[[1012,1012],"mapped",[952]],[[1013,1013],"mapped",[949]],[[1014,1014],"valid",[],"NV8"],[[1015,1015],"mapped",[1016]],[[1016,1016],"valid"],[[1017,1017],"mapped",[963]],[[1018,1018],"mapped",[1019]],[[1019,1019],"valid"],[[1020,1020],"valid"],[[1021,1021],"mapped",[891]],[[1022,1022],"mapped",[892]],[[1023,1023],"mapped",[893]],[[1024,1024],"mapped",[1104]],[[1025,1025],"mapped",[1105]],[[1026,1026],"mapped",[1106]],[[1027,1027],"mapped",[1107]],[[1028,1028],"mapped",[1108]],[[1029,1029],"mapped",[1109]],[[1030,1030],"mapped",[1110]],[[1031,1031],"mapped",[1111]],[[1032,1032],"mapped",[1112]],[[1033,1033],"mapped",[1113]],[[1034,1034],"mapped",[1114]],[[1035,1035],"mapped",[1115]],[[1036,1036],"mapped",[1116]],[[1037,1037],"mapped",[1117]],[[1038,1038],"mapped",[1118]],[[1039,1039],"mapped",[1119]],[[1040,1040],"mapped",[1072]],[[1041,1041],"mapped",[1073]],[[1042,1042],"mapped",[1074]],[[1043,1043],"mapped",[1075]],[[1044,1044],"mapped",[1076]],[[1045,1045],"mapped",[1077]],[[1046,1046],"mapped",[1078]],[[1047,1047],"mapped",[1079]],[[1048,1048],"mapped",[1080]],[[1049,1049],"mapped",[1081]],[[1050,1050],"mapped",[1082]],[[1051,1051],"mapped",[1083]],[[1052,1052],"mapped",[1084]],[[1053,1053],"mapped",[1085]],[[1054,1054],"mapped",[1086]],[[1055,1055],"mapped",[1087]],[[1056,1056],"mapped",[1088]],[[1057,1057],"mapped",[1089]],[[1058,1058],"mapped",[1090]],[[1059,1059],"mapped",[1091]],[[1060,1060],"mapped",[1092]],[[1061,1061],"mapped",[1093]],[[1062,1062],"mapped",[1094]],[[1063,1063],"mapped",[1095]],[[1064,1064],"mapped",[1096]],[[1065,1065],"mapped",[1097]],[[1066,1066],"mapped",[1098]],[[1067,1067],"mapped",[1099]],[[1068,1068],"mapped",[1100]],[[1069,1069],"mapped",[1101]],[[1070,1070],"mapped",[1102]],[[1071,1071],"mapped",[1103]],[[1072,1103],"valid"],[[1104,1104],"valid"],[[1105,1116],"valid"],[[1117,1117],"valid"],[[1118,1119],"valid"],[[1120,1120],"mapped",[1121]],[[1121,1121],"valid"],[[1122,1122],"mapped",[1123]],[[1123,1123],"valid"],[[1124,1124],"mapped",[1125]],[[1125,1125],"valid"],[[1126,1126],"mapped",[1127]],[[1127,1127],"valid"],[[1128,1128],"mapped",[1129]],[[1129,1129],"valid"],[[1130,1130],"mapped",[1131]],[[1131,1131],"valid"],[[1132,1132],"mapped",[1133]],[[1133,1133],"valid"],[[1134,1134],"mapped",[1135]],[[1135,1135],"valid"],[[1136,1136],"mapped",[1137]],[[1137,1137],"valid"],[[1138,1138],"mapped",[1139]],[[1139,1139],"valid"],[[1140,1140],"mapped",[1141]],[[1141,1141],"valid"],[[1142,1142],"mapped",[1143]],[[1143,1143],"valid"],[[1144,1144],"mapped",[1145]],[[1145,1145],"valid"],[[1146,1146],"mapped",[1147]],[[1147,1147],"valid"],[[1148,1148],"mapped",[1149]],[[1149,1149],"valid"],[[1150,1150],"mapped",[1151]],[[1151,1151],"valid"],[[1152,1152],"mapped",[1153]],[[1153,1153],"valid"],[[1154,1154],"valid",[],"NV8"],[[1155,1158],"valid"],[[1159,1159],"valid"],[[1160,1161],"valid",[],"NV8"],[[1162,1162],"mapped",[1163]],[[1163,1163],"valid"],[[1164,1164],"mapped",[1165]],[[1165,1165],"valid"],[[1166,1166],"mapped",[1167]],[[1167,1167],"valid"],[[1168,1168],"mapped",[1169]],[[1169,1169],"valid"],[[1170,1170],"mapped",[1171]],[[1171,1171],"valid"],[[1172,1172],"mapped",[1173]],[[1173,1173],"valid"],[[1174,1174],"mapped",[1175]],[[1175,1175],"valid"],[[1176,1176],"mapped",[1177]],[[1177,1177],"valid"],[[1178,1178],"mapped",[1179]],[[1179,1179],"valid"],[[1180,1180],"mapped",[1181]],[[1181,1181],"valid"],[[1182,1182],"mapped",[1183]],[[1183,1183],"valid"],[[1184,1184],"mapped",[1185]],[[1185,1185],"valid"],[[1186,1186],"mapped",[1187]],[[1187,1187],"valid"],[[1188,1188],"mapped",[1189]],[[1189,1189],"valid"],[[1190,1190],"mapped",[1191]],[[1191,1191],"valid"],[[1192,1192],"mapped",[1193]],[[1193,1193],"valid"],[[1194,1194],"mapped",[1195]],[[1195,1195],"valid"],[[1196,1196],"mapped",[1197]],[[1197,1197],"valid"],[[1198,1198],"mapped",[1199]],[[1199,1199],"valid"],[[1200,1200],"mapped",[1201]],[[1201,1201],"valid"],[[1202,1202],"mapped",[1203]],[[1203,1203],"valid"],[[1204,1204],"mapped",[1205]],[[1205,1205],"valid"],[[1206,1206],"mapped",[1207]],[[1207,1207],"valid"],[[1208,1208],"mapped",[1209]],[[1209,1209],"valid"],[[1210,1210],"mapped",[1211]],[[1211,1211],"valid"],[[1212,1212],"mapped",[1213]],[[1213,1213],"valid"],[[1214,1214],"mapped",[1215]],[[1215,1215],"valid"],[[1216,1216],"disallowed"],[[1217,1217],"mapped",[1218]],[[1218,1218],"valid"],[[1219,1219],"mapped",[1220]],[[1220,1220],"valid"],[[1221,1221],"mapped",[1222]],[[1222,1222],"valid"],[[1223,1223],"mapped",[1224]],[[1224,1224],"valid"],[[1225,1225],"mapped",[1226]],[[1226,1226],"valid"],[[1227,1227],"mapped",[1228]],[[1228,1228],"valid"],[[1229,1229],"mapped",[1230]],[[1230,1230],"valid"],[[1231,1231],"valid"],[[1232,1232],"mapped",[1233]],[[1233,1233],"valid"],[[1234,1234],"mapped",[1235]],[[1235,1235],"valid"],[[1236,1236],"mapped",[1237]],[[1237,1237],"valid"],[[1238,1238],"mapped",[1239]],[[1239,1239],"valid"],[[1240,1240],"mapped",[1241]],[[1241,1241],"valid"],[[1242,1242],"mapped",[1243]],[[1243,1243],"valid"],[[1244,1244],"mapped",[1245]],[[1245,1245],"valid"],[[1246,1246],"mapped",[1247]],[[1247,1247],"valid"],[[1248,1248],"mapped",[1249]],[[1249,1249],"valid"],[[1250,1250],"mapped",[1251]],[[1251,1251],"valid"],[[1252,1252],"mapped",[1253]],[[1253,1253],"valid"],[[1254,1254],"mapped",[1255]],[[1255,1255],"valid"],[[1256,1256],"mapped",[1257]],[[1257,1257],"valid"],[[1258,1258],"mapped",[1259]],[[1259,1259],"valid"],[[1260,1260],"mapped",[1261]],[[1261,1261],"valid"],[[1262,1262],"mapped",[1263]],[[1263,1263],"valid"],[[1264,1264],"mapped",[1265]],[[1265,1265],"valid"],[[1266,1266],"mapped",[1267]],[[1267,1267],"valid"],[[1268,1268],"mapped",[1269]],[[1269,1269],"valid"],[[1270,1270],"mapped",[1271]],[[1271,1271],"valid"],[[1272,1272],"mapped",[1273]],[[1273,1273],"valid"],[[1274,1274],"mapped",[1275]],[[1275,1275],"valid"],[[1276,1276],"mapped",[1277]],[[1277,1277],"valid"],[[1278,1278],"mapped",[1279]],[[1279,1279],"valid"],[[1280,1280],"mapped",[1281]],[[1281,1281],"valid"],[[1282,1282],"mapped",[1283]],[[1283,1283],"valid"],[[1284,1284],"mapped",[1285]],[[1285,1285],"valid"],[[1286,1286],"mapped",[1287]],[[1287,1287],"valid"],[[1288,1288],"mapped",[1289]],[[1289,1289],"valid"],[[1290,1290],"mapped",[1291]],[[1291,1291],"valid"],[[1292,1292],"mapped",[1293]],[[1293,1293],"valid"],[[1294,1294],"mapped",[1295]],[[1295,1295],"valid"],[[1296,1296],"mapped",[1297]],[[1297,1297],"valid"],[[1298,1298],"mapped",[1299]],[[1299,1299],"valid"],[[1300,1300],"mapped",[1301]],[[1301,1301],"valid"],[[1302,1302],"mapped",[1303]],[[1303,1303],"valid"],[[1304,1304],"mapped",[1305]],[[1305,1305],"valid"],[[1306,1306],"mapped",[1307]],[[1307,1307],"valid"],[[1308,1308],"mapped",[1309]],[[1309,1309],"valid"],[[1310,1310],"mapped",[1311]],[[1311,1311],"valid"],[[1312,1312],"mapped",[1313]],[[1313,1313],"valid"],[[1314,1314],"mapped",[1315]],[[1315,1315],"valid"],[[1316,1316],"mapped",[1317]],[[1317,1317],"valid"],[[1318,1318],"mapped",[1319]],[[1319,1319],"valid"],[[1320,1320],"mapped",[1321]],[[1321,1321],"valid"],[[1322,1322],"mapped",[1323]],[[1323,1323],"valid"],[[1324,1324],"mapped",[1325]],[[1325,1325],"valid"],[[1326,1326],"mapped",[1327]],[[1327,1327],"valid"],[[1328,1328],"disallowed"],[[1329,1329],"mapped",[1377]],[[1330,1330],"mapped",[1378]],[[1331,1331],"mapped",[1379]],[[1332,1332],"mapped",[1380]],[[1333,1333],"mapped",[1381]],[[1334,1334],"mapped",[1382]],[[1335,1335],"mapped",[1383]],[[1336,1336],"mapped",[1384]],[[1337,1337],"mapped",[1385]],[[1338,1338],"mapped",[1386]],[[1339,1339],"mapped",[1387]],[[1340,1340],"mapped",[1388]],[[1341,1341],"mapped",[1389]],[[1342,1342],"mapped",[1390]],[[1343,1343],"mapped",[1391]],[[1344,1344],"mapped",[1392]],[[1345,1345],"mapped",[1393]],[[1346,1346],"mapped",[1394]],[[1347,1347],"mapped",[1395]],[[1348,1348],"mapped",[1396]],[[1349,1349],"mapped",[1397]],[[1350,1350],"mapped",[1398]],[[1351,1351],"mapped",[1399]],[[1352,1352],"mapped",[1400]],[[1353,1353],"mapped",[1401]],[[1354,1354],"mapped",[1402]],[[1355,1355],"mapped",[1403]],[[1356,1356],"mapped",[1404]],[[1357,1357],"mapped",[1405]],[[1358,1358],"mapped",[1406]],[[1359,1359],"mapped",[1407]],[[1360,1360],"mapped",[1408]],[[1361,1361],"mapped",[1409]],[[1362,1362],"mapped",[1410]],[[1363,1363],"mapped",[1411]],[[1364,1364],"mapped",[1412]],[[1365,1365],"mapped",[1413]],[[1366,1366],"mapped",[1414]],[[1367,1368],"disallowed"],[[1369,1369],"valid"],[[1370,1375],"valid",[],"NV8"],[[1376,1376],"disallowed"],[[1377,1414],"valid"],[[1415,1415],"mapped",[1381,1410]],[[1416,1416],"disallowed"],[[1417,1417],"valid",[],"NV8"],[[1418,1418],"valid",[],"NV8"],[[1419,1420],"disallowed"],[[1421,1422],"valid",[],"NV8"],[[1423,1423],"valid",[],"NV8"],[[1424,1424],"disallowed"],[[1425,1441],"valid"],[[1442,1442],"valid"],[[1443,1455],"valid"],[[1456,1465],"valid"],[[1466,1466],"valid"],[[1467,1469],"valid"],[[1470,1470],"valid",[],"NV8"],[[1471,1471],"valid"],[[1472,1472],"valid",[],"NV8"],[[1473,1474],"valid"],[[1475,1475],"valid",[],"NV8"],[[1476,1476],"valid"],[[1477,1477],"valid"],[[1478,1478],"valid",[],"NV8"],[[1479,1479],"valid"],[[1480,1487],"disallowed"],[[1488,1514],"valid"],[[1515,1519],"disallowed"],[[1520,1524],"valid"],[[1525,1535],"disallowed"],[[1536,1539],"disallowed"],[[1540,1540],"disallowed"],[[1541,1541],"disallowed"],[[1542,1546],"valid",[],"NV8"],[[1547,1547],"valid",[],"NV8"],[[1548,1548],"valid",[],"NV8"],[[1549,1551],"valid",[],"NV8"],[[1552,1557],"valid"],[[1558,1562],"valid"],[[1563,1563],"valid",[],"NV8"],[[1564,1564],"disallowed"],[[1565,1565],"disallowed"],[[1566,1566],"valid",[],"NV8"],[[1567,1567],"valid",[],"NV8"],[[1568,1568],"valid"],[[1569,1594],"valid"],[[1595,1599],"valid"],[[1600,1600],"valid",[],"NV8"],[[1601,1618],"valid"],[[1619,1621],"valid"],[[1622,1624],"valid"],[[1625,1630],"valid"],[[1631,1631],"valid"],[[1632,1641],"valid"],[[1642,1645],"valid",[],"NV8"],[[1646,1647],"valid"],[[1648,1652],"valid"],[[1653,1653],"mapped",[1575,1652]],[[1654,1654],"mapped",[1608,1652]],[[1655,1655],"mapped",[1735,1652]],[[1656,1656],"mapped",[1610,1652]],[[1657,1719],"valid"],[[1720,1721],"valid"],[[1722,1726],"valid"],[[1727,1727],"valid"],[[1728,1742],"valid"],[[1743,1743],"valid"],[[1744,1747],"valid"],[[1748,1748],"valid",[],"NV8"],[[1749,1756],"valid"],[[1757,1757],"disallowed"],[[1758,1758],"valid",[],"NV8"],[[1759,1768],"valid"],[[1769,1769],"valid",[],"NV8"],[[1770,1773],"valid"],[[1774,1775],"valid"],[[1776,1785],"valid"],[[1786,1790],"valid"],[[1791,1791],"valid"],[[1792,1805],"valid",[],"NV8"],[[1806,1806],"disallowed"],[[1807,1807],"disallowed"],[[1808,1836],"valid"],[[1837,1839],"valid"],[[1840,1866],"valid"],[[1867,1868],"disallowed"],[[1869,1871],"valid"],[[1872,1901],"valid"],[[1902,1919],"valid"],[[1920,1968],"valid"],[[1969,1969],"valid"],[[1970,1983],"disallowed"],[[1984,2037],"valid"],[[2038,2042],"valid",[],"NV8"],[[2043,2047],"disallowed"],[[2048,2093],"valid"],[[2094,2095],"disallowed"],[[2096,2110],"valid",[],"NV8"],[[2111,2111],"disallowed"],[[2112,2139],"valid"],[[2140,2141],"disallowed"],[[2142,2142],"valid",[],"NV8"],[[2143,2207],"disallowed"],[[2208,2208],"valid"],[[2209,2209],"valid"],[[2210,2220],"valid"],[[2221,2226],"valid"],[[2227,2228],"valid"],[[2229,2274],"disallowed"],[[2275,2275],"valid"],[[2276,2302],"valid"],[[2303,2303],"valid"],[[2304,2304],"valid"],[[2305,2307],"valid"],[[2308,2308],"valid"],[[2309,2361],"valid"],[[2362,2363],"valid"],[[2364,2381],"valid"],[[2382,2382],"valid"],[[2383,2383],"valid"],[[2384,2388],"valid"],[[2389,2389],"valid"],[[2390,2391],"valid"],[[2392,2392],"mapped",[2325,2364]],[[2393,2393],"mapped",[2326,2364]],[[2394,2394],"mapped",[2327,2364]],[[2395,2395],"mapped",[2332,2364]],[[2396,2396],"mapped",[2337,2364]],[[2397,2397],"mapped",[2338,2364]],[[2398,2398],"mapped",[2347,2364]],[[2399,2399],"mapped",[2351,2364]],[[2400,2403],"valid"],[[2404,2405],"valid",[],"NV8"],[[2406,2415],"valid"],[[2416,2416],"valid",[],"NV8"],[[2417,2418],"valid"],[[2419,2423],"valid"],[[2424,2424],"valid"],[[2425,2426],"valid"],[[2427,2428],"valid"],[[2429,2429],"valid"],[[2430,2431],"valid"],[[2432,2432],"valid"],[[2433,2435],"valid"],[[2436,2436],"disallowed"],[[2437,2444],"valid"],[[2445,2446],"disallowed"],[[2447,2448],"valid"],[[2449,2450],"disallowed"],[[2451,2472],"valid"],[[2473,2473],"disallowed"],[[2474,2480],"valid"],[[2481,2481],"disallowed"],[[2482,2482],"valid"],[[2483,2485],"disallowed"],[[2486,2489],"valid"],[[2490,2491],"disallowed"],[[2492,2492],"valid"],[[2493,2493],"valid"],[[2494,2500],"valid"],[[2501,2502],"disallowed"],[[2503,2504],"valid"],[[2505,2506],"disallowed"],[[2507,2509],"valid"],[[2510,2510],"valid"],[[2511,2518],"disallowed"],[[2519,2519],"valid"],[[2520,2523],"disallowed"],[[2524,2524],"mapped",[2465,2492]],[[2525,2525],"mapped",[2466,2492]],[[2526,2526],"disallowed"],[[2527,2527],"mapped",[2479,2492]],[[2528,2531],"valid"],[[2532,2533],"disallowed"],[[2534,2545],"valid"],[[2546,2554],"valid",[],"NV8"],[[2555,2555],"valid",[],"NV8"],[[2556,2560],"disallowed"],[[2561,2561],"valid"],[[2562,2562],"valid"],[[2563,2563],"valid"],[[2564,2564],"disallowed"],[[2565,2570],"valid"],[[2571,2574],"disallowed"],[[2575,2576],"valid"],[[2577,2578],"disallowed"],[[2579,2600],"valid"],[[2601,2601],"disallowed"],[[2602,2608],"valid"],[[2609,2609],"disallowed"],[[2610,2610],"valid"],[[2611,2611],"mapped",[2610,2620]],[[2612,2612],"disallowed"],[[2613,2613],"valid"],[[2614,2614],"mapped",[2616,2620]],[[2615,2615],"disallowed"],[[2616,2617],"valid"],[[2618,2619],"disallowed"],[[2620,2620],"valid"],[[2621,2621],"disallowed"],[[2622,2626],"valid"],[[2627,2630],"disallowed"],[[2631,2632],"valid"],[[2633,2634],"disallowed"],[[2635,2637],"valid"],[[2638,2640],"disallowed"],[[2641,2641],"valid"],[[2642,2648],"disallowed"],[[2649,2649],"mapped",[2582,2620]],[[2650,2650],"mapped",[2583,2620]],[[2651,2651],"mapped",[2588,2620]],[[2652,2652],"valid"],[[2653,2653],"disallowed"],[[2654,2654],"mapped",[2603,2620]],[[2655,2661],"disallowed"],[[2662,2676],"valid"],[[2677,2677],"valid"],[[2678,2688],"disallowed"],[[2689,2691],"valid"],[[2692,2692],"disallowed"],[[2693,2699],"valid"],[[2700,2700],"valid"],[[2701,2701],"valid"],[[2702,2702],"disallowed"],[[2703,2705],"valid"],[[2706,2706],"disallowed"],[[2707,2728],"valid"],[[2729,2729],"disallowed"],[[2730,2736],"valid"],[[2737,2737],"disallowed"],[[2738,2739],"valid"],[[2740,2740],"disallowed"],[[2741,2745],"valid"],[[2746,2747],"disallowed"],[[2748,2757],"valid"],[[2758,2758],"disallowed"],[[2759,2761],"valid"],[[2762,2762],"disallowed"],[[2763,2765],"valid"],[[2766,2767],"disallowed"],[[2768,2768],"valid"],[[2769,2783],"disallowed"],[[2784,2784],"valid"],[[2785,2787],"valid"],[[2788,2789],"disallowed"],[[2790,2799],"valid"],[[2800,2800],"valid",[],"NV8"],[[2801,2801],"valid",[],"NV8"],[[2802,2808],"disallowed"],[[2809,2809],"valid"],[[2810,2816],"disallowed"],[[2817,2819],"valid"],[[2820,2820],"disallowed"],[[2821,2828],"valid"],[[2829,2830],"disallowed"],[[2831,2832],"valid"],[[2833,2834],"disallowed"],[[2835,2856],"valid"],[[2857,2857],"disallowed"],[[2858,2864],"valid"],[[2865,2865],"disallowed"],[[2866,2867],"valid"],[[2868,2868],"disallowed"],[[2869,2869],"valid"],[[2870,2873],"valid"],[[2874,2875],"disallowed"],[[2876,2883],"valid"],[[2884,2884],"valid"],[[2885,2886],"disallowed"],[[2887,2888],"valid"],[[2889,2890],"disallowed"],[[2891,2893],"valid"],[[2894,2901],"disallowed"],[[2902,2903],"valid"],[[2904,2907],"disallowed"],[[2908,2908],"mapped",[2849,2876]],[[2909,2909],"mapped",[2850,2876]],[[2910,2910],"disallowed"],[[2911,2913],"valid"],[[2914,2915],"valid"],[[2916,2917],"disallowed"],[[2918,2927],"valid"],[[2928,2928],"valid",[],"NV8"],[[2929,2929],"valid"],[[2930,2935],"valid",[],"NV8"],[[2936,2945],"disallowed"],[[2946,2947],"valid"],[[2948,2948],"disallowed"],[[2949,2954],"valid"],[[2955,2957],"disallowed"],[[2958,2960],"valid"],[[2961,2961],"disallowed"],[[2962,2965],"valid"],[[2966,2968],"disallowed"],[[2969,2970],"valid"],[[2971,2971],"disallowed"],[[2972,2972],"valid"],[[2973,2973],"disallowed"],[[2974,2975],"valid"],[[2976,2978],"disallowed"],[[2979,2980],"valid"],[[2981,2983],"disallowed"],[[2984,2986],"valid"],[[2987,2989],"disallowed"],[[2990,2997],"valid"],[[2998,2998],"valid"],[[2999,3001],"valid"],[[3002,3005],"disallowed"],[[3006,3010],"valid"],[[3011,3013],"disallowed"],[[3014,3016],"valid"],[[3017,3017],"disallowed"],[[3018,3021],"valid"],[[3022,3023],"disallowed"],[[3024,3024],"valid"],[[3025,3030],"disallowed"],[[3031,3031],"valid"],[[3032,3045],"disallowed"],[[3046,3046],"valid"],[[3047,3055],"valid"],[[3056,3058],"valid",[],"NV8"],[[3059,3066],"valid",[],"NV8"],[[3067,3071],"disallowed"],[[3072,3072],"valid"],[[3073,3075],"valid"],[[3076,3076],"disallowed"],[[3077,3084],"valid"],[[3085,3085],"disallowed"],[[3086,3088],"valid"],[[3089,3089],"disallowed"],[[3090,3112],"valid"],[[3113,3113],"disallowed"],[[3114,3123],"valid"],[[3124,3124],"valid"],[[3125,3129],"valid"],[[3130,3132],"disallowed"],[[3133,3133],"valid"],[[3134,3140],"valid"],[[3141,3141],"disallowed"],[[3142,3144],"valid"],[[3145,3145],"disallowed"],[[3146,3149],"valid"],[[3150,3156],"disallowed"],[[3157,3158],"valid"],[[3159,3159],"disallowed"],[[3160,3161],"valid"],[[3162,3162],"valid"],[[3163,3167],"disallowed"],[[3168,3169],"valid"],[[3170,3171],"valid"],[[3172,3173],"disallowed"],[[3174,3183],"valid"],[[3184,3191],"disallowed"],[[3192,3199],"valid",[],"NV8"],[[3200,3200],"disallowed"],[[3201,3201],"valid"],[[3202,3203],"valid"],[[3204,3204],"disallowed"],[[3205,3212],"valid"],[[3213,3213],"disallowed"],[[3214,3216],"valid"],[[3217,3217],"disallowed"],[[3218,3240],"valid"],[[3241,3241],"disallowed"],[[3242,3251],"valid"],[[3252,3252],"disallowed"],[[3253,3257],"valid"],[[3258,3259],"disallowed"],[[3260,3261],"valid"],[[3262,3268],"valid"],[[3269,3269],"disallowed"],[[3270,3272],"valid"],[[3273,3273],"disallowed"],[[3274,3277],"valid"],[[3278,3284],"disallowed"],[[3285,3286],"valid"],[[3287,3293],"disallowed"],[[3294,3294],"valid"],[[3295,3295],"disallowed"],[[3296,3297],"valid"],[[3298,3299],"valid"],[[3300,3301],"disallowed"],[[3302,3311],"valid"],[[3312,3312],"disallowed"],[[3313,3314],"valid"],[[3315,3328],"disallowed"],[[3329,3329],"valid"],[[3330,3331],"valid"],[[3332,3332],"disallowed"],[[3333,3340],"valid"],[[3341,3341],"disallowed"],[[3342,3344],"valid"],[[3345,3345],"disallowed"],[[3346,3368],"valid"],[[3369,3369],"valid"],[[3370,3385],"valid"],[[3386,3386],"valid"],[[3387,3388],"disallowed"],[[3389,3389],"valid"],[[3390,3395],"valid"],[[3396,3396],"valid"],[[3397,3397],"disallowed"],[[3398,3400],"valid"],[[3401,3401],"disallowed"],[[3402,3405],"valid"],[[3406,3406],"valid"],[[3407,3414],"disallowed"],[[3415,3415],"valid"],[[3416,3422],"disallowed"],[[3423,3423],"valid"],[[3424,3425],"valid"],[[3426,3427],"valid"],[[3428,3429],"disallowed"],[[3430,3439],"valid"],[[3440,3445],"valid",[],"NV8"],[[3446,3448],"disallowed"],[[3449,3449],"valid",[],"NV8"],[[3450,3455],"valid"],[[3456,3457],"disallowed"],[[3458,3459],"valid"],[[3460,3460],"disallowed"],[[3461,3478],"valid"],[[3479,3481],"disallowed"],[[3482,3505],"valid"],[[3506,3506],"disallowed"],[[3507,3515],"valid"],[[3516,3516],"disallowed"],[[3517,3517],"valid"],[[3518,3519],"disallowed"],[[3520,3526],"valid"],[[3527,3529],"disallowed"],[[3530,3530],"valid"],[[3531,3534],"disallowed"],[[3535,3540],"valid"],[[3541,3541],"disallowed"],[[3542,3542],"valid"],[[3543,3543],"disallowed"],[[3544,3551],"valid"],[[3552,3557],"disallowed"],[[3558,3567],"valid"],[[3568,3569],"disallowed"],[[3570,3571],"valid"],[[3572,3572],"valid",[],"NV8"],[[3573,3584],"disallowed"],[[3585,3634],"valid"],[[3635,3635],"mapped",[3661,3634]],[[3636,3642],"valid"],[[3643,3646],"disallowed"],[[3647,3647],"valid",[],"NV8"],[[3648,3662],"valid"],[[3663,3663],"valid",[],"NV8"],[[3664,3673],"valid"],[[3674,3675],"valid",[],"NV8"],[[3676,3712],"disallowed"],[[3713,3714],"valid"],[[3715,3715],"disallowed"],[[3716,3716],"valid"],[[3717,3718],"disallowed"],[[3719,3720],"valid"],[[3721,3721],"disallowed"],[[3722,3722],"valid"],[[3723,3724],"disallowed"],[[3725,3725],"valid"],[[3726,3731],"disallowed"],[[3732,3735],"valid"],[[3736,3736],"disallowed"],[[3737,3743],"valid"],[[3744,3744],"disallowed"],[[3745,3747],"valid"],[[3748,3748],"disallowed"],[[3749,3749],"valid"],[[3750,3750],"disallowed"],[[3751,3751],"valid"],[[3752,3753],"disallowed"],[[3754,3755],"valid"],[[3756,3756],"disallowed"],[[3757,3762],"valid"],[[3763,3763],"mapped",[3789,3762]],[[3764,3769],"valid"],[[3770,3770],"disallowed"],[[3771,3773],"valid"],[[3774,3775],"disallowed"],[[3776,3780],"valid"],[[3781,3781],"disallowed"],[[3782,3782],"valid"],[[3783,3783],"disallowed"],[[3784,3789],"valid"],[[3790,3791],"disallowed"],[[3792,3801],"valid"],[[3802,3803],"disallowed"],[[3804,3804],"mapped",[3755,3737]],[[3805,3805],"mapped",[3755,3745]],[[3806,3807],"valid"],[[3808,3839],"disallowed"],[[3840,3840],"valid"],[[3841,3850],"valid",[],"NV8"],[[3851,3851],"valid"],[[3852,3852],"mapped",[3851]],[[3853,3863],"valid",[],"NV8"],[[3864,3865],"valid"],[[3866,3871],"valid",[],"NV8"],[[3872,3881],"valid"],[[3882,3892],"valid",[],"NV8"],[[3893,3893],"valid"],[[3894,3894],"valid",[],"NV8"],[[3895,3895],"valid"],[[3896,3896],"valid",[],"NV8"],[[3897,3897],"valid"],[[3898,3901],"valid",[],"NV8"],[[3902,3906],"valid"],[[3907,3907],"mapped",[3906,4023]],[[3908,3911],"valid"],[[3912,3912],"disallowed"],[[3913,3916],"valid"],[[3917,3917],"mapped",[3916,4023]],[[3918,3921],"valid"],[[3922,3922],"mapped",[3921,4023]],[[3923,3926],"valid"],[[3927,3927],"mapped",[3926,4023]],[[3928,3931],"valid"],[[3932,3932],"mapped",[3931,4023]],[[3933,3944],"valid"],[[3945,3945],"mapped",[3904,4021]],[[3946,3946],"valid"],[[3947,3948],"valid"],[[3949,3952],"disallowed"],[[3953,3954],"valid"],[[3955,3955],"mapped",[3953,3954]],[[3956,3956],"valid"],[[3957,3957],"mapped",[3953,3956]],[[3958,3958],"mapped",[4018,3968]],[[3959,3959],"mapped",[4018,3953,3968]],[[3960,3960],"mapped",[4019,3968]],[[3961,3961],"mapped",[4019,3953,3968]],[[3962,3968],"valid"],[[3969,3969],"mapped",[3953,3968]],[[3970,3972],"valid"],[[3973,3973],"valid",[],"NV8"],[[3974,3979],"valid"],[[3980,3983],"valid"],[[3984,3986],"valid"],[[3987,3987],"mapped",[3986,4023]],[[3988,3989],"valid"],[[3990,3990],"valid"],[[3991,3991],"valid"],[[3992,3992],"disallowed"],[[3993,3996],"valid"],[[3997,3997],"mapped",[3996,4023]],[[3998,4001],"valid"],[[4002,4002],"mapped",[4001,4023]],[[4003,4006],"valid"],[[4007,4007],"mapped",[4006,4023]],[[4008,4011],"valid"],[[4012,4012],"mapped",[4011,4023]],[[4013,4013],"valid"],[[4014,4016],"valid"],[[4017,4023],"valid"],[[4024,4024],"valid"],[[4025,4025],"mapped",[3984,4021]],[[4026,4028],"valid"],[[4029,4029],"disallowed"],[[4030,4037],"valid",[],"NV8"],[[4038,4038],"valid"],[[4039,4044],"valid",[],"NV8"],[[4045,4045],"disallowed"],[[4046,4046],"valid",[],"NV8"],[[4047,4047],"valid",[],"NV8"],[[4048,4049],"valid",[],"NV8"],[[4050,4052],"valid",[],"NV8"],[[4053,4056],"valid",[],"NV8"],[[4057,4058],"valid",[],"NV8"],[[4059,4095],"disallowed"],[[4096,4129],"valid"],[[4130,4130],"valid"],[[4131,4135],"valid"],[[4136,4136],"valid"],[[4137,4138],"valid"],[[4139,4139],"valid"],[[4140,4146],"valid"],[[4147,4149],"valid"],[[4150,4153],"valid"],[[4154,4159],"valid"],[[4160,4169],"valid"],[[4170,4175],"valid",[],"NV8"],[[4176,4185],"valid"],[[4186,4249],"valid"],[[4250,4253],"valid"],[[4254,4255],"valid",[],"NV8"],[[4256,4293],"disallowed"],[[4294,4294],"disallowed"],[[4295,4295],"mapped",[11559]],[[4296,4300],"disallowed"],[[4301,4301],"mapped",[11565]],[[4302,4303],"disallowed"],[[4304,4342],"valid"],[[4343,4344],"valid"],[[4345,4346],"valid"],[[4347,4347],"valid",[],"NV8"],[[4348,4348],"mapped",[4316]],[[4349,4351],"valid"],[[4352,4441],"valid",[],"NV8"],[[4442,4446],"valid",[],"NV8"],[[4447,4448],"disallowed"],[[4449,4514],"valid",[],"NV8"],[[4515,4519],"valid",[],"NV8"],[[4520,4601],"valid",[],"NV8"],[[4602,4607],"valid",[],"NV8"],[[4608,4614],"valid"],[[4615,4615],"valid"],[[4616,4678],"valid"],[[4679,4679],"valid"],[[4680,4680],"valid"],[[4681,4681],"disallowed"],[[4682,4685],"valid"],[[4686,4687],"disallowed"],[[4688,4694],"valid"],[[4695,4695],"disallowed"],[[4696,4696],"valid"],[[4697,4697],"disallowed"],[[4698,4701],"valid"],[[4702,4703],"disallowed"],[[4704,4742],"valid"],[[4743,4743],"valid"],[[4744,4744],"valid"],[[4745,4745],"disallowed"],[[4746,4749],"valid"],[[4750,4751],"disallowed"],[[4752,4782],"valid"],[[4783,4783],"valid"],[[4784,4784],"valid"],[[4785,4785],"disallowed"],[[4786,4789],"valid"],[[4790,4791],"disallowed"],[[4792,4798],"valid"],[[4799,4799],"disallowed"],[[4800,4800],"valid"],[[4801,4801],"disallowed"],[[4802,4805],"valid"],[[4806,4807],"disallowed"],[[4808,4814],"valid"],[[4815,4815],"valid"],[[4816,4822],"valid"],[[4823,4823],"disallowed"],[[4824,4846],"valid"],[[4847,4847],"valid"],[[4848,4878],"valid"],[[4879,4879],"valid"],[[4880,4880],"valid"],[[4881,4881],"disallowed"],[[4882,4885],"valid"],[[4886,4887],"disallowed"],[[4888,4894],"valid"],[[4895,4895],"valid"],[[4896,4934],"valid"],[[4935,4935],"valid"],[[4936,4954],"valid"],[[4955,4956],"disallowed"],[[4957,4958],"valid"],[[4959,4959],"valid"],[[4960,4960],"valid",[],"NV8"],[[4961,4988],"valid",[],"NV8"],[[4989,4991],"disallowed"],[[4992,5007],"valid"],[[5008,5017],"valid",[],"NV8"],[[5018,5023],"disallowed"],[[5024,5108],"valid"],[[5109,5109],"valid"],[[5110,5111],"disallowed"],[[5112,5112],"mapped",[5104]],[[5113,5113],"mapped",[5105]],[[5114,5114],"mapped",[5106]],[[5115,5115],"mapped",[5107]],[[5116,5116],"mapped",[5108]],[[5117,5117],"mapped",[5109]],[[5118,5119],"disallowed"],[[5120,5120],"valid",[],"NV8"],[[5121,5740],"valid"],[[5741,5742],"valid",[],"NV8"],[[5743,5750],"valid"],[[5751,5759],"valid"],[[5760,5760],"disallowed"],[[5761,5786],"valid"],[[5787,5788],"valid",[],"NV8"],[[5789,5791],"disallowed"],[[5792,5866],"valid"],[[5867,5872],"valid",[],"NV8"],[[5873,5880],"valid"],[[5881,5887],"disallowed"],[[5888,5900],"valid"],[[5901,5901],"disallowed"],[[5902,5908],"valid"],[[5909,5919],"disallowed"],[[5920,5940],"valid"],[[5941,5942],"valid",[],"NV8"],[[5943,5951],"disallowed"],[[5952,5971],"valid"],[[5972,5983],"disallowed"],[[5984,5996],"valid"],[[5997,5997],"disallowed"],[[5998,6000],"valid"],[[6001,6001],"disallowed"],[[6002,6003],"valid"],[[6004,6015],"disallowed"],[[6016,6067],"valid"],[[6068,6069],"disallowed"],[[6070,6099],"valid"],[[6100,6102],"valid",[],"NV8"],[[6103,6103],"valid"],[[6104,6107],"valid",[],"NV8"],[[6108,6108],"valid"],[[6109,6109],"valid"],[[6110,6111],"disallowed"],[[6112,6121],"valid"],[[6122,6127],"disallowed"],[[6128,6137],"valid",[],"NV8"],[[6138,6143],"disallowed"],[[6144,6149],"valid",[],"NV8"],[[6150,6150],"disallowed"],[[6151,6154],"valid",[],"NV8"],[[6155,6157],"ignored"],[[6158,6158],"disallowed"],[[6159,6159],"disallowed"],[[6160,6169],"valid"],[[6170,6175],"disallowed"],[[6176,6263],"valid"],[[6264,6271],"disallowed"],[[6272,6313],"valid"],[[6314,6314],"valid"],[[6315,6319],"disallowed"],[[6320,6389],"valid"],[[6390,6399],"disallowed"],[[6400,6428],"valid"],[[6429,6430],"valid"],[[6431,6431],"disallowed"],[[6432,6443],"valid"],[[6444,6447],"disallowed"],[[6448,6459],"valid"],[[6460,6463],"disallowed"],[[6464,6464],"valid",[],"NV8"],[[6465,6467],"disallowed"],[[6468,6469],"valid",[],"NV8"],[[6470,6509],"valid"],[[6510,6511],"disallowed"],[[6512,6516],"valid"],[[6517,6527],"disallowed"],[[6528,6569],"valid"],[[6570,6571],"valid"],[[6572,6575],"disallowed"],[[6576,6601],"valid"],[[6602,6607],"disallowed"],[[6608,6617],"valid"],[[6618,6618],"valid",[],"XV8"],[[6619,6621],"disallowed"],[[6622,6623],"valid",[],"NV8"],[[6624,6655],"valid",[],"NV8"],[[6656,6683],"valid"],[[6684,6685],"disallowed"],[[6686,6687],"valid",[],"NV8"],[[6688,6750],"valid"],[[6751,6751],"disallowed"],[[6752,6780],"valid"],[[6781,6782],"disallowed"],[[6783,6793],"valid"],[[6794,6799],"disallowed"],[[6800,6809],"valid"],[[6810,6815],"disallowed"],[[6816,6822],"valid",[],"NV8"],[[6823,6823],"valid"],[[6824,6829],"valid",[],"NV8"],[[6830,6831],"disallowed"],[[6832,6845],"valid"],[[6846,6846],"valid",[],"NV8"],[[6847,6911],"disallowed"],[[6912,6987],"valid"],[[6988,6991],"disallowed"],[[6992,7001],"valid"],[[7002,7018],"valid",[],"NV8"],[[7019,7027],"valid"],[[7028,7036],"valid",[],"NV8"],[[7037,7039],"disallowed"],[[7040,7082],"valid"],[[7083,7085],"valid"],[[7086,7097],"valid"],[[7098,7103],"valid"],[[7104,7155],"valid"],[[7156,7163],"disallowed"],[[7164,7167],"valid",[],"NV8"],[[7168,7223],"valid"],[[7224,7226],"disallowed"],[[7227,7231],"valid",[],"NV8"],[[7232,7241],"valid"],[[7242,7244],"disallowed"],[[7245,7293],"valid"],[[7294,7295],"valid",[],"NV8"],[[7296,7359],"disallowed"],[[7360,7367],"valid",[],"NV8"],[[7368,7375],"disallowed"],[[7376,7378],"valid"],[[7379,7379],"valid",[],"NV8"],[[7380,7410],"valid"],[[7411,7414],"valid"],[[7415,7415],"disallowed"],[[7416,7417],"valid"],[[7418,7423],"disallowed"],[[7424,7467],"valid"],[[7468,7468],"mapped",[97]],[[7469,7469],"mapped",[230]],[[7470,7470],"mapped",[98]],[[7471,7471],"valid"],[[7472,7472],"mapped",[100]],[[7473,7473],"mapped",[101]],[[7474,7474],"mapped",[477]],[[7475,7475],"mapped",[103]],[[7476,7476],"mapped",[104]],[[7477,7477],"mapped",[105]],[[7478,7478],"mapped",[106]],[[7479,7479],"mapped",[107]],[[7480,7480],"mapped",[108]],[[7481,7481],"mapped",[109]],[[7482,7482],"mapped",[110]],[[7483,7483],"valid"],[[7484,7484],"mapped",[111]],[[7485,7485],"mapped",[547]],[[7486,7486],"mapped",[112]],[[7487,7487],"mapped",[114]],[[7488,7488],"mapped",[116]],[[7489,7489],"mapped",[117]],[[7490,7490],"mapped",[119]],[[7491,7491],"mapped",[97]],[[7492,7492],"mapped",[592]],[[7493,7493],"mapped",[593]],[[7494,7494],"mapped",[7426]],[[7495,7495],"mapped",[98]],[[7496,7496],"mapped",[100]],[[7497,7497],"mapped",[101]],[[7498,7498],"mapped",[601]],[[7499,7499],"mapped",[603]],[[7500,7500],"mapped",[604]],[[7501,7501],"mapped",[103]],[[7502,7502],"valid"],[[7503,7503],"mapped",[107]],[[7504,7504],"mapped",[109]],[[7505,7505],"mapped",[331]],[[7506,7506],"mapped",[111]],[[7507,7507],"mapped",[596]],[[7508,7508],"mapped",[7446]],[[7509,7509],"mapped",[7447]],[[7510,7510],"mapped",[112]],[[7511,7511],"mapped",[116]],[[7512,7512],"mapped",[117]],[[7513,7513],"mapped",[7453]],[[7514,7514],"mapped",[623]],[[7515,7515],"mapped",[118]],[[7516,7516],"mapped",[7461]],[[7517,7517],"mapped",[946]],[[7518,7518],"mapped",[947]],[[7519,7519],"mapped",[948]],[[7520,7520],"mapped",[966]],[[7521,7521],"mapped",[967]],[[7522,7522],"mapped",[105]],[[7523,7523],"mapped",[114]],[[7524,7524],"mapped",[117]],[[7525,7525],"mapped",[118]],[[7526,7526],"mapped",[946]],[[7527,7527],"mapped",[947]],[[7528,7528],"mapped",[961]],[[7529,7529],"mapped",[966]],[[7530,7530],"mapped",[967]],[[7531,7531],"valid"],[[7532,7543],"valid"],[[7544,7544],"mapped",[1085]],[[7545,7578],"valid"],[[7579,7579],"mapped",[594]],[[7580,7580],"mapped",[99]],[[7581,7581],"mapped",[597]],[[7582,7582],"mapped",[240]],[[7583,7583],"mapped",[604]],[[7584,7584],"mapped",[102]],[[7585,7585],"mapped",[607]],[[7586,7586],"mapped",[609]],[[7587,7587],"mapped",[613]],[[7588,7588],"mapped",[616]],[[7589,7589],"mapped",[617]],[[7590,7590],"mapped",[618]],[[7591,7591],"mapped",[7547]],[[7592,7592],"mapped",[669]],[[7593,7593],"mapped",[621]],[[7594,7594],"mapped",[7557]],[[7595,7595],"mapped",[671]],[[7596,7596],"mapped",[625]],[[7597,7597],"mapped",[624]],[[7598,7598],"mapped",[626]],[[7599,7599],"mapped",[627]],[[7600,7600],"mapped",[628]],[[7601,7601],"mapped",[629]],[[7602,7602],"mapped",[632]],[[7603,7603],"mapped",[642]],[[7604,7604],"mapped",[643]],[[7605,7605],"mapped",[427]],[[7606,7606],"mapped",[649]],[[7607,7607],"mapped",[650]],[[7608,7608],"mapped",[7452]],[[7609,7609],"mapped",[651]],[[7610,7610],"mapped",[652]],[[7611,7611],"mapped",[122]],[[7612,7612],"mapped",[656]],[[7613,7613],"mapped",[657]],[[7614,7614],"mapped",[658]],[[7615,7615],"mapped",[952]],[[7616,7619],"valid"],[[7620,7626],"valid"],[[7627,7654],"valid"],[[7655,7669],"valid"],[[7670,7675],"disallowed"],[[7676,7676],"valid"],[[7677,7677],"valid"],[[7678,7679],"valid"],[[7680,7680],"mapped",[7681]],[[7681,7681],"valid"],[[7682,7682],"mapped",[7683]],[[7683,7683],"valid"],[[7684,7684],"mapped",[7685]],[[7685,7685],"valid"],[[7686,7686],"mapped",[7687]],[[7687,7687],"valid"],[[7688,7688],"mapped",[7689]],[[7689,7689],"valid"],[[7690,7690],"mapped",[7691]],[[7691,7691],"valid"],[[7692,7692],"mapped",[7693]],[[7693,7693],"valid"],[[7694,7694],"mapped",[7695]],[[7695,7695],"valid"],[[7696,7696],"mapped",[7697]],[[7697,7697],"valid"],[[7698,7698],"mapped",[7699]],[[7699,7699],"valid"],[[7700,7700],"mapped",[7701]],[[7701,7701],"valid"],[[7702,7702],"mapped",[7703]],[[7703,7703],"valid"],[[7704,7704],"mapped",[7705]],[[7705,7705],"valid"],[[7706,7706],"mapped",[7707]],[[7707,7707],"valid"],[[7708,7708],"mapped",[7709]],[[7709,7709],"valid"],[[7710,7710],"mapped",[7711]],[[7711,7711],"valid"],[[7712,7712],"mapped",[7713]],[[7713,7713],"valid"],[[7714,7714],"mapped",[7715]],[[7715,7715],"valid"],[[7716,7716],"mapped",[7717]],[[7717,7717],"valid"],[[7718,7718],"mapped",[7719]],[[7719,7719],"valid"],[[7720,7720],"mapped",[7721]],[[7721,7721],"valid"],[[7722,7722],"mapped",[7723]],[[7723,7723],"valid"],[[7724,7724],"mapped",[7725]],[[7725,7725],"valid"],[[7726,7726],"mapped",[7727]],[[7727,7727],"valid"],[[7728,7728],"mapped",[7729]],[[7729,7729],"valid"],[[7730,7730],"mapped",[7731]],[[7731,7731],"valid"],[[7732,7732],"mapped",[7733]],[[7733,7733],"valid"],[[7734,7734],"mapped",[7735]],[[7735,7735],"valid"],[[7736,7736],"mapped",[7737]],[[7737,7737],"valid"],[[7738,7738],"mapped",[7739]],[[7739,7739],"valid"],[[7740,7740],"mapped",[7741]],[[7741,7741],"valid"],[[7742,7742],"mapped",[7743]],[[7743,7743],"valid"],[[7744,7744],"mapped",[7745]],[[7745,7745],"valid"],[[7746,7746],"mapped",[7747]],[[7747,7747],"valid"],[[7748,7748],"mapped",[7749]],[[7749,7749],"valid"],[[7750,7750],"mapped",[7751]],[[7751,7751],"valid"],[[7752,7752],"mapped",[7753]],[[7753,7753],"valid"],[[7754,7754],"mapped",[7755]],[[7755,7755],"valid"],[[7756,7756],"mapped",[7757]],[[7757,7757],"valid"],[[7758,7758],"mapped",[7759]],[[7759,7759],"valid"],[[7760,7760],"mapped",[7761]],[[7761,7761],"valid"],[[7762,7762],"mapped",[7763]],[[7763,7763],"valid"],[[7764,7764],"mapped",[7765]],[[7765,7765],"valid"],[[7766,7766],"mapped",[7767]],[[7767,7767],"valid"],[[7768,7768],"mapped",[7769]],[[7769,7769],"valid"],[[7770,7770],"mapped",[7771]],[[7771,7771],"valid"],[[7772,7772],"mapped",[7773]],[[7773,7773],"valid"],[[7774,7774],"mapped",[7775]],[[7775,7775],"valid"],[[7776,7776],"mapped",[7777]],[[7777,7777],"valid"],[[7778,7778],"mapped",[7779]],[[7779,7779],"valid"],[[7780,7780],"mapped",[7781]],[[7781,7781],"valid"],[[7782,7782],"mapped",[7783]],[[7783,7783],"valid"],[[7784,7784],"mapped",[7785]],[[7785,7785],"valid"],[[7786,7786],"mapped",[7787]],[[7787,7787],"valid"],[[7788,7788],"mapped",[7789]],[[7789,7789],"valid"],[[7790,7790],"mapped",[7791]],[[7791,7791],"valid"],[[7792,7792],"mapped",[7793]],[[7793,7793],"valid"],[[7794,7794],"mapped",[7795]],[[7795,7795],"valid"],[[7796,7796],"mapped",[7797]],[[7797,7797],"valid"],[[7798,7798],"mapped",[7799]],[[7799,7799],"valid"],[[7800,7800],"mapped",[7801]],[[7801,7801],"valid"],[[7802,7802],"mapped",[7803]],[[7803,7803],"valid"],[[7804,7804],"mapped",[7805]],[[7805,7805],"valid"],[[7806,7806],"mapped",[7807]],[[7807,7807],"valid"],[[7808,7808],"mapped",[7809]],[[7809,7809],"valid"],[[7810,7810],"mapped",[7811]],[[7811,7811],"valid"],[[7812,7812],"mapped",[7813]],[[7813,7813],"valid"],[[7814,7814],"mapped",[7815]],[[7815,7815],"valid"],[[7816,7816],"mapped",[7817]],[[7817,7817],"valid"],[[7818,7818],"mapped",[7819]],[[7819,7819],"valid"],[[7820,7820],"mapped",[7821]],[[7821,7821],"valid"],[[7822,7822],"mapped",[7823]],[[7823,7823],"valid"],[[7824,7824],"mapped",[7825]],[[7825,7825],"valid"],[[7826,7826],"mapped",[7827]],[[7827,7827],"valid"],[[7828,7828],"mapped",[7829]],[[7829,7833],"valid"],[[7834,7834],"mapped",[97,702]],[[7835,7835],"mapped",[7777]],[[7836,7837],"valid"],[[7838,7838],"mapped",[115,115]],[[7839,7839],"valid"],[[7840,7840],"mapped",[7841]],[[7841,7841],"valid"],[[7842,7842],"mapped",[7843]],[[7843,7843],"valid"],[[7844,7844],"mapped",[7845]],[[7845,7845],"valid"],[[7846,7846],"mapped",[7847]],[[7847,7847],"valid"],[[7848,7848],"mapped",[7849]],[[7849,7849],"valid"],[[7850,7850],"mapped",[7851]],[[7851,7851],"valid"],[[7852,7852],"mapped",[7853]],[[7853,7853],"valid"],[[7854,7854],"mapped",[7855]],[[7855,7855],"valid"],[[7856,7856],"mapped",[7857]],[[7857,7857],"valid"],[[7858,7858],"mapped",[7859]],[[7859,7859],"valid"],[[7860,7860],"mapped",[7861]],[[7861,7861],"valid"],[[7862,7862],"mapped",[7863]],[[7863,7863],"valid"],[[7864,7864],"mapped",[7865]],[[7865,7865],"valid"],[[7866,7866],"mapped",[7867]],[[7867,7867],"valid"],[[7868,7868],"mapped",[7869]],[[7869,7869],"valid"],[[7870,7870],"mapped",[7871]],[[7871,7871],"valid"],[[7872,7872],"mapped",[7873]],[[7873,7873],"valid"],[[7874,7874],"mapped",[7875]],[[7875,7875],"valid"],[[7876,7876],"mapped",[7877]],[[7877,7877],"valid"],[[7878,7878],"mapped",[7879]],[[7879,7879],"valid"],[[7880,7880],"mapped",[7881]],[[7881,7881],"valid"],[[7882,7882],"mapped",[7883]],[[7883,7883],"valid"],[[7884,7884],"mapped",[7885]],[[7885,7885],"valid"],[[7886,7886],"mapped",[7887]],[[7887,7887],"valid"],[[7888,7888],"mapped",[7889]],[[7889,7889],"valid"],[[7890,7890],"mapped",[7891]],[[7891,7891],"valid"],[[7892,7892],"mapped",[7893]],[[7893,7893],"valid"],[[7894,7894],"mapped",[7895]],[[7895,7895],"valid"],[[7896,7896],"mapped",[7897]],[[7897,7897],"valid"],[[7898,7898],"mapped",[7899]],[[7899,7899],"valid"],[[7900,7900],"mapped",[7901]],[[7901,7901],"valid"],[[7902,7902],"mapped",[7903]],[[7903,7903],"valid"],[[7904,7904],"mapped",[7905]],[[7905,7905],"valid"],[[7906,7906],"mapped",[7907]],[[7907,7907],"valid"],[[7908,7908],"mapped",[7909]],[[7909,7909],"valid"],[[7910,7910],"mapped",[7911]],[[7911,7911],"valid"],[[7912,7912],"mapped",[7913]],[[7913,7913],"valid"],[[7914,7914],"mapped",[7915]],[[7915,7915],"valid"],[[7916,7916],"mapped",[7917]],[[7917,7917],"valid"],[[7918,7918],"mapped",[7919]],[[7919,7919],"valid"],[[7920,7920],"mapped",[7921]],[[7921,7921],"valid"],[[7922,7922],"mapped",[7923]],[[7923,7923],"valid"],[[7924,7924],"mapped",[7925]],[[7925,7925],"valid"],[[7926,7926],"mapped",[7927]],[[7927,7927],"valid"],[[7928,7928],"mapped",[7929]],[[7929,7929],"valid"],[[7930,7930],"mapped",[7931]],[[7931,7931],"valid"],[[7932,7932],"mapped",[7933]],[[7933,7933],"valid"],[[7934,7934],"mapped",[7935]],[[7935,7935],"valid"],[[7936,7943],"valid"],[[7944,7944],"mapped",[7936]],[[7945,7945],"mapped",[7937]],[[7946,7946],"mapped",[7938]],[[7947,7947],"mapped",[7939]],[[7948,7948],"mapped",[7940]],[[7949,7949],"mapped",[7941]],[[7950,7950],"mapped",[7942]],[[7951,7951],"mapped",[7943]],[[7952,7957],"valid"],[[7958,7959],"disallowed"],[[7960,7960],"mapped",[7952]],[[7961,7961],"mapped",[7953]],[[7962,7962],"mapped",[7954]],[[7963,7963],"mapped",[7955]],[[7964,7964],"mapped",[7956]],[[7965,7965],"mapped",[7957]],[[7966,7967],"disallowed"],[[7968,7975],"valid"],[[7976,7976],"mapped",[7968]],[[7977,7977],"mapped",[7969]],[[7978,7978],"mapped",[7970]],[[7979,7979],"mapped",[7971]],[[7980,7980],"mapped",[7972]],[[7981,7981],"mapped",[7973]],[[7982,7982],"mapped",[7974]],[[7983,7983],"mapped",[7975]],[[7984,7991],"valid"],[[7992,7992],"mapped",[7984]],[[7993,7993],"mapped",[7985]],[[7994,7994],"mapped",[7986]],[[7995,7995],"mapped",[7987]],[[7996,7996],"mapped",[7988]],[[7997,7997],"mapped",[7989]],[[7998,7998],"mapped",[7990]],[[7999,7999],"mapped",[7991]],[[8000,8005],"valid"],[[8006,8007],"disallowed"],[[8008,8008],"mapped",[8000]],[[8009,8009],"mapped",[8001]],[[8010,8010],"mapped",[8002]],[[8011,8011],"mapped",[8003]],[[8012,8012],"mapped",[8004]],[[8013,8013],"mapped",[8005]],[[8014,8015],"disallowed"],[[8016,8023],"valid"],[[8024,8024],"disallowed"],[[8025,8025],"mapped",[8017]],[[8026,8026],"disallowed"],[[8027,8027],"mapped",[8019]],[[8028,8028],"disallowed"],[[8029,8029],"mapped",[8021]],[[8030,8030],"disallowed"],[[8031,8031],"mapped",[8023]],[[8032,8039],"valid"],[[8040,8040],"mapped",[8032]],[[8041,8041],"mapped",[8033]],[[8042,8042],"mapped",[8034]],[[8043,8043],"mapped",[8035]],[[8044,8044],"mapped",[8036]],[[8045,8045],"mapped",[8037]],[[8046,8046],"mapped",[8038]],[[8047,8047],"mapped",[8039]],[[8048,8048],"valid"],[[8049,8049],"mapped",[940]],[[8050,8050],"valid"],[[8051,8051],"mapped",[941]],[[8052,8052],"valid"],[[8053,8053],"mapped",[942]],[[8054,8054],"valid"],[[8055,8055],"mapped",[943]],[[8056,8056],"valid"],[[8057,8057],"mapped",[972]],[[8058,8058],"valid"],[[8059,8059],"mapped",[973]],[[8060,8060],"valid"],[[8061,8061],"mapped",[974]],[[8062,8063],"disallowed"],[[8064,8064],"mapped",[7936,953]],[[8065,8065],"mapped",[7937,953]],[[8066,8066],"mapped",[7938,953]],[[8067,8067],"mapped",[7939,953]],[[8068,8068],"mapped",[7940,953]],[[8069,8069],"mapped",[7941,953]],[[8070,8070],"mapped",[7942,953]],[[8071,8071],"mapped",[7943,953]],[[8072,8072],"mapped",[7936,953]],[[8073,8073],"mapped",[7937,953]],[[8074,8074],"mapped",[7938,953]],[[8075,8075],"mapped",[7939,953]],[[8076,8076],"mapped",[7940,953]],[[8077,8077],"mapped",[7941,953]],[[8078,8078],"mapped",[7942,953]],[[8079,8079],"mapped",[7943,953]],[[8080,8080],"mapped",[7968,953]],[[8081,8081],"mapped",[7969,953]],[[8082,8082],"mapped",[7970,953]],[[8083,8083],"mapped",[7971,953]],[[8084,8084],"mapped",[7972,953]],[[8085,8085],"mapped",[7973,953]],[[8086,8086],"mapped",[7974,953]],[[8087,8087],"mapped",[7975,953]],[[8088,8088],"mapped",[7968,953]],[[8089,8089],"mapped",[7969,953]],[[8090,8090],"mapped",[7970,953]],[[8091,8091],"mapped",[7971,953]],[[8092,8092],"mapped",[7972,953]],[[8093,8093],"mapped",[7973,953]],[[8094,8094],"mapped",[7974,953]],[[8095,8095],"mapped",[7975,953]],[[8096,8096],"mapped",[8032,953]],[[8097,8097],"mapped",[8033,953]],[[8098,8098],"mapped",[8034,953]],[[8099,8099],"mapped",[8035,953]],[[8100,8100],"mapped",[8036,953]],[[8101,8101],"mapped",[8037,953]],[[8102,8102],"mapped",[8038,953]],[[8103,8103],"mapped",[8039,953]],[[8104,8104],"mapped",[8032,953]],[[8105,8105],"mapped",[8033,953]],[[8106,8106],"mapped",[8034,953]],[[8107,8107],"mapped",[8035,953]],[[8108,8108],"mapped",[8036,953]],[[8109,8109],"mapped",[8037,953]],[[8110,8110],"mapped",[8038,953]],[[8111,8111],"mapped",[8039,953]],[[8112,8113],"valid"],[[8114,8114],"mapped",[8048,953]],[[8115,8115],"mapped",[945,953]],[[8116,8116],"mapped",[940,953]],[[8117,8117],"disallowed"],[[8118,8118],"valid"],[[8119,8119],"mapped",[8118,953]],[[8120,8120],"mapped",[8112]],[[8121,8121],"mapped",[8113]],[[8122,8122],"mapped",[8048]],[[8123,8123],"mapped",[940]],[[8124,8124],"mapped",[945,953]],[[8125,8125],"disallowed_STD3_mapped",[32,787]],[[8126,8126],"mapped",[953]],[[8127,8127],"disallowed_STD3_mapped",[32,787]],[[8128,8128],"disallowed_STD3_mapped",[32,834]],[[8129,8129],"disallowed_STD3_mapped",[32,776,834]],[[8130,8130],"mapped",[8052,953]],[[8131,8131],"mapped",[951,953]],[[8132,8132],"mapped",[942,953]],[[8133,8133],"disallowed"],[[8134,8134],"valid"],[[8135,8135],"mapped",[8134,953]],[[8136,8136],"mapped",[8050]],[[8137,8137],"mapped",[941]],[[8138,8138],"mapped",[8052]],[[8139,8139],"mapped",[942]],[[8140,8140],"mapped",[951,953]],[[8141,8141],"disallowed_STD3_mapped",[32,787,768]],[[8142,8142],"disallowed_STD3_mapped",[32,787,769]],[[8143,8143],"disallowed_STD3_mapped",[32,787,834]],[[8144,8146],"valid"],[[8147,8147],"mapped",[912]],[[8148,8149],"disallowed"],[[8150,8151],"valid"],[[8152,8152],"mapped",[8144]],[[8153,8153],"mapped",[8145]],[[8154,8154],"mapped",[8054]],[[8155,8155],"mapped",[943]],[[8156,8156],"disallowed"],[[8157,8157],"disallowed_STD3_mapped",[32,788,768]],[[8158,8158],"disallowed_STD3_mapped",[32,788,769]],[[8159,8159],"disallowed_STD3_mapped",[32,788,834]],[[8160,8162],"valid"],[[8163,8163],"mapped",[944]],[[8164,8167],"valid"],[[8168,8168],"mapped",[8160]],[[8169,8169],"mapped",[8161]],[[8170,8170],"mapped",[8058]],[[8171,8171],"mapped",[973]],[[8172,8172],"mapped",[8165]],[[8173,8173],"disallowed_STD3_mapped",[32,776,768]],[[8174,8174],"disallowed_STD3_mapped",[32,776,769]],[[8175,8175],"disallowed_STD3_mapped",[96]],[[8176,8177],"disallowed"],[[8178,8178],"mapped",[8060,953]],[[8179,8179],"mapped",[969,953]],[[8180,8180],"mapped",[974,953]],[[8181,8181],"disallowed"],[[8182,8182],"valid"],[[8183,8183],"mapped",[8182,953]],[[8184,8184],"mapped",[8056]],[[8185,8185],"mapped",[972]],[[8186,8186],"mapped",[8060]],[[8187,8187],"mapped",[974]],[[8188,8188],"mapped",[969,953]],[[8189,8189],"disallowed_STD3_mapped",[32,769]],[[8190,8190],"disallowed_STD3_mapped",[32,788]],[[8191,8191],"disallowed"],[[8192,8202],"disallowed_STD3_mapped",[32]],[[8203,8203],"ignored"],[[8204,8205],"deviation",[]],[[8206,8207],"disallowed"],[[8208,8208],"valid",[],"NV8"],[[8209,8209],"mapped",[8208]],[[8210,8214],"valid",[],"NV8"],[[8215,8215],"disallowed_STD3_mapped",[32,819]],[[8216,8227],"valid",[],"NV8"],[[8228,8230],"disallowed"],[[8231,8231],"valid",[],"NV8"],[[8232,8238],"disallowed"],[[8239,8239],"disallowed_STD3_mapped",[32]],[[8240,8242],"valid",[],"NV8"],[[8243,8243],"mapped",[8242,8242]],[[8244,8244],"mapped",[8242,8242,8242]],[[8245,8245],"valid",[],"NV8"],[[8246,8246],"mapped",[8245,8245]],[[8247,8247],"mapped",[8245,8245,8245]],[[8248,8251],"valid",[],"NV8"],[[8252,8252],"disallowed_STD3_mapped",[33,33]],[[8253,8253],"valid",[],"NV8"],[[8254,8254],"disallowed_STD3_mapped",[32,773]],[[8255,8262],"valid",[],"NV8"],[[8263,8263],"disallowed_STD3_mapped",[63,63]],[[8264,8264],"disallowed_STD3_mapped",[63,33]],[[8265,8265],"disallowed_STD3_mapped",[33,63]],[[8266,8269],"valid",[],"NV8"],[[8270,8274],"valid",[],"NV8"],[[8275,8276],"valid",[],"NV8"],[[8277,8278],"valid",[],"NV8"],[[8279,8279],"mapped",[8242,8242,8242,8242]],[[8280,8286],"valid",[],"NV8"],[[8287,8287],"disallowed_STD3_mapped",[32]],[[8288,8288],"ignored"],[[8289,8291],"disallowed"],[[8292,8292],"ignored"],[[8293,8293],"disallowed"],[[8294,8297],"disallowed"],[[8298,8303],"disallowed"],[[8304,8304],"mapped",[48]],[[8305,8305],"mapped",[105]],[[8306,8307],"disallowed"],[[8308,8308],"mapped",[52]],[[8309,8309],"mapped",[53]],[[8310,8310],"mapped",[54]],[[8311,8311],"mapped",[55]],[[8312,8312],"mapped",[56]],[[8313,8313],"mapped",[57]],[[8314,8314],"disallowed_STD3_mapped",[43]],[[8315,8315],"mapped",[8722]],[[8316,8316],"disallowed_STD3_mapped",[61]],[[8317,8317],"disallowed_STD3_mapped",[40]],[[8318,8318],"disallowed_STD3_mapped",[41]],[[8319,8319],"mapped",[110]],[[8320,8320],"mapped",[48]],[[8321,8321],"mapped",[49]],[[8322,8322],"mapped",[50]],[[8323,8323],"mapped",[51]],[[8324,8324],"mapped",[52]],[[8325,8325],"mapped",[53]],[[8326,8326],"mapped",[54]],[[8327,8327],"mapped",[55]],[[8328,8328],"mapped",[56]],[[8329,8329],"mapped",[57]],[[8330,8330],"disallowed_STD3_mapped",[43]],[[8331,8331],"mapped",[8722]],[[8332,8332],"disallowed_STD3_mapped",[61]],[[8333,8333],"disallowed_STD3_mapped",[40]],[[8334,8334],"disallowed_STD3_mapped",[41]],[[8335,8335],"disallowed"],[[8336,8336],"mapped",[97]],[[8337,8337],"mapped",[101]],[[8338,8338],"mapped",[111]],[[8339,8339],"mapped",[120]],[[8340,8340],"mapped",[601]],[[8341,8341],"mapped",[104]],[[8342,8342],"mapped",[107]],[[8343,8343],"mapped",[108]],[[8344,8344],"mapped",[109]],[[8345,8345],"mapped",[110]],[[8346,8346],"mapped",[112]],[[8347,8347],"mapped",[115]],[[8348,8348],"mapped",[116]],[[8349,8351],"disallowed"],[[8352,8359],"valid",[],"NV8"],[[8360,8360],"mapped",[114,115]],[[8361,8362],"valid",[],"NV8"],[[8363,8363],"valid",[],"NV8"],[[8364,8364],"valid",[],"NV8"],[[8365,8367],"valid",[],"NV8"],[[8368,8369],"valid",[],"NV8"],[[8370,8373],"valid",[],"NV8"],[[8374,8376],"valid",[],"NV8"],[[8377,8377],"valid",[],"NV8"],[[8378,8378],"valid",[],"NV8"],[[8379,8381],"valid",[],"NV8"],[[8382,8382],"valid",[],"NV8"],[[8383,8399],"disallowed"],[[8400,8417],"valid",[],"NV8"],[[8418,8419],"valid",[],"NV8"],[[8420,8426],"valid",[],"NV8"],[[8427,8427],"valid",[],"NV8"],[[8428,8431],"valid",[],"NV8"],[[8432,8432],"valid",[],"NV8"],[[8433,8447],"disallowed"],[[8448,8448],"disallowed_STD3_mapped",[97,47,99]],[[8449,8449],"disallowed_STD3_mapped",[97,47,115]],[[8450,8450],"mapped",[99]],[[8451,8451],"mapped",[176,99]],[[8452,8452],"valid",[],"NV8"],[[8453,8453],"disallowed_STD3_mapped",[99,47,111]],[[8454,8454],"disallowed_STD3_mapped",[99,47,117]],[[8455,8455],"mapped",[603]],[[8456,8456],"valid",[],"NV8"],[[8457,8457],"mapped",[176,102]],[[8458,8458],"mapped",[103]],[[8459,8462],"mapped",[104]],[[8463,8463],"mapped",[295]],[[8464,8465],"mapped",[105]],[[8466,8467],"mapped",[108]],[[8468,8468],"valid",[],"NV8"],[[8469,8469],"mapped",[110]],[[8470,8470],"mapped",[110,111]],[[8471,8472],"valid",[],"NV8"],[[8473,8473],"mapped",[112]],[[8474,8474],"mapped",[113]],[[8475,8477],"mapped",[114]],[[8478,8479],"valid",[],"NV8"],[[8480,8480],"mapped",[115,109]],[[8481,8481],"mapped",[116,101,108]],[[8482,8482],"mapped",[116,109]],[[8483,8483],"valid",[],"NV8"],[[8484,8484],"mapped",[122]],[[8485,8485],"valid",[],"NV8"],[[8486,8486],"mapped",[969]],[[8487,8487],"valid",[],"NV8"],[[8488,8488],"mapped",[122]],[[8489,8489],"valid",[],"NV8"],[[8490,8490],"mapped",[107]],[[8491,8491],"mapped",[229]],[[8492,8492],"mapped",[98]],[[8493,8493],"mapped",[99]],[[8494,8494],"valid",[],"NV8"],[[8495,8496],"mapped",[101]],[[8497,8497],"mapped",[102]],[[8498,8498],"disallowed"],[[8499,8499],"mapped",[109]],[[8500,8500],"mapped",[111]],[[8501,8501],"mapped",[1488]],[[8502,8502],"mapped",[1489]],[[8503,8503],"mapped",[1490]],[[8504,8504],"mapped",[1491]],[[8505,8505],"mapped",[105]],[[8506,8506],"valid",[],"NV8"],[[8507,8507],"mapped",[102,97,120]],[[8508,8508],"mapped",[960]],[[8509,8510],"mapped",[947]],[[8511,8511],"mapped",[960]],[[8512,8512],"mapped",[8721]],[[8513,8516],"valid",[],"NV8"],[[8517,8518],"mapped",[100]],[[8519,8519],"mapped",[101]],[[8520,8520],"mapped",[105]],[[8521,8521],"mapped",[106]],[[8522,8523],"valid",[],"NV8"],[[8524,8524],"valid",[],"NV8"],[[8525,8525],"valid",[],"NV8"],[[8526,8526],"valid"],[[8527,8527],"valid",[],"NV8"],[[8528,8528],"mapped",[49,8260,55]],[[8529,8529],"mapped",[49,8260,57]],[[8530,8530],"mapped",[49,8260,49,48]],[[8531,8531],"mapped",[49,8260,51]],[[8532,8532],"mapped",[50,8260,51]],[[8533,8533],"mapped",[49,8260,53]],[[8534,8534],"mapped",[50,8260,53]],[[8535,8535],"mapped",[51,8260,53]],[[8536,8536],"mapped",[52,8260,53]],[[8537,8537],"mapped",[49,8260,54]],[[8538,8538],"mapped",[53,8260,54]],[[8539,8539],"mapped",[49,8260,56]],[[8540,8540],"mapped",[51,8260,56]],[[8541,8541],"mapped",[53,8260,56]],[[8542,8542],"mapped",[55,8260,56]],[[8543,8543],"mapped",[49,8260]],[[8544,8544],"mapped",[105]],[[8545,8545],"mapped",[105,105]],[[8546,8546],"mapped",[105,105,105]],[[8547,8547],"mapped",[105,118]],[[8548,8548],"mapped",[118]],[[8549,8549],"mapped",[118,105]],[[8550,8550],"mapped",[118,105,105]],[[8551,8551],"mapped",[118,105,105,105]],[[8552,8552],"mapped",[105,120]],[[8553,8553],"mapped",[120]],[[8554,8554],"mapped",[120,105]],[[8555,8555],"mapped",[120,105,105]],[[8556,8556],"mapped",[108]],[[8557,8557],"mapped",[99]],[[8558,8558],"mapped",[100]],[[8559,8559],"mapped",[109]],[[8560,8560],"mapped",[105]],[[8561,8561],"mapped",[105,105]],[[8562,8562],"mapped",[105,105,105]],[[8563,8563],"mapped",[105,118]],[[8564,8564],"mapped",[118]],[[8565,8565],"mapped",[118,105]],[[8566,8566],"mapped",[118,105,105]],[[8567,8567],"mapped",[118,105,105,105]],[[8568,8568],"mapped",[105,120]],[[8569,8569],"mapped",[120]],[[8570,8570],"mapped",[120,105]],[[8571,8571],"mapped",[120,105,105]],[[8572,8572],"mapped",[108]],[[8573,8573],"mapped",[99]],[[8574,8574],"mapped",[100]],[[8575,8575],"mapped",[109]],[[8576,8578],"valid",[],"NV8"],[[8579,8579],"disallowed"],[[8580,8580],"valid"],[[8581,8584],"valid",[],"NV8"],[[8585,8585],"mapped",[48,8260,51]],[[8586,8587],"valid",[],"NV8"],[[8588,8591],"disallowed"],[[8592,8682],"valid",[],"NV8"],[[8683,8691],"valid",[],"NV8"],[[8692,8703],"valid",[],"NV8"],[[8704,8747],"valid",[],"NV8"],[[8748,8748],"mapped",[8747,8747]],[[8749,8749],"mapped",[8747,8747,8747]],[[8750,8750],"valid",[],"NV8"],[[8751,8751],"mapped",[8750,8750]],[[8752,8752],"mapped",[8750,8750,8750]],[[8753,8799],"valid",[],"NV8"],[[8800,8800],"disallowed_STD3_valid"],[[8801,8813],"valid",[],"NV8"],[[8814,8815],"disallowed_STD3_valid"],[[8816,8945],"valid",[],"NV8"],[[8946,8959],"valid",[],"NV8"],[[8960,8960],"valid",[],"NV8"],[[8961,8961],"valid",[],"NV8"],[[8962,9000],"valid",[],"NV8"],[[9001,9001],"mapped",[12296]],[[9002,9002],"mapped",[12297]],[[9003,9082],"valid",[],"NV8"],[[9083,9083],"valid",[],"NV8"],[[9084,9084],"valid",[],"NV8"],[[9085,9114],"valid",[],"NV8"],[[9115,9166],"valid",[],"NV8"],[[9167,9168],"valid",[],"NV8"],[[9169,9179],"valid",[],"NV8"],[[9180,9191],"valid",[],"NV8"],[[9192,9192],"valid",[],"NV8"],[[9193,9203],"valid",[],"NV8"],[[9204,9210],"valid",[],"NV8"],[[9211,9215],"disallowed"],[[9216,9252],"valid",[],"NV8"],[[9253,9254],"valid",[],"NV8"],[[9255,9279],"disallowed"],[[9280,9290],"valid",[],"NV8"],[[9291,9311],"disallowed"],[[9312,9312],"mapped",[49]],[[9313,9313],"mapped",[50]],[[9314,9314],"mapped",[51]],[[9315,9315],"mapped",[52]],[[9316,9316],"mapped",[53]],[[9317,9317],"mapped",[54]],[[9318,9318],"mapped",[55]],[[9319,9319],"mapped",[56]],[[9320,9320],"mapped",[57]],[[9321,9321],"mapped",[49,48]],[[9322,9322],"mapped",[49,49]],[[9323,9323],"mapped",[49,50]],[[9324,9324],"mapped",[49,51]],[[9325,9325],"mapped",[49,52]],[[9326,9326],"mapped",[49,53]],[[9327,9327],"mapped",[49,54]],[[9328,9328],"mapped",[49,55]],[[9329,9329],"mapped",[49,56]],[[9330,9330],"mapped",[49,57]],[[9331,9331],"mapped",[50,48]],[[9332,9332],"disallowed_STD3_mapped",[40,49,41]],[[9333,9333],"disallowed_STD3_mapped",[40,50,41]],[[9334,9334],"disallowed_STD3_mapped",[40,51,41]],[[9335,9335],"disallowed_STD3_mapped",[40,52,41]],[[9336,9336],"disallowed_STD3_mapped",[40,53,41]],[[9337,9337],"disallowed_STD3_mapped",[40,54,41]],[[9338,9338],"disallowed_STD3_mapped",[40,55,41]],[[9339,9339],"disallowed_STD3_mapped",[40,56,41]],[[9340,9340],"disallowed_STD3_mapped",[40,57,41]],[[9341,9341],"disallowed_STD3_mapped",[40,49,48,41]],[[9342,9342],"disallowed_STD3_mapped",[40,49,49,41]],[[9343,9343],"disallowed_STD3_mapped",[40,49,50,41]],[[9344,9344],"disallowed_STD3_mapped",[40,49,51,41]],[[9345,9345],"disallowed_STD3_mapped",[40,49,52,41]],[[9346,9346],"disallowed_STD3_mapped",[40,49,53,41]],[[9347,9347],"disallowed_STD3_mapped",[40,49,54,41]],[[9348,9348],"disallowed_STD3_mapped",[40,49,55,41]],[[9349,9349],"disallowed_STD3_mapped",[40,49,56,41]],[[9350,9350],"disallowed_STD3_mapped",[40,49,57,41]],[[9351,9351],"disallowed_STD3_mapped",[40,50,48,41]],[[9352,9371],"disallowed"],[[9372,9372],"disallowed_STD3_mapped",[40,97,41]],[[9373,9373],"disallowed_STD3_mapped",[40,98,41]],[[9374,9374],"disallowed_STD3_mapped",[40,99,41]],[[9375,9375],"disallowed_STD3_mapped",[40,100,41]],[[9376,9376],"disallowed_STD3_mapped",[40,101,41]],[[9377,9377],"disallowed_STD3_mapped",[40,102,41]],[[9378,9378],"disallowed_STD3_mapped",[40,103,41]],[[9379,9379],"disallowed_STD3_mapped",[40,104,41]],[[9380,9380],"disallowed_STD3_mapped",[40,105,41]],[[9381,9381],"disallowed_STD3_mapped",[40,106,41]],[[9382,9382],"disallowed_STD3_mapped",[40,107,41]],[[9383,9383],"disallowed_STD3_mapped",[40,108,41]],[[9384,9384],"disallowed_STD3_mapped",[40,109,41]],[[9385,9385],"disallowed_STD3_mapped",[40,110,41]],[[9386,9386],"disallowed_STD3_mapped",[40,111,41]],[[9387,9387],"disallowed_STD3_mapped",[40,112,41]],[[9388,9388],"disallowed_STD3_mapped",[40,113,41]],[[9389,9389],"disallowed_STD3_mapped",[40,114,41]],[[9390,9390],"disallowed_STD3_mapped",[40,115,41]],[[9391,9391],"disallowed_STD3_mapped",[40,116,41]],[[9392,9392],"disallowed_STD3_mapped",[40,117,41]],[[9393,9393],"disallowed_STD3_mapped",[40,118,41]],[[9394,9394],"disallowed_STD3_mapped",[40,119,41]],[[9395,9395],"disallowed_STD3_mapped",[40,120,41]],[[9396,9396],"disallowed_STD3_mapped",[40,121,41]],[[9397,9397],"disallowed_STD3_mapped",[40,122,41]],[[9398,9398],"mapped",[97]],[[9399,9399],"mapped",[98]],[[9400,9400],"mapped",[99]],[[9401,9401],"mapped",[100]],[[9402,9402],"mapped",[101]],[[9403,9403],"mapped",[102]],[[9404,9404],"mapped",[103]],[[9405,9405],"mapped",[104]],[[9406,9406],"mapped",[105]],[[9407,9407],"mapped",[106]],[[9408,9408],"mapped",[107]],[[9409,9409],"mapped",[108]],[[9410,9410],"mapped",[109]],[[9411,9411],"mapped",[110]],[[9412,9412],"mapped",[111]],[[9413,9413],"mapped",[112]],[[9414,9414],"mapped",[113]],[[9415,9415],"mapped",[114]],[[9416,9416],"mapped",[115]],[[9417,9417],"mapped",[116]],[[9418,9418],"mapped",[117]],[[9419,9419],"mapped",[118]],[[9420,9420],"mapped",[119]],[[9421,9421],"mapped",[120]],[[9422,9422],"mapped",[121]],[[9423,9423],"mapped",[122]],[[9424,9424],"mapped",[97]],[[9425,9425],"mapped",[98]],[[9426,9426],"mapped",[99]],[[9427,9427],"mapped",[100]],[[9428,9428],"mapped",[101]],[[9429,9429],"mapped",[102]],[[9430,9430],"mapped",[103]],[[9431,9431],"mapped",[104]],[[9432,9432],"mapped",[105]],[[9433,9433],"mapped",[106]],[[9434,9434],"mapped",[107]],[[9435,9435],"mapped",[108]],[[9436,9436],"mapped",[109]],[[9437,9437],"mapped",[110]],[[9438,9438],"mapped",[111]],[[9439,9439],"mapped",[112]],[[9440,9440],"mapped",[113]],[[9441,9441],"mapped",[114]],[[9442,9442],"mapped",[115]],[[9443,9443],"mapped",[116]],[[9444,9444],"mapped",[117]],[[9445,9445],"mapped",[118]],[[9446,9446],"mapped",[119]],[[9447,9447],"mapped",[120]],[[9448,9448],"mapped",[121]],[[9449,9449],"mapped",[122]],[[9450,9450],"mapped",[48]],[[9451,9470],"valid",[],"NV8"],[[9471,9471],"valid",[],"NV8"],[[9472,9621],"valid",[],"NV8"],[[9622,9631],"valid",[],"NV8"],[[9632,9711],"valid",[],"NV8"],[[9712,9719],"valid",[],"NV8"],[[9720,9727],"valid",[],"NV8"],[[9728,9747],"valid",[],"NV8"],[[9748,9749],"valid",[],"NV8"],[[9750,9751],"valid",[],"NV8"],[[9752,9752],"valid",[],"NV8"],[[9753,9753],"valid",[],"NV8"],[[9754,9839],"valid",[],"NV8"],[[9840,9841],"valid",[],"NV8"],[[9842,9853],"valid",[],"NV8"],[[9854,9855],"valid",[],"NV8"],[[9856,9865],"valid",[],"NV8"],[[9866,9873],"valid",[],"NV8"],[[9874,9884],"valid",[],"NV8"],[[9885,9885],"valid",[],"NV8"],[[9886,9887],"valid",[],"NV8"],[[9888,9889],"valid",[],"NV8"],[[9890,9905],"valid",[],"NV8"],[[9906,9906],"valid",[],"NV8"],[[9907,9916],"valid",[],"NV8"],[[9917,9919],"valid",[],"NV8"],[[9920,9923],"valid",[],"NV8"],[[9924,9933],"valid",[],"NV8"],[[9934,9934],"valid",[],"NV8"],[[9935,9953],"valid",[],"NV8"],[[9954,9954],"valid",[],"NV8"],[[9955,9955],"valid",[],"NV8"],[[9956,9959],"valid",[],"NV8"],[[9960,9983],"valid",[],"NV8"],[[9984,9984],"valid",[],"NV8"],[[9985,9988],"valid",[],"NV8"],[[9989,9989],"valid",[],"NV8"],[[9990,9993],"valid",[],"NV8"],[[9994,9995],"valid",[],"NV8"],[[9996,10023],"valid",[],"NV8"],[[10024,10024],"valid",[],"NV8"],[[10025,10059],"valid",[],"NV8"],[[10060,10060],"valid",[],"NV8"],[[10061,10061],"valid",[],"NV8"],[[10062,10062],"valid",[],"NV8"],[[10063,10066],"valid",[],"NV8"],[[10067,10069],"valid",[],"NV8"],[[10070,10070],"valid",[],"NV8"],[[10071,10071],"valid",[],"NV8"],[[10072,10078],"valid",[],"NV8"],[[10079,10080],"valid",[],"NV8"],[[10081,10087],"valid",[],"NV8"],[[10088,10101],"valid",[],"NV8"],[[10102,10132],"valid",[],"NV8"],[[10133,10135],"valid",[],"NV8"],[[10136,10159],"valid",[],"NV8"],[[10160,10160],"valid",[],"NV8"],[[10161,10174],"valid",[],"NV8"],[[10175,10175],"valid",[],"NV8"],[[10176,10182],"valid",[],"NV8"],[[10183,10186],"valid",[],"NV8"],[[10187,10187],"valid",[],"NV8"],[[10188,10188],"valid",[],"NV8"],[[10189,10189],"valid",[],"NV8"],[[10190,10191],"valid",[],"NV8"],[[10192,10219],"valid",[],"NV8"],[[10220,10223],"valid",[],"NV8"],[[10224,10239],"valid",[],"NV8"],[[10240,10495],"valid",[],"NV8"],[[10496,10763],"valid",[],"NV8"],[[10764,10764],"mapped",[8747,8747,8747,8747]],[[10765,10867],"valid",[],"NV8"],[[10868,10868],"disallowed_STD3_mapped",[58,58,61]],[[10869,10869],"disallowed_STD3_mapped",[61,61]],[[10870,10870],"disallowed_STD3_mapped",[61,61,61]],[[10871,10971],"valid",[],"NV8"],[[10972,10972],"mapped",[10973,824]],[[10973,11007],"valid",[],"NV8"],[[11008,11021],"valid",[],"NV8"],[[11022,11027],"valid",[],"NV8"],[[11028,11034],"valid",[],"NV8"],[[11035,11039],"valid",[],"NV8"],[[11040,11043],"valid",[],"NV8"],[[11044,11084],"valid",[],"NV8"],[[11085,11087],"valid",[],"NV8"],[[11088,11092],"valid",[],"NV8"],[[11093,11097],"valid",[],"NV8"],[[11098,11123],"valid",[],"NV8"],[[11124,11125],"disallowed"],[[11126,11157],"valid",[],"NV8"],[[11158,11159],"disallowed"],[[11160,11193],"valid",[],"NV8"],[[11194,11196],"disallowed"],[[11197,11208],"valid",[],"NV8"],[[11209,11209],"disallowed"],[[11210,11217],"valid",[],"NV8"],[[11218,11243],"disallowed"],[[11244,11247],"valid",[],"NV8"],[[11248,11263],"disallowed"],[[11264,11264],"mapped",[11312]],[[11265,11265],"mapped",[11313]],[[11266,11266],"mapped",[11314]],[[11267,11267],"mapped",[11315]],[[11268,11268],"mapped",[11316]],[[11269,11269],"mapped",[11317]],[[11270,11270],"mapped",[11318]],[[11271,11271],"mapped",[11319]],[[11272,11272],"mapped",[11320]],[[11273,11273],"mapped",[11321]],[[11274,11274],"mapped",[11322]],[[11275,11275],"mapped",[11323]],[[11276,11276],"mapped",[11324]],[[11277,11277],"mapped",[11325]],[[11278,11278],"mapped",[11326]],[[11279,11279],"mapped",[11327]],[[11280,11280],"mapped",[11328]],[[11281,11281],"mapped",[11329]],[[11282,11282],"mapped",[11330]],[[11283,11283],"mapped",[11331]],[[11284,11284],"mapped",[11332]],[[11285,11285],"mapped",[11333]],[[11286,11286],"mapped",[11334]],[[11287,11287],"mapped",[11335]],[[11288,11288],"mapped",[11336]],[[11289,11289],"mapped",[11337]],[[11290,11290],"mapped",[11338]],[[11291,11291],"mapped",[11339]],[[11292,11292],"mapped",[11340]],[[11293,11293],"mapped",[11341]],[[11294,11294],"mapped",[11342]],[[11295,11295],"mapped",[11343]],[[11296,11296],"mapped",[11344]],[[11297,11297],"mapped",[11345]],[[11298,11298],"mapped",[11346]],[[11299,11299],"mapped",[11347]],[[11300,11300],"mapped",[11348]],[[11301,11301],"mapped",[11349]],[[11302,11302],"mapped",[11350]],[[11303,11303],"mapped",[11351]],[[11304,11304],"mapped",[11352]],[[11305,11305],"mapped",[11353]],[[11306,11306],"mapped",[11354]],[[11307,11307],"mapped",[11355]],[[11308,11308],"mapped",[11356]],[[11309,11309],"mapped",[11357]],[[11310,11310],"mapped",[11358]],[[11311,11311],"disallowed"],[[11312,11358],"valid"],[[11359,11359],"disallowed"],[[11360,11360],"mapped",[11361]],[[11361,11361],"valid"],[[11362,11362],"mapped",[619]],[[11363,11363],"mapped",[7549]],[[11364,11364],"mapped",[637]],[[11365,11366],"valid"],[[11367,11367],"mapped",[11368]],[[11368,11368],"valid"],[[11369,11369],"mapped",[11370]],[[11370,11370],"valid"],[[11371,11371],"mapped",[11372]],[[11372,11372],"valid"],[[11373,11373],"mapped",[593]],[[11374,11374],"mapped",[625]],[[11375,11375],"mapped",[592]],[[11376,11376],"mapped",[594]],[[11377,11377],"valid"],[[11378,11378],"mapped",[11379]],[[11379,11379],"valid"],[[11380,11380],"valid"],[[11381,11381],"mapped",[11382]],[[11382,11383],"valid"],[[11384,11387],"valid"],[[11388,11388],"mapped",[106]],[[11389,11389],"mapped",[118]],[[11390,11390],"mapped",[575]],[[11391,11391],"mapped",[576]],[[11392,11392],"mapped",[11393]],[[11393,11393],"valid"],[[11394,11394],"mapped",[11395]],[[11395,11395],"valid"],[[11396,11396],"mapped",[11397]],[[11397,11397],"valid"],[[11398,11398],"mapped",[11399]],[[11399,11399],"valid"],[[11400,11400],"mapped",[11401]],[[11401,11401],"valid"],[[11402,11402],"mapped",[11403]],[[11403,11403],"valid"],[[11404,11404],"mapped",[11405]],[[11405,11405],"valid"],[[11406,11406],"mapped",[11407]],[[11407,11407],"valid"],[[11408,11408],"mapped",[11409]],[[11409,11409],"valid"],[[11410,11410],"mapped",[11411]],[[11411,11411],"valid"],[[11412,11412],"mapped",[11413]],[[11413,11413],"valid"],[[11414,11414],"mapped",[11415]],[[11415,11415],"valid"],[[11416,11416],"mapped",[11417]],[[11417,11417],"valid"],[[11418,11418],"mapped",[11419]],[[11419,11419],"valid"],[[11420,11420],"mapped",[11421]],[[11421,11421],"valid"],[[11422,11422],"mapped",[11423]],[[11423,11423],"valid"],[[11424,11424],"mapped",[11425]],[[11425,11425],"valid"],[[11426,11426],"mapped",[11427]],[[11427,11427],"valid"],[[11428,11428],"mapped",[11429]],[[11429,11429],"valid"],[[11430,11430],"mapped",[11431]],[[11431,11431],"valid"],[[11432,11432],"mapped",[11433]],[[11433,11433],"valid"],[[11434,11434],"mapped",[11435]],[[11435,11435],"valid"],[[11436,11436],"mapped",[11437]],[[11437,11437],"valid"],[[11438,11438],"mapped",[11439]],[[11439,11439],"valid"],[[11440,11440],"mapped",[11441]],[[11441,11441],"valid"],[[11442,11442],"mapped",[11443]],[[11443,11443],"valid"],[[11444,11444],"mapped",[11445]],[[11445,11445],"valid"],[[11446,11446],"mapped",[11447]],[[11447,11447],"valid"],[[11448,11448],"mapped",[11449]],[[11449,11449],"valid"],[[11450,11450],"mapped",[11451]],[[11451,11451],"valid"],[[11452,11452],"mapped",[11453]],[[11453,11453],"valid"],[[11454,11454],"mapped",[11455]],[[11455,11455],"valid"],[[11456,11456],"mapped",[11457]],[[11457,11457],"valid"],[[11458,11458],"mapped",[11459]],[[11459,11459],"valid"],[[11460,11460],"mapped",[11461]],[[11461,11461],"valid"],[[11462,11462],"mapped",[11463]],[[11463,11463],"valid"],[[11464,11464],"mapped",[11465]],[[11465,11465],"valid"],[[11466,11466],"mapped",[11467]],[[11467,11467],"valid"],[[11468,11468],"mapped",[11469]],[[11469,11469],"valid"],[[11470,11470],"mapped",[11471]],[[11471,11471],"valid"],[[11472,11472],"mapped",[11473]],[[11473,11473],"valid"],[[11474,11474],"mapped",[11475]],[[11475,11475],"valid"],[[11476,11476],"mapped",[11477]],[[11477,11477],"valid"],[[11478,11478],"mapped",[11479]],[[11479,11479],"valid"],[[11480,11480],"mapped",[11481]],[[11481,11481],"valid"],[[11482,11482],"mapped",[11483]],[[11483,11483],"valid"],[[11484,11484],"mapped",[11485]],[[11485,11485],"valid"],[[11486,11486],"mapped",[11487]],[[11487,11487],"valid"],[[11488,11488],"mapped",[11489]],[[11489,11489],"valid"],[[11490,11490],"mapped",[11491]],[[11491,11492],"valid"],[[11493,11498],"valid",[],"NV8"],[[11499,11499],"mapped",[11500]],[[11500,11500],"valid"],[[11501,11501],"mapped",[11502]],[[11502,11505],"valid"],[[11506,11506],"mapped",[11507]],[[11507,11507],"valid"],[[11508,11512],"disallowed"],[[11513,11519],"valid",[],"NV8"],[[11520,11557],"valid"],[[11558,11558],"disallowed"],[[11559,11559],"valid"],[[11560,11564],"disallowed"],[[11565,11565],"valid"],[[11566,11567],"disallowed"],[[11568,11621],"valid"],[[11622,11623],"valid"],[[11624,11630],"disallowed"],[[11631,11631],"mapped",[11617]],[[11632,11632],"valid",[],"NV8"],[[11633,11646],"disallowed"],[[11647,11647],"valid"],[[11648,11670],"valid"],[[11671,11679],"disallowed"],[[11680,11686],"valid"],[[11687,11687],"disallowed"],[[11688,11694],"valid"],[[11695,11695],"disallowed"],[[11696,11702],"valid"],[[11703,11703],"disallowed"],[[11704,11710],"valid"],[[11711,11711],"disallowed"],[[11712,11718],"valid"],[[11719,11719],"disallowed"],[[11720,11726],"valid"],[[11727,11727],"disallowed"],[[11728,11734],"valid"],[[11735,11735],"disallowed"],[[11736,11742],"valid"],[[11743,11743],"disallowed"],[[11744,11775],"valid"],[[11776,11799],"valid",[],"NV8"],[[11800,11803],"valid",[],"NV8"],[[11804,11805],"valid",[],"NV8"],[[11806,11822],"valid",[],"NV8"],[[11823,11823],"valid"],[[11824,11824],"valid",[],"NV8"],[[11825,11825],"valid",[],"NV8"],[[11826,11835],"valid",[],"NV8"],[[11836,11842],"valid",[],"NV8"],[[11843,11903],"disallowed"],[[11904,11929],"valid",[],"NV8"],[[11930,11930],"disallowed"],[[11931,11934],"valid",[],"NV8"],[[11935,11935],"mapped",[27597]],[[11936,12018],"valid",[],"NV8"],[[12019,12019],"mapped",[40863]],[[12020,12031],"disallowed"],[[12032,12032],"mapped",[19968]],[[12033,12033],"mapped",[20008]],[[12034,12034],"mapped",[20022]],[[12035,12035],"mapped",[20031]],[[12036,12036],"mapped",[20057]],[[12037,12037],"mapped",[20101]],[[12038,12038],"mapped",[20108]],[[12039,12039],"mapped",[20128]],[[12040,12040],"mapped",[20154]],[[12041,12041],"mapped",[20799]],[[12042,12042],"mapped",[20837]],[[12043,12043],"mapped",[20843]],[[12044,12044],"mapped",[20866]],[[12045,12045],"mapped",[20886]],[[12046,12046],"mapped",[20907]],[[12047,12047],"mapped",[20960]],[[12048,12048],"mapped",[20981]],[[12049,12049],"mapped",[20992]],[[12050,12050],"mapped",[21147]],[[12051,12051],"mapped",[21241]],[[12052,12052],"mapped",[21269]],[[12053,12053],"mapped",[21274]],[[12054,12054],"mapped",[21304]],[[12055,12055],"mapped",[21313]],[[12056,12056],"mapped",[21340]],[[12057,12057],"mapped",[21353]],[[12058,12058],"mapped",[21378]],[[12059,12059],"mapped",[21430]],[[12060,12060],"mapped",[21448]],[[12061,12061],"mapped",[21475]],[[12062,12062],"mapped",[22231]],[[12063,12063],"mapped",[22303]],[[12064,12064],"mapped",[22763]],[[12065,12065],"mapped",[22786]],[[12066,12066],"mapped",[22794]],[[12067,12067],"mapped",[22805]],[[12068,12068],"mapped",[22823]],[[12069,12069],"mapped",[22899]],[[12070,12070],"mapped",[23376]],[[12071,12071],"mapped",[23424]],[[12072,12072],"mapped",[23544]],[[12073,12073],"mapped",[23567]],[[12074,12074],"mapped",[23586]],[[12075,12075],"mapped",[23608]],[[12076,12076],"mapped",[23662]],[[12077,12077],"mapped",[23665]],[[12078,12078],"mapped",[24027]],[[12079,12079],"mapped",[24037]],[[12080,12080],"mapped",[24049]],[[12081,12081],"mapped",[24062]],[[12082,12082],"mapped",[24178]],[[12083,12083],"mapped",[24186]],[[12084,12084],"mapped",[24191]],[[12085,12085],"mapped",[24308]],[[12086,12086],"mapped",[24318]],[[12087,12087],"mapped",[24331]],[[12088,12088],"mapped",[24339]],[[12089,12089],"mapped",[24400]],[[12090,12090],"mapped",[24417]],[[12091,12091],"mapped",[24435]],[[12092,12092],"mapped",[24515]],[[12093,12093],"mapped",[25096]],[[12094,12094],"mapped",[25142]],[[12095,12095],"mapped",[25163]],[[12096,12096],"mapped",[25903]],[[12097,12097],"mapped",[25908]],[[12098,12098],"mapped",[25991]],[[12099,12099],"mapped",[26007]],[[12100,12100],"mapped",[26020]],[[12101,12101],"mapped",[26041]],[[12102,12102],"mapped",[26080]],[[12103,12103],"mapped",[26085]],[[12104,12104],"mapped",[26352]],[[12105,12105],"mapped",[26376]],[[12106,12106],"mapped",[26408]],[[12107,12107],"mapped",[27424]],[[12108,12108],"mapped",[27490]],[[12109,12109],"mapped",[27513]],[[12110,12110],"mapped",[27571]],[[12111,12111],"mapped",[27595]],[[12112,12112],"mapped",[27604]],[[12113,12113],"mapped",[27611]],[[12114,12114],"mapped",[27663]],[[12115,12115],"mapped",[27668]],[[12116,12116],"mapped",[27700]],[[12117,12117],"mapped",[28779]],[[12118,12118],"mapped",[29226]],[[12119,12119],"mapped",[29238]],[[12120,12120],"mapped",[29243]],[[12121,12121],"mapped",[29247]],[[12122,12122],"mapped",[29255]],[[12123,12123],"mapped",[29273]],[[12124,12124],"mapped",[29275]],[[12125,12125],"mapped",[29356]],[[12126,12126],"mapped",[29572]],[[12127,12127],"mapped",[29577]],[[12128,12128],"mapped",[29916]],[[12129,12129],"mapped",[29926]],[[12130,12130],"mapped",[29976]],[[12131,12131],"mapped",[29983]],[[12132,12132],"mapped",[29992]],[[12133,12133],"mapped",[30000]],[[12134,12134],"mapped",[30091]],[[12135,12135],"mapped",[30098]],[[12136,12136],"mapped",[30326]],[[12137,12137],"mapped",[30333]],[[12138,12138],"mapped",[30382]],[[12139,12139],"mapped",[30399]],[[12140,12140],"mapped",[30446]],[[12141,12141],"mapped",[30683]],[[12142,12142],"mapped",[30690]],[[12143,12143],"mapped",[30707]],[[12144,12144],"mapped",[31034]],[[12145,12145],"mapped",[31160]],[[12146,12146],"mapped",[31166]],[[12147,12147],"mapped",[31348]],[[12148,12148],"mapped",[31435]],[[12149,12149],"mapped",[31481]],[[12150,12150],"mapped",[31859]],[[12151,12151],"mapped",[31992]],[[12152,12152],"mapped",[32566]],[[12153,12153],"mapped",[32593]],[[12154,12154],"mapped",[32650]],[[12155,12155],"mapped",[32701]],[[12156,12156],"mapped",[32769]],[[12157,12157],"mapped",[32780]],[[12158,12158],"mapped",[32786]],[[12159,12159],"mapped",[32819]],[[12160,12160],"mapped",[32895]],[[12161,12161],"mapped",[32905]],[[12162,12162],"mapped",[33251]],[[12163,12163],"mapped",[33258]],[[12164,12164],"mapped",[33267]],[[12165,12165],"mapped",[33276]],[[12166,12166],"mapped",[33292]],[[12167,12167],"mapped",[33307]],[[12168,12168],"mapped",[33311]],[[12169,12169],"mapped",[33390]],[[12170,12170],"mapped",[33394]],[[12171,12171],"mapped",[33400]],[[12172,12172],"mapped",[34381]],[[12173,12173],"mapped",[34411]],[[12174,12174],"mapped",[34880]],[[12175,12175],"mapped",[34892]],[[12176,12176],"mapped",[34915]],[[12177,12177],"mapped",[35198]],[[12178,12178],"mapped",[35211]],[[12179,12179],"mapped",[35282]],[[12180,12180],"mapped",[35328]],[[12181,12181],"mapped",[35895]],[[12182,12182],"mapped",[35910]],[[12183,12183],"mapped",[35925]],[[12184,12184],"mapped",[35960]],[[12185,12185],"mapped",[35997]],[[12186,12186],"mapped",[36196]],[[12187,12187],"mapped",[36208]],[[12188,12188],"mapped",[36275]],[[12189,12189],"mapped",[36523]],[[12190,12190],"mapped",[36554]],[[12191,12191],"mapped",[36763]],[[12192,12192],"mapped",[36784]],[[12193,12193],"mapped",[36789]],[[12194,12194],"mapped",[37009]],[[12195,12195],"mapped",[37193]],[[12196,12196],"mapped",[37318]],[[12197,12197],"mapped",[37324]],[[12198,12198],"mapped",[37329]],[[12199,12199],"mapped",[38263]],[[12200,12200],"mapped",[38272]],[[12201,12201],"mapped",[38428]],[[12202,12202],"mapped",[38582]],[[12203,12203],"mapped",[38585]],[[12204,12204],"mapped",[38632]],[[12205,12205],"mapped",[38737]],[[12206,12206],"mapped",[38750]],[[12207,12207],"mapped",[38754]],[[12208,12208],"mapped",[38761]],[[12209,12209],"mapped",[38859]],[[12210,12210],"mapped",[38893]],[[12211,12211],"mapped",[38899]],[[12212,12212],"mapped",[38913]],[[12213,12213],"mapped",[39080]],[[12214,12214],"mapped",[39131]],[[12215,12215],"mapped",[39135]],[[12216,12216],"mapped",[39318]],[[12217,12217],"mapped",[39321]],[[12218,12218],"mapped",[39340]],[[12219,12219],"mapped",[39592]],[[12220,12220],"mapped",[39640]],[[12221,12221],"mapped",[39647]],[[12222,12222],"mapped",[39717]],[[12223,12223],"mapped",[39727]],[[12224,12224],"mapped",[39730]],[[12225,12225],"mapped",[39740]],[[12226,12226],"mapped",[39770]],[[12227,12227],"mapped",[40165]],[[12228,12228],"mapped",[40565]],[[12229,12229],"mapped",[40575]],[[12230,12230],"mapped",[40613]],[[12231,12231],"mapped",[40635]],[[12232,12232],"mapped",[40643]],[[12233,12233],"mapped",[40653]],[[12234,12234],"mapped",[40657]],[[12235,12235],"mapped",[40697]],[[12236,12236],"mapped",[40701]],[[12237,12237],"mapped",[40718]],[[12238,12238],"mapped",[40723]],[[12239,12239],"mapped",[40736]],[[12240,12240],"mapped",[40763]],[[12241,12241],"mapped",[40778]],[[12242,12242],"mapped",[40786]],[[12243,12243],"mapped",[40845]],[[12244,12244],"mapped",[40860]],[[12245,12245],"mapped",[40864]],[[12246,12271],"disallowed"],[[12272,12283],"disallowed"],[[12284,12287],"disallowed"],[[12288,12288],"disallowed_STD3_mapped",[32]],[[12289,12289],"valid",[],"NV8"],[[12290,12290],"mapped",[46]],[[12291,12292],"valid",[],"NV8"],[[12293,12295],"valid"],[[12296,12329],"valid",[],"NV8"],[[12330,12333],"valid"],[[12334,12341],"valid",[],"NV8"],[[12342,12342],"mapped",[12306]],[[12343,12343],"valid",[],"NV8"],[[12344,12344],"mapped",[21313]],[[12345,12345],"mapped",[21316]],[[12346,12346],"mapped",[21317]],[[12347,12347],"valid",[],"NV8"],[[12348,12348],"valid"],[[12349,12349],"valid",[],"NV8"],[[12350,12350],"valid",[],"NV8"],[[12351,12351],"valid",[],"NV8"],[[12352,12352],"disallowed"],[[12353,12436],"valid"],[[12437,12438],"valid"],[[12439,12440],"disallowed"],[[12441,12442],"valid"],[[12443,12443],"disallowed_STD3_mapped",[32,12441]],[[12444,12444],"disallowed_STD3_mapped",[32,12442]],[[12445,12446],"valid"],[[12447,12447],"mapped",[12424,12426]],[[12448,12448],"valid",[],"NV8"],[[12449,12542],"valid"],[[12543,12543],"mapped",[12467,12488]],[[12544,12548],"disallowed"],[[12549,12588],"valid"],[[12589,12589],"valid"],[[12590,12592],"disallowed"],[[12593,12593],"mapped",[4352]],[[12594,12594],"mapped",[4353]],[[12595,12595],"mapped",[4522]],[[12596,12596],"mapped",[4354]],[[12597,12597],"mapped",[4524]],[[12598,12598],"mapped",[4525]],[[12599,12599],"mapped",[4355]],[[12600,12600],"mapped",[4356]],[[12601,12601],"mapped",[4357]],[[12602,12602],"mapped",[4528]],[[12603,12603],"mapped",[4529]],[[12604,12604],"mapped",[4530]],[[12605,12605],"mapped",[4531]],[[12606,12606],"mapped",[4532]],[[12607,12607],"mapped",[4533]],[[12608,12608],"mapped",[4378]],[[12609,12609],"mapped",[4358]],[[12610,12610],"mapped",[4359]],[[12611,12611],"mapped",[4360]],[[12612,12612],"mapped",[4385]],[[12613,12613],"mapped",[4361]],[[12614,12614],"mapped",[4362]],[[12615,12615],"mapped",[4363]],[[12616,12616],"mapped",[4364]],[[12617,12617],"mapped",[4365]],[[12618,12618],"mapped",[4366]],[[12619,12619],"mapped",[4367]],[[12620,12620],"mapped",[4368]],[[12621,12621],"mapped",[4369]],[[12622,12622],"mapped",[4370]],[[12623,12623],"mapped",[4449]],[[12624,12624],"mapped",[4450]],[[12625,12625],"mapped",[4451]],[[12626,12626],"mapped",[4452]],[[12627,12627],"mapped",[4453]],[[12628,12628],"mapped",[4454]],[[12629,12629],"mapped",[4455]],[[12630,12630],"mapped",[4456]],[[12631,12631],"mapped",[4457]],[[12632,12632],"mapped",[4458]],[[12633,12633],"mapped",[4459]],[[12634,12634],"mapped",[4460]],[[12635,12635],"mapped",[4461]],[[12636,12636],"mapped",[4462]],[[12637,12637],"mapped",[4463]],[[12638,12638],"mapped",[4464]],[[12639,12639],"mapped",[4465]],[[12640,12640],"mapped",[4466]],[[12641,12641],"mapped",[4467]],[[12642,12642],"mapped",[4468]],[[12643,12643],"mapped",[4469]],[[12644,12644],"disallowed"],[[12645,12645],"mapped",[4372]],[[12646,12646],"mapped",[4373]],[[12647,12647],"mapped",[4551]],[[12648,12648],"mapped",[4552]],[[12649,12649],"mapped",[4556]],[[12650,12650],"mapped",[4558]],[[12651,12651],"mapped",[4563]],[[12652,12652],"mapped",[4567]],[[12653,12653],"mapped",[4569]],[[12654,12654],"mapped",[4380]],[[12655,12655],"mapped",[4573]],[[12656,12656],"mapped",[4575]],[[12657,12657],"mapped",[4381]],[[12658,12658],"mapped",[4382]],[[12659,12659],"mapped",[4384]],[[12660,12660],"mapped",[4386]],[[12661,12661],"mapped",[4387]],[[12662,12662],"mapped",[4391]],[[12663,12663],"mapped",[4393]],[[12664,12664],"mapped",[4395]],[[12665,12665],"mapped",[4396]],[[12666,12666],"mapped",[4397]],[[12667,12667],"mapped",[4398]],[[12668,12668],"mapped",[4399]],[[12669,12669],"mapped",[4402]],[[12670,12670],"mapped",[4406]],[[12671,12671],"mapped",[4416]],[[12672,12672],"mapped",[4423]],[[12673,12673],"mapped",[4428]],[[12674,12674],"mapped",[4593]],[[12675,12675],"mapped",[4594]],[[12676,12676],"mapped",[4439]],[[12677,12677],"mapped",[4440]],[[12678,12678],"mapped",[4441]],[[12679,12679],"mapped",[4484]],[[12680,12680],"mapped",[4485]],[[12681,12681],"mapped",[4488]],[[12682,12682],"mapped",[4497]],[[12683,12683],"mapped",[4498]],[[12684,12684],"mapped",[4500]],[[12685,12685],"mapped",[4510]],[[12686,12686],"mapped",[4513]],[[12687,12687],"disallowed"],[[12688,12689],"valid",[],"NV8"],[[12690,12690],"mapped",[19968]],[[12691,12691],"mapped",[20108]],[[12692,12692],"mapped",[19977]],[[12693,12693],"mapped",[22235]],[[12694,12694],"mapped",[19978]],[[12695,12695],"mapped",[20013]],[[12696,12696],"mapped",[19979]],[[12697,12697],"mapped",[30002]],[[12698,12698],"mapped",[20057]],[[12699,12699],"mapped",[19993]],[[12700,12700],"mapped",[19969]],[[12701,12701],"mapped",[22825]],[[12702,12702],"mapped",[22320]],[[12703,12703],"mapped",[20154]],[[12704,12727],"valid"],[[12728,12730],"valid"],[[12731,12735],"disallowed"],[[12736,12751],"valid",[],"NV8"],[[12752,12771],"valid",[],"NV8"],[[12772,12783],"disallowed"],[[12784,12799],"valid"],[[12800,12800],"disallowed_STD3_mapped",[40,4352,41]],[[12801,12801],"disallowed_STD3_mapped",[40,4354,41]],[[12802,12802],"disallowed_STD3_mapped",[40,4355,41]],[[12803,12803],"disallowed_STD3_mapped",[40,4357,41]],[[12804,12804],"disallowed_STD3_mapped",[40,4358,41]],[[12805,12805],"disallowed_STD3_mapped",[40,4359,41]],[[12806,12806],"disallowed_STD3_mapped",[40,4361,41]],[[12807,12807],"disallowed_STD3_mapped",[40,4363,41]],[[12808,12808],"disallowed_STD3_mapped",[40,4364,41]],[[12809,12809],"disallowed_STD3_mapped",[40,4366,41]],[[12810,12810],"disallowed_STD3_mapped",[40,4367,41]],[[12811,12811],"disallowed_STD3_mapped",[40,4368,41]],[[12812,12812],"disallowed_STD3_mapped",[40,4369,41]],[[12813,12813],"disallowed_STD3_mapped",[40,4370,41]],[[12814,12814],"disallowed_STD3_mapped",[40,44032,41]],[[12815,12815],"disallowed_STD3_mapped",[40,45208,41]],[[12816,12816],"disallowed_STD3_mapped",[40,45796,41]],[[12817,12817],"disallowed_STD3_mapped",[40,46972,41]],[[12818,12818],"disallowed_STD3_mapped",[40,47560,41]],[[12819,12819],"disallowed_STD3_mapped",[40,48148,41]],[[12820,12820],"disallowed_STD3_mapped",[40,49324,41]],[[12821,12821],"disallowed_STD3_mapped",[40,50500,41]],[[12822,12822],"disallowed_STD3_mapped",[40,51088,41]],[[12823,12823],"disallowed_STD3_mapped",[40,52264,41]],[[12824,12824],"disallowed_STD3_mapped",[40,52852,41]],[[12825,12825],"disallowed_STD3_mapped",[40,53440,41]],[[12826,12826],"disallowed_STD3_mapped",[40,54028,41]],[[12827,12827],"disallowed_STD3_mapped",[40,54616,41]],[[12828,12828],"disallowed_STD3_mapped",[40,51452,41]],[[12829,12829],"disallowed_STD3_mapped",[40,50724,51204,41]],[[12830,12830],"disallowed_STD3_mapped",[40,50724,54980,41]],[[12831,12831],"disallowed"],[[12832,12832],"disallowed_STD3_mapped",[40,19968,41]],[[12833,12833],"disallowed_STD3_mapped",[40,20108,41]],[[12834,12834],"disallowed_STD3_mapped",[40,19977,41]],[[12835,12835],"disallowed_STD3_mapped",[40,22235,41]],[[12836,12836],"disallowed_STD3_mapped",[40,20116,41]],[[12837,12837],"disallowed_STD3_mapped",[40,20845,41]],[[12838,12838],"disallowed_STD3_mapped",[40,19971,41]],[[12839,12839],"disallowed_STD3_mapped",[40,20843,41]],[[12840,12840],"disallowed_STD3_mapped",[40,20061,41]],[[12841,12841],"disallowed_STD3_mapped",[40,21313,41]],[[12842,12842],"disallowed_STD3_mapped",[40,26376,41]],[[12843,12843],"disallowed_STD3_mapped",[40,28779,41]],[[12844,12844],"disallowed_STD3_mapped",[40,27700,41]],[[12845,12845],"disallowed_STD3_mapped",[40,26408,41]],[[12846,12846],"disallowed_STD3_mapped",[40,37329,41]],[[12847,12847],"disallowed_STD3_mapped",[40,22303,41]],[[12848,12848],"disallowed_STD3_mapped",[40,26085,41]],[[12849,12849],"disallowed_STD3_mapped",[40,26666,41]],[[12850,12850],"disallowed_STD3_mapped",[40,26377,41]],[[12851,12851],"disallowed_STD3_mapped",[40,31038,41]],[[12852,12852],"disallowed_STD3_mapped",[40,21517,41]],[[12853,12853],"disallowed_STD3_mapped",[40,29305,41]],[[12854,12854],"disallowed_STD3_mapped",[40,36001,41]],[[12855,12855],"disallowed_STD3_mapped",[40,31069,41]],[[12856,12856],"disallowed_STD3_mapped",[40,21172,41]],[[12857,12857],"disallowed_STD3_mapped",[40,20195,41]],[[12858,12858],"disallowed_STD3_mapped",[40,21628,41]],[[12859,12859],"disallowed_STD3_mapped",[40,23398,41]],[[12860,12860],"disallowed_STD3_mapped",[40,30435,41]],[[12861,12861],"disallowed_STD3_mapped",[40,20225,41]],[[12862,12862],"disallowed_STD3_mapped",[40,36039,41]],[[12863,12863],"disallowed_STD3_mapped",[40,21332,41]],[[12864,12864],"disallowed_STD3_mapped",[40,31085,41]],[[12865,12865],"disallowed_STD3_mapped",[40,20241,41]],[[12866,12866],"disallowed_STD3_mapped",[40,33258,41]],[[12867,12867],"disallowed_STD3_mapped",[40,33267,41]],[[12868,12868],"mapped",[21839]],[[12869,12869],"mapped",[24188]],[[12870,12870],"mapped",[25991]],[[12871,12871],"mapped",[31631]],[[12872,12879],"valid",[],"NV8"],[[12880,12880],"mapped",[112,116,101]],[[12881,12881],"mapped",[50,49]],[[12882,12882],"mapped",[50,50]],[[12883,12883],"mapped",[50,51]],[[12884,12884],"mapped",[50,52]],[[12885,12885],"mapped",[50,53]],[[12886,12886],"mapped",[50,54]],[[12887,12887],"mapped",[50,55]],[[12888,12888],"mapped",[50,56]],[[12889,12889],"mapped",[50,57]],[[12890,12890],"mapped",[51,48]],[[12891,12891],"mapped",[51,49]],[[12892,12892],"mapped",[51,50]],[[12893,12893],"mapped",[51,51]],[[12894,12894],"mapped",[51,52]],[[12895,12895],"mapped",[51,53]],[[12896,12896],"mapped",[4352]],[[12897,12897],"mapped",[4354]],[[12898,12898],"mapped",[4355]],[[12899,12899],"mapped",[4357]],[[12900,12900],"mapped",[4358]],[[12901,12901],"mapped",[4359]],[[12902,12902],"mapped",[4361]],[[12903,12903],"mapped",[4363]],[[12904,12904],"mapped",[4364]],[[12905,12905],"mapped",[4366]],[[12906,12906],"mapped",[4367]],[[12907,12907],"mapped",[4368]],[[12908,12908],"mapped",[4369]],[[12909,12909],"mapped",[4370]],[[12910,12910],"mapped",[44032]],[[12911,12911],"mapped",[45208]],[[12912,12912],"mapped",[45796]],[[12913,12913],"mapped",[46972]],[[12914,12914],"mapped",[47560]],[[12915,12915],"mapped",[48148]],[[12916,12916],"mapped",[49324]],[[12917,12917],"mapped",[50500]],[[12918,12918],"mapped",[51088]],[[12919,12919],"mapped",[52264]],[[12920,12920],"mapped",[52852]],[[12921,12921],"mapped",[53440]],[[12922,12922],"mapped",[54028]],[[12923,12923],"mapped",[54616]],[[12924,12924],"mapped",[52280,44256]],[[12925,12925],"mapped",[51452,51032]],[[12926,12926],"mapped",[50864]],[[12927,12927],"valid",[],"NV8"],[[12928,12928],"mapped",[19968]],[[12929,12929],"mapped",[20108]],[[12930,12930],"mapped",[19977]],[[12931,12931],"mapped",[22235]],[[12932,12932],"mapped",[20116]],[[12933,12933],"mapped",[20845]],[[12934,12934],"mapped",[19971]],[[12935,12935],"mapped",[20843]],[[12936,12936],"mapped",[20061]],[[12937,12937],"mapped",[21313]],[[12938,12938],"mapped",[26376]],[[12939,12939],"mapped",[28779]],[[12940,12940],"mapped",[27700]],[[12941,12941],"mapped",[26408]],[[12942,12942],"mapped",[37329]],[[12943,12943],"mapped",[22303]],[[12944,12944],"mapped",[26085]],[[12945,12945],"mapped",[26666]],[[12946,12946],"mapped",[26377]],[[12947,12947],"mapped",[31038]],[[12948,12948],"mapped",[21517]],[[12949,12949],"mapped",[29305]],[[12950,12950],"mapped",[36001]],[[12951,12951],"mapped",[31069]],[[12952,12952],"mapped",[21172]],[[12953,12953],"mapped",[31192]],[[12954,12954],"mapped",[30007]],[[12955,12955],"mapped",[22899]],[[12956,12956],"mapped",[36969]],[[12957,12957],"mapped",[20778]],[[12958,12958],"mapped",[21360]],[[12959,12959],"mapped",[27880]],[[12960,12960],"mapped",[38917]],[[12961,12961],"mapped",[20241]],[[12962,12962],"mapped",[20889]],[[12963,12963],"mapped",[27491]],[[12964,12964],"mapped",[19978]],[[12965,12965],"mapped",[20013]],[[12966,12966],"mapped",[19979]],[[12967,12967],"mapped",[24038]],[[12968,12968],"mapped",[21491]],[[12969,12969],"mapped",[21307]],[[12970,12970],"mapped",[23447]],[[12971,12971],"mapped",[23398]],[[12972,12972],"mapped",[30435]],[[12973,12973],"mapped",[20225]],[[12974,12974],"mapped",[36039]],[[12975,12975],"mapped",[21332]],[[12976,12976],"mapped",[22812]],[[12977,12977],"mapped",[51,54]],[[12978,12978],"mapped",[51,55]],[[12979,12979],"mapped",[51,56]],[[12980,12980],"mapped",[51,57]],[[12981,12981],"mapped",[52,48]],[[12982,12982],"mapped",[52,49]],[[12983,12983],"mapped",[52,50]],[[12984,12984],"mapped",[52,51]],[[12985,12985],"mapped",[52,52]],[[12986,12986],"mapped",[52,53]],[[12987,12987],"mapped",[52,54]],[[12988,12988],"mapped",[52,55]],[[12989,12989],"mapped",[52,56]],[[12990,12990],"mapped",[52,57]],[[12991,12991],"mapped",[53,48]],[[12992,12992],"mapped",[49,26376]],[[12993,12993],"mapped",[50,26376]],[[12994,12994],"mapped",[51,26376]],[[12995,12995],"mapped",[52,26376]],[[12996,12996],"mapped",[53,26376]],[[12997,12997],"mapped",[54,26376]],[[12998,12998],"mapped",[55,26376]],[[12999,12999],"mapped",[56,26376]],[[13000,13000],"mapped",[57,26376]],[[13001,13001],"mapped",[49,48,26376]],[[13002,13002],"mapped",[49,49,26376]],[[13003,13003],"mapped",[49,50,26376]],[[13004,13004],"mapped",[104,103]],[[13005,13005],"mapped",[101,114,103]],[[13006,13006],"mapped",[101,118]],[[13007,13007],"mapped",[108,116,100]],[[13008,13008],"mapped",[12450]],[[13009,13009],"mapped",[12452]],[[13010,13010],"mapped",[12454]],[[13011,13011],"mapped",[12456]],[[13012,13012],"mapped",[12458]],[[13013,13013],"mapped",[12459]],[[13014,13014],"mapped",[12461]],[[13015,13015],"mapped",[12463]],[[13016,13016],"mapped",[12465]],[[13017,13017],"mapped",[12467]],[[13018,13018],"mapped",[12469]],[[13019,13019],"mapped",[12471]],[[13020,13020],"mapped",[12473]],[[13021,13021],"mapped",[12475]],[[13022,13022],"mapped",[12477]],[[13023,13023],"mapped",[12479]],[[13024,13024],"mapped",[12481]],[[13025,13025],"mapped",[12484]],[[13026,13026],"mapped",[12486]],[[13027,13027],"mapped",[12488]],[[13028,13028],"mapped",[12490]],[[13029,13029],"mapped",[12491]],[[13030,13030],"mapped",[12492]],[[13031,13031],"mapped",[12493]],[[13032,13032],"mapped",[12494]],[[13033,13033],"mapped",[12495]],[[13034,13034],"mapped",[12498]],[[13035,13035],"mapped",[12501]],[[13036,13036],"mapped",[12504]],[[13037,13037],"mapped",[12507]],[[13038,13038],"mapped",[12510]],[[13039,13039],"mapped",[12511]],[[13040,13040],"mapped",[12512]],[[13041,13041],"mapped",[12513]],[[13042,13042],"mapped",[12514]],[[13043,13043],"mapped",[12516]],[[13044,13044],"mapped",[12518]],[[13045,13045],"mapped",[12520]],[[13046,13046],"mapped",[12521]],[[13047,13047],"mapped",[12522]],[[13048,13048],"mapped",[12523]],[[13049,13049],"mapped",[12524]],[[13050,13050],"mapped",[12525]],[[13051,13051],"mapped",[12527]],[[13052,13052],"mapped",[12528]],[[13053,13053],"mapped",[12529]],[[13054,13054],"mapped",[12530]],[[13055,13055],"disallowed"],[[13056,13056],"mapped",[12450,12497,12540,12488]],[[13057,13057],"mapped",[12450,12523,12501,12449]],[[13058,13058],"mapped",[12450,12531,12506,12450]],[[13059,13059],"mapped",[12450,12540,12523]],[[13060,13060],"mapped",[12452,12491,12531,12464]],[[13061,13061],"mapped",[12452,12531,12481]],[[13062,13062],"mapped",[12454,12457,12531]],[[13063,13063],"mapped",[12456,12473,12463,12540,12489]],[[13064,13064],"mapped",[12456,12540,12459,12540]],[[13065,13065],"mapped",[12458,12531,12473]],[[13066,13066],"mapped",[12458,12540,12512]],[[13067,13067],"mapped",[12459,12452,12522]],[[13068,13068],"mapped",[12459,12521,12483,12488]],[[13069,13069],"mapped",[12459,12525,12522,12540]],[[13070,13070],"mapped",[12460,12525,12531]],[[13071,13071],"mapped",[12460,12531,12510]],[[13072,13072],"mapped",[12462,12460]],[[13073,13073],"mapped",[12462,12491,12540]],[[13074,13074],"mapped",[12461,12517,12522,12540]],[[13075,13075],"mapped",[12462,12523,12480,12540]],[[13076,13076],"mapped",[12461,12525]],[[13077,13077],"mapped",[12461,12525,12464,12521,12512]],[[13078,13078],"mapped",[12461,12525,12513,12540,12488,12523]],[[13079,13079],"mapped",[12461,12525,12527,12483,12488]],[[13080,13080],"mapped",[12464,12521,12512]],[[13081,13081],"mapped",[12464,12521,12512,12488,12531]],[[13082,13082],"mapped",[12463,12523,12476,12452,12525]],[[13083,13083],"mapped",[12463,12525,12540,12493]],[[13084,13084],"mapped",[12465,12540,12473]],[[13085,13085],"mapped",[12467,12523,12490]],[[13086,13086],"mapped",[12467,12540,12509]],[[13087,13087],"mapped",[12469,12452,12463,12523]],[[13088,13088],"mapped",[12469,12531,12481,12540,12512]],[[13089,13089],"mapped",[12471,12522,12531,12464]],[[13090,13090],"mapped",[12475,12531,12481]],[[13091,13091],"mapped",[12475,12531,12488]],[[13092,13092],"mapped",[12480,12540,12473]],[[13093,13093],"mapped",[12487,12471]],[[13094,13094],"mapped",[12489,12523]],[[13095,13095],"mapped",[12488,12531]],[[13096,13096],"mapped",[12490,12494]],[[13097,13097],"mapped",[12494,12483,12488]],[[13098,13098],"mapped",[12495,12452,12484]],[[13099,13099],"mapped",[12497,12540,12475,12531,12488]],[[13100,13100],"mapped",[12497,12540,12484]],[[13101,13101],"mapped",[12496,12540,12524,12523]],[[13102,13102],"mapped",[12500,12450,12473,12488,12523]],[[13103,13103],"mapped",[12500,12463,12523]],[[13104,13104],"mapped",[12500,12467]],[[13105,13105],"mapped",[12499,12523]],[[13106,13106],"mapped",[12501,12449,12521,12483,12489]],[[13107,13107],"mapped",[12501,12451,12540,12488]],[[13108,13108],"mapped",[12502,12483,12471,12455,12523]],[[13109,13109],"mapped",[12501,12521,12531]],[[13110,13110],"mapped",[12504,12463,12479,12540,12523]],[[13111,13111],"mapped",[12506,12477]],[[13112,13112],"mapped",[12506,12491,12498]],[[13113,13113],"mapped",[12504,12523,12484]],[[13114,13114],"mapped",[12506,12531,12473]],[[13115,13115],"mapped",[12506,12540,12472]],[[13116,13116],"mapped",[12505,12540,12479]],[[13117,13117],"mapped",[12509,12452,12531,12488]],[[13118,13118],"mapped",[12508,12523,12488]],[[13119,13119],"mapped",[12507,12531]],[[13120,13120],"mapped",[12509,12531,12489]],[[13121,13121],"mapped",[12507,12540,12523]],[[13122,13122],"mapped",[12507,12540,12531]],[[13123,13123],"mapped",[12510,12452,12463,12525]],[[13124,13124],"mapped",[12510,12452,12523]],[[13125,13125],"mapped",[12510,12483,12495]],[[13126,13126],"mapped",[12510,12523,12463]],[[13127,13127],"mapped",[12510,12531,12471,12519,12531]],[[13128,13128],"mapped",[12511,12463,12525,12531]],[[13129,13129],"mapped",[12511,12522]],[[13130,13130],"mapped",[12511,12522,12496,12540,12523]],[[13131,13131],"mapped",[12513,12460]],[[13132,13132],"mapped",[12513,12460,12488,12531]],[[13133,13133],"mapped",[12513,12540,12488,12523]],[[13134,13134],"mapped",[12516,12540,12489]],[[13135,13135],"mapped",[12516,12540,12523]],[[13136,13136],"mapped",[12518,12450,12531]],[[13137,13137],"mapped",[12522,12483,12488,12523]],[[13138,13138],"mapped",[12522,12521]],[[13139,13139],"mapped",[12523,12500,12540]],[[13140,13140],"mapped",[12523,12540,12502,12523]],[[13141,13141],"mapped",[12524,12512]],[[13142,13142],"mapped",[12524,12531,12488,12466,12531]],[[13143,13143],"mapped",[12527,12483,12488]],[[13144,13144],"mapped",[48,28857]],[[13145,13145],"mapped",[49,28857]],[[13146,13146],"mapped",[50,28857]],[[13147,13147],"mapped",[51,28857]],[[13148,13148],"mapped",[52,28857]],[[13149,13149],"mapped",[53,28857]],[[13150,13150],"mapped",[54,28857]],[[13151,13151],"mapped",[55,28857]],[[13152,13152],"mapped",[56,28857]],[[13153,13153],"mapped",[57,28857]],[[13154,13154],"mapped",[49,48,28857]],[[13155,13155],"mapped",[49,49,28857]],[[13156,13156],"mapped",[49,50,28857]],[[13157,13157],"mapped",[49,51,28857]],[[13158,13158],"mapped",[49,52,28857]],[[13159,13159],"mapped",[49,53,28857]],[[13160,13160],"mapped",[49,54,28857]],[[13161,13161],"mapped",[49,55,28857]],[[13162,13162],"mapped",[49,56,28857]],[[13163,13163],"mapped",[49,57,28857]],[[13164,13164],"mapped",[50,48,28857]],[[13165,13165],"mapped",[50,49,28857]],[[13166,13166],"mapped",[50,50,28857]],[[13167,13167],"mapped",[50,51,28857]],[[13168,13168],"mapped",[50,52,28857]],[[13169,13169],"mapped",[104,112,97]],[[13170,13170],"mapped",[100,97]],[[13171,13171],"mapped",[97,117]],[[13172,13172],"mapped",[98,97,114]],[[13173,13173],"mapped",[111,118]],[[13174,13174],"mapped",[112,99]],[[13175,13175],"mapped",[100,109]],[[13176,13176],"mapped",[100,109,50]],[[13177,13177],"mapped",[100,109,51]],[[13178,13178],"mapped",[105,117]],[[13179,13179],"mapped",[24179,25104]],[[13180,13180],"mapped",[26157,21644]],[[13181,13181],"mapped",[22823,27491]],[[13182,13182],"mapped",[26126,27835]],[[13183,13183],"mapped",[26666,24335,20250,31038]],[[13184,13184],"mapped",[112,97]],[[13185,13185],"mapped",[110,97]],[[13186,13186],"mapped",[956,97]],[[13187,13187],"mapped",[109,97]],[[13188,13188],"mapped",[107,97]],[[13189,13189],"mapped",[107,98]],[[13190,13190],"mapped",[109,98]],[[13191,13191],"mapped",[103,98]],[[13192,13192],"mapped",[99,97,108]],[[13193,13193],"mapped",[107,99,97,108]],[[13194,13194],"mapped",[112,102]],[[13195,13195],"mapped",[110,102]],[[13196,13196],"mapped",[956,102]],[[13197,13197],"mapped",[956,103]],[[13198,13198],"mapped",[109,103]],[[13199,13199],"mapped",[107,103]],[[13200,13200],"mapped",[104,122]],[[13201,13201],"mapped",[107,104,122]],[[13202,13202],"mapped",[109,104,122]],[[13203,13203],"mapped",[103,104,122]],[[13204,13204],"mapped",[116,104,122]],[[13205,13205],"mapped",[956,108]],[[13206,13206],"mapped",[109,108]],[[13207,13207],"mapped",[100,108]],[[13208,13208],"mapped",[107,108]],[[13209,13209],"mapped",[102,109]],[[13210,13210],"mapped",[110,109]],[[13211,13211],"mapped",[956,109]],[[13212,13212],"mapped",[109,109]],[[13213,13213],"mapped",[99,109]],[[13214,13214],"mapped",[107,109]],[[13215,13215],"mapped",[109,109,50]],[[13216,13216],"mapped",[99,109,50]],[[13217,13217],"mapped",[109,50]],[[13218,13218],"mapped",[107,109,50]],[[13219,13219],"mapped",[109,109,51]],[[13220,13220],"mapped",[99,109,51]],[[13221,13221],"mapped",[109,51]],[[13222,13222],"mapped",[107,109,51]],[[13223,13223],"mapped",[109,8725,115]],[[13224,13224],"mapped",[109,8725,115,50]],[[13225,13225],"mapped",[112,97]],[[13226,13226],"mapped",[107,112,97]],[[13227,13227],"mapped",[109,112,97]],[[13228,13228],"mapped",[103,112,97]],[[13229,13229],"mapped",[114,97,100]],[[13230,13230],"mapped",[114,97,100,8725,115]],[[13231,13231],"mapped",[114,97,100,8725,115,50]],[[13232,13232],"mapped",[112,115]],[[13233,13233],"mapped",[110,115]],[[13234,13234],"mapped",[956,115]],[[13235,13235],"mapped",[109,115]],[[13236,13236],"mapped",[112,118]],[[13237,13237],"mapped",[110,118]],[[13238,13238],"mapped",[956,118]],[[13239,13239],"mapped",[109,118]],[[13240,13240],"mapped",[107,118]],[[13241,13241],"mapped",[109,118]],[[13242,13242],"mapped",[112,119]],[[13243,13243],"mapped",[110,119]],[[13244,13244],"mapped",[956,119]],[[13245,13245],"mapped",[109,119]],[[13246,13246],"mapped",[107,119]],[[13247,13247],"mapped",[109,119]],[[13248,13248],"mapped",[107,969]],[[13249,13249],"mapped",[109,969]],[[13250,13250],"disallowed"],[[13251,13251],"mapped",[98,113]],[[13252,13252],"mapped",[99,99]],[[13253,13253],"mapped",[99,100]],[[13254,13254],"mapped",[99,8725,107,103]],[[13255,13255],"disallowed"],[[13256,13256],"mapped",[100,98]],[[13257,13257],"mapped",[103,121]],[[13258,13258],"mapped",[104,97]],[[13259,13259],"mapped",[104,112]],[[13260,13260],"mapped",[105,110]],[[13261,13261],"mapped",[107,107]],[[13262,13262],"mapped",[107,109]],[[13263,13263],"mapped",[107,116]],[[13264,13264],"mapped",[108,109]],[[13265,13265],"mapped",[108,110]],[[13266,13266],"mapped",[108,111,103]],[[13267,13267],"mapped",[108,120]],[[13268,13268],"mapped",[109,98]],[[13269,13269],"mapped",[109,105,108]],[[13270,13270],"mapped",[109,111,108]],[[13271,13271],"mapped",[112,104]],[[13272,13272],"disallowed"],[[13273,13273],"mapped",[112,112,109]],[[13274,13274],"mapped",[112,114]],[[13275,13275],"mapped",[115,114]],[[13276,13276],"mapped",[115,118]],[[13277,13277],"mapped",[119,98]],[[13278,13278],"mapped",[118,8725,109]],[[13279,13279],"mapped",[97,8725,109]],[[13280,13280],"mapped",[49,26085]],[[13281,13281],"mapped",[50,26085]],[[13282,13282],"mapped",[51,26085]],[[13283,13283],"mapped",[52,26085]],[[13284,13284],"mapped",[53,26085]],[[13285,13285],"mapped",[54,26085]],[[13286,13286],"mapped",[55,26085]],[[13287,13287],"mapped",[56,26085]],[[13288,13288],"mapped",[57,26085]],[[13289,13289],"mapped",[49,48,26085]],[[13290,13290],"mapped",[49,49,26085]],[[13291,13291],"mapped",[49,50,26085]],[[13292,13292],"mapped",[49,51,26085]],[[13293,13293],"mapped",[49,52,26085]],[[13294,13294],"mapped",[49,53,26085]],[[13295,13295],"mapped",[49,54,26085]],[[13296,13296],"mapped",[49,55,26085]],[[13297,13297],"mapped",[49,56,26085]],[[13298,13298],"mapped",[49,57,26085]],[[13299,13299],"mapped",[50,48,26085]],[[13300,13300],"mapped",[50,49,26085]],[[13301,13301],"mapped",[50,50,26085]],[[13302,13302],"mapped",[50,51,26085]],[[13303,13303],"mapped",[50,52,26085]],[[13304,13304],"mapped",[50,53,26085]],[[13305,13305],"mapped",[50,54,26085]],[[13306,13306],"mapped",[50,55,26085]],[[13307,13307],"mapped",[50,56,26085]],[[13308,13308],"mapped",[50,57,26085]],[[13309,13309],"mapped",[51,48,26085]],[[13310,13310],"mapped",[51,49,26085]],[[13311,13311],"mapped",[103,97,108]],[[13312,19893],"valid"],[[19894,19903],"disallowed"],[[19904,19967],"valid",[],"NV8"],[[19968,40869],"valid"],[[40870,40891],"valid"],[[40892,40899],"valid"],[[40900,40907],"valid"],[[40908,40908],"valid"],[[40909,40917],"valid"],[[40918,40959],"disallowed"],[[40960,42124],"valid"],[[42125,42127],"disallowed"],[[42128,42145],"valid",[],"NV8"],[[42146,42147],"valid",[],"NV8"],[[42148,42163],"valid",[],"NV8"],[[42164,42164],"valid",[],"NV8"],[[42165,42176],"valid",[],"NV8"],[[42177,42177],"valid",[],"NV8"],[[42178,42180],"valid",[],"NV8"],[[42181,42181],"valid",[],"NV8"],[[42182,42182],"valid",[],"NV8"],[[42183,42191],"disallowed"],[[42192,42237],"valid"],[[42238,42239],"valid",[],"NV8"],[[42240,42508],"valid"],[[42509,42511],"valid",[],"NV8"],[[42512,42539],"valid"],[[42540,42559],"disallowed"],[[42560,42560],"mapped",[42561]],[[42561,42561],"valid"],[[42562,42562],"mapped",[42563]],[[42563,42563],"valid"],[[42564,42564],"mapped",[42565]],[[42565,42565],"valid"],[[42566,42566],"mapped",[42567]],[[42567,42567],"valid"],[[42568,42568],"mapped",[42569]],[[42569,42569],"valid"],[[42570,42570],"mapped",[42571]],[[42571,42571],"valid"],[[42572,42572],"mapped",[42573]],[[42573,42573],"valid"],[[42574,42574],"mapped",[42575]],[[42575,42575],"valid"],[[42576,42576],"mapped",[42577]],[[42577,42577],"valid"],[[42578,42578],"mapped",[42579]],[[42579,42579],"valid"],[[42580,42580],"mapped",[42581]],[[42581,42581],"valid"],[[42582,42582],"mapped",[42583]],[[42583,42583],"valid"],[[42584,42584],"mapped",[42585]],[[42585,42585],"valid"],[[42586,42586],"mapped",[42587]],[[42587,42587],"valid"],[[42588,42588],"mapped",[42589]],[[42589,42589],"valid"],[[42590,42590],"mapped",[42591]],[[42591,42591],"valid"],[[42592,42592],"mapped",[42593]],[[42593,42593],"valid"],[[42594,42594],"mapped",[42595]],[[42595,42595],"valid"],[[42596,42596],"mapped",[42597]],[[42597,42597],"valid"],[[42598,42598],"mapped",[42599]],[[42599,42599],"valid"],[[42600,42600],"mapped",[42601]],[[42601,42601],"valid"],[[42602,42602],"mapped",[42603]],[[42603,42603],"valid"],[[42604,42604],"mapped",[42605]],[[42605,42607],"valid"],[[42608,42611],"valid",[],"NV8"],[[42612,42619],"valid"],[[42620,42621],"valid"],[[42622,42622],"valid",[],"NV8"],[[42623,42623],"valid"],[[42624,42624],"mapped",[42625]],[[42625,42625],"valid"],[[42626,42626],"mapped",[42627]],[[42627,42627],"valid"],[[42628,42628],"mapped",[42629]],[[42629,42629],"valid"],[[42630,42630],"mapped",[42631]],[[42631,42631],"valid"],[[42632,42632],"mapped",[42633]],[[42633,42633],"valid"],[[42634,42634],"mapped",[42635]],[[42635,42635],"valid"],[[42636,42636],"mapped",[42637]],[[42637,42637],"valid"],[[42638,42638],"mapped",[42639]],[[42639,42639],"valid"],[[42640,42640],"mapped",[42641]],[[42641,42641],"valid"],[[42642,42642],"mapped",[42643]],[[42643,42643],"valid"],[[42644,42644],"mapped",[42645]],[[42645,42645],"valid"],[[42646,42646],"mapped",[42647]],[[42647,42647],"valid"],[[42648,42648],"mapped",[42649]],[[42649,42649],"valid"],[[42650,42650],"mapped",[42651]],[[42651,42651],"valid"],[[42652,42652],"mapped",[1098]],[[42653,42653],"mapped",[1100]],[[42654,42654],"valid"],[[42655,42655],"valid"],[[42656,42725],"valid"],[[42726,42735],"valid",[],"NV8"],[[42736,42737],"valid"],[[42738,42743],"valid",[],"NV8"],[[42744,42751],"disallowed"],[[42752,42774],"valid",[],"NV8"],[[42775,42778],"valid"],[[42779,42783],"valid"],[[42784,42785],"valid",[],"NV8"],[[42786,42786],"mapped",[42787]],[[42787,42787],"valid"],[[42788,42788],"mapped",[42789]],[[42789,42789],"valid"],[[42790,42790],"mapped",[42791]],[[42791,42791],"valid"],[[42792,42792],"mapped",[42793]],[[42793,42793],"valid"],[[42794,42794],"mapped",[42795]],[[42795,42795],"valid"],[[42796,42796],"mapped",[42797]],[[42797,42797],"valid"],[[42798,42798],"mapped",[42799]],[[42799,42801],"valid"],[[42802,42802],"mapped",[42803]],[[42803,42803],"valid"],[[42804,42804],"mapped",[42805]],[[42805,42805],"valid"],[[42806,42806],"mapped",[42807]],[[42807,42807],"valid"],[[42808,42808],"mapped",[42809]],[[42809,42809],"valid"],[[42810,42810],"mapped",[42811]],[[42811,42811],"valid"],[[42812,42812],"mapped",[42813]],[[42813,42813],"valid"],[[42814,42814],"mapped",[42815]],[[42815,42815],"valid"],[[42816,42816],"mapped",[42817]],[[42817,42817],"valid"],[[42818,42818],"mapped",[42819]],[[42819,42819],"valid"],[[42820,42820],"mapped",[42821]],[[42821,42821],"valid"],[[42822,42822],"mapped",[42823]],[[42823,42823],"valid"],[[42824,42824],"mapped",[42825]],[[42825,42825],"valid"],[[42826,42826],"mapped",[42827]],[[42827,42827],"valid"],[[42828,42828],"mapped",[42829]],[[42829,42829],"valid"],[[42830,42830],"mapped",[42831]],[[42831,42831],"valid"],[[42832,42832],"mapped",[42833]],[[42833,42833],"valid"],[[42834,42834],"mapped",[42835]],[[42835,42835],"valid"],[[42836,42836],"mapped",[42837]],[[42837,42837],"valid"],[[42838,42838],"mapped",[42839]],[[42839,42839],"valid"],[[42840,42840],"mapped",[42841]],[[42841,42841],"valid"],[[42842,42842],"mapped",[42843]],[[42843,42843],"valid"],[[42844,42844],"mapped",[42845]],[[42845,42845],"valid"],[[42846,42846],"mapped",[42847]],[[42847,42847],"valid"],[[42848,42848],"mapped",[42849]],[[42849,42849],"valid"],[[42850,42850],"mapped",[42851]],[[42851,42851],"valid"],[[42852,42852],"mapped",[42853]],[[42853,42853],"valid"],[[42854,42854],"mapped",[42855]],[[42855,42855],"valid"],[[42856,42856],"mapped",[42857]],[[42857,42857],"valid"],[[42858,42858],"mapped",[42859]],[[42859,42859],"valid"],[[42860,42860],"mapped",[42861]],[[42861,42861],"valid"],[[42862,42862],"mapped",[42863]],[[42863,42863],"valid"],[[42864,42864],"mapped",[42863]],[[42865,42872],"valid"],[[42873,42873],"mapped",[42874]],[[42874,42874],"valid"],[[42875,42875],"mapped",[42876]],[[42876,42876],"valid"],[[42877,42877],"mapped",[7545]],[[42878,42878],"mapped",[42879]],[[42879,42879],"valid"],[[42880,42880],"mapped",[42881]],[[42881,42881],"valid"],[[42882,42882],"mapped",[42883]],[[42883,42883],"valid"],[[42884,42884],"mapped",[42885]],[[42885,42885],"valid"],[[42886,42886],"mapped",[42887]],[[42887,42888],"valid"],[[42889,42890],"valid",[],"NV8"],[[42891,42891],"mapped",[42892]],[[42892,42892],"valid"],[[42893,42893],"mapped",[613]],[[42894,42894],"valid"],[[42895,42895],"valid"],[[42896,42896],"mapped",[42897]],[[42897,42897],"valid"],[[42898,42898],"mapped",[42899]],[[42899,42899],"valid"],[[42900,42901],"valid"],[[42902,42902],"mapped",[42903]],[[42903,42903],"valid"],[[42904,42904],"mapped",[42905]],[[42905,42905],"valid"],[[42906,42906],"mapped",[42907]],[[42907,42907],"valid"],[[42908,42908],"mapped",[42909]],[[42909,42909],"valid"],[[42910,42910],"mapped",[42911]],[[42911,42911],"valid"],[[42912,42912],"mapped",[42913]],[[42913,42913],"valid"],[[42914,42914],"mapped",[42915]],[[42915,42915],"valid"],[[42916,42916],"mapped",[42917]],[[42917,42917],"valid"],[[42918,42918],"mapped",[42919]],[[42919,42919],"valid"],[[42920,42920],"mapped",[42921]],[[42921,42921],"valid"],[[42922,42922],"mapped",[614]],[[42923,42923],"mapped",[604]],[[42924,42924],"mapped",[609]],[[42925,42925],"mapped",[620]],[[42926,42927],"disallowed"],[[42928,42928],"mapped",[670]],[[42929,42929],"mapped",[647]],[[42930,42930],"mapped",[669]],[[42931,42931],"mapped",[43859]],[[42932,42932],"mapped",[42933]],[[42933,42933],"valid"],[[42934,42934],"mapped",[42935]],[[42935,42935],"valid"],[[42936,42998],"disallowed"],[[42999,42999],"valid"],[[43000,43000],"mapped",[295]],[[43001,43001],"mapped",[339]],[[43002,43002],"valid"],[[43003,43007],"valid"],[[43008,43047],"valid"],[[43048,43051],"valid",[],"NV8"],[[43052,43055],"disallowed"],[[43056,43065],"valid",[],"NV8"],[[43066,43071],"disallowed"],[[43072,43123],"valid"],[[43124,43127],"valid",[],"NV8"],[[43128,43135],"disallowed"],[[43136,43204],"valid"],[[43205,43213],"disallowed"],[[43214,43215],"valid",[],"NV8"],[[43216,43225],"valid"],[[43226,43231],"disallowed"],[[43232,43255],"valid"],[[43256,43258],"valid",[],"NV8"],[[43259,43259],"valid"],[[43260,43260],"valid",[],"NV8"],[[43261,43261],"valid"],[[43262,43263],"disallowed"],[[43264,43309],"valid"],[[43310,43311],"valid",[],"NV8"],[[43312,43347],"valid"],[[43348,43358],"disallowed"],[[43359,43359],"valid",[],"NV8"],[[43360,43388],"valid",[],"NV8"],[[43389,43391],"disallowed"],[[43392,43456],"valid"],[[43457,43469],"valid",[],"NV8"],[[43470,43470],"disallowed"],[[43471,43481],"valid"],[[43482,43485],"disallowed"],[[43486,43487],"valid",[],"NV8"],[[43488,43518],"valid"],[[43519,43519],"disallowed"],[[43520,43574],"valid"],[[43575,43583],"disallowed"],[[43584,43597],"valid"],[[43598,43599],"disallowed"],[[43600,43609],"valid"],[[43610,43611],"disallowed"],[[43612,43615],"valid",[],"NV8"],[[43616,43638],"valid"],[[43639,43641],"valid",[],"NV8"],[[43642,43643],"valid"],[[43644,43647],"valid"],[[43648,43714],"valid"],[[43715,43738],"disallowed"],[[43739,43741],"valid"],[[43742,43743],"valid",[],"NV8"],[[43744,43759],"valid"],[[43760,43761],"valid",[],"NV8"],[[43762,43766],"valid"],[[43767,43776],"disallowed"],[[43777,43782],"valid"],[[43783,43784],"disallowed"],[[43785,43790],"valid"],[[43791,43792],"disallowed"],[[43793,43798],"valid"],[[43799,43807],"disallowed"],[[43808,43814],"valid"],[[43815,43815],"disallowed"],[[43816,43822],"valid"],[[43823,43823],"disallowed"],[[43824,43866],"valid"],[[43867,43867],"valid",[],"NV8"],[[43868,43868],"mapped",[42791]],[[43869,43869],"mapped",[43831]],[[43870,43870],"mapped",[619]],[[43871,43871],"mapped",[43858]],[[43872,43875],"valid"],[[43876,43877],"valid"],[[43878,43887],"disallowed"],[[43888,43888],"mapped",[5024]],[[43889,43889],"mapped",[5025]],[[43890,43890],"mapped",[5026]],[[43891,43891],"mapped",[5027]],[[43892,43892],"mapped",[5028]],[[43893,43893],"mapped",[5029]],[[43894,43894],"mapped",[5030]],[[43895,43895],"mapped",[5031]],[[43896,43896],"mapped",[5032]],[[43897,43897],"mapped",[5033]],[[43898,43898],"mapped",[5034]],[[43899,43899],"mapped",[5035]],[[43900,43900],"mapped",[5036]],[[43901,43901],"mapped",[5037]],[[43902,43902],"mapped",[5038]],[[43903,43903],"mapped",[5039]],[[43904,43904],"mapped",[5040]],[[43905,43905],"mapped",[5041]],[[43906,43906],"mapped",[5042]],[[43907,43907],"mapped",[5043]],[[43908,43908],"mapped",[5044]],[[43909,43909],"mapped",[5045]],[[43910,43910],"mapped",[5046]],[[43911,43911],"mapped",[5047]],[[43912,43912],"mapped",[5048]],[[43913,43913],"mapped",[5049]],[[43914,43914],"mapped",[5050]],[[43915,43915],"mapped",[5051]],[[43916,43916],"mapped",[5052]],[[43917,43917],"mapped",[5053]],[[43918,43918],"mapped",[5054]],[[43919,43919],"mapped",[5055]],[[43920,43920],"mapped",[5056]],[[43921,43921],"mapped",[5057]],[[43922,43922],"mapped",[5058]],[[43923,43923],"mapped",[5059]],[[43924,43924],"mapped",[5060]],[[43925,43925],"mapped",[5061]],[[43926,43926],"mapped",[5062]],[[43927,43927],"mapped",[5063]],[[43928,43928],"mapped",[5064]],[[43929,43929],"mapped",[5065]],[[43930,43930],"mapped",[5066]],[[43931,43931],"mapped",[5067]],[[43932,43932],"mapped",[5068]],[[43933,43933],"mapped",[5069]],[[43934,43934],"mapped",[5070]],[[43935,43935],"mapped",[5071]],[[43936,43936],"mapped",[5072]],[[43937,43937],"mapped",[5073]],[[43938,43938],"mapped",[5074]],[[43939,43939],"mapped",[5075]],[[43940,43940],"mapped",[5076]],[[43941,43941],"mapped",[5077]],[[43942,43942],"mapped",[5078]],[[43943,43943],"mapped",[5079]],[[43944,43944],"mapped",[5080]],[[43945,43945],"mapped",[5081]],[[43946,43946],"mapped",[5082]],[[43947,43947],"mapped",[5083]],[[43948,43948],"mapped",[5084]],[[43949,43949],"mapped",[5085]],[[43950,43950],"mapped",[5086]],[[43951,43951],"mapped",[5087]],[[43952,43952],"mapped",[5088]],[[43953,43953],"mapped",[5089]],[[43954,43954],"mapped",[5090]],[[43955,43955],"mapped",[5091]],[[43956,43956],"mapped",[5092]],[[43957,43957],"mapped",[5093]],[[43958,43958],"mapped",[5094]],[[43959,43959],"mapped",[5095]],[[43960,43960],"mapped",[5096]],[[43961,43961],"mapped",[5097]],[[43962,43962],"mapped",[5098]],[[43963,43963],"mapped",[5099]],[[43964,43964],"mapped",[5100]],[[43965,43965],"mapped",[5101]],[[43966,43966],"mapped",[5102]],[[43967,43967],"mapped",[5103]],[[43968,44010],"valid"],[[44011,44011],"valid",[],"NV8"],[[44012,44013],"valid"],[[44014,44015],"disallowed"],[[44016,44025],"valid"],[[44026,44031],"disallowed"],[[44032,55203],"valid"],[[55204,55215],"disallowed"],[[55216,55238],"valid",[],"NV8"],[[55239,55242],"disallowed"],[[55243,55291],"valid",[],"NV8"],[[55292,55295],"disallowed"],[[55296,57343],"disallowed"],[[57344,63743],"disallowed"],[[63744,63744],"mapped",[35912]],[[63745,63745],"mapped",[26356]],[[63746,63746],"mapped",[36554]],[[63747,63747],"mapped",[36040]],[[63748,63748],"mapped",[28369]],[[63749,63749],"mapped",[20018]],[[63750,63750],"mapped",[21477]],[[63751,63752],"mapped",[40860]],[[63753,63753],"mapped",[22865]],[[63754,63754],"mapped",[37329]],[[63755,63755],"mapped",[21895]],[[63756,63756],"mapped",[22856]],[[63757,63757],"mapped",[25078]],[[63758,63758],"mapped",[30313]],[[63759,63759],"mapped",[32645]],[[63760,63760],"mapped",[34367]],[[63761,63761],"mapped",[34746]],[[63762,63762],"mapped",[35064]],[[63763,63763],"mapped",[37007]],[[63764,63764],"mapped",[27138]],[[63765,63765],"mapped",[27931]],[[63766,63766],"mapped",[28889]],[[63767,63767],"mapped",[29662]],[[63768,63768],"mapped",[33853]],[[63769,63769],"mapped",[37226]],[[63770,63770],"mapped",[39409]],[[63771,63771],"mapped",[20098]],[[63772,63772],"mapped",[21365]],[[63773,63773],"mapped",[27396]],[[63774,63774],"mapped",[29211]],[[63775,63775],"mapped",[34349]],[[63776,63776],"mapped",[40478]],[[63777,63777],"mapped",[23888]],[[63778,63778],"mapped",[28651]],[[63779,63779],"mapped",[34253]],[[63780,63780],"mapped",[35172]],[[63781,63781],"mapped",[25289]],[[63782,63782],"mapped",[33240]],[[63783,63783],"mapped",[34847]],[[63784,63784],"mapped",[24266]],[[63785,63785],"mapped",[26391]],[[63786,63786],"mapped",[28010]],[[63787,63787],"mapped",[29436]],[[63788,63788],"mapped",[37070]],[[63789,63789],"mapped",[20358]],[[63790,63790],"mapped",[20919]],[[63791,63791],"mapped",[21214]],[[63792,63792],"mapped",[25796]],[[63793,63793],"mapped",[27347]],[[63794,63794],"mapped",[29200]],[[63795,63795],"mapped",[30439]],[[63796,63796],"mapped",[32769]],[[63797,63797],"mapped",[34310]],[[63798,63798],"mapped",[34396]],[[63799,63799],"mapped",[36335]],[[63800,63800],"mapped",[38706]],[[63801,63801],"mapped",[39791]],[[63802,63802],"mapped",[40442]],[[63803,63803],"mapped",[30860]],[[63804,63804],"mapped",[31103]],[[63805,63805],"mapped",[32160]],[[63806,63806],"mapped",[33737]],[[63807,63807],"mapped",[37636]],[[63808,63808],"mapped",[40575]],[[63809,63809],"mapped",[35542]],[[63810,63810],"mapped",[22751]],[[63811,63811],"mapped",[24324]],[[63812,63812],"mapped",[31840]],[[63813,63813],"mapped",[32894]],[[63814,63814],"mapped",[29282]],[[63815,63815],"mapped",[30922]],[[63816,63816],"mapped",[36034]],[[63817,63817],"mapped",[38647]],[[63818,63818],"mapped",[22744]],[[63819,63819],"mapped",[23650]],[[63820,63820],"mapped",[27155]],[[63821,63821],"mapped",[28122]],[[63822,63822],"mapped",[28431]],[[63823,63823],"mapped",[32047]],[[63824,63824],"mapped",[32311]],[[63825,63825],"mapped",[38475]],[[63826,63826],"mapped",[21202]],[[63827,63827],"mapped",[32907]],[[63828,63828],"mapped",[20956]],[[63829,63829],"mapped",[20940]],[[63830,63830],"mapped",[31260]],[[63831,63831],"mapped",[32190]],[[63832,63832],"mapped",[33777]],[[63833,63833],"mapped",[38517]],[[63834,63834],"mapped",[35712]],[[63835,63835],"mapped",[25295]],[[63836,63836],"mapped",[27138]],[[63837,63837],"mapped",[35582]],[[63838,63838],"mapped",[20025]],[[63839,63839],"mapped",[23527]],[[63840,63840],"mapped",[24594]],[[63841,63841],"mapped",[29575]],[[63842,63842],"mapped",[30064]],[[63843,63843],"mapped",[21271]],[[63844,63844],"mapped",[30971]],[[63845,63845],"mapped",[20415]],[[63846,63846],"mapped",[24489]],[[63847,63847],"mapped",[19981]],[[63848,63848],"mapped",[27852]],[[63849,63849],"mapped",[25976]],[[63850,63850],"mapped",[32034]],[[63851,63851],"mapped",[21443]],[[63852,63852],"mapped",[22622]],[[63853,63853],"mapped",[30465]],[[63854,63854],"mapped",[33865]],[[63855,63855],"mapped",[35498]],[[63856,63856],"mapped",[27578]],[[63857,63857],"mapped",[36784]],[[63858,63858],"mapped",[27784]],[[63859,63859],"mapped",[25342]],[[63860,63860],"mapped",[33509]],[[63861,63861],"mapped",[25504]],[[63862,63862],"mapped",[30053]],[[63863,63863],"mapped",[20142]],[[63864,63864],"mapped",[20841]],[[63865,63865],"mapped",[20937]],[[63866,63866],"mapped",[26753]],[[63867,63867],"mapped",[31975]],[[63868,63868],"mapped",[33391]],[[63869,63869],"mapped",[35538]],[[63870,63870],"mapped",[37327]],[[63871,63871],"mapped",[21237]],[[63872,63872],"mapped",[21570]],[[63873,63873],"mapped",[22899]],[[63874,63874],"mapped",[24300]],[[63875,63875],"mapped",[26053]],[[63876,63876],"mapped",[28670]],[[63877,63877],"mapped",[31018]],[[63878,63878],"mapped",[38317]],[[63879,63879],"mapped",[39530]],[[63880,63880],"mapped",[40599]],[[63881,63881],"mapped",[40654]],[[63882,63882],"mapped",[21147]],[[63883,63883],"mapped",[26310]],[[63884,63884],"mapped",[27511]],[[63885,63885],"mapped",[36706]],[[63886,63886],"mapped",[24180]],[[63887,63887],"mapped",[24976]],[[63888,63888],"mapped",[25088]],[[63889,63889],"mapped",[25754]],[[63890,63890],"mapped",[28451]],[[63891,63891],"mapped",[29001]],[[63892,63892],"mapped",[29833]],[[63893,63893],"mapped",[31178]],[[63894,63894],"mapped",[32244]],[[63895,63895],"mapped",[32879]],[[63896,63896],"mapped",[36646]],[[63897,63897],"mapped",[34030]],[[63898,63898],"mapped",[36899]],[[63899,63899],"mapped",[37706]],[[63900,63900],"mapped",[21015]],[[63901,63901],"mapped",[21155]],[[63902,63902],"mapped",[21693]],[[63903,63903],"mapped",[28872]],[[63904,63904],"mapped",[35010]],[[63905,63905],"mapped",[35498]],[[63906,63906],"mapped",[24265]],[[63907,63907],"mapped",[24565]],[[63908,63908],"mapped",[25467]],[[63909,63909],"mapped",[27566]],[[63910,63910],"mapped",[31806]],[[63911,63911],"mapped",[29557]],[[63912,63912],"mapped",[20196]],[[63913,63913],"mapped",[22265]],[[63914,63914],"mapped",[23527]],[[63915,63915],"mapped",[23994]],[[63916,63916],"mapped",[24604]],[[63917,63917],"mapped",[29618]],[[63918,63918],"mapped",[29801]],[[63919,63919],"mapped",[32666]],[[63920,63920],"mapped",[32838]],[[63921,63921],"mapped",[37428]],[[63922,63922],"mapped",[38646]],[[63923,63923],"mapped",[38728]],[[63924,63924],"mapped",[38936]],[[63925,63925],"mapped",[20363]],[[63926,63926],"mapped",[31150]],[[63927,63927],"mapped",[37300]],[[63928,63928],"mapped",[38584]],[[63929,63929],"mapped",[24801]],[[63930,63930],"mapped",[20102]],[[63931,63931],"mapped",[20698]],[[63932,63932],"mapped",[23534]],[[63933,63933],"mapped",[23615]],[[63934,63934],"mapped",[26009]],[[63935,63935],"mapped",[27138]],[[63936,63936],"mapped",[29134]],[[63937,63937],"mapped",[30274]],[[63938,63938],"mapped",[34044]],[[63939,63939],"mapped",[36988]],[[63940,63940],"mapped",[40845]],[[63941,63941],"mapped",[26248]],[[63942,63942],"mapped",[38446]],[[63943,63943],"mapped",[21129]],[[63944,63944],"mapped",[26491]],[[63945,63945],"mapped",[26611]],[[63946,63946],"mapped",[27969]],[[63947,63947],"mapped",[28316]],[[63948,63948],"mapped",[29705]],[[63949,63949],"mapped",[30041]],[[63950,63950],"mapped",[30827]],[[63951,63951],"mapped",[32016]],[[63952,63952],"mapped",[39006]],[[63953,63953],"mapped",[20845]],[[63954,63954],"mapped",[25134]],[[63955,63955],"mapped",[38520]],[[63956,63956],"mapped",[20523]],[[63957,63957],"mapped",[23833]],[[63958,63958],"mapped",[28138]],[[63959,63959],"mapped",[36650]],[[63960,63960],"mapped",[24459]],[[63961,63961],"mapped",[24900]],[[63962,63962],"mapped",[26647]],[[63963,63963],"mapped",[29575]],[[63964,63964],"mapped",[38534]],[[63965,63965],"mapped",[21033]],[[63966,63966],"mapped",[21519]],[[63967,63967],"mapped",[23653]],[[63968,63968],"mapped",[26131]],[[63969,63969],"mapped",[26446]],[[63970,63970],"mapped",[26792]],[[63971,63971],"mapped",[27877]],[[63972,63972],"mapped",[29702]],[[63973,63973],"mapped",[30178]],[[63974,63974],"mapped",[32633]],[[63975,63975],"mapped",[35023]],[[63976,63976],"mapped",[35041]],[[63977,63977],"mapped",[37324]],[[63978,63978],"mapped",[38626]],[[63979,63979],"mapped",[21311]],[[63980,63980],"mapped",[28346]],[[63981,63981],"mapped",[21533]],[[63982,63982],"mapped",[29136]],[[63983,63983],"mapped",[29848]],[[63984,63984],"mapped",[34298]],[[63985,63985],"mapped",[38563]],[[63986,63986],"mapped",[40023]],[[63987,63987],"mapped",[40607]],[[63988,63988],"mapped",[26519]],[[63989,63989],"mapped",[28107]],[[63990,63990],"mapped",[33256]],[[63991,63991],"mapped",[31435]],[[63992,63992],"mapped",[31520]],[[63993,63993],"mapped",[31890]],[[63994,63994],"mapped",[29376]],[[63995,63995],"mapped",[28825]],[[63996,63996],"mapped",[35672]],[[63997,63997],"mapped",[20160]],[[63998,63998],"mapped",[33590]],[[63999,63999],"mapped",[21050]],[[64000,64000],"mapped",[20999]],[[64001,64001],"mapped",[24230]],[[64002,64002],"mapped",[25299]],[[64003,64003],"mapped",[31958]],[[64004,64004],"mapped",[23429]],[[64005,64005],"mapped",[27934]],[[64006,64006],"mapped",[26292]],[[64007,64007],"mapped",[36667]],[[64008,64008],"mapped",[34892]],[[64009,64009],"mapped",[38477]],[[64010,64010],"mapped",[35211]],[[64011,64011],"mapped",[24275]],[[64012,64012],"mapped",[20800]],[[64013,64013],"mapped",[21952]],[[64014,64015],"valid"],[[64016,64016],"mapped",[22618]],[[64017,64017],"valid"],[[64018,64018],"mapped",[26228]],[[64019,64020],"valid"],[[64021,64021],"mapped",[20958]],[[64022,64022],"mapped",[29482]],[[64023,64023],"mapped",[30410]],[[64024,64024],"mapped",[31036]],[[64025,64025],"mapped",[31070]],[[64026,64026],"mapped",[31077]],[[64027,64027],"mapped",[31119]],[[64028,64028],"mapped",[38742]],[[64029,64029],"mapped",[31934]],[[64030,64030],"mapped",[32701]],[[64031,64031],"valid"],[[64032,64032],"mapped",[34322]],[[64033,64033],"valid"],[[64034,64034],"mapped",[35576]],[[64035,64036],"valid"],[[64037,64037],"mapped",[36920]],[[64038,64038],"mapped",[37117]],[[64039,64041],"valid"],[[64042,64042],"mapped",[39151]],[[64043,64043],"mapped",[39164]],[[64044,64044],"mapped",[39208]],[[64045,64045],"mapped",[40372]],[[64046,64046],"mapped",[37086]],[[64047,64047],"mapped",[38583]],[[64048,64048],"mapped",[20398]],[[64049,64049],"mapped",[20711]],[[64050,64050],"mapped",[20813]],[[64051,64051],"mapped",[21193]],[[64052,64052],"mapped",[21220]],[[64053,64053],"mapped",[21329]],[[64054,64054],"mapped",[21917]],[[64055,64055],"mapped",[22022]],[[64056,64056],"mapped",[22120]],[[64057,64057],"mapped",[22592]],[[64058,64058],"mapped",[22696]],[[64059,64059],"mapped",[23652]],[[64060,64060],"mapped",[23662]],[[64061,64061],"mapped",[24724]],[[64062,64062],"mapped",[24936]],[[64063,64063],"mapped",[24974]],[[64064,64064],"mapped",[25074]],[[64065,64065],"mapped",[25935]],[[64066,64066],"mapped",[26082]],[[64067,64067],"mapped",[26257]],[[64068,64068],"mapped",[26757]],[[64069,64069],"mapped",[28023]],[[64070,64070],"mapped",[28186]],[[64071,64071],"mapped",[28450]],[[64072,64072],"mapped",[29038]],[[64073,64073],"mapped",[29227]],[[64074,64074],"mapped",[29730]],[[64075,64075],"mapped",[30865]],[[64076,64076],"mapped",[31038]],[[64077,64077],"mapped",[31049]],[[64078,64078],"mapped",[31048]],[[64079,64079],"mapped",[31056]],[[64080,64080],"mapped",[31062]],[[64081,64081],"mapped",[31069]],[[64082,64082],"mapped",[31117]],[[64083,64083],"mapped",[31118]],[[64084,64084],"mapped",[31296]],[[64085,64085],"mapped",[31361]],[[64086,64086],"mapped",[31680]],[[64087,64087],"mapped",[32244]],[[64088,64088],"mapped",[32265]],[[64089,64089],"mapped",[32321]],[[64090,64090],"mapped",[32626]],[[64091,64091],"mapped",[32773]],[[64092,64092],"mapped",[33261]],[[64093,64094],"mapped",[33401]],[[64095,64095],"mapped",[33879]],[[64096,64096],"mapped",[35088]],[[64097,64097],"mapped",[35222]],[[64098,64098],"mapped",[35585]],[[64099,64099],"mapped",[35641]],[[64100,64100],"mapped",[36051]],[[64101,64101],"mapped",[36104]],[[64102,64102],"mapped",[36790]],[[64103,64103],"mapped",[36920]],[[64104,64104],"mapped",[38627]],[[64105,64105],"mapped",[38911]],[[64106,64106],"mapped",[38971]],[[64107,64107],"mapped",[24693]],[[64108,64108],"mapped",[148206]],[[64109,64109],"mapped",[33304]],[[64110,64111],"disallowed"],[[64112,64112],"mapped",[20006]],[[64113,64113],"mapped",[20917]],[[64114,64114],"mapped",[20840]],[[64115,64115],"mapped",[20352]],[[64116,64116],"mapped",[20805]],[[64117,64117],"mapped",[20864]],[[64118,64118],"mapped",[21191]],[[64119,64119],"mapped",[21242]],[[64120,64120],"mapped",[21917]],[[64121,64121],"mapped",[21845]],[[64122,64122],"mapped",[21913]],[[64123,64123],"mapped",[21986]],[[64124,64124],"mapped",[22618]],[[64125,64125],"mapped",[22707]],[[64126,64126],"mapped",[22852]],[[64127,64127],"mapped",[22868]],[[64128,64128],"mapped",[23138]],[[64129,64129],"mapped",[23336]],[[64130,64130],"mapped",[24274]],[[64131,64131],"mapped",[24281]],[[64132,64132],"mapped",[24425]],[[64133,64133],"mapped",[24493]],[[64134,64134],"mapped",[24792]],[[64135,64135],"mapped",[24910]],[[64136,64136],"mapped",[24840]],[[64137,64137],"mapped",[24974]],[[64138,64138],"mapped",[24928]],[[64139,64139],"mapped",[25074]],[[64140,64140],"mapped",[25140]],[[64141,64141],"mapped",[25540]],[[64142,64142],"mapped",[25628]],[[64143,64143],"mapped",[25682]],[[64144,64144],"mapped",[25942]],[[64145,64145],"mapped",[26228]],[[64146,64146],"mapped",[26391]],[[64147,64147],"mapped",[26395]],[[64148,64148],"mapped",[26454]],[[64149,64149],"mapped",[27513]],[[64150,64150],"mapped",[27578]],[[64151,64151],"mapped",[27969]],[[64152,64152],"mapped",[28379]],[[64153,64153],"mapped",[28363]],[[64154,64154],"mapped",[28450]],[[64155,64155],"mapped",[28702]],[[64156,64156],"mapped",[29038]],[[64157,64157],"mapped",[30631]],[[64158,64158],"mapped",[29237]],[[64159,64159],"mapped",[29359]],[[64160,64160],"mapped",[29482]],[[64161,64161],"mapped",[29809]],[[64162,64162],"mapped",[29958]],[[64163,64163],"mapped",[30011]],[[64164,64164],"mapped",[30237]],[[64165,64165],"mapped",[30239]],[[64166,64166],"mapped",[30410]],[[64167,64167],"mapped",[30427]],[[64168,64168],"mapped",[30452]],[[64169,64169],"mapped",[30538]],[[64170,64170],"mapped",[30528]],[[64171,64171],"mapped",[30924]],[[64172,64172],"mapped",[31409]],[[64173,64173],"mapped",[31680]],[[64174,64174],"mapped",[31867]],[[64175,64175],"mapped",[32091]],[[64176,64176],"mapped",[32244]],[[64177,64177],"mapped",[32574]],[[64178,64178],"mapped",[32773]],[[64179,64179],"mapped",[33618]],[[64180,64180],"mapped",[33775]],[[64181,64181],"mapped",[34681]],[[64182,64182],"mapped",[35137]],[[64183,64183],"mapped",[35206]],[[64184,64184],"mapped",[35222]],[[64185,64185],"mapped",[35519]],[[64186,64186],"mapped",[35576]],[[64187,64187],"mapped",[35531]],[[64188,64188],"mapped",[35585]],[[64189,64189],"mapped",[35582]],[[64190,64190],"mapped",[35565]],[[64191,64191],"mapped",[35641]],[[64192,64192],"mapped",[35722]],[[64193,64193],"mapped",[36104]],[[64194,64194],"mapped",[36664]],[[64195,64195],"mapped",[36978]],[[64196,64196],"mapped",[37273]],[[64197,64197],"mapped",[37494]],[[64198,64198],"mapped",[38524]],[[64199,64199],"mapped",[38627]],[[64200,64200],"mapped",[38742]],[[64201,64201],"mapped",[38875]],[[64202,64202],"mapped",[38911]],[[64203,64203],"mapped",[38923]],[[64204,64204],"mapped",[38971]],[[64205,64205],"mapped",[39698]],[[64206,64206],"mapped",[40860]],[[64207,64207],"mapped",[141386]],[[64208,64208],"mapped",[141380]],[[64209,64209],"mapped",[144341]],[[64210,64210],"mapped",[15261]],[[64211,64211],"mapped",[16408]],[[64212,64212],"mapped",[16441]],[[64213,64213],"mapped",[152137]],[[64214,64214],"mapped",[154832]],[[64215,64215],"mapped",[163539]],[[64216,64216],"mapped",[40771]],[[64217,64217],"mapped",[40846]],[[64218,64255],"disallowed"],[[64256,64256],"mapped",[102,102]],[[64257,64257],"mapped",[102,105]],[[64258,64258],"mapped",[102,108]],[[64259,64259],"mapped",[102,102,105]],[[64260,64260],"mapped",[102,102,108]],[[64261,64262],"mapped",[115,116]],[[64263,64274],"disallowed"],[[64275,64275],"mapped",[1396,1398]],[[64276,64276],"mapped",[1396,1381]],[[64277,64277],"mapped",[1396,1387]],[[64278,64278],"mapped",[1406,1398]],[[64279,64279],"mapped",[1396,1389]],[[64280,64284],"disallowed"],[[64285,64285],"mapped",[1497,1460]],[[64286,64286],"valid"],[[64287,64287],"mapped",[1522,1463]],[[64288,64288],"mapped",[1506]],[[64289,64289],"mapped",[1488]],[[64290,64290],"mapped",[1491]],[[64291,64291],"mapped",[1492]],[[64292,64292],"mapped",[1499]],[[64293,64293],"mapped",[1500]],[[64294,64294],"mapped",[1501]],[[64295,64295],"mapped",[1512]],[[64296,64296],"mapped",[1514]],[[64297,64297],"disallowed_STD3_mapped",[43]],[[64298,64298],"mapped",[1513,1473]],[[64299,64299],"mapped",[1513,1474]],[[64300,64300],"mapped",[1513,1468,1473]],[[64301,64301],"mapped",[1513,1468,1474]],[[64302,64302],"mapped",[1488,1463]],[[64303,64303],"mapped",[1488,1464]],[[64304,64304],"mapped",[1488,1468]],[[64305,64305],"mapped",[1489,1468]],[[64306,64306],"mapped",[1490,1468]],[[64307,64307],"mapped",[1491,1468]],[[64308,64308],"mapped",[1492,1468]],[[64309,64309],"mapped",[1493,1468]],[[64310,64310],"mapped",[1494,1468]],[[64311,64311],"disallowed"],[[64312,64312],"mapped",[1496,1468]],[[64313,64313],"mapped",[1497,1468]],[[64314,64314],"mapped",[1498,1468]],[[64315,64315],"mapped",[1499,1468]],[[64316,64316],"mapped",[1500,1468]],[[64317,64317],"disallowed"],[[64318,64318],"mapped",[1502,1468]],[[64319,64319],"disallowed"],[[64320,64320],"mapped",[1504,1468]],[[64321,64321],"mapped",[1505,1468]],[[64322,64322],"disallowed"],[[64323,64323],"mapped",[1507,1468]],[[64324,64324],"mapped",[1508,1468]],[[64325,64325],"disallowed"],[[64326,64326],"mapped",[1510,1468]],[[64327,64327],"mapped",[1511,1468]],[[64328,64328],"mapped",[1512,1468]],[[64329,64329],"mapped",[1513,1468]],[[64330,64330],"mapped",[1514,1468]],[[64331,64331],"mapped",[1493,1465]],[[64332,64332],"mapped",[1489,1471]],[[64333,64333],"mapped",[1499,1471]],[[64334,64334],"mapped",[1508,1471]],[[64335,64335],"mapped",[1488,1500]],[[64336,64337],"mapped",[1649]],[[64338,64341],"mapped",[1659]],[[64342,64345],"mapped",[1662]],[[64346,64349],"mapped",[1664]],[[64350,64353],"mapped",[1658]],[[64354,64357],"mapped",[1663]],[[64358,64361],"mapped",[1657]],[[64362,64365],"mapped",[1700]],[[64366,64369],"mapped",[1702]],[[64370,64373],"mapped",[1668]],[[64374,64377],"mapped",[1667]],[[64378,64381],"mapped",[1670]],[[64382,64385],"mapped",[1671]],[[64386,64387],"mapped",[1677]],[[64388,64389],"mapped",[1676]],[[64390,64391],"mapped",[1678]],[[64392,64393],"mapped",[1672]],[[64394,64395],"mapped",[1688]],[[64396,64397],"mapped",[1681]],[[64398,64401],"mapped",[1705]],[[64402,64405],"mapped",[1711]],[[64406,64409],"mapped",[1715]],[[64410,64413],"mapped",[1713]],[[64414,64415],"mapped",[1722]],[[64416,64419],"mapped",[1723]],[[64420,64421],"mapped",[1728]],[[64422,64425],"mapped",[1729]],[[64426,64429],"mapped",[1726]],[[64430,64431],"mapped",[1746]],[[64432,64433],"mapped",[1747]],[[64434,64449],"valid",[],"NV8"],[[64450,64466],"disallowed"],[[64467,64470],"mapped",[1709]],[[64471,64472],"mapped",[1735]],[[64473,64474],"mapped",[1734]],[[64475,64476],"mapped",[1736]],[[64477,64477],"mapped",[1735,1652]],[[64478,64479],"mapped",[1739]],[[64480,64481],"mapped",[1733]],[[64482,64483],"mapped",[1737]],[[64484,64487],"mapped",[1744]],[[64488,64489],"mapped",[1609]],[[64490,64491],"mapped",[1574,1575]],[[64492,64493],"mapped",[1574,1749]],[[64494,64495],"mapped",[1574,1608]],[[64496,64497],"mapped",[1574,1735]],[[64498,64499],"mapped",[1574,1734]],[[64500,64501],"mapped",[1574,1736]],[[64502,64504],"mapped",[1574,1744]],[[64505,64507],"mapped",[1574,1609]],[[64508,64511],"mapped",[1740]],[[64512,64512],"mapped",[1574,1580]],[[64513,64513],"mapped",[1574,1581]],[[64514,64514],"mapped",[1574,1605]],[[64515,64515],"mapped",[1574,1609]],[[64516,64516],"mapped",[1574,1610]],[[64517,64517],"mapped",[1576,1580]],[[64518,64518],"mapped",[1576,1581]],[[64519,64519],"mapped",[1576,1582]],[[64520,64520],"mapped",[1576,1605]],[[64521,64521],"mapped",[1576,1609]],[[64522,64522],"mapped",[1576,1610]],[[64523,64523],"mapped",[1578,1580]],[[64524,64524],"mapped",[1578,1581]],[[64525,64525],"mapped",[1578,1582]],[[64526,64526],"mapped",[1578,1605]],[[64527,64527],"mapped",[1578,1609]],[[64528,64528],"mapped",[1578,1610]],[[64529,64529],"mapped",[1579,1580]],[[64530,64530],"mapped",[1579,1605]],[[64531,64531],"mapped",[1579,1609]],[[64532,64532],"mapped",[1579,1610]],[[64533,64533],"mapped",[1580,1581]],[[64534,64534],"mapped",[1580,1605]],[[64535,64535],"mapped",[1581,1580]],[[64536,64536],"mapped",[1581,1605]],[[64537,64537],"mapped",[1582,1580]],[[64538,64538],"mapped",[1582,1581]],[[64539,64539],"mapped",[1582,1605]],[[64540,64540],"mapped",[1587,1580]],[[64541,64541],"mapped",[1587,1581]],[[64542,64542],"mapped",[1587,1582]],[[64543,64543],"mapped",[1587,1605]],[[64544,64544],"mapped",[1589,1581]],[[64545,64545],"mapped",[1589,1605]],[[64546,64546],"mapped",[1590,1580]],[[64547,64547],"mapped",[1590,1581]],[[64548,64548],"mapped",[1590,1582]],[[64549,64549],"mapped",[1590,1605]],[[64550,64550],"mapped",[1591,1581]],[[64551,64551],"mapped",[1591,1605]],[[64552,64552],"mapped",[1592,1605]],[[64553,64553],"mapped",[1593,1580]],[[64554,64554],"mapped",[1593,1605]],[[64555,64555],"mapped",[1594,1580]],[[64556,64556],"mapped",[1594,1605]],[[64557,64557],"mapped",[1601,1580]],[[64558,64558],"mapped",[1601,1581]],[[64559,64559],"mapped",[1601,1582]],[[64560,64560],"mapped",[1601,1605]],[[64561,64561],"mapped",[1601,1609]],[[64562,64562],"mapped",[1601,1610]],[[64563,64563],"mapped",[1602,1581]],[[64564,64564],"mapped",[1602,1605]],[[64565,64565],"mapped",[1602,1609]],[[64566,64566],"mapped",[1602,1610]],[[64567,64567],"mapped",[1603,1575]],[[64568,64568],"mapped",[1603,1580]],[[64569,64569],"mapped",[1603,1581]],[[64570,64570],"mapped",[1603,1582]],[[64571,64571],"mapped",[1603,1604]],[[64572,64572],"mapped",[1603,1605]],[[64573,64573],"mapped",[1603,1609]],[[64574,64574],"mapped",[1603,1610]],[[64575,64575],"mapped",[1604,1580]],[[64576,64576],"mapped",[1604,1581]],[[64577,64577],"mapped",[1604,1582]],[[64578,64578],"mapped",[1604,1605]],[[64579,64579],"mapped",[1604,1609]],[[64580,64580],"mapped",[1604,1610]],[[64581,64581],"mapped",[1605,1580]],[[64582,64582],"mapped",[1605,1581]],[[64583,64583],"mapped",[1605,1582]],[[64584,64584],"mapped",[1605,1605]],[[64585,64585],"mapped",[1605,1609]],[[64586,64586],"mapped",[1605,1610]],[[64587,64587],"mapped",[1606,1580]],[[64588,64588],"mapped",[1606,1581]],[[64589,64589],"mapped",[1606,1582]],[[64590,64590],"mapped",[1606,1605]],[[64591,64591],"mapped",[1606,1609]],[[64592,64592],"mapped",[1606,1610]],[[64593,64593],"mapped",[1607,1580]],[[64594,64594],"mapped",[1607,1605]],[[64595,64595],"mapped",[1607,1609]],[[64596,64596],"mapped",[1607,1610]],[[64597,64597],"mapped",[1610,1580]],[[64598,64598],"mapped",[1610,1581]],[[64599,64599],"mapped",[1610,1582]],[[64600,64600],"mapped",[1610,1605]],[[64601,64601],"mapped",[1610,1609]],[[64602,64602],"mapped",[1610,1610]],[[64603,64603],"mapped",[1584,1648]],[[64604,64604],"mapped",[1585,1648]],[[64605,64605],"mapped",[1609,1648]],[[64606,64606],"disallowed_STD3_mapped",[32,1612,1617]],[[64607,64607],"disallowed_STD3_mapped",[32,1613,1617]],[[64608,64608],"disallowed_STD3_mapped",[32,1614,1617]],[[64609,64609],"disallowed_STD3_mapped",[32,1615,1617]],[[64610,64610],"disallowed_STD3_mapped",[32,1616,1617]],[[64611,64611],"disallowed_STD3_mapped",[32,1617,1648]],[[64612,64612],"mapped",[1574,1585]],[[64613,64613],"mapped",[1574,1586]],[[64614,64614],"mapped",[1574,1605]],[[64615,64615],"mapped",[1574,1606]],[[64616,64616],"mapped",[1574,1609]],[[64617,64617],"mapped",[1574,1610]],[[64618,64618],"mapped",[1576,1585]],[[64619,64619],"mapped",[1576,1586]],[[64620,64620],"mapped",[1576,1605]],[[64621,64621],"mapped",[1576,1606]],[[64622,64622],"mapped",[1576,1609]],[[64623,64623],"mapped",[1576,1610]],[[64624,64624],"mapped",[1578,1585]],[[64625,64625],"mapped",[1578,1586]],[[64626,64626],"mapped",[1578,1605]],[[64627,64627],"mapped",[1578,1606]],[[64628,64628],"mapped",[1578,1609]],[[64629,64629],"mapped",[1578,1610]],[[64630,64630],"mapped",[1579,1585]],[[64631,64631],"mapped",[1579,1586]],[[64632,64632],"mapped",[1579,1605]],[[64633,64633],"mapped",[1579,1606]],[[64634,64634],"mapped",[1579,1609]],[[64635,64635],"mapped",[1579,1610]],[[64636,64636],"mapped",[1601,1609]],[[64637,64637],"mapped",[1601,1610]],[[64638,64638],"mapped",[1602,1609]],[[64639,64639],"mapped",[1602,1610]],[[64640,64640],"mapped",[1603,1575]],[[64641,64641],"mapped",[1603,1604]],[[64642,64642],"mapped",[1603,1605]],[[64643,64643],"mapped",[1603,1609]],[[64644,64644],"mapped",[1603,1610]],[[64645,64645],"mapped",[1604,1605]],[[64646,64646],"mapped",[1604,1609]],[[64647,64647],"mapped",[1604,1610]],[[64648,64648],"mapped",[1605,1575]],[[64649,64649],"mapped",[1605,1605]],[[64650,64650],"mapped",[1606,1585]],[[64651,64651],"mapped",[1606,1586]],[[64652,64652],"mapped",[1606,1605]],[[64653,64653],"mapped",[1606,1606]],[[64654,64654],"mapped",[1606,1609]],[[64655,64655],"mapped",[1606,1610]],[[64656,64656],"mapped",[1609,1648]],[[64657,64657],"mapped",[1610,1585]],[[64658,64658],"mapped",[1610,1586]],[[64659,64659],"mapped",[1610,1605]],[[64660,64660],"mapped",[1610,1606]],[[64661,64661],"mapped",[1610,1609]],[[64662,64662],"mapped",[1610,1610]],[[64663,64663],"mapped",[1574,1580]],[[64664,64664],"mapped",[1574,1581]],[[64665,64665],"mapped",[1574,1582]],[[64666,64666],"mapped",[1574,1605]],[[64667,64667],"mapped",[1574,1607]],[[64668,64668],"mapped",[1576,1580]],[[64669,64669],"mapped",[1576,1581]],[[64670,64670],"mapped",[1576,1582]],[[64671,64671],"mapped",[1576,1605]],[[64672,64672],"mapped",[1576,1607]],[[64673,64673],"mapped",[1578,1580]],[[64674,64674],"mapped",[1578,1581]],[[64675,64675],"mapped",[1578,1582]],[[64676,64676],"mapped",[1578,1605]],[[64677,64677],"mapped",[1578,1607]],[[64678,64678],"mapped",[1579,1605]],[[64679,64679],"mapped",[1580,1581]],[[64680,64680],"mapped",[1580,1605]],[[64681,64681],"mapped",[1581,1580]],[[64682,64682],"mapped",[1581,1605]],[[64683,64683],"mapped",[1582,1580]],[[64684,64684],"mapped",[1582,1605]],[[64685,64685],"mapped",[1587,1580]],[[64686,64686],"mapped",[1587,1581]],[[64687,64687],"mapped",[1587,1582]],[[64688,64688],"mapped",[1587,1605]],[[64689,64689],"mapped",[1589,1581]],[[64690,64690],"mapped",[1589,1582]],[[64691,64691],"mapped",[1589,1605]],[[64692,64692],"mapped",[1590,1580]],[[64693,64693],"mapped",[1590,1581]],[[64694,64694],"mapped",[1590,1582]],[[64695,64695],"mapped",[1590,1605]],[[64696,64696],"mapped",[1591,1581]],[[64697,64697],"mapped",[1592,1605]],[[64698,64698],"mapped",[1593,1580]],[[64699,64699],"mapped",[1593,1605]],[[64700,64700],"mapped",[1594,1580]],[[64701,64701],"mapped",[1594,1605]],[[64702,64702],"mapped",[1601,1580]],[[64703,64703],"mapped",[1601,1581]],[[64704,64704],"mapped",[1601,1582]],[[64705,64705],"mapped",[1601,1605]],[[64706,64706],"mapped",[1602,1581]],[[64707,64707],"mapped",[1602,1605]],[[64708,64708],"mapped",[1603,1580]],[[64709,64709],"mapped",[1603,1581]],[[64710,64710],"mapped",[1603,1582]],[[64711,64711],"mapped",[1603,1604]],[[64712,64712],"mapped",[1603,1605]],[[64713,64713],"mapped",[1604,1580]],[[64714,64714],"mapped",[1604,1581]],[[64715,64715],"mapped",[1604,1582]],[[64716,64716],"mapped",[1604,1605]],[[64717,64717],"mapped",[1604,1607]],[[64718,64718],"mapped",[1605,1580]],[[64719,64719],"mapped",[1605,1581]],[[64720,64720],"mapped",[1605,1582]],[[64721,64721],"mapped",[1605,1605]],[[64722,64722],"mapped",[1606,1580]],[[64723,64723],"mapped",[1606,1581]],[[64724,64724],"mapped",[1606,1582]],[[64725,64725],"mapped",[1606,1605]],[[64726,64726],"mapped",[1606,1607]],[[64727,64727],"mapped",[1607,1580]],[[64728,64728],"mapped",[1607,1605]],[[64729,64729],"mapped",[1607,1648]],[[64730,64730],"mapped",[1610,1580]],[[64731,64731],"mapped",[1610,1581]],[[64732,64732],"mapped",[1610,1582]],[[64733,64733],"mapped",[1610,1605]],[[64734,64734],"mapped",[1610,1607]],[[64735,64735],"mapped",[1574,1605]],[[64736,64736],"mapped",[1574,1607]],[[64737,64737],"mapped",[1576,1605]],[[64738,64738],"mapped",[1576,1607]],[[64739,64739],"mapped",[1578,1605]],[[64740,64740],"mapped",[1578,1607]],[[64741,64741],"mapped",[1579,1605]],[[64742,64742],"mapped",[1579,1607]],[[64743,64743],"mapped",[1587,1605]],[[64744,64744],"mapped",[1587,1607]],[[64745,64745],"mapped",[1588,1605]],[[64746,64746],"mapped",[1588,1607]],[[64747,64747],"mapped",[1603,1604]],[[64748,64748],"mapped",[1603,1605]],[[64749,64749],"mapped",[1604,1605]],[[64750,64750],"mapped",[1606,1605]],[[64751,64751],"mapped",[1606,1607]],[[64752,64752],"mapped",[1610,1605]],[[64753,64753],"mapped",[1610,1607]],[[64754,64754],"mapped",[1600,1614,1617]],[[64755,64755],"mapped",[1600,1615,1617]],[[64756,64756],"mapped",[1600,1616,1617]],[[64757,64757],"mapped",[1591,1609]],[[64758,64758],"mapped",[1591,1610]],[[64759,64759],"mapped",[1593,1609]],[[64760,64760],"mapped",[1593,1610]],[[64761,64761],"mapped",[1594,1609]],[[64762,64762],"mapped",[1594,1610]],[[64763,64763],"mapped",[1587,1609]],[[64764,64764],"mapped",[1587,1610]],[[64765,64765],"mapped",[1588,1609]],[[64766,64766],"mapped",[1588,1610]],[[64767,64767],"mapped",[1581,1609]],[[64768,64768],"mapped",[1581,1610]],[[64769,64769],"mapped",[1580,1609]],[[64770,64770],"mapped",[1580,1610]],[[64771,64771],"mapped",[1582,1609]],[[64772,64772],"mapped",[1582,1610]],[[64773,64773],"mapped",[1589,1609]],[[64774,64774],"mapped",[1589,1610]],[[64775,64775],"mapped",[1590,1609]],[[64776,64776],"mapped",[1590,1610]],[[64777,64777],"mapped",[1588,1580]],[[64778,64778],"mapped",[1588,1581]],[[64779,64779],"mapped",[1588,1582]],[[64780,64780],"mapped",[1588,1605]],[[64781,64781],"mapped",[1588,1585]],[[64782,64782],"mapped",[1587,1585]],[[64783,64783],"mapped",[1589,1585]],[[64784,64784],"mapped",[1590,1585]],[[64785,64785],"mapped",[1591,1609]],[[64786,64786],"mapped",[1591,1610]],[[64787,64787],"mapped",[1593,1609]],[[64788,64788],"mapped",[1593,1610]],[[64789,64789],"mapped",[1594,1609]],[[64790,64790],"mapped",[1594,1610]],[[64791,64791],"mapped",[1587,1609]],[[64792,64792],"mapped",[1587,1610]],[[64793,64793],"mapped",[1588,1609]],[[64794,64794],"mapped",[1588,1610]],[[64795,64795],"mapped",[1581,1609]],[[64796,64796],"mapped",[1581,1610]],[[64797,64797],"mapped",[1580,1609]],[[64798,64798],"mapped",[1580,1610]],[[64799,64799],"mapped",[1582,1609]],[[64800,64800],"mapped",[1582,1610]],[[64801,64801],"mapped",[1589,1609]],[[64802,64802],"mapped",[1589,1610]],[[64803,64803],"mapped",[1590,1609]],[[64804,64804],"mapped",[1590,1610]],[[64805,64805],"mapped",[1588,1580]],[[64806,64806],"mapped",[1588,1581]],[[64807,64807],"mapped",[1588,1582]],[[64808,64808],"mapped",[1588,1605]],[[64809,64809],"mapped",[1588,1585]],[[64810,64810],"mapped",[1587,1585]],[[64811,64811],"mapped",[1589,1585]],[[64812,64812],"mapped",[1590,1585]],[[64813,64813],"mapped",[1588,1580]],[[64814,64814],"mapped",[1588,1581]],[[64815,64815],"mapped",[1588,1582]],[[64816,64816],"mapped",[1588,1605]],[[64817,64817],"mapped",[1587,1607]],[[64818,64818],"mapped",[1588,1607]],[[64819,64819],"mapped",[1591,1605]],[[64820,64820],"mapped",[1587,1580]],[[64821,64821],"mapped",[1587,1581]],[[64822,64822],"mapped",[1587,1582]],[[64823,64823],"mapped",[1588,1580]],[[64824,64824],"mapped",[1588,1581]],[[64825,64825],"mapped",[1588,1582]],[[64826,64826],"mapped",[1591,1605]],[[64827,64827],"mapped",[1592,1605]],[[64828,64829],"mapped",[1575,1611]],[[64830,64831],"valid",[],"NV8"],[[64832,64847],"disallowed"],[[64848,64848],"mapped",[1578,1580,1605]],[[64849,64850],"mapped",[1578,1581,1580]],[[64851,64851],"mapped",[1578,1581,1605]],[[64852,64852],"mapped",[1578,1582,1605]],[[64853,64853],"mapped",[1578,1605,1580]],[[64854,64854],"mapped",[1578,1605,1581]],[[64855,64855],"mapped",[1578,1605,1582]],[[64856,64857],"mapped",[1580,1605,1581]],[[64858,64858],"mapped",[1581,1605,1610]],[[64859,64859],"mapped",[1581,1605,1609]],[[64860,64860],"mapped",[1587,1581,1580]],[[64861,64861],"mapped",[1587,1580,1581]],[[64862,64862],"mapped",[1587,1580,1609]],[[64863,64864],"mapped",[1587,1605,1581]],[[64865,64865],"mapped",[1587,1605,1580]],[[64866,64867],"mapped",[1587,1605,1605]],[[64868,64869],"mapped",[1589,1581,1581]],[[64870,64870],"mapped",[1589,1605,1605]],[[64871,64872],"mapped",[1588,1581,1605]],[[64873,64873],"mapped",[1588,1580,1610]],[[64874,64875],"mapped",[1588,1605,1582]],[[64876,64877],"mapped",[1588,1605,1605]],[[64878,64878],"mapped",[1590,1581,1609]],[[64879,64880],"mapped",[1590,1582,1605]],[[64881,64882],"mapped",[1591,1605,1581]],[[64883,64883],"mapped",[1591,1605,1605]],[[64884,64884],"mapped",[1591,1605,1610]],[[64885,64885],"mapped",[1593,1580,1605]],[[64886,64887],"mapped",[1593,1605,1605]],[[64888,64888],"mapped",[1593,1605,1609]],[[64889,64889],"mapped",[1594,1605,1605]],[[64890,64890],"mapped",[1594,1605,1610]],[[64891,64891],"mapped",[1594,1605,1609]],[[64892,64893],"mapped",[1601,1582,1605]],[[64894,64894],"mapped",[1602,1605,1581]],[[64895,64895],"mapped",[1602,1605,1605]],[[64896,64896],"mapped",[1604,1581,1605]],[[64897,64897],"mapped",[1604,1581,1610]],[[64898,64898],"mapped",[1604,1581,1609]],[[64899,64900],"mapped",[1604,1580,1580]],[[64901,64902],"mapped",[1604,1582,1605]],[[64903,64904],"mapped",[1604,1605,1581]],[[64905,64905],"mapped",[1605,1581,1580]],[[64906,64906],"mapped",[1605,1581,1605]],[[64907,64907],"mapped",[1605,1581,1610]],[[64908,64908],"mapped",[1605,1580,1581]],[[64909,64909],"mapped",[1605,1580,1605]],[[64910,64910],"mapped",[1605,1582,1580]],[[64911,64911],"mapped",[1605,1582,1605]],[[64912,64913],"disallowed"],[[64914,64914],"mapped",[1605,1580,1582]],[[64915,64915],"mapped",[1607,1605,1580]],[[64916,64916],"mapped",[1607,1605,1605]],[[64917,64917],"mapped",[1606,1581,1605]],[[64918,64918],"mapped",[1606,1581,1609]],[[64919,64920],"mapped",[1606,1580,1605]],[[64921,64921],"mapped",[1606,1580,1609]],[[64922,64922],"mapped",[1606,1605,1610]],[[64923,64923],"mapped",[1606,1605,1609]],[[64924,64925],"mapped",[1610,1605,1605]],[[64926,64926],"mapped",[1576,1582,1610]],[[64927,64927],"mapped",[1578,1580,1610]],[[64928,64928],"mapped",[1578,1580,1609]],[[64929,64929],"mapped",[1578,1582,1610]],[[64930,64930],"mapped",[1578,1582,1609]],[[64931,64931],"mapped",[1578,1605,1610]],[[64932,64932],"mapped",[1578,1605,1609]],[[64933,64933],"mapped",[1580,1605,1610]],[[64934,64934],"mapped",[1580,1581,1609]],[[64935,64935],"mapped",[1580,1605,1609]],[[64936,64936],"mapped",[1587,1582,1609]],[[64937,64937],"mapped",[1589,1581,1610]],[[64938,64938],"mapped",[1588,1581,1610]],[[64939,64939],"mapped",[1590,1581,1610]],[[64940,64940],"mapped",[1604,1580,1610]],[[64941,64941],"mapped",[1604,1605,1610]],[[64942,64942],"mapped",[1610,1581,1610]],[[64943,64943],"mapped",[1610,1580,1610]],[[64944,64944],"mapped",[1610,1605,1610]],[[64945,64945],"mapped",[1605,1605,1610]],[[64946,64946],"mapped",[1602,1605,1610]],[[64947,64947],"mapped",[1606,1581,1610]],[[64948,64948],"mapped",[1602,1605,1581]],[[64949,64949],"mapped",[1604,1581,1605]],[[64950,64950],"mapped",[1593,1605,1610]],[[64951,64951],"mapped",[1603,1605,1610]],[[64952,64952],"mapped",[1606,1580,1581]],[[64953,64953],"mapped",[1605,1582,1610]],[[64954,64954],"mapped",[1604,1580,1605]],[[64955,64955],"mapped",[1603,1605,1605]],[[64956,64956],"mapped",[1604,1580,1605]],[[64957,64957],"mapped",[1606,1580,1581]],[[64958,64958],"mapped",[1580,1581,1610]],[[64959,64959],"mapped",[1581,1580,1610]],[[64960,64960],"mapped",[1605,1580,1610]],[[64961,64961],"mapped",[1601,1605,1610]],[[64962,64962],"mapped",[1576,1581,1610]],[[64963,64963],"mapped",[1603,1605,1605]],[[64964,64964],"mapped",[1593,1580,1605]],[[64965,64965],"mapped",[1589,1605,1605]],[[64966,64966],"mapped",[1587,1582,1610]],[[64967,64967],"mapped",[1606,1580,1610]],[[64968,64975],"disallowed"],[[64976,65007],"disallowed"],[[65008,65008],"mapped",[1589,1604,1746]],[[65009,65009],"mapped",[1602,1604,1746]],[[65010,65010],"mapped",[1575,1604,1604,1607]],[[65011,65011],"mapped",[1575,1603,1576,1585]],[[65012,65012],"mapped",[1605,1581,1605,1583]],[[65013,65013],"mapped",[1589,1604,1593,1605]],[[65014,65014],"mapped",[1585,1587,1608,1604]],[[65015,65015],"mapped",[1593,1604,1610,1607]],[[65016,65016],"mapped",[1608,1587,1604,1605]],[[65017,65017],"mapped",[1589,1604,1609]],[[65018,65018],"disallowed_STD3_mapped",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],"disallowed_STD3_mapped",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],"mapped",[1585,1740,1575,1604]],[[65021,65021],"valid",[],"NV8"],[[65022,65023],"disallowed"],[[65024,65039],"ignored"],[[65040,65040],"disallowed_STD3_mapped",[44]],[[65041,65041],"mapped",[12289]],[[65042,65042],"disallowed"],[[65043,65043],"disallowed_STD3_mapped",[58]],[[65044,65044],"disallowed_STD3_mapped",[59]],[[65045,65045],"disallowed_STD3_mapped",[33]],[[65046,65046],"disallowed_STD3_mapped",[63]],[[65047,65047],"mapped",[12310]],[[65048,65048],"mapped",[12311]],[[65049,65049],"disallowed"],[[65050,65055],"disallowed"],[[65056,65059],"valid"],[[65060,65062],"valid"],[[65063,65069],"valid"],[[65070,65071],"valid"],[[65072,65072],"disallowed"],[[65073,65073],"mapped",[8212]],[[65074,65074],"mapped",[8211]],[[65075,65076],"disallowed_STD3_mapped",[95]],[[65077,65077],"disallowed_STD3_mapped",[40]],[[65078,65078],"disallowed_STD3_mapped",[41]],[[65079,65079],"disallowed_STD3_mapped",[123]],[[65080,65080],"disallowed_STD3_mapped",[125]],[[65081,65081],"mapped",[12308]],[[65082,65082],"mapped",[12309]],[[65083,65083],"mapped",[12304]],[[65084,65084],"mapped",[12305]],[[65085,65085],"mapped",[12298]],[[65086,65086],"mapped",[12299]],[[65087,65087],"mapped",[12296]],[[65088,65088],"mapped",[12297]],[[65089,65089],"mapped",[12300]],[[65090,65090],"mapped",[12301]],[[65091,65091],"mapped",[12302]],[[65092,65092],"mapped",[12303]],[[65093,65094],"valid",[],"NV8"],[[65095,65095],"disallowed_STD3_mapped",[91]],[[65096,65096],"disallowed_STD3_mapped",[93]],[[65097,65100],"disallowed_STD3_mapped",[32,773]],[[65101,65103],"disallowed_STD3_mapped",[95]],[[65104,65104],"disallowed_STD3_mapped",[44]],[[65105,65105],"mapped",[12289]],[[65106,65106],"disallowed"],[[65107,65107],"disallowed"],[[65108,65108],"disallowed_STD3_mapped",[59]],[[65109,65109],"disallowed_STD3_mapped",[58]],[[65110,65110],"disallowed_STD3_mapped",[63]],[[65111,65111],"disallowed_STD3_mapped",[33]],[[65112,65112],"mapped",[8212]],[[65113,65113],"disallowed_STD3_mapped",[40]],[[65114,65114],"disallowed_STD3_mapped",[41]],[[65115,65115],"disallowed_STD3_mapped",[123]],[[65116,65116],"disallowed_STD3_mapped",[125]],[[65117,65117],"mapped",[12308]],[[65118,65118],"mapped",[12309]],[[65119,65119],"disallowed_STD3_mapped",[35]],[[65120,65120],"disallowed_STD3_mapped",[38]],[[65121,65121],"disallowed_STD3_mapped",[42]],[[65122,65122],"disallowed_STD3_mapped",[43]],[[65123,65123],"mapped",[45]],[[65124,65124],"disallowed_STD3_mapped",[60]],[[65125,65125],"disallowed_STD3_mapped",[62]],[[65126,65126],"disallowed_STD3_mapped",[61]],[[65127,65127],"disallowed"],[[65128,65128],"disallowed_STD3_mapped",[92]],[[65129,65129],"disallowed_STD3_mapped",[36]],[[65130,65130],"disallowed_STD3_mapped",[37]],[[65131,65131],"disallowed_STD3_mapped",[64]],[[65132,65135],"disallowed"],[[65136,65136],"disallowed_STD3_mapped",[32,1611]],[[65137,65137],"mapped",[1600,1611]],[[65138,65138],"disallowed_STD3_mapped",[32,1612]],[[65139,65139],"valid"],[[65140,65140],"disallowed_STD3_mapped",[32,1613]],[[65141,65141],"disallowed"],[[65142,65142],"disallowed_STD3_mapped",[32,1614]],[[65143,65143],"mapped",[1600,1614]],[[65144,65144],"disallowed_STD3_mapped",[32,1615]],[[65145,65145],"mapped",[1600,1615]],[[65146,65146],"disallowed_STD3_mapped",[32,1616]],[[65147,65147],"mapped",[1600,1616]],[[65148,65148],"disallowed_STD3_mapped",[32,1617]],[[65149,65149],"mapped",[1600,1617]],[[65150,65150],"disallowed_STD3_mapped",[32,1618]],[[65151,65151],"mapped",[1600,1618]],[[65152,65152],"mapped",[1569]],[[65153,65154],"mapped",[1570]],[[65155,65156],"mapped",[1571]],[[65157,65158],"mapped",[1572]],[[65159,65160],"mapped",[1573]],[[65161,65164],"mapped",[1574]],[[65165,65166],"mapped",[1575]],[[65167,65170],"mapped",[1576]],[[65171,65172],"mapped",[1577]],[[65173,65176],"mapped",[1578]],[[65177,65180],"mapped",[1579]],[[65181,65184],"mapped",[1580]],[[65185,65188],"mapped",[1581]],[[65189,65192],"mapped",[1582]],[[65193,65194],"mapped",[1583]],[[65195,65196],"mapped",[1584]],[[65197,65198],"mapped",[1585]],[[65199,65200],"mapped",[1586]],[[65201,65204],"mapped",[1587]],[[65205,65208],"mapped",[1588]],[[65209,65212],"mapped",[1589]],[[65213,65216],"mapped",[1590]],[[65217,65220],"mapped",[1591]],[[65221,65224],"mapped",[1592]],[[65225,65228],"mapped",[1593]],[[65229,65232],"mapped",[1594]],[[65233,65236],"mapped",[1601]],[[65237,65240],"mapped",[1602]],[[65241,65244],"mapped",[1603]],[[65245,65248],"mapped",[1604]],[[65249,65252],"mapped",[1605]],[[65253,65256],"mapped",[1606]],[[65257,65260],"mapped",[1607]],[[65261,65262],"mapped",[1608]],[[65263,65264],"mapped",[1609]],[[65265,65268],"mapped",[1610]],[[65269,65270],"mapped",[1604,1570]],[[65271,65272],"mapped",[1604,1571]],[[65273,65274],"mapped",[1604,1573]],[[65275,65276],"mapped",[1604,1575]],[[65277,65278],"disallowed"],[[65279,65279],"ignored"],[[65280,65280],"disallowed"],[[65281,65281],"disallowed_STD3_mapped",[33]],[[65282,65282],"disallowed_STD3_mapped",[34]],[[65283,65283],"disallowed_STD3_mapped",[35]],[[65284,65284],"disallowed_STD3_mapped",[36]],[[65285,65285],"disallowed_STD3_mapped",[37]],[[65286,65286],"disallowed_STD3_mapped",[38]],[[65287,65287],"disallowed_STD3_mapped",[39]],[[65288,65288],"disallowed_STD3_mapped",[40]],[[65289,65289],"disallowed_STD3_mapped",[41]],[[65290,65290],"disallowed_STD3_mapped",[42]],[[65291,65291],"disallowed_STD3_mapped",[43]],[[65292,65292],"disallowed_STD3_mapped",[44]],[[65293,65293],"mapped",[45]],[[65294,65294],"mapped",[46]],[[65295,65295],"disallowed_STD3_mapped",[47]],[[65296,65296],"mapped",[48]],[[65297,65297],"mapped",[49]],[[65298,65298],"mapped",[50]],[[65299,65299],"mapped",[51]],[[65300,65300],"mapped",[52]],[[65301,65301],"mapped",[53]],[[65302,65302],"mapped",[54]],[[65303,65303],"mapped",[55]],[[65304,65304],"mapped",[56]],[[65305,65305],"mapped",[57]],[[65306,65306],"disallowed_STD3_mapped",[58]],[[65307,65307],"disallowed_STD3_mapped",[59]],[[65308,65308],"disallowed_STD3_mapped",[60]],[[65309,65309],"disallowed_STD3_mapped",[61]],[[65310,65310],"disallowed_STD3_mapped",[62]],[[65311,65311],"disallowed_STD3_mapped",[63]],[[65312,65312],"disallowed_STD3_mapped",[64]],[[65313,65313],"mapped",[97]],[[65314,65314],"mapped",[98]],[[65315,65315],"mapped",[99]],[[65316,65316],"mapped",[100]],[[65317,65317],"mapped",[101]],[[65318,65318],"mapped",[102]],[[65319,65319],"mapped",[103]],[[65320,65320],"mapped",[104]],[[65321,65321],"mapped",[105]],[[65322,65322],"mapped",[106]],[[65323,65323],"mapped",[107]],[[65324,65324],"mapped",[108]],[[65325,65325],"mapped",[109]],[[65326,65326],"mapped",[110]],[[65327,65327],"mapped",[111]],[[65328,65328],"mapped",[112]],[[65329,65329],"mapped",[113]],[[65330,65330],"mapped",[114]],[[65331,65331],"mapped",[115]],[[65332,65332],"mapped",[116]],[[65333,65333],"mapped",[117]],[[65334,65334],"mapped",[118]],[[65335,65335],"mapped",[119]],[[65336,65336],"mapped",[120]],[[65337,65337],"mapped",[121]],[[65338,65338],"mapped",[122]],[[65339,65339],"disallowed_STD3_mapped",[91]],[[65340,65340],"disallowed_STD3_mapped",[92]],[[65341,65341],"disallowed_STD3_mapped",[93]],[[65342,65342],"disallowed_STD3_mapped",[94]],[[65343,65343],"disallowed_STD3_mapped",[95]],[[65344,65344],"disallowed_STD3_mapped",[96]],[[65345,65345],"mapped",[97]],[[65346,65346],"mapped",[98]],[[65347,65347],"mapped",[99]],[[65348,65348],"mapped",[100]],[[65349,65349],"mapped",[101]],[[65350,65350],"mapped",[102]],[[65351,65351],"mapped",[103]],[[65352,65352],"mapped",[104]],[[65353,65353],"mapped",[105]],[[65354,65354],"mapped",[106]],[[65355,65355],"mapped",[107]],[[65356,65356],"mapped",[108]],[[65357,65357],"mapped",[109]],[[65358,65358],"mapped",[110]],[[65359,65359],"mapped",[111]],[[65360,65360],"mapped",[112]],[[65361,65361],"mapped",[113]],[[65362,65362],"mapped",[114]],[[65363,65363],"mapped",[115]],[[65364,65364],"mapped",[116]],[[65365,65365],"mapped",[117]],[[65366,65366],"mapped",[118]],[[65367,65367],"mapped",[119]],[[65368,65368],"mapped",[120]],[[65369,65369],"mapped",[121]],[[65370,65370],"mapped",[122]],[[65371,65371],"disallowed_STD3_mapped",[123]],[[65372,65372],"disallowed_STD3_mapped",[124]],[[65373,65373],"disallowed_STD3_mapped",[125]],[[65374,65374],"disallowed_STD3_mapped",[126]],[[65375,65375],"mapped",[10629]],[[65376,65376],"mapped",[10630]],[[65377,65377],"mapped",[46]],[[65378,65378],"mapped",[12300]],[[65379,65379],"mapped",[12301]],[[65380,65380],"mapped",[12289]],[[65381,65381],"mapped",[12539]],[[65382,65382],"mapped",[12530]],[[65383,65383],"mapped",[12449]],[[65384,65384],"mapped",[12451]],[[65385,65385],"mapped",[12453]],[[65386,65386],"mapped",[12455]],[[65387,65387],"mapped",[12457]],[[65388,65388],"mapped",[12515]],[[65389,65389],"mapped",[12517]],[[65390,65390],"mapped",[12519]],[[65391,65391],"mapped",[12483]],[[65392,65392],"mapped",[12540]],[[65393,65393],"mapped",[12450]],[[65394,65394],"mapped",[12452]],[[65395,65395],"mapped",[12454]],[[65396,65396],"mapped",[12456]],[[65397,65397],"mapped",[12458]],[[65398,65398],"mapped",[12459]],[[65399,65399],"mapped",[12461]],[[65400,65400],"mapped",[12463]],[[65401,65401],"mapped",[12465]],[[65402,65402],"mapped",[12467]],[[65403,65403],"mapped",[12469]],[[65404,65404],"mapped",[12471]],[[65405,65405],"mapped",[12473]],[[65406,65406],"mapped",[12475]],[[65407,65407],"mapped",[12477]],[[65408,65408],"mapped",[12479]],[[65409,65409],"mapped",[12481]],[[65410,65410],"mapped",[12484]],[[65411,65411],"mapped",[12486]],[[65412,65412],"mapped",[12488]],[[65413,65413],"mapped",[12490]],[[65414,65414],"mapped",[12491]],[[65415,65415],"mapped",[12492]],[[65416,65416],"mapped",[12493]],[[65417,65417],"mapped",[12494]],[[65418,65418],"mapped",[12495]],[[65419,65419],"mapped",[12498]],[[65420,65420],"mapped",[12501]],[[65421,65421],"mapped",[12504]],[[65422,65422],"mapped",[12507]],[[65423,65423],"mapped",[12510]],[[65424,65424],"mapped",[12511]],[[65425,65425],"mapped",[12512]],[[65426,65426],"mapped",[12513]],[[65427,65427],"mapped",[12514]],[[65428,65428],"mapped",[12516]],[[65429,65429],"mapped",[12518]],[[65430,65430],"mapped",[12520]],[[65431,65431],"mapped",[12521]],[[65432,65432],"mapped",[12522]],[[65433,65433],"mapped",[12523]],[[65434,65434],"mapped",[12524]],[[65435,65435],"mapped",[12525]],[[65436,65436],"mapped",[12527]],[[65437,65437],"mapped",[12531]],[[65438,65438],"mapped",[12441]],[[65439,65439],"mapped",[12442]],[[65440,65440],"disallowed"],[[65441,65441],"mapped",[4352]],[[65442,65442],"mapped",[4353]],[[65443,65443],"mapped",[4522]],[[65444,65444],"mapped",[4354]],[[65445,65445],"mapped",[4524]],[[65446,65446],"mapped",[4525]],[[65447,65447],"mapped",[4355]],[[65448,65448],"mapped",[4356]],[[65449,65449],"mapped",[4357]],[[65450,65450],"mapped",[4528]],[[65451,65451],"mapped",[4529]],[[65452,65452],"mapped",[4530]],[[65453,65453],"mapped",[4531]],[[65454,65454],"mapped",[4532]],[[65455,65455],"mapped",[4533]],[[65456,65456],"mapped",[4378]],[[65457,65457],"mapped",[4358]],[[65458,65458],"mapped",[4359]],[[65459,65459],"mapped",[4360]],[[65460,65460],"mapped",[4385]],[[65461,65461],"mapped",[4361]],[[65462,65462],"mapped",[4362]],[[65463,65463],"mapped",[4363]],[[65464,65464],"mapped",[4364]],[[65465,65465],"mapped",[4365]],[[65466,65466],"mapped",[4366]],[[65467,65467],"mapped",[4367]],[[65468,65468],"mapped",[4368]],[[65469,65469],"mapped",[4369]],[[65470,65470],"mapped",[4370]],[[65471,65473],"disallowed"],[[65474,65474],"mapped",[4449]],[[65475,65475],"mapped",[4450]],[[65476,65476],"mapped",[4451]],[[65477,65477],"mapped",[4452]],[[65478,65478],"mapped",[4453]],[[65479,65479],"mapped",[4454]],[[65480,65481],"disallowed"],[[65482,65482],"mapped",[4455]],[[65483,65483],"mapped",[4456]],[[65484,65484],"mapped",[4457]],[[65485,65485],"mapped",[4458]],[[65486,65486],"mapped",[4459]],[[65487,65487],"mapped",[4460]],[[65488,65489],"disallowed"],[[65490,65490],"mapped",[4461]],[[65491,65491],"mapped",[4462]],[[65492,65492],"mapped",[4463]],[[65493,65493],"mapped",[4464]],[[65494,65494],"mapped",[4465]],[[65495,65495],"mapped",[4466]],[[65496,65497],"disallowed"],[[65498,65498],"mapped",[4467]],[[65499,65499],"mapped",[4468]],[[65500,65500],"mapped",[4469]],[[65501,65503],"disallowed"],[[65504,65504],"mapped",[162]],[[65505,65505],"mapped",[163]],[[65506,65506],"mapped",[172]],[[65507,65507],"disallowed_STD3_mapped",[32,772]],[[65508,65508],"mapped",[166]],[[65509,65509],"mapped",[165]],[[65510,65510],"mapped",[8361]],[[65511,65511],"disallowed"],[[65512,65512],"mapped",[9474]],[[65513,65513],"mapped",[8592]],[[65514,65514],"mapped",[8593]],[[65515,65515],"mapped",[8594]],[[65516,65516],"mapped",[8595]],[[65517,65517],"mapped",[9632]],[[65518,65518],"mapped",[9675]],[[65519,65528],"disallowed"],[[65529,65531],"disallowed"],[[65532,65532],"disallowed"],[[65533,65533],"disallowed"],[[65534,65535],"disallowed"],[[65536,65547],"valid"],[[65548,65548],"disallowed"],[[65549,65574],"valid"],[[65575,65575],"disallowed"],[[65576,65594],"valid"],[[65595,65595],"disallowed"],[[65596,65597],"valid"],[[65598,65598],"disallowed"],[[65599,65613],"valid"],[[65614,65615],"disallowed"],[[65616,65629],"valid"],[[65630,65663],"disallowed"],[[65664,65786],"valid"],[[65787,65791],"disallowed"],[[65792,65794],"valid",[],"NV8"],[[65795,65798],"disallowed"],[[65799,65843],"valid",[],"NV8"],[[65844,65846],"disallowed"],[[65847,65855],"valid",[],"NV8"],[[65856,65930],"valid",[],"NV8"],[[65931,65932],"valid",[],"NV8"],[[65933,65935],"disallowed"],[[65936,65947],"valid",[],"NV8"],[[65948,65951],"disallowed"],[[65952,65952],"valid",[],"NV8"],[[65953,65999],"disallowed"],[[66000,66044],"valid",[],"NV8"],[[66045,66045],"valid"],[[66046,66175],"disallowed"],[[66176,66204],"valid"],[[66205,66207],"disallowed"],[[66208,66256],"valid"],[[66257,66271],"disallowed"],[[66272,66272],"valid"],[[66273,66299],"valid",[],"NV8"],[[66300,66303],"disallowed"],[[66304,66334],"valid"],[[66335,66335],"valid"],[[66336,66339],"valid",[],"NV8"],[[66340,66351],"disallowed"],[[66352,66368],"valid"],[[66369,66369],"valid",[],"NV8"],[[66370,66377],"valid"],[[66378,66378],"valid",[],"NV8"],[[66379,66383],"disallowed"],[[66384,66426],"valid"],[[66427,66431],"disallowed"],[[66432,66461],"valid"],[[66462,66462],"disallowed"],[[66463,66463],"valid",[],"NV8"],[[66464,66499],"valid"],[[66500,66503],"disallowed"],[[66504,66511],"valid"],[[66512,66517],"valid",[],"NV8"],[[66518,66559],"disallowed"],[[66560,66560],"mapped",[66600]],[[66561,66561],"mapped",[66601]],[[66562,66562],"mapped",[66602]],[[66563,66563],"mapped",[66603]],[[66564,66564],"mapped",[66604]],[[66565,66565],"mapped",[66605]],[[66566,66566],"mapped",[66606]],[[66567,66567],"mapped",[66607]],[[66568,66568],"mapped",[66608]],[[66569,66569],"mapped",[66609]],[[66570,66570],"mapped",[66610]],[[66571,66571],"mapped",[66611]],[[66572,66572],"mapped",[66612]],[[66573,66573],"mapped",[66613]],[[66574,66574],"mapped",[66614]],[[66575,66575],"mapped",[66615]],[[66576,66576],"mapped",[66616]],[[66577,66577],"mapped",[66617]],[[66578,66578],"mapped",[66618]],[[66579,66579],"mapped",[66619]],[[66580,66580],"mapped",[66620]],[[66581,66581],"mapped",[66621]],[[66582,66582],"mapped",[66622]],[[66583,66583],"mapped",[66623]],[[66584,66584],"mapped",[66624]],[[66585,66585],"mapped",[66625]],[[66586,66586],"mapped",[66626]],[[66587,66587],"mapped",[66627]],[[66588,66588],"mapped",[66628]],[[66589,66589],"mapped",[66629]],[[66590,66590],"mapped",[66630]],[[66591,66591],"mapped",[66631]],[[66592,66592],"mapped",[66632]],[[66593,66593],"mapped",[66633]],[[66594,66594],"mapped",[66634]],[[66595,66595],"mapped",[66635]],[[66596,66596],"mapped",[66636]],[[66597,66597],"mapped",[66637]],[[66598,66598],"mapped",[66638]],[[66599,66599],"mapped",[66639]],[[66600,66637],"valid"],[[66638,66717],"valid"],[[66718,66719],"disallowed"],[[66720,66729],"valid"],[[66730,66815],"disallowed"],[[66816,66855],"valid"],[[66856,66863],"disallowed"],[[66864,66915],"valid"],[[66916,66926],"disallowed"],[[66927,66927],"valid",[],"NV8"],[[66928,67071],"disallowed"],[[67072,67382],"valid"],[[67383,67391],"disallowed"],[[67392,67413],"valid"],[[67414,67423],"disallowed"],[[67424,67431],"valid"],[[67432,67583],"disallowed"],[[67584,67589],"valid"],[[67590,67591],"disallowed"],[[67592,67592],"valid"],[[67593,67593],"disallowed"],[[67594,67637],"valid"],[[67638,67638],"disallowed"],[[67639,67640],"valid"],[[67641,67643],"disallowed"],[[67644,67644],"valid"],[[67645,67646],"disallowed"],[[67647,67647],"valid"],[[67648,67669],"valid"],[[67670,67670],"disallowed"],[[67671,67679],"valid",[],"NV8"],[[67680,67702],"valid"],[[67703,67711],"valid",[],"NV8"],[[67712,67742],"valid"],[[67743,67750],"disallowed"],[[67751,67759],"valid",[],"NV8"],[[67760,67807],"disallowed"],[[67808,67826],"valid"],[[67827,67827],"disallowed"],[[67828,67829],"valid"],[[67830,67834],"disallowed"],[[67835,67839],"valid",[],"NV8"],[[67840,67861],"valid"],[[67862,67865],"valid",[],"NV8"],[[67866,67867],"valid",[],"NV8"],[[67868,67870],"disallowed"],[[67871,67871],"valid",[],"NV8"],[[67872,67897],"valid"],[[67898,67902],"disallowed"],[[67903,67903],"valid",[],"NV8"],[[67904,67967],"disallowed"],[[67968,68023],"valid"],[[68024,68027],"disallowed"],[[68028,68029],"valid",[],"NV8"],[[68030,68031],"valid"],[[68032,68047],"valid",[],"NV8"],[[68048,68049],"disallowed"],[[68050,68095],"valid",[],"NV8"],[[68096,68099],"valid"],[[68100,68100],"disallowed"],[[68101,68102],"valid"],[[68103,68107],"disallowed"],[[68108,68115],"valid"],[[68116,68116],"disallowed"],[[68117,68119],"valid"],[[68120,68120],"disallowed"],[[68121,68147],"valid"],[[68148,68151],"disallowed"],[[68152,68154],"valid"],[[68155,68158],"disallowed"],[[68159,68159],"valid"],[[68160,68167],"valid",[],"NV8"],[[68168,68175],"disallowed"],[[68176,68184],"valid",[],"NV8"],[[68185,68191],"disallowed"],[[68192,68220],"valid"],[[68221,68223],"valid",[],"NV8"],[[68224,68252],"valid"],[[68253,68255],"valid",[],"NV8"],[[68256,68287],"disallowed"],[[68288,68295],"valid"],[[68296,68296],"valid",[],"NV8"],[[68297,68326],"valid"],[[68327,68330],"disallowed"],[[68331,68342],"valid",[],"NV8"],[[68343,68351],"disallowed"],[[68352,68405],"valid"],[[68406,68408],"disallowed"],[[68409,68415],"valid",[],"NV8"],[[68416,68437],"valid"],[[68438,68439],"disallowed"],[[68440,68447],"valid",[],"NV8"],[[68448,68466],"valid"],[[68467,68471],"disallowed"],[[68472,68479],"valid",[],"NV8"],[[68480,68497],"valid"],[[68498,68504],"disallowed"],[[68505,68508],"valid",[],"NV8"],[[68509,68520],"disallowed"],[[68521,68527],"valid",[],"NV8"],[[68528,68607],"disallowed"],[[68608,68680],"valid"],[[68681,68735],"disallowed"],[[68736,68736],"mapped",[68800]],[[68737,68737],"mapped",[68801]],[[68738,68738],"mapped",[68802]],[[68739,68739],"mapped",[68803]],[[68740,68740],"mapped",[68804]],[[68741,68741],"mapped",[68805]],[[68742,68742],"mapped",[68806]],[[68743,68743],"mapped",[68807]],[[68744,68744],"mapped",[68808]],[[68745,68745],"mapped",[68809]],[[68746,68746],"mapped",[68810]],[[68747,68747],"mapped",[68811]],[[68748,68748],"mapped",[68812]],[[68749,68749],"mapped",[68813]],[[68750,68750],"mapped",[68814]],[[68751,68751],"mapped",[68815]],[[68752,68752],"mapped",[68816]],[[68753,68753],"mapped",[68817]],[[68754,68754],"mapped",[68818]],[[68755,68755],"mapped",[68819]],[[68756,68756],"mapped",[68820]],[[68757,68757],"mapped",[68821]],[[68758,68758],"mapped",[68822]],[[68759,68759],"mapped",[68823]],[[68760,68760],"mapped",[68824]],[[68761,68761],"mapped",[68825]],[[68762,68762],"mapped",[68826]],[[68763,68763],"mapped",[68827]],[[68764,68764],"mapped",[68828]],[[68765,68765],"mapped",[68829]],[[68766,68766],"mapped",[68830]],[[68767,68767],"mapped",[68831]],[[68768,68768],"mapped",[68832]],[[68769,68769],"mapped",[68833]],[[68770,68770],"mapped",[68834]],[[68771,68771],"mapped",[68835]],[[68772,68772],"mapped",[68836]],[[68773,68773],"mapped",[68837]],[[68774,68774],"mapped",[68838]],[[68775,68775],"mapped",[68839]],[[68776,68776],"mapped",[68840]],[[68777,68777],"mapped",[68841]],[[68778,68778],"mapped",[68842]],[[68779,68779],"mapped",[68843]],[[68780,68780],"mapped",[68844]],[[68781,68781],"mapped",[68845]],[[68782,68782],"mapped",[68846]],[[68783,68783],"mapped",[68847]],[[68784,68784],"mapped",[68848]],[[68785,68785],"mapped",[68849]],[[68786,68786],"mapped",[68850]],[[68787,68799],"disallowed"],[[68800,68850],"valid"],[[68851,68857],"disallowed"],[[68858,68863],"valid",[],"NV8"],[[68864,69215],"disallowed"],[[69216,69246],"valid",[],"NV8"],[[69247,69631],"disallowed"],[[69632,69702],"valid"],[[69703,69709],"valid",[],"NV8"],[[69710,69713],"disallowed"],[[69714,69733],"valid",[],"NV8"],[[69734,69743],"valid"],[[69744,69758],"disallowed"],[[69759,69759],"valid"],[[69760,69818],"valid"],[[69819,69820],"valid",[],"NV8"],[[69821,69821],"disallowed"],[[69822,69825],"valid",[],"NV8"],[[69826,69839],"disallowed"],[[69840,69864],"valid"],[[69865,69871],"disallowed"],[[69872,69881],"valid"],[[69882,69887],"disallowed"],[[69888,69940],"valid"],[[69941,69941],"disallowed"],[[69942,69951],"valid"],[[69952,69955],"valid",[],"NV8"],[[69956,69967],"disallowed"],[[69968,70003],"valid"],[[70004,70005],"valid",[],"NV8"],[[70006,70006],"valid"],[[70007,70015],"disallowed"],[[70016,70084],"valid"],[[70085,70088],"valid",[],"NV8"],[[70089,70089],"valid",[],"NV8"],[[70090,70092],"valid"],[[70093,70093],"valid",[],"NV8"],[[70094,70095],"disallowed"],[[70096,70105],"valid"],[[70106,70106],"valid"],[[70107,70107],"valid",[],"NV8"],[[70108,70108],"valid"],[[70109,70111],"valid",[],"NV8"],[[70112,70112],"disallowed"],[[70113,70132],"valid",[],"NV8"],[[70133,70143],"disallowed"],[[70144,70161],"valid"],[[70162,70162],"disallowed"],[[70163,70199],"valid"],[[70200,70205],"valid",[],"NV8"],[[70206,70271],"disallowed"],[[70272,70278],"valid"],[[70279,70279],"disallowed"],[[70280,70280],"valid"],[[70281,70281],"disallowed"],[[70282,70285],"valid"],[[70286,70286],"disallowed"],[[70287,70301],"valid"],[[70302,70302],"disallowed"],[[70303,70312],"valid"],[[70313,70313],"valid",[],"NV8"],[[70314,70319],"disallowed"],[[70320,70378],"valid"],[[70379,70383],"disallowed"],[[70384,70393],"valid"],[[70394,70399],"disallowed"],[[70400,70400],"valid"],[[70401,70403],"valid"],[[70404,70404],"disallowed"],[[70405,70412],"valid"],[[70413,70414],"disallowed"],[[70415,70416],"valid"],[[70417,70418],"disallowed"],[[70419,70440],"valid"],[[70441,70441],"disallowed"],[[70442,70448],"valid"],[[70449,70449],"disallowed"],[[70450,70451],"valid"],[[70452,70452],"disallowed"],[[70453,70457],"valid"],[[70458,70459],"disallowed"],[[70460,70468],"valid"],[[70469,70470],"disallowed"],[[70471,70472],"valid"],[[70473,70474],"disallowed"],[[70475,70477],"valid"],[[70478,70479],"disallowed"],[[70480,70480],"valid"],[[70481,70486],"disallowed"],[[70487,70487],"valid"],[[70488,70492],"disallowed"],[[70493,70499],"valid"],[[70500,70501],"disallowed"],[[70502,70508],"valid"],[[70509,70511],"disallowed"],[[70512,70516],"valid"],[[70517,70783],"disallowed"],[[70784,70853],"valid"],[[70854,70854],"valid",[],"NV8"],[[70855,70855],"valid"],[[70856,70863],"disallowed"],[[70864,70873],"valid"],[[70874,71039],"disallowed"],[[71040,71093],"valid"],[[71094,71095],"disallowed"],[[71096,71104],"valid"],[[71105,71113],"valid",[],"NV8"],[[71114,71127],"valid",[],"NV8"],[[71128,71133],"valid"],[[71134,71167],"disallowed"],[[71168,71232],"valid"],[[71233,71235],"valid",[],"NV8"],[[71236,71236],"valid"],[[71237,71247],"disallowed"],[[71248,71257],"valid"],[[71258,71295],"disallowed"],[[71296,71351],"valid"],[[71352,71359],"disallowed"],[[71360,71369],"valid"],[[71370,71423],"disallowed"],[[71424,71449],"valid"],[[71450,71452],"disallowed"],[[71453,71467],"valid"],[[71468,71471],"disallowed"],[[71472,71481],"valid"],[[71482,71487],"valid",[],"NV8"],[[71488,71839],"disallowed"],[[71840,71840],"mapped",[71872]],[[71841,71841],"mapped",[71873]],[[71842,71842],"mapped",[71874]],[[71843,71843],"mapped",[71875]],[[71844,71844],"mapped",[71876]],[[71845,71845],"mapped",[71877]],[[71846,71846],"mapped",[71878]],[[71847,71847],"mapped",[71879]],[[71848,71848],"mapped",[71880]],[[71849,71849],"mapped",[71881]],[[71850,71850],"mapped",[71882]],[[71851,71851],"mapped",[71883]],[[71852,71852],"mapped",[71884]],[[71853,71853],"mapped",[71885]],[[71854,71854],"mapped",[71886]],[[71855,71855],"mapped",[71887]],[[71856,71856],"mapped",[71888]],[[71857,71857],"mapped",[71889]],[[71858,71858],"mapped",[71890]],[[71859,71859],"mapped",[71891]],[[71860,71860],"mapped",[71892]],[[71861,71861],"mapped",[71893]],[[71862,71862],"mapped",[71894]],[[71863,71863],"mapped",[71895]],[[71864,71864],"mapped",[71896]],[[71865,71865],"mapped",[71897]],[[71866,71866],"mapped",[71898]],[[71867,71867],"mapped",[71899]],[[71868,71868],"mapped",[71900]],[[71869,71869],"mapped",[71901]],[[71870,71870],"mapped",[71902]],[[71871,71871],"mapped",[71903]],[[71872,71913],"valid"],[[71914,71922],"valid",[],"NV8"],[[71923,71934],"disallowed"],[[71935,71935],"valid"],[[71936,72383],"disallowed"],[[72384,72440],"valid"],[[72441,73727],"disallowed"],[[73728,74606],"valid"],[[74607,74648],"valid"],[[74649,74649],"valid"],[[74650,74751],"disallowed"],[[74752,74850],"valid",[],"NV8"],[[74851,74862],"valid",[],"NV8"],[[74863,74863],"disallowed"],[[74864,74867],"valid",[],"NV8"],[[74868,74868],"valid",[],"NV8"],[[74869,74879],"disallowed"],[[74880,75075],"valid"],[[75076,77823],"disallowed"],[[77824,78894],"valid"],[[78895,82943],"disallowed"],[[82944,83526],"valid"],[[83527,92159],"disallowed"],[[92160,92728],"valid"],[[92729,92735],"disallowed"],[[92736,92766],"valid"],[[92767,92767],"disallowed"],[[92768,92777],"valid"],[[92778,92781],"disallowed"],[[92782,92783],"valid",[],"NV8"],[[92784,92879],"disallowed"],[[92880,92909],"valid"],[[92910,92911],"disallowed"],[[92912,92916],"valid"],[[92917,92917],"valid",[],"NV8"],[[92918,92927],"disallowed"],[[92928,92982],"valid"],[[92983,92991],"valid",[],"NV8"],[[92992,92995],"valid"],[[92996,92997],"valid",[],"NV8"],[[92998,93007],"disallowed"],[[93008,93017],"valid"],[[93018,93018],"disallowed"],[[93019,93025],"valid",[],"NV8"],[[93026,93026],"disallowed"],[[93027,93047],"valid"],[[93048,93052],"disallowed"],[[93053,93071],"valid"],[[93072,93951],"disallowed"],[[93952,94020],"valid"],[[94021,94031],"disallowed"],[[94032,94078],"valid"],[[94079,94094],"disallowed"],[[94095,94111],"valid"],[[94112,110591],"disallowed"],[[110592,110593],"valid"],[[110594,113663],"disallowed"],[[113664,113770],"valid"],[[113771,113775],"disallowed"],[[113776,113788],"valid"],[[113789,113791],"disallowed"],[[113792,113800],"valid"],[[113801,113807],"disallowed"],[[113808,113817],"valid"],[[113818,113819],"disallowed"],[[113820,113820],"valid",[],"NV8"],[[113821,113822],"valid"],[[113823,113823],"valid",[],"NV8"],[[113824,113827],"ignored"],[[113828,118783],"disallowed"],[[118784,119029],"valid",[],"NV8"],[[119030,119039],"disallowed"],[[119040,119078],"valid",[],"NV8"],[[119079,119080],"disallowed"],[[119081,119081],"valid",[],"NV8"],[[119082,119133],"valid",[],"NV8"],[[119134,119134],"mapped",[119127,119141]],[[119135,119135],"mapped",[119128,119141]],[[119136,119136],"mapped",[119128,119141,119150]],[[119137,119137],"mapped",[119128,119141,119151]],[[119138,119138],"mapped",[119128,119141,119152]],[[119139,119139],"mapped",[119128,119141,119153]],[[119140,119140],"mapped",[119128,119141,119154]],[[119141,119154],"valid",[],"NV8"],[[119155,119162],"disallowed"],[[119163,119226],"valid",[],"NV8"],[[119227,119227],"mapped",[119225,119141]],[[119228,119228],"mapped",[119226,119141]],[[119229,119229],"mapped",[119225,119141,119150]],[[119230,119230],"mapped",[119226,119141,119150]],[[119231,119231],"mapped",[119225,119141,119151]],[[119232,119232],"mapped",[119226,119141,119151]],[[119233,119261],"valid",[],"NV8"],[[119262,119272],"valid",[],"NV8"],[[119273,119295],"disallowed"],[[119296,119365],"valid",[],"NV8"],[[119366,119551],"disallowed"],[[119552,119638],"valid",[],"NV8"],[[119639,119647],"disallowed"],[[119648,119665],"valid",[],"NV8"],[[119666,119807],"disallowed"],[[119808,119808],"mapped",[97]],[[119809,119809],"mapped",[98]],[[119810,119810],"mapped",[99]],[[119811,119811],"mapped",[100]],[[119812,119812],"mapped",[101]],[[119813,119813],"mapped",[102]],[[119814,119814],"mapped",[103]],[[119815,119815],"mapped",[104]],[[119816,119816],"mapped",[105]],[[119817,119817],"mapped",[106]],[[119818,119818],"mapped",[107]],[[119819,119819],"mapped",[108]],[[119820,119820],"mapped",[109]],[[119821,119821],"mapped",[110]],[[119822,119822],"mapped",[111]],[[119823,119823],"mapped",[112]],[[119824,119824],"mapped",[113]],[[119825,119825],"mapped",[114]],[[119826,119826],"mapped",[115]],[[119827,119827],"mapped",[116]],[[119828,119828],"mapped",[117]],[[119829,119829],"mapped",[118]],[[119830,119830],"mapped",[119]],[[119831,119831],"mapped",[120]],[[119832,119832],"mapped",[121]],[[119833,119833],"mapped",[122]],[[119834,119834],"mapped",[97]],[[119835,119835],"mapped",[98]],[[119836,119836],"mapped",[99]],[[119837,119837],"mapped",[100]],[[119838,119838],"mapped",[101]],[[119839,119839],"mapped",[102]],[[119840,119840],"mapped",[103]],[[119841,119841],"mapped",[104]],[[119842,119842],"mapped",[105]],[[119843,119843],"mapped",[106]],[[119844,119844],"mapped",[107]],[[119845,119845],"mapped",[108]],[[119846,119846],"mapped",[109]],[[119847,119847],"mapped",[110]],[[119848,119848],"mapped",[111]],[[119849,119849],"mapped",[112]],[[119850,119850],"mapped",[113]],[[119851,119851],"mapped",[114]],[[119852,119852],"mapped",[115]],[[119853,119853],"mapped",[116]],[[119854,119854],"mapped",[117]],[[119855,119855],"mapped",[118]],[[119856,119856],"mapped",[119]],[[119857,119857],"mapped",[120]],[[119858,119858],"mapped",[121]],[[119859,119859],"mapped",[122]],[[119860,119860],"mapped",[97]],[[119861,119861],"mapped",[98]],[[119862,119862],"mapped",[99]],[[119863,119863],"mapped",[100]],[[119864,119864],"mapped",[101]],[[119865,119865],"mapped",[102]],[[119866,119866],"mapped",[103]],[[119867,119867],"mapped",[104]],[[119868,119868],"mapped",[105]],[[119869,119869],"mapped",[106]],[[119870,119870],"mapped",[107]],[[119871,119871],"mapped",[108]],[[119872,119872],"mapped",[109]],[[119873,119873],"mapped",[110]],[[119874,119874],"mapped",[111]],[[119875,119875],"mapped",[112]],[[119876,119876],"mapped",[113]],[[119877,119877],"mapped",[114]],[[119878,119878],"mapped",[115]],[[119879,119879],"mapped",[116]],[[119880,119880],"mapped",[117]],[[119881,119881],"mapped",[118]],[[119882,119882],"mapped",[119]],[[119883,119883],"mapped",[120]],[[119884,119884],"mapped",[121]],[[119885,119885],"mapped",[122]],[[119886,119886],"mapped",[97]],[[119887,119887],"mapped",[98]],[[119888,119888],"mapped",[99]],[[119889,119889],"mapped",[100]],[[119890,119890],"mapped",[101]],[[119891,119891],"mapped",[102]],[[119892,119892],"mapped",[103]],[[119893,119893],"disallowed"],[[119894,119894],"mapped",[105]],[[119895,119895],"mapped",[106]],[[119896,119896],"mapped",[107]],[[119897,119897],"mapped",[108]],[[119898,119898],"mapped",[109]],[[119899,119899],"mapped",[110]],[[119900,119900],"mapped",[111]],[[119901,119901],"mapped",[112]],[[119902,119902],"mapped",[113]],[[119903,119903],"mapped",[114]],[[119904,119904],"mapped",[115]],[[119905,119905],"mapped",[116]],[[119906,119906],"mapped",[117]],[[119907,119907],"mapped",[118]],[[119908,119908],"mapped",[119]],[[119909,119909],"mapped",[120]],[[119910,119910],"mapped",[121]],[[119911,119911],"mapped",[122]],[[119912,119912],"mapped",[97]],[[119913,119913],"mapped",[98]],[[119914,119914],"mapped",[99]],[[119915,119915],"mapped",[100]],[[119916,119916],"mapped",[101]],[[119917,119917],"mapped",[102]],[[119918,119918],"mapped",[103]],[[119919,119919],"mapped",[104]],[[119920,119920],"mapped",[105]],[[119921,119921],"mapped",[106]],[[119922,119922],"mapped",[107]],[[119923,119923],"mapped",[108]],[[119924,119924],"mapped",[109]],[[119925,119925],"mapped",[110]],[[119926,119926],"mapped",[111]],[[119927,119927],"mapped",[112]],[[119928,119928],"mapped",[113]],[[119929,119929],"mapped",[114]],[[119930,119930],"mapped",[115]],[[119931,119931],"mapped",[116]],[[119932,119932],"mapped",[117]],[[119933,119933],"mapped",[118]],[[119934,119934],"mapped",[119]],[[119935,119935],"mapped",[120]],[[119936,119936],"mapped",[121]],[[119937,119937],"mapped",[122]],[[119938,119938],"mapped",[97]],[[119939,119939],"mapped",[98]],[[119940,119940],"mapped",[99]],[[119941,119941],"mapped",[100]],[[119942,119942],"mapped",[101]],[[119943,119943],"mapped",[102]],[[119944,119944],"mapped",[103]],[[119945,119945],"mapped",[104]],[[119946,119946],"mapped",[105]],[[119947,119947],"mapped",[106]],[[119948,119948],"mapped",[107]],[[119949,119949],"mapped",[108]],[[119950,119950],"mapped",[109]],[[119951,119951],"mapped",[110]],[[119952,119952],"mapped",[111]],[[119953,119953],"mapped",[112]],[[119954,119954],"mapped",[113]],[[119955,119955],"mapped",[114]],[[119956,119956],"mapped",[115]],[[119957,119957],"mapped",[116]],[[119958,119958],"mapped",[117]],[[119959,119959],"mapped",[118]],[[119960,119960],"mapped",[119]],[[119961,119961],"mapped",[120]],[[119962,119962],"mapped",[121]],[[119963,119963],"mapped",[122]],[[119964,119964],"mapped",[97]],[[119965,119965],"disallowed"],[[119966,119966],"mapped",[99]],[[119967,119967],"mapped",[100]],[[119968,119969],"disallowed"],[[119970,119970],"mapped",[103]],[[119971,119972],"disallowed"],[[119973,119973],"mapped",[106]],[[119974,119974],"mapped",[107]],[[119975,119976],"disallowed"],[[119977,119977],"mapped",[110]],[[119978,119978],"mapped",[111]],[[119979,119979],"mapped",[112]],[[119980,119980],"mapped",[113]],[[119981,119981],"disallowed"],[[119982,119982],"mapped",[115]],[[119983,119983],"mapped",[116]],[[119984,119984],"mapped",[117]],[[119985,119985],"mapped",[118]],[[119986,119986],"mapped",[119]],[[119987,119987],"mapped",[120]],[[119988,119988],"mapped",[121]],[[119989,119989],"mapped",[122]],[[119990,119990],"mapped",[97]],[[119991,119991],"mapped",[98]],[[119992,119992],"mapped",[99]],[[119993,119993],"mapped",[100]],[[119994,119994],"disallowed"],[[119995,119995],"mapped",[102]],[[119996,119996],"disallowed"],[[119997,119997],"mapped",[104]],[[119998,119998],"mapped",[105]],[[119999,119999],"mapped",[106]],[[120000,120000],"mapped",[107]],[[120001,120001],"mapped",[108]],[[120002,120002],"mapped",[109]],[[120003,120003],"mapped",[110]],[[120004,120004],"disallowed"],[[120005,120005],"mapped",[112]],[[120006,120006],"mapped",[113]],[[120007,120007],"mapped",[114]],[[120008,120008],"mapped",[115]],[[120009,120009],"mapped",[116]],[[120010,120010],"mapped",[117]],[[120011,120011],"mapped",[118]],[[120012,120012],"mapped",[119]],[[120013,120013],"mapped",[120]],[[120014,120014],"mapped",[121]],[[120015,120015],"mapped",[122]],[[120016,120016],"mapped",[97]],[[120017,120017],"mapped",[98]],[[120018,120018],"mapped",[99]],[[120019,120019],"mapped",[100]],[[120020,120020],"mapped",[101]],[[120021,120021],"mapped",[102]],[[120022,120022],"mapped",[103]],[[120023,120023],"mapped",[104]],[[120024,120024],"mapped",[105]],[[120025,120025],"mapped",[106]],[[120026,120026],"mapped",[107]],[[120027,120027],"mapped",[108]],[[120028,120028],"mapped",[109]],[[120029,120029],"mapped",[110]],[[120030,120030],"mapped",[111]],[[120031,120031],"mapped",[112]],[[120032,120032],"mapped",[113]],[[120033,120033],"mapped",[114]],[[120034,120034],"mapped",[115]],[[120035,120035],"mapped",[116]],[[120036,120036],"mapped",[117]],[[120037,120037],"mapped",[118]],[[120038,120038],"mapped",[119]],[[120039,120039],"mapped",[120]],[[120040,120040],"mapped",[121]],[[120041,120041],"mapped",[122]],[[120042,120042],"mapped",[97]],[[120043,120043],"mapped",[98]],[[120044,120044],"mapped",[99]],[[120045,120045],"mapped",[100]],[[120046,120046],"mapped",[101]],[[120047,120047],"mapped",[102]],[[120048,120048],"mapped",[103]],[[120049,120049],"mapped",[104]],[[120050,120050],"mapped",[105]],[[120051,120051],"mapped",[106]],[[120052,120052],"mapped",[107]],[[120053,120053],"mapped",[108]],[[120054,120054],"mapped",[109]],[[120055,120055],"mapped",[110]],[[120056,120056],"mapped",[111]],[[120057,120057],"mapped",[112]],[[120058,120058],"mapped",[113]],[[120059,120059],"mapped",[114]],[[120060,120060],"mapped",[115]],[[120061,120061],"mapped",[116]],[[120062,120062],"mapped",[117]],[[120063,120063],"mapped",[118]],[[120064,120064],"mapped",[119]],[[120065,120065],"mapped",[120]],[[120066,120066],"mapped",[121]],[[120067,120067],"mapped",[122]],[[120068,120068],"mapped",[97]],[[120069,120069],"mapped",[98]],[[120070,120070],"disallowed"],[[120071,120071],"mapped",[100]],[[120072,120072],"mapped",[101]],[[120073,120073],"mapped",[102]],[[120074,120074],"mapped",[103]],[[120075,120076],"disallowed"],[[120077,120077],"mapped",[106]],[[120078,120078],"mapped",[107]],[[120079,120079],"mapped",[108]],[[120080,120080],"mapped",[109]],[[120081,120081],"mapped",[110]],[[120082,120082],"mapped",[111]],[[120083,120083],"mapped",[112]],[[120084,120084],"mapped",[113]],[[120085,120085],"disallowed"],[[120086,120086],"mapped",[115]],[[120087,120087],"mapped",[116]],[[120088,120088],"mapped",[117]],[[120089,120089],"mapped",[118]],[[120090,120090],"mapped",[119]],[[120091,120091],"mapped",[120]],[[120092,120092],"mapped",[121]],[[120093,120093],"disallowed"],[[120094,120094],"mapped",[97]],[[120095,120095],"mapped",[98]],[[120096,120096],"mapped",[99]],[[120097,120097],"mapped",[100]],[[120098,120098],"mapped",[101]],[[120099,120099],"mapped",[102]],[[120100,120100],"mapped",[103]],[[120101,120101],"mapped",[104]],[[120102,120102],"mapped",[105]],[[120103,120103],"mapped",[106]],[[120104,120104],"mapped",[107]],[[120105,120105],"mapped",[108]],[[120106,120106],"mapped",[109]],[[120107,120107],"mapped",[110]],[[120108,120108],"mapped",[111]],[[120109,120109],"mapped",[112]],[[120110,120110],"mapped",[113]],[[120111,120111],"mapped",[114]],[[120112,120112],"mapped",[115]],[[120113,120113],"mapped",[116]],[[120114,120114],"mapped",[117]],[[120115,120115],"mapped",[118]],[[120116,120116],"mapped",[119]],[[120117,120117],"mapped",[120]],[[120118,120118],"mapped",[121]],[[120119,120119],"mapped",[122]],[[120120,120120],"mapped",[97]],[[120121,120121],"mapped",[98]],[[120122,120122],"disallowed"],[[120123,120123],"mapped",[100]],[[120124,120124],"mapped",[101]],[[120125,120125],"mapped",[102]],[[120126,120126],"mapped",[103]],[[120127,120127],"disallowed"],[[120128,120128],"mapped",[105]],[[120129,120129],"mapped",[106]],[[120130,120130],"mapped",[107]],[[120131,120131],"mapped",[108]],[[120132,120132],"mapped",[109]],[[120133,120133],"disallowed"],[[120134,120134],"mapped",[111]],[[120135,120137],"disallowed"],[[120138,120138],"mapped",[115]],[[120139,120139],"mapped",[116]],[[120140,120140],"mapped",[117]],[[120141,120141],"mapped",[118]],[[120142,120142],"mapped",[119]],[[120143,120143],"mapped",[120]],[[120144,120144],"mapped",[121]],[[120145,120145],"disallowed"],[[120146,120146],"mapped",[97]],[[120147,120147],"mapped",[98]],[[120148,120148],"mapped",[99]],[[120149,120149],"mapped",[100]],[[120150,120150],"mapped",[101]],[[120151,120151],"mapped",[102]],[[120152,120152],"mapped",[103]],[[120153,120153],"mapped",[104]],[[120154,120154],"mapped",[105]],[[120155,120155],"mapped",[106]],[[120156,120156],"mapped",[107]],[[120157,120157],"mapped",[108]],[[120158,120158],"mapped",[109]],[[120159,120159],"mapped",[110]],[[120160,120160],"mapped",[111]],[[120161,120161],"mapped",[112]],[[120162,120162],"mapped",[113]],[[120163,120163],"mapped",[114]],[[120164,120164],"mapped",[115]],[[120165,120165],"mapped",[116]],[[120166,120166],"mapped",[117]],[[120167,120167],"mapped",[118]],[[120168,120168],"mapped",[119]],[[120169,120169],"mapped",[120]],[[120170,120170],"mapped",[121]],[[120171,120171],"mapped",[122]],[[120172,120172],"mapped",[97]],[[120173,120173],"mapped",[98]],[[120174,120174],"mapped",[99]],[[120175,120175],"mapped",[100]],[[120176,120176],"mapped",[101]],[[120177,120177],"mapped",[102]],[[120178,120178],"mapped",[103]],[[120179,120179],"mapped",[104]],[[120180,120180],"mapped",[105]],[[120181,120181],"mapped",[106]],[[120182,120182],"mapped",[107]],[[120183,120183],"mapped",[108]],[[120184,120184],"mapped",[109]],[[120185,120185],"mapped",[110]],[[120186,120186],"mapped",[111]],[[120187,120187],"mapped",[112]],[[120188,120188],"mapped",[113]],[[120189,120189],"mapped",[114]],[[120190,120190],"mapped",[115]],[[120191,120191],"mapped",[116]],[[120192,120192],"mapped",[117]],[[120193,120193],"mapped",[118]],[[120194,120194],"mapped",[119]],[[120195,120195],"mapped",[120]],[[120196,120196],"mapped",[121]],[[120197,120197],"mapped",[122]],[[120198,120198],"mapped",[97]],[[120199,120199],"mapped",[98]],[[120200,120200],"mapped",[99]],[[120201,120201],"mapped",[100]],[[120202,120202],"mapped",[101]],[[120203,120203],"mapped",[102]],[[120204,120204],"mapped",[103]],[[120205,120205],"mapped",[104]],[[120206,120206],"mapped",[105]],[[120207,120207],"mapped",[106]],[[120208,120208],"mapped",[107]],[[120209,120209],"mapped",[108]],[[120210,120210],"mapped",[109]],[[120211,120211],"mapped",[110]],[[120212,120212],"mapped",[111]],[[120213,120213],"mapped",[112]],[[120214,120214],"mapped",[113]],[[120215,120215],"mapped",[114]],[[120216,120216],"mapped",[115]],[[120217,120217],"mapped",[116]],[[120218,120218],"mapped",[117]],[[120219,120219],"mapped",[118]],[[120220,120220],"mapped",[119]],[[120221,120221],"mapped",[120]],[[120222,120222],"mapped",[121]],[[120223,120223],"mapped",[122]],[[120224,120224],"mapped",[97]],[[120225,120225],"mapped",[98]],[[120226,120226],"mapped",[99]],[[120227,120227],"mapped",[100]],[[120228,120228],"mapped",[101]],[[120229,120229],"mapped",[102]],[[120230,120230],"mapped",[103]],[[120231,120231],"mapped",[104]],[[120232,120232],"mapped",[105]],[[120233,120233],"mapped",[106]],[[120234,120234],"mapped",[107]],[[120235,120235],"mapped",[108]],[[120236,120236],"mapped",[109]],[[120237,120237],"mapped",[110]],[[120238,120238],"mapped",[111]],[[120239,120239],"mapped",[112]],[[120240,120240],"mapped",[113]],[[120241,120241],"mapped",[114]],[[120242,120242],"mapped",[115]],[[120243,120243],"mapped",[116]],[[120244,120244],"mapped",[117]],[[120245,120245],"mapped",[118]],[[120246,120246],"mapped",[119]],[[120247,120247],"mapped",[120]],[[120248,120248],"mapped",[121]],[[120249,120249],"mapped",[122]],[[120250,120250],"mapped",[97]],[[120251,120251],"mapped",[98]],[[120252,120252],"mapped",[99]],[[120253,120253],"mapped",[100]],[[120254,120254],"mapped",[101]],[[120255,120255],"mapped",[102]],[[120256,120256],"mapped",[103]],[[120257,120257],"mapped",[104]],[[120258,120258],"mapped",[105]],[[120259,120259],"mapped",[106]],[[120260,120260],"mapped",[107]],[[120261,120261],"mapped",[108]],[[120262,120262],"mapped",[109]],[[120263,120263],"mapped",[110]],[[120264,120264],"mapped",[111]],[[120265,120265],"mapped",[112]],[[120266,120266],"mapped",[113]],[[120267,120267],"mapped",[114]],[[120268,120268],"mapped",[115]],[[120269,120269],"mapped",[116]],[[120270,120270],"mapped",[117]],[[120271,120271],"mapped",[118]],[[120272,120272],"mapped",[119]],[[120273,120273],"mapped",[120]],[[120274,120274],"mapped",[121]],[[120275,120275],"mapped",[122]],[[120276,120276],"mapped",[97]],[[120277,120277],"mapped",[98]],[[120278,120278],"mapped",[99]],[[120279,120279],"mapped",[100]],[[120280,120280],"mapped",[101]],[[120281,120281],"mapped",[102]],[[120282,120282],"mapped",[103]],[[120283,120283],"mapped",[104]],[[120284,120284],"mapped",[105]],[[120285,120285],"mapped",[106]],[[120286,120286],"mapped",[107]],[[120287,120287],"mapped",[108]],[[120288,120288],"mapped",[109]],[[120289,120289],"mapped",[110]],[[120290,120290],"mapped",[111]],[[120291,120291],"mapped",[112]],[[120292,120292],"mapped",[113]],[[120293,120293],"mapped",[114]],[[120294,120294],"mapped",[115]],[[120295,120295],"mapped",[116]],[[120296,120296],"mapped",[117]],[[120297,120297],"mapped",[118]],[[120298,120298],"mapped",[119]],[[120299,120299],"mapped",[120]],[[120300,120300],"mapped",[121]],[[120301,120301],"mapped",[122]],[[120302,120302],"mapped",[97]],[[120303,120303],"mapped",[98]],[[120304,120304],"mapped",[99]],[[120305,120305],"mapped",[100]],[[120306,120306],"mapped",[101]],[[120307,120307],"mapped",[102]],[[120308,120308],"mapped",[103]],[[120309,120309],"mapped",[104]],[[120310,120310],"mapped",[105]],[[120311,120311],"mapped",[106]],[[120312,120312],"mapped",[107]],[[120313,120313],"mapped",[108]],[[120314,120314],"mapped",[109]],[[120315,120315],"mapped",[110]],[[120316,120316],"mapped",[111]],[[120317,120317],"mapped",[112]],[[120318,120318],"mapped",[113]],[[120319,120319],"mapped",[114]],[[120320,120320],"mapped",[115]],[[120321,120321],"mapped",[116]],[[120322,120322],"mapped",[117]],[[120323,120323],"mapped",[118]],[[120324,120324],"mapped",[119]],[[120325,120325],"mapped",[120]],[[120326,120326],"mapped",[121]],[[120327,120327],"mapped",[122]],[[120328,120328],"mapped",[97]],[[120329,120329],"mapped",[98]],[[120330,120330],"mapped",[99]],[[120331,120331],"mapped",[100]],[[120332,120332],"mapped",[101]],[[120333,120333],"mapped",[102]],[[120334,120334],"mapped",[103]],[[120335,120335],"mapped",[104]],[[120336,120336],"mapped",[105]],[[120337,120337],"mapped",[106]],[[120338,120338],"mapped",[107]],[[120339,120339],"mapped",[108]],[[120340,120340],"mapped",[109]],[[120341,120341],"mapped",[110]],[[120342,120342],"mapped",[111]],[[120343,120343],"mapped",[112]],[[120344,120344],"mapped",[113]],[[120345,120345],"mapped",[114]],[[120346,120346],"mapped",[115]],[[120347,120347],"mapped",[116]],[[120348,120348],"mapped",[117]],[[120349,120349],"mapped",[118]],[[120350,120350],"mapped",[119]],[[120351,120351],"mapped",[120]],[[120352,120352],"mapped",[121]],[[120353,120353],"mapped",[122]],[[120354,120354],"mapped",[97]],[[120355,120355],"mapped",[98]],[[120356,120356],"mapped",[99]],[[120357,120357],"mapped",[100]],[[120358,120358],"mapped",[101]],[[120359,120359],"mapped",[102]],[[120360,120360],"mapped",[103]],[[120361,120361],"mapped",[104]],[[120362,120362],"mapped",[105]],[[120363,120363],"mapped",[106]],[[120364,120364],"mapped",[107]],[[120365,120365],"mapped",[108]],[[120366,120366],"mapped",[109]],[[120367,120367],"mapped",[110]],[[120368,120368],"mapped",[111]],[[120369,120369],"mapped",[112]],[[120370,120370],"mapped",[113]],[[120371,120371],"mapped",[114]],[[120372,120372],"mapped",[115]],[[120373,120373],"mapped",[116]],[[120374,120374],"mapped",[117]],[[120375,120375],"mapped",[118]],[[120376,120376],"mapped",[119]],[[120377,120377],"mapped",[120]],[[120378,120378],"mapped",[121]],[[120379,120379],"mapped",[122]],[[120380,120380],"mapped",[97]],[[120381,120381],"mapped",[98]],[[120382,120382],"mapped",[99]],[[120383,120383],"mapped",[100]],[[120384,120384],"mapped",[101]],[[120385,120385],"mapped",[102]],[[120386,120386],"mapped",[103]],[[120387,120387],"mapped",[104]],[[120388,120388],"mapped",[105]],[[120389,120389],"mapped",[106]],[[120390,120390],"mapped",[107]],[[120391,120391],"mapped",[108]],[[120392,120392],"mapped",[109]],[[120393,120393],"mapped",[110]],[[120394,120394],"mapped",[111]],[[120395,120395],"mapped",[112]],[[120396,120396],"mapped",[113]],[[120397,120397],"mapped",[114]],[[120398,120398],"mapped",[115]],[[120399,120399],"mapped",[116]],[[120400,120400],"mapped",[117]],[[120401,120401],"mapped",[118]],[[120402,120402],"mapped",[119]],[[120403,120403],"mapped",[120]],[[120404,120404],"mapped",[121]],[[120405,120405],"mapped",[122]],[[120406,120406],"mapped",[97]],[[120407,120407],"mapped",[98]],[[120408,120408],"mapped",[99]],[[120409,120409],"mapped",[100]],[[120410,120410],"mapped",[101]],[[120411,120411],"mapped",[102]],[[120412,120412],"mapped",[103]],[[120413,120413],"mapped",[104]],[[120414,120414],"mapped",[105]],[[120415,120415],"mapped",[106]],[[120416,120416],"mapped",[107]],[[120417,120417],"mapped",[108]],[[120418,120418],"mapped",[109]],[[120419,120419],"mapped",[110]],[[120420,120420],"mapped",[111]],[[120421,120421],"mapped",[112]],[[120422,120422],"mapped",[113]],[[120423,120423],"mapped",[114]],[[120424,120424],"mapped",[115]],[[120425,120425],"mapped",[116]],[[120426,120426],"mapped",[117]],[[120427,120427],"mapped",[118]],[[120428,120428],"mapped",[119]],[[120429,120429],"mapped",[120]],[[120430,120430],"mapped",[121]],[[120431,120431],"mapped",[122]],[[120432,120432],"mapped",[97]],[[120433,120433],"mapped",[98]],[[120434,120434],"mapped",[99]],[[120435,120435],"mapped",[100]],[[120436,120436],"mapped",[101]],[[120437,120437],"mapped",[102]],[[120438,120438],"mapped",[103]],[[120439,120439],"mapped",[104]],[[120440,120440],"mapped",[105]],[[120441,120441],"mapped",[106]],[[120442,120442],"mapped",[107]],[[120443,120443],"mapped",[108]],[[120444,120444],"mapped",[109]],[[120445,120445],"mapped",[110]],[[120446,120446],"mapped",[111]],[[120447,120447],"mapped",[112]],[[120448,120448],"mapped",[113]],[[120449,120449],"mapped",[114]],[[120450,120450],"mapped",[115]],[[120451,120451],"mapped",[116]],[[120452,120452],"mapped",[117]],[[120453,120453],"mapped",[118]],[[120454,120454],"mapped",[119]],[[120455,120455],"mapped",[120]],[[120456,120456],"mapped",[121]],[[120457,120457],"mapped",[122]],[[120458,120458],"mapped",[97]],[[120459,120459],"mapped",[98]],[[120460,120460],"mapped",[99]],[[120461,120461],"mapped",[100]],[[120462,120462],"mapped",[101]],[[120463,120463],"mapped",[102]],[[120464,120464],"mapped",[103]],[[120465,120465],"mapped",[104]],[[120466,120466],"mapped",[105]],[[120467,120467],"mapped",[106]],[[120468,120468],"mapped",[107]],[[120469,120469],"mapped",[108]],[[120470,120470],"mapped",[109]],[[120471,120471],"mapped",[110]],[[120472,120472],"mapped",[111]],[[120473,120473],"mapped",[112]],[[120474,120474],"mapped",[113]],[[120475,120475],"mapped",[114]],[[120476,120476],"mapped",[115]],[[120477,120477],"mapped",[116]],[[120478,120478],"mapped",[117]],[[120479,120479],"mapped",[118]],[[120480,120480],"mapped",[119]],[[120481,120481],"mapped",[120]],[[120482,120482],"mapped",[121]],[[120483,120483],"mapped",[122]],[[120484,120484],"mapped",[305]],[[120485,120485],"mapped",[567]],[[120486,120487],"disallowed"],[[120488,120488],"mapped",[945]],[[120489,120489],"mapped",[946]],[[120490,120490],"mapped",[947]],[[120491,120491],"mapped",[948]],[[120492,120492],"mapped",[949]],[[120493,120493],"mapped",[950]],[[120494,120494],"mapped",[951]],[[120495,120495],"mapped",[952]],[[120496,120496],"mapped",[953]],[[120497,120497],"mapped",[954]],[[120498,120498],"mapped",[955]],[[120499,120499],"mapped",[956]],[[120500,120500],"mapped",[957]],[[120501,120501],"mapped",[958]],[[120502,120502],"mapped",[959]],[[120503,120503],"mapped",[960]],[[120504,120504],"mapped",[961]],[[120505,120505],"mapped",[952]],[[120506,120506],"mapped",[963]],[[120507,120507],"mapped",[964]],[[120508,120508],"mapped",[965]],[[120509,120509],"mapped",[966]],[[120510,120510],"mapped",[967]],[[120511,120511],"mapped",[968]],[[120512,120512],"mapped",[969]],[[120513,120513],"mapped",[8711]],[[120514,120514],"mapped",[945]],[[120515,120515],"mapped",[946]],[[120516,120516],"mapped",[947]],[[120517,120517],"mapped",[948]],[[120518,120518],"mapped",[949]],[[120519,120519],"mapped",[950]],[[120520,120520],"mapped",[951]],[[120521,120521],"mapped",[952]],[[120522,120522],"mapped",[953]],[[120523,120523],"mapped",[954]],[[120524,120524],"mapped",[955]],[[120525,120525],"mapped",[956]],[[120526,120526],"mapped",[957]],[[120527,120527],"mapped",[958]],[[120528,120528],"mapped",[959]],[[120529,120529],"mapped",[960]],[[120530,120530],"mapped",[961]],[[120531,120532],"mapped",[963]],[[120533,120533],"mapped",[964]],[[120534,120534],"mapped",[965]],[[120535,120535],"mapped",[966]],[[120536,120536],"mapped",[967]],[[120537,120537],"mapped",[968]],[[120538,120538],"mapped",[969]],[[120539,120539],"mapped",[8706]],[[120540,120540],"mapped",[949]],[[120541,120541],"mapped",[952]],[[120542,120542],"mapped",[954]],[[120543,120543],"mapped",[966]],[[120544,120544],"mapped",[961]],[[120545,120545],"mapped",[960]],[[120546,120546],"mapped",[945]],[[120547,120547],"mapped",[946]],[[120548,120548],"mapped",[947]],[[120549,120549],"mapped",[948]],[[120550,120550],"mapped",[949]],[[120551,120551],"mapped",[950]],[[120552,120552],"mapped",[951]],[[120553,120553],"mapped",[952]],[[120554,120554],"mapped",[953]],[[120555,120555],"mapped",[954]],[[120556,120556],"mapped",[955]],[[120557,120557],"mapped",[956]],[[120558,120558],"mapped",[957]],[[120559,120559],"mapped",[958]],[[120560,120560],"mapped",[959]],[[120561,120561],"mapped",[960]],[[120562,120562],"mapped",[961]],[[120563,120563],"mapped",[952]],[[120564,120564],"mapped",[963]],[[120565,120565],"mapped",[964]],[[120566,120566],"mapped",[965]],[[120567,120567],"mapped",[966]],[[120568,120568],"mapped",[967]],[[120569,120569],"mapped",[968]],[[120570,120570],"mapped",[969]],[[120571,120571],"mapped",[8711]],[[120572,120572],"mapped",[945]],[[120573,120573],"mapped",[946]],[[120574,120574],"mapped",[947]],[[120575,120575],"mapped",[948]],[[120576,120576],"mapped",[949]],[[120577,120577],"mapped",[950]],[[120578,120578],"mapped",[951]],[[120579,120579],"mapped",[952]],[[120580,120580],"mapped",[953]],[[120581,120581],"mapped",[954]],[[120582,120582],"mapped",[955]],[[120583,120583],"mapped",[956]],[[120584,120584],"mapped",[957]],[[120585,120585],"mapped",[958]],[[120586,120586],"mapped",[959]],[[120587,120587],"mapped",[960]],[[120588,120588],"mapped",[961]],[[120589,120590],"mapped",[963]],[[120591,120591],"mapped",[964]],[[120592,120592],"mapped",[965]],[[120593,120593],"mapped",[966]],[[120594,120594],"mapped",[967]],[[120595,120595],"mapped",[968]],[[120596,120596],"mapped",[969]],[[120597,120597],"mapped",[8706]],[[120598,120598],"mapped",[949]],[[120599,120599],"mapped",[952]],[[120600,120600],"mapped",[954]],[[120601,120601],"mapped",[966]],[[120602,120602],"mapped",[961]],[[120603,120603],"mapped",[960]],[[120604,120604],"mapped",[945]],[[120605,120605],"mapped",[946]],[[120606,120606],"mapped",[947]],[[120607,120607],"mapped",[948]],[[120608,120608],"mapped",[949]],[[120609,120609],"mapped",[950]],[[120610,120610],"mapped",[951]],[[120611,120611],"mapped",[952]],[[120612,120612],"mapped",[953]],[[120613,120613],"mapped",[954]],[[120614,120614],"mapped",[955]],[[120615,120615],"mapped",[956]],[[120616,120616],"mapped",[957]],[[120617,120617],"mapped",[958]],[[120618,120618],"mapped",[959]],[[120619,120619],"mapped",[960]],[[120620,120620],"mapped",[961]],[[120621,120621],"mapped",[952]],[[120622,120622],"mapped",[963]],[[120623,120623],"mapped",[964]],[[120624,120624],"mapped",[965]],[[120625,120625],"mapped",[966]],[[120626,120626],"mapped",[967]],[[120627,120627],"mapped",[968]],[[120628,120628],"mapped",[969]],[[120629,120629],"mapped",[8711]],[[120630,120630],"mapped",[945]],[[120631,120631],"mapped",[946]],[[120632,120632],"mapped",[947]],[[120633,120633],"mapped",[948]],[[120634,120634],"mapped",[949]],[[120635,120635],"mapped",[950]],[[120636,120636],"mapped",[951]],[[120637,120637],"mapped",[952]],[[120638,120638],"mapped",[953]],[[120639,120639],"mapped",[954]],[[120640,120640],"mapped",[955]],[[120641,120641],"mapped",[956]],[[120642,120642],"mapped",[957]],[[120643,120643],"mapped",[958]],[[120644,120644],"mapped",[959]],[[120645,120645],"mapped",[960]],[[120646,120646],"mapped",[961]],[[120647,120648],"mapped",[963]],[[120649,120649],"mapped",[964]],[[120650,120650],"mapped",[965]],[[120651,120651],"mapped",[966]],[[120652,120652],"mapped",[967]],[[120653,120653],"mapped",[968]],[[120654,120654],"mapped",[969]],[[120655,120655],"mapped",[8706]],[[120656,120656],"mapped",[949]],[[120657,120657],"mapped",[952]],[[120658,120658],"mapped",[954]],[[120659,120659],"mapped",[966]],[[120660,120660],"mapped",[961]],[[120661,120661],"mapped",[960]],[[120662,120662],"mapped",[945]],[[120663,120663],"mapped",[946]],[[120664,120664],"mapped",[947]],[[120665,120665],"mapped",[948]],[[120666,120666],"mapped",[949]],[[120667,120667],"mapped",[950]],[[120668,120668],"mapped",[951]],[[120669,120669],"mapped",[952]],[[120670,120670],"mapped",[953]],[[120671,120671],"mapped",[954]],[[120672,120672],"mapped",[955]],[[120673,120673],"mapped",[956]],[[120674,120674],"mapped",[957]],[[120675,120675],"mapped",[958]],[[120676,120676],"mapped",[959]],[[120677,120677],"mapped",[960]],[[120678,120678],"mapped",[961]],[[120679,120679],"mapped",[952]],[[120680,120680],"mapped",[963]],[[120681,120681],"mapped",[964]],[[120682,120682],"mapped",[965]],[[120683,120683],"mapped",[966]],[[120684,120684],"mapped",[967]],[[120685,120685],"mapped",[968]],[[120686,120686],"mapped",[969]],[[120687,120687],"mapped",[8711]],[[120688,120688],"mapped",[945]],[[120689,120689],"mapped",[946]],[[120690,120690],"mapped",[947]],[[120691,120691],"mapped",[948]],[[120692,120692],"mapped",[949]],[[120693,120693],"mapped",[950]],[[120694,120694],"mapped",[951]],[[120695,120695],"mapped",[952]],[[120696,120696],"mapped",[953]],[[120697,120697],"mapped",[954]],[[120698,120698],"mapped",[955]],[[120699,120699],"mapped",[956]],[[120700,120700],"mapped",[957]],[[120701,120701],"mapped",[958]],[[120702,120702],"mapped",[959]],[[120703,120703],"mapped",[960]],[[120704,120704],"mapped",[961]],[[120705,120706],"mapped",[963]],[[120707,120707],"mapped",[964]],[[120708,120708],"mapped",[965]],[[120709,120709],"mapped",[966]],[[120710,120710],"mapped",[967]],[[120711,120711],"mapped",[968]],[[120712,120712],"mapped",[969]],[[120713,120713],"mapped",[8706]],[[120714,120714],"mapped",[949]],[[120715,120715],"mapped",[952]],[[120716,120716],"mapped",[954]],[[120717,120717],"mapped",[966]],[[120718,120718],"mapped",[961]],[[120719,120719],"mapped",[960]],[[120720,120720],"mapped",[945]],[[120721,120721],"mapped",[946]],[[120722,120722],"mapped",[947]],[[120723,120723],"mapped",[948]],[[120724,120724],"mapped",[949]],[[120725,120725],"mapped",[950]],[[120726,120726],"mapped",[951]],[[120727,120727],"mapped",[952]],[[120728,120728],"mapped",[953]],[[120729,120729],"mapped",[954]],[[120730,120730],"mapped",[955]],[[120731,120731],"mapped",[956]],[[120732,120732],"mapped",[957]],[[120733,120733],"mapped",[958]],[[120734,120734],"mapped",[959]],[[120735,120735],"mapped",[960]],[[120736,120736],"mapped",[961]],[[120737,120737],"mapped",[952]],[[120738,120738],"mapped",[963]],[[120739,120739],"mapped",[964]],[[120740,120740],"mapped",[965]],[[120741,120741],"mapped",[966]],[[120742,120742],"mapped",[967]],[[120743,120743],"mapped",[968]],[[120744,120744],"mapped",[969]],[[120745,120745],"mapped",[8711]],[[120746,120746],"mapped",[945]],[[120747,120747],"mapped",[946]],[[120748,120748],"mapped",[947]],[[120749,120749],"mapped",[948]],[[120750,120750],"mapped",[949]],[[120751,120751],"mapped",[950]],[[120752,120752],"mapped",[951]],[[120753,120753],"mapped",[952]],[[120754,120754],"mapped",[953]],[[120755,120755],"mapped",[954]],[[120756,120756],"mapped",[955]],[[120757,120757],"mapped",[956]],[[120758,120758],"mapped",[957]],[[120759,120759],"mapped",[958]],[[120760,120760],"mapped",[959]],[[120761,120761],"mapped",[960]],[[120762,120762],"mapped",[961]],[[120763,120764],"mapped",[963]],[[120765,120765],"mapped",[964]],[[120766,120766],"mapped",[965]],[[120767,120767],"mapped",[966]],[[120768,120768],"mapped",[967]],[[120769,120769],"mapped",[968]],[[120770,120770],"mapped",[969]],[[120771,120771],"mapped",[8706]],[[120772,120772],"mapped",[949]],[[120773,120773],"mapped",[952]],[[120774,120774],"mapped",[954]],[[120775,120775],"mapped",[966]],[[120776,120776],"mapped",[961]],[[120777,120777],"mapped",[960]],[[120778,120779],"mapped",[989]],[[120780,120781],"disallowed"],[[120782,120782],"mapped",[48]],[[120783,120783],"mapped",[49]],[[120784,120784],"mapped",[50]],[[120785,120785],"mapped",[51]],[[120786,120786],"mapped",[52]],[[120787,120787],"mapped",[53]],[[120788,120788],"mapped",[54]],[[120789,120789],"mapped",[55]],[[120790,120790],"mapped",[56]],[[120791,120791],"mapped",[57]],[[120792,120792],"mapped",[48]],[[120793,120793],"mapped",[49]],[[120794,120794],"mapped",[50]],[[120795,120795],"mapped",[51]],[[120796,120796],"mapped",[52]],[[120797,120797],"mapped",[53]],[[120798,120798],"mapped",[54]],[[120799,120799],"mapped",[55]],[[120800,120800],"mapped",[56]],[[120801,120801],"mapped",[57]],[[120802,120802],"mapped",[48]],[[120803,120803],"mapped",[49]],[[120804,120804],"mapped",[50]],[[120805,120805],"mapped",[51]],[[120806,120806],"mapped",[52]],[[120807,120807],"mapped",[53]],[[120808,120808],"mapped",[54]],[[120809,120809],"mapped",[55]],[[120810,120810],"mapped",[56]],[[120811,120811],"mapped",[57]],[[120812,120812],"mapped",[48]],[[120813,120813],"mapped",[49]],[[120814,120814],"mapped",[50]],[[120815,120815],"mapped",[51]],[[120816,120816],"mapped",[52]],[[120817,120817],"mapped",[53]],[[120818,120818],"mapped",[54]],[[120819,120819],"mapped",[55]],[[120820,120820],"mapped",[56]],[[120821,120821],"mapped",[57]],[[120822,120822],"mapped",[48]],[[120823,120823],"mapped",[49]],[[120824,120824],"mapped",[50]],[[120825,120825],"mapped",[51]],[[120826,120826],"mapped",[52]],[[120827,120827],"mapped",[53]],[[120828,120828],"mapped",[54]],[[120829,120829],"mapped",[55]],[[120830,120830],"mapped",[56]],[[120831,120831],"mapped",[57]],[[120832,121343],"valid",[],"NV8"],[[121344,121398],"valid"],[[121399,121402],"valid",[],"NV8"],[[121403,121452],"valid"],[[121453,121460],"valid",[],"NV8"],[[121461,121461],"valid"],[[121462,121475],"valid",[],"NV8"],[[121476,121476],"valid"],[[121477,121483],"valid",[],"NV8"],[[121484,121498],"disallowed"],[[121499,121503],"valid"],[[121504,121504],"disallowed"],[[121505,121519],"valid"],[[121520,124927],"disallowed"],[[124928,125124],"valid"],[[125125,125126],"disallowed"],[[125127,125135],"valid",[],"NV8"],[[125136,125142],"valid"],[[125143,126463],"disallowed"],[[126464,126464],"mapped",[1575]],[[126465,126465],"mapped",[1576]],[[126466,126466],"mapped",[1580]],[[126467,126467],"mapped",[1583]],[[126468,126468],"disallowed"],[[126469,126469],"mapped",[1608]],[[126470,126470],"mapped",[1586]],[[126471,126471],"mapped",[1581]],[[126472,126472],"mapped",[1591]],[[126473,126473],"mapped",[1610]],[[126474,126474],"mapped",[1603]],[[126475,126475],"mapped",[1604]],[[126476,126476],"mapped",[1605]],[[126477,126477],"mapped",[1606]],[[126478,126478],"mapped",[1587]],[[126479,126479],"mapped",[1593]],[[126480,126480],"mapped",[1601]],[[126481,126481],"mapped",[1589]],[[126482,126482],"mapped",[1602]],[[126483,126483],"mapped",[1585]],[[126484,126484],"mapped",[1588]],[[126485,126485],"mapped",[1578]],[[126486,126486],"mapped",[1579]],[[126487,126487],"mapped",[1582]],[[126488,126488],"mapped",[1584]],[[126489,126489],"mapped",[1590]],[[126490,126490],"mapped",[1592]],[[126491,126491],"mapped",[1594]],[[126492,126492],"mapped",[1646]],[[126493,126493],"mapped",[1722]],[[126494,126494],"mapped",[1697]],[[126495,126495],"mapped",[1647]],[[126496,126496],"disallowed"],[[126497,126497],"mapped",[1576]],[[126498,126498],"mapped",[1580]],[[126499,126499],"disallowed"],[[126500,126500],"mapped",[1607]],[[126501,126502],"disallowed"],[[126503,126503],"mapped",[1581]],[[126504,126504],"disallowed"],[[126505,126505],"mapped",[1610]],[[126506,126506],"mapped",[1603]],[[126507,126507],"mapped",[1604]],[[126508,126508],"mapped",[1605]],[[126509,126509],"mapped",[1606]],[[126510,126510],"mapped",[1587]],[[126511,126511],"mapped",[1593]],[[126512,126512],"mapped",[1601]],[[126513,126513],"mapped",[1589]],[[126514,126514],"mapped",[1602]],[[126515,126515],"disallowed"],[[126516,126516],"mapped",[1588]],[[126517,126517],"mapped",[1578]],[[126518,126518],"mapped",[1579]],[[126519,126519],"mapped",[1582]],[[126520,126520],"disallowed"],[[126521,126521],"mapped",[1590]],[[126522,126522],"disallowed"],[[126523,126523],"mapped",[1594]],[[126524,126529],"disallowed"],[[126530,126530],"mapped",[1580]],[[126531,126534],"disallowed"],[[126535,126535],"mapped",[1581]],[[126536,126536],"disallowed"],[[126537,126537],"mapped",[1610]],[[126538,126538],"disallowed"],[[126539,126539],"mapped",[1604]],[[126540,126540],"disallowed"],[[126541,126541],"mapped",[1606]],[[126542,126542],"mapped",[1587]],[[126543,126543],"mapped",[1593]],[[126544,126544],"disallowed"],[[126545,126545],"mapped",[1589]],[[126546,126546],"mapped",[1602]],[[126547,126547],"disallowed"],[[126548,126548],"mapped",[1588]],[[126549,126550],"disallowed"],[[126551,126551],"mapped",[1582]],[[126552,126552],"disallowed"],[[126553,126553],"mapped",[1590]],[[126554,126554],"disallowed"],[[126555,126555],"mapped",[1594]],[[126556,126556],"disallowed"],[[126557,126557],"mapped",[1722]],[[126558,126558],"disallowed"],[[126559,126559],"mapped",[1647]],[[126560,126560],"disallowed"],[[126561,126561],"mapped",[1576]],[[126562,126562],"mapped",[1580]],[[126563,126563],"disallowed"],[[126564,126564],"mapped",[1607]],[[126565,126566],"disallowed"],[[126567,126567],"mapped",[1581]],[[126568,126568],"mapped",[1591]],[[126569,126569],"mapped",[1610]],[[126570,126570],"mapped",[1603]],[[126571,126571],"disallowed"],[[126572,126572],"mapped",[1605]],[[126573,126573],"mapped",[1606]],[[126574,126574],"mapped",[1587]],[[126575,126575],"mapped",[1593]],[[126576,126576],"mapped",[1601]],[[126577,126577],"mapped",[1589]],[[126578,126578],"mapped",[1602]],[[126579,126579],"disallowed"],[[126580,126580],"mapped",[1588]],[[126581,126581],"mapped",[1578]],[[126582,126582],"mapped",[1579]],[[126583,126583],"mapped",[1582]],[[126584,126584],"disallowed"],[[126585,126585],"mapped",[1590]],[[126586,126586],"mapped",[1592]],[[126587,126587],"mapped",[1594]],[[126588,126588],"mapped",[1646]],[[126589,126589],"disallowed"],[[126590,126590],"mapped",[1697]],[[126591,126591],"disallowed"],[[126592,126592],"mapped",[1575]],[[126593,126593],"mapped",[1576]],[[126594,126594],"mapped",[1580]],[[126595,126595],"mapped",[1583]],[[126596,126596],"mapped",[1607]],[[126597,126597],"mapped",[1608]],[[126598,126598],"mapped",[1586]],[[126599,126599],"mapped",[1581]],[[126600,126600],"mapped",[1591]],[[126601,126601],"mapped",[1610]],[[126602,126602],"disallowed"],[[126603,126603],"mapped",[1604]],[[126604,126604],"mapped",[1605]],[[126605,126605],"mapped",[1606]],[[126606,126606],"mapped",[1587]],[[126607,126607],"mapped",[1593]],[[126608,126608],"mapped",[1601]],[[126609,126609],"mapped",[1589]],[[126610,126610],"mapped",[1602]],[[126611,126611],"mapped",[1585]],[[126612,126612],"mapped",[1588]],[[126613,126613],"mapped",[1578]],[[126614,126614],"mapped",[1579]],[[126615,126615],"mapped",[1582]],[[126616,126616],"mapped",[1584]],[[126617,126617],"mapped",[1590]],[[126618,126618],"mapped",[1592]],[[126619,126619],"mapped",[1594]],[[126620,126624],"disallowed"],[[126625,126625],"mapped",[1576]],[[126626,126626],"mapped",[1580]],[[126627,126627],"mapped",[1583]],[[126628,126628],"disallowed"],[[126629,126629],"mapped",[1608]],[[126630,126630],"mapped",[1586]],[[126631,126631],"mapped",[1581]],[[126632,126632],"mapped",[1591]],[[126633,126633],"mapped",[1610]],[[126634,126634],"disallowed"],[[126635,126635],"mapped",[1604]],[[126636,126636],"mapped",[1605]],[[126637,126637],"mapped",[1606]],[[126638,126638],"mapped",[1587]],[[126639,126639],"mapped",[1593]],[[126640,126640],"mapped",[1601]],[[126641,126641],"mapped",[1589]],[[126642,126642],"mapped",[1602]],[[126643,126643],"mapped",[1585]],[[126644,126644],"mapped",[1588]],[[126645,126645],"mapped",[1578]],[[126646,126646],"mapped",[1579]],[[126647,126647],"mapped",[1582]],[[126648,126648],"mapped",[1584]],[[126649,126649],"mapped",[1590]],[[126650,126650],"mapped",[1592]],[[126651,126651],"mapped",[1594]],[[126652,126703],"disallowed"],[[126704,126705],"valid",[],"NV8"],[[126706,126975],"disallowed"],[[126976,127019],"valid",[],"NV8"],[[127020,127023],"disallowed"],[[127024,127123],"valid",[],"NV8"],[[127124,127135],"disallowed"],[[127136,127150],"valid",[],"NV8"],[[127151,127152],"disallowed"],[[127153,127166],"valid",[],"NV8"],[[127167,127167],"valid",[],"NV8"],[[127168,127168],"disallowed"],[[127169,127183],"valid",[],"NV8"],[[127184,127184],"disallowed"],[[127185,127199],"valid",[],"NV8"],[[127200,127221],"valid",[],"NV8"],[[127222,127231],"disallowed"],[[127232,127232],"disallowed"],[[127233,127233],"disallowed_STD3_mapped",[48,44]],[[127234,127234],"disallowed_STD3_mapped",[49,44]],[[127235,127235],"disallowed_STD3_mapped",[50,44]],[[127236,127236],"disallowed_STD3_mapped",[51,44]],[[127237,127237],"disallowed_STD3_mapped",[52,44]],[[127238,127238],"disallowed_STD3_mapped",[53,44]],[[127239,127239],"disallowed_STD3_mapped",[54,44]],[[127240,127240],"disallowed_STD3_mapped",[55,44]],[[127241,127241],"disallowed_STD3_mapped",[56,44]],[[127242,127242],"disallowed_STD3_mapped",[57,44]],[[127243,127244],"valid",[],"NV8"],[[127245,127247],"disallowed"],[[127248,127248],"disallowed_STD3_mapped",[40,97,41]],[[127249,127249],"disallowed_STD3_mapped",[40,98,41]],[[127250,127250],"disallowed_STD3_mapped",[40,99,41]],[[127251,127251],"disallowed_STD3_mapped",[40,100,41]],[[127252,127252],"disallowed_STD3_mapped",[40,101,41]],[[127253,127253],"disallowed_STD3_mapped",[40,102,41]],[[127254,127254],"disallowed_STD3_mapped",[40,103,41]],[[127255,127255],"disallowed_STD3_mapped",[40,104,41]],[[127256,127256],"disallowed_STD3_mapped",[40,105,41]],[[127257,127257],"disallowed_STD3_mapped",[40,106,41]],[[127258,127258],"disallowed_STD3_mapped",[40,107,41]],[[127259,127259],"disallowed_STD3_mapped",[40,108,41]],[[127260,127260],"disallowed_STD3_mapped",[40,109,41]],[[127261,127261],"disallowed_STD3_mapped",[40,110,41]],[[127262,127262],"disallowed_STD3_mapped",[40,111,41]],[[127263,127263],"disallowed_STD3_mapped",[40,112,41]],[[127264,127264],"disallowed_STD3_mapped",[40,113,41]],[[127265,127265],"disallowed_STD3_mapped",[40,114,41]],[[127266,127266],"disallowed_STD3_mapped",[40,115,41]],[[127267,127267],"disallowed_STD3_mapped",[40,116,41]],[[127268,127268],"disallowed_STD3_mapped",[40,117,41]],[[127269,127269],"disallowed_STD3_mapped",[40,118,41]],[[127270,127270],"disallowed_STD3_mapped",[40,119,41]],[[127271,127271],"disallowed_STD3_mapped",[40,120,41]],[[127272,127272],"disallowed_STD3_mapped",[40,121,41]],[[127273,127273],"disallowed_STD3_mapped",[40,122,41]],[[127274,127274],"mapped",[12308,115,12309]],[[127275,127275],"mapped",[99]],[[127276,127276],"mapped",[114]],[[127277,127277],"mapped",[99,100]],[[127278,127278],"mapped",[119,122]],[[127279,127279],"disallowed"],[[127280,127280],"mapped",[97]],[[127281,127281],"mapped",[98]],[[127282,127282],"mapped",[99]],[[127283,127283],"mapped",[100]],[[127284,127284],"mapped",[101]],[[127285,127285],"mapped",[102]],[[127286,127286],"mapped",[103]],[[127287,127287],"mapped",[104]],[[127288,127288],"mapped",[105]],[[127289,127289],"mapped",[106]],[[127290,127290],"mapped",[107]],[[127291,127291],"mapped",[108]],[[127292,127292],"mapped",[109]],[[127293,127293],"mapped",[110]],[[127294,127294],"mapped",[111]],[[127295,127295],"mapped",[112]],[[127296,127296],"mapped",[113]],[[127297,127297],"mapped",[114]],[[127298,127298],"mapped",[115]],[[127299,127299],"mapped",[116]],[[127300,127300],"mapped",[117]],[[127301,127301],"mapped",[118]],[[127302,127302],"mapped",[119]],[[127303,127303],"mapped",[120]],[[127304,127304],"mapped",[121]],[[127305,127305],"mapped",[122]],[[127306,127306],"mapped",[104,118]],[[127307,127307],"mapped",[109,118]],[[127308,127308],"mapped",[115,100]],[[127309,127309],"mapped",[115,115]],[[127310,127310],"mapped",[112,112,118]],[[127311,127311],"mapped",[119,99]],[[127312,127318],"valid",[],"NV8"],[[127319,127319],"valid",[],"NV8"],[[127320,127326],"valid",[],"NV8"],[[127327,127327],"valid",[],"NV8"],[[127328,127337],"valid",[],"NV8"],[[127338,127338],"mapped",[109,99]],[[127339,127339],"mapped",[109,100]],[[127340,127343],"disallowed"],[[127344,127352],"valid",[],"NV8"],[[127353,127353],"valid",[],"NV8"],[[127354,127354],"valid",[],"NV8"],[[127355,127356],"valid",[],"NV8"],[[127357,127358],"valid",[],"NV8"],[[127359,127359],"valid",[],"NV8"],[[127360,127369],"valid",[],"NV8"],[[127370,127373],"valid",[],"NV8"],[[127374,127375],"valid",[],"NV8"],[[127376,127376],"mapped",[100,106]],[[127377,127386],"valid",[],"NV8"],[[127387,127461],"disallowed"],[[127462,127487],"valid",[],"NV8"],[[127488,127488],"mapped",[12411,12363]],[[127489,127489],"mapped",[12467,12467]],[[127490,127490],"mapped",[12469]],[[127491,127503],"disallowed"],[[127504,127504],"mapped",[25163]],[[127505,127505],"mapped",[23383]],[[127506,127506],"mapped",[21452]],[[127507,127507],"mapped",[12487]],[[127508,127508],"mapped",[20108]],[[127509,127509],"mapped",[22810]],[[127510,127510],"mapped",[35299]],[[127511,127511],"mapped",[22825]],[[127512,127512],"mapped",[20132]],[[127513,127513],"mapped",[26144]],[[127514,127514],"mapped",[28961]],[[127515,127515],"mapped",[26009]],[[127516,127516],"mapped",[21069]],[[127517,127517],"mapped",[24460]],[[127518,127518],"mapped",[20877]],[[127519,127519],"mapped",[26032]],[[127520,127520],"mapped",[21021]],[[127521,127521],"mapped",[32066]],[[127522,127522],"mapped",[29983]],[[127523,127523],"mapped",[36009]],[[127524,127524],"mapped",[22768]],[[127525,127525],"mapped",[21561]],[[127526,127526],"mapped",[28436]],[[127527,127527],"mapped",[25237]],[[127528,127528],"mapped",[25429]],[[127529,127529],"mapped",[19968]],[[127530,127530],"mapped",[19977]],[[127531,127531],"mapped",[36938]],[[127532,127532],"mapped",[24038]],[[127533,127533],"mapped",[20013]],[[127534,127534],"mapped",[21491]],[[127535,127535],"mapped",[25351]],[[127536,127536],"mapped",[36208]],[[127537,127537],"mapped",[25171]],[[127538,127538],"mapped",[31105]],[[127539,127539],"mapped",[31354]],[[127540,127540],"mapped",[21512]],[[127541,127541],"mapped",[28288]],[[127542,127542],"mapped",[26377]],[[127543,127543],"mapped",[26376]],[[127544,127544],"mapped",[30003]],[[127545,127545],"mapped",[21106]],[[127546,127546],"mapped",[21942]],[[127547,127551],"disallowed"],[[127552,127552],"mapped",[12308,26412,12309]],[[127553,127553],"mapped",[12308,19977,12309]],[[127554,127554],"mapped",[12308,20108,12309]],[[127555,127555],"mapped",[12308,23433,12309]],[[127556,127556],"mapped",[12308,28857,12309]],[[127557,127557],"mapped",[12308,25171,12309]],[[127558,127558],"mapped",[12308,30423,12309]],[[127559,127559],"mapped",[12308,21213,12309]],[[127560,127560],"mapped",[12308,25943,12309]],[[127561,127567],"disallowed"],[[127568,127568],"mapped",[24471]],[[127569,127569],"mapped",[21487]],[[127570,127743],"disallowed"],[[127744,127776],"valid",[],"NV8"],[[127777,127788],"valid",[],"NV8"],[[127789,127791],"valid",[],"NV8"],[[127792,127797],"valid",[],"NV8"],[[127798,127798],"valid",[],"NV8"],[[127799,127868],"valid",[],"NV8"],[[127869,127869],"valid",[],"NV8"],[[127870,127871],"valid",[],"NV8"],[[127872,127891],"valid",[],"NV8"],[[127892,127903],"valid",[],"NV8"],[[127904,127940],"valid",[],"NV8"],[[127941,127941],"valid",[],"NV8"],[[127942,127946],"valid",[],"NV8"],[[127947,127950],"valid",[],"NV8"],[[127951,127955],"valid",[],"NV8"],[[127956,127967],"valid",[],"NV8"],[[127968,127984],"valid",[],"NV8"],[[127985,127991],"valid",[],"NV8"],[[127992,127999],"valid",[],"NV8"],[[128000,128062],"valid",[],"NV8"],[[128063,128063],"valid",[],"NV8"],[[128064,128064],"valid",[],"NV8"],[[128065,128065],"valid",[],"NV8"],[[128066,128247],"valid",[],"NV8"],[[128248,128248],"valid",[],"NV8"],[[128249,128252],"valid",[],"NV8"],[[128253,128254],"valid",[],"NV8"],[[128255,128255],"valid",[],"NV8"],[[128256,128317],"valid",[],"NV8"],[[128318,128319],"valid",[],"NV8"],[[128320,128323],"valid",[],"NV8"],[[128324,128330],"valid",[],"NV8"],[[128331,128335],"valid",[],"NV8"],[[128336,128359],"valid",[],"NV8"],[[128360,128377],"valid",[],"NV8"],[[128378,128378],"disallowed"],[[128379,128419],"valid",[],"NV8"],[[128420,128420],"disallowed"],[[128421,128506],"valid",[],"NV8"],[[128507,128511],"valid",[],"NV8"],[[128512,128512],"valid",[],"NV8"],[[128513,128528],"valid",[],"NV8"],[[128529,128529],"valid",[],"NV8"],[[128530,128532],"valid",[],"NV8"],[[128533,128533],"valid",[],"NV8"],[[128534,128534],"valid",[],"NV8"],[[128535,128535],"valid",[],"NV8"],[[128536,128536],"valid",[],"NV8"],[[128537,128537],"valid",[],"NV8"],[[128538,128538],"valid",[],"NV8"],[[128539,128539],"valid",[],"NV8"],[[128540,128542],"valid",[],"NV8"],[[128543,128543],"valid",[],"NV8"],[[128544,128549],"valid",[],"NV8"],[[128550,128551],"valid",[],"NV8"],[[128552,128555],"valid",[],"NV8"],[[128556,128556],"valid",[],"NV8"],[[128557,128557],"valid",[],"NV8"],[[128558,128559],"valid",[],"NV8"],[[128560,128563],"valid",[],"NV8"],[[128564,128564],"valid",[],"NV8"],[[128565,128576],"valid",[],"NV8"],[[128577,128578],"valid",[],"NV8"],[[128579,128580],"valid",[],"NV8"],[[128581,128591],"valid",[],"NV8"],[[128592,128639],"valid",[],"NV8"],[[128640,128709],"valid",[],"NV8"],[[128710,128719],"valid",[],"NV8"],[[128720,128720],"valid",[],"NV8"],[[128721,128735],"disallowed"],[[128736,128748],"valid",[],"NV8"],[[128749,128751],"disallowed"],[[128752,128755],"valid",[],"NV8"],[[128756,128767],"disallowed"],[[128768,128883],"valid",[],"NV8"],[[128884,128895],"disallowed"],[[128896,128980],"valid",[],"NV8"],[[128981,129023],"disallowed"],[[129024,129035],"valid",[],"NV8"],[[129036,129039],"disallowed"],[[129040,129095],"valid",[],"NV8"],[[129096,129103],"disallowed"],[[129104,129113],"valid",[],"NV8"],[[129114,129119],"disallowed"],[[129120,129159],"valid",[],"NV8"],[[129160,129167],"disallowed"],[[129168,129197],"valid",[],"NV8"],[[129198,129295],"disallowed"],[[129296,129304],"valid",[],"NV8"],[[129305,129407],"disallowed"],[[129408,129412],"valid",[],"NV8"],[[129413,129471],"disallowed"],[[129472,129472],"valid",[],"NV8"],[[129473,131069],"disallowed"],[[131070,131071],"disallowed"],[[131072,173782],"valid"],[[173783,173823],"disallowed"],[[173824,177972],"valid"],[[177973,177983],"disallowed"],[[177984,178205],"valid"],[[178206,178207],"disallowed"],[[178208,183969],"valid"],[[183970,194559],"disallowed"],[[194560,194560],"mapped",[20029]],[[194561,194561],"mapped",[20024]],[[194562,194562],"mapped",[20033]],[[194563,194563],"mapped",[131362]],[[194564,194564],"mapped",[20320]],[[194565,194565],"mapped",[20398]],[[194566,194566],"mapped",[20411]],[[194567,194567],"mapped",[20482]],[[194568,194568],"mapped",[20602]],[[194569,194569],"mapped",[20633]],[[194570,194570],"mapped",[20711]],[[194571,194571],"mapped",[20687]],[[194572,194572],"mapped",[13470]],[[194573,194573],"mapped",[132666]],[[194574,194574],"mapped",[20813]],[[194575,194575],"mapped",[20820]],[[194576,194576],"mapped",[20836]],[[194577,194577],"mapped",[20855]],[[194578,194578],"mapped",[132380]],[[194579,194579],"mapped",[13497]],[[194580,194580],"mapped",[20839]],[[194581,194581],"mapped",[20877]],[[194582,194582],"mapped",[132427]],[[194583,194583],"mapped",[20887]],[[194584,194584],"mapped",[20900]],[[194585,194585],"mapped",[20172]],[[194586,194586],"mapped",[20908]],[[194587,194587],"mapped",[20917]],[[194588,194588],"mapped",[168415]],[[194589,194589],"mapped",[20981]],[[194590,194590],"mapped",[20995]],[[194591,194591],"mapped",[13535]],[[194592,194592],"mapped",[21051]],[[194593,194593],"mapped",[21062]],[[194594,194594],"mapped",[21106]],[[194595,194595],"mapped",[21111]],[[194596,194596],"mapped",[13589]],[[194597,194597],"mapped",[21191]],[[194598,194598],"mapped",[21193]],[[194599,194599],"mapped",[21220]],[[194600,194600],"mapped",[21242]],[[194601,194601],"mapped",[21253]],[[194602,194602],"mapped",[21254]],[[194603,194603],"mapped",[21271]],[[194604,194604],"mapped",[21321]],[[194605,194605],"mapped",[21329]],[[194606,194606],"mapped",[21338]],[[194607,194607],"mapped",[21363]],[[194608,194608],"mapped",[21373]],[[194609,194611],"mapped",[21375]],[[194612,194612],"mapped",[133676]],[[194613,194613],"mapped",[28784]],[[194614,194614],"mapped",[21450]],[[194615,194615],"mapped",[21471]],[[194616,194616],"mapped",[133987]],[[194617,194617],"mapped",[21483]],[[194618,194618],"mapped",[21489]],[[194619,194619],"mapped",[21510]],[[194620,194620],"mapped",[21662]],[[194621,194621],"mapped",[21560]],[[194622,194622],"mapped",[21576]],[[194623,194623],"mapped",[21608]],[[194624,194624],"mapped",[21666]],[[194625,194625],"mapped",[21750]],[[194626,194626],"mapped",[21776]],[[194627,194627],"mapped",[21843]],[[194628,194628],"mapped",[21859]],[[194629,194630],"mapped",[21892]],[[194631,194631],"mapped",[21913]],[[194632,194632],"mapped",[21931]],[[194633,194633],"mapped",[21939]],[[194634,194634],"mapped",[21954]],[[194635,194635],"mapped",[22294]],[[194636,194636],"mapped",[22022]],[[194637,194637],"mapped",[22295]],[[194638,194638],"mapped",[22097]],[[194639,194639],"mapped",[22132]],[[194640,194640],"mapped",[20999]],[[194641,194641],"mapped",[22766]],[[194642,194642],"mapped",[22478]],[[194643,194643],"mapped",[22516]],[[194644,194644],"mapped",[22541]],[[194645,194645],"mapped",[22411]],[[194646,194646],"mapped",[22578]],[[194647,194647],"mapped",[22577]],[[194648,194648],"mapped",[22700]],[[194649,194649],"mapped",[136420]],[[194650,194650],"mapped",[22770]],[[194651,194651],"mapped",[22775]],[[194652,194652],"mapped",[22790]],[[194653,194653],"mapped",[22810]],[[194654,194654],"mapped",[22818]],[[194655,194655],"mapped",[22882]],[[194656,194656],"mapped",[136872]],[[194657,194657],"mapped",[136938]],[[194658,194658],"mapped",[23020]],[[194659,194659],"mapped",[23067]],[[194660,194660],"mapped",[23079]],[[194661,194661],"mapped",[23000]],[[194662,194662],"mapped",[23142]],[[194663,194663],"mapped",[14062]],[[194664,194664],"disallowed"],[[194665,194665],"mapped",[23304]],[[194666,194667],"mapped",[23358]],[[194668,194668],"mapped",[137672]],[[194669,194669],"mapped",[23491]],[[194670,194670],"mapped",[23512]],[[194671,194671],"mapped",[23527]],[[194672,194672],"mapped",[23539]],[[194673,194673],"mapped",[138008]],[[194674,194674],"mapped",[23551]],[[194675,194675],"mapped",[23558]],[[194676,194676],"disallowed"],[[194677,194677],"mapped",[23586]],[[194678,194678],"mapped",[14209]],[[194679,194679],"mapped",[23648]],[[194680,194680],"mapped",[23662]],[[194681,194681],"mapped",[23744]],[[194682,194682],"mapped",[23693]],[[194683,194683],"mapped",[138724]],[[194684,194684],"mapped",[23875]],[[194685,194685],"mapped",[138726]],[[194686,194686],"mapped",[23918]],[[194687,194687],"mapped",[23915]],[[194688,194688],"mapped",[23932]],[[194689,194689],"mapped",[24033]],[[194690,194690],"mapped",[24034]],[[194691,194691],"mapped",[14383]],[[194692,194692],"mapped",[24061]],[[194693,194693],"mapped",[24104]],[[194694,194694],"mapped",[24125]],[[194695,194695],"mapped",[24169]],[[194696,194696],"mapped",[14434]],[[194697,194697],"mapped",[139651]],[[194698,194698],"mapped",[14460]],[[194699,194699],"mapped",[24240]],[[194700,194700],"mapped",[24243]],[[194701,194701],"mapped",[24246]],[[194702,194702],"mapped",[24266]],[[194703,194703],"mapped",[172946]],[[194704,194704],"mapped",[24318]],[[194705,194706],"mapped",[140081]],[[194707,194707],"mapped",[33281]],[[194708,194709],"mapped",[24354]],[[194710,194710],"mapped",[14535]],[[194711,194711],"mapped",[144056]],[[194712,194712],"mapped",[156122]],[[194713,194713],"mapped",[24418]],[[194714,194714],"mapped",[24427]],[[194715,194715],"mapped",[14563]],[[194716,194716],"mapped",[24474]],[[194717,194717],"mapped",[24525]],[[194718,194718],"mapped",[24535]],[[194719,194719],"mapped",[24569]],[[194720,194720],"mapped",[24705]],[[194721,194721],"mapped",[14650]],[[194722,194722],"mapped",[14620]],[[194723,194723],"mapped",[24724]],[[194724,194724],"mapped",[141012]],[[194725,194725],"mapped",[24775]],[[194726,194726],"mapped",[24904]],[[194727,194727],"mapped",[24908]],[[194728,194728],"mapped",[24910]],[[194729,194729],"mapped",[24908]],[[194730,194730],"mapped",[24954]],[[194731,194731],"mapped",[24974]],[[194732,194732],"mapped",[25010]],[[194733,194733],"mapped",[24996]],[[194734,194734],"mapped",[25007]],[[194735,194735],"mapped",[25054]],[[194736,194736],"mapped",[25074]],[[194737,194737],"mapped",[25078]],[[194738,194738],"mapped",[25104]],[[194739,194739],"mapped",[25115]],[[194740,194740],"mapped",[25181]],[[194741,194741],"mapped",[25265]],[[194742,194742],"mapped",[25300]],[[194743,194743],"mapped",[25424]],[[194744,194744],"mapped",[142092]],[[194745,194745],"mapped",[25405]],[[194746,194746],"mapped",[25340]],[[194747,194747],"mapped",[25448]],[[194748,194748],"mapped",[25475]],[[194749,194749],"mapped",[25572]],[[194750,194750],"mapped",[142321]],[[194751,194751],"mapped",[25634]],[[194752,194752],"mapped",[25541]],[[194753,194753],"mapped",[25513]],[[194754,194754],"mapped",[14894]],[[194755,194755],"mapped",[25705]],[[194756,194756],"mapped",[25726]],[[194757,194757],"mapped",[25757]],[[194758,194758],"mapped",[25719]],[[194759,194759],"mapped",[14956]],[[194760,194760],"mapped",[25935]],[[194761,194761],"mapped",[25964]],[[194762,194762],"mapped",[143370]],[[194763,194763],"mapped",[26083]],[[194764,194764],"mapped",[26360]],[[194765,194765],"mapped",[26185]],[[194766,194766],"mapped",[15129]],[[194767,194767],"mapped",[26257]],[[194768,194768],"mapped",[15112]],[[194769,194769],"mapped",[15076]],[[194770,194770],"mapped",[20882]],[[194771,194771],"mapped",[20885]],[[194772,194772],"mapped",[26368]],[[194773,194773],"mapped",[26268]],[[194774,194774],"mapped",[32941]],[[194775,194775],"mapped",[17369]],[[194776,194776],"mapped",[26391]],[[194777,194777],"mapped",[26395]],[[194778,194778],"mapped",[26401]],[[194779,194779],"mapped",[26462]],[[194780,194780],"mapped",[26451]],[[194781,194781],"mapped",[144323]],[[194782,194782],"mapped",[15177]],[[194783,194783],"mapped",[26618]],[[194784,194784],"mapped",[26501]],[[194785,194785],"mapped",[26706]],[[194786,194786],"mapped",[26757]],[[194787,194787],"mapped",[144493]],[[194788,194788],"mapped",[26766]],[[194789,194789],"mapped",[26655]],[[194790,194790],"mapped",[26900]],[[194791,194791],"mapped",[15261]],[[194792,194792],"mapped",[26946]],[[194793,194793],"mapped",[27043]],[[194794,194794],"mapped",[27114]],[[194795,194795],"mapped",[27304]],[[194796,194796],"mapped",[145059]],[[194797,194797],"mapped",[27355]],[[194798,194798],"mapped",[15384]],[[194799,194799],"mapped",[27425]],[[194800,194800],"mapped",[145575]],[[194801,194801],"mapped",[27476]],[[194802,194802],"mapped",[15438]],[[194803,194803],"mapped",[27506]],[[194804,194804],"mapped",[27551]],[[194805,194805],"mapped",[27578]],[[194806,194806],"mapped",[27579]],[[194807,194807],"mapped",[146061]],[[194808,194808],"mapped",[138507]],[[194809,194809],"mapped",[146170]],[[194810,194810],"mapped",[27726]],[[194811,194811],"mapped",[146620]],[[194812,194812],"mapped",[27839]],[[194813,194813],"mapped",[27853]],[[194814,194814],"mapped",[27751]],[[194815,194815],"mapped",[27926]],[[194816,194816],"mapped",[27966]],[[194817,194817],"mapped",[28023]],[[194818,194818],"mapped",[27969]],[[194819,194819],"mapped",[28009]],[[194820,194820],"mapped",[28024]],[[194821,194821],"mapped",[28037]],[[194822,194822],"mapped",[146718]],[[194823,194823],"mapped",[27956]],[[194824,194824],"mapped",[28207]],[[194825,194825],"mapped",[28270]],[[194826,194826],"mapped",[15667]],[[194827,194827],"mapped",[28363]],[[194828,194828],"mapped",[28359]],[[194829,194829],"mapped",[147153]],[[194830,194830],"mapped",[28153]],[[194831,194831],"mapped",[28526]],[[194832,194832],"mapped",[147294]],[[194833,194833],"mapped",[147342]],[[194834,194834],"mapped",[28614]],[[194835,194835],"mapped",[28729]],[[194836,194836],"mapped",[28702]],[[194837,194837],"mapped",[28699]],[[194838,194838],"mapped",[15766]],[[194839,194839],"mapped",[28746]],[[194840,194840],"mapped",[28797]],[[194841,194841],"mapped",[28791]],[[194842,194842],"mapped",[28845]],[[194843,194843],"mapped",[132389]],[[194844,194844],"mapped",[28997]],[[194845,194845],"mapped",[148067]],[[194846,194846],"mapped",[29084]],[[194847,194847],"disallowed"],[[194848,194848],"mapped",[29224]],[[194849,194849],"mapped",[29237]],[[194850,194850],"mapped",[29264]],[[194851,194851],"mapped",[149000]],[[194852,194852],"mapped",[29312]],[[194853,194853],"mapped",[29333]],[[194854,194854],"mapped",[149301]],[[194855,194855],"mapped",[149524]],[[194856,194856],"mapped",[29562]],[[194857,194857],"mapped",[29579]],[[194858,194858],"mapped",[16044]],[[194859,194859],"mapped",[29605]],[[194860,194861],"mapped",[16056]],[[194862,194862],"mapped",[29767]],[[194863,194863],"mapped",[29788]],[[194864,194864],"mapped",[29809]],[[194865,194865],"mapped",[29829]],[[194866,194866],"mapped",[29898]],[[194867,194867],"mapped",[16155]],[[194868,194868],"mapped",[29988]],[[194869,194869],"mapped",[150582]],[[194870,194870],"mapped",[30014]],[[194871,194871],"mapped",[150674]],[[194872,194872],"mapped",[30064]],[[194873,194873],"mapped",[139679]],[[194874,194874],"mapped",[30224]],[[194875,194875],"mapped",[151457]],[[194876,194876],"mapped",[151480]],[[194877,194877],"mapped",[151620]],[[194878,194878],"mapped",[16380]],[[194879,194879],"mapped",[16392]],[[194880,194880],"mapped",[30452]],[[194881,194881],"mapped",[151795]],[[194882,194882],"mapped",[151794]],[[194883,194883],"mapped",[151833]],[[194884,194884],"mapped",[151859]],[[194885,194885],"mapped",[30494]],[[194886,194887],"mapped",[30495]],[[194888,194888],"mapped",[30538]],[[194889,194889],"mapped",[16441]],[[194890,194890],"mapped",[30603]],[[194891,194891],"mapped",[16454]],[[194892,194892],"mapped",[16534]],[[194893,194893],"mapped",[152605]],[[194894,194894],"mapped",[30798]],[[194895,194895],"mapped",[30860]],[[194896,194896],"mapped",[30924]],[[194897,194897],"mapped",[16611]],[[194898,194898],"mapped",[153126]],[[194899,194899],"mapped",[31062]],[[194900,194900],"mapped",[153242]],[[194901,194901],"mapped",[153285]],[[194902,194902],"mapped",[31119]],[[194903,194903],"mapped",[31211]],[[194904,194904],"mapped",[16687]],[[194905,194905],"mapped",[31296]],[[194906,194906],"mapped",[31306]],[[194907,194907],"mapped",[31311]],[[194908,194908],"mapped",[153980]],[[194909,194910],"mapped",[154279]],[[194911,194911],"disallowed"],[[194912,194912],"mapped",[16898]],[[194913,194913],"mapped",[154539]],[[194914,194914],"mapped",[31686]],[[194915,194915],"mapped",[31689]],[[194916,194916],"mapped",[16935]],[[194917,194917],"mapped",[154752]],[[194918,194918],"mapped",[31954]],[[194919,194919],"mapped",[17056]],[[194920,194920],"mapped",[31976]],[[194921,194921],"mapped",[31971]],[[194922,194922],"mapped",[32000]],[[194923,194923],"mapped",[155526]],[[194924,194924],"mapped",[32099]],[[194925,194925],"mapped",[17153]],[[194926,194926],"mapped",[32199]],[[194927,194927],"mapped",[32258]],[[194928,194928],"mapped",[32325]],[[194929,194929],"mapped",[17204]],[[194930,194930],"mapped",[156200]],[[194931,194931],"mapped",[156231]],[[194932,194932],"mapped",[17241]],[[194933,194933],"mapped",[156377]],[[194934,194934],"mapped",[32634]],[[194935,194935],"mapped",[156478]],[[194936,194936],"mapped",[32661]],[[194937,194937],"mapped",[32762]],[[194938,194938],"mapped",[32773]],[[194939,194939],"mapped",[156890]],[[194940,194940],"mapped",[156963]],[[194941,194941],"mapped",[32864]],[[194942,194942],"mapped",[157096]],[[194943,194943],"mapped",[32880]],[[194944,194944],"mapped",[144223]],[[194945,194945],"mapped",[17365]],[[194946,194946],"mapped",[32946]],[[194947,194947],"mapped",[33027]],[[194948,194948],"mapped",[17419]],[[194949,194949],"mapped",[33086]],[[194950,194950],"mapped",[23221]],[[194951,194951],"mapped",[157607]],[[194952,194952],"mapped",[157621]],[[194953,194953],"mapped",[144275]],[[194954,194954],"mapped",[144284]],[[194955,194955],"mapped",[33281]],[[194956,194956],"mapped",[33284]],[[194957,194957],"mapped",[36766]],[[194958,194958],"mapped",[17515]],[[194959,194959],"mapped",[33425]],[[194960,194960],"mapped",[33419]],[[194961,194961],"mapped",[33437]],[[194962,194962],"mapped",[21171]],[[194963,194963],"mapped",[33457]],[[194964,194964],"mapped",[33459]],[[194965,194965],"mapped",[33469]],[[194966,194966],"mapped",[33510]],[[194967,194967],"mapped",[158524]],[[194968,194968],"mapped",[33509]],[[194969,194969],"mapped",[33565]],[[194970,194970],"mapped",[33635]],[[194971,194971],"mapped",[33709]],[[194972,194972],"mapped",[33571]],[[194973,194973],"mapped",[33725]],[[194974,194974],"mapped",[33767]],[[194975,194975],"mapped",[33879]],[[194976,194976],"mapped",[33619]],[[194977,194977],"mapped",[33738]],[[194978,194978],"mapped",[33740]],[[194979,194979],"mapped",[33756]],[[194980,194980],"mapped",[158774]],[[194981,194981],"mapped",[159083]],[[194982,194982],"mapped",[158933]],[[194983,194983],"mapped",[17707]],[[194984,194984],"mapped",[34033]],[[194985,194985],"mapped",[34035]],[[194986,194986],"mapped",[34070]],[[194987,194987],"mapped",[160714]],[[194988,194988],"mapped",[34148]],[[194989,194989],"mapped",[159532]],[[194990,194990],"mapped",[17757]],[[194991,194991],"mapped",[17761]],[[194992,194992],"mapped",[159665]],[[194993,194993],"mapped",[159954]],[[194994,194994],"mapped",[17771]],[[194995,194995],"mapped",[34384]],[[194996,194996],"mapped",[34396]],[[194997,194997],"mapped",[34407]],[[194998,194998],"mapped",[34409]],[[194999,194999],"mapped",[34473]],[[195000,195000],"mapped",[34440]],[[195001,195001],"mapped",[34574]],[[195002,195002],"mapped",[34530]],[[195003,195003],"mapped",[34681]],[[195004,195004],"mapped",[34600]],[[195005,195005],"mapped",[34667]],[[195006,195006],"mapped",[34694]],[[195007,195007],"disallowed"],[[195008,195008],"mapped",[34785]],[[195009,195009],"mapped",[34817]],[[195010,195010],"mapped",[17913]],[[195011,195011],"mapped",[34912]],[[195012,195012],"mapped",[34915]],[[195013,195013],"mapped",[161383]],[[195014,195014],"mapped",[35031]],[[195015,195015],"mapped",[35038]],[[195016,195016],"mapped",[17973]],[[195017,195017],"mapped",[35066]],[[195018,195018],"mapped",[13499]],[[195019,195019],"mapped",[161966]],[[195020,195020],"mapped",[162150]],[[195021,195021],"mapped",[18110]],[[195022,195022],"mapped",[18119]],[[195023,195023],"mapped",[35488]],[[195024,195024],"mapped",[35565]],[[195025,195025],"mapped",[35722]],[[195026,195026],"mapped",[35925]],[[195027,195027],"mapped",[162984]],[[195028,195028],"mapped",[36011]],[[195029,195029],"mapped",[36033]],[[195030,195030],"mapped",[36123]],[[195031,195031],"mapped",[36215]],[[195032,195032],"mapped",[163631]],[[195033,195033],"mapped",[133124]],[[195034,195034],"mapped",[36299]],[[195035,195035],"mapped",[36284]],[[195036,195036],"mapped",[36336]],[[195037,195037],"mapped",[133342]],[[195038,195038],"mapped",[36564]],[[195039,195039],"mapped",[36664]],[[195040,195040],"mapped",[165330]],[[195041,195041],"mapped",[165357]],[[195042,195042],"mapped",[37012]],[[195043,195043],"mapped",[37105]],[[195044,195044],"mapped",[37137]],[[195045,195045],"mapped",[165678]],[[195046,195046],"mapped",[37147]],[[195047,195047],"mapped",[37432]],[[195048,195048],"mapped",[37591]],[[195049,195049],"mapped",[37592]],[[195050,195050],"mapped",[37500]],[[195051,195051],"mapped",[37881]],[[195052,195052],"mapped",[37909]],[[195053,195053],"mapped",[166906]],[[195054,195054],"mapped",[38283]],[[195055,195055],"mapped",[18837]],[[195056,195056],"mapped",[38327]],[[195057,195057],"mapped",[167287]],[[195058,195058],"mapped",[18918]],[[195059,195059],"mapped",[38595]],[[195060,195060],"mapped",[23986]],[[195061,195061],"mapped",[38691]],[[195062,195062],"mapped",[168261]],[[195063,195063],"mapped",[168474]],[[195064,195064],"mapped",[19054]],[[195065,195065],"mapped",[19062]],[[195066,195066],"mapped",[38880]],[[195067,195067],"mapped",[168970]],[[195068,195068],"mapped",[19122]],[[195069,195069],"mapped",[169110]],[[195070,195071],"mapped",[38923]],[[195072,195072],"mapped",[38953]],[[195073,195073],"mapped",[169398]],[[195074,195074],"mapped",[39138]],[[195075,195075],"mapped",[19251]],[[195076,195076],"mapped",[39209]],[[195077,195077],"mapped",[39335]],[[195078,195078],"mapped",[39362]],[[195079,195079],"mapped",[39422]],[[195080,195080],"mapped",[19406]],[[195081,195081],"mapped",[170800]],[[195082,195082],"mapped",[39698]],[[195083,195083],"mapped",[40000]],[[195084,195084],"mapped",[40189]],[[195085,195085],"mapped",[19662]],[[195086,195086],"mapped",[19693]],[[195087,195087],"mapped",[40295]],[[195088,195088],"mapped",[172238]],[[195089,195089],"mapped",[19704]],[[195090,195090],"mapped",[172293]],[[195091,195091],"mapped",[172558]],[[195092,195092],"mapped",[172689]],[[195093,195093],"mapped",[40635]],[[195094,195094],"mapped",[19798]],[[195095,195095],"mapped",[40697]],[[195096,195096],"mapped",[40702]],[[195097,195097],"mapped",[40709]],[[195098,195098],"mapped",[40719]],[[195099,195099],"mapped",[40726]],[[195100,195100],"mapped",[40763]],[[195101,195101],"mapped",[173568]],[[195102,196605],"disallowed"],[[196606,196607],"disallowed"],[[196608,262141],"disallowed"],[[262142,262143],"disallowed"],[[262144,327677],"disallowed"],[[327678,327679],"disallowed"],[[327680,393213],"disallowed"],[[393214,393215],"disallowed"],[[393216,458749],"disallowed"],[[458750,458751],"disallowed"],[[458752,524285],"disallowed"],[[524286,524287],"disallowed"],[[524288,589821],"disallowed"],[[589822,589823],"disallowed"],[[589824,655357],"disallowed"],[[655358,655359],"disallowed"],[[655360,720893],"disallowed"],[[720894,720895],"disallowed"],[[720896,786429],"disallowed"],[[786430,786431],"disallowed"],[[786432,851965],"disallowed"],[[851966,851967],"disallowed"],[[851968,917501],"disallowed"],[[917502,917503],"disallowed"],[[917504,917504],"disallowed"],[[917505,917505],"disallowed"],[[917506,917535],"disallowed"],[[917536,917631],"disallowed"],[[917632,917759],"disallowed"],[[917760,917999],"ignored"],[[918000,983037],"disallowed"],[[983038,983039],"disallowed"],[[983040,1048573],"disallowed"],[[1048574,1048575],"disallowed"],[[1048576,1114109],"disallowed"],[[1114110,1114111],"disallowed"]]')}},h={};function v(e){var a=h[e];if(void 0!==a)return a.exports;var t=h[e]={exports:{}};return f[e].call(t.exports,t,t.exports,v),t.exports}v.m=f,o=(p="function"==typeof Symbol)?Symbol("rspack queues"):"__rspack_queues",i=v.aE=p?Symbol("rspack exports"):"__webpack_exports__",d=p?Symbol("rspack error"):"__rspack_error",r=p?Symbol("rspack done"):"__rspack_done",n=v.zS=p?Symbol("rspack defer"):"__rspack_defer",v.zT=e=>{if(e.some(e=>{var a=h[e];return!a||!1===a[r]}))return{then:(a,t)=>Promise.all(e.map(v)).then(a,t)}},l=e=>{e&&e.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))},v.a=(e,a,t)=>{t&&((p=[]).d=-1);var p,s,u,m,c=new Set,f=e.exports,h=new Promise((e,a)=>{m=a,u=e});h[i]=f,h[o]=e=>{p&&e(p),c.forEach(e),h.catch(()=>{})},e.exports=h,a(e=>{s=e.map(e=>{if(null!==e&&"object"==typeof e){if(!e[o]&&e[n]){var a=v.zT(e[n]);if(!a)return e;var t=e;e={then(e,p){a.then(()=>e(t),p)}}}if(e[o])return e;if(e.then){var p=[];p.d=0,e.then(e=>{r[i]=e,l(p)},e=>{r[d]=e,l(p)});var r={};return r[n]=!1,r[o]=e=>e(p),r}}var s={};return s[o]=()=>{},s[i]=e,s});var a,t=()=>s.map(e=>{if(e[n])return e;if(e[d])throw e[d];return e[i]}),r=new Promise(e=>{(a=()=>e(t)).r=0;var i=e=>e!==p&&!c.has(e)&&(c.add(e),e&&!e.d&&(a.r++,e.push(a)));s.map(e=>e[n]||e[o](i))});return a.r?r:t()},e=>(e?m(h[d]=e):u(f),l(p),h[r]=!0)),p&&p.d<0&&(p.d=0)},v.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return v.d(a,{a:a}),a},u=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,v.t=function(e,a){if(1&a&&(e=this(e)),8&a||"object"==typeof e&&e&&(4&a&&e.__esModule||16&a&&"function"==typeof e.then))return e;var t=Object.create(null);v.r(t);var p={};s=s||[null,u({}),u([]),u(u)];for(var o=2&a&&e;("object"==typeof o||"function"==typeof o)&&!~s.indexOf(o);o=u(o))Object.getOwnPropertyNames(o).forEach(a=>{p[a]=()=>e[a]});return p.default=()=>e,v.d(t,p),t},v.d=(e,a)=>{for(var t in a)v.o(a,t)&&!v.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},v.f={},v.e=e=>Promise.all(Object.keys(v.f).reduce((a,t)=>(v.f[t](e,a),a),[])),v.u=e=>""+e+".js",v.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),v.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},v.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),m={8410:0},c=e=>{var a,t,p=e.__rspack_esm_ids,o=e.__webpack_modules__,i=e.__rspack_esm_runtime,d=0;for(a in o)v.o(o,a)&&(v.m[a]=o[a]);for(i&&i(v);d<p.length;d++)t=p[d],v.o(m,t)&&m[t]&&m[t][0](),m[p[d]]=0},v.f.j=function(e,a){var t=v.o(m,e)?m[e]:void 0;if(0!==t)if(t)a.push(t[1]);else{var p=import("./"+v.u(e)).then(c,a=>{throw 0!==m[e]&&(m[e]=void 0),a}),p=Promise.race([p,new Promise(a=>{t=m[e]=[a]})]);a.push(t[1]=p)}};var g=v(1878),D=(g=await g).A,y=g.e;export{D as default,y as run};