mirror of
https://github.com/brunofontes/shareit.git
synced 2024-11-27 21:31:27 +00:00
49 lines
251 KiB
JavaScript
49 lines
251 KiB
JavaScript
|
var Km=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports);var DT=Km((LT,Xo)=>{var ts=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qm(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Lc={exports:{}};/**
|
||
|
* @license
|
||
|
* Lodash <https://lodash.com/>
|
||
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
||
|
* Released under MIT license <https://lodash.com/license>
|
||
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||
|
*/(function(t,r){(function(){var i,o="4.17.21",l=200,p="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",v="Expected a function",k="Invalid `variable` option passed into `_.template`",x="__lodash_hash_undefined__",N=500,L="__lodash_placeholder__",C=1,q=2,$=4,W=1,M=2,E=1,I=2,J=4,ee=8,Se=16,we=32,Ye=64,Ie=128,ze=256,Ve=512,bt=30,Ta="...",ka=800,xa=16,An=1,_r=2,Oa=3,on=1/0,qt=9007199254740991,Ca=17976931348623157e292,gr=0/0,ft=4294967295,ys=ft-1,Pa=ft>>>1,Ra=[["ary",Ie],["bind",E],["bindKey",I],["curry",ee],["curryRight",Se],["flip",Ve],["partial",we],["partialRight",Ye],["rearg",ze]],tt="[object Arguments]",vr="[object Array]",Aa="[object AsyncFunction]",Pe="[object Boolean]",Me="[object Date]",Ea="[object DOMException]",Gn="[object Error]",nt="[object Function]",Qr="[object GeneratorFunction]",ht="[object Map]",Mt="[object Number]",ms="[object Null]",Lt="[object Object]",ei="[object Promise]",ws="[object Proxy]",$n="[object RegExp]",rt="[object Set]",Vn="[object String]",yr="[object Symbol]",Da="[object Undefined]",Jn="[object WeakMap]",mr="[object WeakSet]",Xn="[object ArrayBuffer]",pe="[object DataView]",ti="[object Float32Array]",ni="[object Float64Array]",ri="[object Int8Array]",ii="[object Int16Array]",si="[object Int32Array]",oi="[object Uint8Array]",ai="[object Uint8ClampedArray]",ui="[object Uint16Array]",ci="[object Uint32Array]",li=/\b__p \+= '';/g,fi=/\b(__p \+=) '' \+/g,Ma=/(__e\(.*?\)|\b__t\)) \+\n'';/g,bs=/&(?:amp|lt|gt|quot|#39);/g,Ss=/[&<>"']/g,La=RegExp(bs.source),Ia=RegExp(Ss.source),hi=/<%-([\s\S]+?)%>/g,Na=/<%([\s\S]+?)%>/g,St=/<%=([\s\S]+?)%>/g,Fa=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ua=/^\w*$/,Ya=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,di=/[\\^$.*+?()[\]{}|]/g,En=RegExp(di.source),pi=/^\s+/,Ts=/\s/,ks=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,xs=/\{\n\/\* \[wrapped with (.+)\] \*/,Os=/,? & /,Wa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ha=/[()=,{}\[\]\/\s]/,Ba=/\\(\\)?/g,wr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Cs=/\w*$/,Ps=/^[-+]0x[0-9a-f]+$/i,qa=/^0b[01]+$/i,za=/^\[object .+?Constructor\]$/,ja=/^0o[0-7]+$/i,Ga=/^(?:0|[1-9]\d*)$/,$a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,br=/($^)/,Va=/['\n\r\u2028\u2029\\]/g,Sr="\\ud800-\\udfff",Rs="\\u0300-\\u036f",an="\\ufe20-\\ufe2f",Ja="\\u20d0-\\u20ff",As=Rs+an+Ja,Es="\\u2700-\\u27bf",Ds="a-z\\xdf-\\xf6\\xf8-\\xff",Xa="\\xac\\xb1\\xd7\\xf7",Za="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ka="\\u2000-\\u206f",Qa=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ms="A-Z\\xc0-\\xd6\\xd8-\\xde",Tr="\\ufe0e\\ufe0f",Ls=Xa+Za+Ka+Qa,_i="['\u2019]",gi="["+Sr+"]",Is="["+Ls+"]",kr="["+As+"]",Ns="\\d+",eu="["+Es+"]",Fs="["+Ds+"]",Us="[^"+Sr+Ls+Ns+Es+Ds+Ms+"]",vi="\\ud83c[\\udffb-\\udfff]",tu="(?:"+kr+"|"+vi+")",xr="[^"+Sr+"]",yi="(?:\\ud83c[\\udde6-\\uddff]){2}",mi="[\\ud800-\\udbff][\\udc00-\\udfff]",Dn="["+Ms+"]",Ys="\\u200d",Ws="(?:"+Fs+"|"+Us+")",nu="(?:"+Dn+"|"+Us+")",Hs="(?:"+_i+"(?:d|ll|m|re|s|t|ve))?",Bs="(?:"+_i+"(?:D|LL|M|RE|S|T|VE))?",qs=tu+"?",zs="["+Tr+"]?",It="(?:"+Ys+"(?:"+[xr,yi,mi].join("|")+")"+zs+qs+")*",ru="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",js="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Gs=zs+qs+It,un="(?:"+[eu,yi,mi].join("|")+")"+Gs,iu="(?:"+[xr+kr+"?",kr,yi,mi,gi].join("|")+")",wi=RegExp(_i,"g"),su=RegExp(kr,"g"),bi=RegExp(vi+"(?="+vi+")|"+iu+Gs,"g"),ou=RegExp([Dn+"?"+Fs+"+"+Hs+"(?="+[Is,Dn,"$"].join("|")+")",nu+"+"+Bs+"(?="+[Is,Dn+Ws,"$"].join("|")+")",Dn+"?"+Ws+"+"+Hs,Dn+"+"+Bs,js,ru,Ns,un].join("|"),"g"),au=RegExp("["+Ys+Sr+As+Tr+"]"),uu=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Si=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setT
|
||
|
/* [wrapped with `+n+`] */
|
||
|
`)}function A_(e){return te(e)||lr(e)||!!(Ol&&e&&e[Ol])}function gn(e,n){var s=typeof e;return n=n==null?qt:n,!!n&&(s=="number"||s!="symbol"&&Ga.test(e))&&e>-1&&e%1==0&&e<n}function Qe(e,n,s){if(!Ce(s))return!1;var h=typeof n;return(h=="number"?at(s)&&gn(n,s.length):h=="string"&&n in s)?Ft(s[n],e):!1}function ac(e,n){if(te(e))return!1;var s=typeof e;return s=="number"||s=="symbol"||s=="boolean"||e==null||_t(e)?!0:Ua.test(e)||!Fa.test(e)||n!=null&&e in j(n)}function E_(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}function uc(e){var n=Eo(e),s=y[n];if(typeof s!="function"||!(n in ae.prototype))return!1;if(e===s)return!0;var h=ic(s);return!!h&&e===h[0]}function D_(e){return!!Fi&&Fi in e}var M_=Er?vn:xc;function Ki(e){var n=e&&e.constructor,s=typeof n=="function"&&n.prototype||ln;return e===s}function Tf(e){return e===e&&!Ce(e)}function kf(e,n){return function(s){return s==null?!1:s[e]===n&&(n!==i||e in j(s))}}function L_(e){var n=Fo(e,function(h){return s.size===N&&s.clear(),h}),s=n.cache;return n}function I_(e,n){var s=e[1],h=n[1],g=s|h,m=g<(E|I|Ie),w=h==Ie&&s==ee||h==Ie&&s==ze&&e[7].length<=n[8]||h==(Ie|ze)&&n[7].length<=n[8]&&s==ee;if(!(m||w))return e;h&E&&(e[2]=n[2],g|=s&E?0:J);var b=n[3];if(b){var T=e[3];e[3]=T?of(T,b,n[4]):b,e[4]=T?Vt(e[3],L):n[4]}return b=n[5],b&&(T=e[5],e[5]=T?af(T,b,n[6]):b,e[6]=T?Vt(e[5],L):n[6]),b=n[7],b&&(e[7]=b),h&Ie&&(e[8]=e[8]==null?n[8]:je(e[8],n[8])),e[9]==null&&(e[9]=n[9]),e[0]=n[0],e[1]=g,e}function N_(e){var n=[];if(e!=null)for(var s in j(e))n.push(s);return n}function F_(e){return tr.call(e)}function xf(e,n,s){return n=Fe(n===i?e.length-1:n,0),function(){for(var h=arguments,g=-1,m=Fe(h.length-n,0),w=_(m);++g<m;)w[g]=h[n+g];g=-1;for(var b=_(n+1);++g<n;)b[g]=h[g];return b[n]=s(w),Je(e,this,b)}}function Of(e,n){return n.length<2?e:ar(e,Ot(n,0,-1))}function U_(e,n){for(var s=e.length,h=je(n.length,s),g=ot(e);h--;){var m=n[h];e[h]=gn(m,s)?g[m]:i}return e}function cc(e,n){if(!(n==="constructor"&&typeof e[n]=="function")&&n!="__proto__")return e[n]}var Cf=Rf(Jl),Qi=Qd||function(e,n){return Ne.setTimeout(e,n)},lc=Rf(a_);function Pf(e,n,s){var h=n+"";return lc(e,R_(h,Y_(O_(h),s)))}function Rf(e){var n=0,s=0;return function(){var h=rp(),g=xa-(h-s);if(s=h,g>0){if(++n>=ka)return arguments[0]}else n=0;return e.apply(i,arguments)}}function Mo(e,n){var s=-1,h=e.length,g=h-1;for(n=n===i?h:n;++s<n;){var m=Gu(s,g),w=e[m];e[m]=e[s],e[s]=w}return e.length=n,e}var Af=L_(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(Ya,function(s,h,g,m){n.push(g?m.replace(Ba,"$1"):h||s)}),n});function Kt(e){if(typeof e=="string"||_t(e))return e;var n=e+"";return n=="0"&&1/e==-on?"-0":n}function cr(e){if(e!=null){try{return er.call(e)}catch{}try{return e+""}catch{}}return""}function Y_(e,n){return Xe(Ra,function(s){var h="_."+s[0];n&s[1]&&!Pr(e,h)&&e.push(h)}),e.sort()}function Ef(e){if(e instanceof ae)return e.clone();var n=new kt(e.__wrapped__,e.__chain__);return n.__actions__=ot(e.__actions__),n.__index__=e.__index__,n.__values__=e.__values__,n}function W_(e,n,s){(s?Qe(e,n,s):n===i)?n=1:n=Fe(ne(n),0);var h=e==null?0:e.length;if(!h||n<1)return[];for(var g=0,m=0,w=_(_o(h/n));g<h;)w[m++]=Ot(e,g,g+=n);return w}function H_(e){for(var n=-1,s=e==null?0:e.length,h=0,g=[];++n<s;){var m=e[n];m&&(g[h++]=m)}return g}function B_(){var e=arguments.length;if(!e)return[];for(var n=_(e-1),s=arguments[0],h=e;h--;)n[h-1]=arguments[h];return Gt(te(s)?ot(s):[s],He(n,1))}var q_=se(function(e,n){return Ae(e)?$i(e,He(n,1,Ae,!0)):[]}),z_=se(function(e,n){var s=Ct(n);return Ae(s)&&(s=i),Ae(e)?$i(e,He(n,1,Ae,!0),X(s,2)):[]}),j_=se(function(e,n){var s=Ct(n);return Ae(s)&&(s=i),Ae(e)?$i(e,He(n,1,Ae,!0),i,s):[]});function G_(e,n,s){var h=e==null?0:e.length;return h?(n=s||n===i?1:ne(n),Ot(e,n<0?0:n,h)):[]}function $_(e,n,s){var h=e==null?0:e.length;return h?(n=s||n===i?1:ne(n),n=h-n,Ot(e,0,n<0?0:n)):[]}function V_(e,n){return e&&e.length?xo(e,X(n,3),!0,!0):[]}function J_(e,n){return e&&e.length?xo(e,X(n,3),!0):[]}function X_(e,n,s,h){var g=e==null?0:e.length;return g?(s&&t
|
||
|
`;e.replace(H,function(K,oe,ce,gt,et,vt){return ce||(ce=gt),D+=e.slice(P,vt).replace(Va,ku),oe&&(b=!0,D+=`' +
|
||
|
__e(`+oe+`) +
|
||
|
'`),et&&(T=!0,D+=`';
|
||
|
`+et+`;
|
||
|
__p += '`),ce&&(D+=`' +
|
||
|
((__t = (`+ce+`)) == null ? '' : __t) +
|
||
|
'`),P=vt+K.length,K}),D+=`';
|
||
|
`;var Z=_e.call(n,"variable")&&n.variable;if(!Z)D=`with (obj) {
|
||
|
`+D+`
|
||
|
}
|
||
|
`;else if(Ha.test(Z))throw new O(k);D=(T?D.replace(li,""):D).replace(fi,"$1").replace(Ma,"$1;"),D="function("+(Z||"obj")+`) {
|
||
|
`+(Z?"":`obj || (obj = {});
|
||
|
`)+"var __t, __p = ''"+(b?", __e = _.escape":"")+(T?`, __j = Array.prototype.join;
|
||
|
function print() { __p += __j.call(arguments, '') }
|
||
|
`:`;
|
||
|
`)+D+`return __p
|
||
|
}`;var ie=ch(function(){return Y(m,G+"return "+D).apply(i,w)});if(ie.source=D,_c(ie))throw ie;return ie}function sm(e){return ge(e).toLowerCase()}function om(e){return ge(e).toUpperCase()}function am(e,n,s){if(e=ge(e),e&&(s||n===i))return no(e);if(!e||!(n=pt(n)))return e;var h=dt(e),g=dt(n),m=ro(h,g),w=so(h,g)+1;return Wn(h,m,w).join("")}function um(e,n,s){if(e=ge(e),e&&(s||n===i))return e.slice(0,uo(e)+1);if(!e||!(n=pt(n)))return e;var h=dt(e),g=so(h,dt(n))+1;return Wn(h,0,g).join("")}function cm(e,n,s){if(e=ge(e),e&&(s||n===i))return e.replace(pi,"");if(!e||!(n=pt(n)))return e;var h=dt(e),g=ro(h,dt(n));return Wn(h,g).join("")}function lm(e,n){var s=bt,h=Ta;if(Ce(n)){var g="separator"in n?n.separator:g;s="length"in n?ne(n.length):s,h="omission"in n?pt(n.omission):h}e=ge(e);var m=e.length;if(In(e)){var w=dt(e);m=w.length}if(s>=m)return e;var b=s-Nn(h);if(b<1)return h;var T=w?Wn(w,0,b).join(""):e.slice(0,b);if(g===i)return T+h;if(w&&(b+=T.length-b),gc(g)){if(e.slice(b).search(g)){var P,R=T;for(g.global||(g=xe(g.source,ge(Cs.exec(g))+"g")),g.lastIndex=0;P=g.exec(R);)var D=P.index;T=T.slice(0,D===i?b:D)}}else if(e.indexOf(pt(g),b)!=b){var H=T.lastIndexOf(g);H>-1&&(T=T.slice(0,H))}return T+h}function fm(e){return e=ge(e),e&&La.test(e)?e.replace(bs,co):e}var hm=Ur(function(e,n,s){return e+(s?" ":"")+n.toUpperCase()}),mc=lf("toUpperCase");function uh(e,n,s){return e=ge(e),n=s?i:n,n===i?xu(e)?c(e):mu(e):e.match(n)||[]}var ch=se(function(e,n){try{return Je(e,i,n)}catch(s){return _c(s)?s:new O(s)}}),dm=_n(function(e,n){return Xe(n,function(s){s=Kt(s),dn(e,s,dc(e[s],e))}),e});function pm(e){var n=e==null?0:e.length,s=X();return e=n?be(e,function(h){if(typeof h[1]!="function")throw new st(v);return[s(h[0]),h[1]]}):[],se(function(h){for(var g=-1;++g<n;){var m=e[g];if(Je(m[0],this,h))return Je(m[1],this,h)}})}function _m(e){return Wp(xt(e,C))}function wc(e){return function(){return e}}function gm(e,n){return e==null||e!==e?n:e}var vm=hf(),ym=hf(!0);function ct(e){return e}function bc(e){return Hl(typeof e=="function"?e:xt(e,C))}function mm(e){return ql(xt(e,C))}function wm(e,n){return zl(e,xt(n,C))}var bm=se(function(e,n){return function(s){return Vi(s,e,n)}}),Sm=se(function(e,n){return function(s){return Vi(e,s,n)}});function Sc(e,n,s){var h=We(n),g=So(n,h);s==null&&!(Ce(n)&&(g.length||!h.length))&&(s=n,n=e,e=this,g=So(n,We(n)));var m=!(Ce(s)&&"chain"in s)||!!s.chain,w=vn(e);return Xe(g,function(b){var T=n[b];e[b]=T,w&&(e.prototype[b]=function(){var P=this.__chain__;if(m||P){var R=e(this.__wrapped__),D=R.__actions__=ot(this.__actions__);return D.push({func:T,args:arguments,thisArg:e}),R.__chain__=P,R}return T.apply(e,Gt([this.value()],arguments))})}),e}function Tm(){return Ne._===this&&(Ne._=Ui),this}function Tc(){}function km(e){return e=ne(e),se(function(n){return jl(n,e)})}var xm=ec(be),Om=ec(xi),Cm=ec(Pi);function lh(e){return ac(e)?Ri(Kt(e)):r_(e)}function Pm(e){return function(n){return e==null?i:ar(e,n)}}var Rm=pf(),Am=pf(!0);function kc(){return[]}function xc(){return!1}function Em(){return{}}function Dm(){return""}function Mm(){return!0}function Lm(e,n){if(e=ne(e),e<1||e>qt)return[];var s=ft,h=je(e,ft);n=X(n),e-=ft;for(var g=Mi(h,n);++s<e;)n(s);return g}function Im(e){return te(e)?be(e,Kt):_t(e)?[e]:ot(Af(ge(e)))}function Nm(e){var n=++Du;return ge(e)+n}var Fm=Po(function(e,n){return e+n},0),Um=tc("ceil"),Ym=Po(function(e,n){return e/n},1),Wm=tc("floor");function Hm(e){return e&&e.length?bo(e,ct,Wu):i}function Bm(e,n){return e&&e.length?bo(e,X(n,2),Wu):i}function qm(e){return to(e,ct)}function zm(e,n){return to(e,X(n,2))}function jm(e){return e&&e.length?bo(e,ct,zu):i}function Gm(e,n){return e&&e.length?bo(e,X(n,2),zu):i}var $m=Po(function(e,n){return e*n},1),Vm=tc("round"),Jm=Po(function(e,n){return e-n},0);function Xm(e){return e&&e.length?Di(e,ct):0}function Zm(e,n){return e&&e.length?Di(e,X(n,2)):0}return y.after=mv,y.ary=Hf,y.assign=oy,y.assignIn=th,y.assignInWith=Ho,y.assignWith=ay,y.at=uy,y.before=Bf,y.bind=dc,y.bindAll=dm,y.bindKey=qf,y.castArray=Ev,y.chain=Uf,y.chunk=W_,y.compact=H_,y.concat=B_,y.cond=pm,y.conform
|
||
|
`).forEach(function(v){l=v.indexOf(":"),i=v.substring(0,l).trim().toLowerCase(),o=v.substring(l+1).trim(),!(!i||r[i]&&Z0[i])&&(i==="set-cookie"?r[i]?r[i].push(o):r[i]=[o]:r[i]=r[i]?r[i]+", "+o:o)}),r},vh=Symbol("internals");function ns(t){return t&&String(t).trim().toLowerCase()}function jo(t){return t===!1||t==null?t:A.isArray(t)?t.map(jo):String(t)}function Q0(t){const r=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=i.exec(t);)r[o[1]]=o[2];return r}const ew=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Cc(t,r,i,o,l){if(A.isFunction(o))return o.call(this,r,i);if(l&&(r=i),!!A.isString(r)){if(A.isString(o))return r.indexOf(o)!==-1;if(A.isRegExp(o))return o.test(r)}}function tw(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,i,o)=>i.toUpperCase()+o)}function nw(t,r){const i=A.toCamelCase(" "+r);["get","set","has"].forEach(o=>{Object.defineProperty(t,o+i,{value:function(l,p,v){return this[o].call(this,r,l,p,v)},configurable:!0})})}class la{constructor(r){r&&this.set(r)}set(r,i,o){const l=this;function p(k,x,N){const L=ns(x);if(!L)throw new Error("header name must be a non-empty string");const C=A.findKey(l,L);(!C||l[C]===void 0||N===!0||N===void 0&&l[C]!==!1)&&(l[C||x]=jo(k))}const v=(k,x)=>A.forEach(k,(N,L)=>p(N,L,x));return A.isPlainObject(r)||r instanceof this.constructor?v(r,i):A.isString(r)&&(r=r.trim())&&!ew(r)?v(K0(r),i):r!=null&&p(i,r,o),this}get(r,i){if(r=ns(r),r){const o=A.findKey(this,r);if(o){const l=this[o];if(!i)return l;if(i===!0)return Q0(l);if(A.isFunction(i))return i.call(this,l,o);if(A.isRegExp(i))return i.exec(l);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,i){if(r=ns(r),r){const o=A.findKey(this,r);return!!(o&&this[o]!==void 0&&(!i||Cc(this,this[o],o,i)))}return!1}delete(r,i){const o=this;let l=!1;function p(v){if(v=ns(v),v){const k=A.findKey(o,v);k&&(!i||Cc(o,o[k],k,i))&&(delete o[k],l=!0)}}return A.isArray(r)?r.forEach(p):p(r),l}clear(r){const i=Object.keys(this);let o=i.length,l=!1;for(;o--;){const p=i[o];(!r||Cc(this,this[p],p,r,!0))&&(delete this[p],l=!0)}return l}normalize(r){const i=this,o={};return A.forEach(this,(l,p)=>{const v=A.findKey(o,p);if(v){i[v]=jo(l),delete i[p];return}const k=r?tw(p):String(p).trim();k!==p&&delete i[p],i[k]=jo(l),o[k]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const i=Object.create(null);return A.forEach(this,(o,l)=>{o!=null&&o!==!1&&(i[l]=r&&A.isArray(o)?o.join(", "):o)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([r,i])=>r+": "+i).join(`
|
||
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...i){const o=new this(r);return i.forEach(l=>o.set(l)),o}static accessor(r){const o=(this[vh]=this[vh]={accessors:{}}).accessors,l=this.prototype;function p(v){const k=ns(v);o[k]||(nw(l,v),o[k]=!0)}return A.isArray(r)?r.forEach(p):p(r),this}}la.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);A.reduceDescriptors(la.prototype,({value:t},r)=>{let i=r[0].toUpperCase()+r.slice(1);return{get:()=>t,set(o){this[i]=o}}});A.freezeMethods(la);const kn=la;function Pc(t,r){const i=this||Zc,o=r||i,l=kn.from(o.headers);let p=o.data;return A.forEach(t,function(k){p=k.call(i,p,l.normalize(),r?r.status:void 0)}),l.normalize(),p}function Zh(t){return!!(t&&t.__CANCEL__)}function ds(t,r,i){le.call(this,t==null?"canceled":t,le.ERR_CANCELED,r,i),this.name="CanceledError"}A.inherits(ds,le,{__CANCEL__:!0});function rw(t,r,i){const o=i.config.validateStatus;!i.status||!o||o(i.status)?t(i):r(new le("Request failed with status code "+i.status,[le.ERR_BAD_REQUEST,le.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}const iw=en.hasStandardBrowserEnv?{write(t,r,i,o,l,p){const v=[t+"="+encodeURIComponent(r)];A.isNumber(i)&&v.push("expires="+new Date(i).toGMTString()),A.isString(o)&&v.push("path="+o),A.isString(l)&&v.push("domain="+l),p===!0&&v.push("secure"),document.cookie=v.join("; ")},read(t){const r=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function sw(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function ow(t,r){return r?t.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):t}function Kh(t,r){return t&&!sw(r)?ow(t,r):r}const aw=en.hasStandardBrowserEnv?function(){const r=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");let o;function l(p){let v=p;return r&&(i.setAttribute("href",v),v=i.href),i.setAttribute("href",v),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return o=l(window.location.href),function(v){const k=A.isString(v)?l(v):v;return k.protocol===o.protocol&&k.host===o.host}}():function(){return function(){return!0}}();function uw(t){const r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return r&&r[1]||""}function cw(t,r){t=t||10;const i=new Array(t),o=new Array(t);let l=0,p=0,v;return r=r!==void 0?r:1e3,function(x){const N=Date.now(),L=o[p];v||(v=N),i[l]=x,o[l]=N;let C=p,q=0;for(;C!==l;)q+=i[C++],C=C%t;if(l=(l+1)%t,l===p&&(p=(p+1)%t),N-v<r)return;const $=L&&N-L;return $?Math.round(q*1e3/$):void 0}}function yh(t,r){let i=0;const o=cw(50,250);return l=>{const p=l.loaded,v=l.lengthComputable?l.total:void 0,k=p-i,x=o(k),N=p<=v;i=p;const L={loaded:p,total:v,progress:v?p/v:void 0,bytes:k,rate:x||void 0,estimated:x&&v&&N?(v-p)/x:void 0,event:l};L[r?"download":"upload"]=!0,t(L)}}const lw=typeof XMLHttpRequest<"u",fw=lw&&function(t){return new Promise(function(i,o){let l=t.data;const p=kn.from(t.headers).normalize();let{responseType:v,withXSRFToken:k}=t,x;function N(){t.cancelToken&&t.cancelToken.unsubscribe(x),t.signal&&t.signal.removeEventListener("abort",x)}let L;if(A.isFormData(l)){if(en.hasStandardBrowserEnv||en.hasStandardBrowserWebWorkerEnv)p.setContentType(!1);else if((L=p.getContentType())!==!1){const[M,...E]=L?L.split(";").map(I=>I.trim()).filter(Boolean):[];p.setContentType([M||"multipart/form-data",...E].join("; "))}}let C=new XMLHttpRequest;if(t.auth){const M=t.auth.username||"",E=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";p.set("Authorization","Basic "+btoa(M+":"+E))}const q=Kh(t.baseURL,t.url);C.open(t.method.toUpperCase(),$h(q,t.params,t.paramsSerializer),!0),C.timeout=t.timeout;function $(){if(!C)return;const M=kn.from("getAllResponseHeaders"in C&&C.getAllRe
|
||
|
`+p.map(mh).join(`
|
||
|
`):" "+mh(p[0]):"as no adapter specified";throw new le("There is no suitable adapter to dispatch the request "+v,"ERR_NOT_SUPPORT")}return o},adapters:Fc};function Rc(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ds(null,t)}function wh(t){return Rc(t),t.headers=kn.from(t.headers),t.data=Pc.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Qh.getAdapter(t.adapter||Zc.adapter)(t).then(function(o){return Rc(t),o.data=Pc.call(t,t.transformResponse,o),o.headers=kn.from(o.headers),o},function(o){return Zh(o)||(Rc(t),o&&o.response&&(o.response.data=Pc.call(t,t.transformResponse,o.response),o.response.headers=kn.from(o.response.headers))),Promise.reject(o)})}const bh=t=>t instanceof kn?{...t}:t;function Vr(t,r){r=r||{};const i={};function o(N,L,C){return A.isPlainObject(N)&&A.isPlainObject(L)?A.merge.call({caseless:C},N,L):A.isPlainObject(L)?A.merge({},L):A.isArray(L)?L.slice():L}function l(N,L,C){if(A.isUndefined(L)){if(!A.isUndefined(N))return o(void 0,N,C)}else return o(N,L,C)}function p(N,L){if(!A.isUndefined(L))return o(void 0,L)}function v(N,L){if(A.isUndefined(L)){if(!A.isUndefined(N))return o(void 0,N)}else return o(void 0,L)}function k(N,L,C){if(C in r)return o(N,L);if(C in t)return o(void 0,N)}const x={url:p,method:p,data:p,baseURL:v,transformRequest:v,transformResponse:v,paramsSerializer:v,timeout:v,timeoutMessage:v,withCredentials:v,withXSRFToken:v,adapter:v,responseType:v,xsrfCookieName:v,xsrfHeaderName:v,onUploadProgress:v,onDownloadProgress:v,decompress:v,maxContentLength:v,maxBodyLength:v,beforeRedirect:v,transport:v,httpAgent:v,httpsAgent:v,cancelToken:v,socketPath:v,responseEncoding:v,validateStatus:k,headers:(N,L)=>l(bh(N),bh(L),!0)};return A.forEach(Object.keys(Object.assign({},t,r)),function(L){const C=x[L]||l,q=C(t[L],r[L],L);A.isUndefined(q)&&C!==k||(i[L]=q)}),i}const ed="1.6.8",Kc={};["object","boolean","number","function","string","symbol"].forEach((t,r)=>{Kc[t]=function(o){return typeof o===t||"a"+(r<1?"n ":" ")+t}});const Sh={};Kc.transitional=function(r,i,o){function l(p,v){return"[Axios v"+ed+"] Transitional option '"+p+"'"+v+(o?". "+o:"")}return(p,v,k)=>{if(r===!1)throw new le(l(v," has been removed"+(i?" in "+i:"")),le.ERR_DEPRECATED);return i&&!Sh[v]&&(Sh[v]=!0,console.warn(l(v," has been deprecated since v"+i+" and will be removed in the near future"))),r?r(p,v,k):!0}};function dw(t,r,i){if(typeof t!="object")throw new le("options must be an object",le.ERR_BAD_OPTION_VALUE);const o=Object.keys(t);let l=o.length;for(;l-- >0;){const p=o[l],v=r[p];if(v){const k=t[p],x=k===void 0||v(k,p,t);if(x!==!0)throw new le("option "+p+" must be "+x,le.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new le("Unknown option "+p,le.ERR_BAD_OPTION)}}const Uc={assertOptions:dw,validators:Kc},Bn=Uc.validators;class Zo{constructor(r){this.defaults=r,this.interceptors={request:new gh,response:new gh}}async request(r,i){try{return await this._request(r,i)}catch(o){if(o instanceof Error){let l;Error.captureStackTrace?Error.captureStackTrace(l={}):l=new Error;const p=l.stack?l.stack.replace(/^.+\n/,""):"";o.stack?p&&!String(o.stack).endsWith(p.replace(/^.+\n.+\n/,""))&&(o.stack+=`
|
||
|
`+p):o.stack=p}throw o}}_request(r,i){typeof r=="string"?(i=i||{},i.url=r):i=r||{},i=Vr(this.defaults,i);const{transitional:o,paramsSerializer:l,headers:p}=i;o!==void 0&&Uc.assertOptions(o,{silentJSONParsing:Bn.transitional(Bn.boolean),forcedJSONParsing:Bn.transitional(Bn.boolean),clarifyTimeoutError:Bn.transitional(Bn.boolean)},!1),l!=null&&(A.isFunction(l)?i.paramsSerializer={serialize:l}:Uc.assertOptions(l,{encode:Bn.function,serialize:Bn.function},!0)),i.method=(i.method||this.defaults.method||"get").toLowerCase();let v=p&&A.merge(p.common,p[i.method]);p&&A.forEach(["delete","get","head","post","put","patch","common"],W=>{delete p[W]}),i.headers=kn.concat(v,p);const k=[];let x=!0;this.interceptors.request.forEach(function(M){typeof M.runWhen=="function"&&M.runWhen(i)===!1||(x=x&&M.synchronous,k.unshift(M.fulfilled,M.rejected))});const N=[];this.interceptors.response.forEach(function(M){N.push(M.fulfilled,M.rejected)});let L,C=0,q;if(!x){const W=[wh.bind(this),void 0];for(W.unshift.apply(W,k),W.push.apply(W,N),q=W.length,L=Promise.resolve(i);C<q;)L=L.then(W[C++],W[C++]);return L}q=k.length;let $=i;for(C=0;C<q;){const W=k[C++],M=k[C++];try{$=W($)}catch(E){M.call(this,E);break}}try{L=wh.call(this,$)}catch(W){return Promise.reject(W)}for(C=0,q=N.length;C<q;)L=L.then(N[C++],N[C++]);return L}getUri(r){r=Vr(this.defaults,r);const i=Kh(r.baseURL,r.url);return $h(i,r.params,r.paramsSerializer)}}A.forEach(["delete","get","head","options"],function(r){Zo.prototype[r]=function(i,o){return this.request(Vr(o||{},{method:r,url:i,data:(o||{}).data}))}});A.forEach(["post","put","patch"],function(r){function i(o){return function(p,v,k){return this.request(Vr(k||{},{method:r,headers:o?{"Content-Type":"multipart/form-data"}:{},url:p,data:v}))}}Zo.prototype[r]=i(),Zo.prototype[r+"Form"]=i(!0)});const Go=Zo;class Qc{constructor(r){if(typeof r!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(p){i=p});const o=this;this.promise.then(l=>{if(!o._listeners)return;let p=o._listeners.length;for(;p-- >0;)o._listeners[p](l);o._listeners=null}),this.promise.then=l=>{let p;const v=new Promise(k=>{o.subscribe(k),p=k}).then(l);return v.cancel=function(){o.unsubscribe(p)},v},r(function(p,v,k){o.reason||(o.reason=new ds(p,v,k),i(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const i=this._listeners.indexOf(r);i!==-1&&this._listeners.splice(i,1)}static source(){let r;return{token:new Qc(function(l){r=l}),cancel:r}}}const pw=Qc;function _w(t){return function(i){return t.apply(null,i)}}function gw(t){return A.isObject(t)&&t.isAxiosError===!0}const Yc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Yc).forEach(([t,r])=>{Yc[r]=t});const vw=Yc;function td(t){const r=new Go(t),i=Ih(Go.prototype.requ
|
||
|
* Pusher JavaScript Library v7.6.0
|
||
|
* https://pusher.com/
|
||
|
*
|
||
|
* Copyright 2020, Pusher
|
||
|
* Released under the MIT licence.
|
||
|
*/(function(t,r){(function(o,l){t.exports=l()})(window,function(){return function(i){var o={};function l(p){if(o[p])return o[p].exports;var v=o[p]={i:p,l:!1,exports:{}};return i[p].call(v.exports,v,v.exports,l),v.l=!0,v.exports}return l.m=i,l.c=o,l.d=function(p,v,k){l.o(p,v)||Object.defineProperty(p,v,{enumerable:!0,get:k})},l.r=function(p){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})},l.t=function(p,v){if(v&1&&(p=l(p)),v&8||v&4&&typeof p=="object"&&p&&p.__esModule)return p;var k=Object.create(null);if(l.r(k),Object.defineProperty(k,"default",{enumerable:!0,value:p}),v&2&&typeof p!="string")for(var x in p)l.d(k,x,function(N){return p[N]}.bind(null,x));return k},l.n=function(p){var v=p&&p.__esModule?function(){return p.default}:function(){return p};return l.d(v,"a",v),v},l.o=function(p,v){return Object.prototype.hasOwnProperty.call(p,v)},l.p="",l(l.s=2)}([function(i,o,l){var p=this&&this.__extends||function(){var M=function(E,I){return M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(J,ee){J.__proto__=ee}||function(J,ee){for(var Se in ee)ee.hasOwnProperty(Se)&&(J[Se]=ee[Se])},M(E,I)};return function(E,I){M(E,I);function J(){this.constructor=E}E.prototype=I===null?Object.create(I):(J.prototype=I.prototype,new J)}}();Object.defineProperty(o,"__esModule",{value:!0});var v=256,k=function(){function M(E){E===void 0&&(E="="),this._paddingCharacter=E}return M.prototype.encodedLength=function(E){return this._paddingCharacter?(E+2)/3*4|0:(E*8+5)/6|0},M.prototype.encode=function(E){for(var I="",J=0;J<E.length-2;J+=3){var ee=E[J]<<16|E[J+1]<<8|E[J+2];I+=this._encodeByte(ee>>>3*6&63),I+=this._encodeByte(ee>>>2*6&63),I+=this._encodeByte(ee>>>1*6&63),I+=this._encodeByte(ee>>>0*6&63)}var Se=E.length-J;if(Se>0){var ee=E[J]<<16|(Se===2?E[J+1]<<8:0);I+=this._encodeByte(ee>>>3*6&63),I+=this._encodeByte(ee>>>2*6&63),Se===2?I+=this._encodeByte(ee>>>1*6&63):I+=this._paddingCharacter||"",I+=this._paddingCharacter||""}return I},M.prototype.maxDecodedLength=function(E){return this._paddingCharacter?E/4*3|0:(E*6+7)/8|0},M.prototype.decodedLength=function(E){return this.maxDecodedLength(E.length-this._getPaddingLength(E))},M.prototype.decode=function(E){if(E.length===0)return new Uint8Array(0);for(var I=this._getPaddingLength(E),J=E.length-I,ee=new Uint8Array(this.maxDecodedLength(J)),Se=0,we=0,Ye=0,Ie=0,ze=0,Ve=0,bt=0;we<J-4;we+=4)Ie=this._decodeChar(E.charCodeAt(we+0)),ze=this._decodeChar(E.charCodeAt(we+1)),Ve=this._decodeChar(E.charCodeAt(we+2)),bt=this._decodeChar(E.charCodeAt(we+3)),ee[Se++]=Ie<<2|ze>>>4,ee[Se++]=ze<<4|Ve>>>2,ee[Se++]=Ve<<6|bt,Ye|=Ie&v,Ye|=ze&v,Ye|=Ve&v,Ye|=bt&v;if(we<J-1&&(Ie=this._decodeChar(E.charCodeAt(we)),ze=this._decodeChar(E.charCodeAt(we+1)),ee[Se++]=Ie<<2|ze>>>4,Ye|=Ie&v,Ye|=ze&v),we<J-2&&(Ve=this._decodeChar(E.charCodeAt(we+2)),ee[Se++]=ze<<4|Ve>>>2,Ye|=Ve&v),we<J-3&&(bt=this._decodeChar(E.charCodeAt(we+3)),ee[Se++]=Ve<<6|bt,Ye|=bt&v),Ye!==0)throw new Error("Base64Coder: incorrect characters for decoding");return ee},M.prototype._encodeByte=function(E){var I=E;return I+=65,I+=25-E>>>8&0-65-26+97,I+=51-E>>>8&26-97-52+48,I+=61-E>>>8&52-48-62+43,I+=62-E>>>8&62-43-63+47,String.fromCharCode(I)},M.prototype._decodeChar=function(E){var I=v;return I+=(42-E&E-44)>>>8&-v+E-43+62,I+=(46-E&E-48)>>>8&-v+E-47+63,I+=(47-E&E-58)>>>8&-v+E-48+52,I+=(64-E&E-91)>>>8&-v+E-65+0,I+=(96-E&E-123)>>>8&-v+E-97+26,I},M.prototype._getPaddingLength=function(E){var I=0;if(this._paddingCharacter){for(var J=E.length-1;J>=0&&E[J]===this._paddingCharacter;J--)I++;if(E.length<4||I>2)throw new Error("Base64Coder: incorrect padding")}return I},M}();o.Coder=k;var x=new k;function N(M){return x.encode(M)}o.encode=N;function L(M){return x.decode(M)}o.decode=L;var C=function(M){p(E,M);function E(){return M!==null&&M.apply(this,arguments)||this}return E.prototype._encodeByte=function(I){var J=I;return J+=65,J+=25-I>>>8&0-65-26+97,J+=51-I>>>8&26-97-52+48,J+=61-I>>>8&52-48-62+45,J+=62-I>>>8&62-45-63+95,String.fromCharCode(J)},E.prototype.
|
||
|
`);return d!==-1?(this.position+=d+1,f.slice(0,d)):null},a.prototype.isBufferTooLong=function(u){return this.position===u.length&&u.length>it},a}(St),Js=Vs,Cr;(function(c){c[c.CONNECTING=0]="CONNECTING",c[c.OPEN=1]="OPEN",c[c.CLOSED=3]="CLOSED"})(Cr||(Cr={}));var zt=Cr,Xs=1,Zs=function(){function c(a,u){this.hooks=a,this.session=xi(1e3)+"/"+jt(8),this.location=Je(u),this.readyState=zt.CONNECTING,this.openStream()}return c.prototype.send=function(a){return this.sendRaw(JSON.stringify([a]))},c.prototype.ping=function(){this.hooks.sendHeartbeat(this)},c.prototype.close=function(a,u){this.onClose(a,u,!0)},c.prototype.sendRaw=function(a){if(this.readyState===zt.OPEN)try{return Q.createSocketRequest("POST",Xe(_u(this.location,this.session))).start(a),!0}catch{return!1}else return!1},c.prototype.reconnect=function(){this.closeStream(),this.openStream()},c.prototype.onClose=function(a,u,f){this.closeStream(),this.readyState=zt.CLOSED,this.onclose&&this.onclose({code:a,reason:u,wasClean:f})},c.prototype.onChunk=function(a){if(a.status===200){this.readyState===zt.OPEN&&this.onActivity();var u,f=a.data.slice(0,1);switch(f){case"o":u=JSON.parse(a.data.slice(1)||"{}"),this.onOpen(u);break;case"a":u=JSON.parse(a.data.slice(1)||"[]");for(var d=0;d<u.length;d++)this.onEvent(u[d]);break;case"m":u=JSON.parse(a.data.slice(1)||"null"),this.onEvent(u);break;case"h":this.hooks.onHeartbeat(this);break;case"c":u=JSON.parse(a.data.slice(1)||"[]"),this.onClose(u[0],u[1],!0);break}}},c.prototype.onOpen=function(a){this.readyState===zt.CONNECTING?(a&&a.hostname&&(this.location.base=gu(this.location.base,a.hostname)),this.readyState=zt.OPEN,this.onopen&&this.onopen()):this.onClose(1006,"Server lost session",!0)},c.prototype.onEvent=function(a){this.readyState===zt.OPEN&&this.onmessage&&this.onmessage({data:a})},c.prototype.onActivity=function(){this.onactivity&&this.onactivity()},c.prototype.onError=function(a){this.onerror&&this.onerror(a)},c.prototype.openStream=function(){var a=this;this.stream=Q.createSocketRequest("POST",Xe(this.hooks.getReceiveURL(this.location,this.session))),this.stream.bind("chunk",function(u){a.onChunk(u)}),this.stream.bind("finished",function(u){a.hooks.onFinished(a,u)}),this.stream.bind("buffer_too_long",function(){a.reconnect()});try{this.stream.start()}catch(u){Pe.defer(function(){a.onError(u),a.onClose(1006,"Could not start streaming",!1)})}},c.prototype.closeStream=function(){this.stream&&(this.stream.unbind_all(),this.stream.close(),this.stream=null)},c}();function Je(c){var a=/([^\?]*)\/*(\??.*)/.exec(c);return{base:a[1],queryString:a[2]}}function _u(c,a){return c.base+"/"+a+"/xhr_send"}function Xe(c){var a=c.indexOf("?")===-1?"?":"&";return c+a+"t="+ +new Date+"&n="+Xs++}function gu(c,a){var u=/(https?:\/\/)([^\/:]+)((\/|:)?.*)/.exec(c);return u[1]+a+u[3]}function xi(c){return Q.randomInt(c)}function jt(c){for(var a=[],u=0;u<c;u++)a.push(xi(32).toString(32));return a.join("")}var Pr=Zs,Oi={getReceiveURL:function(c,a){return c.base+"/"+a+"/xhr_streaming"+c.queryString},onHeartbeat:function(c){c.sendRaw("[]")},sendHeartbeat:function(c){c.sendRaw("[]")},onFinished:function(c,a){c.onClose(1006,"Connection interrupted ("+a+")",!1)}},be=Oi,Gt={getReceiveURL:function(c,a){return c.base+"/"+a+"/xhr"+c.queryString},onHeartbeat:function(){},sendHeartbeat:function(c){c.sendRaw("[]")},onFinished:function(c,a){a===200?c.reconnect():c.onClose(1006,"Connection interrupted ("+a+")",!1)}},Ci=Gt,vu={getRequest:function(c){var a=Q.getXHRAPI(),u=new a;return u.onreadystatechange=u.onprogress=function(){switch(u.readyState){case 3:u.responseText&&u.responseText.length>0&&c.onChunk(u.status,u.responseText);break;case 4:u.responseText&&u.responseText.length>0&&c.onChunk(u.status,u.responseText),c.emit("finished",u.status),c.close();break}},u},abortRequest:function(c){c.onreadystatechange=null,c.abort()}},Pi=vu,yu={createStreamingSocket:function(c){return this.createSocket(be,c)},createPollingSocket:function(c){return this.createSocket(Ci,c)},createSocket:function(c,a){return new Pr(c,a)},createXHR:function(c,a){return this.createReques
|
||
|
//! version : 2.30.1
|
||
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
||
|
//! license : MIT
|
||
|
//! momentjs.com
|
||
|
var od;function B(){return od.apply(null,arguments)}function Ew(t){od=t}function Wt(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function dr(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function he(t,r){return Object.prototype.hasOwnProperty.call(t,r)}function nl(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var r;for(r in t)if(he(t,r))return!1;return!0}function lt(t){return t===void 0}function Cn(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function ps(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function ad(t,r){var i=[],o,l=t.length;for(o=0;o<l;++o)i.push(r(t[o],o));return i}function qn(t,r){for(var i in r)he(r,i)&&(t[i]=r[i]);return he(r,"toString")&&(t.toString=r.toString),he(r,"valueOf")&&(t.valueOf=r.valueOf),t}function rn(t,r,i,o){return Ad(t,r,i,o,!0).utc()}function Dw(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function re(t){return t._pf==null&&(t._pf=Dw()),t._pf}var Hc;Array.prototype.some?Hc=Array.prototype.some:Hc=function(t){var r=Object(this),i=r.length>>>0,o;for(o=0;o<i;o++)if(o in r&&t.call(this,r[o],o,r))return!0;return!1};function rl(t){var r=null,i=!1,o=t._d&&!isNaN(t._d.getTime());if(o&&(r=re(t),i=Hc.call(r.parsedDateParts,function(l){return l!=null}),o=r.overflow<0&&!r.empty&&!r.invalidEra&&!r.invalidMonth&&!r.invalidWeekday&&!r.weekdayMismatch&&!r.nullInput&&!r.invalidFormat&&!r.userInvalidated&&(!r.meridiem||r.meridiem&&i),t._strict&&(o=o&&r.charsLeftOver===0&&r.unusedTokens.length===0&&r.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=o;else return o;return t._isValid}function ha(t){var r=rn(NaN);return t!=null?qn(re(r),t):re(r).userInvalidated=!0,r}var Oh=B.momentProperties=[],Ac=!1;function il(t,r){var i,o,l,p=Oh.length;if(lt(r._isAMomentObject)||(t._isAMomentObject=r._isAMomentObject),lt(r._i)||(t._i=r._i),lt(r._f)||(t._f=r._f),lt(r._l)||(t._l=r._l),lt(r._strict)||(t._strict=r._strict),lt(r._tzm)||(t._tzm=r._tzm),lt(r._isUTC)||(t._isUTC=r._isUTC),lt(r._offset)||(t._offset=r._offset),lt(r._pf)||(t._pf=re(r)),lt(r._locale)||(t._locale=r._locale),p>0)for(i=0;i<p;i++)o=Oh[i],l=r[o],lt(l)||(t[o]=l);return t}function _s(t){il(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Ac===!1&&(Ac=!0,B.updateOffset(this),Ac=!1)}function Ht(t){return t instanceof _s||t!=null&&t._isAMomentObject!=null}function ud(t){B.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function Et(t,r){var i=!0;return qn(function(){if(B.deprecationHandler!=null&&B.deprecationHandler(null,t),i){var o=[],l,p,v,k=arguments.length;for(p=0;p<k;p++){if(l="",typeof arguments[p]=="object"){l+=`
|
||
|
[`+p+"] ";for(v in arguments[0])he(arguments[0],v)&&(l+=v+": "+arguments[0][v]+", ");l=l.slice(0,-2)}else l=arguments[p];o.push(l)}ud(t+`
|
||
|
Arguments: `+Array.prototype.slice.call(o).join("")+`
|
||
|
`+new Error().stack),i=!1}return r.apply(this,arguments)},r)}var Ch={};function cd(t,r){B.deprecationHandler!=null&&B.deprecationHandler(t,r),Ch[t]||(ud(r),Ch[t]=!0)}B.suppressDeprecationWarnings=!1;B.deprecationHandler=null;function sn(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function Mw(t){var r,i;for(i in t)he(t,i)&&(r=t[i],sn(r)?this[i]=r:this["_"+i]=r);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Bc(t,r){var i=qn({},t),o;for(o in r)he(r,o)&&(dr(t[o])&&dr(r[o])?(i[o]={},qn(i[o],t[o]),qn(i[o],r[o])):r[o]!=null?i[o]=r[o]:delete i[o]);for(o in t)he(t,o)&&!he(r,o)&&dr(t[o])&&(i[o]=qn({},i[o]));return i}function sl(t){t!=null&&this.set(t)}var qc;Object.keys?qc=Object.keys:qc=function(t){var r,i=[];for(r in t)he(t,r)&&i.push(r);return i};var Lw={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Iw(t,r,i){var o=this._calendar[t]||this._calendar.sameElse;return sn(o)?o.call(r,i):o}function tn(t,r,i){var o=""+Math.abs(t),l=r-o.length,p=t>=0;return(p?i?"+":"":"-")+Math.pow(10,Math.max(0,l)).toString().substr(1)+o}var ol=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Bo=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ec={},jr={};function V(t,r,i,o){var l=o;typeof o=="string"&&(l=function(){return this[o]()}),t&&(jr[t]=l),r&&(jr[r[0]]=function(){return tn(l.apply(this,arguments),r[1],r[2])}),i&&(jr[i]=function(){return this.localeData().ordinal(l.apply(this,arguments),t)})}function Nw(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function Fw(t){var r=t.match(ol),i,o;for(i=0,o=r.length;i<o;i++)jr[r[i]]?r[i]=jr[r[i]]:r[i]=Nw(r[i]);return function(l){var p="",v;for(v=0;v<o;v++)p+=sn(r[v])?r[v].call(l,t):r[v];return p}}function $o(t,r){return t.isValid()?(r=ld(r,t.localeData()),Ec[r]=Ec[r]||Fw(r),Ec[r](t)):t.localeData().invalidDate()}function ld(t,r){var i=5;function o(l){return r.longDateFormat(l)||l}for(Bo.lastIndex=0;i>=0&&Bo.test(t);)t=t.replace(Bo,o),Bo.lastIndex=0,i-=1;return t}var Uw={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Yw(t){var r=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return r||!i?r:(this._longDateFormat[t]=i.match(ol).map(function(o){return o==="MMMM"||o==="MM"||o==="DD"||o==="dddd"?o.slice(1):o}).join(""),this._longDateFormat[t])}var Ww="Invalid date";function Hw(){return this._invalidDate}var Bw="%d",qw=/\d{1,2}/;function zw(t){return this._ordinal.replace("%d",t)}var jw={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Gw(t,r,i,o){var l=this._relativeTime[i];return sn(l)?l(t,r,i,o):l.replace(/%d/i,t)}function $w(t,r){var i=this._relativeTime[t>0?"future":"past"];return sn(i)?i(r):i.replace(/%s/i,r)}var Ph={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Dt(t)
|
||
|
B.version="2.30.1";Ew(Te);B.fn=U;B.min=mS;B.max=wS;B.now=bS;B.utc=rn;B.unix=J1;B.months=Z1;B.isDate=ps;B.locale=jn;B.invalid=ha;B.duration=Bt;B.isMoment=Ht;B.weekdays=Q1;B.parseZone=X1;B.localeData=Pn;B.isDuration=Vo;B.monthsShort=K1;B.weekdaysMin=tT;B.defineLocale=_l;B.updateLocale=Xb;B.locales=Zb;B.weekdaysShort=eT;B.normalizeUnits=Dt;B.relativeTimeRounding=PT;B.relativeTimeThreshold=RT;B.calendarFormat=GS;B.prototype=U;B.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};function kl(){var t=document.getElementsByClassName("takenItemDate");for(let r=0;r<t.length;r++){let i=t.item(r).innerText,o=B(i).fromNow(),l="itemPassedTime_"+t.item(r).id;document.getElementById(l).innerText=o}}kl();setInterval(kl,1*60*1e3);function ET(t){var r=document.createElement("canvas"),i,o=document.createElement("img"),l=document.getElementById("favicon").cloneNode(!0);r.getContext&&(r.height=r.width=48,i=r.getContext("2d"),o.onload=function(){i.drawImage(this,0,0),i.font='bold 35px "helvetica", sans-serif',i.fillStyle="#ffff66",i.fillText(t,3,25),l.href=r.toDataURL("image/png"),document.body.appendChild(l)},o.src="favicon.png")}usedItems=document.getElementById("usedItems").innerText;ET(usedItems);document.addEventListener("visibilitychange",function(t){document.hidden?console.log("not visible"):kl()})});export default DT();
|