@tangle-network/sandbox 0.0.0-develop.20260519182220.e7047bf → 0.0.0-develop.20260530132002.87cf9f6
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/README.md +449 -16
- package/dist/agent/index.d.ts +433 -0
- package/dist/agent/index.js +1 -0
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/client-CygjzF3v.js +1 -0
- package/dist/{errors-DiKmk2CM.d.ts → client-DM2pIli7.d.ts} +66 -134
- package/dist/collaboration/index.d.ts +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/collaboration-CRyb5e8F.js +1 -1
- package/dist/core.d.ts +3 -2
- package/dist/core.js +1 -1
- package/dist/errors-1Se5ATyZ.d.ts +128 -0
- package/dist/errors-CljiGR__.js +1 -1
- package/dist/{index-CLZs55w_.d.ts → index-CTj81tF9.d.ts} +1 -1
- package/dist/index.d.ts +256 -7
- package/dist/index.js +1 -1
- package/dist/openai/index.d.ts +21 -6
- package/dist/openai/index.js +1 -1
- package/dist/{sandbox-B7-dr4K1.d.ts → sandbox-CBmfYqMQ.d.ts} +366 -121
- package/dist/sandbox-DTup2jzz.js +1 -0
- package/dist/session-gateway/index.js +1 -1
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/tangle-CnYnTRi6.js +1 -0
- package/package.json +17 -8
- package/dist/client-DFFqzEf3.js +0 -1
- package/dist/platform-integrations.d.ts +0 -2
- package/dist/platform-integrations.js +0 -1
- package/dist/sandbox-CHsHtmjx.js +0 -1
- package/dist/tangle-DwLVHGvt.js +0 -1
- /package/dist/{index-Dpj1oB5i.d.ts → index-D-2pH_70.d.ts} +0 -0
- /package/dist/{index-CCsA3S0D.d.ts → index-D7bwmNs8.d.ts} +0 -0
package/dist/errors-CljiGR__.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x222661=a0_0x1be1;(function(_0x443f64,_0x3aa4c7){const _0xb6380c=a0_0x1be1,_0x1848b2=_0x443f64();while(!![]){try{const _0x3bdd89=parseInt(_0xb6380c(0x197))/0x1+parseInt(_0xb6380c(0x1e1))/0x2+-parseInt(_0xb6380c(0x18e))/0x3*(parseInt(_0xb6380c(0x1c1))/0x4)+-parseInt(_0xb6380c(0x1c4))/0x5+parseInt(_0xb6380c(0x188))/0x6+-parseInt(_0xb6380c(0x18c))/0x7+-parseInt(_0xb6380c(0x195))/0x8*(-parseInt(_0xb6380c(0x1d4))/0x9);if(_0x3bdd89===_0x3aa4c7)break;else _0x1848b2['push'](_0x1848b2['shift']());}catch(_0x99ef48){_0x1848b2['push'](_0x1848b2['shift']());}}}(a0_0x235d,0x7c96e));var SandboxError=class extends Error{[a0_0x222661(0x1e9)];[a0_0x222661(0x1a9)];['\x6f\x72\x69\x67\x69\x6e'];[a0_0x222661(0x1c9)];[a0_0x222661(0x19e)];[a0_0x222661(0x196)];['\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x49\x6d\x61\x67\x65'];constructor(_0x3657cf,_0x2c3a09,_0x2ac8ad,_0x3b3e7d){const _0x1da004=a0_0x222661;super(_0x3657cf),this['\x6e\x61\x6d\x65']=_0x1da004(0x1a5),this[_0x1da004(0x1a9)]=_0x2c3a09,this[_0x1da004(0x1e9)]=_0x2ac8ad,this[_0x1da004(0x1ea)]=_0x3b3e7d?.[_0x1da004(0x1ea)],this['\x65\x6e\x64\x70\x6f\x69\x6e\x74']=_0x3b3e7d?.[_0x1da004(0x1c9)],this['\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73']=_0x3b3e7d?.[_0x1da004(0x19e)],this[_0x1da004(0x196)]=_0x3b3e7d?.[_0x1da004(0x196)],this[_0x1da004(0x18b)]=_0x3b3e7d?.[_0x1da004(0x18b)];}},AuthError=class extends SandboxError{constructor(_0x13542c='\x41\x75\x74\x68\x65\x6e\x74\x69\x63\x61\x74\x69\x6f\x6e\x20\x66\x61\x69\x6c\x65\x64',_0xc087a5){const _0x114c4f=a0_0x222661,_0x5f5aa8={'\x47\x6d\x48\x75\x70':'\x41\x75\x74\x68\x45\x72\x72\x6f\x72'};super(_0x13542c,_0x114c4f(0x1ca),0x191,_0xc087a5),this[_0x114c4f(0x1a4)]=_0x5f5aa8['\x47\x6d\x48\x75\x70'];}},NotFoundError=class extends SandboxError{[a0_0x222661(0x1ab)];[a0_0x222661(0x1d8)];constructor(_0x380107,_0x3f5904,_0x67d47b){const _0x1b40d9=a0_0x222661,_0x4d5db4={'\x6d\x43\x43\x64\x7a':'\x4e\x4f\x54\x5f\x46\x4f\x55\x4e\x44'};super(_0x380107+_0x1b40d9(0x1e4)+_0x3f5904,_0x4d5db4[_0x1b40d9(0x18d)],0x194,_0x67d47b),this[_0x1b40d9(0x1a4)]=_0x1b40d9(0x198),this[_0x1b40d9(0x1ab)]=_0x380107,this[_0x1b40d9(0x1d8)]=_0x3f5904;}},QuotaError=class extends SandboxError{[a0_0x222661(0x1b3)];[a0_0x222661(0x1db)];[a0_0x222661(0x1f2)];[a0_0x222661(0x19e)];constructor(_0x3027fb,_0x3b8044,_0x43085e,_0x2fd294,_0x37952b,_0x59fe8b=0x1ad){const _0x374de7=a0_0x222661,_0x3bf6e7={'\x70\x4a\x72\x4f\x69':_0x374de7(0x1af)},_0xb77b79=_0x374de7(0x1ec)[_0x374de7(0x1ad)]('\x7c');let _0x53c56c=0x0;while(!![]){switch(_0xb77b79[_0x53c56c++]){case'\x30':this['\x6c\x69\x6d\x69\x74']=_0x2fd294;continue;case'\x31':this[_0x374de7(0x1db)]=_0x43085e;continue;case'\x32':super(_0x3b8044??_0x374de7(0x1b5)+_0x3027fb,_0x3bf6e7[_0x374de7(0x1b9)],_0x59fe8b,_0x37952b);continue;case'\x33':this[_0x374de7(0x19e)]=_0x37952b?.['\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73'];continue;case'\x34':this[_0x374de7(0x1b3)]=_0x3027fb;continue;case'\x35':this[_0x374de7(0x1a4)]=_0x374de7(0x193);continue;}break;}}},CapabilityError=class extends SandboxError{[a0_0x222661(0x1ee)];constructor(_0x367bc5,_0x1b81ed=a0_0x222661(0x1c3),_0x363de8=0x190,_0x1eb819,_0xd2d418){const _0x217e92=a0_0x222661;super(_0x367bc5,_0x1b81ed,_0x363de8,_0x1eb819),this[_0x217e92(0x1a4)]=_0x217e92(0x1e0),this[_0x217e92(0x1ee)]=_0xd2d418;}},PartialFailureError=class extends SandboxError{['\x66\x61\x69\x6c\x75\x72\x65\x73'];constructor(_0x57c98b,_0x3da14d=a0_0x222661(0x182),_0x1a9648=0x1f6,_0x3d279f,_0x20e153){const _0x4d7c68=a0_0x222661;super(_0x57c98b,_0x3da14d,_0x1a9648,_0x3d279f),this[_0x4d7c68(0x1a4)]=_0x4d7c68(0x1a2),this[_0x4d7c68(0x17c)]=_0x20e153;}},ValidationError=class extends SandboxError{[a0_0x222661(0x192)];constructor(_0x17debe,_0x63b162,_0x5a9a9d){const _0x1f9758=a0_0x222661,_0x2c9b67={'\x44\x62\x71\x47\x41':_0x1f9758(0x1be)};super(_0x17debe,_0x1f9758(0x1f7),0x190,_0x5a9a9d),this[_0x1f9758(0x1a4)]=_0x2c9b67[_0x1f9758(0x1e8)],this[_0x1f9758(0x192)]=_0x63b162;}},StateError=class extends SandboxError{['\x63\x75\x72\x72\x65\x6e\x74\x53\x74\x61\x74\x65'];['\x72\x65\x71\x75\x69\x72\x65\x64\x53\x74\x61\x74\x65'];constructor(_0x5ee4f4,_0x1d9654,_0x144b94,_0x1c0fbe){const _0x206d0a=a0_0x222661;super(_0x5ee4f4,_0x206d0a(0x1ed),0x199,_0x1c0fbe),this[_0x206d0a(0x1a4)]=_0x206d0a(0x194),this[_0x206d0a(0x1cd)]=_0x1d9654,this[_0x206d0a(0x1da)]=_0x144b94;}},TimeoutError=class extends SandboxError{[a0_0x222661(0x1bc)];constructor(_0x447b21,_0x486b64,_0x103799){const _0x318cfb=a0_0x222661;super(_0x486b64??_0x318cfb(0x17e)+_0x447b21+'\x6d\x73',_0x318cfb(0x1d2),0x198,_0x103799),this['\x6e\x61\x6d\x65']=_0x318cfb(0x19a),this[_0x318cfb(0x1bc)]=_0x447b21;}},NetworkError=class extends SandboxError{[a0_0x222661(0x1bb)];constructor(_0x565219,_0x45bcae,_0x5d9ff5){const _0x56b303=a0_0x222661,_0x2254e1={'\x6c\x62\x76\x69\x53':_0x56b303(0x1e7),'\x7a\x6a\x54\x45\x6a':_0x56b303(0x1dd)},_0x48a8b8=_0x45bcae instanceof Error?_0x45bcae:void 0x0,_0x2f892a=_0x45bcae instanceof Error?_0x5d9ff5:_0x45bcae??_0x5d9ff5;super(_0x565219,_0x2254e1['\x6c\x62\x76\x69\x53'],void 0x0,_0x2f892a),this[_0x56b303(0x1a4)]=_0x2254e1[_0x56b303(0x1e5)],this[_0x56b303(0x1bb)]=_0x48a8b8;}},ServerError=class extends SandboxError{constructor(_0x2d6f57,_0x21562c=0x1f4,_0x1bfe6c){const _0x14c4b7=a0_0x222661,_0x4fa3f0={'\x45\x63\x42\x51\x67':'\x53\x45\x52\x56\x45\x52\x5f\x45\x52\x52\x4f\x52','\x47\x4e\x55\x51\x6b':'\x53\x65\x72\x76\x65\x72\x45\x72\x72\x6f\x72'};super(_0x2d6f57,_0x4fa3f0[_0x14c4b7(0x189)],_0x21562c,_0x1bfe6c),this[_0x14c4b7(0x1a4)]=_0x4fa3f0['\x47\x4e\x55\x51\x6b'];}};function parseRetryAfterMs(_0x2c2f7d,_0x26379a){const _0xde1690=a0_0x222661,_0x26302d={'\x74\x68\x53\x52\x67':function(_0x46d25b,_0x2289c9){return _0x46d25b===_0x2289c9;},'\x53\x6e\x4e\x68\x4d':_0xde1690(0x17f),'\x50\x6f\x64\x78\x6a':function(_0x31eb7d,_0xb8318f){return _0x31eb7d(_0xb8318f);},'\x5a\x45\x4d\x44\x74':function(_0x3ea0be,_0x30f7ab){return _0x3ea0be-_0x30f7ab;}};if(_0x26302d[_0xde1690(0x1df)](typeof _0x26379a[_0xde1690(0x19e)],_0x26302d[_0xde1690(0x1bd)])&&Number['\x69\x73\x46\x69\x6e\x69\x74\x65'](_0x26379a[_0xde1690(0x19e)]))return Math[_0xde1690(0x181)](0x0,_0x26379a[_0xde1690(0x19e)]);if(!_0x2c2f7d)return void 0x0;const _0x40d33b=_0x2c2f7d['\x74\x72\x69\x6d']();if(!_0x40d33b)return void 0x0;const _0x1cca5a=_0x26302d[_0xde1690(0x1cf)](Number,_0x40d33b);if(Number[_0xde1690(0x1e2)](_0x1cca5a))return Math[_0xde1690(0x181)](0x0,_0x1cca5a)*0x3e8;const _0x1e56ed=Date[_0xde1690(0x1b1)](_0x40d33b);if(!Number[_0xde1690(0x1bf)](_0x1e56ed))return Math[_0xde1690(0x181)](0x0,_0x26302d[_0xde1690(0x1a1)](_0x1e56ed,Date['\x6e\x6f\x77']()));}function inferOrigin(_0x4bd365,_0x29454e){const _0x5000f3=a0_0x222661,_0x5e0a43={'\x69\x55\x79\x4c\x65':'\x73\x69\x64\x65\x63\x61\x72','\x46\x6f\x53\x50\x61':_0x5000f3(0x1d9),'\x62\x4b\x56\x7a\x5a':_0x5000f3(0x1e3),'\x74\x70\x69\x4e\x73':_0x5000f3(0x19f),'\x46\x4e\x77\x53\x64':_0x5000f3(0x1b6),'\x4c\x51\x65\x52\x72':_0x5000f3(0x1cb)},_0x39661f=_0x29454e?.[_0x5000f3(0x1ef)]??_0x4bd365?.[_0x5000f3(0x18a)](_0x5000f3(0x1c8))??void 0x0;if(!_0x4bd365)return _0x29454e?.['\x70\x61\x74\x68']?_0x5000f3(0x1b6):void 0x0;if(_0x4bd365[_0x5000f3(0x1f6)](_0x5000f3(0x1d0))||_0x4bd365[_0x5000f3(0x1f6)](_0x5000f3(0x1d3))||_0x4bd365[_0x5000f3(0x1f6)]('\x78\x2d\x73\x69\x64\x65\x63\x61\x72\x2d\x69\x6d\x61\x67\x65\x2d\x74\x61\x67'))return _0x5e0a43[_0x5000f3(0x1b8)];if(_0x4bd365[_0x5000f3(0x1f6)](_0x5e0a43['\x46\x6f\x53\x50\x61']))return _0x5e0a43[_0x5000f3(0x1f3)];if(_0x39661f?.[_0x5000f3(0x1ce)](_0x5e0a43[_0x5000f3(0x1d7)]))return _0x5e0a43[_0x5000f3(0x179)];if(_0x39661f){if(_0x39661f[_0x5000f3(0x1ce)](_0x5000f3(0x1eb))||_0x39661f[_0x5000f3(0x1ce)](_0x5000f3(0x199))||_0x39661f[_0x5000f3(0x1ce)](_0x5000f3(0x19c)))return _0x5e0a43[_0x5000f3(0x1f3)];return _0x5e0a43[_0x5000f3(0x185)];}return _0x5000f3(0x1ba);}function isQuotaCode(_0xbd1c25){const _0x208166=a0_0x222661,_0xcbcd43={'\x47\x43\x74\x77\x6b':function(_0xae067,_0x1bfa66){return _0xae067===_0x1bfa66;}};return _0xcbcd43[_0x208166(0x1f0)](_0xbd1c25,'\x51\x55\x4f\x54\x41\x5f\x45\x58\x43\x45\x45\x44\x45\x44')||_0xbd1c25?.[_0x208166(0x1f8)](_0x208166(0x1ac))===!![];}function isCapabilityCode(_0x2e6c5b){const _0x483ba5=a0_0x222661,_0xba1462={'\x6f\x50\x57\x4c\x4e':function(_0xbe8d55,_0x154024){return _0xbe8d55===_0x154024;},'\x57\x7a\x47\x79\x68':'\x55\x4e\x53\x55\x50\x50\x4f\x52\x54\x45\x44\x5f\x43\x41\x50\x41\x42\x49\x4c\x49\x54\x59','\x71\x42\x5a\x50\x4e':_0x483ba5(0x1f1)};return _0x2e6c5b==='\x43\x41\x50\x41\x42\x49\x4c\x49\x54\x59\x5f\x4e\x4f\x54\x5f\x45\x4e\x41\x42\x4c\x45\x44'||_0x2e6c5b===_0x483ba5(0x1c3)||_0xba1462[_0x483ba5(0x1b4)](_0x2e6c5b,_0xba1462['\x57\x7a\x47\x79\x68'])||_0x2e6c5b===_0x483ba5(0x1b2)||_0x2e6c5b===_0xba1462['\x71\x42\x5a\x50\x4e'];}function a0_0x235d(){const _0x48b54f=['\x43\x4d\x76\x5a\x44\x77\x58\x30\x43\x57','\x74\x4d\x76\x30\x44\x32\x39\x59\x41\x30\x76\x59\x43\x4d\x39\x59','\x41\x65\x50\x73\x77\x76\x71','\x44\x67\x48\x74\x75\x4d\x43','\x71\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x45\x75\x76\x59\x43\x4d\x39\x59','\x6d\x74\x75\x32\x6d\x64\x61\x58\x6f\x67\x66\x56\x41\x65\x76\x69\x72\x57','\x41\x78\x6e\x67\x41\x77\x35\x50\x44\x67\x75','\x79\x32\x39\x55\x44\x68\x6a\x56\x42\x63\x31\x57\x42\x67\x66\x55\x7a\x71','\x69\x67\x35\x56\x44\x63\x62\x4d\x42\x33\x76\x55\x7a\x64\x4f\x47','\x45\x4d\x50\x75\x72\x77\x4f','\x71\x30\x58\x58\x42\x67\x69','\x74\x4b\x76\x75\x76\x30\x39\x73\x73\x31\x39\x66\x75\x4c\x6a\x70\x75\x47','\x72\x67\x6a\x58\x72\x30\x65','\x43\x33\x72\x48\x44\x68\x76\x5a','\x42\x33\x6a\x50\x7a\x32\x4c\x55','\x6c\x33\x62\x59\x42\x32\x50\x4c\x79\x33\x72\x5a','\x6d\x4e\x57\x31\x46\x64\x72\x38\x6d\x78\x57\x57\x46\x64\x6d','\x73\x75\x35\x77\x71\x75\x58\x6a\x72\x66\x39\x74\x76\x65\x66\x75\x72\x71','\x79\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x45\x71','\x43\x67\x66\x30\x41\x61','\x72\x30\x6e\x30\x44\x32\x53','\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','\x42\x67\x4c\x54\x41\x78\x71','\x79\x4b\x54\x77\x45\x4c\x4f','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x43\x4d\x76\x30\x43\x4e\x4b\x54\x79\x77\x7a\x30\x7a\x78\x69','\x41\x67\x66\x5a','\x76\x4b\x66\x6d\x73\x75\x72\x62\x76\x65\x4c\x70\x74\x4c\x39\x66\x75\x4c\x6a\x70\x75\x47','\x7a\x77\x35\x4b\x43\x31\x44\x50\x44\x67\x47','\x72\x4b\x35\x33\x75\x32\x71','\x44\x65\x35\x6d\x42\x33\x4b','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x7a\x4d\x66\x50\x42\x68\x76\x59\x7a\x78\x6d','\x75\x65\x66\x62\x43\x4d\x38','\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','\x42\x4e\x76\x54\x79\x4d\x76\x59','\x41\x77\x6a\x73\x76\x66\x47','\x42\x77\x66\x34','\x75\x65\x66\x73\x76\x65\x4c\x62\x74\x66\x39\x67\x71\x75\x4c\x6d\x76\x76\x6a\x66','\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\x67\x76\x30\x79\x77\x4c\x53\x43\x57','\x74\x66\x66\x4c\x75\x4e\x69','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x6d\x74\x69\x33\x6e\x4a\x79\x34\x7a\x4b\x66\x57\x74\x75\x4c\x4f','\x72\x77\x6e\x63\x75\x77\x43','\x7a\x32\x76\x30','\x79\x32\x39\x55\x44\x67\x66\x50\x42\x4d\x76\x59\x73\x77\x31\x48\x7a\x32\x75','\x6d\x4a\x4b\x57\x6d\x4a\x79\x59\x6e\x30\x54\x6b\x71\x4e\x50\x4c\x72\x57','\x42\x75\x6e\x64\x7a\x68\x4f','\x6f\x78\x6e\x36\x79\x75\x58\x31\x7a\x47','\x7a\x77\x48\x6f\x75\x4b\x38','\x73\x76\x66\x59\x77\x4c\x79','\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','\x7a\x4d\x4c\x4c\x42\x67\x72\x5a','\x75\x78\x76\x56\x44\x67\x66\x66\x43\x4e\x6a\x56\x43\x47','\x75\x33\x72\x48\x44\x67\x76\x66\x43\x4e\x6a\x56\x43\x47','\x6d\x5a\x61\x30\x41\x4e\x72\x32\x76\x66\x6a\x34','\x43\x32\x4c\x4b\x7a\x77\x6e\x48\x43\x4c\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x6d\x74\x71\x35\x6e\x64\x65\x31\x44\x67\x54\x67\x43\x67\x7a\x6b','\x74\x4d\x39\x30\x72\x4d\x39\x31\x42\x4d\x72\x66\x43\x4e\x6a\x56\x43\x47','\x6c\x33\x6e\x50\x7a\x67\x76\x4a\x79\x78\x6a\x5a','\x76\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x76\x59\x43\x4d\x39\x59','\x7a\x4c\x62\x79\x43\x67\x30','\x6c\x32\x4c\x55\x43\x33\x72\x48\x42\x4d\x6e\x4c\x43\x57','\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','\x43\x4d\x76\x30\x43\x4e\x4c\x62\x7a\x4e\x72\x4c\x43\x4b\x31\x5a','\x6c\x33\x79\x58\x6c\x57','\x73\x76\x44\x4a\x77\x77\x57','\x77\x4b\x76\x6e\x72\x68\x71','\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','\x41\x75\x66\x55\x72\x4c\x75','\x42\x4d\x66\x54\x7a\x71','\x75\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x76\x59\x43\x4d\x39\x59','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x44\x68\x6a\x50\x42\x71','\x41\x30\x7a\x51\x74\x77\x4f','\x79\x32\x39\x4b\x7a\x71','\x72\x76\x48\x34\x73\x66\x75','\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\x33\x62\x53\x41\x78\x71','\x43\x68\x7a\x4f\x72\x4e\x79','\x75\x76\x76\x70\x76\x65\x66\x46\x72\x76\x48\x64\x72\x75\x76\x65\x72\x75\x71','\x76\x75\x35\x6c\x74\x4b\x39\x78\x74\x4c\x39\x66\x75\x4c\x6a\x70\x75\x47','\x43\x67\x66\x59\x43\x32\x75','\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','\x43\x78\x76\x56\x44\x67\x66\x75\x45\x78\x62\x4c','\x42\x31\x62\x78\x74\x65\x34','\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','\x41\x65\x72\x54\x44\x30\x65','\x41\x76\x76\x35\x74\x67\x75','\x43\x65\x50\x59\x74\x32\x4b','\x44\x77\x35\x52\x42\x4d\x39\x33\x42\x47','\x79\x32\x66\x31\x43\x32\x75','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x31\x5a','\x75\x32\x35\x6f\x41\x65\x30','\x76\x4d\x66\x53\x41\x77\x72\x48\x44\x67\x4c\x56\x42\x4b\x76\x59\x43\x4d\x39\x59','\x41\x78\x6e\x6f\x79\x75\x34','\x72\x4c\x76\x7a\x71\x30\x47','\x6e\x5a\x43\x31\x6d\x64\x61\x30\x41\x76\x6a\x56\x74\x65\x6a\x4c','\x77\x78\x44\x6e\x79\x31\x4b','\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','\x6d\x5a\x43\x31\x6d\x4a\x65\x57\x74\x4e\x72\x53\x76\x76\x62\x64','\x44\x67\x76\x5a\x44\x61','\x74\x4b\x39\x75\x78\x30\x4c\x6e\x75\x65\x58\x66\x74\x75\x76\x6f\x76\x65\x76\x65','\x42\x68\x44\x6b\x74\x31\x4f','\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','\x7a\x77\x35\x4b\x43\x67\x39\x50\x42\x4e\x71','\x71\x76\x76\x75\x73\x66\x39\x66\x75\x4c\x6a\x70\x75\x47','\x43\x4e\x76\x55\x44\x67\x4c\x54\x7a\x71','\x7a\x78\x6a\x59\x42\x33\x69','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x66\x6e\x30\x79\x78\x72\x4c','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x75\x67\x39\x4b\x45\x67\x4f','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x78\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x72\x4d\x4c\x71\x42\x33\x47','\x76\x65\x4c\x6e\x72\x75\x39\x76\x76\x61','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x77\x4c\x54\x79\x77\x44\x4c','\x6d\x74\x71\x35\x6d\x5a\x71\x32\x73\x78\x6e\x76\x76\x65\x54\x4b','\x43\x33\x72\x59\x41\x77\x35\x4e','\x74\x4d\x76\x65\x71\x4d\x30','\x44\x68\x62\x50\x74\x4e\x6d','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x6a\x7a\x61','\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\x58\x44\x77\x4c\x59\x7a\x77\x72\x74\x44\x67\x66\x30\x7a\x71','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x61'];a0_0x235d=function(){return _0x48b54f;};return a0_0x235d();}function isPartialFailureCode(_0x44cb8d){const _0x223549=a0_0x222661,_0x165881={'\x49\x57\x63\x59\x6c':'\x50\x41\x52\x54\x49\x41\x4c\x5f\x46\x41\x49\x4c\x55\x52\x45','\x74\x75\x59\x4d\x6c':'\x46\x4c\x45\x45\x54\x5f\x50\x41\x52\x54\x49\x41\x4c\x5f\x46\x41\x49\x4c\x55\x52\x45','\x73\x73\x63\x78\x4f':_0x223549(0x191),'\x52\x52\x76\x42\x45':_0x223549(0x183)};return _0x44cb8d===_0x165881[_0x223549(0x1a0)]||_0x44cb8d===_0x165881['\x74\x75\x59\x4d\x6c']||_0x44cb8d===_0x165881['\x73\x73\x63\x78\x4f']||_0x44cb8d===_0x165881['\x52\x52\x76\x42\x45'];}function asString(_0x3933a2){const _0x4c949c=a0_0x222661;return typeof _0x3933a2===_0x4c949c(0x1d5)&&_0x3933a2[_0x4c949c(0x1a7)]()['\x6c\x65\x6e\x67\x74\x68']>0x0?_0x3933a2:void 0x0;}function isFailureDetail(_0x19763c){const _0x38b025=a0_0x222661,_0x1a0e3b={'\x50\x41\x41\x72\x6f':function(_0x3bf355,_0x1c813e){return _0x3bf355===_0x1c813e;},'\x43\x4c\x71\x6c\x62':_0x38b025(0x187),'\x66\x50\x58\x70\x6d':function(_0x14a909,_0x4b5a56){return _0x14a909!==_0x4b5a56;}};return _0x1a0e3b[_0x38b025(0x17d)](typeof _0x19763c,_0x1a0e3b[_0x38b025(0x1e6)])&&_0x1a0e3b[_0x38b025(0x19b)](_0x19763c,null)&&!Array['\x69\x73\x41\x72\x72\x61\x79'](_0x19763c);}function a0_0x1be1(_0x3c2474,_0x1efce2){_0x3c2474=_0x3c2474-0x179;const _0x235d82=a0_0x235d();let _0x1be10a=_0x235d82[_0x3c2474];if(a0_0x1be1['\x5a\x42\x4b\x45\x64\x6c']===undefined){var _0x523a8c=function(_0x4eebb8){const _0xac6f3='\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 _0x52a678='',_0x454158='';for(let _0x31d546=0x0,_0x4b8d08,_0xd5ac7c,_0x2e31a2=0x0;_0xd5ac7c=_0x4eebb8['\x63\x68\x61\x72\x41\x74'](_0x2e31a2++);~_0xd5ac7c&&(_0x4b8d08=_0x31d546%0x4?_0x4b8d08*0x40+_0xd5ac7c:_0xd5ac7c,_0x31d546++%0x4)?_0x52a678+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x4b8d08>>(-0x2*_0x31d546&0x6)):0x0){_0xd5ac7c=_0xac6f3['\x69\x6e\x64\x65\x78\x4f\x66'](_0xd5ac7c);}for(let _0x56d18c=0x0,_0x3a4bb8=_0x52a678['\x6c\x65\x6e\x67\x74\x68'];_0x56d18c<_0x3a4bb8;_0x56d18c++){_0x454158+='\x25'+('\x30\x30'+_0x52a678['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x56d18c)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x454158);};a0_0x1be1['\x77\x6e\x51\x76\x50\x64']=_0x523a8c,a0_0x1be1['\x59\x7a\x53\x50\x73\x61']={},a0_0x1be1['\x5a\x42\x4b\x45\x64\x6c']=!![];}const _0x1f45a6=_0x235d82[0x0],_0x57778d=_0x3c2474+_0x1f45a6,_0x4601e3=a0_0x1be1['\x59\x7a\x53\x50\x73\x61'][_0x57778d];return!_0x4601e3?(_0x1be10a=a0_0x1be1['\x77\x6e\x51\x76\x50\x64'](_0x1be10a),a0_0x1be1['\x59\x7a\x53\x50\x73\x61'][_0x57778d]=_0x1be10a):_0x1be10a=_0x4601e3,_0x1be10a;}function readCapability(_0x4e9392,_0x59b55a){const _0x52f155=a0_0x222661,_0x5b31a4={'\x57\x4d\x41\x56\x48':function(_0x34cff3,_0x334a07){return _0x34cff3===_0x334a07;},'\x6c\x77\x4a\x4f\x5a':function(_0x6dc75f,_0x29fb46){return _0x6dc75f!==_0x29fb46;},'\x59\x77\x4d\x63\x59':function(_0x5f2fd5,_0x17c5b0){return _0x5f2fd5(_0x17c5b0);}},_0x14327c=_0x5b31a4['\x57\x4d\x41\x56\x48'](typeof _0x59b55a,_0x52f155(0x187))&&_0x5b31a4[_0x52f155(0x1c7)](_0x59b55a,null)?asString(_0x59b55a['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x79']):void 0x0;return _0x5b31a4[_0x52f155(0x1c2)](asString,_0x4e9392[_0x52f155(0x1ee)])??_0x14327c;}function readFailures(_0x4bdaa9,_0x1b1959){const _0x2b4078=a0_0x222661,_0x180111={'\x6b\x46\x6a\x4d\x6a':function(_0x1ddf5e,_0x2fe851){return _0x1ddf5e===_0x2fe851;},'\x70\x76\x68\x46\x76':function(_0x15d91d,_0x450bb7){return _0x15d91d!==_0x450bb7;}};if(Array['\x69\x73\x41\x72\x72\x61\x79'](_0x4bdaa9[_0x2b4078(0x17c)]))return _0x4bdaa9[_0x2b4078(0x17c)][_0x2b4078(0x186)](isFailureDetail);if(Array[_0x2b4078(0x17b)](_0x4bdaa9[_0x2b4078(0x1dc)])){const _0x112445=_0x4bdaa9[_0x2b4078(0x1dc)][_0x2b4078(0x186)](_0x5256f4=>typeof _0x5256f4===_0x2b4078(0x187)&&_0x5256f4!==null&&_0x5256f4['\x6f\x6b']===![]);if(_0x112445[_0x2b4078(0x1f4)]>0x0)return _0x112445[_0x2b4078(0x186)](isFailureDetail);}if(_0x180111[_0x2b4078(0x1a8)](typeof _0x1b1959,_0x2b4078(0x187))&&_0x180111[_0x2b4078(0x1ae)](_0x1b1959,null)&&Array['\x69\x73\x41\x72\x72\x61\x79'](_0x1b1959[_0x2b4078(0x17c)]))return _0x1b1959['\x66\x61\x69\x6c\x75\x72\x65\x73'][_0x2b4078(0x186)](isFailureDetail);}function parseErrorResponse(_0x289c9f,_0x290d2b,_0x1d5092,_0x4910ce){const _0x5891b6=a0_0x222661,_0x4c8279={'\x74\x4e\x4c\x6f\x79':function(_0x470694,_0x7f083f){return _0x470694===_0x7f083f;},'\x56\x76\x4f\x44\x70':function(_0x482834,_0x357fd7){return _0x482834!==_0x357fd7;},'\x69\x41\x6e\x46\x55':'\x55\x6e\x6b\x6e\x6f\x77\x6e\x20\x65\x72\x72\x6f\x72','\x69\x62\x52\x54\x58':_0x5891b6(0x1d5),'\x4e\x65\x44\x42\x6d':function(_0x4c82b9,_0x173784){return _0x4c82b9>_0x173784;},'\x45\x58\x78\x48\x55':function(_0x241359,_0x4b819d){return _0x241359!==_0x4b819d;},'\x68\x44\x6d\x77\x41':_0x5891b6(0x1c8),'\x46\x55\x59\x43\x48':function(_0x37bf86,_0xaad81b,_0x1403a9){return _0x37bf86(_0xaad81b,_0x1403a9);},'\x65\x68\x4e\x52\x4f':_0x5891b6(0x1f5),'\x49\x51\x72\x5a\x56':_0x5891b6(0x1d0),'\x65\x54\x66\x4c\x55':_0x5891b6(0x19d),'\x68\x4a\x52\x59\x54':'\x72\x61\x74\x65\x5f\x6c\x69\x6d\x69\x74','\x46\x69\x50\x6f\x78':_0x5891b6(0x1ba),'\x4c\x4e\x66\x47\x44':_0x5891b6(0x1c6)};let _0x574e4d;try{_0x574e4d=JSON['\x70\x61\x72\x73\x65'](_0x290d2b);}catch{_0x574e4d={'\x6d\x65\x73\x73\x61\x67\x65':_0x290d2b};}const _0x51e7c5=_0x574e4d[_0x5891b6(0x1cc)],_0x19f614=_0x4c8279['\x74\x4e\x4c\x6f\x79'](typeof _0x51e7c5,'\x6f\x62\x6a\x65\x63\x74')&&_0x4c8279['\x56\x76\x4f\x44\x70'](_0x51e7c5,null)?_0x51e7c5['\x6d\x65\x73\x73\x61\x67\x65']:void 0x0,_0x4c45e3=typeof _0x51e7c5===_0x5891b6(0x187)&&_0x51e7c5!==null?_0x51e7c5[_0x5891b6(0x1a9)]:void 0x0,_0x1304cc=_0x574e4d[_0x5891b6(0x1a6)]||_0x19f614||(typeof _0x51e7c5===_0x5891b6(0x1d5)?_0x51e7c5:void 0x0)||_0x290d2b||_0x4c8279[_0x5891b6(0x1a3)],_0x48e20d=_0x4c8279[_0x5891b6(0x17a)](typeof _0x574e4d[_0x5891b6(0x184)],_0x4c8279[_0x5891b6(0x180)])&&_0x4c8279[_0x5891b6(0x1d6)](_0x574e4d[_0x5891b6(0x184)][_0x5891b6(0x1a7)]()['\x6c\x65\x6e\x67\x74\x68'],0x0)?_0x574e4d[_0x5891b6(0x184)][_0x5891b6(0x1a7)]():void 0x0,_0x5caa64=!!_0x48e20d&&_0x4c8279[_0x5891b6(0x1aa)](_0x48e20d,_0x1304cc)&&(_0x1304cc===_0x4c8279[_0x5891b6(0x1a3)]||/^failed\b/i[_0x5891b6(0x1c5)](_0x1304cc)||/^provision failed\b/i[_0x5891b6(0x1c5)](_0x1304cc)||/^deprovision failed\b/i['\x74\x65\x73\x74'](_0x1304cc)),_0x4ab7b7=_0x574e4d[_0x5891b6(0x1a9)]||_0x4c45e3,_0x332775=''+(_0x1d5092?(_0x1d5092['\x6d\x65\x74\x68\x6f\x64']??'\x52\x45\x51\x55\x45\x53\x54')+'\x20'+(_0x1d5092['\x70\x61\x74\x68']??'')+'\x3a\x20':'')+(_0x5caa64?_0x1304cc+'\x3a\x20'+_0x48e20d:_0x1304cc),_0x4c962e={'\x6f\x72\x69\x67\x69\x6e':inferOrigin(_0x4910ce,_0x1d5092),'\x65\x6e\x64\x70\x6f\x69\x6e\x74':_0x1d5092?.[_0x5891b6(0x1ef)]??_0x4910ce?.[_0x5891b6(0x18a)](_0x4c8279[_0x5891b6(0x1b7)])??void 0x0,'\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73':_0x4c8279[_0x5891b6(0x1c0)](parseRetryAfterMs,_0x4910ce?.[_0x5891b6(0x18a)](_0x4c8279[_0x5891b6(0x18f)])??void 0x0,_0x574e4d),'\x73\x69\x64\x65\x63\x61\x72\x56\x65\x72\x73\x69\x6f\x6e':_0x4910ce?.[_0x5891b6(0x18a)](_0x4c8279[_0x5891b6(0x190)])??void 0x0,'\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x49\x6d\x61\x67\x65':_0x4910ce?.[_0x5891b6(0x18a)](_0x5891b6(0x1d3))??_0x4910ce?.['\x67\x65\x74'](_0x4c8279['\x65\x54\x66\x4c\x55'])??void 0x0};if(isQuotaCode(_0x4ab7b7))return new QuotaError(_0x574e4d['\x71\x75\x6f\x74\x61\x54\x79\x70\x65']||_0x4c8279['\x68\x4a\x52\x59\x54'],_0x332775,_0x574e4d[_0x5891b6(0x1db)],_0x574e4d['\x6c\x69\x6d\x69\x74'],_0x4c962e,_0x289c9f);if(isCapabilityCode(_0x4ab7b7))return new CapabilityError(_0x332775,_0x4ab7b7,_0x289c9f,_0x4c962e,readCapability(_0x574e4d,_0x51e7c5));if(isPartialFailureCode(_0x4ab7b7))return new PartialFailureError(_0x332775,_0x4ab7b7,_0x289c9f,_0x4c962e,readFailures(_0x574e4d,_0x51e7c5));switch(_0x289c9f){case 0x190:return new ValidationError(_0x332775,_0x574e4d[_0x5891b6(0x192)],_0x4c962e);case 0x191:return new AuthError(_0x332775,_0x4c962e);case 0x194:return new NotFoundError(_0x574e4d[_0x5891b6(0x1ab)]||'\x52\x65\x73\x6f\x75\x72\x63\x65',_0x574e4d['\x72\x65\x73\x6f\x75\x72\x63\x65\x49\x64']||_0x4c8279[_0x5891b6(0x1d1)],_0x4c962e);case 0x198:return new TimeoutError(_0x574e4d[_0x5891b6(0x1bc)]||0x7530,_0x332775,_0x4c962e);case 0x199:return new StateError(_0x332775,_0x574e4d[_0x5891b6(0x1cd)]||_0x5891b6(0x1ba),_0x574e4d[_0x5891b6(0x1da)],_0x4c962e);case 0x1ad:return new QuotaError(_0x574e4d[_0x5891b6(0x1b3)]||_0x4c8279[_0x5891b6(0x1de)],_0x332775,_0x574e4d[_0x5891b6(0x1db)],_0x574e4d['\x6c\x69\x6d\x69\x74'],_0x4c962e);case 0x1f5:return new SandboxError(_0x332775,_0x4ab7b7||_0x4c8279['\x4c\x4e\x66\x47\x44'],_0x289c9f,_0x4c962e);default:if(_0x289c9f>=0x1f4)return new ServerError(_0x332775,_0x289c9f,_0x4c962e);return new SandboxError(_0x332775,_0x4ab7b7||_0x5891b6(0x1b0),_0x289c9f,_0x4c962e);}}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
|
+
const a0_0x5574df=a0_0x1051;(function(_0x3f0167,_0x30ff2c){const _0x2f72fd=a0_0x1051,_0x572b46=_0x3f0167();while(!![]){try{const _0x1b5645=-parseInt(_0x2f72fd(0x148))/0x1*(-parseInt(_0x2f72fd(0x156))/0x2)+-parseInt(_0x2f72fd(0x11f))/0x3*(parseInt(_0x2f72fd(0x147))/0x4)+-parseInt(_0x2f72fd(0x10a))/0x5+-parseInt(_0x2f72fd(0x15e))/0x6*(-parseInt(_0x2f72fd(0x136))/0x7)+-parseInt(_0x2f72fd(0x170))/0x8*(-parseInt(_0x2f72fd(0x12c))/0x9)+parseInt(_0x2f72fd(0x175))/0xa+-parseInt(_0x2f72fd(0x106))/0xb;if(_0x1b5645===_0x30ff2c)break;else _0x572b46['push'](_0x572b46['shift']());}catch(_0x314753){_0x572b46['push'](_0x572b46['shift']());}}}(a0_0x1946,0xddc50));var SandboxError=class extends Error{[a0_0x5574df(0x138)];[a0_0x5574df(0x112)];[a0_0x5574df(0x118)];[a0_0x5574df(0x134)];[a0_0x5574df(0x174)];[a0_0x5574df(0x110)];[a0_0x5574df(0x132)];constructor(_0x5dbaff,_0xf45aa9,_0x6faee9,_0xd252ce){const _0x159994=a0_0x5574df,_0x495cde={'\x55\x50\x55\x66\x42':_0x159994(0x121)},_0xf1e09b=_0x159994(0x119)['\x73\x70\x6c\x69\x74']('\x7c');let _0x4c44ac=0x0;while(!![]){switch(_0xf1e09b[_0x4c44ac++]){case'\x30':this[_0x159994(0x112)]=_0xf45aa9;continue;case'\x31':super(_0x5dbaff);continue;case'\x32':this[_0x159994(0x138)]=_0x6faee9;continue;case'\x33':this[_0x159994(0x132)]=_0xd252ce?.['\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x49\x6d\x61\x67\x65'];continue;case'\x34':this[_0x159994(0x174)]=_0xd252ce?.['\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73'];continue;case'\x35':this[_0x159994(0x118)]=_0xd252ce?.[_0x159994(0x118)];continue;case'\x36':this['\x6e\x61\x6d\x65']=_0x495cde[_0x159994(0x16a)];continue;case'\x37':this[_0x159994(0x110)]=_0xd252ce?.[_0x159994(0x110)];continue;case'\x38':this[_0x159994(0x134)]=_0xd252ce?.[_0x159994(0x134)];continue;}break;}}},AuthError=class extends SandboxError{constructor(_0x3a6bac=a0_0x5574df(0x13f),_0x22349e){const _0x558431=a0_0x5574df,_0x1d11f2={'\x75\x4c\x76\x72\x6f':'\x41\x55\x54\x48\x5f\x45\x52\x52\x4f\x52'};super(_0x3a6bac,_0x1d11f2[_0x558431(0x120)],0x191,_0x22349e),this[_0x558431(0x10f)]='\x41\x75\x74\x68\x45\x72\x72\x6f\x72';}},NotFoundError=class extends SandboxError{[a0_0x5574df(0x16b)];['\x72\x65\x73\x6f\x75\x72\x63\x65\x49\x64'];constructor(_0x3730f9,_0x574447,_0x542c6f){const _0x5c9f8d=a0_0x5574df,_0x4b88ca={'\x50\x71\x69\x6c\x58':'\x4e\x4f\x54\x5f\x46\x4f\x55\x4e\x44'};super(_0x3730f9+_0x5c9f8d(0x145)+_0x574447,_0x4b88ca['\x50\x71\x69\x6c\x58'],0x194,_0x542c6f),this[_0x5c9f8d(0x10f)]='\x4e\x6f\x74\x46\x6f\x75\x6e\x64\x45\x72\x72\x6f\x72',this[_0x5c9f8d(0x16b)]=_0x3730f9,this[_0x5c9f8d(0x128)]=_0x574447;}},QuotaError=class extends SandboxError{[a0_0x5574df(0x11a)];[a0_0x5574df(0x150)];[a0_0x5574df(0x15c)];['\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73'];constructor(_0x2c6bd5,_0x32bc47,_0x32a6d2,_0x3b2eae,_0x1155d1,_0x337da3=0x1ad){const _0x41a446=a0_0x5574df,_0x4369c6={'\x42\x6c\x45\x55\x6a':'\x51\x75\x6f\x74\x61\x45\x72\x72\x6f\x72','\x74\x50\x6d\x44\x47':'\x51\x55\x4f\x54\x41\x5f\x45\x58\x43\x45\x45\x44\x45\x44'},_0x232423=_0x41a446(0x105)[_0x41a446(0xf4)]('\x7c');let _0x1fc349=0x0;while(!![]){switch(_0x232423[_0x1fc349++]){case'\x30':this[_0x41a446(0x10f)]=_0x4369c6['\x42\x6c\x45\x55\x6a'];continue;case'\x31':this[_0x41a446(0x15c)]=_0x3b2eae;continue;case'\x32':super(_0x32bc47??_0x41a446(0x14d)+_0x2c6bd5,_0x4369c6[_0x41a446(0x146)],_0x337da3,_0x1155d1);continue;case'\x33':this['\x71\x75\x6f\x74\x61\x54\x79\x70\x65']=_0x2c6bd5;continue;case'\x34':this[_0x41a446(0x174)]=_0x1155d1?.[_0x41a446(0x174)];continue;case'\x35':this[_0x41a446(0x150)]=_0x32a6d2;continue;}break;}}},CapabilityError=class extends SandboxError{[a0_0x5574df(0x11b)];constructor(_0x1d82b0,_0x473302='\x43\x41\x50\x41\x42\x49\x4c\x49\x54\x59\x5f\x55\x4e\x53\x55\x50\x50\x4f\x52\x54\x45\x44',_0x59fb6e=0x190,_0x56dbb9,_0x5f11ca){const _0x4d34cf=a0_0x5574df;super(_0x1d82b0,_0x473302,_0x59fb6e,_0x56dbb9),this[_0x4d34cf(0x10f)]=_0x4d34cf(0x12f),this[_0x4d34cf(0x11b)]=_0x5f11ca;}},PartialFailureError=class extends SandboxError{[a0_0x5574df(0xf7)];constructor(_0x251df8,_0x56560d=a0_0x5574df(0x107),_0x2a7028=0x1f6,_0x3991f9,_0xb0a21a){super(_0x251df8,_0x56560d,_0x2a7028,_0x3991f9),this['\x6e\x61\x6d\x65']='\x50\x61\x72\x74\x69\x61\x6c\x46\x61\x69\x6c\x75\x72\x65\x45\x72\x72\x6f\x72',this['\x66\x61\x69\x6c\x75\x72\x65\x73']=_0xb0a21a;}},ValidationError=class extends SandboxError{[a0_0x5574df(0x10e)];constructor(_0x475451,_0x4a0e1d,_0xe13294){const _0x55b088=a0_0x5574df,_0x579520={'\x61\x5a\x6b\x6d\x68':_0x55b088(0x13e)};super(_0x475451,'\x56\x41\x4c\x49\x44\x41\x54\x49\x4f\x4e\x5f\x45\x52\x52\x4f\x52',0x190,_0xe13294),this[_0x55b088(0x10f)]=_0x579520[_0x55b088(0x15d)],this[_0x55b088(0x10e)]=_0x4a0e1d;}},StateError=class extends SandboxError{[a0_0x5574df(0x16f)];['\x72\x65\x71\x75\x69\x72\x65\x64\x53\x74\x61\x74\x65'];constructor(_0x163396,_0x46bcaf,_0x4984e6,_0x521e2a){const _0x1a2971=a0_0x5574df,_0x3a9513={'\x63\x4a\x54\x69\x77':_0x1a2971(0x101)};super(_0x163396,_0x3a9513[_0x1a2971(0x124)],0x199,_0x521e2a),this[_0x1a2971(0x10f)]='\x53\x74\x61\x74\x65\x45\x72\x72\x6f\x72',this[_0x1a2971(0x16f)]=_0x46bcaf,this[_0x1a2971(0x13b)]=_0x4984e6;}},TimeoutError=class extends SandboxError{[a0_0x5574df(0xf6)];constructor(_0x362f96,_0x19278f,_0x367be1){const _0x58e6ee=a0_0x5574df,_0x1fa1f4={'\x50\x50\x52\x73\x6e':_0x58e6ee(0x115)};super(_0x19278f??_0x58e6ee(0x11d)+_0x362f96+'\x6d\x73',_0x1fa1f4[_0x58e6ee(0x14a)],0x198,_0x367be1),this[_0x58e6ee(0x10f)]=_0x58e6ee(0x111),this[_0x58e6ee(0xf6)]=_0x362f96;}},NetworkError=class extends SandboxError{[a0_0x5574df(0x16d)];constructor(_0x4a9b47,_0x3e0ffa,_0x1f4a76){const _0x26f3d2=a0_0x5574df,_0x208dc0=_0x3e0ffa instanceof Error?_0x3e0ffa:void 0x0,_0xa7a58d=_0x3e0ffa instanceof Error?_0x1f4a76:_0x3e0ffa??_0x1f4a76;super(_0x4a9b47,_0x26f3d2(0x152),void 0x0,_0xa7a58d),this[_0x26f3d2(0x10f)]='\x4e\x65\x74\x77\x6f\x72\x6b\x45\x72\x72\x6f\x72',this[_0x26f3d2(0x16d)]=_0x208dc0;}},ServerError=class extends SandboxError{constructor(_0x1599ef,_0xc5cf48=0x1f4,_0x5eed14){const _0x438ad6=a0_0x5574df,_0x5eadd9={'\x79\x70\x55\x67\x57':_0x438ad6(0x15a)};super(_0x1599ef,'\x53\x45\x52\x56\x45\x52\x5f\x45\x52\x52\x4f\x52',_0xc5cf48,_0x5eed14),this[_0x438ad6(0x10f)]=_0x5eadd9[_0x438ad6(0x13a)];}};function parseRetryAfterMs(_0x3b7bff,_0x17d25d){const _0x1685f8=a0_0x5574df,_0x153ffa={'\x6b\x4b\x70\x55\x74':function(_0x65764d,_0x1d964d){return _0x65764d===_0x1d964d;},'\x5a\x42\x66\x71\x54':function(_0x11b7f3,_0x28a96c){return _0x11b7f3*_0x28a96c;},'\x69\x4b\x4b\x45\x53':function(_0x2452b3,_0x17417a){return _0x2452b3-_0x17417a;}};if(_0x153ffa[_0x1685f8(0x11e)](typeof _0x17d25d[_0x1685f8(0x174)],_0x1685f8(0x162))&&Number[_0x1685f8(0x122)](_0x17d25d[_0x1685f8(0x174)]))return Math[_0x1685f8(0x13c)](0x0,_0x17d25d[_0x1685f8(0x174)]);if(!_0x3b7bff)return void 0x0;const _0x4989ef=_0x3b7bff[_0x1685f8(0x129)]();if(!_0x4989ef)return void 0x0;const _0x1932ae=Number(_0x4989ef);if(Number[_0x1685f8(0x122)](_0x1932ae))return _0x153ffa[_0x1685f8(0x160)](Math[_0x1685f8(0x13c)](0x0,_0x1932ae),0x3e8);const _0x2ac214=Date[_0x1685f8(0x133)](_0x4989ef);if(!Number[_0x1685f8(0x10b)](_0x2ac214))return Math[_0x1685f8(0x13c)](0x0,_0x153ffa[_0x1685f8(0x117)](_0x2ac214,Date['\x6e\x6f\x77']()));}function a0_0x1051(_0x20e2e3,_0x505cda){_0x20e2e3=_0x20e2e3-0xf4;const _0x1946fa=a0_0x1946();let _0x10517b=_0x1946fa[_0x20e2e3];if(a0_0x1051['\x77\x50\x69\x52\x53\x67']===undefined){var _0x4b48d4=function(_0x173823){const _0x2e875e='\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 _0x1b6e88='',_0x3b5d5e='';for(let _0x539db7=0x0,_0xdb4ab2,_0x423d5d,_0x1998e6=0x0;_0x423d5d=_0x173823['\x63\x68\x61\x72\x41\x74'](_0x1998e6++);~_0x423d5d&&(_0xdb4ab2=_0x539db7%0x4?_0xdb4ab2*0x40+_0x423d5d:_0x423d5d,_0x539db7++%0x4)?_0x1b6e88+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0xdb4ab2>>(-0x2*_0x539db7&0x6)):0x0){_0x423d5d=_0x2e875e['\x69\x6e\x64\x65\x78\x4f\x66'](_0x423d5d);}for(let _0x1e6768=0x0,_0x2eab8f=_0x1b6e88['\x6c\x65\x6e\x67\x74\x68'];_0x1e6768<_0x2eab8f;_0x1e6768++){_0x3b5d5e+='\x25'+('\x30\x30'+_0x1b6e88['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x1e6768)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x3b5d5e);};a0_0x1051['\x66\x4d\x67\x6e\x48\x77']=_0x4b48d4,a0_0x1051['\x4f\x75\x48\x42\x66\x59']={},a0_0x1051['\x77\x50\x69\x52\x53\x67']=!![];}const _0x113e7b=_0x1946fa[0x0],_0x5c5b1a=_0x20e2e3+_0x113e7b,_0x136d29=a0_0x1051['\x4f\x75\x48\x42\x66\x59'][_0x5c5b1a];return!_0x136d29?(_0x10517b=a0_0x1051['\x66\x4d\x67\x6e\x48\x77'](_0x10517b),a0_0x1051['\x4f\x75\x48\x42\x66\x59'][_0x5c5b1a]=_0x10517b):_0x10517b=_0x136d29,_0x10517b;}function inferOrigin(_0x2f3982,_0x41bda1){const _0x62563e=a0_0x5574df,_0xcf60ee={'\x50\x75\x53\x43\x6e':_0x62563e(0x14b),'\x68\x5a\x5a\x6f\x59':_0x62563e(0x113),'\x68\x49\x67\x59\x64':'\x2f\x69\x6e\x73\x74\x61\x6e\x63\x65\x73','\x6e\x6c\x67\x4b\x73':'\x63\x6f\x6e\x74\x72\x6f\x6c\x2d\x70\x6c\x61\x6e\x65'},_0x5c206b=_0x41bda1?.[_0x62563e(0x104)]??_0x2f3982?.[_0x62563e(0x171)](_0x62563e(0x12d))??void 0x0;if(!_0x2f3982)return _0x41bda1?.['\x70\x61\x74\x68']?_0xcf60ee[_0x62563e(0xfc)]:void 0x0;if(_0x2f3982['\x68\x61\x73'](_0x62563e(0x16c))||_0x2f3982[_0x62563e(0x126)](_0x62563e(0xfb))||_0x2f3982[_0x62563e(0x126)]('\x78\x2d\x73\x69\x64\x65\x63\x61\x72\x2d\x69\x6d\x61\x67\x65\x2d\x74\x61\x67'))return'\x73\x69\x64\x65\x63\x61\x72';if(_0x2f3982[_0x62563e(0x126)](_0x62563e(0x108)))return _0x62563e(0x155);if(_0x5c206b?.[_0x62563e(0x11c)](_0x62563e(0x168)))return _0xcf60ee[_0x62563e(0xfc)];if(_0x5c206b){if(_0x5c206b[_0x62563e(0x11c)](_0x62563e(0x130))||_0x5c206b[_0x62563e(0x11c)](_0xcf60ee[_0x62563e(0x166)])||_0x5c206b[_0x62563e(0x11c)](_0xcf60ee[_0x62563e(0xff)]))return _0xcf60ee['\x6e\x6c\x67\x4b\x73'];return _0x62563e(0x12a);}return _0x62563e(0xf8);}function isQuotaCode(_0x55a23e){const _0x4169a9=a0_0x5574df,_0x4b4d11={'\x61\x6d\x64\x4e\x44':function(_0x3b1991,_0x4521f1){return _0x3b1991===_0x4521f1;},'\x46\x6f\x71\x4d\x66':_0x4169a9(0x176)};return _0x4b4d11[_0x4169a9(0x151)](_0x55a23e,_0x4b4d11[_0x4169a9(0x172)])||_0x55a23e?.[_0x4169a9(0x141)](_0x4169a9(0x102))===!![];}function a0_0x1946(){const _0x39fe62=['\x43\x78\x76\x56\x44\x67\x66\x75\x45\x78\x62\x4c','\x79\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x45\x71','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\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','\x41\x30\x54\x57\x76\x78\x71','\x6d\x4a\x61\x30\x6f\x64\x79\x58\x6d\x68\x4c\x6c\x73\x30\x39\x6e\x44\x57','\x44\x75\x58\x32\x43\x4d\x38','\x75\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x76\x59\x43\x4d\x39\x59','\x41\x78\x6e\x67\x41\x77\x35\x50\x44\x67\x75','\x75\x4b\x76\x72\x76\x75\x76\x74\x76\x61','\x79\x30\x50\x75\x41\x78\x43','\x77\x77\x6a\x67\x72\x4d\x30','\x41\x67\x66\x5a','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x6a\x7a\x61','\x44\x68\x6a\x50\x42\x71','\x43\x4e\x76\x55\x44\x67\x4c\x54\x7a\x71','\x75\x32\x76\x52\x72\x67\x65','\x6f\x64\x65\x5a\x6e\x5a\x75\x5a\x6f\x75\x58\x36\x45\x68\x72\x75\x72\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','\x7a\x4c\x4c\x48\x42\x30\x4f','\x71\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x45\x75\x76\x59\x43\x4d\x39\x59','\x6c\x33\x62\x59\x42\x32\x50\x4c\x79\x33\x72\x5a','\x45\x4b\x4c\x33\x45\x77\x4b','\x79\x32\x39\x55\x44\x67\x66\x50\x42\x4d\x76\x59\x73\x77\x31\x48\x7a\x32\x75','\x43\x67\x66\x59\x43\x32\x75','\x7a\x77\x35\x4b\x43\x67\x39\x50\x42\x4e\x71','\x73\x78\x6a\x76\x75\x30\x57','\x6d\x74\x72\x69\x74\x31\x62\x65\x73\x4d\x34','\x7a\x67\x76\x30\x79\x77\x4c\x53\x43\x57','\x43\x33\x72\x48\x44\x68\x76\x5a','\x42\x4b\x76\x4d\x75\x76\x61','\x45\x78\x62\x76\x7a\x31\x43','\x43\x4d\x76\x58\x44\x77\x4c\x59\x7a\x77\x72\x74\x44\x67\x66\x30\x7a\x71','\x42\x77\x66\x34','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x76\x4d\x66\x53\x41\x77\x72\x48\x44\x67\x4c\x56\x42\x4b\x76\x59\x43\x4d\x39\x59','\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','\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','\x7a\x77\x35\x4b\x43\x31\x44\x50\x44\x67\x47','\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','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x71\x4d\x50\x79\x74\x67\x4b','\x69\x67\x35\x56\x44\x63\x62\x4d\x42\x33\x76\x55\x7a\x64\x4f\x47','\x44\x66\x62\x54\x72\x65\x43','\x6e\x65\x72\x57\x71\x75\x35\x70\x7a\x47','\x6f\x64\x43\x59\x6e\x5a\x6e\x6c\x44\x30\x35\x58\x72\x67\x6d','\x75\x30\x76\x30\x43\x77\x75','\x75\x66\x62\x73\x43\x32\x34','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x31\x48\x43\x67\x4b','\x43\x4d\x6a\x4e\x79\x77\x4f','\x75\x78\x76\x56\x44\x67\x65\x47\x7a\x78\x48\x4a\x7a\x77\x76\x4b\x7a\x77\x71\x36\x69\x61','\x72\x66\x66\x6b\x75\x32\x34','\x74\x75\x39\x51\x76\x76\x43','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x61','\x79\x77\x31\x4b\x74\x4b\x71','\x74\x4b\x76\x75\x76\x30\x39\x73\x73\x31\x39\x66\x75\x4c\x6a\x70\x75\x47','\x41\x4e\x4c\x76\x42\x4e\x71','\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','\x79\x32\x39\x55\x44\x68\x6a\x56\x42\x63\x31\x57\x42\x67\x66\x55\x7a\x71','\x6e\x67\x6e\x30\x43\x4e\x62\x33\x43\x47','\x43\x66\x44\x5a\x43\x30\x79','\x43\x67\x50\x58\x41\x77\x69','\x73\x32\x4c\x36\x42\x66\x4b','\x75\x32\x76\x59\x44\x4d\x76\x59\x72\x78\x6a\x59\x42\x33\x69','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x42\x67\x4c\x54\x41\x78\x71','\x79\x76\x50\x52\x42\x77\x47','\x6e\x64\x79\x5a\x6d\x64\x61\x5a\x6f\x66\x6e\x79\x72\x75\x7a\x67\x76\x61','\x44\x67\x76\x5a\x44\x61','\x77\x4b\x6a\x4d\x43\x76\x71','\x43\x4d\x76\x30\x43\x4e\x4b\x54\x79\x77\x7a\x30\x7a\x78\x69','\x42\x4e\x76\x54\x79\x4d\x76\x59','\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\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x75','\x71\x4b\x35\x5a\x45\x66\x75','\x41\x66\x50\x41\x42\x31\x4b','\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','\x6c\x33\x79\x58\x6c\x57','\x42\x77\x76\x30\x41\x67\x39\x4b','\x76\x76\x62\x76\x7a\x4b\x69','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x75\x45\x78\x62\x4c','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x78\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x79\x32\x66\x31\x43\x32\x75','\x75\x33\x62\x48\x76\x33\x61','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x66\x6e\x30\x79\x78\x72\x4c','\x6d\x74\x7a\x75\x74\x30\x35\x65\x75\x68\x69','\x7a\x32\x76\x30','\x72\x4d\x39\x58\x74\x77\x79','\x42\x30\x6e\x30\x74\x65\x65','\x43\x4d\x76\x30\x43\x4e\x4c\x62\x7a\x4e\x72\x4c\x43\x4b\x31\x5a','\x6d\x4a\x43\x58\x6e\x74\x69\x5a\x6d\x68\x6e\x57\x41\x32\x54\x67\x41\x47','\x75\x76\x76\x70\x76\x65\x66\x46\x72\x76\x48\x64\x72\x75\x76\x65\x72\x75\x71','\x43\x33\x62\x53\x41\x78\x71','\x74\x4b\x39\x75\x78\x30\x4c\x6e\x75\x65\x58\x66\x74\x75\x76\x6f\x76\x65\x76\x65','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x31\x5a','\x7a\x4d\x66\x50\x42\x68\x76\x59\x7a\x78\x6d','\x44\x77\x35\x52\x42\x4d\x39\x33\x42\x47','\x43\x33\x72\x59\x41\x77\x35\x4e','\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','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x77\x4c\x54\x79\x77\x44\x4c','\x75\x68\x76\x74\x71\x32\x34','\x77\x4e\x50\x55\x42\x4d\x79','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x4c\x43\x4e\x6a\x56\x43\x47','\x41\x65\x4c\x4e\x77\x77\x71','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x73\x75\x35\x77\x71\x75\x58\x6a\x72\x66\x39\x74\x76\x65\x66\x75\x72\x71','\x78\x31\x66\x76\x74\x31\x72\x62\x78\x30\x76\x79\x71\x30\x76\x66\x72\x65\x76\x65','\x44\x66\x66\x4c\x45\x68\x43','\x43\x67\x66\x30\x41\x61','\x6d\x4e\x57\x57\x46\x64\x6e\x38\x6e\x78\x57\x58\x46\x64\x71','\x6f\x74\x61\x31\x6e\x74\x4b\x34\x6d\x75\x35\x30\x44\x67\x48\x4b\x72\x47','\x75\x65\x66\x73\x76\x65\x4c\x62\x74\x66\x39\x67\x71\x75\x4c\x6d\x76\x76\x6a\x66','\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','\x76\x75\x35\x6c\x74\x4b\x39\x78\x74\x4c\x39\x66\x75\x4c\x6a\x70\x75\x47','\x6e\x4a\x4b\x58\x6e\x4a\x69\x30\x6d\x66\x76\x34\x72\x68\x44\x55\x72\x61','\x41\x78\x6e\x6f\x79\x75\x34','\x43\x4d\x76\x5a\x44\x77\x58\x30\x43\x57','\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','\x7a\x4d\x4c\x4c\x42\x67\x72\x5a','\x42\x4d\x66\x54\x7a\x71','\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','\x79\x32\x39\x4b\x7a\x71','\x6c\x33\x6e\x50\x7a\x67\x76\x4a\x79\x78\x6a\x5a','\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','\x76\x65\x4c\x6e\x72\x75\x39\x76\x76\x61','\x75\x65\x66\x65\x42\x68\x71','\x41\x75\x54\x6c\x72\x76\x6d','\x42\x33\x6a\x50\x7a\x32\x4c\x55','\x6d\x78\x57\x32\x46\x64\x62\x38\x6d\x4e\x57\x31\x46\x64\x48\x38\x6e\x68\x57\x33\x46\x64\x6d'];a0_0x1946=function(){return _0x39fe62;};return a0_0x1946();}function isCapabilityCode(_0x4a43a0){const _0x25b2f7=a0_0x5574df,_0x337fc2={'\x52\x6d\x6b\x51\x43':function(_0x32f26f,_0x54f043){return _0x32f26f===_0x54f043;}};return _0x337fc2['\x52\x6d\x6b\x51\x43'](_0x4a43a0,_0x25b2f7(0x140))||_0x4a43a0===_0x25b2f7(0x163)||_0x337fc2['\x52\x6d\x6b\x51\x43'](_0x4a43a0,_0x25b2f7(0xfa))||_0x4a43a0===_0x25b2f7(0x10d)||_0x4a43a0===_0x25b2f7(0x167);}function isPartialFailureCode(_0x285dc3){const _0xccfa0=a0_0x5574df,_0x469b79={'\x70\x73\x43\x76\x52':_0xccfa0(0x107),'\x44\x51\x4a\x53\x6e':'\x46\x4c\x45\x45\x54\x5f\x50\x41\x52\x54\x49\x41\x4c\x5f\x46\x41\x49\x4c\x55\x52\x45','\x66\x59\x61\x6f\x4a':function(_0x3debfd,_0x2f8977){return _0x3debfd===_0x2f8977;}};return _0x285dc3===_0x469b79['\x70\x73\x43\x76\x52']||_0x285dc3===_0x469b79[_0xccfa0(0x14e)]||_0x285dc3===_0xccfa0(0x142)||_0x469b79[_0xccfa0(0x12e)](_0x285dc3,_0xccfa0(0x114));}function asString(_0x4a0e3b){const _0x4611a8=a0_0x5574df,_0x53e474={'\x6a\x79\x55\x6e\x74':_0x4611a8(0xf9)};return typeof _0x4a0e3b===_0x53e474[_0x4611a8(0x153)]&&_0x4a0e3b['\x74\x72\x69\x6d']()[_0x4611a8(0x13d)]>0x0?_0x4a0e3b:void 0x0;}function isFailureDetail(_0x5fa2b3){const _0x11fcdf=a0_0x5574df;return typeof _0x5fa2b3===_0x11fcdf(0x15b)&&_0x5fa2b3!==null&&!Array[_0x11fcdf(0x100)](_0x5fa2b3);}function readCapability(_0x731064,_0x12aaa0){const _0x36770c=a0_0x5574df,_0x5c769b={'\x42\x4e\x73\x78\x55':function(_0x36bae5,_0x53105f){return _0x36bae5===_0x53105f;},'\x63\x57\x67\x69\x4b':'\x6f\x62\x6a\x65\x63\x74','\x42\x6a\x58\x4c\x69':function(_0x49a9ca,_0x127f7d){return _0x49a9ca(_0x127f7d);}},_0x25da39=_0x5c769b[_0x36770c(0x165)](typeof _0x12aaa0,_0x5c769b['\x63\x57\x67\x69\x4b'])&&_0x12aaa0!==null?_0x5c769b[_0x36770c(0x144)](asString,_0x12aaa0[_0x36770c(0x11b)]):void 0x0;return asString(_0x731064[_0x36770c(0x11b)])??_0x25da39;}function readFailures(_0xedde1c,_0xec74a){const _0xae3415=a0_0x5574df;if(Array[_0xae3415(0x100)](_0xedde1c['\x66\x61\x69\x6c\x75\x72\x65\x73']))return _0xedde1c[_0xae3415(0xf7)][_0xae3415(0x143)](isFailureDetail);if(Array[_0xae3415(0x100)](_0xedde1c[_0xae3415(0x10c)])){const _0x3729ff=_0xedde1c[_0xae3415(0x10c)][_0xae3415(0x143)](_0x915bc2=>typeof _0x915bc2===_0xae3415(0x15b)&&_0x915bc2!==null&&_0x915bc2['\x6f\x6b']===![]);if(_0x3729ff[_0xae3415(0x13d)]>0x0)return _0x3729ff[_0xae3415(0x143)](isFailureDetail);}if(typeof _0xec74a===_0xae3415(0x15b)&&_0xec74a!==null&&Array['\x69\x73\x41\x72\x72\x61\x79'](_0xec74a['\x66\x61\x69\x6c\x75\x72\x65\x73']))return _0xec74a[_0xae3415(0xf7)][_0xae3415(0x143)](isFailureDetail);}function parseErrorResponse(_0x519790,_0x17a370,_0x409b37,_0x230f22){const _0x595be8=a0_0x5574df,_0x4e2fd9={'\x53\x65\x6b\x44\x61':'\x6f\x62\x6a\x65\x63\x74','\x72\x62\x67\x61\x6a':function(_0x178ed7,_0x1444cf){return _0x178ed7!==_0x1444cf;},'\x59\x62\x46\x46\x6d':function(_0x37d543,_0x539653){return _0x37d543===_0x539653;},'\x70\x6a\x71\x69\x62':_0x595be8(0xfe),'\x6f\x43\x74\x4c\x41':'\x73\x74\x72\x69\x6e\x67','\x49\x72\x55\x53\x4c':function(_0x1da409,_0x5a1164){return _0x1da409>_0x5a1164;},'\x50\x41\x44\x6c\x74':function(_0x555413,_0x63f51a){return _0x555413!==_0x63f51a;},'\x79\x66\x4b\x68\x42':_0x595be8(0x123),'\x4d\x71\x69\x55\x6d':function(_0xe7be20,_0x3a1648,_0x95430e){return _0xe7be20(_0x3a1648,_0x95430e);},'\x69\x54\x4a\x6c\x44':'\x78\x2d\x74\x61\x6e\x67\x6c\x65\x2d\x72\x65\x71\x75\x65\x73\x74\x2d\x70\x61\x74\x68','\x5a\x7a\x6e\x6e\x66':function(_0x14bcb2,_0xab7c61,_0x604414){return _0x14bcb2(_0xab7c61,_0x604414);},'\x4e\x75\x78\x6f\x6f':_0x595be8(0x161),'\x6e\x45\x66\x51\x50':_0x595be8(0x16c),'\x7a\x49\x77\x79\x69':_0x595be8(0xfb),'\x70\x57\x73\x73\x46':_0x595be8(0x154),'\x6c\x48\x4e\x75\x5a':function(_0x126c2c,_0x37b3ec){return _0x126c2c(_0x37b3ec);},'\x4b\x69\x7a\x6c\x59':function(_0x11984b,_0x31b106,_0x2fced2){return _0x11984b(_0x31b106,_0x2fced2);},'\x6d\x44\x76\x50\x44':_0x595be8(0xf8),'\x53\x45\x74\x71\x65':'\x72\x61\x74\x65\x5f\x6c\x69\x6d\x69\x74','\x74\x51\x65\x78\x77':function(_0xebe5e8,_0x12f15b){return _0xebe5e8||_0x12f15b;},'\x53\x70\x61\x57\x70':_0x595be8(0xf5),'\x4d\x4f\x6a\x55\x57':function(_0x54c301,_0x9f1e7){return _0x54c301>=_0x9f1e7;}};let _0xb783de;try{_0xb783de=JSON[_0x595be8(0x133)](_0x17a370);}catch{_0xb783de={'\x6d\x65\x73\x73\x61\x67\x65':_0x17a370};}const _0x673d40=_0xb783de['\x65\x72\x72\x6f\x72'],_0x4c796d=typeof _0x673d40===_0x4e2fd9[_0x595be8(0x12b)]&&_0x4e2fd9[_0x595be8(0x14c)](_0x673d40,null)?_0x673d40[_0x595be8(0x127)]:void 0x0,_0x506ddc=_0x4e2fd9['\x59\x62\x46\x46\x6d'](typeof _0x673d40,_0x4e2fd9[_0x595be8(0x12b)])&&_0x673d40!==null?_0x673d40[_0x595be8(0x112)]:void 0x0,_0x1b03fd=_0xb783de[_0x595be8(0x127)]||_0x4c796d||(typeof _0x673d40===_0x595be8(0xf9)?_0x673d40:void 0x0)||_0x17a370||_0x4e2fd9[_0x595be8(0x158)],_0x4206e6=_0x4e2fd9[_0x595be8(0x125)](typeof _0xb783de['\x64\x65\x74\x61\x69\x6c\x73'],_0x4e2fd9[_0x595be8(0x173)])&&_0x4e2fd9[_0x595be8(0x135)](_0xb783de[_0x595be8(0x137)][_0x595be8(0x129)]()[_0x595be8(0x13d)],0x0)?_0xb783de[_0x595be8(0x137)]['\x74\x72\x69\x6d']():void 0x0,_0x3b3c17=!!_0x4206e6&&_0x4e2fd9[_0x595be8(0x116)](_0x4206e6,_0x1b03fd)&&(_0x1b03fd===_0x4e2fd9[_0x595be8(0x158)]||/^failed\b/i[_0x595be8(0x15f)](_0x1b03fd)||/^provision failed\b/i[_0x595be8(0x15f)](_0x1b03fd)||/^deprovision failed\b/i[_0x595be8(0x15f)](_0x1b03fd)),_0x3235a1=_0xb783de[_0x595be8(0x112)]||_0x506ddc,_0x3a3ab3=''+(_0x409b37?(_0x409b37[_0x595be8(0x169)]??_0x4e2fd9['\x79\x66\x4b\x68\x42'])+'\x20'+(_0x409b37[_0x595be8(0x104)]??'')+'\x3a\x20':'')+(_0x3b3c17?_0x1b03fd+'\x3a\x20'+_0x4206e6:_0x1b03fd),_0x27e8f5={'\x6f\x72\x69\x67\x69\x6e':_0x4e2fd9['\x4d\x71\x69\x55\x6d'](inferOrigin,_0x230f22,_0x409b37),'\x65\x6e\x64\x70\x6f\x69\x6e\x74':_0x409b37?.[_0x595be8(0x104)]??_0x230f22?.[_0x595be8(0x171)](_0x4e2fd9['\x69\x54\x4a\x6c\x44'])??void 0x0,'\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73':_0x4e2fd9[_0x595be8(0xfd)](parseRetryAfterMs,_0x230f22?.[_0x595be8(0x171)](_0x4e2fd9['\x4e\x75\x78\x6f\x6f'])??void 0x0,_0xb783de),'\x73\x69\x64\x65\x63\x61\x72\x56\x65\x72\x73\x69\x6f\x6e':_0x230f22?.[_0x595be8(0x171)](_0x4e2fd9[_0x595be8(0x139)])??void 0x0,'\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x49\x6d\x61\x67\x65':_0x230f22?.[_0x595be8(0x171)](_0x4e2fd9[_0x595be8(0x131)])??_0x230f22?.[_0x595be8(0x171)](_0x4e2fd9[_0x595be8(0x157)])??void 0x0};if(isQuotaCode(_0x3235a1))return new QuotaError(_0xb783de[_0x595be8(0x11a)]||'\x72\x61\x74\x65\x5f\x6c\x69\x6d\x69\x74',_0x3a3ab3,_0xb783de[_0x595be8(0x150)],_0xb783de[_0x595be8(0x15c)],_0x27e8f5,_0x519790);if(_0x4e2fd9['\x6c\x48\x4e\x75\x5a'](isCapabilityCode,_0x3235a1))return new CapabilityError(_0x3a3ab3,_0x3235a1,_0x519790,_0x27e8f5,readCapability(_0xb783de,_0x673d40));if(isPartialFailureCode(_0x3235a1))return new PartialFailureError(_0x3a3ab3,_0x3235a1,_0x519790,_0x27e8f5,_0x4e2fd9[_0x595be8(0x159)](readFailures,_0xb783de,_0x673d40));switch(_0x519790){case 0x190:return new ValidationError(_0x3a3ab3,_0xb783de[_0x595be8(0x10e)],_0x27e8f5);case 0x191:return new AuthError(_0x3a3ab3,_0x27e8f5);case 0x194:return new NotFoundError(_0xb783de[_0x595be8(0x16b)]||_0x595be8(0x164),_0xb783de[_0x595be8(0x128)]||_0x4e2fd9['\x6d\x44\x76\x50\x44'],_0x27e8f5);case 0x198:return new TimeoutError(_0xb783de['\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73']||0x7530,_0x3a3ab3,_0x27e8f5);case 0x199:return new StateError(_0x3a3ab3,_0xb783de[_0x595be8(0x16f)]||_0x595be8(0xf8),_0xb783de[_0x595be8(0x13b)],_0x27e8f5);case 0x1ad:return new QuotaError(_0xb783de[_0x595be8(0x11a)]||_0x4e2fd9[_0x595be8(0x149)],_0x3a3ab3,_0xb783de[_0x595be8(0x150)],_0xb783de['\x6c\x69\x6d\x69\x74'],_0x27e8f5);case 0x1f5:return new SandboxError(_0x3a3ab3,_0x4e2fd9[_0x595be8(0x103)](_0x3235a1,_0x4e2fd9[_0x595be8(0x16e)]),_0x519790,_0x27e8f5);default:if(_0x4e2fd9[_0x595be8(0x14f)](_0x519790,0x1f4))return new ServerError(_0x3a3ab3,_0x519790,_0x27e8f5);return new SandboxError(_0x3a3ab3,_0x3235a1||_0x595be8(0x109),_0x519790,_0x27e8f5);}}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};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { _ as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { s as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-
|
|
1
|
+
import { $ as DriverInfo, $n as SandboxTraceOptions, $t as ProvisionEvent, A as BatchTask, An as SandboxFleetMachineSpec, Ar as UsageInfo, At as ListMessagesOptions, B as CompletedTurnResult, Bn as SandboxFleetUsage, Br as AgentProfileResourceRef, Bt as PermissionsManager, C as BackendInfo, Cn as SandboxFleetDriverCapability, Cr as TeePublicKey, Ct as GpuType, D as BatchEvent, Dn as SandboxFleetMachine, Dr as UpdateUserOptions, Dt as IntelligenceReportCompareTo, E as BackendType, En as SandboxFleetIntelligenceEnvelope, Er as ToolsConfig, Et as IntelligenceReportBudget, Fn as SandboxFleetToken, Fr as AgentProfileFileMount, Ft as MintScopedTokenOptions, G as CreateSandboxOptions, Gn as SandboxInfo, Gr as defineAgentProfile, Gt as ProcessLogEntry, H as CreateSandboxFleetOptions, Hn as SandboxFleetWorkspaceReconcileResult, Hr as AgentProfileValidationIssue, Ht as PreviewLinkManager, In as SandboxFleetTraceBundle, Ir as AgentProfileMcpServer, It as MkdirOptions, J as DispatchPromptOptions, Jn as SandboxResources, Jr as mergeAgentProfiles, Jt as ProcessSpawnOptions, K as DeleteOptions, Kn as SandboxIntelligenceEnvelope, Kr as defineGitHubResource, Kt as ProcessManager, Ln as SandboxFleetTraceEvent, Lr as AgentProfileModelHints, Lt as NetworkConfig, M as CheckpointInfo, Mn as SandboxFleetManifestMachine, Mr as AgentProfile, Mt as ListSandboxFleetOptions, N as CheckpointOptions, Nn as SandboxFleetOperationsSummary, Nr as AgentProfileCapabilities, Nt as ListSandboxOptions, O as BatchOptions, On as SandboxFleetMachineMeteredUsage, Or as UploadOptions, Ot as IntelligenceReportSubjectType, P as CheckpointResult, Pn as SandboxFleetPolicy, Pr as AgentProfileConfidential, Pt as McpServerConfig, Q as DriverConfig, Qn as SandboxTraceExport, Qt as PromptResult, R as CodeResult, Rn as SandboxFleetTraceExport, Rr as AgentProfilePermissionValue, Rt as NetworkManager, S as BackendConfig, Sn as SandboxFleetDispatchResponse, Sr as TeeAttestationResponse, St as GitStatus, T as BackendStatus, Tn as SandboxFleetInfo, Tr as TokenRefreshHandler, Tt as IntelligenceReport, Un as SandboxFleetWorkspaceRestoreResult, Ur as AgentProfileValidationResult, Ut as Process, V as CreateIntelligenceReportOptions, Vn as SandboxFleetWorkspace, Vr as AgentProfileResources, Vt as PreviewLinkInfo, W as CreateSandboxFleetWithCoordinatorOptions, Wn as SandboxFleetWorkspaceSnapshotResult, Wr as AgentSubagentProfile, Wt as ProcessInfo, X as DownloadOptions, Xn as SandboxTraceBundle, Y as DispatchedSession, Yn as SandboxStatus, Yt as ProcessStatus, Z as DownloadProgress, Zn as SandboxTraceEvent, Zt as PromptOptions, _ as AcceleratorKind, _n as SandboxEvent, _r as SubscriptionInfo, _t as GitAuth, a as TraceExportSink, an as PublishPublicTemplateOptions, ar as SecretInfo, at as FileSystem, b as AttachSandboxFleetMachineOptions, bn as SandboxFleetCostEstimate, br as TeeAttestationOptions, bt as GitConfig, c as otelTraceIdForTangleTrace, cn as ReapExpiredSandboxFleetsResult, cr as SessionInfo, ct as FleetDispatchResultBufferOptions, d as BuildSandboxMcpConfigOptions, dn as RunCodeOptions, dr as SessionStatus, en as ProvisionResult, er as SandboxUser, et as DriverType, f as SANDBOX_MCP_SERVER_NAME, fn as SSHCommandDescriptor, fr as SnapshotInfo, ft as FleetMachineId, g as buildSandboxMcpConfig, gn as SandboxEnvironment, gr as StorageConfig, gt as ForkResult, h as SandboxMcpServerEntry, hn as SandboxConnection, ht as ForkOptions, i as TraceExportResult, in as PublicTemplateVersionInfo, ir as SearchOptions, it as FileInfo, j as BatchTaskResult, jn as SandboxFleetManifest, jr as WaitForOptions, jt as ListOptions, k as BatchResult, kn as SandboxFleetMachineRecord, kr as UploadProgress, kt as IntelligenceReportWindow, l as toOtelJson, ln as ReconcileSandboxFleetsOptions, lr as SessionListOptions, lt as FleetDispatchStreamOptions, m as SandboxMcpEndpoint, mn as SandboxClientConfig, mr as SnapshotResult, n as SandboxInstance, nn as ProvisionStep, nr as ScopedTokenScope, nt as ExecOptions, o as buildTraceExportPayload, on as PublishPublicTemplateVersionOptions, or as SecretsManager, ot as FleetDispatchCancelResult, p as SandboxMcpConfig, pn as SSHCredentials, pr as SnapshotOptions, pt as FleetPromptDispatchOptions, q as DirectoryPermission, qn as SandboxPermissionsConfig, qr as defineInlineResource, qt as ProcessSignal, r as TraceExportFormat, rn as PublicTemplateInfo, rr as SearchMatch, rt as ExecResult, s as exportTraceBundle, sn as ReapExpiredSandboxFleetsOptions, sr as SessionEventStreamOptions, st as FleetDispatchResultBuffer, tn as ProvisionStatus, tr as ScopedToken, tt as EventStreamOptions, u as SandboxSession, un as ReconcileSandboxFleetsResult, ur as SessionMessage, ut as FleetExecDispatchOptions, v as AccessPolicyRule, vn as SandboxFleetArtifact, vr as TaskOptions, vt as GitBranch, w as BackendManager, wn as SandboxFleetDriverTimings, wr as TeePublicKeyResponse, wt as InstalledTool, x as BackendCapabilities, xn as SandboxFleetDispatchFailureClass, xr as TeeAttestationReport, xt as GitDiff, y as AddUserOptions, yn as SandboxFleetArtifactSpec, yr as TaskResult, yt as GitCommit, zn as SandboxFleetTraceOptions, zr as AgentProfilePrompt, zt as PermissionLevel } from "./sandbox-CBmfYqMQ.js";
|
|
2
|
+
import { A as SandboxFleetClient, C as IntegrationVerificationKind, D as TriggerRun, E as TriggerInfo, M as ParsedSSEEvent, N as parseSSEStream, O as TriggerWithSecret, S as IntegrationScope, T as RecipeManifest, _ as IntegrationAction, a as Team, b as IntegrationPrincipalType, c as AutomationInfo, d as CreateEndpointInput, f as CreateTriggerInput, g as InstallRecipeInput, h as EndpointWithSecret, i as SandboxClient, j as ParseSSEStreamOptions, k as SandboxFleet, l as ConnectionInfo, m as EndpointInfo, n as IntelligenceClient, o as TeamInvitation, p as DeliveryAttempt, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as CreateAutomationInput, v as IntegrationActionKind, w as IntegrationsManager, x as IntegrationProvider, y as IntegrationDeliveryStatus } from "./client-DM2pIli7.js";
|
|
3
|
+
import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-D-2pH_70.js";
|
|
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
|
+
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-CTj81tF9.js";
|
|
7
7
|
|
|
8
8
|
//#region src/attestation-heartbeat.d.ts
|
|
9
9
|
interface TeeAttestationHeartbeatSample {
|
|
@@ -552,4 +552,253 @@ declare const MANAGE_SANDBOXES_PARAMETERS: {
|
|
|
552
552
|
};
|
|
553
553
|
};
|
|
554
554
|
//#endregion
|
|
555
|
-
|
|
555
|
+
//#region src/router-search.d.ts
|
|
556
|
+
type TangleSearchProvider = "you" | "brave" | "exa" | "parallel" | "tavily" | "perplexity";
|
|
557
|
+
interface RouterSearchConfigOptions {
|
|
558
|
+
routerUrl?: string;
|
|
559
|
+
provider?: TangleSearchProvider;
|
|
560
|
+
apiKeyEnv?: string;
|
|
561
|
+
model?: string;
|
|
562
|
+
fetchImpl?: typeof fetch;
|
|
563
|
+
}
|
|
564
|
+
interface RouterSearchConfig {
|
|
565
|
+
object: "search.config";
|
|
566
|
+
default_provider: TangleSearchProvider;
|
|
567
|
+
env?: Record<string, string>;
|
|
568
|
+
endpoint: {
|
|
569
|
+
url: string;
|
|
570
|
+
};
|
|
571
|
+
mcp: {
|
|
572
|
+
streamable_http_url: string;
|
|
573
|
+
headers?: Record<string, string>;
|
|
574
|
+
};
|
|
575
|
+
tcloud: {
|
|
576
|
+
sandboxBackend: {
|
|
577
|
+
model: {
|
|
578
|
+
provider: string;
|
|
579
|
+
baseUrl: string;
|
|
580
|
+
apiKeyEnv: string;
|
|
581
|
+
model: string;
|
|
582
|
+
providerOptions?: Record<string, unknown>;
|
|
583
|
+
};
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
harness_env?: Record<string, string>;
|
|
587
|
+
openrouter_compat?: {
|
|
588
|
+
chat_completions?: {
|
|
589
|
+
url: string;
|
|
590
|
+
body: Record<string, unknown>;
|
|
591
|
+
};
|
|
592
|
+
responses?: {
|
|
593
|
+
url: string;
|
|
594
|
+
body: Record<string, unknown>;
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
eval_matrix: {
|
|
598
|
+
url: string;
|
|
599
|
+
body_template: Record<string, unknown>;
|
|
600
|
+
};
|
|
601
|
+
}
|
|
602
|
+
declare function fetchTangleRouterSearchConfig(options?: RouterSearchConfigOptions): Promise<RouterSearchConfig>;
|
|
603
|
+
declare function buildTangleRouterSearchProfile(config: RouterSearchConfig, options?: {
|
|
604
|
+
name?: string;
|
|
605
|
+
model?: string;
|
|
606
|
+
}): AgentProfile;
|
|
607
|
+
declare function buildTangleRouterSearchBackend(config: RouterSearchConfig, options?: {
|
|
608
|
+
type?: BackendConfig["type"];
|
|
609
|
+
apiKey?: string;
|
|
610
|
+
profile?: AgentProfile;
|
|
611
|
+
}): BackendConfig;
|
|
612
|
+
declare function buildTangleRouterEvalMatrixRequest(config: RouterSearchConfig, overrides?: Record<string, unknown>): {
|
|
613
|
+
url: string;
|
|
614
|
+
body: Record<string, unknown>;
|
|
615
|
+
};
|
|
616
|
+
declare function buildTangleRouterResponsesWebSearchRequest(config: RouterSearchConfig, overrides?: Record<string, unknown>): {
|
|
617
|
+
url: string;
|
|
618
|
+
body: Record<string, unknown>;
|
|
619
|
+
};
|
|
620
|
+
//#endregion
|
|
621
|
+
//#region src/router-eval-matrix-runner.d.ts
|
|
622
|
+
interface RouterEvalMatrixScenario {
|
|
623
|
+
id: string;
|
|
624
|
+
prompt: string;
|
|
625
|
+
profile?: string;
|
|
626
|
+
harness?: string;
|
|
627
|
+
benchmark?: {
|
|
628
|
+
profileId?: string;
|
|
629
|
+
harnessId?: string;
|
|
630
|
+
transport?: string;
|
|
631
|
+
searchProvider?: string;
|
|
632
|
+
artifacts?: Record<string, string>;
|
|
633
|
+
};
|
|
634
|
+
sandbox?: {
|
|
635
|
+
image?: string;
|
|
636
|
+
testCommand?: string;
|
|
637
|
+
};
|
|
638
|
+
}
|
|
639
|
+
interface RouterEvalMatrixAgentProfile {
|
|
640
|
+
id: string;
|
|
641
|
+
name?: string;
|
|
642
|
+
model: string;
|
|
643
|
+
providerOptions?: {
|
|
644
|
+
gateway?: {
|
|
645
|
+
webSearch?: boolean | {
|
|
646
|
+
provider?: string;
|
|
647
|
+
};
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
}
|
|
651
|
+
interface RouterEvalMatrixHarness {
|
|
652
|
+
id: string;
|
|
653
|
+
image: string;
|
|
654
|
+
transport?: string;
|
|
655
|
+
testCommand?: string;
|
|
656
|
+
envVars?: Record<string, string>;
|
|
657
|
+
gitRepo?: string;
|
|
658
|
+
gitBranch?: string;
|
|
659
|
+
timeout?: number;
|
|
660
|
+
}
|
|
661
|
+
interface RouterEvalMatrixPayload {
|
|
662
|
+
models: string[];
|
|
663
|
+
scenarios: RouterEvalMatrixScenario[];
|
|
664
|
+
agentProfiles: RouterEvalMatrixAgentProfile[];
|
|
665
|
+
harnesses: RouterEvalMatrixHarness[];
|
|
666
|
+
iterations?: number;
|
|
667
|
+
}
|
|
668
|
+
interface RouterEvalMatrixSuiteResponse {
|
|
669
|
+
suite: {
|
|
670
|
+
id: string;
|
|
671
|
+
[key: string]: unknown;
|
|
672
|
+
};
|
|
673
|
+
matrix: RouterEvalMatrixPayload;
|
|
674
|
+
}
|
|
675
|
+
interface RouterImportedRunResponse {
|
|
676
|
+
run: {
|
|
677
|
+
id: string;
|
|
678
|
+
status: string;
|
|
679
|
+
[key: string]: unknown;
|
|
680
|
+
};
|
|
681
|
+
results: unknown[];
|
|
682
|
+
benchmark?: RouterEvalMatrixBenchmarkCell[];
|
|
683
|
+
regression: unknown;
|
|
684
|
+
}
|
|
685
|
+
interface RouterEvalMatrixBenchmarkCell {
|
|
686
|
+
model: string;
|
|
687
|
+
profile_id?: string;
|
|
688
|
+
harness_id?: string;
|
|
689
|
+
transport: string;
|
|
690
|
+
search_provider: string;
|
|
691
|
+
cases: number;
|
|
692
|
+
passed: number;
|
|
693
|
+
pass_rate: number;
|
|
694
|
+
avg_latency_ms: number;
|
|
695
|
+
p95_latency_ms: number;
|
|
696
|
+
total_cost: number;
|
|
697
|
+
input_tokens: number;
|
|
698
|
+
output_tokens: number;
|
|
699
|
+
reasoning_tokens: number;
|
|
700
|
+
total_tokens: number;
|
|
701
|
+
output_tokens_per_second: number;
|
|
702
|
+
total_tokens_per_second: number;
|
|
703
|
+
search_requests: number;
|
|
704
|
+
cached_tokens: number;
|
|
705
|
+
avg_cached_tokens: number;
|
|
706
|
+
avg_citations: number;
|
|
707
|
+
tool_calls: number;
|
|
708
|
+
successful_tool_calls: number;
|
|
709
|
+
tool_success_rate: number | null;
|
|
710
|
+
assertions: number;
|
|
711
|
+
assertion_pass_rate: number | null;
|
|
712
|
+
sandbox_tests: number;
|
|
713
|
+
sandbox_tests_passed: number;
|
|
714
|
+
sandbox_test_pass_rate: number | null;
|
|
715
|
+
errors: number;
|
|
716
|
+
}
|
|
717
|
+
interface RouterEvalMatrixSandboxClient {
|
|
718
|
+
create(options?: CreateSandboxOptions): Promise<RouterEvalMatrixSandboxBox>;
|
|
719
|
+
}
|
|
720
|
+
interface RouterEvalMatrixSandboxBox {
|
|
721
|
+
id: string;
|
|
722
|
+
dispatchPrompt(message: string, options: {
|
|
723
|
+
sessionId: string;
|
|
724
|
+
}): Promise<{
|
|
725
|
+
sessionId: string;
|
|
726
|
+
alreadyExisted?: boolean;
|
|
727
|
+
}>;
|
|
728
|
+
session(id: string): {
|
|
729
|
+
result(): Promise<PromptResult>;
|
|
730
|
+
};
|
|
731
|
+
exec?(command: string, options?: {
|
|
732
|
+
sessionId?: string;
|
|
733
|
+
timeoutMs?: number;
|
|
734
|
+
}): Promise<{
|
|
735
|
+
exitCode: number;
|
|
736
|
+
stdout: string;
|
|
737
|
+
stderr: string;
|
|
738
|
+
}>;
|
|
739
|
+
delete?(): Promise<void>;
|
|
740
|
+
destroy?(): Promise<void>;
|
|
741
|
+
}
|
|
742
|
+
interface RunTangleRouterEvalMatrixInSandboxOptions {
|
|
743
|
+
config: RouterSearchConfig;
|
|
744
|
+
apiKey: string;
|
|
745
|
+
sandboxClient: RouterEvalMatrixSandboxClient;
|
|
746
|
+
inputOverrides?: Record<string, unknown>;
|
|
747
|
+
baseline?: boolean;
|
|
748
|
+
concurrency?: number;
|
|
749
|
+
fetchImpl?: typeof fetch;
|
|
750
|
+
sessionIdPrefix?: string;
|
|
751
|
+
}
|
|
752
|
+
interface RunTangleRouterEvalMatrixInSandboxResult {
|
|
753
|
+
suite: RouterEvalMatrixSuiteResponse["suite"];
|
|
754
|
+
matrix: RouterEvalMatrixPayload;
|
|
755
|
+
cases: RouterEvalMatrixCaseResult[];
|
|
756
|
+
benchmark: RouterEvalMatrixBenchmarkCell[];
|
|
757
|
+
importResult: RouterImportedRunResponse;
|
|
758
|
+
}
|
|
759
|
+
interface RouterEvalMatrixCaseResult {
|
|
760
|
+
scenarioId: string;
|
|
761
|
+
prompt: string;
|
|
762
|
+
model: string;
|
|
763
|
+
response: string;
|
|
764
|
+
timing: {
|
|
765
|
+
totalMs: number;
|
|
766
|
+
};
|
|
767
|
+
tokens: {
|
|
768
|
+
input: number;
|
|
769
|
+
output: number;
|
|
770
|
+
cached: number;
|
|
771
|
+
reasoning: number;
|
|
772
|
+
};
|
|
773
|
+
cost: number;
|
|
774
|
+
judgeCost: number;
|
|
775
|
+
score: number;
|
|
776
|
+
judgeReasoning: string;
|
|
777
|
+
passed: boolean;
|
|
778
|
+
toolCalls: unknown[];
|
|
779
|
+
assertions: Array<{
|
|
780
|
+
check: string;
|
|
781
|
+
passed: boolean;
|
|
782
|
+
}>;
|
|
783
|
+
generationId?: string;
|
|
784
|
+
benchmark: {
|
|
785
|
+
profileId?: string;
|
|
786
|
+
harnessId?: string;
|
|
787
|
+
transport: string;
|
|
788
|
+
searchProvider: string;
|
|
789
|
+
searchRequests: number;
|
|
790
|
+
citationCount: number;
|
|
791
|
+
artifacts: Record<string, string>;
|
|
792
|
+
};
|
|
793
|
+
iteration: number;
|
|
794
|
+
error?: string;
|
|
795
|
+
sandboxResult?: {
|
|
796
|
+
exitCode: number;
|
|
797
|
+
stdout: string;
|
|
798
|
+
stderr: string;
|
|
799
|
+
testsPassed: boolean;
|
|
800
|
+
};
|
|
801
|
+
}
|
|
802
|
+
declare function runTangleRouterEvalMatrixInSandbox(options: RunTangleRouterEvalMatrixInSandboxOptions): Promise<RunTangleRouterEvalMatrixInSandboxResult>;
|
|
803
|
+
//#endregion
|
|
804
|
+
export { type AcceleratorKind, type AccessPolicyRule, type AddUserOptions, type AgentProfile, type AgentProfileCapabilities, 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 AutomationInfo, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendStatus, type BackendType, type BatchEvent, type BatchOptions, type BatchResult, type BatchTask, type BatchTaskResult, type BuildProgressEvent, type BuildSandboxMcpConfigOptions, 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 ConnectionInfo, type CreateAutomationInput, type CreateConfidentialSandboxOptions, type CreateEndpointInput, type CreateIntelligenceReportOptions, type CreateSandboxFleetOptions, type CreateSandboxFleetWithCoordinatorOptions, type CreateSandboxOptions, type CreateTeamOptions, type CreateTriggerInput, type DeleteOptions, type DeliveryAttempt, type DirectoryPermission, type DispatchPromptOptions, type DispatchedSession, type DownloadOptions, type DownloadProgress, type DriverConfig, type DriverInfo, type DriverType, type EndpointInfo, type EndpointWithSecret, 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, Image, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstallRecipeInput, type InstalledTool, type IntegrationAction, type IntegrationActionKind, type IntegrationDeliveryStatus, type IntegrationPrincipalType, type IntegrationProvider, type IntegrationScope, type IntegrationVerificationKind, IntegrationsManager, type RecipeManifest as IntegrationsRecipeManifest, IntelligenceClient, type IntelligenceReport, type IntelligenceReportBudget, type IntelligenceReportCompareTo, type IntelligenceReportSubjectType, type IntelligenceReportWindow, 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, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, PartialFailureError, type PermissionLevel, 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 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, 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 TriggerInfo, type TriggerRun, type TriggerWithSecret, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, buildCollaborationDocumentId, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, createConfidentialSandbox, createManageSandboxesTool, defineAgentProfile, defineGitHubResource, defineInlineResource, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, mergeAgentProfiles, normalizeCollaborationPath, otelTraceIdForTangleTrace, parseCollaborationDocumentId, parseSSEStream, runTangleRouterEvalMatrixInSandbox, startTeeAttestationHeartbeat, toOtelJson };
|