mirror of
https://github.com/brunofontes/shareit.git
synced 2024-11-24 04:14:57 +00:00
46 lines
249 KiB
JavaScript
46 lines
249 KiB
JavaScript
|
var Jm=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports);var kT=Jm((PT,Zo)=>{var ns=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xm(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ic={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",f=200,p="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",v="Expected a function",x="Invalid `variable` option passed into `_.template`",k="__lodash_hash_undefined__",C=500,M="__lodash_placeholder__",U=1,z=2,q=4,Y=1,F=2,E=1,L=2,J=4,re=8,Se=16,we=32,Ye=64,Le=128,ze=256,Xe=512,xt=30,xa="...",Oa=800,ka=16,En=1,vr=2,Ca=3,an=1/0,jt=9007199254740991,Pa=17976931348623157e292,yr=0/0,dt=4294967295,ys=dt-1,Ra=dt>>>1,Aa=[["ary",Le],["bind",E],["bindKey",L],["curry",re],["curryRight",Se],["flip",Xe],["partial",we],["partialRight",Ye],["rearg",ze]],rt="[object Arguments]",mr="[object Array]",Ea="[object AsyncFunction]",Pe="[object Boolean]",Me="[object Date]",Da="[object DOMException]",Vn="[object Error]",it="[object Function]",ei="[object GeneratorFunction]",pt="[object Map]",It="[object Number]",ms="[object Null]",Nt="[object Object]",ti="[object Promise]",ws="[object Proxy]",Jn="[object RegExp]",st="[object Set]",Xn="[object String]",wr="[object Symbol]",Ma="[object Undefined]",Zn="[object WeakMap]",br="[object WeakSet]",Kn="[object ArrayBuffer]",pe="[object DataView]",ni="[object Float32Array]",ri="[object Float64Array]",ii="[object Int8Array]",si="[object Int16Array]",oi="[object Int32Array]",ai="[object Uint8Array]",ui="[object Uint8ClampedArray]",ci="[object Uint16Array]",fi="[object Uint32Array]",li=/\b__p \+= '';/g,hi=/\b(__p \+=) '' \+/g,La=/(__e\(.*?\)|\b__t\)) \+\n'';/g,bs=/&(?:amp|lt|gt|quot|#39);/g,Ss=/[&<>"']/g,Ia=RegExp(bs.source),Na=RegExp(Ss.source),di=/<%-([\s\S]+?)%>/g,Fa=/<%([\s\S]+?)%>/g,Ot=/<%=([\s\S]+?)%>/g,Ua=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ya=/^\w*$/,Wa=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,pi=/[\\^$.*+?()[\]{}|]/g,Dn=RegExp(pi.source),_i=/^\s+/,Ts=/\s/,xs=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Os=/\{\n\/\* \[wrapped with (.+)\] \*/,ks=/,? & /,Ha=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ba=/[()=,{}\[\]\/\s]/,qa=/\\(\\)?/g,Sr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Cs=/\w*$/,Ps=/^[-+]0x[0-9a-f]+$/i,za=/^0b[01]+$/i,ja=/^\[object .+?Constructor\]$/,Ga=/^0o[0-7]+$/i,$a=/^(?:0|[1-9]\d*)$/,Va=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Tr=/($^)/,Ja=/['\n\r\u2028\u2029\\]/g,xr="\\ud800-\\udfff",Rs="\\u0300-\\u036f",un="\\ufe20-\\ufe2f",Xa="\\u20d0-\\u20ff",As=Rs+un+Xa,Es="\\u2700-\\u27bf",Ds="a-z\\xdf-\\xf6\\xf8-\\xff",Za="\\xac\\xb1\\xd7\\xf7",Ka="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Qa="\\u2000-\\u206f",eu=" \\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",Or="\\ufe0e\\ufe0f",Ls=Za+Ka+Qa+eu,gi="['\u2019]",vi="["+xr+"]",Is="["+Ls+"]",kr="["+As+"]",Ns="\\d+",tu="["+Es+"]",Fs="["+Ds+"]",Us="[^"+xr+Ls+Ns+Es+Ds+Ms+"]",yi="\\ud83c[\\udffb-\\udfff]",nu="(?:"+kr+"|"+yi+")",Cr="[^"+xr+"]",mi="(?:\\ud83c[\\udde6-\\uddff]){2}",wi="[\\ud800-\\udbff][\\udc00-\\udfff]",Mn="["+Ms+"]",Ys="\\u200d",Ws="(?:"+Fs+"|"+Us+")",ru="(?:"+Mn+"|"+Us+")",Hs="(?:"+gi+"(?:d|ll|m|re|s|t|ve))?",Bs="(?:"+gi+"(?:D|LL|M|RE|S|T|VE))?",qs=nu+"?",zs="["+Or+"]?",Ft="(?:"+Ys+"(?:"+[Cr,mi,wi].join("|")+")"+zs+qs+")*",iu="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",js="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Gs=zs+qs+Ft,cn="(?:"+[tu,mi,wi].join("|")+")"+Gs,su="(?:"+[Cr+kr+"?",kr,mi,wi,vi].join("|")+")",bi=RegExp(gi,"g"),ou=RegExp(kr,"g"),Si=RegExp(yi+"(?="+yi+")|"+su+Gs,"g"),au=RegExp([Mn+"?"+Fs+"+"+Hs+"(?="+[Is,Mn,"$"].join("|")+")",ru+"+"+Bs+"(?="+[Is,Mn+Ws,"$"].join("|")+")",Mn+"?"+Ws+"+"+Hs,Mn+"+"+Bs,js,iu,Ns,cn].join("|"),"g"),uu=RegExp("["+Ys+xr+As+Or+"]"),cu=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ti=["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 C_(e){return ee(e)||hr(e)||!!(Pf&&e&&e[Pf])}function vn(e,n){var s=typeof e;return n=n==null?jt:n,!!n&&(s=="number"||s!="symbol"&&$a.test(e))&&e>-1&&e%1==0&&e<n}function tt(e,n,s){if(!Ce(s))return!1;var h=typeof n;return(h=="number"?ct(s)&&vn(n,s.length):h=="string"&&n in s)?Yt(s[n],e):!1}function uc(e,n){if(ee(e))return!1;var s=typeof e;return s=="number"||s=="symbol"||s=="boolean"||e==null||vt(e)?!0:Ya.test(e)||!Ua.test(e)||n!=null&&e in G(n)}function P_(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}function cc(e){var n=Eo(e),s=y[n];if(typeof s!="function"||!(n in ue.prototype))return!1;if(e===s)return!0;var h=sc(s);return!!h&&e===h[0]}function R_(e){return!!Ui&&Ui in e}var A_=Mr?yn:kc;function Qi(e){var n=e&&e.constructor,s=typeof n=="function"&&n.prototype||ln;return e===s}function xl(e){return e===e&&!Ce(e)}function Ol(e,n){return function(s){return s==null?!1:s[e]===n&&(n!==i||e in G(s))}}function E_(e){var n=Fo(e,function(h){return s.size===C&&s.clear(),h}),s=n.cache;return n}function D_(e,n){var s=e[1],h=n[1],g=s|h,m=g<(E|L|Le),w=h==Le&&s==re||h==Le&&s==ze&&e[7].length<=n[8]||h==(Le|ze)&&n[7].length<=n[8]&&s==re;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?al(T,b,n[4]):b,e[4]=T?Xt(e[3],M):n[4]}return b=n[5],b&&(T=e[5],e[5]=T?ul(T,b,n[6]):b,e[6]=T?Xt(e[5],M):n[6]),b=n[7],b&&(e[7]=b),h&Le&&(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 M_(e){var n=[];if(e!=null)for(var s in G(e))n.push(s);return n}function L_(e){return rr.call(e)}function kl(e,n,s){return n=Ne(n===i?e.length-1:n,0),function(){for(var h=arguments,g=-1,m=Ne(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),Ze(e,this,b)}}function Cl(e,n){return n.length<2?e:cr(e,Rt(n,0,-1))}function I_(e,n){for(var s=e.length,h=je(n.length,s),g=ut(e);h--;){var m=n[h];e[h]=vn(m,s)?g[m]:i}return e}function fc(e,n){if(!(n==="constructor"&&typeof e[n]=="function")&&n!="__proto__")return e[n]}var Pl=Al(Zf),es=Xd||function(e,n){return Ie.setTimeout(e,n)},lc=Al(i_);function Rl(e,n,s){var h=n+"";return lc(e,k_(h,N_(T_(h),s)))}function Al(e){var n=0,s=0;return function(){var h=ep(),g=ka-(h-s);if(s=h,g>0){if(++n>=Oa)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=$u(s,g),w=e[m];e[m]=e[s],e[s]=w}return e.length=n,e}var El=E_(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(Wa,function(s,h,g,m){n.push(g?m.replace(qa,"$1"):h||s)}),n});function en(e){if(typeof e=="string"||vt(e))return e;var n=e+"";return n=="0"&&1/e==-an?"-0":n}function lr(e){if(e!=null){try{return nr.call(e)}catch{}try{return e+""}catch{}}return""}function N_(e,n){return Ke(Aa,function(s){var h="_."+s[0];n&s[1]&&!Ar(e,h)&&e.push(h)}),e.sort()}function Dl(e){if(e instanceof ue)return e.clone();var n=new Ct(e.__wrapped__,e.__chain__);return n.__actions__=ut(e.__actions__),n.__index__=e.__index__,n.__values__=e.__values__,n}function F_(e,n,s){(s?tt(e,n,s):n===i)?n=1:n=Ne(te(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++]=Rt(e,g,g+=n);return w}function U_(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 Y_(){var e=arguments.length;if(!e)return[];for(var n=_(e-1),s=arguments[0],h=e;h--;)n[h-1]=arguments[h];return Vt(ee(s)?ut(s):[s],He(n,1))}var W_=se(function(e,n){return Ae(e)?Vi(e,He(n,1,Ae,!0)):[]}),H_=se(function(e,n){var s=At(n);return Ae(s)&&(s=i),Ae(e)?Vi(e,He(n,1,Ae,!0),X(s,2)):[]}),B_=se(function(e,n){var s=At(n);return Ae(s)&&(s=i),Ae(e)?Vi(e,He(n,1,Ae,!0),i,s):[]});function q_(e,n,s){var h=e==null?0:e.length;return h?(n=s||n===i?1:te(n),Rt(e,n<0?0:n,h)):[]}function z_(e,n,s){var h=e==null?0:e.length;return h?(n=s||n===i?1:te(n),n=h-n,Rt(e,0,n<0?0:n)):[]}function j_(e,n){return e&&e.length?Oo(e,X(n,3),!0,!0):[]}function G_(e,n){return e&&e.length?Oo(e,X(n,3),!0):[]}function $_(e,n,s,h){var g=e==null?0:e.length;return g?(s&&t
|
||
|
`;e.replace(H,function(K,ae,ce,yt,nt,mt){return ce||(ce=yt),D+=e.slice(R,mt).replace(Ja,Ou),ae&&(b=!0,D+=`' +
|
||
|
__e(`+ae+`) +
|
||
|
'`),nt&&(T=!0,D+=`';
|
||
|
`+nt+`;
|
||
|
__p += '`),ce&&(D+=`' +
|
||
|
((__t = (`+ce+`)) == null ? '' : __t) +
|
||
|
'`),R=mt+K.length,K}),D+=`';
|
||
|
`;var Z=_e.call(n,"variable")&&n.variable;if(!Z)D=`with (obj) {
|
||
|
`+D+`
|
||
|
}
|
||
|
`;else if(Ba.test(Z))throw new O(x);D=(T?D.replace(li,""):D).replace(hi,"$1").replace(La,"$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=fh(function(){return W(m,$+"return "+D).apply(i,w)});if(ie.source=D,gc(ie))throw ie;return ie}function nm(e){return ge(e).toLowerCase()}function rm(e){return ge(e).toUpperCase()}function im(e,n,s){if(e=ge(e),e&&(s||n===i))return no(e);if(!e||!(n=gt(n)))return e;var h=_t(e),g=_t(n),m=ro(h,g),w=so(h,g)+1;return Hn(h,m,w).join("")}function sm(e,n,s){if(e=ge(e),e&&(s||n===i))return e.slice(0,uo(e)+1);if(!e||!(n=gt(n)))return e;var h=_t(e),g=so(h,_t(n))+1;return Hn(h,0,g).join("")}function om(e,n,s){if(e=ge(e),e&&(s||n===i))return e.replace(_i,"");if(!e||!(n=gt(n)))return e;var h=_t(e),g=ro(h,_t(n));return Hn(h,g).join("")}function am(e,n){var s=xt,h=xa;if(Ce(n)){var g="separator"in n?n.separator:g;s="length"in n?te(n.length):s,h="omission"in n?gt(n.omission):h}e=ge(e);var m=e.length;if(Nn(e)){var w=_t(e);m=w.length}if(s>=m)return e;var b=s-Fn(h);if(b<1)return h;var T=w?Hn(w,0,b).join(""):e.slice(0,b);if(g===i)return T+h;if(w&&(b+=T.length-b),vc(g)){if(e.slice(b).search(g)){var R,A=T;for(g.global||(g=Oe(g.source,ge(Cs.exec(g))+"g")),g.lastIndex=0;R=g.exec(A);)var D=R.index;T=T.slice(0,D===i?b:D)}}else if(e.indexOf(gt(g),b)!=b){var H=T.lastIndexOf(g);H>-1&&(T=T.slice(0,H))}return T+h}function um(e){return e=ge(e),e&&Ia.test(e)?e.replace(bs,co):e}var cm=Wr(function(e,n,s){return e+(s?" ":"")+n.toUpperCase()}),wc=ll("toUpperCase");function ch(e,n,s){return e=ge(e),n=s?i:n,n===i?ku(e)?c(e):wu(e):e.match(n)||[]}var fh=se(function(e,n){try{return Ze(e,i,n)}catch(s){return gc(s)?s:new O(s)}}),fm=gn(function(e,n){return Ke(n,function(s){s=en(s),pn(e,s,pc(e[s],e))}),e});function lm(e){var n=e==null?0:e.length,s=X();return e=n?be(e,function(h){if(typeof h[1]!="function")throw new at(v);return[s(h[0]),h[1]]}):[],se(function(h){for(var g=-1;++g<n;){var m=e[g];if(Ze(m[0],this,h))return Ze(m[1],this,h)}})}function hm(e){return Fp(Pt(e,U))}function bc(e){return function(){return e}}function dm(e,n){return e==null||e!==e?n:e}var pm=dl(),_m=dl(!0);function lt(e){return e}function Sc(e){return qf(typeof e=="function"?e:Pt(e,U))}function gm(e){return jf(Pt(e,U))}function vm(e,n){return Gf(e,Pt(n,U))}var ym=se(function(e,n){return function(s){return Ji(s,e,n)}}),mm=se(function(e,n){return function(s){return Ji(e,s,n)}});function Tc(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=yn(e);return Ke(g,function(b){var T=n[b];e[b]=T,w&&(e.prototype[b]=function(){var R=this.__chain__;if(m||R){var A=e(this.__wrapped__),D=A.__actions__=ut(this.__actions__);return D.push({func:T,args:arguments,thisArg:e}),A.__chain__=R,A}return T.apply(e,Vt([this.value()],arguments))})}),e}function wm(){return Ie._===this&&(Ie._=Yi),this}function xc(){}function bm(e){return e=te(e),se(function(n){return $f(n,e)})}var Sm=tc(be),Tm=tc(ki),xm=tc(Ri);function lh(e){return uc(e)?Ai(en(e)):e_(e)}function Om(e){return function(n){return e==null?i:cr(e,n)}}var km=_l(),Cm=_l(!0);function Oc(){return[]}function kc(){return!1}function Pm(){return{}}function Rm(){return""}function Am(){return!0}function Em(e,n){if(e=te(e),e<1||e>jt)return[];var s=dt,h=je(e,dt);n=X(n),e-=dt;for(var g=Li(h,n);++s<e;)n(s);return g}function Dm(e){return ee(e)?be(e,en):vt(e)?[e]:ut(El(ge(e)))}function Mm(e){var n=++Mu;return ge(e)+n}var Lm=Po(function(e,n){return e+n},0),Im=nc("ceil"),Nm=Po(function(e,n){return e/n},1),Fm=nc("floor");function Um(e){return e&&e.length?bo(e,lt,Hu):i}function Ym(e,n){return e&&e.length?bo(e,X(n,2),Hu):i}function Wm(e){return to(e,lt)}function Hm(e,n){return to(e,X(n,2))}function Bm(e){return e&&e.length?bo(e,lt,ju):i}function qm(e,n){return e&&e.length?bo(e,X(n,2),ju):i}var zm=Po(function(e,n){return e*n},1),jm=nc("round"),Gm=Po(function(e,n){return e-n},0);function $m(e){return e&&e.length?Mi(e,lt):0}function Vm(e,n){return e&&e.length?Mi(e,X(n,2)):0}return y.after=gv,y.ary=Bl,y.assign=ry,y.assignIn=nh,y.assignInWith=Ho,y.assignWith=iy,y.at=sy,y.before=ql,y.bind=pc,y.bindAll=fm,y.bindKey=zl,y.castArray=Pv,y.chain=Yl,y.chunk=F_,y.compact=U_,y.concat=Y_,y.cond=lm,y.conform
|
||
|
`).forEach(function(v){f=v.indexOf(":"),i=v.substring(0,f).trim().toLowerCase(),o=v.substring(f+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},yh=Symbol("internals");function rs(t){return t&&String(t).trim().toLowerCase()}function jo(t){return t===!1||t==null?t:P.isArray(t)?t.map(jo):String(t)}function G0(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}function $0(t){return/^[-_a-zA-Z]+$/.test(t.trim())}function Pc(t,r,i,o,f){if(P.isFunction(o))return o.call(this,r,i);if(f&&(r=i),!!P.isString(r)){if(P.isString(o))return r.indexOf(o)!==-1;if(P.isRegExp(o))return o.test(r)}}function V0(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,i,o)=>i.toUpperCase()+o)}function J0(t,r){const i=P.toCamelCase(" "+r);["get","set","has"].forEach(o=>{Object.defineProperty(t,o+i,{value:function(f,p,v){return this[o].call(this,r,f,p,v)},configurable:!0})})}class fa{constructor(r){r&&this.set(r)}set(r,i,o){const f=this;function p(x,k,C){const M=rs(k);if(!M)throw new Error("header name must be a non-empty string");const U=P.findKey(f,M);(!U||f[U]===void 0||C===!0||C===void 0&&f[U]!==!1)&&(f[U||k]=jo(x))}const v=(x,k)=>P.forEach(x,(C,M)=>p(C,M,k));return P.isPlainObject(r)||r instanceof this.constructor?v(r,i):P.isString(r)&&(r=r.trim())&&!$0(r)?v(j0(r),i):r!=null&&p(i,r,o),this}get(r,i){if(r=rs(r),r){const o=P.findKey(this,r);if(o){const f=this[o];if(!i)return f;if(i===!0)return G0(f);if(P.isFunction(i))return i.call(this,f,o);if(P.isRegExp(i))return i.exec(f);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,i){if(r=rs(r),r){const o=P.findKey(this,r);return!!(o&&this[o]!==void 0&&(!i||Pc(this,this[o],o,i)))}return!1}delete(r,i){const o=this;let f=!1;function p(v){if(v=rs(v),v){const x=P.findKey(o,v);x&&(!i||Pc(o,o[x],x,i))&&(delete o[x],f=!0)}}return P.isArray(r)?r.forEach(p):p(r),f}clear(r){const i=Object.keys(this);let o=i.length,f=!1;for(;o--;){const p=i[o];(!r||Pc(this,this[p],p,r,!0))&&(delete this[p],f=!0)}return f}normalize(r){const i=this,o={};return P.forEach(this,(f,p)=>{const v=P.findKey(o,p);if(v){i[v]=jo(f),delete i[p];return}const x=r?V0(p):String(p).trim();x!==p&&delete i[p],i[x]=jo(f),o[x]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const i=Object.create(null);return P.forEach(this,(o,f)=>{o!=null&&o!==!1&&(i[f]=r&&P.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(f=>o.set(f)),o}static accessor(r){const o=(this[yh]=this[yh]={accessors:{}}).accessors,f=this.prototype;function p(v){const x=rs(v);o[x]||(J0(f,v),o[x]=!0)}return P.isArray(r)?r.forEach(p):p(r),this}}fa.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);P.freezeMethods(fa.prototype);P.freezeMethods(fa);const On=fa;function Rc(t,r){const i=this||ef,o=r||i,f=On.from(o.headers);let p=o.data;return P.forEach(t,function(x){p=x.call(i,p,f.normalize(),r?r.status:void 0)}),f.normalize(),p}function Jh(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"}P.inherits(ds,le,{__CANCEL__:!0});function X0(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 Z0=nn.isStandardBrowserEnv?function(){return{write:function(i,o,f,p,v,x){const k=[];k.push(i+"="+encodeURIComponent(o)),P.isNumber(f)&&k.push("expires="+new Date(f).toGMTString()),P.isString(p)&&k.push("path="+p),P.isString(v)&&k.push("domain="+v),x===!0&&k.push("secure"),document.cookie=k.join("; ")},read:function(i){const o=document.cookie.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove:function(i){this.write(i,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function K0(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Q0(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}function Xh(t,r){return t&&!K0(r)?Q0(t,r):r}const ew=nn.isStandardBrowserEnv?function(){const r=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");let o;function f(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=f(window.location.href),function(v){const x=P.isString(v)?f(v):v;return x.protocol===o.protocol&&x.host===o.host}}():function(){return function(){return!0}}();function tw(t){const r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return r&&r[1]||""}function nw(t,r){t=t||10;const i=new Array(t),o=new Array(t);let f=0,p=0,v;return r=r!==void 0?r:1e3,function(k){const C=Date.now(),M=o[p];v||(v=C),i[f]=k,o[f]=C;let U=p,z=0;for(;U!==f;)z+=i[U++],U=U%t;if(f=(f+1)%t,f===p&&(p=(p+1)%t),C-v<r)return;const q=M&&C-M;return q?Math.round(z*1e3/q):void 0}}function mh(t,r){let i=0;const o=nw(50,250);return f=>{const p=f.loaded,v=f.lengthComputable?f.total:void 0,x=p-i,k=o(x),C=p<=v;i=p;const M={loaded:p,total:v,progress:v?p/v:void 0,bytes:x,rate:k||void 0,estimated:k&&v&&C?(v-p)/k:void 0,event:f};M[r?"download":"upload"]=!0,t(M)}}const rw=typeof XMLHttpRequest<"u",iw=rw&&function(t){return new Promise(function(i,o){let f=t.data;const p=On.from(t.headers).normalize(),v=t.responseType;let x;function k(){t.cancelToken&&t.cancelToken.unsubscribe(x),t.signal&&t.signal.removeEventListener("abort",x)}P.isFormData(f)&&(nn.isStandardBrowserEnv||nn.isStandardBrowserWebWorkerEnv)&&p.setContentType(!1);let C=new XMLHttpRequest;if(t.auth){const q=t.auth.username||"",Y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";p.set("Authorization","Basic "+btoa(q+":"+Y))}const M=Xh(t.baseURL,t.url);C.open(t.method.toUpperCase(),Gh(M,t.params,t.paramsSerializer),!0),C.timeout=t.timeout;function U(){if(!C)return;const q=On.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),F={data:!v||v==="text"||v==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:q,config:t,request:C};X0(function(L){i(L),k()},function(L){o
|
||
|
* Pusher JavaScript Library v7.6.0
|
||
|
* https://pusher.com/
|
||
|
*
|
||
|
* Copyright 2020, Pusher
|
||
|
* Released under the MIT licence.
|
||
|
*/(function(t,r){(function(o,f){t.exports=f()})(window,function(){return function(i){var o={};function f(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,f),v.l=!0,v.exports}return f.m=i,f.c=o,f.d=function(p,v,x){f.o(p,v)||Object.defineProperty(p,v,{enumerable:!0,get:x})},f.r=function(p){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})},f.t=function(p,v){if(v&1&&(p=f(p)),v&8||v&4&&typeof p=="object"&&p&&p.__esModule)return p;var x=Object.create(null);if(f.r(x),Object.defineProperty(x,"default",{enumerable:!0,value:p}),v&2&&typeof p!="string")for(var k in p)f.d(x,k,function(C){return p[C]}.bind(null,k));return x},f.n=function(p){var v=p&&p.__esModule?function(){return p.default}:function(){return p};return f.d(v,"a",v),v},f.o=function(p,v){return Object.prototype.hasOwnProperty.call(p,v)},f.p="",f(f.s=2)}([function(i,o,f){var p=this&&this.__extends||function(){var F=function(E,L){return F=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(J,re){J.__proto__=re}||function(J,re){for(var Se in re)re.hasOwnProperty(Se)&&(J[Se]=re[Se])},F(E,L)};return function(E,L){F(E,L);function J(){this.constructor=E}E.prototype=L===null?Object.create(L):(J.prototype=L.prototype,new J)}}();Object.defineProperty(o,"__esModule",{value:!0});var v=256,x=function(){function F(E){E===void 0&&(E="="),this._paddingCharacter=E}return F.prototype.encodedLength=function(E){return this._paddingCharacter?(E+2)/3*4|0:(E*8+5)/6|0},F.prototype.encode=function(E){for(var L="",J=0;J<E.length-2;J+=3){var re=E[J]<<16|E[J+1]<<8|E[J+2];L+=this._encodeByte(re>>>3*6&63),L+=this._encodeByte(re>>>2*6&63),L+=this._encodeByte(re>>>1*6&63),L+=this._encodeByte(re>>>0*6&63)}var Se=E.length-J;if(Se>0){var re=E[J]<<16|(Se===2?E[J+1]<<8:0);L+=this._encodeByte(re>>>3*6&63),L+=this._encodeByte(re>>>2*6&63),Se===2?L+=this._encodeByte(re>>>1*6&63):L+=this._paddingCharacter||"",L+=this._paddingCharacter||""}return L},F.prototype.maxDecodedLength=function(E){return this._paddingCharacter?E/4*3|0:(E*6+7)/8|0},F.prototype.decodedLength=function(E){return this.maxDecodedLength(E.length-this._getPaddingLength(E))},F.prototype.decode=function(E){if(E.length===0)return new Uint8Array(0);for(var L=this._getPaddingLength(E),J=E.length-L,re=new Uint8Array(this.maxDecodedLength(J)),Se=0,we=0,Ye=0,Le=0,ze=0,Xe=0,xt=0;we<J-4;we+=4)Le=this._decodeChar(E.charCodeAt(we+0)),ze=this._decodeChar(E.charCodeAt(we+1)),Xe=this._decodeChar(E.charCodeAt(we+2)),xt=this._decodeChar(E.charCodeAt(we+3)),re[Se++]=Le<<2|ze>>>4,re[Se++]=ze<<4|Xe>>>2,re[Se++]=Xe<<6|xt,Ye|=Le&v,Ye|=ze&v,Ye|=Xe&v,Ye|=xt&v;if(we<J-1&&(Le=this._decodeChar(E.charCodeAt(we)),ze=this._decodeChar(E.charCodeAt(we+1)),re[Se++]=Le<<2|ze>>>4,Ye|=Le&v,Ye|=ze&v),we<J-2&&(Xe=this._decodeChar(E.charCodeAt(we+2)),re[Se++]=ze<<4|Xe>>>2,Ye|=Xe&v),we<J-3&&(xt=this._decodeChar(E.charCodeAt(we+3)),re[Se++]=Xe<<6|xt,Ye|=xt&v),Ye!==0)throw new Error("Base64Coder: incorrect characters for decoding");return re},F.prototype._encodeByte=function(E){var L=E;return L+=65,L+=25-E>>>8&0-65-26+97,L+=51-E>>>8&26-97-52+48,L+=61-E>>>8&52-48-62+43,L+=62-E>>>8&62-43-63+47,String.fromCharCode(L)},F.prototype._decodeChar=function(E){var L=v;return L+=(42-E&E-44)>>>8&-v+E-43+62,L+=(46-E&E-48)>>>8&-v+E-47+63,L+=(47-E&E-58)>>>8&-v+E-48+52,L+=(64-E&E-91)>>>8&-v+E-65+0,L+=(96-E&E-123)>>>8&-v+E-97+26,L},F.prototype._getPaddingLength=function(E){var L=0;if(this._paddingCharacter){for(var J=E.length-1;J>=0&&E[J]===this._paddingCharacter;J--)L++;if(E.length<4||L>2)throw new Error("Base64Coder: incorrect padding")}return L},F}();o.Coder=x;var k=new x;function C(F){return k.encode(F)}o.encode=C;function M(F){return k.decode(F)}o.decode=M;var U=function(F){p(E,F);function E(){return F!==null&&F.apply(this,arguments)||this}return E.prototype._encodeByte=function(L){var J=L;return J+=65,J+=25-L>>>8&0-65-26+97,J+=51-L>>>8&26-97-52+48,J+=61-L>>>8&52-48-62+45,J+=62-L>>>8&62-45-63+95,String.fromCharCode(J)},E.prototype.
|
||
|
`);return d!==-1?(this.position+=d+1,l.slice(0,d)):null},a.prototype.isBufferTooLong=function(u){return this.position===u.length&&u.length>ot},a}(Ot),Js=Vs,Rr;(function(c){c[c.CONNECTING=0]="CONNECTING",c[c.OPEN=1]="OPEN",c[c.CLOSED=3]="CLOSED"})(Rr||(Rr={}));var Gt=Rr,Xs=1,Zs=function(){function c(a,u){this.hooks=a,this.session=ki(1e3)+"/"+$t(8),this.location=Ze(u),this.readyState=Gt.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===Gt.OPEN)try{return Q.createSocketRequest("POST",Ke(gu(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,l){this.closeStream(),this.readyState=Gt.CLOSED,this.onclose&&this.onclose({code:a,reason:u,wasClean:l})},c.prototype.onChunk=function(a){if(a.status===200){this.readyState===Gt.OPEN&&this.onActivity();var u,l=a.data.slice(0,1);switch(l){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===Gt.CONNECTING?(a&&a.hostname&&(this.location.base=vu(this.location.base,a.hostname)),this.readyState=Gt.OPEN,this.onopen&&this.onopen()):this.onClose(1006,"Server lost session",!0)},c.prototype.onEvent=function(a){this.readyState===Gt.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",Ke(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 Ze(c){var a=/([^\?]*)\/*(\??.*)/.exec(c);return{base:a[1],queryString:a[2]}}function gu(c,a){return c.base+"/"+a+"/xhr_send"}function Ke(c){var a=c.indexOf("?")===-1?"?":"&";return c+a+"t="+ +new Date+"&n="+Xs++}function vu(c,a){var u=/(https?:\/\/)([^\/:]+)((\/|:)?.*)/.exec(c);return u[1]+a+u[3]}function ki(c){return Q.randomInt(c)}function $t(c){for(var a=[],u=0;u<c;u++)a.push(ki(32).toString(32));return a.join("")}var Ar=Zs,Ci={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=Ci,Vt={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)}},Pi=Vt,yu={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()}},Ri=yu,mu={createStreamingSocket:function(c){return this.createSocket(be,c)},createPollingSocket:function(c){return this.createSocket(Pi,c)},createSocket:function(c,a){return new Ar(c,a)},createXHR:function(c,a){return this.createReques
|
||
|
//! version : 2.29.4
|
||
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
||
|
//! license : MIT
|
||
|
//! momentjs.com
|
||
|
var rd;function B(){return rd.apply(null,arguments)}function Ow(t){rd=t}function Bt(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function _r(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function he(t,r){return Object.prototype.hasOwnProperty.call(t,r)}function of(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 ht(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 id(t,r){var i=[],o,f=t.length;for(o=0;o<f;++o)i.push(r(t[o],o));return i}function zn(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 sn(t,r,i,o){return Pd(t,r,i,o,!0).utc()}function kw(){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 ne(t){return t._pf==null&&(t._pf=kw()),t._pf}var qc;Array.prototype.some?qc=Array.prototype.some:qc=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 af(t){if(t._isValid==null){var r=ne(t),i=qc.call(r.parsedDateParts,function(f){return f!=null}),o=!isNaN(t._d.getTime())&&r.overflow<0&&!r.empty&&!r.invalidEra&&!r.invalidMonth&&!r.invalidWeekday&&!r.weekdayMismatch&&!r.nullInput&&!r.invalidFormat&&!r.userInvalidated&&(!r.meridiem||r.meridiem&&i);if(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=sn(NaN);return t!=null?zn(ne(r),t):ne(r).userInvalidated=!0,r}var Oh=B.momentProperties=[],Ec=!1;function uf(t,r){var i,o,f,p=Oh.length;if(ht(r._isAMomentObject)||(t._isAMomentObject=r._isAMomentObject),ht(r._i)||(t._i=r._i),ht(r._f)||(t._f=r._f),ht(r._l)||(t._l=r._l),ht(r._strict)||(t._strict=r._strict),ht(r._tzm)||(t._tzm=r._tzm),ht(r._isUTC)||(t._isUTC=r._isUTC),ht(r._offset)||(t._offset=r._offset),ht(r._pf)||(t._pf=ne(r)),ht(r._locale)||(t._locale=r._locale),p>0)for(i=0;i<p;i++)o=Oh[i],f=r[o],ht(f)||(t[o]=f);return t}function _s(t){uf(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Ec===!1&&(Ec=!0,B.updateOffset(this),Ec=!1)}function qt(t){return t instanceof _s||t!=null&&t._isAMomentObject!=null}function sd(t){B.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function Mt(t,r){var i=!0;return zn(function(){if(B.deprecationHandler!=null&&B.deprecationHandler(null,t),i){var o=[],f,p,v,x=arguments.length;for(p=0;p<x;p++){if(f="",typeof arguments[p]=="object"){f+=`
|
||
|
[`+p+"] ";for(v in arguments[0])he(arguments[0],v)&&(f+=v+": "+arguments[0][v]+", ");f=f.slice(0,-2)}else f=arguments[p];o.push(f)}sd(t+`
|
||
|
Arguments: `+Array.prototype.slice.call(o).join("")+`
|
||
|
`+new Error().stack),i=!1}return r.apply(this,arguments)},r)}var kh={};function od(t,r){B.deprecationHandler!=null&&B.deprecationHandler(t,r),kh[t]||(sd(r),kh[t]=!0)}B.suppressDeprecationWarnings=!1;B.deprecationHandler=null;function on(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function Cw(t){var r,i;for(i in t)he(t,i)&&(r=t[i],on(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 zc(t,r){var i=zn({},t),o;for(o in r)he(r,o)&&(_r(t[o])&&_r(r[o])?(i[o]={},zn(i[o],t[o]),zn(i[o],r[o])):r[o]!=null?i[o]=r[o]:delete i[o]);for(o in t)he(t,o)&&!he(r,o)&&_r(t[o])&&(i[o]=zn({},i[o]));return i}function cf(t){t!=null&&this.set(t)}var jc;Object.keys?jc=Object.keys:jc=function(t){var r,i=[];for(r in t)he(t,r)&&i.push(r);return i};var Pw={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Rw(t,r,i){var o=this._calendar[t]||this._calendar.sameElse;return on(o)?o.call(r,i):o}function rn(t,r,i){var o=""+Math.abs(t),f=r-o.length,p=t>=0;return(p?i?"+":"":"-")+Math.pow(10,Math.max(0,f)).toString().substr(1)+o}var ff=/(\[[^\[]*\])|(\\)?([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,Dc={},$r={};function V(t,r,i,o){var f=o;typeof o=="string"&&(f=function(){return this[o]()}),t&&($r[t]=f),r&&($r[r[0]]=function(){return rn(f.apply(this,arguments),r[1],r[2])}),i&&($r[i]=function(){return this.localeData().ordinal(f.apply(this,arguments),t)})}function Aw(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function Ew(t){var r=t.match(ff),i,o;for(i=0,o=r.length;i<o;i++)$r[r[i]]?r[i]=$r[r[i]]:r[i]=Aw(r[i]);return function(f){var p="",v;for(v=0;v<o;v++)p+=on(r[v])?r[v].call(f,t):r[v];return p}}function Vo(t,r){return t.isValid()?(r=ad(r,t.localeData()),Dc[r]=Dc[r]||Ew(r),Dc[r](t)):t.localeData().invalidDate()}function ad(t,r){var i=5;function o(f){return r.longDateFormat(f)||f}for(Bo.lastIndex=0;i>=0&&Bo.test(t);)t=t.replace(Bo,o),Bo.lastIndex=0,i-=1;return t}var Dw={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 Mw(t){var r=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return r||!i?r:(this._longDateFormat[t]=i.match(ff).map(function(o){return o==="MMMM"||o==="MM"||o==="DD"||o==="dddd"?o.slice(1):o}).join(""),this._longDateFormat[t])}var Lw="Invalid date";function Iw(){return this._invalidDate}var Nw="%d",Fw=/\d{1,2}/;function Uw(t){return this._ordinal.replace("%d",t)}var Yw={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 Ww(t,r,i,o){var f=this._relativeTime[i];return on(f)?f(t,r,i,o):f.replace(/%d/i,t)}function Hw(t,r){var i=this._relativeTime[t>0?"future":"past"];return on(i)?i(r):i.replace(/%s/i,r)}var os={};function Ve(t,r){var i=t.toLowerCase();os[i]=os[i+"s"]=os[r]=t}function Lt(t){return typeof t=="string"?os[t]||os[t.toLowerCase()]:void 0}function lf(t){var r={},i,o;for(o in t)he(t,o)&&(i=Lt(o),i&&(r[i]=t[o]));return r}var ud={};function Je(t,r){ud[t]=r}function Bw(t){var r=[],i;for(i in t)he(t,i)&&r.push({unit:i,priority:ud[i]});return r.sort(function(o,f){return o.priority-f.priority}),r}function da(t){return t%4===0&&t%100!==0||t%400===0}function Dt(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function oe(t){var r=+t,i=0;return r!==0&&isFinite(r)&&(i=Dt(r)),i}function Kr(t,r){return function(i){return i!=null?(cd(this,t,i),B.updateOffset(this,r),this):ta(this,t)}}function ta(t,r){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+r]():NaN}function cd(t,r,i){t.
|
||
|
B.version="2.29.4";Ow(Te);B.fn=N;B.min=hS;B.max=dS;B.now=pS;B.utc=sn;B.unix=B1;B.months=z1;B.isDate=ps;B.locale=Gn;B.invalid=ha;B.duration=zt;B.isMoment=qt;B.weekdays=G1;B.parseZone=q1;B.localeData=Rn;B.isDuration=Jo;B.monthsShort=j1;B.weekdaysMin=V1;B.defineLocale=vf;B.updateLocale=qb;B.locales=zb;B.weekdaysShort=$1;B.normalizeUnits=Lt;B.relativeTimeRounding=ST;B.relativeTimeThreshold=TT;B.calendarFormat=YS;B.prototype=N;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 kf(){var t=document.getElementsByClassName("takenItemDate");for(let r=0;r<t.length;r++){let i=t.item(r).innerText,o=B(i).fromNow(),f="itemPassedTime_"+t.item(r).id;document.getElementById(f).innerText=o}}kf();setInterval(kf,1*60*1e3);function OT(t){var r=document.createElement("canvas"),i,o=document.createElement("img"),f=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),f.href=r.toDataURL("image/png"),document.body.appendChild(f)},o.src="favicon.png")}usedItems=document.getElementById("usedItems").innerText;OT(usedItems);document.addEventListener("visibilitychange",function(t){document.hidden?console.log("not visible"):kf()})});export default kT();
|