*/(function(i){var c;if(r=i,o="function"===typeof r?r.call(n,t,n,e):r,void 0===o||(e.exports=o),c=!0,e.exports=i(),c=!0,!c){var u=window.Cookies,s=window.Cookies=i();s.noConflict=function(){return window.Cookies=u,s}}})((function(){function e(){for(var e=0,n={};e<arguments.length;e++){var t=arguments[e];for(var r in t)n[r]=t[r]}return n}function n(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function t(r){function o(){}function i(n,t,i){if("undefined"!==typeof document){i=e({path:"/"},o.defaults,i),"number"===typeof i.expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var c=JSON.stringify(t);/^[\{\[]/.test(c)&&(t=c)}catch(a){}t=r.write?r.write(t,n):encodeURIComponent(String(t)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=encodeURIComponent(String(n)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var u="";for(var s in i)i[s]&&(u+="; "+s,!0!==i[s]&&(u+="="+i[s].split(";")[0]));return document.cookie=n+"="+t+u}}function c(e,t){if("undefined"!==typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],c=0;c<i.length;c++){var u=i[c].split("="),s=u.slice(1).join("=");t||'"'!==s.charAt(0)||(s=s.slice(1,-1));try{var a=n(u[0]);if(s=(r.read||r)(s,a)||n(s),t)try{s=JSON.parse(s)}catch(f){}if(o[a]=s,e===a)break}catch(f){}}return e?o[e]:o}}return o.set=i,o.get=function(e){return c(e,!1)},o.getJSON=function(e){return c(e,!0)},o.remove=function(n,t){i(n,"",e(t,{expires:-1}))},o.defaults={},o.withConverter=t,o}return t((function(){}))}))},54620:function(e,n,t){"use strict";t.r(n),t.d(n,{getToken:function(){return u},removeToken:function(){return s},saveAccessToken:function(){return c},saveTokens:function(){return i}});var r=t(12215),o=t.n(r);function i(e,n){o().set("access_token",`Bearer ${e}`),o().set("refresh_token",`Bearer ${n}`)}function c(e){o().set("access_token",`Bearer ${e}`)}function u(e){return o().get(e)}function s(){o().remove("access_token"),o().remove("refresh_token"),sessionStorage.removeItem("flag"),sessionStorage.clear(),localStorage.clear()}}}]);
|