HEX
Server: Apache/2.4.59 (Debian)
System: Linux keymana 4.19.0-21-cloud-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64
User: lijunjie (1003)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/uileague/cms/js/chunk-5367f256.2d342214.js
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5367f256","chunk-e97a62cc"],{"91a3":function(e,t,n){var o,r,i;
/** @license
 * eventsource.js
 * Available under MIT License (MIT)
 * https://github.com/Yaffle/EventSource/
 */(function(n){"use strict";var a=n.setTimeout,s=n.clearTimeout,c=n.XMLHttpRequest,d=n.XDomainRequest,u=n.EventSource,f=n.document,h=n.Promise,p=n.fetch,l=n.Response,v=n.TextDecoder,y=n.TextEncoder,g=n.AbortController;if(void 0==Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),void 0!=h&&void 0==h.prototype["finally"]&&(h.prototype["finally"]=function(e){return this.then((function(t){return h.resolve(e()).then((function(){return t}))}),(function(t){return h.resolve(e()).then((function(){throw t}))}))}),void 0!=p){var m=p;p=function(e,t){return h.resolve(m(e,t))}}if(void 0==g){var w=p;p=function(e,t){var n=t.signal;return w(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then((function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}}))},g=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function C(){this.bitsNeeded=0,this.codePoint=0}C.prototype.decode=function(e){function t(e,t,n){if(1===n)return e>=128>>t&&e<<t<=2047;if(2===n)return e>=2048>>t&&e<<t<=55295||e>=57344>>t&&e<<t<=65535;if(3===n)return e>=65536>>t&&e<<t<=1114111;throw new Error}function n(e,t){if(6===e)return t>>6>15?3:t>31?2:1;if(12===e)return t>15?3:2;if(18===e)return 3;throw new Error}for(var o=65533,r="",i=this.bitsNeeded,a=this.codePoint,s=0;s<e.length;s+=1){var c=e[s];0!==i&&(c<128||c>191||!t(a<<6|63&c,i-6,n(i,a)))&&(i=0,a=o,r+=String.fromCharCode(a)),0===i?(c>=0&&c<=127?(i=0,a=c):c>=192&&c<=223?(i=6,a=31&c):c>=224&&c<=239?(i=12,a=15&c):c>=240&&c<=247?(i=18,a=7&c):(i=0,a=o),0===i||t(a,i,n(i,a))||(i=0,a=o)):(i-=6,a=a<<6|63&c),0===i&&(a<=65535?r+=String.fromCharCode(a):(r+=String.fromCharCode(55296+(a-65535-1>>10)),r+=String.fromCharCode(56320+(a-65535-1&1023))))}return this.bitsNeeded=i,this.codePoint=a,r};var b=function(){try{return"test"===(new v).decode((new y).encode("test"),{stream:!0})}catch(e){console.log(e)}return!1};void 0!=v&&void 0!=y&&b()||(v=C);var T=function(){};function S(e){this.withCredentials=!1,this.responseType="",this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=T,this.onreadystatechange=T,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=T}function _(e){return e.replace(/[A-Z]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+32)}))}function E(e){for(var t=Object.create(null),n=e.split("\r\n"),o=0;o<n.length;o+=1){var r=n[o],i=r.split(": "),a=i.shift(),s=i.join(": ");t[_(a)]=s}this._map=t}function x(){}function A(e){this._headers=e}function O(){}function k(){this._listeners=Object.create(null)}function R(e){a((function(){throw e}),0)}function N(e){this.type=e,this.target=void 0}function j(e,t){N.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function I(e,t){N.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}S.prototype.open=function(e,t){this._abort(!0);var n=this,o=this._xhr,r=1,i=0;this._abort=function(e){0!==n._sendTimeout&&(s(n._sendTimeout),n._sendTimeout=0),1!==r&&2!==r&&3!==r||(r=4,o.onload=T,o.onerror=T,o.onabort=T,o.onprogress=T,o.onreadystatechange=T,o.abort(),0!==i&&(s(i),i=0),e||(n.readyState=4,n.onreadystatechange())),r=0};var d=function(){if(1===r){var e=0,t="",i=void 0;if("contentType"in o)e=200,t="OK",i=o.contentType;else try{e=o.status,t=o.statusText,i=o.getResponseHeader("Content-Type")}catch(a){e=0,t="",i=void 0}0!==e&&(r=2,n.readyState=2,n.status=e,n.statusText=t,n._contentType=i,n.onreadystatechange())}},u=function(){if(d(),2===r||3===r){r=3;var e="";try{e=o.responseText}catch(t){}n.readyState=3,n.responseText=e,n.onprogress()}},f=function(){u(),1!==r&&2!==r&&3!==r||(r=4,0!==i&&(s(i),i=0),n.readyState=4,n.onreadystatechange())},h=function(){void 0!=o&&(4===o.readyState?f():3===o.readyState?u():2===o.readyState&&d())},p=function(){i=a((function(){p()}),500),3===o.readyState&&u()};o.onload=f,o.onerror=f,o.onabort=f,"sendAsBinary"in c.prototype||"mozAnon"in c.prototype||(o.onprogress=u),o.onreadystatechange=h,"contentType"in o&&(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),o.open(e,t,!0),"readyState"in o&&(i=a((function(){p()}),0))},S.prototype.abort=function(){this._abort(!1)},S.prototype.getResponseHeader=function(e){return this._contentType},S.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},S.prototype.getAllResponseHeaders=function(){return void 0!=this._xhr.getAllResponseHeaders?this._xhr.getAllResponseHeaders():""},S.prototype.send=function(){if("ontimeout"in c.prototype||void 0==f||void 0==f.readyState||"complete"===f.readyState){var e=this._xhr;e.withCredentials=this.withCredentials,e.responseType=this.responseType;try{e.send(void 0)}catch(n){throw n}}else{var t=this;t._sendTimeout=a((function(){t._sendTimeout=0,t.send()}),4)}},E.prototype.get=function(e){return this._map[_(e)]},x.prototype.open=function(e,t,n,o,r,i,a){e.open("GET",r);var s=0;for(var c in e.onprogress=function(){var t=e.responseText,o=t.slice(s);s+=o.length,n(o)},e.onreadystatechange=function(){if(2===e.readyState){var n=e.status,r=e.statusText,i=e.getResponseHeader("Content-Type"),a=e.getAllResponseHeaders();t(n,r,i,new E(a))}else 4===e.readyState&&o()},e.withCredentials=i,e.responseType="text",a)Object.prototype.hasOwnProperty.call(a,c)&&e.setRequestHeader(c,a[c]);return e.send(),e},A.prototype.get=function(e){return this._headers.get(e)},O.prototype.open=function(e,t,n,o,r,i,a){var s=new g,c=s.signal,d=new v;return p(r,{headers:a,credentials:i?"include":"same-origin",signal:c,cache:"no-store"}).then((function(e){var o=e.body.getReader();return t(e.status,e.statusText,e.headers.get("Content-Type"),new A(e.headers)),new h((function(e,t){var r=function(){o.read().then((function(t){if(t.done)e(void 0);else{var o=d.decode(t.value,{stream:!0});n(o),r()}}))["catch"]((function(n){"AbortError"===n.name?e(void 0):t(n)}))};r()}))}))["finally"]((function(){o()})),s},k.prototype.dispatchEvent=function(e){e.target=this;var t=this._listeners[e.type];if(void 0!=t)for(var n=t.length,o=0;o<n;o+=1){var r=t[o];try{"function"===typeof r.handleEvent?r.handleEvent(e):r.call(this,e)}catch(i){R(i)}}},k.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,o=n[e];void 0==o&&(o=[],n[e]=o);for(var r=!1,i=0;i<o.length;i+=1)o[i]===t&&(r=!0);r||o.push(t)},k.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,o=n[e];if(void 0!=o){for(var r=[],i=0;i<o.length;i+=1)o[i]!==t&&r.push(o[i]);0===r.length?delete n[e]:n[e]=r}},j.prototype=Object.create(N.prototype),I.prototype=Object.create(N.prototype);var H=-1,P=0,D=1,U=2,B=-1,L=0,J=1,M=2,q=3,G=/^text\/event\-stream;?(\s*charset\=utf\-8)?$/i,z=1e3,F=18e6,X=function(e,t){var n=parseInt(e,10);return n!==n&&(n=t),Z(n)},Z=function(e){return Math.min(Math.max(e,z),F)},$=function(e,t,n){try{"function"===typeof t&&t.call(e,n)}catch(o){R(o)}};function K(e,t){k.call(this),this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this._close=void 0,W(this,e,t)}function Q(){return void 0!=c&&"withCredentials"in c.prototype||void 0==d?c:d}var V=void 0!=p&&void 0!=l&&"body"in l.prototype;function W(e,t,n){t=String(t);var o=void 0!=n&&Boolean(n.withCredentials),r=Z(1e3),i=void 0!=n&&void 0!=n.heartbeatTimeout?X(n.heartbeatTimeout,45e3):Z(45e3),c="",d=r,u=!1,f=void 0!=n&&void 0!=n.headers?JSON.parse(JSON.stringify(n.headers)):void 0,h=void 0!=n&&void 0!=n.Transport?n.Transport:Q(),p=!V||void 0!=n&&void 0!=n.Transport?new S(new h):void 0,l=void 0==p?new O:new x,v=void 0,y=0,g=H,m="",w="",C="",b="",T=L,_=0,E=0,A=function(t,n,o,i){if(g===P)if(200===t&&void 0!=o&&G.test(o)){g=D,u=!0,d=r,e.readyState=D;var a=new I("open",{status:t,statusText:n,headers:i});e.dispatchEvent(a),$(e,e.onopen,a)}else{var s="";200!==t?(n&&(n=n.replace(/\s+/g," ")),s="EventSource's response has a status "+t+" "+n+" that is not 200. Aborting the connection."):s="EventSource's response has a Content-Type specifying an unsupported type: "+(void 0==o?"-":o.replace(/\s+/g," "))+". Aborting the connection.",R(new Error(s)),F();a=new I("error",{status:t,statusText:n,headers:i});e.dispatchEvent(a),$(e,e.onerror,a)}},k=function(t){if(g===D){for(var n=-1,o=0;o<t.length;o+=1){var f=t.charCodeAt(o);f!=="\n".charCodeAt(0)&&f!=="\r".charCodeAt(0)||(n=o)}var h=(-1!==n?b:"")+t.slice(0,n+1);b=(-1===n?b:"")+t.slice(n+1),""!==h&&(u=!0);for(var p=0;p<h.length;p+=1){f=h.charCodeAt(p);if(T===B&&f==="\n".charCodeAt(0))T=L;else if(T===B&&(T=L),f==="\r".charCodeAt(0)||f==="\n".charCodeAt(0)){if(T!==L){T===J&&(E=p+1);var l=h.slice(_,E-1),v=h.slice(E+(E<p&&h.charCodeAt(E)===" ".charCodeAt(0)?1:0),p);"data"===l?(m+="\n",m+=v):"id"===l?w=v:"event"===l?C=v:"retry"===l?(r=X(v,r),d=r):"heartbeatTimeout"===l&&(i=X(v,i),0!==y&&(s(y),y=a((function(){K()}),i)))}if(T===L){if(""!==m){c=w,""===C&&(C="message");var S=new j(C,{data:m.slice(1),lastEventId:w});if(e.dispatchEvent(S),"message"===C&&$(e,e.onmessage,S),g===U)return}m="",C=""}T=f==="\r".charCodeAt(0)?B:L}else T===L&&(_=p,T=J),T===J?f===":".charCodeAt(0)&&(E=p+1,T=M):T===M&&(T=q)}}},z=function(){if(g===D||g===P){g=H,0!==y&&(s(y),y=0),y=a((function(){K()}),d),d=Z(Math.min(16*r,2*d)),e.readyState=P;var t=new N("error");e.dispatchEvent(t),$(e,e.onerror,t)}},F=function(){g=U,void 0!=v&&(v.abort(),v=void 0),0!==y&&(s(y),y=0),e.readyState=U},K=function(){if(y=0,g===H){u=!1,y=a((function(){K()}),i),g=P,m="",C="",w=c,b="",_=0,E=0,T=L;var e=t;"data:"!==t.slice(0,5)&&"blob:"!==t.slice(0,5)&&""!==c&&(e+=(-1===t.indexOf("?")?"?":"&")+"lastEventId="+encodeURIComponent(c));var n={Accept:"text/event-stream"};if(void 0!=f)for(var r in f)Object.prototype.hasOwnProperty.call(f,r)&&(n[r]=f[r]);try{v=l.open(p,A,k,z,e,o,n)}catch(s){throw F(),s}}else u||void 0==v?(u=!1,y=a((function(){K()}),i)):(R(new Error("No activity within "+i+" milliseconds. Reconnecting.")),v.abort(),v=void 0)};e.url=t,e.readyState=P,e.withCredentials=o,e._close=F,K()}K.prototype=Object.create(k.prototype),K.prototype.CONNECTING=P,K.prototype.OPEN=D,K.prototype.CLOSED=U,K.prototype.close=function(){this._close()},K.CONNECTING=P,K.OPEN=D,K.CLOSED=U,K.prototype.withCredentials=void 0,function(n){if("object"===typeof e.exports){var a=n(t);void 0!==a&&(e.exports=a)}else r=[t],o=n,i="function"===typeof o?o.apply(t,r):o,void 0===i||(e.exports=i)}((function(e){e.EventSourcePolyfill=K,e.NativeEventSource=u,void 0==c||void 0!=u&&"withCredentials"in u.prototype||(e.EventSource=K)}))})("undefined"!==typeof window?window:"undefined"!==typeof self?self:this)},a78e:function(e,t,n){var o,r;
/*!
 * JavaScript Cookie v2.2.0
 * https://github.com/js-cookie/js-cookie
 *
 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
 * Released under the MIT license
 */(function(i){var a=!1;if(o=i,r="function"===typeof o?o.call(t,n,t,e):o,void 0===r||(e.exports=r),a=!0,e.exports=i(),a=!0,!a){var s=window.Cookies,c=window.Cookies=i();c.noConflict=function(){return window.Cookies=s,c}}})((function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var o in n)t[o]=n[o]}return t}function t(n){function o(t,r,i){var a;if("undefined"!==typeof document){if(arguments.length>1){if(i=e({path:"/"},o.defaults,i),"number"===typeof i.expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*i.expires),i.expires=s}i.expires=i.expires?i.expires.toUTCString():"";try{a=JSON.stringify(r),/^[\{\[]/.test(a)&&(r=a)}catch(y){}r=n.write?n.write(r,t):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)),t=t.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),t=t.replace(/[\(\)]/g,escape);var c="";for(var d in i)i[d]&&(c+="; "+d,!0!==i[d]&&(c+="="+i[d]));return document.cookie=t+"="+r+c}t||(a={});for(var u=document.cookie?document.cookie.split("; "):[],f=/(%[0-9A-Z]{2})+/g,h=0;h<u.length;h++){var p=u[h].split("="),l=p.slice(1).join("=");this.json||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var v=p[0].replace(f,decodeURIComponent);if(l=n.read?n.read(l,v):n(l,v)||l.replace(f,decodeURIComponent),this.json)try{l=JSON.parse(l)}catch(y){}if(t===v){a=l;break}t||(a[v]=l)}catch(y){}}return a}}return o.set=o,o.get=function(e){return o.call(o,e)},o.getJSON=function(){return o.apply({json:!0},[].slice.call(arguments))},o.defaults={},o.remove=function(t,n){o(t,"",e(n,{expires:-1}))},o.withConverter=t,o}return t((function(){}))}))},b9d2:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return u}));var o=n("2b0e"),r=(n("91a3"),n("ceb2")),i=n("4360");function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(){function e(t,n){var o=this;a(this,e),d(this,"source",null),this.source=new EventSourcePolyfill(t,{headers:{Authorization:Object(r["getToken"])("access_token")}}),this.open(),n.forEach((function(e){o.addEventListener(e)}))}return c(e,[{key:"open",value:function(){this.source.onopen=function(e){console.log("sse opened",e)}}},{key:"error",value:function(){this.source.onerror=function(e){console.log("error",e)}}},{key:"addEventListener",value:function(e){this.source.addEventListener(e,(function(e){i["default"].commit("ADD_UNREAD_MESSAGE",{data:e.data,id:e.lastEventId}),o["default"].prototype.$notify({title:"您有新的消息",dangerouslyUseHTMLString:!0,message:'<strong class="my-notify">'.concat(JSON.parse(e.data).message,"</strong>")})}))}}]),e}()},ceb2:function(e,t,n){"use strict";n.r(t),n.d(t,"saveTokens",(function(){return i})),n.d(t,"saveAccessToken",(function(){return a})),n.d(t,"getToken",(function(){return s})),n.d(t,"removeToken",(function(){return c}));var o=n("a78e"),r=n.n(o);function i(e,t){r.a.set("access_token","Bearer ".concat(e)),r.a.set("refresh_token","Bearer ".concat(t))}function a(e){r.a.set("access_token","Bearer ".concat(e))}function s(e){return r.a.get(e)}function c(){r.a.remove("access_token"),r.a.remove("refresh_token"),sessionStorage.removeItem("flag"),sessionStorage.clear(),localStorage.clear()}}}]);