@tangle-network/sandbox 0.9.0 → 0.9.1-develop.20260624145525.01545e5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/core.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Mn as SandboxClientConfig, _t as ExecOptions, an as PreviewLinkInfo, en as NetworkConfig, lr as SandboxInfo, n as SandboxInstance, on as PreviewLinkManager, pr as SandboxStatus, rt as CreateSandboxOptions, vt as ExecResult } from "./sandbox-BaK5AyL2.js";
2
- import { i as SandboxClient } from "./client-CZlq4ozL.js";
1
+ import { Mn as SandboxClientConfig, _t as ExecOptions, an as PreviewLinkInfo, en as NetworkConfig, lr as SandboxInfo, mr as SandboxStatus, n as SandboxInstance, on as PreviewLinkManager, rt as CreateSandboxOptions, vt as ExecResult } from "./sandbox-jfc8yiwF.js";
2
+ import { i as SandboxClient } from "./client-DPVYHFLS.js";
3
3
  import { a as PartialFailureError, c as SandboxErrorJson, d as StateError, f as TimeoutError, i as NotFoundError, l as SandboxFailureDetail, n as CapabilityError, o as QuotaError, p as ValidationError, r as NetworkError, s as SandboxError, t as AuthError, u as ServerError } from "./errors-1Se5ATyZ.js";
4
4
  export { AuthError, CapabilityError, type CreateSandboxOptions, type ExecOptions, type ExecResult, type NetworkConfig, NetworkError, NotFoundError, PartialFailureError, type PreviewLinkInfo, type PreviewLinkManager, QuotaError, SandboxClient as Sandbox, SandboxClient, type SandboxClientConfig, SandboxError, type SandboxErrorJson, type SandboxFailureDetail, type SandboxInfo, SandboxInstance, type SandboxStatus, ServerError, StateError, TimeoutError, ValidationError };
package/dist/core.js CHANGED
@@ -1 +1 @@
1
- (function(_0x349033,_0x3eff30){var _0xd4ea06=a0_0x20a9,_0x5210b0=_0x349033();while(!![]){try{var _0x1cae07=-parseInt(_0xd4ea06(0x1a4))/0x1+-parseInt(_0xd4ea06(0x1a6))/0x2+parseInt(_0xd4ea06(0x1a5))/0x3+-parseInt(_0xd4ea06(0x1a0))/0x4*(parseInt(_0xd4ea06(0x1a7))/0x5)+-parseInt(_0xd4ea06(0x1a2))/0x6+-parseInt(_0xd4ea06(0x1a3))/0x7+parseInt(_0xd4ea06(0x1a1))/0x8;if(_0x1cae07===_0x3eff30)break;else _0x5210b0['push'](_0x5210b0['shift']());}catch(_0x87c4fc){_0x5210b0['push'](_0x5210b0['shift']());}}}(a0_0x5c79,0xa11d3));import{t as a0_0x45b544}from'\x2e\x2f\x73\x61\x6e\x64\x62\x6f\x78\x2d\x44\x58\x71\x4f\x67\x69\x73\x35\x2e\x6a\x73';function a0_0x5c79(){var _0x2569f1=['\x6e\x4a\x75\x35\x6d\x64\x43\x32\x74\x31\x62\x6f\x79\x77\x54\x65','\x6d\x4a\x69\x35\x6d\x5a\x69\x57\x6d\x65\x58\x77\x76\x32\x76\x4f\x75\x47','\x6d\x74\x65\x32\x6d\x5a\x75\x59\x6f\x75\x76\x5a\x79\x33\x6a\x50\x76\x61','\x6d\x5a\x4b\x31\x6d\x64\x79\x59\x6f\x65\x39\x4a\x76\x4d\x31\x50\x75\x57','\x6d\x4a\x61\x5a\x6d\x74\x61\x34\x6e\x67\x54\x48\x7a\x75\x6e\x69\x75\x61','\x6f\x64\x61\x31\x73\x32\x31\x4f\x71\x4b\x76\x63','\x6d\x5a\x79\x59\x6f\x66\x6e\x62\x71\x4b\x6a\x73\x42\x71','\x6d\x74\x79\x34\x6e\x64\x71\x33\x6d\x4a\x48\x35\x77\x4c\x7a\x4e\x76\x78\x61'];a0_0x5c79=function(){return _0x2569f1;};return a0_0x5c79();}function a0_0x20a9(_0x2d84d3,_0x177340){_0x2d84d3=_0x2d84d3-0x1a0;var _0x5c79f9=a0_0x5c79();var _0x20a927=_0x5c79f9[_0x2d84d3];if(a0_0x20a9['\x7a\x6d\x46\x48\x6e\x41']===undefined){var _0x2ee51b=function(_0x36c88d){var _0x671328='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';var _0x45b544='',_0x24647f='';for(var _0x1edbbb=0x0,_0x122c5f,_0x4036bd,_0x1d0e14=0x0;_0x4036bd=_0x36c88d['\x63\x68\x61\x72\x41\x74'](_0x1d0e14++);~_0x4036bd&&(_0x122c5f=_0x1edbbb%0x4?_0x122c5f*0x40+_0x4036bd:_0x4036bd,_0x1edbbb++%0x4)?_0x45b544+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x122c5f>>(-0x2*_0x1edbbb&0x6)):0x0){_0x4036bd=_0x671328['\x69\x6e\x64\x65\x78\x4f\x66'](_0x4036bd);}for(var _0x2e7cf5=0x0,_0xa61bca=_0x45b544['\x6c\x65\x6e\x67\x74\x68'];_0x2e7cf5<_0xa61bca;_0x2e7cf5++){_0x24647f+='\x25'+('\x30\x30'+_0x45b544['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x2e7cf5)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x24647f);};a0_0x20a9['\x67\x44\x68\x6e\x42\x41']=_0x2ee51b,a0_0x20a9['\x77\x50\x55\x66\x49\x47']={},a0_0x20a9['\x7a\x6d\x46\x48\x6e\x41']=!![];}var _0xbf583b=_0x5c79f9[0x0],_0x582151=_0x2d84d3+_0xbf583b,_0x56cc59=a0_0x20a9['\x77\x50\x55\x66\x49\x47'][_0x582151];return!_0x56cc59?(_0x20a927=a0_0x20a9['\x67\x44\x68\x6e\x42\x41'](_0x20a927),a0_0x20a9['\x77\x50\x55\x66\x49\x47'][_0x582151]=_0x20a927):_0x20a927=_0x56cc59,_0x20a927;}import{a as a0_0x24647f,c as a0_0x1edbbb,d as a0_0x122c5f,i as a0_0x4036bd,l as a0_0x1d0e14,n as a0_0x2e7cf5,o as a0_0xa61bca,r as a0_0x2a3020,s as a0_0x20fcec,t as a0_0x2efaca,u as a0_0x457b07}from'\x2e\x2f\x65\x72\x72\x6f\x72\x73\x2d\x44\x5a\x73\x66\x4a\x55\x75\x63\x2e\x6a\x73';import{n as a0_0x10686e}from'\x2e\x2f\x63\x6c\x69\x65\x6e\x74\x2d\x42\x68\x68\x43\x77\x50\x73\x71\x2e\x6a\x73';export{a0_0x2efaca as AuthError,a0_0x2e7cf5 as CapabilityError,a0_0x2a3020 as NetworkError,a0_0x4036bd as NotFoundError,a0_0x24647f as PartialFailureError,a0_0xa61bca as QuotaError,a0_0x10686e as Sandbox,a0_0x10686e as SandboxClient,a0_0x20fcec as SandboxError,a0_0x45b544 as SandboxInstance,a0_0x1edbbb as ServerError,a0_0x1d0e14 as StateError,a0_0x457b07 as TimeoutError,a0_0x122c5f as ValidationError};
1
+ (function(_0x583277,_0x4f5cdb){var _0x5f0730=a0_0x4112,_0x32d8fe=_0x583277();while(!![]){try{var _0x102643=parseInt(_0x5f0730(0x161))/0x1+parseInt(_0x5f0730(0x15f))/0x2*(-parseInt(_0x5f0730(0x15d))/0x3)+-parseInt(_0x5f0730(0x160))/0x4+-parseInt(_0x5f0730(0x15a))/0x5+-parseInt(_0x5f0730(0x159))/0x6+parseInt(_0x5f0730(0x158))/0x7*(parseInt(_0x5f0730(0x15e))/0x8)+parseInt(_0x5f0730(0x15b))/0x9*(parseInt(_0x5f0730(0x15c))/0xa);if(_0x102643===_0x4f5cdb)break;else _0x32d8fe['push'](_0x32d8fe['shift']());}catch(_0x1f5dcb){_0x32d8fe['push'](_0x32d8fe['shift']());}}}(a0_0x3714,0x7ec46));import{t as a0_0x3d0811}from'\x2e\x2f\x73\x61\x6e\x64\x62\x6f\x78\x2d\x43\x66\x75\x78\x74\x42\x65\x44\x2e\x6a\x73';function a0_0x4112(_0x186721,_0x586f0b){_0x186721=_0x186721-0x158;var _0x3714c5=a0_0x3714();var _0x411230=_0x3714c5[_0x186721];if(a0_0x4112['\x4b\x48\x79\x76\x76\x4c']===undefined){var _0x5763e4=function(_0xa74e1e){var _0x1a5ff3='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';var _0x3d0811='',_0x1860c2='';for(var _0xce1019=0x0,_0x15b74a,_0x43b004,_0xe53723=0x0;_0x43b004=_0xa74e1e['\x63\x68\x61\x72\x41\x74'](_0xe53723++);~_0x43b004&&(_0x15b74a=_0xce1019%0x4?_0x15b74a*0x40+_0x43b004:_0x43b004,_0xce1019++%0x4)?_0x3d0811+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x15b74a>>(-0x2*_0xce1019&0x6)):0x0){_0x43b004=_0x1a5ff3['\x69\x6e\x64\x65\x78\x4f\x66'](_0x43b004);}for(var _0xd3f07a=0x0,_0x3633a7=_0x3d0811['\x6c\x65\x6e\x67\x74\x68'];_0xd3f07a<_0x3633a7;_0xd3f07a++){_0x1860c2+='\x25'+('\x30\x30'+_0x3d0811['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0xd3f07a)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x1860c2);};a0_0x4112['\x6a\x68\x6d\x4f\x4b\x74']=_0x5763e4,a0_0x4112['\x49\x79\x45\x4c\x73\x69']={},a0_0x4112['\x4b\x48\x79\x76\x76\x4c']=!![];}var _0x5ab970=_0x3714c5[0x0],_0x470feb=_0x186721+_0x5ab970,_0x2f0a3e=a0_0x4112['\x49\x79\x45\x4c\x73\x69'][_0x470feb];return!_0x2f0a3e?(_0x411230=a0_0x4112['\x6a\x68\x6d\x4f\x4b\x74'](_0x411230),a0_0x4112['\x49\x79\x45\x4c\x73\x69'][_0x470feb]=_0x411230):_0x411230=_0x2f0a3e,_0x411230;}import{a as a0_0x1860c2,c as a0_0xce1019,d as a0_0x15b74a,i as a0_0x43b004,l as a0_0xe53723,n as a0_0xd3f07a,o as a0_0x3633a7,r as a0_0x4f31ee,s as a0_0x1b1dbc,t as a0_0x1d1c6a,u as a0_0x4aca56}from'\x2e\x2f\x65\x72\x72\x6f\x72\x73\x2d\x44\x5a\x73\x66\x4a\x55\x75\x63\x2e\x6a\x73';function a0_0x3714(){var _0x2a83c2=['\x6d\x4a\x6d\x32\x6d\x64\x65\x34\x6e\x68\x6e\x4e\x43\x65\x39\x68\x76\x61','\x6d\x5a\x61\x31\x6f\x74\x71\x35\x6d\x68\x72\x6f\x73\x65\x4c\x32\x73\x57','\x6d\x74\x48\x52\x45\x4e\x76\x7a\x74\x65\x47','\x6f\x74\x61\x58\x6e\x74\x47\x33\x6d\x65\x4c\x78\x41\x30\x72\x50\x72\x47','\x6e\x64\x75\x34\x6e\x64\x47\x58\x43\x76\x76\x48\x71\x4b\x58\x68','\x6d\x4a\x71\x34\x72\x65\x7a\x69\x44\x66\x66\x64','\x6d\x4d\x58\x6e\x45\x4b\x31\x6b\x7a\x61','\x6d\x5a\x6d\x31\x6e\x74\x71\x57\x6d\x68\x62\x53\x43\x67\x76\x4f\x44\x71','\x6e\x4a\x4b\x35\x6d\x64\x47\x30\x45\x4c\x66\x72\x75\x67\x66\x6d','\x6d\x5a\x65\x30\x6d\x32\x66\x35\x44\x32\x66\x36\x7a\x57'];a0_0x3714=function(){return _0x2a83c2;};return a0_0x3714();}import{n as a0_0x22ba80}from'\x2e\x2f\x63\x6c\x69\x65\x6e\x74\x2d\x42\x5a\x6e\x30\x73\x7a\x75\x38\x2e\x6a\x73';export{a0_0x1d1c6a as AuthError,a0_0xd3f07a as CapabilityError,a0_0x4f31ee as NetworkError,a0_0x43b004 as NotFoundError,a0_0x1860c2 as PartialFailureError,a0_0x3633a7 as QuotaError,a0_0x22ba80 as Sandbox,a0_0x22ba80 as SandboxClient,a0_0x1b1dbc as SandboxError,a0_0x3d0811 as SandboxInstance,a0_0xce1019 as ServerError,a0_0xe53723 as StateError,a0_0x4aca56 as TimeoutError,a0_0x15b74a as ValidationError};
@@ -1 +1 @@
1
- const a0_0x33b244=a0_0x6273;(function(_0x3eece7,_0x4e6157){const _0x2c432a=a0_0x6273,_0x5a111f=_0x3eece7();while(!![]){try{const _0xbf3547=-parseInt(_0x2c432a(0x238))/0x1*(parseInt(_0x2c432a(0x1f7))/0x2)+-parseInt(_0x2c432a(0x1fa))/0x3+parseInt(_0x2c432a(0x23a))/0x4+-parseInt(_0x2c432a(0x21f))/0x5*(-parseInt(_0x2c432a(0x1ec))/0x6)+-parseInt(_0x2c432a(0x257))/0x7+-parseInt(_0x2c432a(0x1f3))/0x8*(parseInt(_0x2c432a(0x244))/0x9)+-parseInt(_0x2c432a(0x20b))/0xa*(-parseInt(_0x2c432a(0x207))/0xb);if(_0xbf3547===_0x4e6157)break;else _0x5a111f['push'](_0x5a111f['shift']());}catch(_0x280d5a){_0x5a111f['push'](_0x5a111f['shift']());}}}(a0_0x17fa,0xe043d));var SandboxError=class extends Error{[a0_0x33b244(0x25f)];['\x63\x6f\x64\x65'];[a0_0x33b244(0x1fc)];[a0_0x33b244(0x264)];[a0_0x33b244(0x1f9)];[a0_0x33b244(0x24d)];[a0_0x33b244(0x254)];constructor(_0x49a896,_0x333050,_0x5e685b,_0x668114){const _0x123999=a0_0x33b244;super(_0x49a896),this['\x6e\x61\x6d\x65']=_0x123999(0x210),this['\x63\x6f\x64\x65']=_0x333050,this[_0x123999(0x25f)]=_0x5e685b,this['\x6f\x72\x69\x67\x69\x6e']=_0x668114?.[_0x123999(0x1fc)],this['\x65\x6e\x64\x70\x6f\x69\x6e\x74']=_0x668114?.['\x65\x6e\x64\x70\x6f\x69\x6e\x74'],this['\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73']=_0x668114?.[_0x123999(0x1f9)],this[_0x123999(0x24d)]=_0x668114?.[_0x123999(0x24d)],this[_0x123999(0x254)]=_0x668114?.['\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x49\x6d\x61\x67\x65'];}},AuthError=class extends SandboxError{constructor(_0x1f33ba=a0_0x33b244(0x21b),_0x46b8d7){const _0x1fecee=a0_0x33b244,_0x52280c={'\x6c\x46\x50\x73\x61':_0x1fecee(0x236)};super(_0x1f33ba,_0x1fecee(0x21a),0x191,_0x46b8d7),this[_0x1fecee(0x234)]=_0x52280c[_0x1fecee(0x1eb)];}},NotFoundError=class extends SandboxError{[a0_0x33b244(0x260)];[a0_0x33b244(0x262)];constructor(_0x401c32,_0x492212,_0x978820){const _0x5f1d1c=a0_0x33b244;super(_0x401c32+_0x5f1d1c(0x258)+_0x492212,_0x5f1d1c(0x216),0x194,_0x978820),this[_0x5f1d1c(0x234)]=_0x5f1d1c(0x25e),this['\x72\x65\x73\x6f\x75\x72\x63\x65\x54\x79\x70\x65']=_0x401c32,this['\x72\x65\x73\x6f\x75\x72\x63\x65\x49\x64']=_0x492212;}},QuotaError=class extends SandboxError{[a0_0x33b244(0x20a)];[a0_0x33b244(0x248)];[a0_0x33b244(0x20c)];[a0_0x33b244(0x1f9)];constructor(_0xee2353,_0x226c4d,_0x235d10,_0x4feb5c,_0x1319e8,_0x5692d9=0x1ad){const _0x5910a7=a0_0x33b244,_0x2997fa={'\x54\x73\x62\x6d\x71':'\x51\x55\x4f\x54\x41\x5f\x45\x58\x43\x45\x45\x44\x45\x44'},_0x58a34b=_0x5910a7(0x230)['\x73\x70\x6c\x69\x74']('\x7c');let _0x15e393=0x0;while(!![]){switch(_0x58a34b[_0x15e393++]){case'\x30':this[_0x5910a7(0x20c)]=_0x4feb5c;continue;case'\x31':this[_0x5910a7(0x234)]='\x51\x75\x6f\x74\x61\x45\x72\x72\x6f\x72';continue;case'\x32':this[_0x5910a7(0x248)]=_0x235d10;continue;case'\x33':super(_0x226c4d??_0x5910a7(0x245)+_0xee2353,_0x2997fa['\x54\x73\x62\x6d\x71'],_0x5692d9,_0x1319e8);continue;case'\x34':this[_0x5910a7(0x1f9)]=_0x1319e8?.[_0x5910a7(0x1f9)];continue;case'\x35':this['\x71\x75\x6f\x74\x61\x54\x79\x70\x65']=_0xee2353;continue;}break;}}},CapabilityError=class extends SandboxError{[a0_0x33b244(0x26a)];constructor(_0x4b4320,_0xc5af02=a0_0x33b244(0x203),_0x5c60ed=0x190,_0x268266,_0x1d3552){const _0x32acd8=a0_0x33b244;super(_0x4b4320,_0xc5af02,_0x5c60ed,_0x268266),this[_0x32acd8(0x234)]=_0x32acd8(0x269),this[_0x32acd8(0x26a)]=_0x1d3552;}},PartialFailureError=class extends SandboxError{[a0_0x33b244(0x22c)];constructor(_0x4a5b23,_0x18ce19='\x50\x41\x52\x54\x49\x41\x4c\x5f\x46\x41\x49\x4c\x55\x52\x45',_0x543c5b=0x1f6,_0x278387,_0x539bd9){const _0x3a65ec=a0_0x33b244;super(_0x4a5b23,_0x18ce19,_0x543c5b,_0x278387),this[_0x3a65ec(0x234)]=_0x3a65ec(0x20e),this[_0x3a65ec(0x22c)]=_0x539bd9;}},ValidationError=class extends SandboxError{[a0_0x33b244(0x201)];constructor(_0x3bf104,_0x425d73,_0x31bed4){const _0x4418e9=a0_0x33b244;super(_0x3bf104,_0x4418e9(0x1ef),0x190,_0x31bed4),this[_0x4418e9(0x234)]='\x56\x61\x6c\x69\x64\x61\x74\x69\x6f\x6e\x45\x72\x72\x6f\x72',this['\x66\x69\x65\x6c\x64\x73']=_0x425d73;}},StateError=class extends SandboxError{[a0_0x33b244(0x1fe)];[a0_0x33b244(0x217)];constructor(_0x4cb84e,_0x2100e6,_0x1c4022,_0x5208ee){const _0x3ae330=a0_0x33b244,_0x371375={'\x6f\x6c\x52\x57\x49':_0x3ae330(0x235)};super(_0x4cb84e,_0x371375[_0x3ae330(0x233)],0x199,_0x5208ee),this[_0x3ae330(0x234)]=_0x3ae330(0x221),this[_0x3ae330(0x1fe)]=_0x2100e6,this[_0x3ae330(0x217)]=_0x1c4022;}},TimeoutError=class extends SandboxError{[a0_0x33b244(0x22b)];constructor(_0x280b30,_0x2d8725,_0x2bb0de){const _0x321a0a=a0_0x33b244,_0x7a7326={'\x62\x62\x51\x45\x73':_0x321a0a(0x24e)};super(_0x2d8725??_0x321a0a(0x259)+_0x280b30+'\x6d\x73',_0x7a7326[_0x321a0a(0x26b)],0x198,_0x2bb0de),this[_0x321a0a(0x234)]=_0x321a0a(0x25d),this[_0x321a0a(0x22b)]=_0x280b30;}},NetworkError=class extends SandboxError{['\x63\x61\x75\x73\x65'];constructor(_0x4442e8,_0xee5a5d,_0x33b6c3){const _0x1a3b9f=a0_0x33b244,_0x51c576={'\x74\x73\x45\x6f\x72':function(_0xe474d5,_0x15c747){return _0xe474d5 instanceof _0x15c747;},'\x42\x6c\x55\x4a\x6f':'\x4e\x45\x54\x57\x4f\x52\x4b\x5f\x45\x52\x52\x4f\x52'},_0x1473b9=_0x51c576[_0x1a3b9f(0x213)](_0xee5a5d,Error)?_0xee5a5d:void 0x0,_0x23342a=_0xee5a5d instanceof Error?_0x33b6c3:_0xee5a5d??_0x33b6c3;super(_0x4442e8,_0x51c576['\x42\x6c\x55\x4a\x6f'],void 0x0,_0x23342a),this[_0x1a3b9f(0x234)]=_0x1a3b9f(0x205),this[_0x1a3b9f(0x200)]=_0x1473b9;}},ServerError=class extends SandboxError{constructor(_0x2196df,_0x4b477b=0x1f4,_0x3af76e){const _0x4704b2=a0_0x33b244,_0x367203={'\x6d\x49\x51\x76\x7a':'\x53\x65\x72\x76\x65\x72\x45\x72\x72\x6f\x72'};super(_0x2196df,_0x4704b2(0x240),_0x4b477b,_0x3af76e),this[_0x4704b2(0x234)]=_0x367203['\x6d\x49\x51\x76\x7a'];}};function parseRetryAfterMs(_0x1247d1,_0x282646){const _0x2c12f2=a0_0x33b244,_0x2083d4={'\x72\x68\x77\x74\x42':function(_0x14b43c,_0x30b79a){return _0x14b43c===_0x30b79a;},'\x5a\x45\x59\x75\x43':'\x6e\x75\x6d\x62\x65\x72','\x74\x41\x52\x51\x58':function(_0x172ff2,_0x301ceb){return _0x172ff2(_0x301ceb);},'\x74\x62\x6a\x76\x69':function(_0x49bd24,_0x41e347){return _0x49bd24-_0x41e347;}};if(_0x2083d4[_0x2c12f2(0x1fd)](typeof _0x282646[_0x2c12f2(0x1f9)],_0x2083d4[_0x2c12f2(0x20d)])&&Number[_0x2c12f2(0x1ff)](_0x282646[_0x2c12f2(0x1f9)]))return Math['\x6d\x61\x78'](0x0,_0x282646[_0x2c12f2(0x1f9)]);if(!_0x1247d1)return void 0x0;const _0x5a9ac4=_0x1247d1[_0x2c12f2(0x26c)]();if(!_0x5a9ac4)return void 0x0;const _0x38f618=_0x2083d4[_0x2c12f2(0x265)](Number,_0x5a9ac4);if(Number[_0x2c12f2(0x1ff)](_0x38f618))return Math[_0x2c12f2(0x263)](0x0,_0x38f618)*0x3e8;const _0x3ab3f2=Date[_0x2c12f2(0x22a)](_0x5a9ac4);if(!Number[_0x2c12f2(0x229)](_0x3ab3f2))return Math['\x6d\x61\x78'](0x0,_0x2083d4[_0x2c12f2(0x1f0)](_0x3ab3f2,Date[_0x2c12f2(0x253)]()));}function inferOrigin(_0x58ece5,_0x5ca7fe){const _0x5c6752=a0_0x33b244,_0x28a893={'\x6d\x58\x59\x74\x7a':'\x78\x2d\x73\x69\x64\x65\x63\x61\x72\x2d\x76\x65\x72\x73\x69\x6f\x6e','\x4c\x41\x43\x4f\x73':_0x5c6752(0x255),'\x74\x58\x5a\x54\x59':_0x5c6752(0x26e),'\x4f\x4c\x74\x54\x62':_0x5c6752(0x21c),'\x43\x4d\x44\x66\x6e':_0x5c6752(0x239),'\x58\x6b\x53\x58\x46':_0x5c6752(0x25a),'\x6d\x53\x67\x6c\x75':_0x5c6752(0x261),'\x55\x75\x4b\x68\x47':_0x5c6752(0x1f2),'\x65\x74\x66\x42\x43':_0x5c6752(0x247)},_0xa6bd80=_0x5ca7fe?.['\x70\x61\x74\x68']??_0x58ece5?.[_0x5c6752(0x211)]('\x78\x2d\x74\x61\x6e\x67\x6c\x65\x2d\x72\x65\x71\x75\x65\x73\x74\x2d\x70\x61\x74\x68')??void 0x0;if(!_0x58ece5)return _0x5ca7fe?.[_0x5c6752(0x22e)]?'\x73\x61\x6e\x64\x62\x6f\x78\x2d\x61\x70\x69':void 0x0;if(_0x58ece5[_0x5c6752(0x1ea)](_0x28a893[_0x5c6752(0x256)])||_0x58ece5[_0x5c6752(0x1ea)](_0x28a893['\x4c\x41\x43\x4f\x73'])||_0x58ece5[_0x5c6752(0x1ea)](_0x5c6752(0x25c)))return _0x28a893[_0x5c6752(0x252)];if(_0x58ece5[_0x5c6752(0x1ea)](_0x28a893['\x4f\x4c\x74\x54\x62']))return _0x5c6752(0x261);if(_0xa6bd80?.[_0x5c6752(0x225)](_0x28a893[_0x5c6752(0x23f)]))return _0x5c6752(0x246);if(_0xa6bd80){if(_0xa6bd80[_0x5c6752(0x225)](_0x5c6752(0x224))||_0xa6bd80[_0x5c6752(0x225)](_0x5c6752(0x1f4))||_0xa6bd80[_0x5c6752(0x225)](_0x28a893['\x58\x6b\x53\x58\x46']))return _0x28a893[_0x5c6752(0x237)];return _0x28a893[_0x5c6752(0x1f6)];}return _0x28a893[_0x5c6752(0x268)];}function a0_0x17fa(){const _0x3dc547=['\x79\x32\x39\x55\x44\x67\x66\x50\x42\x4d\x76\x59\x73\x77\x31\x48\x7a\x32\x75','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x77\x4c\x54\x79\x77\x44\x4c','\x42\x76\x48\x7a\x44\x68\x4f','\x6d\x5a\x69\x32\x6d\x5a\x72\x65\x74\x4d\x4c\x62\x76\x67\x38','\x69\x67\x35\x56\x44\x63\x62\x4d\x42\x33\x76\x55\x7a\x64\x4f\x47','\x75\x4d\x76\x58\x44\x77\x76\x5a\x44\x63\x62\x30\x41\x77\x31\x4c\x7a\x63\x62\x56\x44\x78\x71\x47\x79\x77\x7a\x30\x7a\x78\x69\x47','\x6c\x32\x4c\x55\x43\x33\x72\x48\x42\x4d\x6e\x4c\x43\x57','\x42\x77\x76\x30\x41\x67\x39\x4b','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x77\x4c\x54\x79\x77\x44\x4c\x6c\x78\x72\x48\x7a\x57','\x76\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x76\x59\x43\x4d\x39\x59','\x74\x4d\x39\x30\x72\x4d\x39\x31\x42\x4d\x72\x66\x43\x4e\x6a\x56\x43\x47','\x43\x33\x72\x48\x44\x68\x76\x5a','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x75\x45\x78\x62\x4c','\x79\x32\x39\x55\x44\x68\x6a\x56\x42\x63\x31\x57\x42\x67\x66\x55\x7a\x71','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x6a\x7a\x61','\x42\x77\x66\x34','\x7a\x77\x35\x4b\x43\x67\x39\x50\x42\x4e\x71','\x44\x65\x66\x73\x75\x76\x47','\x74\x4c\x6a\x77\x41\x4c\x79','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x7a\x78\x72\x4d\x71\x4b\x6d','\x71\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x45\x75\x76\x59\x43\x4d\x39\x59','\x79\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x45\x71','\x79\x4d\x6a\x72\x72\x78\x6d','\x44\x68\x6a\x50\x42\x71','\x76\x4e\x6a\x55\x41\x66\x43','\x43\x32\x4c\x4b\x7a\x77\x6e\x48\x43\x47','\x41\x67\x66\x5a','\x42\x65\x7a\x71\x43\x32\x65','\x6e\x64\x65\x58\x6e\x5a\x69\x58\x6f\x68\x7a\x64\x73\x4d\x35\x6b\x43\x71','\x76\x75\x35\x6c\x74\x4b\x39\x78\x74\x4c\x39\x66\x75\x4c\x6a\x70\x75\x47','\x44\x67\x39\x41\x43\x75\x30','\x76\x4b\x66\x6d\x73\x75\x72\x62\x76\x65\x4c\x70\x74\x4c\x39\x66\x75\x4c\x6a\x70\x75\x47','\x44\x67\x6a\x51\x44\x4d\x4b','\x43\x30\x58\x49\x74\x4d\x43','\x43\x4e\x76\x55\x44\x67\x4c\x54\x7a\x71','\x6d\x74\x61\x33\x6d\x64\x71\x57\x6f\x66\x7a\x79\x74\x32\x72\x7a\x73\x71','\x6c\x33\x6e\x50\x7a\x67\x76\x4a\x79\x78\x6a\x5a','\x74\x4b\x39\x75\x78\x30\x4c\x6e\x75\x65\x58\x66\x74\x75\x76\x6f\x76\x65\x76\x65','\x76\x78\x76\x6c\x41\x65\x43','\x6e\x64\x65\x35\x6d\x4d\x31\x71\x45\x4e\x7a\x6f\x43\x61','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x43\x4d\x76\x30\x43\x4e\x4c\x62\x7a\x4e\x72\x4c\x43\x4b\x31\x5a','\x6d\x4a\x61\x35\x6d\x5a\x44\x58\x71\x32\x48\x51\x74\x33\x4f','\x75\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x75','\x42\x33\x6a\x50\x7a\x32\x4c\x55','\x43\x4d\x48\x33\x44\x65\x69','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x66\x6e\x30\x79\x78\x72\x4c','\x41\x78\x6e\x67\x41\x77\x35\x50\x44\x67\x75','\x79\x32\x66\x31\x43\x32\x75','\x7a\x4d\x4c\x4c\x42\x67\x72\x5a','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x71\x30\x66\x71\x71\x75\x6a\x6a\x74\x65\x4c\x75\x77\x76\x39\x76\x74\x4c\x6e\x76\x75\x66\x62\x70\x75\x4c\x72\x66\x72\x61','\x75\x30\x48\x62\x75\x4b\x76\x65\x78\x31\x44\x70\x75\x4b\x54\x74\x75\x65\x66\x64\x72\x76\x39\x76\x74\x4c\x6e\x76\x75\x66\x62\x70\x75\x4c\x72\x66\x72\x61','\x74\x4d\x76\x30\x44\x32\x39\x59\x41\x30\x76\x59\x43\x4d\x39\x59','\x73\x31\x50\x56\x7a\x67\x53','\x6e\x5a\x44\x59\x73\x33\x50\x76\x72\x65\x69','\x78\x31\x66\x76\x74\x31\x72\x62\x78\x30\x76\x79\x71\x30\x76\x66\x72\x65\x76\x65','\x44\x78\x62\x67\x45\x66\x47','\x43\x78\x76\x56\x44\x67\x66\x75\x45\x78\x62\x4c','\x6d\x74\x43\x5a\x6e\x4a\x69\x57\x6d\x65\x66\x55\x44\x33\x6e\x4b\x74\x61','\x42\x67\x4c\x54\x41\x78\x71','\x77\x4b\x76\x7a\x44\x75\x6d','\x75\x67\x66\x59\x44\x67\x4c\x48\x42\x65\x7a\x48\x41\x77\x58\x31\x43\x4d\x76\x66\x43\x4e\x6a\x56\x43\x47','\x77\x4e\x62\x49\x75\x66\x61','\x75\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x76\x59\x43\x4d\x39\x59','\x7a\x32\x76\x30','\x75\x65\x66\x73\x76\x65\x4c\x62\x74\x66\x39\x67\x71\x75\x4c\x6d\x76\x76\x6a\x66','\x44\x68\x6e\x66\x42\x33\x69','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x78\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x7a\x67\x72\x36\x72\x33\x69','\x74\x4b\x39\x75\x78\x30\x7a\x70\x76\x75\x35\x65','\x43\x4d\x76\x58\x44\x77\x4c\x59\x7a\x77\x72\x74\x44\x67\x66\x30\x7a\x71','\x43\x68\x7a\x78\x7a\x4b\x57','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x71\x76\x76\x75\x73\x66\x39\x66\x75\x4c\x6a\x70\x75\x47','\x71\x78\x76\x30\x41\x67\x76\x55\x44\x67\x4c\x4a\x79\x78\x72\x50\x42\x32\x34\x47\x7a\x4d\x66\x50\x42\x67\x76\x4b','\x45\x63\x31\x56\x43\x4d\x6e\x4f\x7a\x78\x6e\x30\x43\x4d\x66\x30\x42\x33\x69\x54\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x43\x4d\x76\x30\x43\x4e\x4b\x54\x79\x77\x7a\x30\x7a\x78\x69','\x71\x30\x66\x71\x71\x75\x6a\x6a\x74\x65\x4c\x75\x77\x76\x39\x6f\x74\x31\x72\x46\x72\x75\x35\x62\x71\x4b\x58\x66\x72\x61','\x6e\x77\x58\x58\x72\x78\x6e\x50\x74\x47','\x72\x4b\x58\x66\x72\x76\x72\x46\x75\x30\x48\x62\x75\x4b\x76\x65\x78\x31\x44\x70\x75\x4b\x54\x74\x75\x65\x66\x64\x72\x76\x39\x76\x74\x4c\x6e\x76\x75\x66\x62\x70\x75\x4c\x72\x66\x72\x61','\x75\x33\x72\x48\x44\x67\x76\x66\x43\x4e\x6a\x56\x43\x47','\x72\x76\x48\x4c\x74\x77\x65','\x7a\x4c\x6e\x6d\x74\x77\x6d','\x6c\x33\x62\x59\x42\x32\x50\x4c\x79\x33\x72\x5a','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x7a\x78\x6a\x59\x42\x33\x69','\x7a\x77\x35\x4b\x43\x31\x44\x50\x44\x67\x47','\x72\x4b\x58\x66\x72\x76\x72\x46\x75\x65\x66\x73\x76\x65\x4c\x62\x74\x66\x39\x67\x71\x75\x4c\x6d\x76\x76\x6a\x66','\x41\x78\x6e\x6f\x79\x75\x34','\x43\x67\x66\x59\x43\x32\x75','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x31\x5a','\x7a\x4d\x66\x50\x42\x68\x76\x59\x7a\x78\x6d','\x43\x33\x72\x59\x41\x77\x35\x4e','\x43\x67\x66\x30\x41\x61','\x72\x33\x44\x36\x7a\x67\x53','\x6d\x33\x57\x58\x46\x64\x76\x38\x6d\x4e\x57\x57\x46\x64\x71','\x7a\x67\x76\x30\x79\x77\x4c\x53\x43\x57','\x72\x65\x6a\x56\x7a\x78\x4f','\x42\x32\x58\x73\x76\x30\x4b','\x42\x4d\x66\x54\x7a\x71','\x73\x75\x35\x77\x71\x75\x58\x6a\x72\x66\x39\x74\x76\x65\x66\x75\x72\x71','\x71\x78\x76\x30\x41\x65\x76\x59\x43\x4d\x39\x59','\x42\x76\x6e\x4e\x42\x68\x75','\x6e\x5a\x61\x31\x71\x31\x6a\x75\x44\x4b\x35\x56','\x6c\x33\x79\x58\x6c\x57','\x6e\x74\x69\x5a\x6e\x4a\x79\x35\x6d\x4d\x4c\x6d\x43\x4c\x62\x4e\x77\x47','\x42\x31\x4c\x6f\x77\x77\x30','\x43\x33\x6a\x4e\x73\x76\x75','\x79\x32\x39\x4b\x7a\x71','\x45\x63\x31\x30\x79\x77\x35\x4e\x42\x67\x75\x54\x43\x4d\x76\x58\x44\x77\x76\x5a\x44\x63\x31\x57\x79\x78\x72\x4f','\x71\x30\x31\x65\x7a\x4d\x34','\x75\x30\x76\x73\x76\x4b\x76\x73\x78\x30\x76\x73\x75\x4b\x39\x73','\x75\x76\x48\x62\x74\x78\x61','\x76\x4e\x7a\x4b\x73\x75\x69','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x4c\x43\x4e\x6a\x56\x43\x47','\x6e\x74\x72\x57\x44\x4b\x7a\x75\x79\x4e\x71','\x75\x78\x76\x56\x44\x67\x65\x47\x7a\x78\x48\x4a\x7a\x77\x76\x4b\x7a\x77\x71\x36\x69\x61','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x31\x48\x43\x67\x4b','\x44\x77\x35\x52\x42\x4d\x39\x33\x42\x47','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x61','\x43\x4d\x66\x30\x7a\x76\x39\x53\x41\x77\x31\x50\x44\x61','\x74\x66\x6a\x4c\x41\x78\x4f','\x72\x4b\x58\x66\x72\x76\x72\x46\x72\x65\x4c\x74\x75\x65\x66\x75\x71\x30\x48\x46\x75\x65\x66\x73\x76\x65\x4c\x62\x74\x66\x39\x67\x71\x75\x4c\x6d\x76\x76\x6a\x66','\x43\x4d\x76\x5a\x44\x77\x58\x30\x43\x57','\x43\x32\x4c\x4b\x7a\x77\x6e\x48\x43\x4c\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x76\x65\x4c\x6e\x72\x75\x39\x76\x76\x61','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x76\x75\x35\x74\x76\x76\x62\x71\x74\x31\x6a\x75\x72\x75\x72\x46\x71\x30\x66\x71\x71\x75\x6a\x6a\x74\x65\x4c\x75\x77\x71','\x44\x33\x66\x50\x44\x4e\x71','\x44\x66\x48\x41\x76\x66\x4b','\x42\x4d\x39\x33'];a0_0x17fa=function(){return _0x3dc547;};return a0_0x17fa();}function isQuotaCode(_0x3aaab3){const _0x22e6ea=a0_0x33b244,_0x1815f2={'\x4b\x5a\x6f\x64\x6b':function(_0x57f873,_0xb13fee){return _0x57f873===_0xb13fee;}};return _0x1815f2[_0x22e6ea(0x206)](_0x3aaab3,'\x51\x55\x4f\x54\x41\x5f\x45\x58\x43\x45\x45\x44\x45\x44')||_0x3aaab3?.[_0x22e6ea(0x227)](_0x22e6ea(0x208))===!![];}function isCapabilityCode(_0xc59f71){const _0x439178=a0_0x33b244,_0x5a6c9e={'\x46\x63\x44\x44\x43':function(_0x155479,_0x58e760){return _0x155479===_0x58e760;},'\x6f\x68\x55\x63\x6d':_0x439178(0x250),'\x43\x55\x69\x79\x44':_0x439178(0x220),'\x56\x72\x6e\x68\x57':function(_0x280726,_0x43aaa7){return _0x280726===_0x43aaa7;}};return _0x5a6c9e['\x46\x63\x44\x44\x43'](_0xc59f71,_0x439178(0x21e))||_0xc59f71===_0x439178(0x203)||_0xc59f71===_0x5a6c9e['\x6f\x68\x55\x63\x6d']||_0xc59f71===_0x5a6c9e['\x43\x55\x69\x79\x44']||_0x5a6c9e[_0x439178(0x26d)](_0xc59f71,_0x439178(0x204));}function isPartialFailureCode(_0x1718e5){const _0x4a3268=a0_0x33b244,_0x35abab={'\x5a\x70\x62\x50\x50':function(_0x3a92e7,_0x3030db){return _0x3a92e7===_0x3030db;},'\x50\x69\x62\x4f\x50':function(_0x3cf106,_0x19dd7b){return _0x3cf106===_0x19dd7b;},'\x47\x77\x7a\x64\x6b':_0x4a3268(0x24b),'\x70\x76\x57\x66\x4c':'\x46\x4c\x45\x45\x54\x5f\x44\x45\x50\x52\x4f\x56\x49\x53\x49\x4f\x4e\x5f\x46\x41\x49\x4c\x45\x44'};return _0x35abab[_0x4a3268(0x20f)](_0x1718e5,_0x4a3268(0x212))||_0x1718e5===_0x4a3268(0x228)||_0x35abab['\x50\x69\x62\x4f\x50'](_0x1718e5,_0x35abab[_0x4a3268(0x22f)])||_0x35abab['\x5a\x70\x62\x50\x50'](_0x1718e5,_0x35abab[_0x4a3268(0x218)]);}function asString(_0x113702){const _0x19cd96=a0_0x33b244;return typeof _0x113702===_0x19cd96(0x22d)&&_0x113702[_0x19cd96(0x26c)]()['\x6c\x65\x6e\x67\x74\x68']>0x0?_0x113702:void 0x0;}function isFailureDetail(_0x328a3a){const _0x473e1e=a0_0x33b244,_0x325c4f={'\x74\x6f\x5a\x71\x4d':function(_0x20782d,_0x52d037){return _0x20782d===_0x52d037;}};return _0x325c4f[_0x473e1e(0x1ee)](typeof _0x328a3a,'\x6f\x62\x6a\x65\x63\x74')&&_0x328a3a!==null&&!Array['\x69\x73\x41\x72\x72\x61\x79'](_0x328a3a);}function a0_0x6273(_0x2831a6,_0x138776){_0x2831a6=_0x2831a6-0x1ea;const _0x17fa3e=a0_0x17fa();let _0x627356=_0x17fa3e[_0x2831a6];if(a0_0x6273['\x50\x72\x77\x69\x6d\x61']===undefined){var _0x26530d=function(_0x140aad){const _0x19afc5='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x53523b='',_0x1dd1de='';for(let _0x3ee658=0x0,_0x370311,_0x5ca252,_0x5794b7=0x0;_0x5ca252=_0x140aad['\x63\x68\x61\x72\x41\x74'](_0x5794b7++);~_0x5ca252&&(_0x370311=_0x3ee658%0x4?_0x370311*0x40+_0x5ca252:_0x5ca252,_0x3ee658++%0x4)?_0x53523b+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x370311>>(-0x2*_0x3ee658&0x6)):0x0){_0x5ca252=_0x19afc5['\x69\x6e\x64\x65\x78\x4f\x66'](_0x5ca252);}for(let _0x4e865f=0x0,_0x4dc53a=_0x53523b['\x6c\x65\x6e\x67\x74\x68'];_0x4e865f<_0x4dc53a;_0x4e865f++){_0x1dd1de+='\x25'+('\x30\x30'+_0x53523b['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x4e865f)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x1dd1de);};a0_0x6273['\x5a\x4d\x79\x44\x49\x65']=_0x26530d,a0_0x6273['\x6d\x59\x58\x54\x5a\x69']={},a0_0x6273['\x50\x72\x77\x69\x6d\x61']=!![];}const _0x1a92b8=_0x17fa3e[0x0],_0x2c1794=_0x2831a6+_0x1a92b8,_0xdfe571=a0_0x6273['\x6d\x59\x58\x54\x5a\x69'][_0x2c1794];return!_0xdfe571?(_0x627356=a0_0x6273['\x5a\x4d\x79\x44\x49\x65'](_0x627356),a0_0x6273['\x6d\x59\x58\x54\x5a\x69'][_0x2c1794]=_0x627356):_0x627356=_0xdfe571,_0x627356;}function readCapability(_0x25954e,_0x33c0a5){const _0x830dbb=a0_0x33b244,_0x37a77e={'\x44\x42\x6f\x65\x7a':'\x6f\x62\x6a\x65\x63\x74','\x51\x58\x41\x4d\x70':function(_0x3202f9,_0x129fea){return _0x3202f9(_0x129fea);}},_0x182209=typeof _0x33c0a5===_0x37a77e[_0x830dbb(0x232)]&&_0x33c0a5!==null?asString(_0x33c0a5[_0x830dbb(0x26a)]):void 0x0;return _0x37a77e[_0x830dbb(0x241)](asString,_0x25954e['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x79'])??_0x182209;}function readFailures(_0x107d7c,_0x8fec89){const _0x374bf8=a0_0x33b244,_0x277db8={'\x66\x53\x4c\x4d\x63':function(_0x5e873a,_0x2c25e9){return _0x5e873a>_0x2c25e9;}};if(Array['\x69\x73\x41\x72\x72\x61\x79'](_0x107d7c['\x66\x61\x69\x6c\x75\x72\x65\x73']))return _0x107d7c[_0x374bf8(0x22c)][_0x374bf8(0x267)](isFailureDetail);if(Array[_0x374bf8(0x219)](_0x107d7c[_0x374bf8(0x24c)])){const _0x2f8d65=_0x107d7c[_0x374bf8(0x24c)][_0x374bf8(0x267)](_0x389802=>typeof _0x389802===_0x374bf8(0x202)&&_0x389802!==null&&_0x389802['\x6f\x6b']===![]);if(_0x277db8[_0x374bf8(0x223)](_0x2f8d65[_0x374bf8(0x1f8)],0x0))return _0x2f8d65['\x66\x69\x6c\x74\x65\x72'](isFailureDetail);}if(typeof _0x8fec89===_0x374bf8(0x202)&&_0x8fec89!==null&&Array[_0x374bf8(0x219)](_0x8fec89[_0x374bf8(0x22c)]))return _0x8fec89['\x66\x61\x69\x6c\x75\x72\x65\x73'][_0x374bf8(0x267)](isFailureDetail);}function parseErrorResponse(_0x1dd297,_0x397697,_0x423d08,_0x2dbe08){const _0xa1ca01=a0_0x33b244,_0x24db26={'\x58\x6b\x74\x79\x46':_0xa1ca01(0x202),'\x64\x64\x7a\x47\x72':function(_0x1cc4c0,_0x3aaad5){return _0x1cc4c0===_0x3aaad5;},'\x45\x59\x43\x70\x61':function(_0x51d393,_0x50dc12){return _0x51d393!==_0x50dc12;},'\x77\x71\x69\x76\x74':_0xa1ca01(0x243),'\x71\x42\x52\x4e\x72':'\x73\x74\x72\x69\x6e\x67','\x73\x4c\x62\x4e\x67':function(_0x5b6ffa,_0x3760ab){return _0x5b6ffa>_0x3760ab;},'\x6f\x69\x52\x6a\x77':function(_0x31cdc5,_0x2a9a65){return _0x31cdc5===_0x2a9a65;},'\x4e\x52\x56\x6a\x56':'\x52\x45\x51\x55\x45\x53\x54','\x4c\x52\x65\x69\x7a':function(_0x1cfb65,_0x202bea,_0xc66ce5){return _0x1cfb65(_0x202bea,_0xc66ce5);},'\x6f\x59\x4e\x59\x6d':'\x78\x2d\x73\x69\x64\x65\x63\x61\x72\x2d\x69\x6d\x61\x67\x65\x2d\x74\x61\x67','\x75\x70\x46\x78\x58':function(_0x3abb0e,_0xbb4096){return _0x3abb0e(_0xbb4096);},'\x73\x72\x67\x49\x55':'\x75\x6e\x6b\x6e\x6f\x77\x6e','\x70\x6c\x6c\x62\x71':_0xa1ca01(0x1f5),'\x56\x76\x64\x49\x42':function(_0x422427,_0x3c3da1){return _0x422427>=_0x3c3da1;},'\x45\x58\x65\x4d\x61':_0xa1ca01(0x1ed)};let _0x57907b;try{_0x57907b=JSON['\x70\x61\x72\x73\x65'](_0x397697);}catch{_0x57907b={'\x6d\x65\x73\x73\x61\x67\x65':_0x397697};}const _0x5538b9=_0x57907b[_0xa1ca01(0x226)],_0x4838c5=typeof _0x5538b9===_0x24db26['\x58\x6b\x74\x79\x46']&&_0x5538b9!==null?_0x5538b9[_0xa1ca01(0x24f)]:void 0x0,_0x5eeb7c=_0x24db26[_0xa1ca01(0x215)](typeof _0x5538b9,_0xa1ca01(0x202))&&_0x24db26['\x45\x59\x43\x70\x61'](_0x5538b9,null)?_0x5538b9[_0xa1ca01(0x23d)]:void 0x0,_0x124f72=_0x57907b[_0xa1ca01(0x24f)]||_0x4838c5||(typeof _0x5538b9===_0xa1ca01(0x22d)?_0x5538b9:void 0x0)||_0x397697||_0x24db26['\x77\x71\x69\x76\x74'],_0x203e73=typeof _0x57907b['\x64\x65\x74\x61\x69\x6c\x73']===_0x24db26['\x71\x42\x52\x4e\x72']&&_0x24db26[_0xa1ca01(0x1f1)](_0x57907b[_0xa1ca01(0x231)]['\x74\x72\x69\x6d']()[_0xa1ca01(0x1f8)],0x0)?_0x57907b[_0xa1ca01(0x231)][_0xa1ca01(0x26c)]():void 0x0,_0x495b7c=!!_0x203e73&&_0x203e73!==_0x124f72&&(_0x24db26['\x6f\x69\x52\x6a\x77'](_0x124f72,_0x24db26[_0xa1ca01(0x251)])||/^failed\b/i['\x74\x65\x73\x74'](_0x124f72)||/^provision failed\b/i['\x74\x65\x73\x74'](_0x124f72)||/^deprovision failed\b/i['\x74\x65\x73\x74'](_0x124f72)),_0x6e2628=_0x57907b['\x63\x6f\x64\x65']||_0x5eeb7c,_0x22360b=''+(_0x423d08?(_0x423d08[_0xa1ca01(0x25b)]??_0x24db26[_0xa1ca01(0x266)])+'\x20'+(_0x423d08[_0xa1ca01(0x22e)]??'')+'\x3a\x20':'')+(_0x495b7c?_0x124f72+'\x3a\x20'+_0x203e73:_0x124f72),_0x3cb84a={'\x6f\x72\x69\x67\x69\x6e':_0x24db26[_0xa1ca01(0x24a)](inferOrigin,_0x2dbe08,_0x423d08),'\x65\x6e\x64\x70\x6f\x69\x6e\x74':_0x423d08?.['\x70\x61\x74\x68']??_0x2dbe08?.['\x67\x65\x74'](_0xa1ca01(0x23e))??void 0x0,'\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73':parseRetryAfterMs(_0x2dbe08?.[_0xa1ca01(0x211)](_0xa1ca01(0x21d))??void 0x0,_0x57907b),'\x73\x69\x64\x65\x63\x61\x72\x56\x65\x72\x73\x69\x6f\x6e':_0x2dbe08?.[_0xa1ca01(0x211)](_0xa1ca01(0x214))??void 0x0,'\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x49\x6d\x61\x67\x65':_0x2dbe08?.['\x67\x65\x74']('\x78\x2d\x73\x69\x64\x65\x63\x61\x72\x2d\x69\x6d\x61\x67\x65')??_0x2dbe08?.[_0xa1ca01(0x211)](_0x24db26[_0xa1ca01(0x23b)])??void 0x0};if(isQuotaCode(_0x6e2628))return new QuotaError(_0x57907b[_0xa1ca01(0x20a)]||_0xa1ca01(0x249),_0x22360b,_0x57907b['\x63\x75\x72\x72\x65\x6e\x74'],_0x57907b[_0xa1ca01(0x20c)],_0x3cb84a,_0x1dd297);if(isCapabilityCode(_0x6e2628))return new CapabilityError(_0x22360b,_0x6e2628,_0x1dd297,_0x3cb84a,_0x24db26['\x4c\x52\x65\x69\x7a'](readCapability,_0x57907b,_0x5538b9));if(_0x24db26[_0xa1ca01(0x209)](isPartialFailureCode,_0x6e2628))return new PartialFailureError(_0x22360b,_0x6e2628,_0x1dd297,_0x3cb84a,readFailures(_0x57907b,_0x5538b9));switch(_0x1dd297){case 0x190:return new ValidationError(_0x22360b,_0x57907b['\x66\x69\x65\x6c\x64\x73'],_0x3cb84a);case 0x191:return new AuthError(_0x22360b,_0x3cb84a);case 0x194:return new NotFoundError(_0x57907b[_0xa1ca01(0x260)]||_0xa1ca01(0x1fb),_0x57907b['\x72\x65\x73\x6f\x75\x72\x63\x65\x49\x64']||_0x24db26[_0xa1ca01(0x23c)],_0x3cb84a);case 0x198:return new TimeoutError(_0x57907b[_0xa1ca01(0x22b)]||0x7530,_0x22360b,_0x3cb84a);case 0x199:return new StateError(_0x22360b,_0x57907b[_0xa1ca01(0x1fe)]||_0xa1ca01(0x247),_0x57907b[_0xa1ca01(0x217)],_0x3cb84a);case 0x1ad:return new QuotaError(_0x57907b['\x71\x75\x6f\x74\x61\x54\x79\x70\x65']||_0xa1ca01(0x249),_0x22360b,_0x57907b[_0xa1ca01(0x248)],_0x57907b[_0xa1ca01(0x20c)],_0x3cb84a);case 0x1f5:return new SandboxError(_0x22360b,_0x6e2628||_0x24db26['\x70\x6c\x6c\x62\x71'],_0x1dd297,_0x3cb84a);default:if(_0x24db26[_0xa1ca01(0x242)](_0x1dd297,0x1f4))return new ServerError(_0x22360b,_0x1dd297,_0x3cb84a);return new SandboxError(_0x22360b,_0x6e2628||_0x24db26[_0xa1ca01(0x222)],_0x1dd297,_0x3cb84a);}}export{PartialFailureError as a,ServerError as c,ValidationError as d,parseErrorResponse as f,NotFoundError as i,StateError as l,CapabilityError as n,QuotaError as o,NetworkError as r,SandboxError as s,AuthError as t,TimeoutError as u};
1
+ function a0_0x157e(_0x15b73e,_0x548c1f){_0x15b73e=_0x15b73e-0x164;const _0x1310d7=a0_0x1310();let _0x157e8c=_0x1310d7[_0x15b73e];if(a0_0x157e['\x69\x62\x6d\x51\x45\x75']===undefined){var _0x19cbfd=function(_0x33bb36){const _0x13566f='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0xadb84='',_0x15e341='';for(let _0x25b6de=0x0,_0x58f9b0,_0x1b61e3,_0x1892e0=0x0;_0x1b61e3=_0x33bb36['\x63\x68\x61\x72\x41\x74'](_0x1892e0++);~_0x1b61e3&&(_0x58f9b0=_0x25b6de%0x4?_0x58f9b0*0x40+_0x1b61e3:_0x1b61e3,_0x25b6de++%0x4)?_0xadb84+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x58f9b0>>(-0x2*_0x25b6de&0x6)):0x0){_0x1b61e3=_0x13566f['\x69\x6e\x64\x65\x78\x4f\x66'](_0x1b61e3);}for(let _0x399eb1=0x0,_0x422511=_0xadb84['\x6c\x65\x6e\x67\x74\x68'];_0x399eb1<_0x422511;_0x399eb1++){_0x15e341+='\x25'+('\x30\x30'+_0xadb84['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x399eb1)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x15e341);};a0_0x157e['\x67\x65\x74\x6b\x74\x67']=_0x19cbfd,a0_0x157e['\x6b\x54\x6e\x41\x76\x70']={},a0_0x157e['\x69\x62\x6d\x51\x45\x75']=!![];}const _0x1d14aa=_0x1310d7[0x0],_0x58f889=_0x15b73e+_0x1d14aa,_0x39edd1=a0_0x157e['\x6b\x54\x6e\x41\x76\x70'][_0x58f889];return!_0x39edd1?(_0x157e8c=a0_0x157e['\x67\x65\x74\x6b\x74\x67'](_0x157e8c),a0_0x157e['\x6b\x54\x6e\x41\x76\x70'][_0x58f889]=_0x157e8c):_0x157e8c=_0x39edd1,_0x157e8c;}function a0_0x1310(){const _0x34d9c3=['\x7a\x32\x76\x30','\x42\x77\x66\x34','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x77\x4c\x54\x79\x77\x44\x4c\x6c\x78\x72\x48\x7a\x57','\x76\x65\x4c\x6e\x72\x75\x39\x76\x76\x61','\x41\x78\x6e\x6f\x79\x75\x34','\x72\x4b\x58\x66\x72\x76\x72\x46\x72\x65\x76\x71\x75\x4b\x39\x77\x73\x76\x6e\x6a\x74\x30\x35\x46\x72\x4b\x66\x6a\x74\x65\x76\x65','\x7a\x4d\x4c\x4c\x42\x67\x72\x5a','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x71\x31\x50\x41\x74\x4b\x30','\x43\x31\x6e\x78\x73\x31\x4b','\x7a\x67\x76\x30\x79\x77\x4c\x53\x43\x57','\x42\x4d\x66\x54\x7a\x71','\x74\x4e\x6a\x78\x72\x76\x6d','\x44\x30\x76\x75\x43\x77\x6d','\x76\x30\x50\x55\x71\x4e\x43','\x71\x31\x44\x67\x44\x75\x6d','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x61','\x43\x31\x76\x4c\x73\x4b\x43','\x71\x30\x66\x71\x71\x75\x6a\x6a\x74\x65\x4c\x75\x77\x76\x39\x76\x74\x4c\x6e\x76\x75\x66\x62\x70\x75\x4c\x72\x66\x72\x61','\x43\x78\x72\x75\x45\x4c\x79','\x43\x4d\x76\x5a\x44\x77\x58\x30\x43\x57','\x72\x4b\x58\x66\x72\x76\x72\x46\x75\x65\x66\x73\x76\x65\x4c\x62\x74\x66\x39\x67\x71\x75\x4c\x6d\x76\x76\x6a\x66','\x75\x76\x76\x70\x76\x65\x66\x46\x72\x76\x48\x64\x72\x75\x76\x65\x72\x75\x71','\x76\x4b\x66\x6d\x73\x75\x72\x62\x76\x65\x4c\x70\x74\x4c\x39\x66\x75\x4c\x6a\x70\x75\x47','\x71\x4e\x44\x6a\x44\x66\x47','\x44\x77\x35\x52\x42\x4d\x39\x33\x42\x47','\x79\x32\x39\x4b\x7a\x71','\x74\x4d\x76\x30\x44\x32\x39\x59\x41\x30\x76\x59\x43\x4d\x39\x59','\x71\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x45\x75\x76\x59\x43\x4d\x39\x59','\x6d\x4a\x61\x5a\x6e\x64\x79\x31\x6d\x5a\x62\x67\x71\x31\x50\x53\x77\x76\x71','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x66\x6e\x30\x79\x78\x72\x4c','\x43\x4d\x76\x58\x44\x77\x4c\x59\x7a\x77\x72\x74\x44\x67\x66\x30\x7a\x71','\x79\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x45\x71','\x42\x33\x6a\x50\x7a\x32\x4c\x55','\x6d\x74\x47\x35\x6e\x76\x66\x4d\x7a\x4c\x4c\x6f\x74\x47','\x6c\x33\x62\x59\x42\x32\x50\x4c\x79\x33\x72\x5a','\x74\x4b\x39\x75\x78\x30\x4c\x6e\x75\x65\x58\x66\x74\x75\x76\x6f\x76\x65\x76\x65','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x6a\x7a\x61','\x72\x68\x76\x67\x41\x32\x71','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x31\x48\x43\x67\x4b','\x76\x65\x72\x6b\x76\x67\x57','\x75\x65\x66\x73\x76\x65\x4c\x62\x74\x66\x39\x67\x71\x75\x4c\x6d\x76\x76\x6a\x66','\x79\x32\x66\x31\x43\x32\x75','\x7a\x4d\x66\x50\x42\x68\x76\x59\x7a\x78\x6d','\x6c\x33\x79\x58\x6c\x57','\x6e\x74\x79\x30\x6e\x4a\x69\x30\x6d\x68\x48\x49\x74\x77\x6a\x72\x71\x47','\x41\x67\x66\x5a','\x79\x31\x7a\x4d\x7a\x66\x69','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x43\x32\x4c\x4b\x7a\x77\x6e\x48\x43\x4c\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x76\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x76\x59\x43\x4d\x39\x59','\x76\x75\x35\x6c\x74\x4b\x39\x78\x74\x4c\x39\x66\x75\x4c\x6a\x70\x75\x47','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x6d\x33\x62\x52\x75\x65\x4c\x79\x44\x57','\x75\x4b\x76\x72\x76\x75\x76\x74\x76\x61','\x73\x32\x6a\x49\x73\x4b\x69','\x71\x30\x66\x71\x71\x75\x6a\x6a\x74\x65\x4c\x75\x77\x76\x39\x6f\x74\x31\x72\x46\x72\x75\x35\x62\x71\x4b\x58\x66\x72\x61','\x43\x33\x72\x48\x44\x68\x76\x5a','\x44\x75\x39\x54\x71\x78\x61','\x6e\x64\x6d\x32\x6e\x5a\x65\x5a\x6d\x31\x50\x6b\x7a\x31\x6a\x73\x74\x47','\x74\x77\x72\x69\x44\x77\x6d','\x75\x30\x76\x73\x76\x4b\x76\x73\x78\x30\x76\x73\x75\x4b\x39\x73','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x31\x5a','\x72\x66\x62\x41\x77\x4e\x4b','\x42\x77\x76\x30\x41\x67\x39\x4b','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x77\x4c\x54\x79\x77\x44\x4c','\x72\x4b\x58\x66\x72\x76\x72\x46\x72\x65\x4c\x74\x75\x65\x66\x75\x71\x30\x48\x46\x75\x65\x66\x73\x76\x65\x4c\x62\x74\x66\x39\x67\x71\x75\x4c\x6d\x76\x76\x6a\x66','\x6d\x4a\x4b\x58\x6d\x5a\x69\x30\x79\x76\x66\x62\x77\x4d\x6e\x4b','\x42\x4d\x39\x33','\x75\x30\x48\x62\x75\x4b\x76\x65\x78\x31\x44\x70\x75\x4b\x54\x74\x75\x65\x66\x64\x72\x76\x39\x76\x74\x4c\x6e\x76\x75\x66\x62\x70\x75\x4c\x72\x66\x72\x61','\x7a\x4c\x44\x41\x44\x32\x69','\x44\x67\x76\x5a\x44\x61','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x73\x68\x4c\x59\x44\x33\x6d','\x77\x66\x4c\x34\x73\x33\x65','\x43\x4d\x66\x30\x7a\x76\x39\x53\x41\x77\x31\x50\x44\x61','\x74\x4b\x76\x75\x76\x30\x39\x73\x73\x31\x39\x66\x75\x4c\x6a\x70\x75\x47','\x44\x68\x6a\x50\x42\x71','\x72\x30\x4c\x71\x73\x77\x71','\x43\x4e\x6e\x63\x7a\x32\x65','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x78\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x43\x78\x76\x56\x44\x67\x66\x75\x45\x78\x62\x4c','\x45\x63\x31\x30\x79\x77\x35\x4e\x42\x67\x75\x54\x43\x4d\x76\x58\x44\x77\x76\x5a\x44\x63\x31\x57\x79\x78\x72\x4f','\x6f\x64\x4b\x5a\x6e\x4a\x43\x33\x7a\x30\x58\x54\x42\x75\x39\x6e','\x73\x78\x4c\x58\x42\x4b\x65','\x43\x33\x62\x53\x41\x78\x71','\x43\x76\x4c\x67\x45\x78\x61','\x79\x30\x48\x48\x77\x78\x4f','\x75\x33\x72\x48\x44\x67\x76\x66\x43\x4e\x6a\x56\x43\x47','\x74\x75\x7a\x78\x79\x32\x71','\x73\x75\x35\x77\x71\x75\x58\x6a\x72\x66\x39\x74\x76\x65\x66\x75\x72\x71','\x75\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x76\x59\x43\x4d\x39\x59','\x43\x67\x66\x30\x41\x61','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x42\x67\x4c\x54\x41\x78\x71','\x43\x67\x66\x59\x43\x32\x75','\x43\x4e\x44\x6d\x42\x77\x71','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x75\x45\x78\x62\x4c','\x78\x31\x66\x76\x74\x31\x72\x62\x78\x30\x76\x79\x71\x30\x76\x66\x72\x65\x76\x65','\x43\x4e\x76\x55\x44\x67\x4c\x54\x7a\x71','\x74\x4d\x39\x30\x72\x4d\x39\x31\x42\x4d\x72\x66\x43\x4e\x6a\x56\x43\x47','\x7a\x67\x7a\x77\x74\x32\x71','\x72\x4b\x58\x66\x72\x76\x72\x46\x75\x30\x48\x62\x75\x4b\x76\x65\x78\x31\x44\x70\x75\x4b\x54\x74\x75\x65\x66\x64\x72\x76\x39\x76\x74\x4c\x6e\x76\x75\x66\x62\x70\x75\x4c\x72\x66\x72\x61','\x75\x65\x35\x58\x75\x77\x75','\x41\x78\x6e\x67\x41\x77\x35\x50\x44\x67\x75','\x79\x32\x39\x55\x44\x67\x66\x50\x42\x4d\x76\x59\x73\x77\x31\x48\x7a\x32\x75','\x73\x65\x50\x34\x7a\x31\x43','\x71\x4e\x7a\x4a\x73\x75\x69','\x42\x4e\x76\x54\x79\x4d\x76\x59','\x71\x4d\x54\x6b\x73\x4b\x57','\x71\x76\x76\x75\x73\x66\x39\x66\x75\x4c\x6a\x70\x75\x47','\x44\x4b\x50\x32\x74\x33\x71','\x79\x75\x7a\x6e\x73\x76\x65','\x6d\x74\x72\x50\x74\x77\x7a\x65\x74\x78\x79','\x44\x67\x35\x62\x42\x75\x69','\x75\x78\x76\x56\x44\x67\x65\x47\x7a\x78\x48\x4a\x7a\x77\x76\x4b\x7a\x77\x71\x36\x69\x61','\x79\x31\x6e\x58\x73\x4b\x47','\x7a\x77\x35\x4b\x43\x67\x39\x50\x42\x4e\x71','\x75\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x75','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x4c\x43\x4e\x6a\x56\x43\x47','\x79\x32\x39\x55\x44\x68\x6a\x56\x42\x63\x31\x57\x42\x67\x66\x55\x7a\x71','\x6c\x32\x4c\x55\x43\x33\x72\x48\x42\x4d\x6e\x4c\x43\x57','\x76\x4d\x66\x53\x41\x77\x72\x48\x44\x67\x4c\x56\x42\x4b\x76\x59\x43\x4d\x39\x59','\x6e\x4a\x75\x30\x6d\x65\x6e\x6b\x75\x30\x66\x76\x74\x47','\x43\x33\x72\x59\x41\x77\x35\x4e','\x6d\x4a\x79\x59\x6e\x4a\x47\x35\x6e\x68\x48\x41\x76\x78\x66\x4d\x45\x71','\x43\x4d\x76\x30\x43\x4e\x4c\x62\x7a\x4e\x72\x4c\x43\x4b\x31\x5a'];a0_0x1310=function(){return _0x34d9c3;};return a0_0x1310();}const a0_0x53c1af=a0_0x157e;(function(_0x328343,_0x4e5f72){const _0x357586=a0_0x157e,_0x1535fc=_0x328343();while(!![]){try{const _0x5da9e5=parseInt(_0x357586(0x1cc))/0x1+parseInt(_0x357586(0x176))/0x2*(parseInt(_0x357586(0x1ae))/0x3)+parseInt(_0x357586(0x174))/0x4*(parseInt(_0x357586(0x19a))/0x5)+parseInt(_0x357586(0x1bc))/0x6*(parseInt(_0x357586(0x16a))/0x7)+-parseInt(_0x357586(0x1a6))/0x8+parseInt(_0x357586(0x1b4))/0x9+-parseInt(_0x357586(0x195))/0xa;if(_0x5da9e5===_0x4e5f72)break;else _0x1535fc['push'](_0x1535fc['shift']());}catch(_0x2e7ae8){_0x1535fc['push'](_0x1535fc['shift']());}}}(a0_0x1310,0xa341d));var SandboxError=class extends Error{[a0_0x53c1af(0x1b2)];[a0_0x53c1af(0x192)];[a0_0x53c1af(0x199)];['\x65\x6e\x64\x70\x6f\x69\x6e\x74'];[a0_0x53c1af(0x177)];[a0_0x53c1af(0x1aa)];[a0_0x53c1af(0x1e2)];constructor(_0x2b9315,_0x18ca71,_0x4066b3,_0x240d37){const _0x112486=a0_0x53c1af,_0x174b7c={'\x47\x49\x50\x49\x64':_0x112486(0x1d4)},_0x4a011e='\x35\x7c\x34\x7c\x38\x7c\x37\x7c\x31\x7c\x30\x7c\x36\x7c\x32\x7c\x33'[_0x112486(0x1ce)]('\x7c');let _0x2743d9=0x0;while(!![]){switch(_0x4a011e[_0x2743d9++]){case'\x30':this[_0x112486(0x16e)]=_0x240d37?.[_0x112486(0x16e)];continue;case'\x31':this[_0x112486(0x199)]=_0x240d37?.[_0x112486(0x199)];continue;case'\x32':this['\x73\x69\x64\x65\x63\x61\x72\x56\x65\x72\x73\x69\x6f\x6e']=_0x240d37?.[_0x112486(0x1aa)];continue;case'\x33':this[_0x112486(0x1e2)]=_0x240d37?.[_0x112486(0x1e2)];continue;case'\x34':this[_0x112486(0x183)]=_0x174b7c[_0x112486(0x1c7)];continue;case'\x35':super(_0x2b9315);continue;case'\x36':this[_0x112486(0x177)]=_0x240d37?.[_0x112486(0x177)];continue;case'\x37':this['\x73\x74\x61\x74\x75\x73']=_0x4066b3;continue;case'\x38':this[_0x112486(0x192)]=_0x18ca71;continue;}break;}}},AuthError=class extends SandboxError{constructor(_0x118215='\x41\x75\x74\x68\x65\x6e\x74\x69\x63\x61\x74\x69\x6f\x6e\x20\x66\x61\x69\x6c\x65\x64',_0x23c7bc){const _0x570a9d=a0_0x53c1af;super(_0x118215,_0x570a9d(0x167),0x191,_0x23c7bc),this['\x6e\x61\x6d\x65']='\x41\x75\x74\x68\x45\x72\x72\x6f\x72';}},NotFoundError=class extends SandboxError{[a0_0x53c1af(0x1da)];[a0_0x53c1af(0x19d)];constructor(_0x411961,_0xf19083,_0xcf7193){const _0x5526d9=a0_0x53c1af,_0x1a3f11={'\x77\x45\x54\x71\x63':_0x5526d9(0x1dd)};super(_0x411961+'\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x3a\x20'+_0xf19083,'\x4e\x4f\x54\x5f\x46\x4f\x55\x4e\x44',0x194,_0xcf7193),this[_0x5526d9(0x183)]=_0x1a3f11[_0x5526d9(0x185)],this[_0x5526d9(0x1da)]=_0x411961,this[_0x5526d9(0x19d)]=_0xf19083;}},QuotaError=class extends SandboxError{[a0_0x53c1af(0x1ca)];[a0_0x53c1af(0x188)];[a0_0x53c1af(0x1d7)];[a0_0x53c1af(0x177)];constructor(_0x337b59,_0x202a21,_0x5a4297,_0x1d6aa8,_0x538d70,_0x5d9b79=0x1ad){const _0x111af6=a0_0x53c1af,_0x59b0d8={'\x48\x4a\x78\x67\x57':'\x51\x75\x6f\x74\x61\x45\x72\x72\x6f\x72'};super(_0x202a21??_0x111af6(0x16c)+_0x337b59,_0x111af6(0x18e),_0x5d9b79,_0x538d70),this[_0x111af6(0x183)]=_0x59b0d8[_0x111af6(0x1e3)],this[_0x111af6(0x1ca)]=_0x337b59,this[_0x111af6(0x188)]=_0x5a4297,this['\x6c\x69\x6d\x69\x74']=_0x1d6aa8,this[_0x111af6(0x177)]=_0x538d70?.[_0x111af6(0x177)];}},CapabilityError=class extends SandboxError{[a0_0x53c1af(0x198)];constructor(_0xff85f1,_0x3e795f=a0_0x53c1af(0x18a),_0x29c8ed=0x190,_0x25514d,_0x36d947){const _0x262977=a0_0x53c1af,_0x25f079={'\x49\x64\x6a\x57\x73':_0x262977(0x194)};super(_0xff85f1,_0x3e795f,_0x29c8ed,_0x25514d),this[_0x262977(0x183)]=_0x25f079['\x49\x64\x6a\x57\x73'],this[_0x262977(0x198)]=_0x36d947;}},PartialFailureError=class extends SandboxError{[a0_0x53c1af(0x1a4)];constructor(_0x437d9f,_0xe88520='\x50\x41\x52\x54\x49\x41\x4c\x5f\x46\x41\x49\x4c\x55\x52\x45',_0x579139=0x1f6,_0x1437af,_0x4d44e3){const _0x3f0a89=a0_0x53c1af,_0x2ea5f1={'\x4c\x6e\x42\x70\x63':'\x50\x61\x72\x74\x69\x61\x6c\x46\x61\x69\x6c\x75\x72\x65\x45\x72\x72\x6f\x72'};super(_0x437d9f,_0xe88520,_0x579139,_0x1437af),this[_0x3f0a89(0x183)]=_0x2ea5f1['\x4c\x6e\x42\x70\x63'],this[_0x3f0a89(0x1a4)]=_0x4d44e3;}},ValidationError=class extends SandboxError{[a0_0x53c1af(0x17e)];constructor(_0x577aa1,_0xeb2749,_0x12fc7f){const _0x3c69b0=a0_0x53c1af;super(_0x577aa1,_0x3c69b0(0x18f),0x190,_0x12fc7f),this['\x6e\x61\x6d\x65']=_0x3c69b0(0x173),this[_0x3c69b0(0x17e)]=_0xeb2749;}},StateError=class extends SandboxError{[a0_0x53c1af(0x196)];[a0_0x53c1af(0x197)];constructor(_0xa0c04e,_0x12757f,_0x4e8ed6,_0x3f3e0f){const _0x5eecb1=a0_0x53c1af,_0x40cd4f={'\x73\x55\x65\x4a\x47':_0x5eecb1(0x1d3),'\x57\x4a\x6e\x42\x77':_0x5eecb1(0x1d1)};super(_0xa0c04e,_0x40cd4f[_0x5eecb1(0x189)],0x199,_0x3f3e0f),this['\x6e\x61\x6d\x65']=_0x40cd4f[_0x5eecb1(0x186)],this[_0x5eecb1(0x196)]=_0x12757f,this[_0x5eecb1(0x197)]=_0x4e8ed6;}},TimeoutError=class extends SandboxError{['\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73'];constructor(_0x164f93,_0x3fd0a6,_0x3a214d){const _0x2d083b=a0_0x53c1af;super(_0x3fd0a6??'\x52\x65\x71\x75\x65\x73\x74\x20\x74\x69\x6d\x65\x64\x20\x6f\x75\x74\x20\x61\x66\x74\x65\x72\x20'+_0x164f93+'\x6d\x73',_0x2d083b(0x17b),0x198,_0x3a214d),this[_0x2d083b(0x183)]=_0x2d083b(0x1ab),this[_0x2d083b(0x1b7)]=_0x164f93;}},NetworkError=class extends SandboxError{['\x63\x61\x75\x73\x65'];constructor(_0x1bf683,_0x34d7b1,_0x53abbd){const _0x690144=a0_0x53c1af,_0x3cede1={'\x50\x4e\x71\x51\x65':function(_0xb90a8a,_0x2d58c3){return _0xb90a8a instanceof _0x2d58c3;},'\x44\x75\x46\x6b\x64':function(_0x383384,_0x2b8424){return _0x383384??_0x2b8424;}},_0x5ba927=_0x34d7b1 instanceof Error?_0x34d7b1:void 0x0,_0x3af406=_0x3cede1[_0x690144(0x1e0)](_0x34d7b1,Error)?_0x53abbd:_0x3cede1[_0x690144(0x19e)](_0x34d7b1,_0x53abbd);super(_0x1bf683,_0x690144(0x1c5),void 0x0,_0x3af406),this[_0x690144(0x183)]=_0x690144(0x193),this[_0x690144(0x1a3)]=_0x5ba927;}},ServerError=class extends SandboxError{constructor(_0x37c8f9,_0x23ceca=0x1f4,_0x1cf6a3){const _0xd2efc4=a0_0x53c1af;super(_0x37c8f9,_0xd2efc4(0x1b6),_0x23ceca,_0x1cf6a3),this[_0xd2efc4(0x183)]='\x53\x65\x72\x76\x65\x72\x45\x72\x72\x6f\x72';}};function parseRetryAfterMs(_0x56de03,_0x1713f7){const _0x14c1d5=a0_0x53c1af,_0x56dcdf={'\x78\x51\x76\x6e\x46':function(_0x366681,_0x370347){return _0x366681===_0x370347;},'\x75\x4f\x6d\x41\x70':function(_0x53554e,_0x3c732f){return _0x53554e-_0x3c732f;}};if(_0x56dcdf['\x78\x51\x76\x6e\x46'](typeof _0x1713f7['\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73'],_0x14c1d5(0x165))&&Number[_0x14c1d5(0x1e1)](_0x1713f7[_0x14c1d5(0x177)]))return Math[_0x14c1d5(0x179)](0x0,_0x1713f7['\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73']);if(!_0x56de03)return void 0x0;const _0xddf9a8=_0x56de03[_0x14c1d5(0x1c6)]();if(!_0xddf9a8)return void 0x0;const _0x12c652=Number(_0xddf9a8);if(Number[_0x14c1d5(0x1e1)](_0x12c652))return Math['\x6d\x61\x78'](0x0,_0x12c652)*0x3e8;const _0x322f29=Date['\x70\x61\x72\x73\x65'](_0xddf9a8);if(!Number[_0x14c1d5(0x17c)](_0x322f29))return Math[_0x14c1d5(0x179)](0x0,_0x56dcdf[_0x14c1d5(0x1b3)](_0x322f29,Date[_0x14c1d5(0x1bd)]()));}function inferOrigin(_0x17e9fe,_0x15ef04){const _0x367182=a0_0x53c1af,_0x1ce709={'\x67\x72\x47\x57\x72':_0x367182(0x1ba),'\x49\x79\x71\x6e\x41':_0x367182(0x1a5),'\x74\x45\x49\x75\x58':_0x367182(0x191)},_0x2906ba=_0x15ef04?.[_0x367182(0x1d5)]??_0x17e9fe?.['\x67\x65\x74']('\x78\x2d\x74\x61\x6e\x67\x6c\x65\x2d\x72\x65\x71\x75\x65\x73\x74\x2d\x70\x61\x74\x68')??void 0x0;if(!_0x17e9fe)return _0x15ef04?.[_0x367182(0x1d5)]?_0x367182(0x1a0):void 0x0;if(_0x17e9fe[_0x367182(0x1a7)](_0x367182(0x1c9))||_0x17e9fe[_0x367182(0x1a7)](_0x1ce709['\x67\x72\x47\x57\x72'])||_0x17e9fe[_0x367182(0x1a7)](_0x367182(0x17a)))return'\x73\x69\x64\x65\x63\x61\x72';if(_0x17e9fe[_0x367182(0x1a7)]('\x78\x2d\x6f\x72\x63\x68\x65\x73\x74\x72\x61\x74\x6f\x72\x2d\x76\x65\x72\x73\x69\x6f\x6e'))return _0x367182(0x171);if(_0x2906ba?.[_0x367182(0x1c1)](_0x1ce709[_0x367182(0x1cd)]))return _0x367182(0x1a0);if(_0x2906ba){if(_0x2906ba['\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68'](_0x367182(0x19b))||_0x2906ba[_0x367182(0x1c1)]('\x2f\x73\x69\x64\x65\x63\x61\x72\x73')||_0x2906ba[_0x367182(0x1c1)](_0x367182(0x172)))return'\x63\x6f\x6e\x74\x72\x6f\x6c\x2d\x70\x6c\x61\x6e\x65';return _0x367182(0x1dc);}return _0x1ce709['\x74\x45\x49\x75\x58'];}function isQuotaCode(_0x40a932){const _0x413233=a0_0x53c1af,_0x41c510={'\x73\x53\x57\x4b\x59':_0x413233(0x18e),'\x63\x56\x66\x64\x52':function(_0x32deee,_0x53618c){return _0x32deee===_0x53618c;}};return _0x40a932===_0x41c510[_0x413233(0x181)]||_0x41c510[_0x413233(0x1a8)](_0x40a932?.['\x65\x6e\x64\x73\x57\x69\x74\x68'](_0x413233(0x1db)),!![]);}function isCapabilityCode(_0x1a3354){const _0x9e0d5d=a0_0x53c1af,_0x36207a={'\x4b\x62\x62\x4a\x42':function(_0x48257b,_0x2d051b){return _0x48257b===_0x2d051b;},'\x42\x6b\x4a\x4a\x4c':function(_0x25382c,_0x4ecb0f){return _0x25382c===_0x4ecb0f;},'\x43\x5a\x5a\x4e\x4d':function(_0x30f43d,_0x2f3fb7){return _0x30f43d===_0x2f3fb7;},'\x42\x76\x63\x49\x42':'\x55\x4e\x53\x55\x50\x50\x4f\x52\x54\x45\x44\x5f\x43\x41\x50\x41\x42\x49\x4c\x49\x54\x59','\x54\x44\x4a\x54\x6c':_0x9e0d5d(0x1be)};return _0x36207a[_0x9e0d5d(0x1b0)](_0x1a3354,_0x9e0d5d(0x1b1))||_0x36207a[_0x9e0d5d(0x166)](_0x1a3354,_0x9e0d5d(0x18a))||_0x36207a[_0x9e0d5d(0x180)](_0x1a3354,_0x36207a[_0x9e0d5d(0x164)])||_0x36207a[_0x9e0d5d(0x180)](_0x1a3354,_0x9e0d5d(0x1df))||_0x1a3354===_0x36207a[_0x9e0d5d(0x1a1)];}function isPartialFailureCode(_0x1e40c3){const _0x4c3ed4=a0_0x53c1af,_0xd19972={'\x49\x63\x5a\x47\x42':function(_0x17dbaa,_0x5e4b44){return _0x17dbaa===_0x5e4b44;},'\x67\x69\x59\x79\x59':_0x4c3ed4(0x1bb),'\x63\x53\x71\x4a\x48':_0x4c3ed4(0x17d)};return _0x1e40c3===_0x4c3ed4(0x1a2)||_0x1e40c3===_0x4c3ed4(0x18d)||_0xd19972['\x49\x63\x5a\x47\x42'](_0x1e40c3,_0xd19972['\x67\x69\x59\x79\x59'])||_0x1e40c3===_0xd19972[_0x4c3ed4(0x16d)];}function asString(_0x23ee24){const _0x51a2b2=a0_0x53c1af,_0x2e6761={'\x76\x4a\x76\x4f\x74':_0x51a2b2(0x175)};return typeof _0x23ee24===_0x2e6761[_0x51a2b2(0x168)]&&_0x23ee24['\x74\x72\x69\x6d']()[_0x51a2b2(0x1a9)]>0x0?_0x23ee24:void 0x0;}function isFailureDetail(_0x581402){const _0x4e3181=a0_0x53c1af,_0x389843={'\x71\x59\x46\x79\x70':_0x4e3181(0x19f),'\x4e\x72\x57\x45\x53':function(_0x35b25d,_0x5e6079){return _0x35b25d!==_0x5e6079;}};return typeof _0x581402===_0x389843[_0x4e3181(0x1cf)]&&_0x389843[_0x4e3181(0x184)](_0x581402,null)&&!Array[_0x4e3181(0x17f)](_0x581402);}function readCapability(_0x252507,_0xefdb55){const _0x422137=a0_0x53c1af,_0x1b1147={'\x66\x57\x5a\x77\x62':function(_0x22e228,_0x246a44){return _0x22e228===_0x246a44;},'\x48\x79\x72\x77\x73':'\x6f\x62\x6a\x65\x63\x74'},_0x5eb240=_0x1b1147[_0x422137(0x1bf)](typeof _0xefdb55,_0x1b1147[_0x422137(0x1c2)])&&_0xefdb55!==null?asString(_0xefdb55['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x79']):void 0x0;return asString(_0x252507[_0x422137(0x198)])??_0x5eb240;}function readFailures(_0x28113f,_0x6c5a1c){const _0xcef6eb=a0_0x53c1af;if(Array[_0xcef6eb(0x17f)](_0x28113f[_0xcef6eb(0x1a4)]))return _0x28113f['\x66\x61\x69\x6c\x75\x72\x65\x73']['\x66\x69\x6c\x74\x65\x72'](isFailureDetail);if(Array['\x69\x73\x41\x72\x72\x61\x79'](_0x28113f[_0xcef6eb(0x18c)])){const _0x533d3e=_0x28113f[_0xcef6eb(0x18c)][_0xcef6eb(0x1d6)](_0x46f1da=>typeof _0x46f1da===_0xcef6eb(0x19f)&&_0x46f1da!==null&&_0x46f1da['\x6f\x6b']===![]);if(_0x533d3e[_0xcef6eb(0x1a9)]>0x0)return _0x533d3e['\x66\x69\x6c\x74\x65\x72'](isFailureDetail);}if(typeof _0x6c5a1c===_0xcef6eb(0x19f)&&_0x6c5a1c!==null&&Array[_0xcef6eb(0x17f)](_0x6c5a1c[_0xcef6eb(0x1a4)]))return _0x6c5a1c[_0xcef6eb(0x1a4)][_0xcef6eb(0x1d6)](isFailureDetail);}function parseErrorResponse(_0x1cb485,_0x3e11bf,_0x2e0ae2,_0x416c98){const _0x42a145=a0_0x53c1af,_0x206b3a={'\x71\x74\x54\x7a\x56':function(_0x28615c,_0x20525f){return _0x28615c!==_0x20525f;},'\x42\x77\x49\x74\x58':function(_0x3e7cd1,_0x5c4bd3){return _0x3e7cd1===_0x5c4bd3;},'\x44\x50\x5a\x5a\x79':function(_0x28970e,_0x4d3022){return _0x28970e!==_0x4d3022;},'\x72\x73\x42\x67\x61':'\x73\x74\x72\x69\x6e\x67','\x61\x46\x4d\x49\x51':_0x42a145(0x170),'\x74\x6e\x41\x6d\x42':_0x42a145(0x1cb),'\x58\x59\x78\x4b\x71':'\x78\x2d\x73\x69\x64\x65\x63\x61\x72\x2d\x69\x6d\x61\x67\x65','\x43\x57\x46\x75\x43':function(_0x20fbdc,_0x215f1d){return _0x20fbdc(_0x215f1d);},'\x64\x66\x56\x4f\x64':function(_0x4fb0e4,_0x53dca8,_0x1fbcaa){return _0x4fb0e4(_0x53dca8,_0x1fbcaa);},'\x63\x48\x61\x59\x7a':_0x42a145(0x16f),'\x4d\x46\x57\x63\x64':_0x42a145(0x191),'\x67\x67\x56\x51\x74':_0x42a145(0x19c),'\x4d\x64\x48\x75\x63':function(_0xa23b68,_0x598fbc){return _0xa23b68||_0x598fbc;},'\x72\x77\x4c\x6d\x64':_0x42a145(0x1ac)};let _0x41abba;try{_0x41abba=JSON[_0x42a145(0x1d8)](_0x3e11bf);}catch{_0x41abba={'\x6d\x65\x73\x73\x61\x67\x65':_0x3e11bf};}const _0x1adc7e=_0x41abba['\x65\x72\x72\x6f\x72'],_0x5bbc3c=typeof _0x1adc7e==='\x6f\x62\x6a\x65\x63\x74'&&_0x206b3a[_0x42a145(0x18b)](_0x1adc7e,null)?_0x1adc7e[_0x42a145(0x1ad)]:void 0x0,_0x55e70c=_0x206b3a[_0x42a145(0x190)](typeof _0x1adc7e,_0x42a145(0x19f))&&_0x206b3a[_0x42a145(0x1b8)](_0x1adc7e,null)?_0x1adc7e[_0x42a145(0x192)]:void 0x0,_0x2c6db4=_0x41abba[_0x42a145(0x1ad)]||_0x5bbc3c||(typeof _0x1adc7e===_0x206b3a[_0x42a145(0x1c8)]?_0x1adc7e:void 0x0)||_0x3e11bf||_0x206b3a[_0x42a145(0x169)],_0xfe69af=typeof _0x41abba[_0x42a145(0x182)]===_0x42a145(0x175)&&_0x41abba[_0x42a145(0x182)][_0x42a145(0x1c6)]()[_0x42a145(0x1a9)]>0x0?_0x41abba[_0x42a145(0x182)][_0x42a145(0x1c6)]():void 0x0,_0x140ead=!!_0xfe69af&&_0xfe69af!==_0x2c6db4&&(_0x206b3a[_0x42a145(0x190)](_0x2c6db4,_0x206b3a[_0x42a145(0x169)])||/^failed\b/i[_0x42a145(0x1c0)](_0x2c6db4)||/^provision failed\b/i['\x74\x65\x73\x74'](_0x2c6db4)||/^deprovision failed\b/i[_0x42a145(0x1c0)](_0x2c6db4)),_0x19d499=_0x41abba['\x63\x6f\x64\x65']||_0x55e70c,_0x194863=''+(_0x2e0ae2?(_0x2e0ae2[_0x42a145(0x1b9)]??_0x42a145(0x1af))+'\x20'+(_0x2e0ae2[_0x42a145(0x1d5)]??'')+'\x3a\x20':'')+(_0x140ead?_0x2c6db4+'\x3a\x20'+_0xfe69af:_0x2c6db4),_0x1cb38={'\x6f\x72\x69\x67\x69\x6e':inferOrigin(_0x416c98,_0x2e0ae2),'\x65\x6e\x64\x70\x6f\x69\x6e\x74':_0x2e0ae2?.[_0x42a145(0x1d5)]??_0x416c98?.[_0x42a145(0x178)](_0x206b3a[_0x42a145(0x16b)])??void 0x0,'\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73':parseRetryAfterMs(_0x416c98?.[_0x42a145(0x178)]('\x72\x65\x74\x72\x79\x2d\x61\x66\x74\x65\x72')??void 0x0,_0x41abba),'\x73\x69\x64\x65\x63\x61\x72\x56\x65\x72\x73\x69\x6f\x6e':_0x416c98?.[_0x42a145(0x178)](_0x42a145(0x1c9))??void 0x0,'\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x49\x6d\x61\x67\x65':_0x416c98?.[_0x42a145(0x178)](_0x206b3a[_0x42a145(0x1c3)])??_0x416c98?.[_0x42a145(0x178)]('\x78\x2d\x73\x69\x64\x65\x63\x61\x72\x2d\x69\x6d\x61\x67\x65\x2d\x74\x61\x67')??void 0x0};if(_0x206b3a[_0x42a145(0x187)](isQuotaCode,_0x19d499))return new QuotaError(_0x41abba['\x71\x75\x6f\x74\x61\x54\x79\x70\x65']||_0x42a145(0x1c4),_0x194863,_0x41abba[_0x42a145(0x188)],_0x41abba[_0x42a145(0x1d7)],_0x1cb38,_0x1cb485);if(isCapabilityCode(_0x19d499))return new CapabilityError(_0x194863,_0x19d499,_0x1cb485,_0x1cb38,_0x206b3a[_0x42a145(0x1de)](readCapability,_0x41abba,_0x1adc7e));if(_0x206b3a[_0x42a145(0x187)](isPartialFailureCode,_0x19d499))return new PartialFailureError(_0x194863,_0x19d499,_0x1cb485,_0x1cb38,_0x206b3a[_0x42a145(0x1de)](readFailures,_0x41abba,_0x1adc7e));switch(_0x1cb485){case 0x190:return new ValidationError(_0x194863,_0x41abba[_0x42a145(0x17e)],_0x1cb38);case 0x191:return new AuthError(_0x194863,_0x1cb38);case 0x194:return new NotFoundError(_0x41abba['\x72\x65\x73\x6f\x75\x72\x63\x65\x54\x79\x70\x65']||_0x206b3a[_0x42a145(0x1d0)],_0x41abba[_0x42a145(0x19d)]||_0x42a145(0x191),_0x1cb38);case 0x198:return new TimeoutError(_0x41abba[_0x42a145(0x1b7)]||0x7530,_0x194863,_0x1cb38);case 0x199:return new StateError(_0x194863,_0x41abba[_0x42a145(0x196)]||_0x206b3a[_0x42a145(0x1d2)],_0x41abba[_0x42a145(0x197)],_0x1cb38);case 0x1ad:return new QuotaError(_0x41abba[_0x42a145(0x1ca)]||_0x42a145(0x1c4),_0x194863,_0x41abba[_0x42a145(0x188)],_0x41abba[_0x42a145(0x1d7)],_0x1cb38);case 0x1f5:return new SandboxError(_0x194863,_0x19d499||_0x206b3a['\x67\x67\x56\x51\x74'],_0x1cb485,_0x1cb38);default:if(_0x1cb485>=0x1f4)return new ServerError(_0x194863,_0x1cb485,_0x1cb38);return new SandboxError(_0x194863,_0x206b3a[_0x42a145(0x1b5)](_0x19d499,_0x206b3a[_0x42a145(0x1d9)]),_0x1cb485,_0x1cb38);}}export{PartialFailureError as a,ServerError as c,ValidationError as d,parseErrorResponse as f,NotFoundError as i,StateError as l,CapabilityError as n,QuotaError as o,NetworkError as r,SandboxError as s,AuthError as t,TimeoutError as u};
@@ -1,4 +1,4 @@
1
- import { n as SandboxInstance, rt as CreateSandboxOptions, t as HttpClient } from "./sandbox-BaK5AyL2.js";
1
+ import { n as SandboxInstance, rt as CreateSandboxOptions, t as HttpClient } from "./sandbox-jfc8yiwF.js";
2
2
 
3
3
  //#region src/tangle/abi.d.ts
4
4
  /**
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { $n as SandboxFleetToken, $r as AgentProfile, $t as MkdirOptions, A as AddUserOptions, An as SSHCommandDescriptor, Ar as SnapshotInfo, At as ForkOptions, B as BatchResult, Bn as SandboxFleetDispatchResponse, Br as TeeAttestationResponse, Bt as HostAgentRuntimeBackend, C as SandboxMcpConfig, Cn as PublishPublicTemplateOptions, Cr as SecretInfo, Ct as FleetDispatchResultBufferOptions, D as buildSandboxMcpConfig, Dn as ReconcileSandboxFleetsOptions, Dr as SessionListOptions, Dt as FleetMachineId, E as buildControlPlaneMcpConfig, En as ReapExpiredSandboxFleetsResult, Er as SessionInfo, F as BackendManager, Fn as SandboxEvent, Fr as SubscriptionInfo, Ft as GitConfig, G as CheckpointResult, Gn as SandboxFleetMachine, Gr as TurnDriveResult, Gt as IntelligenceReportSubjectType, H as BatchTaskResult, Hn as SandboxFleetDriverTimings, Hr as TeePublicKeyResponse, Ht as IntelligenceReport, I as BackendStatus, In as SandboxFleetArtifact, Ir as TaskOptions, It as GitDiff, Jn as SandboxFleetMachineSpec, Jr as UploadProgress, Jt as ListOptions, Kn as SandboxFleetMachineMeteredUsage, Kr as UpdateUserOptions, Kt as IntelligenceReportWindow, L as BackendType, Ln as SandboxFleetArtifactSpec, Lr as TaskResult, Lt as GitStatus, M as BackendCapabilities, Mn as SandboxClientConfig, Mr as SnapshotResult, Mt as GitAuth, N as BackendConfig, Nn as SandboxConnection, Nt as GitBranch, O as AcceleratorKind, On as ReconcileSandboxFleetsResult, Or as SessionMessage, Ot as FleetPromptDispatchOptions, P as BackendInfo, Pn as SandboxEnvironment, Pr as StorageConfig, Pt as GitCommit, Q as CreateIntelligenceReportOptions, Qn as SandboxFleetPolicy, Qr as WriteManyOptions, Qt as MintScopedTokenOptions, R as BatchEvent, Rn as SandboxFleetCostEstimate, Rr as TeeAttestationOptions, Rt as GpuType, S as SANDBOX_MCP_SERVER_NAME, Sn as PublicTemplateVersionInfo, Sr as SearchOptions, St as FleetDispatchResultBuffer, T as SandboxMcpServerEntry, Tn as ReapExpiredSandboxFleetsOptions, Tr as SessionEventStreamOptions, Tt as FleetExecDispatchOptions, U as CheckpointInfo, Un as SandboxFleetInfo, Ur as TokenRefreshHandler, Ut as IntelligenceReportBudget, V as BatchTask, Vn as SandboxFleetDriverCapability, Vr as TeePublicKey, Vt as InstalledTool, W as CheckpointOptions, Wn as SandboxFleetIntelligenceEnvelope, Wr as ToolsConfig, Wt as IntelligenceReportCompareTo, Xn as SandboxFleetManifestMachine, Xr as WaitForOptions, Xt as ListSandboxOptions, Y as CodeResult, Yn as SandboxFleetManifest, Yr as UsageInfo, Yt as ListSandboxFleetOptions, Z as CompletedTurnResult, Zn as SandboxFleetOperationsSummary, Zr as WriteManyFile, Zt as McpServerConfig, _ as RespondToPermissionOptions, _n as ProvisionEvent, _r as SandboxTraceOptions, _t as ExecOptions, a as TraceExportSink, ai as AgentProfileModelHints, an as PreviewLinkInfo, ar as SandboxFleetWorkspace, at as DirectoryPermission, b as BuildSandboxMcpConfigOptions, bn as ProvisionStep, br as ScopedTokenScope, bt as FileSystem, c as otelTraceIdForTangleTrace, ci as AgentProfileResourceRef, cn as ProcessInfo, cr as SandboxFleetWorkspaceSnapshotResult, ct as DownloadOptions, d as InteractiveAuthFile, di as AgentProfileValidationResult, dn as ProcessSignal, dr as SandboxPermissionsConfig, dt as DriverConfig, ei as AgentProfileCapabilities, en as NetworkConfig, er as SandboxFleetTraceBundle, et as CreateSandboxFleetOptions, f as InteractiveSessionHandle, fi as AgentSubagentProfile, fn as ProcessSpawnOptions, fr as SandboxResources, ft as DriverInfo, g as PermissionResponseResult, gi as mergeAgentProfiles, gn as PromptResult, gr as SandboxTraceExport, gt as EventStreamOptions, h as InterruptResult, hi as defineInlineResource, hn as PromptOptions, hr as SandboxTraceEvent, ht as EgressPolicy, i as TraceExportResult, ii as AgentProfileMcpServer, in as PermissionsManager, ir as SandboxFleetUsage, it as DeleteOptions, j as AttachSandboxFleetMachineOptions, jn as SSHCredentials, jr as SnapshotOptions, jt as ForkResult, k as AccessPolicyRule, kn as RunCodeOptions, kr as SessionStatus, l as toOtelJson, li as AgentProfileResources, ln as ProcessLogEntry, lr as SandboxInfo, lt as DownloadProgress, m as InteractiveSessionInfo, mi as defineGitHubResource, mr as SandboxTraceBundle, mt as EgressManager, n as SandboxInstance, ni as AgentProfileConnection, nn as NonHostAgentDriverConfig, nr as SandboxFleetTraceExport, nt as CreateSandboxFleetWithCoordinatorOptions, o as buildTraceExportPayload, oi as AgentProfilePermissionValue, on as PreviewLinkManager, or as SandboxFleetWorkspaceReconcileResult, ot as DispatchPromptOptions, p as InteractiveSessionHost, pi as defineAgentProfile, pn as ProcessStatus, pr as SandboxStatus, pt as DriverType, qn as SandboxFleetMachineRecord, qr as UploadOptions, qt as ListMessagesOptions, r as TraceExportFormat, ri as AgentProfileFileMount, rn as PermissionLevel, rr as SandboxFleetTraceOptions, rt as CreateSandboxOptions, s as exportTraceBundle, si as AgentProfilePrompt, sn as Process, sr as SandboxFleetWorkspaceRestoreResult, st as DispatchedSession, ti as AgentProfileConfidential, tn as NetworkManager, tr as SandboxFleetTraceEvent, u as SandboxSession, ui as AgentProfileValidationIssue, un as ProcessManager, ur as SandboxIntelligenceEnvelope, ut as DriveTurnOptions, v as StartInteractiveOptions, vn as ProvisionResult, vr as SandboxUser, vt as ExecResult, w as SandboxMcpEndpoint, wn as PublishPublicTemplateVersionOptions, wr as SecretsManager, wt as FleetDispatchStreamOptions, x as CONTROL_PLANE_MCP_SERVER_NAME, xn as PublicTemplateInfo, xr as SearchMatch, xt as FleetDispatchCancelResult, y as BuildControlPlaneMcpConfigOptions, yn as ProvisionStatus, yr as ScopedToken, yt as FileInfo, z as BatchOptions, zn as SandboxFleetDispatchFailureClass, zr as TeeAttestationReport, zt as HostAgentDriverConfig } from "./sandbox-BaK5AyL2.js";
2
- import { a as Team, c as SandboxFleet, d as ParsedSSEEvent, f as parseSSEStream, i as SandboxClient, l as SandboxFleetClient, n as IntelligenceClient, o as TeamInvitation, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as ParseSSEStreamOptions } from "./client-CZlq4ozL.js";
1
+ import { $n as SandboxFleetToken, $r as WaitForOptions, $t as MkdirOptions, A as AddUserOptions, An as SSHCommandDescriptor, Ar as SessionStatus, At as ForkOptions, B as BatchResult, Bn as SandboxFleetDispatchResponse, Br as TaskResult, Bt as HostAgentRuntimeBackend, C as SandboxMcpConfig, Cn as PublishPublicTemplateOptions, Cr as SearchOptions, Ct as FleetDispatchResultBufferOptions, D as buildSandboxMcpConfig, Dn as ReconcileSandboxFleetsOptions, Dr as SessionInfo, Dt as FleetMachineId, E as buildControlPlaneMcpConfig, En as ReapExpiredSandboxFleetsResult, Er as SessionEventStreamOptions, F as BackendManager, Fn as SandboxEvent, Fr as StartupDiagnostics, Ft as GitConfig, G as CheckpointResult, Gn as SandboxFleetMachine, Gr as TeePublicKeyResponse, Gt as IntelligenceReportSubjectType, H as BatchTaskResult, Hn as SandboxFleetDriverTimings, Hr as TeeAttestationReport, Ht as IntelligenceReport, I as BackendStatus, In as SandboxFleetArtifact, Ir as StartupOperation, It as GitDiff, Jn as SandboxFleetMachineSpec, Jr as TurnDriveResult, Jt as ListOptions, Kn as SandboxFleetMachineMeteredUsage, Kr as TokenRefreshHandler, Kt as IntelligenceReportWindow, L as BackendType, Ln as SandboxFleetArtifactSpec, Lr as StorageConfig, Lt as GitStatus, M as BackendCapabilities, Mn as SandboxClientConfig, Mr as SnapshotOptions, Mt as GitAuth, N as BackendConfig, Nn as SandboxConnection, Nr as SnapshotResult, Nt as GitBranch, O as AcceleratorKind, On as ReconcileSandboxFleetsResult, Or as SessionListOptions, Ot as FleetPromptDispatchOptions, P as BackendInfo, Pn as SandboxEnvironment, Pt as GitCommit, Q as CreateIntelligenceReportOptions, Qn as SandboxFleetPolicy, Qr as UsageInfo, Qt as MintScopedTokenOptions, R as BatchEvent, Rn as SandboxFleetCostEstimate, Rr as SubscriptionInfo, Rt as GpuType, S as SANDBOX_MCP_SERVER_NAME, Sn as PublicTemplateVersionInfo, Sr as SearchMatch, St as FleetDispatchResultBuffer, T as SandboxMcpServerEntry, Tn as ReapExpiredSandboxFleetsOptions, Tr as SecretsManager, Tt as FleetExecDispatchOptions, U as CheckpointInfo, Un as SandboxFleetInfo, Ur as TeeAttestationResponse, Ut as IntelligenceReportBudget, V as BatchTask, Vn as SandboxFleetDriverCapability, Vr as TeeAttestationOptions, Vt as InstalledTool, W as CheckpointOptions, Wn as SandboxFleetIntelligenceEnvelope, Wr as TeePublicKey, Wt as IntelligenceReportCompareTo, Xn as SandboxFleetManifestMachine, Xr as UploadOptions, Xt as ListSandboxOptions, Y as CodeResult, Yn as SandboxFleetManifest, Yr as UpdateUserOptions, Yt as ListSandboxFleetOptions, Z as CompletedTurnResult, Zn as SandboxFleetOperationsSummary, Zr as UploadProgress, Zt as McpServerConfig, _ as RespondToPermissionOptions, _i as defineGitHubResource, _n as ProvisionEvent, _r as SandboxTraceExport, _t as ExecOptions, a as TraceExportSink, ai as AgentProfileConnection, an as PreviewLinkInfo, ar as SandboxFleetWorkspace, at as DirectoryPermission, b as BuildSandboxMcpConfigOptions, bn as ProvisionStep, br as ScopedToken, bt as FileSystem, c as otelTraceIdForTangleTrace, ci as AgentProfileModelHints, cn as ProcessInfo, cr as SandboxFleetWorkspaceSnapshotResult, ct as DownloadOptions, d as InteractiveAuthFile, di as AgentProfileResourceRef, dn as ProcessSignal, dr as SandboxPermissionsConfig, dt as DriverConfig, ei as WriteManyFile, en as NetworkConfig, er as SandboxFleetTraceBundle, et as CreateSandboxFleetOptions, f as InteractiveSessionHandle, fi as AgentProfileResources, fn as ProcessSpawnOptions, fr as SandboxResourceUsage, ft as DriverInfo, g as PermissionResponseResult, gi as defineAgentProfile, gn as PromptResult, gr as SandboxTraceEvent, gt as EventStreamOptions, h as InterruptResult, hi as AgentSubagentProfile, hn as PromptOptions, hr as SandboxTraceBundle, ht as EgressPolicy, i as TraceExportResult, ii as AgentProfileConfidential, in as PermissionsManager, ir as SandboxFleetUsage, it as DeleteOptions, j as AttachSandboxFleetMachineOptions, jn as SSHCredentials, jr as SnapshotInfo, jt as ForkResult, k as AccessPolicyRule, kn as RunCodeOptions, kr as SessionMessage, l as toOtelJson, li as AgentProfilePermissionValue, ln as ProcessLogEntry, lr as SandboxInfo, lt as DownloadProgress, m as InteractiveSessionInfo, mi as AgentProfileValidationResult, mr as SandboxStatus, mt as EgressManager, n as SandboxInstance, ni as AgentProfile, nn as NonHostAgentDriverConfig, nr as SandboxFleetTraceExport, nt as CreateSandboxFleetWithCoordinatorOptions, o as buildTraceExportPayload, oi as AgentProfileFileMount, on as PreviewLinkManager, or as SandboxFleetWorkspaceReconcileResult, ot as DispatchPromptOptions, p as InteractiveSessionHost, pi as AgentProfileValidationIssue, pn as ProcessStatus, pr as SandboxResources, pt as DriverType, qn as SandboxFleetMachineRecord, qr as ToolsConfig, qt as ListMessagesOptions, r as TraceExportFormat, ri as AgentProfileCapabilities, rn as PermissionLevel, rr as SandboxFleetTraceOptions, rt as CreateSandboxOptions, s as exportTraceBundle, si as AgentProfileMcpServer, sn as Process, sr as SandboxFleetWorkspaceRestoreResult, st as DispatchedSession, ti as WriteManyOptions, tn as NetworkManager, tr as SandboxFleetTraceEvent, u as SandboxSession, ui as AgentProfilePrompt, un as ProcessManager, ur as SandboxIntelligenceEnvelope, ut as DriveTurnOptions, v as StartInteractiveOptions, vi as defineInlineResource, vn as ProvisionResult, vr as SandboxTraceOptions, vt as ExecResult, w as SandboxMcpEndpoint, wn as PublishPublicTemplateVersionOptions, wr as SecretInfo, wt as FleetDispatchStreamOptions, x as CONTROL_PLANE_MCP_SERVER_NAME, xn as PublicTemplateInfo, xr as ScopedTokenScope, xt as FleetDispatchCancelResult, y as BuildControlPlaneMcpConfigOptions, yi as mergeAgentProfiles, yn as ProvisionStatus, yr as SandboxUser, yt as FileInfo, z as BatchOptions, zn as SandboxFleetDispatchFailureClass, zr as TaskOptions, zt as HostAgentDriverConfig } from "./sandbox-jfc8yiwF.js";
2
+ import { a as Team, c as SandboxFleet, d as ParsedSSEEvent, f as parseSSEStream, i as SandboxClient, l as SandboxFleetClient, n as IntelligenceClient, o as TeamInvitation, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as ParseSSEStreamOptions } from "./client-DPVYHFLS.js";
3
3
  import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-D-2pH_70.js";
4
4
  import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "./index-D7bwmNs8.js";
5
5
  import { a as PartialFailureError, c as SandboxErrorJson, d as StateError, f as TimeoutError, i as NotFoundError, l as SandboxFailureDetail, n as CapabilityError, o as QuotaError, p as ValidationError, r as NetworkError, s as SandboxError, t as AuthError, u as ServerError } from "./errors-1Se5ATyZ.js";
6
- import { s as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-D0W38yH0.js";
6
+ import { s as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-Bm9jAzE2.js";
7
7
 
8
8
  //#region src/attestation-heartbeat.d.ts
9
9
  interface TeeAttestationHeartbeatSample {
@@ -469,6 +469,36 @@ declare class ImageBuilder {
469
469
  */
470
470
  declare function generateDockerfile(spec: ImageSpec): string;
471
471
  //#endregion
472
+ //#region src/lib/agent-response-text.d.ts
473
+ declare function getSandboxEventText(event: SandboxEvent): string | undefined;
474
+ /**
475
+ * Fold one event into the running response text. `token` events APPEND their
476
+ * incremental delta/value; every other text-bearing event (`result`,
477
+ * `message.part.updated`) carries the cumulative text, so it REPLACES — unless
478
+ * it is a strict continuation of what we already have, in which case it is
479
+ * appended once. An event with no meaningful text leaves `current` untouched.
480
+ *
481
+ * Whitespace handling differs by kind: an incremental `token` keeps its RAW text
482
+ * (a lone space delta is a word separator — dropping it concatenates words), but
483
+ * a cumulative event uses the meaningful text so a blank payload never overwrites
484
+ * real accumulated text.
485
+ */
486
+ declare function applySandboxEventText(current: string | undefined, event: SandboxEvent): string | undefined;
487
+ /**
488
+ * Collect an agent's complete response text from an already-buffered event
489
+ * array. Equivalent to the streaming accumulation in `SandboxInstance.prompt`,
490
+ * exposed as a pure function so consumers that collect the raw stream first
491
+ * (e.g. the agent-runtime loop kernel) decode the SAME way the SDK does.
492
+ *
493
+ * Returns `undefined` when the stream carried no meaningful text — the honest
494
+ * "agent produced nothing extractable" signal, distinct from an empty string.
495
+ * Whitespace is preserved DURING accumulation (a lone space token separates
496
+ * words), but a result that is entirely whitespace is "no meaningful text", so
497
+ * the final value is collapsed to `undefined` — a whitespace-only token stream
498
+ * must not read as a truthy response.
499
+ */
500
+ declare function collectAgentResponseText(events: SandboxEvent[]): string | undefined;
501
+ //#endregion
472
502
  //#region src/manage-sandboxes.d.ts
473
503
  declare const MANAGE_SANDBOXES_TOOL_NAME = "manageSandboxes";
474
504
  type ManageSandboxesInput = {
@@ -576,6 +606,58 @@ declare const MANAGE_SANDBOXES_PARAMETERS: {
576
606
  };
577
607
  };
578
608
  //#endregion
609
+ //#region src/resources.d.ts
610
+ /**
611
+ * Compute tiers, ordered smallest → largest. Defined HERE (not imported from
612
+ * `@tangle-network/agent-interface`) so the SDK is self-contained: a consumer
613
+ * that type-checks the SDK SOURCE never has to resolve a cross-package export
614
+ * for the size vocabulary. `agent-interface` keeps its own identical copy for
615
+ * `Capability.recommendedSize`; a platform test guards the two against drift.
616
+ */
617
+ declare const SANDBOX_SIZE_PRESET_NAMES: readonly ["nano", "small", "medium", "large"];
618
+ /**
619
+ * A named compute tier for a sandbox. `nano` suits thin glue work; `large` suits
620
+ * heavy builds. Sizing is per-task — a thin step shouldn't provision a maxed box.
621
+ */
622
+ type SandboxSizePreset = (typeof SANDBOX_SIZE_PRESET_NAMES)[number];
623
+ /** The concrete cpu/memory/disk for each named tier. */
624
+ type SizePresetResources = Required<Pick<SandboxResources, "cpuCores" | "memoryMB" | "diskGB">>;
625
+ /**
626
+ * The concrete compute behind each {@link SandboxSizePreset} — the SINGLE source
627
+ * of truth for what a tier means. `@tangle-network/agent-interface` owns the
628
+ * tier NAMES (so the lowest layer can reference a size); this owns the numbers.
629
+ *
630
+ * Values stay within the sandbox-api default plan caps (8 vCPU / 16 GB / 100 GB)
631
+ * and keep memory at or above the driver's firecracker-snapshot floor (1536 MB),
632
+ * so a requested tier is never silently bumped. `diskGB` is in gigabytes;
633
+ * `memoryMB` in megabytes. The server still clamps every request to the owner's
634
+ * actual plan limits — these are the unclamped tier definitions, not guarantees.
635
+ */
636
+ declare const SANDBOX_SIZE_PRESETS: Record<SandboxSizePreset, SizePresetResources>;
637
+ /**
638
+ * Default tier when a caller provisions without picking a size. The smallest
639
+ * tier that comfortably runs an agent harness (opencode + a repo clone + a
640
+ * build) — deliberately NOT a maxed box, so a thin task is cheap by default and
641
+ * a heavy one opts up explicitly.
642
+ */
643
+ declare const DEFAULT_SANDBOX_SIZE: SandboxSizePreset;
644
+ /** The resources for a named tier, as a fresh object (never the shared preset).
645
+ * Fails loud on an unknown key rather than spreading `undefined` into an empty
646
+ * resources object — a silent zero would send no compute request downstream. */
647
+ declare function sandboxResourcesForSize(size: SandboxSizePreset): SandboxResources;
648
+ /**
649
+ * Resolve a caller's size intent to concrete {@link SandboxResources}. Raw
650
+ * `resources` win (an explicit cpu/memory request is authoritative); else a
651
+ * named `size` expands to its preset; else `undefined` (the caller applies its
652
+ * own default). Raw and preset are intentionally exclusive at the schema layer —
653
+ * if both arrive here, the explicit numbers take precedence rather than being
654
+ * silently merged.
655
+ */
656
+ declare function resolveSandboxResources(opts: {
657
+ size?: SandboxSizePreset;
658
+ resources?: SandboxResources;
659
+ }): SandboxResources | undefined;
660
+ //#endregion
579
661
  //#region src/router-search.d.ts
580
662
  type TangleSearchProvider = "you" | "brave" | "exa" | "parallel" | "tavily" | "perplexity";
581
663
  interface RouterSearchConfigOptions {
@@ -825,4 +907,4 @@ interface RouterEvalMatrixCaseResult {
825
907
  }
826
908
  declare function runTangleRouterEvalMatrixInSandbox(options: RunTangleRouterEvalMatrixInSandboxOptions): Promise<RunTangleRouterEvalMatrixInSandboxResult>;
827
909
  //#endregion
828
- export { type AcceleratorKind, type AccessPolicyRule, type AddUserOptions, type AgentProfile, type AgentProfileCapabilities, type AgentProfileConnection, type AgentProfileFileMount, type AgentProfileMcpServer, type AgentProfileModelHints, type AgentProfilePermissionValue, type AgentProfilePrompt, type AgentProfileResourceRef, type AgentProfileResources, type AgentProfileValidationIssue, type AgentProfileValidationResult, type AgentSubagentProfile, type AnyTokenPayload, type AttachSandboxFleetMachineOptions, AuthError, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendStatus, type BackendType, type BatchEvent, type BatchOptions, type BatchResult, type BatchTask, type BatchTaskResult, type BuildControlPlaneMcpConfigOptions, type BuildProgressEvent, type BuildSandboxMcpConfigOptions, CONTROL_PLANE_MCP_SERVER_NAME, CapabilityError, type CheckpointInfo, type CheckpointOptions, type CheckpointResult, type CodeResult, type CollaborationAccess, type CollaborationBootstrapRequest, type CollaborationBootstrapResponse, CollaborationClient, type CollaborationClientConfig, type CollaborationDocumentAdapter, type CollaborationDocumentChange, type CollaborationDocumentRef, CollaborationFileBridge, type CollaborationFileBridgeOptions, type CollaborationFileEvent, type CollaborationPermissions, type CollaborationTokenPayload, type CollaborationTokenRefreshRequest, type CollaborationTokenRefreshResponse, type CollaborationTransportConfig, type CompletedTurnResult, type ConfidentialSandboxResult, type ConfidentialTeeType, type CreateConfidentialSandboxOptions, type CreateIntelligenceReportOptions, type CreateSandboxFleetOptions, type CreateSandboxFleetWithCoordinatorOptions, type CreateSandboxOptions, type CreateTeamOptions, type DeleteOptions, type DirectoryPermission, type DispatchPromptOptions, type DispatchedSession, type DownloadOptions, type DownloadProgress, type DriveTurnOptions, type DriverConfig, type DriverInfo, type DriverType, type EgressManager, type EgressPolicy, type EventStreamOptions, type ExecOptions, type ExecResult, type FileInfo, type FileSystem, type FleetDispatchCancelResult, type FleetDispatchResultBuffer, type FleetDispatchResultBufferOptions, type FleetDispatchStreamOptions, type FleetExecDispatchOptions, type FleetMachineId, type FleetPromptDispatchOptions, type ForkOptions, type ForkResult, type GitAuth, type GitBranch, type GitCommit, type GitConfig, type GitDiff, type GitStatus, type GpuType, type HostAgentDriverConfig, type HostAgentRuntimeBackend, Image, type ImageBuildClient, type ImageBuildClientConfig, type ImageBuildFetchClient, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstalledTool, IntelligenceClient, type IntelligenceReport, type IntelligenceReportBudget, type IntelligenceReportCompareTo, type IntelligenceReportSubjectType, type IntelligenceReportWindow, type InteractiveAuthFile, InteractiveSessionHandle, type InteractiveSessionHost, type InteractiveSessionInfo, type InterruptResult, type InviteTeamMemberOptions, type IssueCollaborationTokenOptions, type ListMessagesOptions, type ListOptions, type ListSandboxFleetOptions, type ListSandboxOptions, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, type ManageSandboxesInput, type ManageSandboxesTool, type ManageSandboxesToolOptions, type McpServerConfig, type MintScopedTokenOptions, type MkdirOptions, type NetworkConfig, NetworkError, type NetworkManager, type NonHostAgentDriverConfig, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, PartialFailureError, type PermissionLevel, type PermissionResponseResult, type PermissionsManager, type PreviewLinkInfo, type PreviewLinkManager, type Process, type ProcessInfo, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, type PromptOptions, type PromptResult, type ProvisionEvent, type ProvisionResult, type ProvisionStatus, type ProvisionStep, type PublicTemplateInfo, type PublicTemplateVersionInfo, type PublishPublicTemplateOptions, type PublishPublicTemplateVersionOptions, QuotaError, type ReapExpiredSandboxFleetsOptions, type ReapExpiredSandboxFleetsResult, type ReconcileSandboxFleetsOptions, type ReconcileSandboxFleetsResult, type RespondToPermissionOptions, type RouterEvalMatrixAgentProfile, type RouterEvalMatrixCaseResult, type RouterEvalMatrixHarness, type RouterEvalMatrixPayload, type RouterEvalMatrixSandboxBox, type RouterEvalMatrixSandboxClient, type RouterEvalMatrixScenario, type RouterEvalMatrixSuiteResponse, type RouterImportedRunResponse, type RouterSearchConfig, type RouterSearchConfigOptions, type RunCodeOptions, type RunTangleRouterEvalMatrixInSandboxOptions, type RunTangleRouterEvalMatrixInSandboxResult, SANDBOX_MCP_SERVER_NAME, type SSHCommandDescriptor, type SSHCredentials, SandboxClient as Sandbox, SandboxClient, type SandboxClientConfig, type SandboxConnection, type SandboxEnvironment, SandboxError, type SandboxErrorJson, type SandboxEvent, type SandboxFailureDetail, SandboxFleet, type SandboxFleetArtifact, type SandboxFleetArtifactSpec, SandboxFleetClient, type SandboxFleetCostEstimate, type SandboxFleetDispatchFailureClass, type SandboxFleetDispatchResponse, type SandboxFleetDriverCapability, type SandboxFleetDriverTimings, type SandboxFleetInfo, type SandboxFleetIntelligenceEnvelope, type SandboxFleetMachine, type SandboxFleetMachineMeteredUsage, type SandboxFleetMachineRecord, type SandboxFleetMachineSpec, type SandboxFleetManifest, type SandboxFleetManifestMachine, type SandboxFleetOperationsSummary, type SandboxFleetPolicy, type SandboxFleetToken, type SandboxFleetTraceBundle, type SandboxFleetTraceEvent, type SandboxFleetTraceExport, type SandboxFleetTraceOptions, type SandboxFleetUsage, type SandboxFleetWorkspace, type SandboxFleetWorkspaceReconcileResult, type SandboxFleetWorkspaceRestoreResult, type SandboxFleetWorkspaceSnapshotResult, type SandboxInfo, SandboxInstance, type SandboxIntelligenceEnvelope, type SandboxMcpConfig, type SandboxMcpEndpoint, type SandboxMcpServerEntry, type SandboxPermissionsConfig, type SandboxResources, SandboxSession, type SandboxStatus, type SandboxTraceBundle, type SandboxTraceEvent, type SandboxTraceExport, type SandboxTraceOptions, type SandboxUser, type SaveCollaborationSnapshotRequest, type SaveCollaborationSnapshotResponse, type ScopedToken, type ScopedTokenScope, type SearchMatch, type SearchOptions, type SecretInfo, type SecretsManager, ServerError, type SessionEventStreamOptions, type SessionInfo, type SessionListOptions, type SessionMessage, type SessionStatus, type SnapshotInfo, type SnapshotOptions, type SnapshotResult, type StartInteractiveOptions, StateError, type StorageConfig, type SubscriptionInfo, TangleSandboxClient, type TangleSandboxClientConfig, type TangleSearchProvider, type TaskOptions, type TaskResult, type Team, type TeamInvitation, type TeamMember, type TeeAttestationHeartbeat, type TeeAttestationHeartbeatOptions, type TeeAttestationHeartbeatSample, type TeeAttestationOptions, type TeeAttestationReport, type TeeAttestationResponse, type TeePublicKey, type TeePublicKeyResponse, TimeoutError, type TokenRefreshHandler, type ToolsConfig, type TraceExportFormat, type TraceExportResult, type TraceExportSink, type TurnDriveResult, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, type WriteManyFile, type WriteManyOptions, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, createConfidentialSandbox, createManageSandboxesTool, defineAgentProfile, defineGitHubResource, defineInlineResource, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, mergeAgentProfiles, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseCollaborationDocumentId, parseSSEStream, runTangleRouterEvalMatrixInSandbox, serializeForSidecar, startTeeAttestationHeartbeat, toOtelJson };
910
+ export { type AcceleratorKind, type AccessPolicyRule, type AddUserOptions, type AgentProfile, type AgentProfileCapabilities, type AgentProfileConnection, type AgentProfileFileMount, type AgentProfileMcpServer, type AgentProfileModelHints, type AgentProfilePermissionValue, type AgentProfilePrompt, type AgentProfileResourceRef, type AgentProfileResources, type AgentProfileValidationIssue, type AgentProfileValidationResult, type AgentSubagentProfile, type AnyTokenPayload, type AttachSandboxFleetMachineOptions, AuthError, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendStatus, type BackendType, type BatchEvent, type BatchOptions, type BatchResult, type BatchTask, type BatchTaskResult, type BuildControlPlaneMcpConfigOptions, type BuildProgressEvent, type BuildSandboxMcpConfigOptions, CONTROL_PLANE_MCP_SERVER_NAME, CapabilityError, type CheckpointInfo, type CheckpointOptions, type CheckpointResult, type CodeResult, type CollaborationAccess, type CollaborationBootstrapRequest, type CollaborationBootstrapResponse, CollaborationClient, type CollaborationClientConfig, type CollaborationDocumentAdapter, type CollaborationDocumentChange, type CollaborationDocumentRef, CollaborationFileBridge, type CollaborationFileBridgeOptions, type CollaborationFileEvent, type CollaborationPermissions, type CollaborationTokenPayload, type CollaborationTokenRefreshRequest, type CollaborationTokenRefreshResponse, type CollaborationTransportConfig, type CompletedTurnResult, type ConfidentialSandboxResult, type ConfidentialTeeType, type CreateConfidentialSandboxOptions, type CreateIntelligenceReportOptions, type CreateSandboxFleetOptions, type CreateSandboxFleetWithCoordinatorOptions, type CreateSandboxOptions, type CreateTeamOptions, DEFAULT_SANDBOX_SIZE, type DeleteOptions, type DirectoryPermission, type DispatchPromptOptions, type DispatchedSession, type DownloadOptions, type DownloadProgress, type DriveTurnOptions, type DriverConfig, type DriverInfo, type DriverType, type EgressManager, type EgressPolicy, type EventStreamOptions, type ExecOptions, type ExecResult, type FileInfo, type FileSystem, type FleetDispatchCancelResult, type FleetDispatchResultBuffer, type FleetDispatchResultBufferOptions, type FleetDispatchStreamOptions, type FleetExecDispatchOptions, type FleetMachineId, type FleetPromptDispatchOptions, type ForkOptions, type ForkResult, type GitAuth, type GitBranch, type GitCommit, type GitConfig, type GitDiff, type GitStatus, type GpuType, type HostAgentDriverConfig, type HostAgentRuntimeBackend, Image, type ImageBuildClient, type ImageBuildClientConfig, type ImageBuildFetchClient, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstalledTool, IntelligenceClient, type IntelligenceReport, type IntelligenceReportBudget, type IntelligenceReportCompareTo, type IntelligenceReportSubjectType, type IntelligenceReportWindow, type InteractiveAuthFile, InteractiveSessionHandle, type InteractiveSessionHost, type InteractiveSessionInfo, type InterruptResult, type InviteTeamMemberOptions, type IssueCollaborationTokenOptions, type ListMessagesOptions, type ListOptions, type ListSandboxFleetOptions, type ListSandboxOptions, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, type ManageSandboxesInput, type ManageSandboxesTool, type ManageSandboxesToolOptions, type McpServerConfig, type MintScopedTokenOptions, type MkdirOptions, type NetworkConfig, NetworkError, type NetworkManager, type NonHostAgentDriverConfig, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, PartialFailureError, type PermissionLevel, type PermissionResponseResult, type PermissionsManager, type PreviewLinkInfo, type PreviewLinkManager, type Process, type ProcessInfo, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, type PromptOptions, type PromptResult, type ProvisionEvent, type ProvisionResult, type ProvisionStatus, type ProvisionStep, type PublicTemplateInfo, type PublicTemplateVersionInfo, type PublishPublicTemplateOptions, type PublishPublicTemplateVersionOptions, QuotaError, type ReapExpiredSandboxFleetsOptions, type ReapExpiredSandboxFleetsResult, type ReconcileSandboxFleetsOptions, type ReconcileSandboxFleetsResult, type RespondToPermissionOptions, type RouterEvalMatrixAgentProfile, type RouterEvalMatrixCaseResult, type RouterEvalMatrixHarness, type RouterEvalMatrixPayload, type RouterEvalMatrixSandboxBox, type RouterEvalMatrixSandboxClient, type RouterEvalMatrixScenario, type RouterEvalMatrixSuiteResponse, type RouterImportedRunResponse, type RouterSearchConfig, type RouterSearchConfigOptions, type RunCodeOptions, type RunTangleRouterEvalMatrixInSandboxOptions, type RunTangleRouterEvalMatrixInSandboxResult, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, type SSHCommandDescriptor, type SSHCredentials, SandboxClient as Sandbox, SandboxClient, type SandboxClientConfig, type SandboxConnection, type SandboxEnvironment, SandboxError, type SandboxErrorJson, type SandboxEvent, type SandboxFailureDetail, SandboxFleet, type SandboxFleetArtifact, type SandboxFleetArtifactSpec, SandboxFleetClient, type SandboxFleetCostEstimate, type SandboxFleetDispatchFailureClass, type SandboxFleetDispatchResponse, type SandboxFleetDriverCapability, type SandboxFleetDriverTimings, type SandboxFleetInfo, type SandboxFleetIntelligenceEnvelope, type SandboxFleetMachine, type SandboxFleetMachineMeteredUsage, type SandboxFleetMachineRecord, type SandboxFleetMachineSpec, type SandboxFleetManifest, type SandboxFleetManifestMachine, type SandboxFleetOperationsSummary, type SandboxFleetPolicy, type SandboxFleetToken, type SandboxFleetTraceBundle, type SandboxFleetTraceEvent, type SandboxFleetTraceExport, type SandboxFleetTraceOptions, type SandboxFleetUsage, type SandboxFleetWorkspace, type SandboxFleetWorkspaceReconcileResult, type SandboxFleetWorkspaceRestoreResult, type SandboxFleetWorkspaceSnapshotResult, type SandboxInfo, SandboxInstance, type SandboxIntelligenceEnvelope, type SandboxMcpConfig, type SandboxMcpEndpoint, type SandboxMcpServerEntry, type SandboxPermissionsConfig, type SandboxResourceUsage, type SandboxResources, SandboxSession, type SandboxSizePreset, type SandboxStatus, type SandboxTraceBundle, type SandboxTraceEvent, type SandboxTraceExport, type SandboxTraceOptions, type SandboxUser, type SaveCollaborationSnapshotRequest, type SaveCollaborationSnapshotResponse, type ScopedToken, type ScopedTokenScope, type SearchMatch, type SearchOptions, type SecretInfo, type SecretsManager, ServerError, type SessionEventStreamOptions, type SessionInfo, type SessionListOptions, type SessionMessage, type SessionStatus, type SnapshotInfo, type SnapshotOptions, type SnapshotResult, type StartInteractiveOptions, type StartupDiagnostics, type StartupOperation, StateError, type StorageConfig, type SubscriptionInfo, TangleSandboxClient, type TangleSandboxClientConfig, type TangleSearchProvider, type TaskOptions, type TaskResult, type Team, type TeamInvitation, type TeamMember, type TeeAttestationHeartbeat, type TeeAttestationHeartbeatOptions, type TeeAttestationHeartbeatSample, type TeeAttestationOptions, type TeeAttestationReport, type TeeAttestationResponse, type TeePublicKey, type TeePublicKeyResponse, TimeoutError, type TokenRefreshHandler, type ToolsConfig, type TraceExportFormat, type TraceExportResult, type TraceExportSink, type TurnDriveResult, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, type WriteManyFile, type WriteManyOptions, applySandboxEventText, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentResponseText, createConfidentialSandbox, createManageSandboxesTool, defineAgentProfile, defineGitHubResource, defineInlineResource, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, mergeAgentProfiles, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseCollaborationDocumentId, parseSSEStream, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, serializeForSidecar, startTeeAttestationHeartbeat, toOtelJson };