@tangle-network/sandbox 0.0.0-develop.20260519150359.5f709e0 → 0.0.0-develop.20260519163204.0e840d4

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_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};
1
+ function a0_0x1744(_0x26c6ea,_0x46b0e9){_0x26c6ea=_0x26c6ea-0x134;const _0x41ee82=a0_0x41ee();let _0x1744bd=_0x41ee82[_0x26c6ea];if(a0_0x1744['\x61\x49\x56\x57\x73\x62']===undefined){var _0x33757c=function(_0x3d65ff){const _0x3402eb='\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 _0x22de63='',_0x249f36='';for(let _0x48d256=0x0,_0x2ccf91,_0x2a6707,_0x4657bc=0x0;_0x2a6707=_0x3d65ff['\x63\x68\x61\x72\x41\x74'](_0x4657bc++);~_0x2a6707&&(_0x2ccf91=_0x48d256%0x4?_0x2ccf91*0x40+_0x2a6707:_0x2a6707,_0x48d256++%0x4)?_0x22de63+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x2ccf91>>(-0x2*_0x48d256&0x6)):0x0){_0x2a6707=_0x3402eb['\x69\x6e\x64\x65\x78\x4f\x66'](_0x2a6707);}for(let _0x15eabf=0x0,_0x405151=_0x22de63['\x6c\x65\x6e\x67\x74\x68'];_0x15eabf<_0x405151;_0x15eabf++){_0x249f36+='\x25'+('\x30\x30'+_0x22de63['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x15eabf)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x249f36);};a0_0x1744['\x53\x79\x59\x51\x72\x41']=_0x33757c,a0_0x1744['\x79\x68\x77\x47\x4a\x4c']={},a0_0x1744['\x61\x49\x56\x57\x73\x62']=!![];}const _0x2f1943=_0x41ee82[0x0],_0x1d5385=_0x26c6ea+_0x2f1943,_0x244eab=a0_0x1744['\x79\x68\x77\x47\x4a\x4c'][_0x1d5385];return!_0x244eab?(_0x1744bd=a0_0x1744['\x53\x79\x59\x51\x72\x41'](_0x1744bd),a0_0x1744['\x79\x68\x77\x47\x4a\x4c'][_0x1d5385]=_0x1744bd):_0x1744bd=_0x244eab,_0x1744bd;}const a0_0x590ccf=a0_0x1744;(function(_0x47796c,_0x3c1b70){const _0x538f02=a0_0x1744,_0x438eed=_0x47796c();while(!![]){try{const _0x549327=-parseInt(_0x538f02(0x139))/0x1+parseInt(_0x538f02(0x137))/0x2*(parseInt(_0x538f02(0x15b))/0x3)+-parseInt(_0x538f02(0x148))/0x4*(-parseInt(_0x538f02(0x15c))/0x5)+parseInt(_0x538f02(0x15a))/0x6+-parseInt(_0x538f02(0x138))/0x7+parseInt(_0x538f02(0x147))/0x8*(parseInt(_0x538f02(0x144))/0x9)+parseInt(_0x538f02(0x135))/0xa;if(_0x549327===_0x3c1b70)break;else _0x438eed['push'](_0x438eed['shift']());}catch(_0x4c11f8){_0x438eed['push'](_0x438eed['shift']());}}}(a0_0x41ee,0x5eaba));import{createHmac,timingSafeEqual}from'\x6e\x6f\x64\x65\x3a\x63\x72\x79\x70\x74\x6f';function base64UrlEncode(_0x23b54c){const _0x3c0dc2=a0_0x1744;return(typeof _0x23b54c===_0x3c0dc2(0x145)?Buffer[_0x3c0dc2(0x14a)](_0x23b54c):_0x23b54c)[_0x3c0dc2(0x16a)](_0x3c0dc2(0x150))[_0x3c0dc2(0x168)](/\+/g,'\x2d')['\x72\x65\x70\x6c\x61\x63\x65'](/\//g,'\x5f')[_0x3c0dc2(0x168)](/=+$/,'');}function decodeBase64UrlToBuffer(_0x48d87a){const _0x55fdf0=a0_0x1744,_0x3f9e5e={'\x79\x46\x6b\x43\x74':function(_0x27e4cf,_0x54d0b6){return _0x27e4cf+_0x54d0b6;},'\x6a\x6c\x79\x53\x41':function(_0x17c2c9,_0x42c75d){return _0x17c2c9%_0x42c75d;},'\x49\x79\x61\x53\x58':function(_0x45fd34,_0x43bdc7){return _0x45fd34-_0x43bdc7;},'\x72\x61\x4f\x48\x67':function(_0x359efa,_0x59b1f7){return _0x359efa%_0x59b1f7;}};if(!/^[A-Za-z0-9_-]*$/[_0x55fdf0(0x152)](_0x48d87a))return null;const _0x143039=_0x3f9e5e[_0x55fdf0(0x155)](_0x48d87a,'\x3d'[_0x55fdf0(0x162)](_0x3f9e5e[_0x55fdf0(0x13e)](_0x3f9e5e[_0x55fdf0(0x16f)](0x4,_0x3f9e5e[_0x55fdf0(0x13b)](_0x48d87a[_0x55fdf0(0x157)],0x4)),0x4)));return Buffer[_0x55fdf0(0x14a)](_0x143039['\x72\x65\x70\x6c\x61\x63\x65'](/-/g,'\x2b')['\x72\x65\x70\x6c\x61\x63\x65'](/_/g,'\x2f'),_0x55fdf0(0x150));}function createSignature(_0x22f4e3,_0x26b24b){const _0x11284c=a0_0x1744,_0x347997={'\x4e\x6f\x62\x41\x51':function(_0x5dfed7,_0x518918){return _0x5dfed7(_0x518918);},'\x66\x68\x7a\x62\x6c':function(_0xfb08,_0x3c5dac,_0x54374e){return _0xfb08(_0x3c5dac,_0x54374e);},'\x43\x6b\x6a\x49\x6a':'\x73\x68\x61\x32\x35\x36'};return _0x347997[_0x11284c(0x169)](base64UrlEncode,_0x347997[_0x11284c(0x13f)](createHmac,_0x347997['\x43\x6b\x6a\x49\x6a'],_0x26b24b)[_0x11284c(0x134)](_0x22f4e3)[_0x11284c(0x141)]());}function a0_0x41ee(){const _0x2b0e5a=['\x6d\x30\x35\x52\x43\x33\x7a\x7a\x72\x61','\x6d\x74\x61\x5a\x6e\x74\x76\x4b\x7a\x77\x4c\x6c\x45\x67\x43','\x43\x4d\x76\x48\x7a\x61','\x76\x33\x44\x34\x74\x77\x4b','\x79\x77\x6e\x4a\x7a\x78\x6e\x5a','\x43\x32\x4c\x4e\x42\x4d\x4c\x55\x7a\x31\x6e\x4c\x79\x33\x6a\x4c\x44\x61','\x43\x67\x66\x59\x43\x32\x75','\x43\x4d\x76\x57\x7a\x77\x66\x30','\x76\x76\x50\x6f\x76\x32\x34','\x42\x77\x66\x34','\x43\x4b\x4c\x76\x79\x32\x38','\x73\x66\x6d\x59\x6e\x74\x79','\x44\x65\x6e\x50\x72\x75\x69','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x74\x4d\x39\x49\x71\x76\x65','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x44\x78\x6e\x4c\x43\x4b\x4c\x4b','\x45\x4e\x6e\x71\x45\x4e\x4f','\x44\x68\x72\x53\x74\x77\x4c\x55\x44\x78\x72\x4c\x43\x57','\x42\x4e\x76\x54\x79\x4d\x76\x59','\x73\x78\x4c\x48\x75\x31\x47','\x71\x4d\x58\x63\x77\x4c\x4b','\x44\x78\x62\x4b\x79\x78\x72\x4c','\x6d\x4a\x4b\x59\x6e\x4a\x65\x5a\x6d\x65\x7a\x4c\x43\x75\x48\x75\x44\x57','\x7a\x4e\x6a\x4c\x7a\x71','\x6e\x74\x47\x57\x6d\x4a\x75\x34\x45\x4d\x44\x6d\x75\x4d\x44\x6a','\x6e\x64\x75\x34\x6d\x64\x75\x30\x6d\x76\x66\x52\x76\x32\x6a\x53\x43\x57','\x6e\x74\x43\x33\x6e\x74\x75\x57\x71\x4b\x31\x58\x77\x4e\x62\x79','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x43\x4d\x66\x70\x73\x67\x43','\x43\x68\x6a\x56\x41\x4d\x76\x4a\x44\x65\x4c\x4b','\x41\x75\x48\x51\x72\x66\x75','\x41\x4d\x58\x35\x75\x30\x65','\x7a\x4d\x48\x36\x79\x4d\x57','\x43\x32\x76\x5a\x43\x32\x4c\x56\x42\x4b\x4c\x4b','\x7a\x67\x4c\x4e\x7a\x78\x6e\x30','\x45\x4d\x50\x65\x7a\x32\x4f','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x4c\x4b','\x6d\x74\x48\x77\x71\x4c\x62\x7a\x76\x32\x38','\x43\x33\x72\x59\x41\x77\x35\x4e','\x79\x77\x58\x4e','\x6d\x5a\x6d\x31\x6d\x74\x4b\x59\x45\x4d\x72\x6b\x41\x4e\x72\x49','\x6e\x64\x47\x34\x45\x67\x50\x50\x72\x4e\x62\x6a','\x7a\x4d\x58\x56\x42\x33\x69','\x7a\x4e\x6a\x56\x42\x71','\x73\x65\x44\x48\x7a\x4b\x6d','\x79\x32\x58\x56\x79\x32\x54\x74\x41\x32\x76\x33\x75\x32\x76\x4a\x42\x32\x35\x4b\x43\x57','\x42\x4d\x39\x33','\x7a\x78\x48\x57','\x71\x33\x6a\x73\x75\x4d\x71','\x79\x4d\x66\x5a\x7a\x74\x79\x30','\x42\x67\x39\x74\x43\x30\x4f','\x44\x67\x76\x5a\x44\x61','\x43\x68\x6a\x56\x7a\x68\x76\x4a\x44\x65\x4c\x4b','\x41\x78\x6e\x5a\x44\x77\x75','\x45\x75\x7a\x52\x71\x33\x71','\x7a\x77\x35\x30\x7a\x78\x6a\x57\x43\x4d\x4c\x5a\x7a\x71','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x41\x65\x76\x76\x79\x4d\x71','\x41\x30\x50\x4f\x73\x4d\x6d','\x6e\x64\x69\x57\x6d\x4a\x47\x34\x6e\x4e\x76\x71\x45\x67\x66\x4c\x75\x61'];a0_0x41ee=function(){return _0x2b0e5a;};return a0_0x41ee();}const JWT_HEADER=base64UrlEncode(JSON[a0_0x590ccf(0x13a)]({'\x61\x6c\x67':'\x48\x53\x32\x35\x36','\x74\x79\x70':'\x4a\x57\x54'}));function issueToken(_0x50f040,_0x574ce,_0x2150b1){const _0x54dad0=a0_0x590ccf,_0x431619={'\x55\x5a\x4e\x57\x6e':function(_0x3ec6de,_0x48f194,_0x594b3e){return _0x3ec6de(_0x48f194,_0x594b3e);}},_0xe53765=Math[_0x54dad0(0x149)](Date['\x6e\x6f\x77']()/0x3e8),_0x49cc9f={..._0x574ce,'\x69\x61\x74':_0xe53765,'\x65\x78\x70':_0xe53765+_0x2150b1*0x3c},_0x1026eb=JWT_HEADER+'\x2e'+base64UrlEncode(JSON[_0x54dad0(0x13a)](_0x49cc9f));return _0x1026eb+'\x2e'+_0x431619[_0x54dad0(0x163)](createSignature,_0x1026eb,_0x50f040);}function issueReadToken(_0x1db2c9,_0x52a8d0,_0x5f57dd){const _0x409dae=a0_0x590ccf,_0x4546d5={'\x7a\x6a\x44\x67\x6a':function(_0x895ac2,_0x41bdea,_0x552add,_0x5c3c34){return _0x895ac2(_0x41bdea,_0x552add,_0x5c3c34);}};return _0x4546d5[_0x409dae(0x142)](issueToken,_0x1db2c9,{..._0x52a8d0,'\x74\x79\x70':_0x409dae(0x15d)},_0x5f57dd);}function issueSessionScopedToken(_0x24afcb,_0x3304ab,_0x32f235){return issueReadToken(_0x24afcb,_0x3304ab,_0x32f235);}function issueProjectScopedToken(_0x29ad64,_0x21af43,_0x537f6f){return issueReadToken(_0x29ad64,_0x21af43,_0x537f6f);}function issueBatchScopedToken(_0x2fb41e,_0x3ccb7a,_0x549d74){return issueReadToken(_0x2fb41e,_0x3ccb7a,_0x549d74);}function issueCollaborationToken(_0xed60dd,_0x410e52,_0x345c2a){const _0x5e54ce=a0_0x590ccf,_0x5b8ba4={'\x57\x77\x78\x4d\x69':function(_0x5476fb,_0x42dec2,_0x5dfbde,_0x4363e9){return _0x5476fb(_0x42dec2,_0x5dfbde,_0x4363e9);},'\x72\x49\x55\x63\x6f':'\x63\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e'};return _0x5b8ba4[_0x5e54ce(0x15e)](issueToken,_0xed60dd,{'\x73\x75\x62':_0x410e52[_0x5e54ce(0x16b)],'\x73\x69\x64':_0x410e52[_0x5e54ce(0x140)],'\x70\x69\x64':_0x410e52[_0x5e54ce(0x153)],'\x63\x69\x64':_0x410e52[_0x5e54ce(0x143)],'\x74\x79\x70':_0x5b8ba4[_0x5e54ce(0x165)],'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x410e52[_0x5e54ce(0x13c)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x410e52['\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64'],'\x61\x63\x63\x65\x73\x73':_0x410e52['\x61\x63\x63\x65\x73\x73']},_0x345c2a);}function unsafeDecodeToken(_0x5517a4){const _0x297e6a=a0_0x590ccf,_0x5c8fda={'\x68\x45\x55\x62\x64':function(_0x2dbccb,_0x321ba1){return _0x2dbccb+_0x321ba1;},'\x7a\x73\x50\x7a\x7a':function(_0x5411b8,_0xd843ff){return _0x5411b8-_0xd843ff;},'\x6b\x4a\x68\x4a\x63':_0x297e6a(0x150)};try{const _0x5a102a=_0x5517a4['\x73\x70\x6c\x69\x74']('\x2e');if(_0x5a102a[_0x297e6a(0x157)]!==0x3)return null;const _0x3ec6d5=_0x5c8fda[_0x297e6a(0x158)](_0x5a102a[0x1],'\x3d'['\x72\x65\x70\x65\x61\x74'](_0x5c8fda[_0x297e6a(0x16c)](0x4,_0x5a102a[0x1]['\x6c\x65\x6e\x67\x74\x68']%0x4)%0x4)),_0xd76afe=Buffer['\x66\x72\x6f\x6d'](_0x3ec6d5['\x72\x65\x70\x6c\x61\x63\x65'](/-/g,'\x2b')[_0x297e6a(0x168)](/_/g,'\x2f'),_0x5c8fda[_0x297e6a(0x159)])[_0x297e6a(0x16a)]();return JSON['\x70\x61\x72\x73\x65'](_0xd76afe);}catch{return null;}}function verifyToken(_0x2a94d0,_0x4065fc,_0x19ffc8={}){const _0x37b184=a0_0x590ccf,_0x2f0b55={'\x6f\x79\x62\x6d\x49':function(_0x453952,_0x56ca27){return _0x453952!==_0x56ca27;},'\x48\x47\x61\x66\x43':function(_0x37db5c,_0x4fc822){return _0x37db5c||_0x4fc822;},'\x6b\x6b\x7a\x51\x79':function(_0x5304fb,_0x55078c){return _0x5304fb%_0x55078c;},'\x75\x4f\x4d\x62\x57':function(_0x1fc759,_0x5b5a8f){return _0x1fc759!==_0x5b5a8f;},'\x69\x48\x6a\x44\x55':function(_0x3429aa,_0x398f7e){return _0x3429aa(_0x398f7e);},'\x42\x6c\x42\x5a\x59':function(_0x634791,_0xabdc12){return _0x634791!==_0xabdc12;}};try{const _0x5523be=_0x2a94d0['\x73\x70\x6c\x69\x74']('\x2e');if(_0x2f0b55['\x6f\x79\x62\x6d\x49'](_0x5523be['\x6c\x65\x6e\x67\x74\x68'],0x3))return null;const [_0x176415,_0x39cf79,_0x15d6cb]=_0x5523be;if(_0x2f0b55[_0x37b184(0x14b)](!_0x176415,!_0x39cf79)||!_0x15d6cb)return null;let _0x3a72e4;try{const _0xe721f2=_0x176415+'\x3d'[_0x37b184(0x162)](_0x2f0b55['\x6b\x6b\x7a\x51\x79'](0x4-_0x176415[_0x37b184(0x157)]%0x4,0x4)),_0x3e2673=Buffer[_0x37b184(0x14a)](_0xe721f2[_0x37b184(0x168)](/-/g,'\x2b')['\x72\x65\x70\x6c\x61\x63\x65'](/_/g,'\x2f'),_0x37b184(0x150))[_0x37b184(0x16a)]();_0x3a72e4=JSON[_0x37b184(0x161)](_0x3e2673);}catch{return null;}if(_0x2f0b55['\x75\x4f\x4d\x62\x57'](_0x3a72e4[_0x37b184(0x146)],_0x37b184(0x166)))return null;const _0x553335=createSignature(_0x176415+'\x2e'+_0x39cf79,_0x4065fc),_0x24d891=decodeBase64UrlToBuffer(_0x15d6cb),_0x19d38a=decodeBase64UrlToBuffer(_0x553335);if(!_0x24d891||!_0x19d38a)return null;if(_0x24d891[_0x37b184(0x157)]!==_0x19d38a['\x6c\x65\x6e\x67\x74\x68'])return null;if(!timingSafeEqual(_0x24d891,_0x19d38a))return null;const _0x593629=_0x2f0b55[_0x37b184(0x13d)](unsafeDecodeToken,_0x2a94d0);if(!_0x593629)return null;const _0x3c59f2=Math[_0x37b184(0x149)](Date[_0x37b184(0x14d)]()/0x3e8),_0x518ed5=Math[_0x37b184(0x164)](0x0,_0x19ffc8[_0x37b184(0x14c)]??0x0);if(_0x2f0b55[_0x37b184(0x170)](typeof _0x593629[_0x37b184(0x14e)],_0x37b184(0x16e))||_0x593629[_0x37b184(0x14e)]+_0x518ed5<_0x3c59f2)return null;return _0x593629;}catch{return null;}}function getTokenTTL(_0x5149cb){const _0x258187=a0_0x590ccf,_0x46dfbe=Math[_0x258187(0x149)](Date['\x6e\x6f\x77']()/0x3e8);return _0x5149cb['\x65\x78\x70']-_0x46dfbe;}function isTokenExpiringSoon(_0xdabc6c,_0x115fe1=0x3c){const _0x2c872e=a0_0x590ccf,_0x2771bf={'\x67\x46\x56\x4a\x78':function(_0x285175,_0xff948d){return _0x285175<=_0xff948d;},'\x6c\x6f\x53\x73\x4a':function(_0x368c2c,_0xde300e){return _0x368c2c(_0xde300e);}};return _0x2771bf['\x67\x46\x56\x4a\x78'](_0x2771bf[_0x2c872e(0x151)](getTokenTTL,_0xdabc6c),_0x115fe1);}var ProductTokenIssuer=class{['\x70\x72\x6f\x64\x75\x63\x74\x49\x64'];[a0_0x590ccf(0x160)];[a0_0x590ccf(0x16d)];constructor(_0x4ca6fc){const _0x534c2a=a0_0x590ccf;this['\x70\x72\x6f\x64\x75\x63\x74\x49\x64']=_0x4ca6fc[_0x534c2a(0x153)],this[_0x534c2a(0x160)]=_0x4ca6fc[_0x534c2a(0x160)],this[_0x534c2a(0x16d)]={'\x66\x72\x65\x65':_0x4ca6fc['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73']?.[_0x534c2a(0x136)]??0xf,'\x70\x72\x6f':_0x4ca6fc[_0x534c2a(0x16d)]?.['\x70\x72\x6f']??0xf0,'\x65\x6e\x74\x65\x72\x70\x72\x69\x73\x65':_0x4ca6fc[_0x534c2a(0x16d)]?.[_0x534c2a(0x156)]??0x1e0};}[a0_0x590ccf(0x154)](_0x403a4a){const _0x116bfc=a0_0x590ccf,_0x5bf43b={'\x67\x52\x47\x74\x77':function(_0x51fa9f,_0x269f26,_0x256f62,_0x2d8e95){return _0x51fa9f(_0x269f26,_0x256f62,_0x2d8e95);}},_0x36b178=_0x403a4a['\x74\x69\x65\x72']??'\x66\x72\x65\x65',_0x5499ff=this[_0x116bfc(0x16d)][_0x36b178]??this[_0x116bfc(0x16d)][_0x116bfc(0x136)];return{'\x74\x6f\x6b\x65\x6e':_0x5bf43b['\x67\x52\x47\x74\x77'](issueReadToken,this[_0x116bfc(0x160)],{'\x73\x75\x62':_0x403a4a[_0x116bfc(0x16b)],'\x73\x69\x64':_0x403a4a['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64'],'\x70\x69\x64':this[_0x116bfc(0x153)],'\x63\x69\x64':_0x403a4a[_0x116bfc(0x143)]},_0x5499ff),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':Math[_0x116bfc(0x149)](Date['\x6e\x6f\x77']()/0x3e8)+_0x5499ff*0x3c};}['\x69\x73\x73\x75\x65\x43\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e'](_0x1a449f){const _0x249002=a0_0x590ccf,_0x913f68={'\x74\x43\x69\x45\x42':_0x249002(0x136),'\x43\x72\x52\x52\x64':function(_0x40dbeb,_0x488996){return _0x40dbeb+_0x488996;}},_0x23534e=_0x1a449f['\x74\x69\x65\x72']??_0x913f68[_0x249002(0x167)],_0x1fba54=this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'][_0x23534e]??this[_0x249002(0x16d)][_0x249002(0x136)];return{'\x74\x6f\x6b\x65\x6e':issueCollaborationToken(this[_0x249002(0x160)],{'\x75\x73\x65\x72\x49\x64':_0x1a449f[_0x249002(0x16b)],'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x1a449f[_0x249002(0x140)],'\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':_0x1a449f[_0x249002(0x13c)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x1a449f['\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64'],'\x61\x63\x63\x65\x73\x73':_0x1a449f[_0x249002(0x15f)],'\x73\x61\x6e\x64\x62\x6f\x78\x49\x64':_0x1a449f[_0x249002(0x143)]},_0x1fba54),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':_0x913f68[_0x249002(0x14f)](Math[_0x249002(0x149)](Date[_0x249002(0x14d)]()/0x3e8),_0x1fba54*0x3c)};}['\x67\x65\x74\x54\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'](_0x49dc00=a0_0x590ccf(0x136)){const _0x8d3587=a0_0x590ccf;return this[_0x8d3587(0x16d)][_0x49dc00]??this[_0x8d3587(0x16d)]['\x66\x72\x65\x65'];}};export{ProductTokenIssuer,getTokenTTL,isTokenExpiringSoon,issueBatchScopedToken,issueCollaborationToken,issueProjectScopedToken,issueReadToken,issueSessionScopedToken,unsafeDecodeToken,verifyToken};