@tangle-network/sandbox 0.0.0-develop.20260519064810.a430225 → 0.0.0-develop.20260519150359.5f709e0

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.
@@ -1 +1 @@
1
- const a0_0x1bfea2=a0_0x168a;(function(_0xab4435,_0x205ddf){const _0x109351=a0_0x168a,_0x544c9d=_0xab4435();while(!![]){try{const _0x55eaa3=parseInt(_0x109351(0x1da))/0x1+-parseInt(_0x109351(0x1f3))/0x2*(-parseInt(_0x109351(0x1d5))/0x3)+-parseInt(_0x109351(0x1e2))/0x4+-parseInt(_0x109351(0x1e3))/0x5*(parseInt(_0x109351(0x1c6))/0x6)+-parseInt(_0x109351(0x1c7))/0x7+-parseInt(_0x109351(0x1f5))/0x8+-parseInt(_0x109351(0x1d3))/0x9*(-parseInt(_0x109351(0x1e9))/0xa);if(_0x55eaa3===_0x205ddf)break;else _0x544c9d['push'](_0x544c9d['shift']());}catch(_0x3210e0){_0x544c9d['push'](_0x544c9d['shift']());}}}(a0_0x5972,0x79d69));import{createHmac,timingSafeEqual}from'\x6e\x6f\x64\x65\x3a\x63\x72\x79\x70\x74\x6f';function base64UrlEncode(_0x28b6cc){const _0x35973e=a0_0x168a,_0x58fa08={'\x5a\x69\x62\x7a\x51':function(_0x436085,_0x51046d){return _0x436085===_0x51046d;},'\x59\x73\x75\x78\x6e':_0x35973e(0x1d9)};return(_0x58fa08[_0x35973e(0x1df)](typeof _0x28b6cc,'\x73\x74\x72\x69\x6e\x67')?Buffer['\x66\x72\x6f\x6d'](_0x28b6cc):_0x28b6cc)[_0x35973e(0x1e5)](_0x58fa08[_0x35973e(0x1ef)])[_0x35973e(0x1f6)](/\+/g,'\x2d')[_0x35973e(0x1f6)](/\//g,'\x5f')['\x72\x65\x70\x6c\x61\x63\x65'](/=+$/,'');}function decodeBase64UrlToBuffer(_0x5a4550){const _0x57585f=a0_0x168a,_0x12ffc3={'\x66\x45\x63\x55\x6c':function(_0x15b62e,_0x447e92){return _0x15b62e+_0x447e92;},'\x4d\x70\x7a\x49\x6c':function(_0x222f67,_0x214861){return _0x222f67%_0x214861;}};if(!/^[A-Za-z0-9_-]*$/[_0x57585f(0x1d1)](_0x5a4550))return null;const _0x1d5738=_0x12ffc3[_0x57585f(0x1dc)](_0x5a4550,'\x3d'[_0x57585f(0x1c5)]((0x4-_0x12ffc3[_0x57585f(0x1e4)](_0x5a4550[_0x57585f(0x1de)],0x4))%0x4));return Buffer[_0x57585f(0x1c3)](_0x1d5738['\x72\x65\x70\x6c\x61\x63\x65'](/-/g,'\x2b')['\x72\x65\x70\x6c\x61\x63\x65'](/_/g,'\x2f'),_0x57585f(0x1d9));}function createSignature(_0x5ed3be,_0x466fc4){const _0x2bbf18=a0_0x168a,_0x46a685={'\x43\x47\x45\x64\x79':function(_0x12aba6,_0x3398b1){return _0x12aba6(_0x3398b1);},'\x6c\x57\x61\x7a\x72':function(_0x422be4,_0x10b934,_0x2acceb){return _0x422be4(_0x10b934,_0x2acceb);},'\x69\x42\x65\x4f\x49':'\x73\x68\x61\x32\x35\x36'};return _0x46a685[_0x2bbf18(0x1d0)](base64UrlEncode,_0x46a685[_0x2bbf18(0x1d2)](createHmac,_0x46a685['\x69\x42\x65\x4f\x49'],_0x466fc4)[_0x2bbf18(0x1ea)](_0x5ed3be)['\x64\x69\x67\x65\x73\x74']());}const JWT_HEADER=base64UrlEncode(JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79']({'\x61\x6c\x67':a0_0x1bfea2(0x1d8),'\x74\x79\x70':'\x4a\x57\x54'}));function issueToken(_0x1587aa,_0x91ca84,_0x5c87db){const _0x429b08=a0_0x1bfea2,_0x419ceb={'\x4f\x44\x67\x74\x4a':function(_0x315fd6,_0x479898){return _0x315fd6*_0x479898;},'\x62\x54\x7a\x51\x75':function(_0x1981e5,_0x47127b){return _0x1981e5(_0x47127b);}},_0x486bc8=Math[_0x429b08(0x1cb)](Date[_0x429b08(0x1c2)]()/0x3e8),_0x53b3e5={..._0x91ca84,'\x69\x61\x74':_0x486bc8,'\x65\x78\x70':_0x486bc8+_0x419ceb[_0x429b08(0x1e0)](_0x5c87db,0x3c)},_0x3f420f=JWT_HEADER+'\x2e'+_0x419ceb[_0x429b08(0x1f2)](base64UrlEncode,JSON[_0x429b08(0x1eb)](_0x53b3e5));return _0x3f420f+'\x2e'+createSignature(_0x3f420f,_0x1587aa);}function issueReadToken(_0x3bb9b5,_0x108f4e,_0x293e8c){const _0x52d07f=a0_0x1bfea2;return issueToken(_0x3bb9b5,{..._0x108f4e,'\x74\x79\x70':_0x52d07f(0x1bf)},_0x293e8c);}function a0_0x5972(){const _0x4950c5=['\x77\x75\x76\x51\x74\x76\x6d','\x79\x32\x58\x56\x79\x32\x54\x74\x41\x32\x76\x33\x75\x32\x76\x4a\x42\x32\x35\x4b\x43\x57','\x72\x30\x39\x7a\x42\x30\x57','\x45\x65\x72\x5a\x72\x4e\x6d','\x71\x30\x44\x66\x7a\x68\x4b','\x44\x67\x76\x5a\x44\x61','\x42\x66\x44\x48\x45\x4e\x69','\x6d\x74\x43\x35\x6e\x74\x43\x35\x6e\x33\x72\x56\x71\x32\x48\x69\x41\x47','\x42\x4b\x72\x63\x77\x66\x65','\x6d\x5a\x4c\x48\x43\x75\x4c\x53\x79\x77\x30','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x4c\x4b','\x41\x78\x6e\x5a\x44\x77\x75','\x73\x66\x6d\x59\x6e\x74\x79','\x79\x4d\x66\x5a\x7a\x74\x79\x30','\x6e\x64\x4b\x57\x6d\x64\x79\x58\x77\x68\x72\x73\x74\x32\x6a\x4f','\x7a\x78\x48\x57','\x7a\x4b\x76\x4a\x76\x77\x57','\x43\x67\x66\x59\x43\x32\x75','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x77\x4d\x4c\x49\x45\x4c\x65','\x74\x30\x72\x4e\x44\x65\x4f','\x44\x78\x6e\x4c\x43\x4b\x4c\x4b','\x6d\x4a\x61\x57\x6e\x5a\x75\x35\x6e\x4e\x44\x6c\x72\x31\x48\x67\x41\x47','\x6d\x74\x61\x57\x6d\x4a\x71\x31\x76\x75\x72\x31\x74\x4e\x50\x56','\x74\x78\x62\x36\x73\x77\x57','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x44\x68\x72\x53\x74\x77\x4c\x55\x44\x78\x72\x4c\x43\x57','\x43\x68\x6a\x56\x41\x4d\x76\x4a\x44\x65\x4c\x4b','\x43\x32\x76\x5a\x43\x32\x4c\x56\x42\x4b\x4c\x4b','\x6f\x64\x62\x5a\x75\x4c\x6a\x36\x41\x65\x79','\x44\x78\x62\x4b\x79\x78\x72\x4c','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x7a\x77\x72\x56\x72\x75\x79','\x44\x67\x58\x52\x44\x75\x79','\x43\x75\x31\x49\x72\x78\x79','\x77\x78\x6e\x31\x45\x67\x34','\x75\x78\x62\x30\x41\x4d\x47','\x43\x4b\x72\x31\x7a\x68\x43','\x79\x4c\x72\x36\x75\x78\x75','\x6d\x74\x65\x58\x6d\x5a\x72\x36\x43\x78\x72\x6b\x79\x4e\x69','\x7a\x4e\x6a\x4c\x7a\x71','\x6d\x4a\x71\x30\x6f\x74\x61\x35\x6e\x4d\x44\x6b\x71\x4c\x7a\x73\x43\x47','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x43\x68\x6a\x56\x7a\x68\x76\x4a\x44\x65\x4c\x4b','\x43\x32\x4c\x4e\x42\x4d\x4c\x55\x7a\x31\x6e\x4c\x79\x33\x6a\x4c\x44\x61','\x43\x4d\x76\x48\x7a\x61','\x79\x77\x6e\x4a\x7a\x78\x6e\x5a','\x75\x30\x58\x76\x72\x4e\x6d','\x42\x4d\x39\x33','\x7a\x4e\x6a\x56\x42\x71','\x7a\x67\x39\x4a\x44\x77\x31\x4c\x42\x4e\x72\x6a\x7a\x61','\x43\x4d\x76\x57\x7a\x77\x66\x30','\x6d\x74\x75\x57\x74\x32\x44\x4d\x45\x77\x58\x4d','\x6d\x4a\x71\x31\x6d\x4a\x43\x57\x6d\x4b\x66\x4e\x74\x4d\x58\x79\x44\x61','\x7a\x4e\x44\x65\x71\x32\x71','\x43\x33\x62\x53\x41\x78\x71','\x44\x67\x4c\x4c\x43\x47','\x7a\x4d\x58\x56\x42\x33\x69'];a0_0x5972=function(){return _0x4950c5;};return a0_0x5972();}function issueSessionScopedToken(_0x533d60,_0x177bb5,_0x11ef4e){return issueReadToken(_0x533d60,_0x177bb5,_0x11ef4e);}function issueProjectScopedToken(_0x3b76f4,_0x279493,_0x2dc25e){const _0x1cc7a4={'\x51\x7a\x50\x73\x73':function(_0x1f63a9,_0x3a4dcf,_0x4c8a8f,_0x5263bc){return _0x1f63a9(_0x3a4dcf,_0x4c8a8f,_0x5263bc);}};return _0x1cc7a4['\x51\x7a\x50\x73\x73'](issueReadToken,_0x3b76f4,_0x279493,_0x2dc25e);}function issueBatchScopedToken(_0x3291c7,_0x3b66c8,_0x3aa462){const _0x209a2c=a0_0x1bfea2,_0x20c4d7={'\x59\x45\x6a\x4d\x53':function(_0x2b363b,_0x502f0c,_0x79bd49,_0x8fa3c3){return _0x2b363b(_0x502f0c,_0x79bd49,_0x8fa3c3);}};return _0x20c4d7[_0x209a2c(0x1cc)](issueReadToken,_0x3291c7,_0x3b66c8,_0x3aa462);}function issueCollaborationToken(_0x3ab3ea,_0x38a42f,_0x2e203c){const _0x104300=a0_0x1bfea2;return issueToken(_0x3ab3ea,{'\x73\x75\x62':_0x38a42f[_0x104300(0x1e1)],'\x73\x69\x64':_0x38a42f[_0x104300(0x1e8)],'\x70\x69\x64':_0x38a42f['\x70\x72\x6f\x64\x75\x63\x74\x49\x64'],'\x63\x69\x64':_0x38a42f['\x73\x61\x6e\x64\x62\x6f\x78\x49\x64'],'\x74\x79\x70':'\x63\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e','\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x38a42f[_0x104300(0x1e7)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x38a42f['\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64'],'\x61\x63\x63\x65\x73\x73':_0x38a42f[_0x104300(0x1c0)]},_0x2e203c);}function unsafeDecodeToken(_0x5b6c41){const _0x1291cb=a0_0x1bfea2,_0x2885b4={'\x74\x6c\x6b\x75\x46':function(_0x23db03,_0xe8939d){return _0x23db03+_0xe8939d;},'\x71\x4d\x62\x45\x76':function(_0x55b533,_0x7f9f8){return _0x55b533-_0x7f9f8;}};try{const _0x1bf71c=_0x5b6c41[_0x1291cb(0x1c9)]('\x2e');if(_0x1bf71c[_0x1291cb(0x1de)]!==0x3)return null;const _0x326c07=_0x2885b4[_0x1291cb(0x1ed)](_0x1bf71c[0x1],'\x3d'[_0x1291cb(0x1c5)](_0x2885b4[_0x1291cb(0x1ee)](0x4,_0x1bf71c[0x1][_0x1291cb(0x1de)]%0x4)%0x4)),_0x2ca638=Buffer[_0x1291cb(0x1c3)](_0x326c07[_0x1291cb(0x1f6)](/-/g,'\x2b')[_0x1291cb(0x1f6)](/_/g,'\x2f'),'\x62\x61\x73\x65\x36\x34')[_0x1291cb(0x1e5)]();return JSON[_0x1291cb(0x1dd)](_0x2ca638);}catch{return null;}}function verifyToken(_0x4c6ae1,_0xbce42b,_0x52842b={}){const _0x1dd8ab=a0_0x1bfea2,_0x64e3bd={'\x78\x44\x73\x46\x73':function(_0x392966,_0x540349){return _0x392966+_0x540349;},'\x66\x77\x44\x43\x64':function(_0x220632,_0x5bd469){return _0x220632%_0x5bd469;},'\x47\x4f\x59\x6f\x4c':function(_0x3e1bba,_0x147670){return _0x3e1bba-_0x147670;},'\x6e\x44\x42\x58\x51':function(_0xa7b5b8,_0x3940a0){return _0xa7b5b8%_0x3940a0;},'\x53\x4c\x55\x46\x73':function(_0x39d689,_0x4f6c87){return _0x39d689!==_0x4f6c87;},'\x72\x6a\x57\x6e\x79':_0x1dd8ab(0x1d8),'\x72\x44\x75\x64\x77':function(_0x282ef0,_0x4c2839){return _0x282ef0(_0x4c2839);}};try{const _0x4a3205=_0x4c6ae1[_0x1dd8ab(0x1c9)]('\x2e');if(_0x4a3205[_0x1dd8ab(0x1de)]!==0x3)return null;const [_0x179060,_0x5c5157,_0x471455]=_0x4a3205;if(!_0x179060||!_0x5c5157||!_0x471455)return null;let _0x49b6d4;try{const _0x32e211=_0x64e3bd[_0x1dd8ab(0x1cf)](_0x179060,'\x3d'['\x72\x65\x70\x65\x61\x74'](_0x64e3bd[_0x1dd8ab(0x1c8)](_0x64e3bd[_0x1dd8ab(0x1ce)](0x4,_0x64e3bd[_0x1dd8ab(0x1d4)](_0x179060[_0x1dd8ab(0x1de)],0x4)),0x4))),_0x2321a9=Buffer[_0x1dd8ab(0x1c3)](_0x32e211['\x72\x65\x70\x6c\x61\x63\x65'](/-/g,'\x2b')[_0x1dd8ab(0x1f6)](/_/g,'\x2f'),'\x62\x61\x73\x65\x36\x34')[_0x1dd8ab(0x1e5)]();_0x49b6d4=JSON[_0x1dd8ab(0x1dd)](_0x2321a9);}catch{return null;}if(_0x64e3bd[_0x1dd8ab(0x1c1)](_0x49b6d4['\x61\x6c\x67'],_0x64e3bd['\x72\x6a\x57\x6e\x79']))return null;const _0x469ece=createSignature(_0x179060+'\x2e'+_0x5c5157,_0xbce42b),_0xe38ec9=decodeBase64UrlToBuffer(_0x471455),_0x281d31=decodeBase64UrlToBuffer(_0x469ece);if(!_0xe38ec9||!_0x281d31)return null;if(_0xe38ec9[_0x1dd8ab(0x1de)]!==_0x281d31[_0x1dd8ab(0x1de)])return null;if(!timingSafeEqual(_0xe38ec9,_0x281d31))return null;const _0x3568d3=_0x64e3bd[_0x1dd8ab(0x1f1)](unsafeDecodeToken,_0x4c6ae1);if(!_0x3568d3)return null;const _0x1e57d4=Math[_0x1dd8ab(0x1cb)](Date[_0x1dd8ab(0x1c2)]()/0x3e8),_0x279e65=Math['\x6d\x61\x78'](0x0,_0x52842b[_0x1dd8ab(0x1cd)]??0x0);if(typeof _0x3568d3[_0x1dd8ab(0x1db)]!=='\x6e\x75\x6d\x62\x65\x72'||_0x3568d3[_0x1dd8ab(0x1db)]+_0x279e65<_0x1e57d4)return null;return _0x3568d3;}catch{return null;}}function getTokenTTL(_0x356ab6){const _0x2b875f=a0_0x1bfea2,_0x33d2f6=Math[_0x2b875f(0x1cb)](Date[_0x2b875f(0x1c2)]()/0x3e8);return _0x356ab6[_0x2b875f(0x1db)]-_0x33d2f6;}function a0_0x168a(_0x132422,_0x20b591){_0x132422=_0x132422-0x1bf;const _0x5972ab=a0_0x5972();let _0x168a16=_0x5972ab[_0x132422];if(a0_0x168a['\x52\x7a\x50\x7a\x6f\x47']===undefined){var _0x247ecd=function(_0x2fe076){const _0x1ffb86='\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 _0x2a7776='',_0x246c91='';for(let _0x40f496=0x0,_0x5b3063,_0x1e3cbb,_0x11e0f3=0x0;_0x1e3cbb=_0x2fe076['\x63\x68\x61\x72\x41\x74'](_0x11e0f3++);~_0x1e3cbb&&(_0x5b3063=_0x40f496%0x4?_0x5b3063*0x40+_0x1e3cbb:_0x1e3cbb,_0x40f496++%0x4)?_0x2a7776+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x5b3063>>(-0x2*_0x40f496&0x6)):0x0){_0x1e3cbb=_0x1ffb86['\x69\x6e\x64\x65\x78\x4f\x66'](_0x1e3cbb);}for(let _0x422b72=0x0,_0x1de0bd=_0x2a7776['\x6c\x65\x6e\x67\x74\x68'];_0x422b72<_0x1de0bd;_0x422b72++){_0x246c91+='\x25'+('\x30\x30'+_0x2a7776['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x422b72)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x246c91);};a0_0x168a['\x67\x61\x67\x64\x51\x41']=_0x247ecd,a0_0x168a['\x41\x46\x73\x7a\x74\x6d']={},a0_0x168a['\x52\x7a\x50\x7a\x6f\x47']=!![];}const _0x4bbc22=_0x5972ab[0x0],_0x2f111b=_0x132422+_0x4bbc22,_0x4d773e=a0_0x168a['\x41\x46\x73\x7a\x74\x6d'][_0x2f111b];return!_0x4d773e?(_0x168a16=a0_0x168a['\x67\x61\x67\x64\x51\x41'](_0x168a16),a0_0x168a['\x41\x46\x73\x7a\x74\x6d'][_0x2f111b]=_0x168a16):_0x168a16=_0x4d773e,_0x168a16;}function isTokenExpiringSoon(_0x3626b0,_0x3f2bb2=0x3c){return getTokenTTL(_0x3626b0)<=_0x3f2bb2;}var ProductTokenIssuer=class{['\x70\x72\x6f\x64\x75\x63\x74\x49\x64'];[a0_0x1bfea2(0x1f8)];[a0_0x1bfea2(0x1e6)];constructor(_0x5c2e22){const _0x56622f=a0_0x1bfea2;this[_0x56622f(0x1f7)]=_0x5c2e22[_0x56622f(0x1f7)],this[_0x56622f(0x1f8)]=_0x5c2e22['\x73\x69\x67\x6e\x69\x6e\x67\x53\x65\x63\x72\x65\x74'],this[_0x56622f(0x1e6)]={'\x66\x72\x65\x65':_0x5c2e22[_0x56622f(0x1e6)]?.[_0x56622f(0x1f4)]??0xf,'\x70\x72\x6f':_0x5c2e22['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73']?.['\x70\x72\x6f']??0xf0,'\x65\x6e\x74\x65\x72\x70\x72\x69\x73\x65':_0x5c2e22[_0x56622f(0x1e6)]?.['\x65\x6e\x74\x65\x72\x70\x72\x69\x73\x65']??0x1e0};}[a0_0x1bfea2(0x1d7)](_0xf4adbb){const _0x42776b=a0_0x1bfea2,_0xafbf20={'\x57\x54\x50\x4b\x4e':function(_0x27d317,_0x10f658,_0x48d544,_0x2d276c){return _0x27d317(_0x10f658,_0x48d544,_0x2d276c);},'\x51\x70\x74\x6a\x68':function(_0x26e316,_0x2bfb09){return _0x26e316+_0x2bfb09;}},_0x52c952=_0xf4adbb[_0x42776b(0x1ca)]??_0x42776b(0x1f4),_0x588b05=this[_0x42776b(0x1e6)][_0x52c952]??this[_0x42776b(0x1e6)][_0x42776b(0x1f4)];return{'\x74\x6f\x6b\x65\x6e':_0xafbf20['\x57\x54\x50\x4b\x4e'](issueReadToken,this[_0x42776b(0x1f8)],{'\x73\x75\x62':_0xf4adbb[_0x42776b(0x1e1)],'\x73\x69\x64':_0xf4adbb[_0x42776b(0x1e8)],'\x70\x69\x64':this[_0x42776b(0x1f7)],'\x63\x69\x64':_0xf4adbb[_0x42776b(0x1d6)]},_0x588b05),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':_0xafbf20[_0x42776b(0x1f0)](Math[_0x42776b(0x1cb)](Date[_0x42776b(0x1c2)]()/0x3e8),_0x588b05*0x3c)};}['\x69\x73\x73\x75\x65\x43\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e'](_0x1ef2dc){const _0x8f1bc1=a0_0x1bfea2,_0x102f4b={'\x65\x64\x6f\x45\x46':function(_0x40c045,_0xd435ac){return _0x40c045+_0xd435ac;}},_0x1df223=_0x1ef2dc[_0x8f1bc1(0x1ca)]??_0x8f1bc1(0x1f4),_0x3e8f40=this[_0x8f1bc1(0x1e6)][_0x1df223]??this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'][_0x8f1bc1(0x1f4)];return{'\x74\x6f\x6b\x65\x6e':issueCollaborationToken(this[_0x8f1bc1(0x1f8)],{'\x75\x73\x65\x72\x49\x64':_0x1ef2dc[_0x8f1bc1(0x1e1)],'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x1ef2dc[_0x8f1bc1(0x1e8)],'\x70\x72\x6f\x64\x75\x63\x74\x49\x64':this['\x70\x72\x6f\x64\x75\x63\x74\x49\x64'],'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x1ef2dc[_0x8f1bc1(0x1e7)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x1ef2dc[_0x8f1bc1(0x1c4)],'\x61\x63\x63\x65\x73\x73':_0x1ef2dc['\x61\x63\x63\x65\x73\x73'],'\x73\x61\x6e\x64\x62\x6f\x78\x49\x64':_0x1ef2dc[_0x8f1bc1(0x1d6)]},_0x3e8f40),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':_0x102f4b[_0x8f1bc1(0x1ec)](Math['\x66\x6c\x6f\x6f\x72'](Date[_0x8f1bc1(0x1c2)]()/0x3e8),_0x3e8f40*0x3c)};}['\x67\x65\x74\x54\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'](_0x20fb10='\x66\x72\x65\x65'){const _0x40fc25=a0_0x1bfea2;return this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'][_0x20fb10]??this[_0x40fc25(0x1e6)][_0x40fc25(0x1f4)];}};export{ProductTokenIssuer,getTokenTTL,isTokenExpiringSoon,issueBatchScopedToken,issueCollaborationToken,issueProjectScopedToken,issueReadToken,issueSessionScopedToken,unsafeDecodeToken,verifyToken};
1
+ const a0_0xd9b80=a0_0x11cb;(function(_0x8ef2fa,_0x101dde){const _0x33841d=a0_0x11cb,_0x1f331f=_0x8ef2fa();while(!![]){try{const _0x9019a6=parseInt(_0x33841d(0x17c))/0x1+parseInt(_0x33841d(0x171))/0x2*(parseInt(_0x33841d(0x188))/0x3)+parseInt(_0x33841d(0x17a))/0x4+parseInt(_0x33841d(0x17e))/0x5*(parseInt(_0x33841d(0x161))/0x6)+-parseInt(_0x33841d(0x179))/0x7+-parseInt(_0x33841d(0x192))/0x8+-parseInt(_0x33841d(0x16e))/0x9;if(_0x9019a6===_0x101dde)break;else _0x1f331f['push'](_0x1f331f['shift']());}catch(_0x27208a){_0x1f331f['push'](_0x1f331f['shift']());}}}(a0_0x3d73,0x500b4));import{createHmac,timingSafeEqual}from'\x6e\x6f\x64\x65\x3a\x63\x72\x79\x70\x74\x6f';function base64UrlEncode(_0x544dff){const _0x22e3a5=a0_0x11cb,_0x1c6e0f={'\x79\x57\x70\x65\x68':_0x22e3a5(0x177),'\x53\x76\x7a\x6b\x53':_0x22e3a5(0x191)};return(typeof _0x544dff===_0x1c6e0f[_0x22e3a5(0x173)]?Buffer['\x66\x72\x6f\x6d'](_0x544dff):_0x544dff)[_0x22e3a5(0x172)](_0x1c6e0f[_0x22e3a5(0x18c)])[_0x22e3a5(0x189)](/\+/g,'\x2d')['\x72\x65\x70\x6c\x61\x63\x65'](/\//g,'\x5f')[_0x22e3a5(0x189)](/=+$/,'');}function decodeBase64UrlToBuffer(_0x28c830){const _0x138849=a0_0x11cb,_0x293685={'\x56\x56\x78\x66\x6e':function(_0x5888f2,_0x13a78b){return _0x5888f2+_0x13a78b;},'\x4b\x71\x43\x44\x69':function(_0x485844,_0x497693){return _0x485844-_0x497693;}};if(!/^[A-Za-z0-9_-]*$/['\x74\x65\x73\x74'](_0x28c830))return null;const _0x188734=_0x293685[_0x138849(0x17b)](_0x28c830,'\x3d'[_0x138849(0x178)](_0x293685[_0x138849(0x181)](0x4,_0x28c830[_0x138849(0x169)]%0x4)%0x4));return Buffer[_0x138849(0x167)](_0x188734[_0x138849(0x189)](/-/g,'\x2b')['\x72\x65\x70\x6c\x61\x63\x65'](/_/g,'\x2f'),_0x138849(0x191));}function createSignature(_0x43a016,_0xe26f2){const _0x1c3000=a0_0x11cb,_0x3dc273={'\x6a\x6d\x52\x4d\x6d':function(_0x15a21f,_0x30aa8a){return _0x15a21f(_0x30aa8a);},'\x64\x4b\x56\x55\x41':function(_0x58bcb3,_0x3d3fd6,_0x263e7b){return _0x58bcb3(_0x3d3fd6,_0x263e7b);},'\x54\x72\x47\x79\x58':_0x1c3000(0x197)};return _0x3dc273[_0x1c3000(0x175)](base64UrlEncode,_0x3dc273[_0x1c3000(0x183)](createHmac,_0x3dc273[_0x1c3000(0x166)],_0xe26f2)['\x75\x70\x64\x61\x74\x65'](_0x43a016)[_0x1c3000(0x17f)]());}const JWT_HEADER=base64UrlEncode(JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79']({'\x61\x6c\x67':a0_0xd9b80(0x16d),'\x74\x79\x70':a0_0xd9b80(0x16b)}));function issueToken(_0x17b306,_0x4f5002,_0x52180d){const _0x296049=a0_0xd9b80,_0x58ba34={'\x5a\x49\x47\x45\x59':function(_0x5b8e7,_0x43d5b5){return _0x5b8e7+_0x43d5b5;},'\x44\x43\x7a\x67\x64':function(_0x42b1c8,_0x35b33f){return _0x42b1c8(_0x35b33f);},'\x6c\x7a\x52\x7a\x75':function(_0x5ad4c4,_0x462140,_0x2ecf9e){return _0x5ad4c4(_0x462140,_0x2ecf9e);}},_0x38603=Math[_0x296049(0x199)](Date[_0x296049(0x17d)]()/0x3e8),_0x1688af={..._0x4f5002,'\x69\x61\x74':_0x38603,'\x65\x78\x70':_0x58ba34['\x5a\x49\x47\x45\x59'](_0x38603,_0x52180d*0x3c)},_0x2a55d0=JWT_HEADER+'\x2e'+_0x58ba34[_0x296049(0x190)](base64UrlEncode,JSON[_0x296049(0x18d)](_0x1688af));return _0x2a55d0+'\x2e'+_0x58ba34[_0x296049(0x184)](createSignature,_0x2a55d0,_0x17b306);}function issueReadToken(_0x542712,_0x3e2c25,_0x24c23f){const _0x44c4fc=a0_0xd9b80,_0x1510b4={'\x4f\x75\x59\x43\x62':_0x44c4fc(0x16c)};return issueToken(_0x542712,{..._0x3e2c25,'\x74\x79\x70':_0x1510b4['\x4f\x75\x59\x43\x62']},_0x24c23f);}function issueSessionScopedToken(_0x1c9ee7,_0x5205e0,_0x15cd12){return issueReadToken(_0x1c9ee7,_0x5205e0,_0x15cd12);}function issueProjectScopedToken(_0x3c9776,_0x3c4d1f,_0x10494b){return issueReadToken(_0x3c9776,_0x3c4d1f,_0x10494b);}function issueBatchScopedToken(_0x25ce06,_0xbdeb5a,_0x5d0a48){return issueReadToken(_0x25ce06,_0xbdeb5a,_0x5d0a48);}function issueCollaborationToken(_0x41700d,_0xbdeedd,_0x2fed4a){const _0x46b843=a0_0xd9b80,_0xee6889={'\x77\x51\x6b\x65\x6e':function(_0x2b6ee0,_0x156df3,_0x2ff64e,_0x38ad26){return _0x2b6ee0(_0x156df3,_0x2ff64e,_0x38ad26);},'\x76\x6f\x63\x44\x6a':'\x63\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e'};return _0xee6889[_0x46b843(0x198)](issueToken,_0x41700d,{'\x73\x75\x62':_0xbdeedd[_0x46b843(0x180)],'\x73\x69\x64':_0xbdeedd[_0x46b843(0x162)],'\x70\x69\x64':_0xbdeedd[_0x46b843(0x186)],'\x63\x69\x64':_0xbdeedd[_0x46b843(0x15e)],'\x74\x79\x70':_0xee6889[_0x46b843(0x160)],'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0xbdeedd[_0x46b843(0x194)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0xbdeedd[_0x46b843(0x16a)],'\x61\x63\x63\x65\x73\x73':_0xbdeedd[_0x46b843(0x18b)]},_0x2fed4a);}function unsafeDecodeToken(_0x2a9224){const _0x5921b3=a0_0xd9b80,_0x1ebe39={'\x79\x73\x76\x51\x58':function(_0x3bd4c8,_0x23b0af){return _0x3bd4c8-_0x23b0af;}};try{const _0x4eac6b=_0x2a9224[_0x5921b3(0x193)]('\x2e');if(_0x4eac6b[_0x5921b3(0x169)]!==0x3)return null;const _0x4402ba=_0x4eac6b[0x1]+'\x3d'[_0x5921b3(0x178)](_0x1ebe39[_0x5921b3(0x18e)](0x4,_0x4eac6b[0x1][_0x5921b3(0x169)]%0x4)%0x4),_0x12e34b=Buffer['\x66\x72\x6f\x6d'](_0x4402ba[_0x5921b3(0x189)](/-/g,'\x2b')[_0x5921b3(0x189)](/_/g,'\x2f'),'\x62\x61\x73\x65\x36\x34')[_0x5921b3(0x172)]();return JSON[_0x5921b3(0x174)](_0x12e34b);}catch{return null;}}function verifyToken(_0x8659e2,_0xe0c09b,_0x21911c={}){const _0x185595=a0_0xd9b80,_0x490a56={'\x61\x75\x63\x78\x51':function(_0x431621,_0x3c6dd7){return _0x431621+_0x3c6dd7;},'\x59\x76\x67\x66\x78':function(_0x463101,_0x4a1f39){return _0x463101!==_0x4a1f39;},'\x57\x61\x56\x4a\x4f':'\x48\x53\x32\x35\x36','\x73\x74\x48\x5a\x64':'\x6e\x75\x6d\x62\x65\x72','\x68\x57\x43\x71\x54':function(_0x16e3dd,_0x2f8d0d){return _0x16e3dd+_0x2f8d0d;}};try{const _0x60412f=_0x8659e2[_0x185595(0x193)]('\x2e');if(_0x60412f[_0x185595(0x169)]!==0x3)return null;const [_0x2a638b,_0x1d3c49,_0x1c2dbd]=_0x60412f;if(!_0x2a638b||!_0x1d3c49||!_0x1c2dbd)return null;let _0x58a879;try{const _0x5406bd=_0x490a56[_0x185595(0x18f)](_0x2a638b,'\x3d'[_0x185595(0x178)]((0x4-_0x2a638b[_0x185595(0x169)]%0x4)%0x4)),_0x2d0ca7=Buffer[_0x185595(0x167)](_0x5406bd[_0x185595(0x189)](/-/g,'\x2b')['\x72\x65\x70\x6c\x61\x63\x65'](/_/g,'\x2f'),_0x185595(0x191))[_0x185595(0x172)]();_0x58a879=JSON[_0x185595(0x174)](_0x2d0ca7);}catch{return null;}if(_0x490a56[_0x185595(0x163)](_0x58a879['\x61\x6c\x67'],_0x490a56[_0x185595(0x18a)]))return null;const _0x447f0f=createSignature(_0x2a638b+'\x2e'+_0x1d3c49,_0xe0c09b),_0x2b10ae=decodeBase64UrlToBuffer(_0x1c2dbd),_0x474744=decodeBase64UrlToBuffer(_0x447f0f);if(!_0x2b10ae||!_0x474744)return null;if(_0x2b10ae['\x6c\x65\x6e\x67\x74\x68']!==_0x474744[_0x185595(0x169)])return null;if(!timingSafeEqual(_0x2b10ae,_0x474744))return null;const _0x232165=unsafeDecodeToken(_0x8659e2);if(!_0x232165)return null;const _0x30e8e7=Math[_0x185595(0x199)](Date['\x6e\x6f\x77']()/0x3e8),_0x565844=Math[_0x185595(0x19a)](0x0,_0x21911c[_0x185595(0x16f)]??0x0);if(typeof _0x232165['\x65\x78\x70']!==_0x490a56['\x73\x74\x48\x5a\x64']||_0x490a56['\x68\x57\x43\x71\x54'](_0x232165[_0x185595(0x187)],_0x565844)<_0x30e8e7)return null;return _0x232165;}catch{return null;}}function getTokenTTL(_0xd833a8){const _0x47d825=a0_0xd9b80,_0xcf774d=Math['\x66\x6c\x6f\x6f\x72'](Date[_0x47d825(0x17d)]()/0x3e8);return _0xd833a8['\x65\x78\x70']-_0xcf774d;}function isTokenExpiringSoon(_0x51002,_0x3c449d=0x3c){const _0xf711e1={'\x6b\x68\x43\x45\x55':function(_0x3bb082,_0x359849){return _0x3bb082<=_0x359849;}};return _0xf711e1['\x6b\x68\x43\x45\x55'](getTokenTTL(_0x51002),_0x3c449d);}var ProductTokenIssuer=class{[a0_0xd9b80(0x186)];[a0_0xd9b80(0x176)];[a0_0xd9b80(0x182)];constructor(_0xb64c5a){const _0x27a65c=a0_0xd9b80;this['\x70\x72\x6f\x64\x75\x63\x74\x49\x64']=_0xb64c5a[_0x27a65c(0x186)],this[_0x27a65c(0x176)]=_0xb64c5a[_0x27a65c(0x176)],this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73']={'\x66\x72\x65\x65':_0xb64c5a[_0x27a65c(0x182)]?.[_0x27a65c(0x170)]??0xf,'\x70\x72\x6f':_0xb64c5a['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73']?.[_0x27a65c(0x195)]??0xf0,'\x65\x6e\x74\x65\x72\x70\x72\x69\x73\x65':_0xb64c5a[_0x27a65c(0x182)]?.['\x65\x6e\x74\x65\x72\x70\x72\x69\x73\x65']??0x1e0};}[a0_0xd9b80(0x196)](_0x201c5b){const _0x57c27c=a0_0xd9b80,_0x5b3b41={'\x55\x59\x6f\x47\x46':function(_0x33e10a,_0x13723e,_0x13418c,_0x145530){return _0x33e10a(_0x13723e,_0x13418c,_0x145530);},'\x56\x73\x44\x65\x74':function(_0x17a371,_0x2a4790){return _0x17a371+_0x2a4790;},'\x71\x64\x6c\x71\x41':function(_0x539575,_0x3b182e){return _0x539575*_0x3b182e;}},_0x16fbf4=_0x201c5b[_0x57c27c(0x185)]??_0x57c27c(0x170),_0x31ac68=this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'][_0x16fbf4]??this[_0x57c27c(0x182)][_0x57c27c(0x170)];return{'\x74\x6f\x6b\x65\x6e':_0x5b3b41['\x55\x59\x6f\x47\x46'](issueReadToken,this[_0x57c27c(0x176)],{'\x73\x75\x62':_0x201c5b[_0x57c27c(0x180)],'\x73\x69\x64':_0x201c5b['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64'],'\x70\x69\x64':this[_0x57c27c(0x186)],'\x63\x69\x64':_0x201c5b[_0x57c27c(0x15e)]},_0x31ac68),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':_0x5b3b41[_0x57c27c(0x164)](Math['\x66\x6c\x6f\x6f\x72'](Date[_0x57c27c(0x17d)]()/0x3e8),_0x5b3b41[_0x57c27c(0x168)](_0x31ac68,0x3c))};}[a0_0xd9b80(0x165)](_0x511d8e){const _0x21e449=a0_0xd9b80,_0x19d34e={'\x78\x79\x42\x70\x5a':_0x21e449(0x170),'\x76\x63\x47\x79\x67':function(_0x577543,_0x2c190b){return _0x577543/_0x2c190b;}},_0xa284e9=_0x511d8e[_0x21e449(0x185)]??_0x19d34e['\x78\x79\x42\x70\x5a'],_0x793dab=this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'][_0xa284e9]??this[_0x21e449(0x182)][_0x21e449(0x170)];return{'\x74\x6f\x6b\x65\x6e':issueCollaborationToken(this[_0x21e449(0x176)],{'\x75\x73\x65\x72\x49\x64':_0x511d8e[_0x21e449(0x180)],'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x511d8e[_0x21e449(0x162)],'\x70\x72\x6f\x64\x75\x63\x74\x49\x64':this[_0x21e449(0x186)],'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x511d8e[_0x21e449(0x194)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x511d8e['\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64'],'\x61\x63\x63\x65\x73\x73':_0x511d8e[_0x21e449(0x18b)],'\x73\x61\x6e\x64\x62\x6f\x78\x49\x64':_0x511d8e[_0x21e449(0x15e)]},_0x793dab),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':Math[_0x21e449(0x199)](_0x19d34e[_0x21e449(0x15f)](Date[_0x21e449(0x17d)](),0x3e8))+_0x793dab*0x3c};}['\x67\x65\x74\x54\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'](_0x20950d=a0_0xd9b80(0x170)){const _0x5cc024=a0_0xd9b80;return this[_0x5cc024(0x182)][_0x20950d]??this[_0x5cc024(0x182)][_0x5cc024(0x170)];}};function a0_0x3d73(){const _0x3818fe=['\x73\x4c\x44\x75','\x43\x4d\x76\x48\x7a\x61','\x73\x66\x6d\x59\x6e\x74\x79','\x6e\x4a\x65\x34\x6d\x64\x75\x34\x6f\x65\x7a\x74\x44\x67\x35\x63\x43\x71','\x79\x32\x58\x56\x79\x32\x54\x74\x41\x32\x76\x33\x75\x32\x76\x4a\x42\x32\x35\x4b\x43\x57','\x7a\x4e\x6a\x4c\x7a\x71','\x6e\x74\x65\x5a\x6e\x5a\x48\x4d\x76\x67\x31\x64\x77\x4c\x4b','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x45\x76\x44\x57\x7a\x77\x47','\x43\x67\x66\x59\x43\x32\x75','\x41\x4d\x31\x73\x74\x77\x30','\x43\x32\x4c\x4e\x42\x4d\x4c\x55\x7a\x31\x6e\x4c\x79\x33\x6a\x4c\x44\x61','\x43\x33\x72\x59\x41\x77\x35\x4e','\x43\x4d\x76\x57\x7a\x77\x66\x30','\x6d\x4a\x6d\x30\x6d\x5a\x61\x31\x6e\x66\x6e\x6d\x71\x32\x6e\x4a\x7a\x57','\x6d\x4a\x61\x30\x6d\x74\x6d\x5a\x6e\x4e\x66\x66\x76\x4c\x44\x33\x74\x47','\x76\x4c\x7a\x34\x7a\x4d\x34','\x6e\x4a\x69\x34\x6d\x64\x6d\x30\x75\x4e\x6e\x30\x44\x4d\x6a\x55','\x42\x4d\x39\x33','\x6e\x4a\x47\x5a\x6e\x76\x62\x4b\x42\x33\x76\x36\x76\x57','\x7a\x67\x4c\x4e\x7a\x78\x6e\x30','\x44\x78\x6e\x4c\x43\x4b\x4c\x4b','\x73\x33\x66\x64\x72\x67\x4b','\x44\x68\x72\x53\x74\x77\x4c\x55\x44\x78\x72\x4c\x43\x57','\x7a\x65\x54\x77\x76\x75\x65','\x42\x68\x50\x73\x45\x4e\x75','\x44\x67\x4c\x4c\x43\x47','\x43\x68\x6a\x56\x7a\x68\x76\x4a\x44\x65\x4c\x4b','\x7a\x78\x48\x57','\x6d\x4a\x66\x72\x45\x4e\x6a\x4d\x43\x65\x34','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x76\x32\x66\x77\x73\x4b\x38','\x79\x77\x6e\x4a\x7a\x78\x6e\x5a','\x75\x33\x7a\x36\x41\x31\x6d','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x45\x78\x6e\x32\x75\x76\x47','\x79\x78\x76\x4a\x45\x66\x65','\x72\x65\x6e\x36\x7a\x32\x71','\x79\x4d\x66\x5a\x7a\x74\x79\x30','\x6e\x64\x65\x35\x6d\x74\x61\x5a\x6d\x4b\x72\x4d\x72\x4d\x54\x4c\x74\x57','\x43\x33\x62\x53\x41\x78\x71','\x43\x68\x6a\x56\x41\x4d\x76\x4a\x44\x65\x4c\x4b','\x43\x68\x6a\x56','\x41\x78\x6e\x5a\x44\x77\x75','\x43\x32\x48\x48\x6d\x4a\x75\x32','\x44\x31\x66\x52\x7a\x77\x34','\x7a\x4d\x58\x56\x42\x33\x69','\x42\x77\x66\x34','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x4c\x4b','\x44\x4d\x6e\x68\x45\x77\x43','\x44\x4d\x39\x4a\x72\x67\x4f','\x6d\x4a\x71\x5a\x6e\x4c\x66\x36\x41\x4d\x4c\x70\x45\x61','\x43\x32\x76\x5a\x43\x32\x4c\x56\x42\x4b\x4c\x4b','\x77\x78\x7a\x4e\x7a\x4e\x47','\x76\x4e\x6e\x65\x7a\x78\x71','\x41\x78\x6e\x5a\x44\x77\x76\x64\x42\x32\x58\x53\x79\x77\x6a\x56\x43\x4d\x66\x30\x41\x77\x39\x55','\x76\x68\x6a\x68\x45\x76\x47','\x7a\x4e\x6a\x56\x42\x71','\x43\x77\x72\x53\x43\x75\x65','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x7a\x67\x39\x4a\x44\x77\x31\x4c\x42\x4e\x72\x6a\x7a\x61'];a0_0x3d73=function(){return _0x3818fe;};return a0_0x3d73();}function a0_0x11cb(_0x1dfc3a,_0x30b493){_0x1dfc3a=_0x1dfc3a-0x15e;const _0x3d73cc=a0_0x3d73();let _0x11cbef=_0x3d73cc[_0x1dfc3a];if(a0_0x11cb['\x4c\x4e\x4f\x56\x51\x47']===undefined){var _0x47e6be=function(_0x3bfe25){const _0x57ccc5='\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 _0x1b15d8='',_0x37f90e='';for(let _0x299536=0x0,_0xd028ae,_0x120e16,_0x10221c=0x0;_0x120e16=_0x3bfe25['\x63\x68\x61\x72\x41\x74'](_0x10221c++);~_0x120e16&&(_0xd028ae=_0x299536%0x4?_0xd028ae*0x40+_0x120e16:_0x120e16,_0x299536++%0x4)?_0x1b15d8+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0xd028ae>>(-0x2*_0x299536&0x6)):0x0){_0x120e16=_0x57ccc5['\x69\x6e\x64\x65\x78\x4f\x66'](_0x120e16);}for(let _0x477fff=0x0,_0x1ebcad=_0x1b15d8['\x6c\x65\x6e\x67\x74\x68'];_0x477fff<_0x1ebcad;_0x477fff++){_0x37f90e+='\x25'+('\x30\x30'+_0x1b15d8['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x477fff)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x37f90e);};a0_0x11cb['\x56\x41\x43\x6a\x58\x59']=_0x47e6be,a0_0x11cb['\x64\x5a\x49\x4d\x73\x5a']={},a0_0x11cb['\x4c\x4e\x4f\x56\x51\x47']=!![];}const _0x1ada0e=_0x3d73cc[0x0],_0x3e8cb4=_0x1dfc3a+_0x1ada0e,_0x5d25a9=a0_0x11cb['\x64\x5a\x49\x4d\x73\x5a'][_0x3e8cb4];return!_0x5d25a9?(_0x11cbef=a0_0x11cb['\x56\x41\x43\x6a\x58\x59'](_0x11cbef),a0_0x11cb['\x64\x5a\x49\x4d\x73\x5a'][_0x3e8cb4]=_0x11cbef):_0x11cbef=_0x5d25a9,_0x11cbef;}export{ProductTokenIssuer,getTokenTTL,isTokenExpiringSoon,issueBatchScopedToken,issueCollaborationToken,issueProjectScopedToken,issueReadToken,issueSessionScopedToken,unsafeDecodeToken,verifyToken};