import{g as U,c as w}from"./_commonjsHelpers.edff4021.js";var E={},H={get exports(){return E},set exports(a){E=a}};function L(a){throw new Error('Could not dynamically require "'+a+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var _={},T={get exports(){return _},set exports(a){_=a}};const P={},$=Object.freeze(Object.defineProperty({__proto__:null,default:P},Symbol.toStringTag,{value:"Module"})),D=U($);var I;function O(){return I||(I=1,function(a,C){(function(d,l){a.exports=l()})(w,function(){var d=d||function(l,b){var s;if(typeof window<"u"&&window.crypto&&(s=window.crypto),typeof self<"u"&&self.crypto&&(s=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(s=globalThis.crypto),!s&&typeof window<"u"&&window.msCrypto&&(s=window.msCrypto),!s&&typeof w<"u"&&w.crypto&&(s=w.crypto),!s&&typeof L=="function")try{s=D}catch{}var S=function(){if(s){if(typeof s.getRandomValues=="function")try{return s.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof s.randomBytes=="function")try{return s.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},R=Object.create||function(){function t(){}return function(r){var e;return t.prototype=r,e=new t,t.prototype=null,e}}(),u={},v=u.lib={},p=v.Base=function(){return{extend:function(t){var r=R(this);return t&&r.mixIn(t),(!r.hasOwnProperty("init")||this.init===r.init)&&(r.init=function(){r.$super.init.apply(this,arguments)}),r.init.prototype=r,r.$super=this,r},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var r in t)t.hasOwnProperty(r)&&(this[r]=t[r]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=v.WordArray=p.extend({init:function(t,r){t=this.words=t||[],r!=b?this.sigBytes=r:this.sigBytes=t.length*4},toString:function(t){return(t||o).stringify(this)},concat:function(t){var r=this.words,e=t.words,n=this.sigBytes,c=t.sigBytes;if(this.clamp(),n%4)for(var h=0;h<c;h++){var k=e[h>>>2]>>>24-h%4*8&255;r[n+h>>>2]|=k<<24-(n+h)%4*8}else for(var y=0;y<c;y+=4)r[n+y>>>2]=e[y>>>2];return this.sigBytes+=c,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=l.ceil(r/4)},clone:function(){var t=p.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var r=[],e=0;e<t;e+=4)r.push(S());return new f.init(r,t)}}),i=u.enc={},o=i.Hex={stringify:function(t){for(var r=t.words,e=t.sigBytes,n=[],c=0;c<e;c++){var h=r[c>>>2]>>>24-c%4*8&255;n.push((h>>>4).toString(16)),n.push((h&15).toString(16))}return n.join("")},parse:function(t){for(var r=t.length,e=[],n=0;n<r;n+=2)e[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new f.init(e,r/2)}},g=i.Latin1={stringify:function(t){for(var r=t.words,e=t.sigBytes,n=[],c=0;c<e;c++){var h=r[c>>>2]>>>24-c%4*8&255;n.push(String.fromCharCode(h))}return n.join("")},parse:function(t){for(var r=t.length,e=[],n=0;n<r;n++)e[n>>>2]|=(t.charCodeAt(n)&255)<<24-n%4*8;return new f.init(e,r)}},x=i.Utf8={stringify:function(t){try{return decodeURIComponent(escape(g.stringify(t)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(t){return g.parse(unescape(encodeURIComponent(t)))}},m=v.BufferedBlockAlgorithm=p.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(t){typeof t=="string"&&(t=x.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var r,e=this._data,n=e.words,c=e.sigBytes,h=this.blockSize,k=h*4,y=c/k;t?y=l.ceil(y):y=l.max((y|0)-this._minBufferSize,0);var B=y*h,q=l.min(B*4,c);if(B){for(var z=0;z<B;z+=h)this._doProcessBlock(n,z);r=n.splice(0,B),e.sigBytes-=q}return new f.init(r,q)},clone:function(){var t=p.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});v.Hasher=m.extend({cfg:p.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){m.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){t&&this._append(t);var r=this._doFinalize();return r},blockSize:16,_createHelper:function(t){return function(r,e){return new t.init(e).finalize(r)}},_createHmacHelper:function(t){return function(r,e){return new A.HMAC.init(t,e).finalize(r)}}});var A=u.algo={};return u}(Math);return d})}(T)),_}(function(a,C){(function(d,l){a.exports=l(O())})(w,function(d){return function(){var l=d,b=l.lib,s=b.WordArray,S=l.enc;S.Base64={stringify:function(u){var v=u.words,p=u.sigBytes,f=this._map;u.clamp();for(var i=[],o=0;o<p;o+=3)for(var g=v[o>>>2]>>>24-o%4*8&255,x=v[o+1>>>2]>>>24-(o+1)%4*8&255,m=v[o+2>>>2]>>>24-(o+2)%4*8&255,A=g<<16|x<<8|m,t=0;t<4&&o+t*.75<p;t++)i.push(f.charAt(A>>>6*(3-t)&63));var r=f.charAt(64);if(r)for(;i.length%4;)i.push(r);return i.join("")},parse:function(u){var v=u.length,p=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var i=0;i<p.length;i++)f[p.charCodeAt(i)]=i}var o=p.charAt(64);if(o){var g=u.indexOf(o);g!==-1&&(v=g)}return R(u,v,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function R(u,v,p){for(var f=[],i=0,o=0;o<v;o++)if(o%4){var g=p[u.charCodeAt(o-1)]<<o%4*2,x=p[u.charCodeAt(o)]>>>6-o%4*2,m=g|x;f[i>>>2]|=m<<24-i%4*8,i++}return s.create(f,i)}}(),d.enc.Base64})})(H);const F=E;var W={},M={get exports(){return W},set exports(a){W=a}};(function(a,C){(function(d,l){a.exports=l(O())})(w,function(d){return d.enc.Utf8})})(M);const V=W;function J(){const a=sessionStorage.getItem("access_token");return a?JSON.parse(V.stringify(F.parse(a.split(".")[1]))).info:null}export{J as u};
