@sisense/sdk-ui-vue 1.15.0 → 1.15.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  Use "options.replacer" or "options.ignoreUnknown"
4
4
  `)},_domwindow:function(){return y("domwindow")},_bigint:function(d){return y("bigint:"+d.toString())},_process:function(){return y("process")},_timer:function(){return y("timer")},_pipe:function(){return y("pipe")},_tcp:function(){return y("tcp")},_udp:function(){return y("udp")},_tty:function(){return y("tty")},_statwatcher:function(){return y("statwatcher")},_securecontext:function(){return y("securecontext")},_connection:function(){return y("connection")},_zlib:function(){return y("zlib")},_context:function(){return y("context")},_nodescript:function(){return y("nodescript")},_httpparser:function(){return y("httpparser")},_dataview:function(){return y("dataview")},_signal:function(){return y("signal")},_fsevent:function(){return y("fsevent")},_tlswrap:function(){return y("tlswrap")}}}function B(){return{buf:"",write:function(T){this.buf+=T},end:function(T){this.buf+=T},read:function(){return this.buf}}}i.writeToStream=function(T,P,f){return f===void 0&&(f=P,P={}),U(P=G(T,P),f).dispatch(T)}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){(function(w){var x=typeof Uint8Array<"u"?Uint8Array:Array,C=43,H=47,G=48,$=97,U=65,B=45,T=95;function P(f){return f=f.charCodeAt(0),f===C||f===B?62:f===H||f===T?63:f<G?-1:f<G+10?f-G+26+26:f<U+26?f-U:f<$+26?f-$+26:void 0}w.toByteArray=function(f){var y,d;if(0<f.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var h=f.length,h=f.charAt(h-2)==="="?2:f.charAt(h-1)==="="?1:0,m=new x(3*f.length/4-h),O=0<h?f.length-4:f.length,M=0;function D(Y){m[M++]=Y}for(y=0;y<O;y+=4,0)D((16711680&(d=P(f.charAt(y))<<18|P(f.charAt(y+1))<<12|P(f.charAt(y+2))<<6|P(f.charAt(y+3))))>>16),D((65280&d)>>8),D(255&d);return h==2?D(255&(d=P(f.charAt(y))<<2|P(f.charAt(y+1))>>4)):h==1&&(D((d=P(f.charAt(y))<<10|P(f.charAt(y+1))<<4|P(f.charAt(y+2))>>2)>>8&255),D(255&d)),m},w.fromByteArray=function(f){var y,d,h,m,O=f.length%3,M="";function D(Y){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(Y)}for(y=0,h=f.length-O;y<h;y+=3)d=(f[y]<<16)+(f[y+1]<<8)+f[y+2],M+=D((m=d)>>18&63)+D(m>>12&63)+D(m>>6&63)+D(63&m);switch(O){case 1:M=(M+=D((d=f[f.length-1])>>2))+D(d<<4&63)+"==";break;case 2:M=(M=(M+=D((d=(f[f.length-2]<<8)+f[f.length-1])>>10))+D(d>>4&63))+D(d<<2&63)+"="}return M}})(i===void 0?this.base64js={}:i)}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(n,r,i){(function(o,a,C,c,l,g,b,u,z){var w=n("base64-js"),x=n("ieee754");function C(p,N,q){if(!(this instanceof C))return new C(p,N,q);var Q,W,Z,J,ie=typeof p;if(N==="base64"&&ie=="string")for(p=(J=p).trim?J.trim():J.replace(/^\s+|\s+$/g,"");p.length%4!=0;)p+="=";if(ie=="number")Q=V(p);else if(ie=="string")Q=C.byteLength(p,N);else{if(ie!="object")throw new Error("First argument needs to be a number, array or string.");Q=V(p.length)}if(C._useTypedArrays?W=C._augment(new Uint8Array(Q)):((W=this).length=Q,W._isBuffer=!0),C._useTypedArrays&&typeof p.byteLength=="number")W._set(p);else if(R(J=p)||C.isBuffer(J)||J&&typeof J=="object"&&typeof J.length=="number")for(Z=0;Z<Q;Z++)C.isBuffer(p)?W[Z]=p.readUInt8(Z):W[Z]=p[Z];else if(ie=="string")W.write(p,0,N);else if(ie=="number"&&!C._useTypedArrays&&!q)for(Z=0;Z<Q;Z++)W[Z]=0;return W}function H(p,N,q,Q){return C._charsWritten=v(function(W){for(var Z=[],J=0;J<W.length;J++)Z.push(255&W.charCodeAt(J));return Z}(N),p,q,Q)}function G(p,N,q,Q){return C._charsWritten=v(function(W){for(var Z,J,ie=[],oe=0;oe<W.length;oe++)J=W.charCodeAt(oe),Z=J>>8,J=J%256,ie.push(J),ie.push(Z);return ie}(N),p,q,Q)}function $(p,N,q){var Q="";q=Math.min(p.length,q);for(var W=N;W<q;W++)Q+=String.fromCharCode(p[W]);return Q}function U(p,N,q,Z){Z||(j(typeof q=="boolean","missing or invalid endian"),j(N!=null,"missing offset"),j(N+1<p.length,"Trying to read beyond buffer length"));var W,Z=p.length;if(!(Z<=N))return q?(W=p[N],N+1<Z&&(W|=p[N+1]<<8)):(W=p[N]<<8,N+1<Z&&(W|=p[N+1])),W}function B(p,N,q,Z){Z||(j(typeof q=="boolean","missing or invalid endian"),j(N!=null,"missing offset"),j(N+3<p.length,"Trying to read beyond buffer length"));var W,Z=p.length;if(!(Z<=N))return q?(N+2<Z&&(W=p[N+2]<<16),N+1<Z&&(W|=p[N+1]<<8),W|=p[N],N+3<Z&&(W+=p[N+3]<<24>>>0)):(N+1<Z&&(W=p[N+1]<<16),N+2<Z&&(W|=p[N+2]<<8),N+3<Z&&(W|=p[N+3]),W+=p[N]<<24>>>0),W}function T(p,N,q,Q){if(Q||(j(typeof q=="boolean","missing or invalid endian"),j(N!=null,"missing offset"),j(N+1<p.length,"Trying to read beyond buffer length")),!(p.length<=N))return Q=U(p,N,q,!0),32768&Q?-1*(65535-Q+1):Q}function P(p,N,q,Q){if(Q||(j(typeof q=="boolean","missing or invalid endian"),j(N!=null,"missing offset"),j(N+3<p.length,"Trying to read beyond buffer length")),!(p.length<=N))return Q=B(p,N,q,!0),2147483648&Q?-1*(4294967295-Q+1):Q}function f(p,N,q,Q){return Q||(j(typeof q=="boolean","missing or invalid endian"),j(N+3<p.length,"Trying to read beyond buffer length")),x.read(p,N,q,23,4)}function y(p,N,q,Q){return Q||(j(typeof q=="boolean","missing or invalid endian"),j(N+7<p.length,"Trying to read beyond buffer length")),x.read(p,N,q,52,8)}function d(p,N,q,Q,W){if(W||(j(N!=null,"missing value"),j(typeof Q=="boolean","missing or invalid endian"),j(q!=null,"missing offset"),j(q+1<p.length,"trying to write beyond buffer length"),S(N,65535)),W=p.length,!(W<=q))for(var Z=0,J=Math.min(W-q,2);Z<J;Z++)p[q+Z]=(N&255<<8*(Q?Z:1-Z))>>>8*(Q?Z:1-Z)}function h(p,N,q,Q,W){if(W||(j(N!=null,"missing value"),j(typeof Q=="boolean","missing or invalid endian"),j(q!=null,"missing offset"),j(q+3<p.length,"trying to write beyond buffer length"),S(N,4294967295)),W=p.length,!(W<=q))for(var Z=0,J=Math.min(W-q,4);Z<J;Z++)p[q+Z]=N>>>8*(Q?Z:3-Z)&255}function m(p,N,q,Q,W){W||(j(N!=null,"missing value"),j(typeof Q=="boolean","missing or invalid endian"),j(q!=null,"missing offset"),j(q+1<p.length,"Trying to write beyond buffer length"),_(N,32767,-32768)),p.length<=q||d(p,0<=N?N:65535+N+1,q,Q,W)}function O(p,N,q,Q,W){W||(j(N!=null,"missing value"),j(typeof Q=="boolean","missing or invalid endian"),j(q!=null,"missing offset"),j(q+3<p.length,"Trying to write beyond buffer length"),_(N,2147483647,-2147483648)),p.length<=q||h(p,0<=N?N:4294967295+N+1,q,Q,W)}function M(p,N,q,Q,W){W||(j(N!=null,"missing value"),j(typeof Q=="boolean","missing or invalid endian"),j(q!=null,"missing offset"),j(q+3<p.length,"Trying to write beyond buffer length"),F(N,34028234663852886e22,-34028234663852886e22)),p.length<=q||x.write(p,N,q,Q,23,4)}function D(p,N,q,Q,W){W||(j(N!=null,"missing value"),j(typeof Q=="boolean","missing or invalid endian"),j(q!=null,"missing offset"),j(q+7<p.length,"Trying to write beyond buffer length"),F(N,17976931348623157e292,-17976931348623157e292)),p.length<=q||x.write(p,N,q,Q,52,8)}i.Buffer=C,i.SlowBuffer=C,i.INSPECT_MAX_BYTES=50,C.poolSize=8192,C._useTypedArrays=function(){try{var p=new ArrayBuffer(0),N=new Uint8Array(p);return N.foo=function(){return 42},N.foo()===42&&typeof N.subarray=="function"}catch{return!1}}(),C.isEncoding=function(p){switch(String(p).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},C.isBuffer=function(p){return!(p==null||!p._isBuffer)},C.byteLength=function(p,N){var q;switch(p+="",N||"utf8"){case"hex":q=p.length/2;break;case"utf8":case"utf-8":q=E(p).length;break;case"ascii":case"binary":case"raw":q=p.length;break;case"base64":q=A(p).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":q=2*p.length;break;default:throw new Error("Unknown encoding")}return q},C.concat=function(p,N){if(j(R(p),`Usage: Buffer.concat(list, [totalLength])
5
5
  list should be an Array.`),p.length===0)return new C(0);if(p.length===1)return p[0];if(typeof N!="number")for(W=N=0;W<p.length;W++)N+=p[W].length;for(var q=new C(N),Q=0,W=0;W<p.length;W++){var Z=p[W];Z.copy(q,Q),Q+=Z.length}return q},C.prototype.write=function(p,N,q,Q){isFinite(N)?isFinite(q)||(Q=q,q=void 0):(oe=Q,Q=N,N=q,q=oe),N=Number(N)||0;var W,Z,J,ie,oe=this.length-N;switch((!q||oe<(q=Number(q)))&&(q=oe),Q=String(Q||"utf8").toLowerCase()){case"hex":W=function(te,ne,re,ue){re=Number(re)||0;var ce=te.length-re;(!ue||ce<(ue=Number(ue)))&&(ue=ce),j((ce=ne.length)%2==0,"Invalid hex string"),ce/2<ue&&(ue=ce/2);for(var le=0;le<ue;le++){var he=parseInt(ne.substr(2*le,2),16);j(!isNaN(he),"Invalid hex string"),te[re+le]=he}return C._charsWritten=2*le,le}(this,p,N,q);break;case"utf8":case"utf-8":Z=this,J=N,ie=q,W=C._charsWritten=v(E(p),Z,J,ie);break;case"ascii":case"binary":W=H(this,p,N,q);break;case"base64":Z=this,J=N,ie=q,W=C._charsWritten=v(A(p),Z,J,ie);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":W=G(this,p,N,q);break;default:throw new Error("Unknown encoding")}return W},C.prototype.toString=function(p,N,q){var Q,W,Z,J,ie=this;if(p=String(p||"utf8").toLowerCase(),N=Number(N)||0,(q=q!==void 0?Number(q):ie.length)===N)return"";switch(p){case"hex":Q=function(oe,te,ne){var re=oe.length;(!te||te<0)&&(te=0),(!ne||ne<0||re<ne)&&(ne=re);for(var ue="",ce=te;ce<ne;ce++)ue+=I(oe[ce]);return ue}(ie,N,q);break;case"utf8":case"utf-8":Q=function(oe,te,ne){var re="",ue="";ne=Math.min(oe.length,ne);for(var ce=te;ce<ne;ce++)oe[ce]<=127?(re+=k(ue)+String.fromCharCode(oe[ce]),ue=""):ue+="%"+oe[ce].toString(16);return re+k(ue)}(ie,N,q);break;case"ascii":case"binary":Q=$(ie,N,q);break;case"base64":W=ie,J=q,Q=(Z=N)===0&&J===W.length?w.fromByteArray(W):w.fromByteArray(W.slice(Z,J));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":Q=function(oe,te,ne){for(var re=oe.slice(te,ne),ue="",ce=0;ce<re.length;ce+=2)ue+=String.fromCharCode(re[ce]+256*re[ce+1]);return ue}(ie,N,q);break;default:throw new Error("Unknown encoding")}return Q},C.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},C.prototype.copy=function(p,N,q,Q){if(N=N||0,(Q=Q||Q===0?Q:this.length)!==(q=q||0)&&p.length!==0&&this.length!==0){j(q<=Q,"sourceEnd < sourceStart"),j(0<=N&&N<p.length,"targetStart out of bounds"),j(0<=q&&q<this.length,"sourceStart out of bounds"),j(0<=Q&&Q<=this.length,"sourceEnd out of bounds"),Q>this.length&&(Q=this.length);var W=(Q=p.length-N<Q-q?p.length-N+q:Q)-q;if(W<100||!C._useTypedArrays)for(var Z=0;Z<W;Z++)p[Z+N]=this[Z+q];else p._set(this.subarray(q,q+W),N)}},C.prototype.slice=function(p,N){var q=this.length;if(p=X(p,q,0),N=X(N,q,q),C._useTypedArrays)return C._augment(this.subarray(p,N));for(var Q=N-p,W=new C(Q,void 0,!0),Z=0;Z<Q;Z++)W[Z]=this[Z+p];return W},C.prototype.get=function(p){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(p)},C.prototype.set=function(p,N){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(p,N)},C.prototype.readUInt8=function(p,N){if(N||(j(p!=null,"missing offset"),j(p<this.length,"Trying to read beyond buffer length")),!(p>=this.length))return this[p]},C.prototype.readUInt16LE=function(p,N){return U(this,p,!0,N)},C.prototype.readUInt16BE=function(p,N){return U(this,p,!1,N)},C.prototype.readUInt32LE=function(p,N){return B(this,p,!0,N)},C.prototype.readUInt32BE=function(p,N){return B(this,p,!1,N)},C.prototype.readInt8=function(p,N){if(N||(j(p!=null,"missing offset"),j(p<this.length,"Trying to read beyond buffer length")),!(p>=this.length))return 128&this[p]?-1*(255-this[p]+1):this[p]},C.prototype.readInt16LE=function(p,N){return T(this,p,!0,N)},C.prototype.readInt16BE=function(p,N){return T(this,p,!1,N)},C.prototype.readInt32LE=function(p,N){return P(this,p,!0,N)},C.prototype.readInt32BE=function(p,N){return P(this,p,!1,N)},C.prototype.readFloatLE=function(p,N){return f(this,p,!0,N)},C.prototype.readFloatBE=function(p,N){return f(this,p,!1,N)},C.prototype.readDoubleLE=function(p,N){return y(this,p,!0,N)},C.prototype.readDoubleBE=function(p,N){return y(this,p,!1,N)},C.prototype.writeUInt8=function(p,N,q){q||(j(p!=null,"missing value"),j(N!=null,"missing offset"),j(N<this.length,"trying to write beyond buffer length"),S(p,255)),N>=this.length||(this[N]=p)},C.prototype.writeUInt16LE=function(p,N,q){d(this,p,N,!0,q)},C.prototype.writeUInt16BE=function(p,N,q){d(this,p,N,!1,q)},C.prototype.writeUInt32LE=function(p,N,q){h(this,p,N,!0,q)},C.prototype.writeUInt32BE=function(p,N,q){h(this,p,N,!1,q)},C.prototype.writeInt8=function(p,N,q){q||(j(p!=null,"missing value"),j(N!=null,"missing offset"),j(N<this.length,"Trying to write beyond buffer length"),_(p,127,-128)),N>=this.length||(0<=p?this.writeUInt8(p,N,q):this.writeUInt8(255+p+1,N,q))},C.prototype.writeInt16LE=function(p,N,q){m(this,p,N,!0,q)},C.prototype.writeInt16BE=function(p,N,q){m(this,p,N,!1,q)},C.prototype.writeInt32LE=function(p,N,q){O(this,p,N,!0,q)},C.prototype.writeInt32BE=function(p,N,q){O(this,p,N,!1,q)},C.prototype.writeFloatLE=function(p,N,q){M(this,p,N,!0,q)},C.prototype.writeFloatBE=function(p,N,q){M(this,p,N,!1,q)},C.prototype.writeDoubleLE=function(p,N,q){D(this,p,N,!0,q)},C.prototype.writeDoubleBE=function(p,N,q){D(this,p,N,!1,q)},C.prototype.fill=function(p,N,q){if(N=N||0,q=q||this.length,j(typeof(p=typeof(p=p||0)=="string"?p.charCodeAt(0):p)=="number"&&!isNaN(p),"value is not a number"),j(N<=q,"end < start"),q!==N&&this.length!==0){j(0<=N&&N<this.length,"start out of bounds"),j(0<=q&&q<=this.length,"end out of bounds");for(var Q=N;Q<q;Q++)this[Q]=p}},C.prototype.inspect=function(){for(var p=[],N=this.length,q=0;q<N;q++)if(p[q]=I(this[q]),q===i.INSPECT_MAX_BYTES){p[q+1]="...";break}return"<Buffer "+p.join(" ")+">"},C.prototype.toArrayBuffer=function(){if(typeof Uint8Array>"u")throw new Error("Buffer.toArrayBuffer not supported in this browser");if(C._useTypedArrays)return new C(this).buffer;for(var p=new Uint8Array(this.length),N=0,q=p.length;N<q;N+=1)p[N]=this[N];return p.buffer};var Y=C.prototype;function X(p,N,q){return typeof p!="number"?q:N<=(p=~~p)?N:0<=p||0<=(p+=N)?p:0}function V(p){return(p=~~Math.ceil(+p))<0?0:p}function R(p){return(Array.isArray||function(N){return Object.prototype.toString.call(N)==="[object Array]"})(p)}function I(p){return p<16?"0"+p.toString(16):p.toString(16)}function E(p){for(var N=[],q=0;q<p.length;q++){var Q=p.charCodeAt(q);if(Q<=127)N.push(p.charCodeAt(q));else for(var W=q,Z=(55296<=Q&&Q<=57343&&q++,encodeURIComponent(p.slice(W,q+1)).substr(1).split("%")),J=0;J<Z.length;J++)N.push(parseInt(Z[J],16))}return N}function A(p){return w.toByteArray(p)}function v(p,N,q,Q){for(var W=0;W<Q&&!(W+q>=N.length||W>=p.length);W++)N[W+q]=p[W];return W}function k(p){try{return decodeURIComponent(p)}catch{return"�"}}function S(p,N){j(typeof p=="number","cannot write a non-number as a number"),j(0<=p,"specified a negative value for writing an unsigned value"),j(p<=N,"value is larger than maximum value for type"),j(Math.floor(p)===p,"value has a fractional component")}function _(p,N,q){j(typeof p=="number","cannot write a non-number as a number"),j(p<=N,"value larger than maximum allowed value"),j(q<=p,"value smaller than minimum allowed value"),j(Math.floor(p)===p,"value has a fractional component")}function F(p,N,q){j(typeof p=="number","cannot write a non-number as a number"),j(p<=N,"value larger than maximum allowed value"),j(q<=p,"value smaller than minimum allowed value")}function j(p,N){if(!p)throw new Error(N||"Failed assertion")}C._augment=function(p){return p._isBuffer=!0,p._get=p.get,p._set=p.set,p.get=Y.get,p.set=Y.set,p.write=Y.write,p.toString=Y.toString,p.toLocaleString=Y.toString,p.toJSON=Y.toJSON,p.copy=Y.copy,p.slice=Y.slice,p.readUInt8=Y.readUInt8,p.readUInt16LE=Y.readUInt16LE,p.readUInt16BE=Y.readUInt16BE,p.readUInt32LE=Y.readUInt32LE,p.readUInt32BE=Y.readUInt32BE,p.readInt8=Y.readInt8,p.readInt16LE=Y.readInt16LE,p.readInt16BE=Y.readInt16BE,p.readInt32LE=Y.readInt32LE,p.readInt32BE=Y.readInt32BE,p.readFloatLE=Y.readFloatLE,p.readFloatBE=Y.readFloatBE,p.readDoubleLE=Y.readDoubleLE,p.readDoubleBE=Y.readDoubleBE,p.writeUInt8=Y.writeUInt8,p.writeUInt16LE=Y.writeUInt16LE,p.writeUInt16BE=Y.writeUInt16BE,p.writeUInt32LE=Y.writeUInt32LE,p.writeUInt32BE=Y.writeUInt32BE,p.writeInt8=Y.writeInt8,p.writeInt16LE=Y.writeInt16LE,p.writeInt16BE=Y.writeInt16BE,p.writeInt32LE=Y.writeInt32LE,p.writeInt32BE=Y.writeInt32BE,p.writeFloatLE=Y.writeFloatLE,p.writeFloatBE=Y.writeFloatBE,p.writeDoubleLE=Y.writeDoubleLE,p.writeDoubleBE=Y.writeDoubleBE,p.fill=Y.fill,p.inspect=Y.inspect,p.toArrayBuffer=Y.toArrayBuffer,p}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(n,r,i){(function(o,a,w,c,l,g,b,u,z){var w=n("buffer").Buffer,x=4,C=new w(x);C.fill(0),r.exports={hash:function(H,G,$,U){for(var B=G(function(d,h){d.length%x!=0&&(m=d.length+(x-d.length%x),d=w.concat([d,C],m));for(var m,O=[],M=h?d.readInt32BE:d.readInt32LE,D=0;D<d.length;D+=x)O.push(M.call(d,D));return O}(H=w.isBuffer(H)?H:new w(H),U),8*H.length),G=U,T=new w($),P=G?T.writeInt32BE:T.writeInt32LE,f=0;f<B.length;f++)P.call(T,B[f],4*f,!0);return T}}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],5:[function(n,r,i){(function(o,a,w,c,l,g,b,u,z){var w=n("buffer").Buffer,x=n("./sha"),C=n("./sha256"),H=n("./rng"),G={sha1:x,sha256:C,md5:n("./md5")},$=64,U=new w($);function B(d,h){var m=G[d=d||"sha1"],O=[];return m||T("algorithm:",d,"is not yet supported"),{update:function(M){return w.isBuffer(M)||(M=new w(M)),O.push(M),this},digest:function(M){var D=w.concat(O),D=h?function(Y,X,V){w.isBuffer(X)||(X=new w(X)),w.isBuffer(V)||(V=new w(V)),X.length>$?X=Y(X):X.length<$&&(X=w.concat([X,U],$));for(var R=new w($),I=new w($),E=0;E<$;E++)R[E]=54^X[E],I[E]=92^X[E];return V=Y(w.concat([R,V])),Y(w.concat([I,V]))}(m,h,D):m(D);return O=null,M?D.toString(M):D}}}function T(){var d=[].slice.call(arguments).join(" ");throw new Error([d,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
6
- `))}U.fill(0),i.createHash=function(d){return B(d)},i.createHmac=B,i.randomBytes=function(d,h){if(!h||!h.call)return new w(H(d));try{h.call(this,void 0,new w(H(d)))}catch(m){h(m)}};var P,f=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],y=function(d){i[d]=function(){T("sorry,",d,"is not implemented yet")}};for(P in f)y(f[P])}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){var w=n("./helpers");function x(T,P){T[P>>5]|=128<<P%32,T[14+(P+64>>>9<<4)]=P;for(var f=1732584193,y=-271733879,d=-1732584194,h=271733878,m=0;m<T.length;m+=16){var O=f,M=y,D=d,Y=h,f=H(f,y,d,h,T[m+0],7,-680876936),h=H(h,f,y,d,T[m+1],12,-389564586),d=H(d,h,f,y,T[m+2],17,606105819),y=H(y,d,h,f,T[m+3],22,-1044525330);f=H(f,y,d,h,T[m+4],7,-176418897),h=H(h,f,y,d,T[m+5],12,1200080426),d=H(d,h,f,y,T[m+6],17,-1473231341),y=H(y,d,h,f,T[m+7],22,-45705983),f=H(f,y,d,h,T[m+8],7,1770035416),h=H(h,f,y,d,T[m+9],12,-1958414417),d=H(d,h,f,y,T[m+10],17,-42063),y=H(y,d,h,f,T[m+11],22,-1990404162),f=H(f,y,d,h,T[m+12],7,1804603682),h=H(h,f,y,d,T[m+13],12,-40341101),d=H(d,h,f,y,T[m+14],17,-1502002290),f=G(f,y=H(y,d,h,f,T[m+15],22,1236535329),d,h,T[m+1],5,-165796510),h=G(h,f,y,d,T[m+6],9,-1069501632),d=G(d,h,f,y,T[m+11],14,643717713),y=G(y,d,h,f,T[m+0],20,-373897302),f=G(f,y,d,h,T[m+5],5,-701558691),h=G(h,f,y,d,T[m+10],9,38016083),d=G(d,h,f,y,T[m+15],14,-660478335),y=G(y,d,h,f,T[m+4],20,-405537848),f=G(f,y,d,h,T[m+9],5,568446438),h=G(h,f,y,d,T[m+14],9,-1019803690),d=G(d,h,f,y,T[m+3],14,-187363961),y=G(y,d,h,f,T[m+8],20,1163531501),f=G(f,y,d,h,T[m+13],5,-1444681467),h=G(h,f,y,d,T[m+2],9,-51403784),d=G(d,h,f,y,T[m+7],14,1735328473),f=$(f,y=G(y,d,h,f,T[m+12],20,-1926607734),d,h,T[m+5],4,-378558),h=$(h,f,y,d,T[m+8],11,-2022574463),d=$(d,h,f,y,T[m+11],16,1839030562),y=$(y,d,h,f,T[m+14],23,-35309556),f=$(f,y,d,h,T[m+1],4,-1530992060),h=$(h,f,y,d,T[m+4],11,1272893353),d=$(d,h,f,y,T[m+7],16,-155497632),y=$(y,d,h,f,T[m+10],23,-1094730640),f=$(f,y,d,h,T[m+13],4,681279174),h=$(h,f,y,d,T[m+0],11,-358537222),d=$(d,h,f,y,T[m+3],16,-722521979),y=$(y,d,h,f,T[m+6],23,76029189),f=$(f,y,d,h,T[m+9],4,-640364487),h=$(h,f,y,d,T[m+12],11,-421815835),d=$(d,h,f,y,T[m+15],16,530742520),f=U(f,y=$(y,d,h,f,T[m+2],23,-995338651),d,h,T[m+0],6,-198630844),h=U(h,f,y,d,T[m+7],10,1126891415),d=U(d,h,f,y,T[m+14],15,-1416354905),y=U(y,d,h,f,T[m+5],21,-57434055),f=U(f,y,d,h,T[m+12],6,1700485571),h=U(h,f,y,d,T[m+3],10,-1894986606),d=U(d,h,f,y,T[m+10],15,-1051523),y=U(y,d,h,f,T[m+1],21,-2054922799),f=U(f,y,d,h,T[m+8],6,1873313359),h=U(h,f,y,d,T[m+15],10,-30611744),d=U(d,h,f,y,T[m+6],15,-1560198380),y=U(y,d,h,f,T[m+13],21,1309151649),f=U(f,y,d,h,T[m+4],6,-145523070),h=U(h,f,y,d,T[m+11],10,-1120210379),d=U(d,h,f,y,T[m+2],15,718787259),y=U(y,d,h,f,T[m+9],21,-343485551),f=B(f,O),y=B(y,M),d=B(d,D),h=B(h,Y)}return Array(f,y,d,h)}function C(T,P,f,y,d,h){return B((P=B(B(P,T),B(y,h)))<<d|P>>>32-d,f)}function H(T,P,f,y,d,h,m){return C(P&f|~P&y,T,P,d,h,m)}function G(T,P,f,y,d,h,m){return C(P&y|f&~y,T,P,d,h,m)}function $(T,P,f,y,d,h,m){return C(P^f^y,T,P,d,h,m)}function U(T,P,f,y,d,h,m){return C(f^(P|~y),T,P,d,h,m)}function B(T,P){var f=(65535&T)+(65535&P);return(T>>16)+(P>>16)+(f>>16)<<16|65535&f}r.exports=function(T){return w.hash(T,x,16)}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){r.exports=function(w){for(var x,C=new Array(w),H=0;H<w;H++)!(3&H)&&(x=4294967296*Math.random()),C[H]=x>>>((3&H)<<3)&255;return C}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){var w=n("./helpers");function x(G,$){G[$>>5]|=128<<24-$%32,G[15+($+64>>9<<4)]=$;for(var U,B,T,P=Array(80),f=1732584193,y=-271733879,d=-1732584194,h=271733878,m=-1009589776,O=0;O<G.length;O+=16){for(var M=f,D=y,Y=d,X=h,V=m,R=0;R<80;R++){P[R]=R<16?G[O+R]:H(P[R-3]^P[R-8]^P[R-14]^P[R-16],1);var I=C(C(H(f,5),(I=y,B=d,T=h,(U=R)<20?I&B|~I&T:!(U<40)&&U<60?I&B|I&T|B&T:I^B^T)),C(C(m,P[R]),(U=R)<20?1518500249:U<40?1859775393:U<60?-1894007588:-899497514)),m=h,h=d,d=H(y,30),y=f,f=I}f=C(f,M),y=C(y,D),d=C(d,Y),h=C(h,X),m=C(m,V)}return Array(f,y,d,h,m)}function C(G,$){var U=(65535&G)+(65535&$);return(G>>16)+($>>16)+(U>>16)<<16|65535&U}function H(G,$){return G<<$|G>>>32-$}r.exports=function(G){return w.hash(G,x,20,!0)}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){function w($,U){var B=(65535&$)+(65535&U);return($>>16)+(U>>16)+(B>>16)<<16|65535&B}function x($,U){var B,T=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),P=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),f=new Array(64);$[U>>5]|=128<<24-U%32,$[15+(U+64>>9<<4)]=U;for(var y,d,h=0;h<$.length;h+=16){for(var m=P[0],O=P[1],M=P[2],D=P[3],Y=P[4],X=P[5],V=P[6],R=P[7],I=0;I<64;I++)f[I]=I<16?$[I+h]:w(w(w((d=f[I-2],H(d,17)^H(d,19)^G(d,10)),f[I-7]),(d=f[I-15],H(d,7)^H(d,18)^G(d,3))),f[I-16]),B=w(w(w(w(R,H(d=Y,6)^H(d,11)^H(d,25)),Y&X^~Y&V),T[I]),f[I]),y=w(H(y=m,2)^H(y,13)^H(y,22),m&O^m&M^O&M),R=V,V=X,X=Y,Y=w(D,B),D=M,M=O,O=m,m=w(B,y);P[0]=w(m,P[0]),P[1]=w(O,P[1]),P[2]=w(M,P[2]),P[3]=w(D,P[3]),P[4]=w(Y,P[4]),P[5]=w(X,P[5]),P[6]=w(V,P[6]),P[7]=w(R,P[7])}return P}var C=n("./helpers"),H=function($,U){return $>>>U|$<<32-U},G=function($,U){return $>>>U};r.exports=function($){return C.hash($,x,32,!0)}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){i.read=function(w,x,C,H,h){var $,U,B=8*h-H-1,T=(1<<B)-1,P=T>>1,f=-7,y=C?h-1:0,d=C?-1:1,h=w[x+y];for(y+=d,$=h&(1<<-f)-1,h>>=-f,f+=B;0<f;$=256*$+w[x+y],y+=d,f-=8);for(U=$&(1<<-f)-1,$>>=-f,f+=H;0<f;U=256*U+w[x+y],y+=d,f-=8);if($===0)$=1-P;else{if($===T)return U?NaN:1/0*(h?-1:1);U+=Math.pow(2,H),$-=P}return(h?-1:1)*U*Math.pow(2,$-H)},i.write=function(w,x,C,H,G,m){var U,B,T=8*m-G-1,P=(1<<T)-1,f=P>>1,y=G===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=H?0:m-1,h=H?1:-1,m=x<0||x===0&&1/x<0?1:0;for(x=Math.abs(x),isNaN(x)||x===1/0?(B=isNaN(x)?1:0,U=P):(U=Math.floor(Math.log(x)/Math.LN2),x*(H=Math.pow(2,-U))<1&&(U--,H*=2),2<=(x+=1<=U+f?y/H:y*Math.pow(2,1-f))*H&&(U++,H/=2),P<=U+f?(B=0,U=P):1<=U+f?(B=(x*H-1)*Math.pow(2,G),U+=f):(B=x*Math.pow(2,f-1)*Math.pow(2,G),U=0));8<=G;w[C+d]=255&B,d+=h,B/=256,G-=8);for(U=U<<G|B,T+=G;0<T;w[C+d]=255&U,d+=h,U/=256,T-=8);w[C+d-h]|=128*m}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){var w,x,C;function H(){}(o=r.exports={}).nextTick=(x=typeof window<"u"&&window.setImmediate,C=typeof window<"u"&&window.postMessage&&window.addEventListener,x?function(G){return window.setImmediate(G)}:C?(w=[],window.addEventListener("message",function(G){var $=G.source;$!==window&&$!==null||G.data!=="process-tick"||(G.stopPropagation(),0<w.length&&w.shift()())},!0),function(G){w.push(G),window.postMessage("process-tick","*")}):function(G){setTimeout(G,0)}),o.title="browser",o.browser=!0,o.env={},o.argv=[],o.on=H,o.addListener=H,o.once=H,o.off=H,o.removeListener=H,o.removeAllListeners=H,o.emit=H,o.binding=function(G){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(G){throw new Error("process.chdir is not supported")}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)})})(pQ);var ike=pQ.exports;const oke=On(ike);function ake(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var fQ=ake,ske=hC,lke=db,cke=Object.prototype,uke=cke.hasOwnProperty;function dke(e,t,n){var r=e[t];(!(uke.call(e,t)&&lke(r,n))||n===void 0&&!(t in e))&&ske(e,t,n)}var bI=dke,hke=bI,pke=hC;function fke(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?pke(n,s,c):hke(n,s,c)}return n}var fb=fke,gke=fb,mke=ub;function vke(e,t){return e&&gke(t,mke(t),e)}var yke=vke;function bke(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var xke=bke,wke=Ws,_ke=mC,Ske=xke,Cke=Object.prototype,kke=Cke.hasOwnProperty;function Mke(e){if(!wke(e))return Ske(e);var t=_ke(e),n=[];for(var r in e)r=="constructor"&&(t||!kke.call(e,r))||n.push(r);return n}var Tke=Mke,Ake=RK,Eke=Tke,Oke=cf;function Pke(e){return Oke(e)?Ake(e,!0):Eke(e)}var gb=Pke,Dke=fb,Lke=gb;function Nke(e,t){return e&&Dke(t,Lke(t),e)}var jke=Nke,yL={exports:{}};(function(e,t){var n=kl,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===r,a=o?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;function c(l,g){if(g)return l.slice();var b=l.length,u=s?s(b):new l.constructor(b);return l.copy(u),u}e.exports=c})(yL,yL.exports);var gQ=yL.exports;function Ike(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var xI=Ike,Rke=fb,zke=hI;function Bke(e,t){return Rke(e,zke(e),t)}var Fke=Bke,Wke=zK,Hke=Wke(Object.getPrototypeOf,Object),wI=Hke,Uke=dI,Vke=wI,Yke=hI,Gke=YK,$ke=Object.getOwnPropertySymbols,qke=$ke?function(e){for(var t=[];e;)Uke(t,Yke(e)),e=Vke(e);return t}:Gke,mQ=qke,Xke=fb,Zke=mQ;function Kke(e,t){return Xke(e,Zke(e),t)}var Qke=Kke,Jke=VK,e2e=mQ,t2e=gb;function n2e(e){return Jke(e,t2e,e2e)}var r2e=n2e,i2e=Object.prototype,o2e=i2e.hasOwnProperty;function a2e(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&o2e.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var s2e=a2e,xF=UK;function l2e(e){var t=new e.constructor(e.byteLength);return new xF(t).set(new xF(e)),t}var _I=l2e,c2e=_I;function u2e(e,t){var n=t?c2e(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var d2e=u2e,h2e=/\w*$/;function p2e(e){var t=new e.constructor(e.source,h2e.exec(e));return t.lastIndex=e.lastIndex,t}var f2e=p2e,wF=Bm,_F=wF?wF.prototype:void 0,SF=_F?_F.valueOf:void 0;function g2e(e){return SF?Object(SF.call(e)):{}}var m2e=g2e,v2e=_I;function y2e(e,t){var n=t?v2e(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var vQ=y2e,b2e=_I,x2e=d2e,w2e=f2e,_2e=m2e,S2e=vQ,C2e="[object Boolean]",k2e="[object Date]",M2e="[object Map]",T2e="[object Number]",A2e="[object RegExp]",E2e="[object Set]",O2e="[object String]",P2e="[object Symbol]",D2e="[object ArrayBuffer]",L2e="[object DataView]",N2e="[object Float32Array]",j2e="[object Float64Array]",I2e="[object Int8Array]",R2e="[object Int16Array]",z2e="[object Int32Array]",B2e="[object Uint8Array]",F2e="[object Uint8ClampedArray]",W2e="[object Uint16Array]",H2e="[object Uint32Array]";function U2e(e,t,n){var r=e.constructor;switch(t){case D2e:return b2e(e);case C2e:case k2e:return new r(+e);case L2e:return x2e(e,n);case N2e:case j2e:case I2e:case R2e:case z2e:case B2e:case F2e:case W2e:case H2e:return S2e(e,n);case M2e:return new r;case T2e:case O2e:return new r(e);case A2e:return w2e(e);case E2e:return new r;case P2e:return _2e(e)}}var V2e=U2e,Y2e=Ws,CF=Object.create,G2e=function(){function e(){}return function(t){if(!Y2e(t))return{};if(CF)return CF(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),SI=G2e,$2e=SI,q2e=wI,X2e=mC;function Z2e(e){return typeof e.constructor=="function"&&!X2e(e)?$2e(q2e(e)):{}}var yQ=Z2e,K2e=hb,Q2e=Hs,J2e="[object Map]";function eMe(e){return Q2e(e)&&K2e(e)==J2e}var tMe=eMe,nMe=tMe,rMe=fC,kF=aI,MF=kF&&kF.isMap,iMe=MF?rMe(MF):nMe,oMe=iMe,aMe=hb,sMe=Hs,lMe="[object Set]";function cMe(e){return sMe(e)&&aMe(e)==lMe}var uMe=cMe,dMe=uMe,hMe=fC,TF=aI,AF=TF&&TF.isSet,pMe=AF?hMe(AF):dMe,fMe=pMe,gMe=wC,mMe=fQ,vMe=bI,yMe=yke,bMe=jke,xMe=gQ,wMe=xI,_Me=Fke,SMe=Qke,CMe=GK,kMe=r2e,MMe=hb,TMe=s2e,AMe=V2e,EMe=yQ,OMe=lo,PMe=cb,DMe=oMe,LMe=Ws,NMe=fMe,jMe=ub,IMe=gb,RMe=1,zMe=2,BMe=4,bQ="[object Arguments]",FMe="[object Array]",WMe="[object Boolean]",HMe="[object Date]",UMe="[object Error]",xQ="[object Function]",VMe="[object GeneratorFunction]",YMe="[object Map]",GMe="[object Number]",wQ="[object Object]",$Me="[object RegExp]",qMe="[object Set]",XMe="[object String]",ZMe="[object Symbol]",KMe="[object WeakMap]",QMe="[object ArrayBuffer]",JMe="[object DataView]",eTe="[object Float32Array]",tTe="[object Float64Array]",nTe="[object Int8Array]",rTe="[object Int16Array]",iTe="[object Int32Array]",oTe="[object Uint8Array]",aTe="[object Uint8ClampedArray]",sTe="[object Uint16Array]",lTe="[object Uint32Array]",Fr={};Fr[bQ]=Fr[FMe]=Fr[QMe]=Fr[JMe]=Fr[WMe]=Fr[HMe]=Fr[eTe]=Fr[tTe]=Fr[nTe]=Fr[rTe]=Fr[iTe]=Fr[YMe]=Fr[GMe]=Fr[wQ]=Fr[$Me]=Fr[qMe]=Fr[XMe]=Fr[ZMe]=Fr[oTe]=Fr[aTe]=Fr[sTe]=Fr[lTe]=!0;Fr[UMe]=Fr[xQ]=Fr[KMe]=!1;function uw(e,t,n,r,i,o){var a,s=t&RMe,c=t&zMe,l=t&BMe;if(n&&(a=i?n(e,r,i,o):n(e)),a!==void 0)return a;if(!LMe(e))return e;var g=OMe(e);if(g){if(a=TMe(e),!s)return wMe(e,a)}else{var b=MMe(e),u=b==xQ||b==VMe;if(PMe(e))return xMe(e,s);if(b==wQ||b==bQ||u&&!i){if(a=c||u?{}:EMe(e),!s)return c?SMe(e,bMe(a,e)):_Me(e,yMe(a,e))}else{if(!Fr[b])return i?e:{};a=AMe(e,b,s)}}o||(o=new gMe);var z=o.get(e);if(z)return z;o.set(e,a),NMe(e)?e.forEach(function(C){a.add(uw(C,t,n,C,e,o))}):DMe(e)&&e.forEach(function(C,H){a.set(H,uw(C,t,n,H,e,o))});var w=l?c?kMe:CMe:c?IMe:jMe,x=g?void 0:w(e);return mMe(x||e,function(C,H){x&&(H=C,C=e[H]),vMe(a,H,uw(C,t,n,H,e,o))}),a}var cTe=uw,uTe=cTe,dTe=1,hTe=4;function pTe(e){return uTe(e,dTe|hTe)}var fTe=pTe;const ls=On(fTe);var dw;(function(e){e.INCLUDE_ALL="INCLUDE_ALL",e.ADVANCED="ADVANCED",e.INVALID="INVALID",e.CONDITION="CONDITION",e.SPECIFIC_ITEMS="SPECIFIC_ITEMS"})(dw=dw||(dw={}));var hw;(function(e){e.PERIOD="PERIOD",e.DATE_RANGE="DATE_RANGE"})(hw=hw||(hw={}));var pw;(function(e){e.NUMERIC_RANGE="NUMERIC_RANGE"})(pw=pw||(pw={}));var eh;(function(e){e.YEARS="years",e.QUARTERS="quarters",e.MONTHS="months",e.WEEKS="weeks",e.DAYS="days",e.HOURS="hours",e.MINUTES="minutes"})(eh=eh||(eh={}));var Hg;(function(e){e.DATE_TIME="datetime",e.NUMERIC="numeric",e.TEXT="text"})(Hg=Hg||(Hg={}));const gTe=["1","30"],Tr=Object.assign(Object.assign(Object.assign({},dw),hw),pw),mTe={[Tr.INCLUDE_ALL]:{all:!0,filterType:Tr.INCLUDE_ALL},[Tr.PERIOD]:{last:{count:1,offset:1},isNotCurrentPeriod:!0,filterType:Tr.PERIOD},[Tr.DATE_RANGE]:{filterType:Tr.DATE_RANGE},[Tr.NUMERIC_RANGE]:{filterType:Tr.NUMERIC_RANGE},[Tr.CONDITION]:{explicit:!1,multiSelection:!0,exclude:{members:[]},filterType:Tr.CONDITION},[Tr.SPECIFIC_ITEMS]:{explicit:!0,multiSelection:!0,members:[],filterType:Tr.SPECIFIC_ITEMS}},vTe={filter:mTe.INCLUDE_ALL,level:eh.YEARS};var Lt;(function(e){e.IS="members",e.IS_NOT="exclude",e.IS_WITHIN="isWithin",e.TOP="top",e.BOTTOM="bottom",e.AFTER="after",e.BEFORE="before",e.STARTS_WITH="startsWith",e.DOESNT_START_WITH="doesntStartWith",e.ENDS_WITH="endsWith",e.DOESNT_END_WITH="doesntEndWith",e.CONTAINS="contains",e.DOESNT_CONTAIN="doesntContain",e.EQUALS="equals",e.DOESNT_EQUAL="doesntEqual",e.IS_EMPTY="isEmpty",e.IS_NOT_EMPTY="isNotEmpty",e.GREATER_THAN="fromNotEqual",e.GREATER_THAN_OR_EQUAL="from",e.LESS_THAN="toNotEqual",e.LESS_THAN_OR_EQUAL="to",e.BETWEEN="between",e.IS_NOT_BETWEEN="isNotBetween",e.MULTIPLE_CONDITION="multipleCondition",e.NONE="none"})(Lt=Lt||(Lt={}));function yTe(e,t){return new YQ(e,VQ.Union,t)}function bTe(e,t){return new YQ(e,VQ.Intersection,t)}function _Q(e,t,n){return new wAe(e,t,n)}function SQ(e,t,n){return new hc(e,fo.DoesntContain,t,n)}function CQ(e,t,n){return new hc(e,fo.DoesntEndWith,t,n)}function kQ(e,t,n){return new hc(e,fo.DoesntStartWith,t,n)}function MQ(e,t,n){return new hc(e,fo.Contains,t,n)}function TQ(e,t,n){return new hc(e,fo.EndsWith,t,n)}function AQ(e,t,n){return new hc(e,fo.StartsWith,t,n)}function xTe(e,t,n){return new hc(e,fo.Like,t,n)}function EF(e,t,n){return typeof t=="string"?new hc(e,fo.DoesntEqual,t,n):uf(e,Xr.DoesntEqual,t,void 0,void 0,n)}function bL(e,t,n){return typeof t=="string"?new hc(e,fo.Equals,t,n):uf(e,Xr.Equals,t,void 0,void 0,n)}function EQ(e,t,n){return uf(e,Xr.FromNotEqual,t,void 0,void 0,n)}function OQ(e,t,n){return uf(e,Xr.From,t,void 0,void 0,n)}function PQ(e,t,n){return uf(e,Xr.ToNotEqual,t,void 0,void 0,n)}function DQ(e,t,n){return uf(e,Xr.To,t,void 0,void 0,n)}function u0(e,t,n,r){return uf(e,Xr.From,t,Xr.To,n,r)}function uf(e,t,n,r,i,o){return new kI(e,t,n,r,i,o)}function xh(e,t,n,r,i,o){return new mb(e,t,n,r,i,o)}function LQ(e,t,n,r){return new MI(e,t,n,r)}function NQ(e,t,n,r,i){return new OC(e,t,n,qu.Next,r,i)}function jQ(e,t,n,r,i){return new OC(e,t,n,qu.Last,r,i)}function Gm(e,t,n,r,i,o,a){return new CI(e,t,n,r,i,o,a)}function wTe(e,t,n){return Gm(e.attribute,e,Xr.Equals,t,void 0,void 0,n)}function _Te(e,t,n){return Gm(e.attribute,e,Xr.FromNotEqual,t,void 0,void 0,n)}function STe(e,t,n){return Gm(e.attribute,e,Xr.From,t,void 0,void 0,n)}function CTe(e,t,n){return Gm(e.attribute,e,Xr.To,t,void 0,void 0,n)}function kTe(e,t,n){return Gm(e.attribute,e,Xr.ToNotEqual,t,void 0,void 0,n)}function MTe(e,t,n,r){return Gm(e.attribute,e,Xr.From,t,Xr.To,n,r)}function IQ(e,t,n,r){return new EC(e,t,h_.Top,n,r)}function RQ(e,t,n,r){return new EC(e,t,h_.Bottom,n,r)}const _p=e=>{if(Array.isArray(e)){const[t,...n]=e;return n.length===0?_p(t):{operator:"AND",left:_p(t),right:_p(n)}}return e};var xT;(function(e){e.and=(t,n)=>({operator:"AND",left:_p(t),right:_p(n)}),e.or=(t,n)=>({operator:"OR",left:_p(t),right:_p(n)})})(xT=xT||(xT={}));function TTe(e,t,n){return new TI(e,t,n)}function zQ(e){try{if(e==null)return JSON.stringify(e);if(e===Object(e)&&"composeCode"in e)return e.composeCode;if(Array.isArray(e))return"["+e.map(t=>zQ(t)).join(", ")+"]";if(typeof e=="string")return`'${e}'`;if(typeof e=="number"||!isNaN(e))return e}catch(t){console.error(t)}return JSON.stringify(e)}function ar(e){return function(...t){const n=t.map(zQ).join(", ").replace(/(,\s*)+$/,""),r=`filterFactory.${e.name}(${n})`,i=e(...t);return i.composeCode=r,i}}const OF="DM",BQ=(e,t,n,r,i)=>{const o=t??e.slice(1,-1).split(".")[0];if(r){const c=qc.translateJaqlToGranularity({level:r}),l=qc.getDefaultFormatForGranularity(c),g=new qc(n,e,c,l);return g.composeCode=bF(o,n,r,OF),g}const a=Si(i)?dn.NumericAttribute:dn.TextAttribute,s=new TC(n,e,a);return s.composeCode=bF(o,n,void 0,OF),s},ATe=e=>BQ(e.dim,e.table,e.column,e.level,e.datatype),FQ=(e,t,n,r,i,o)=>{const a=BQ(e,t,n,r,i),s=yI(a,o);return s.composeCode=`measureFactory.${o}(${a.composeCode})`,s},ETe=e=>{const{dim:t,table:n,column:r,level:i,datatype:o,agg:a}=e;if(a)return FQ(t,n,r,i,o,a)},PF=e=>{const{dim:t,table:n,column:r,level:i,datatype:o,agg:a}=e;return FQ(t,n,r,i,o,a)},OTe=e=>e.top!==void 0,PTe=e=>e.bottom!==void 0,DTe=e=>{var t;return!!(!((t=e.exclude)===null||t===void 0)&&t.members)},LTe=e=>!!e.members&&!!e.isCondition,NTe=e=>{var t,n;return((t=e.last)===null||t===void 0?void 0:t.anchor)!==void 0||((n=e.next)===null||n===void 0?void 0:n.anchor)!==void 0},jTe=e=>e.fromNotEqual!==void 0,ITe=e=>e.from!==void 0&&!e.isBetween,RTe=e=>e.toNotEqual!==void 0,zTe=e=>e.to!==void 0&&!e.isBetween,BTe=e=>e.equals!==void 0,FTe=e=>e.doesntEqual!==void 0,WTe=e=>!!(e.equals===""&&e.isEmpty),HTe=e=>!!(e.doesntEqual===""&&e.isEmpty),UTe=e=>e.contains!==void 0,VTe=e=>e.doesntContain!==void 0,YTe=e=>e.startsWith!==void 0,GTe=e=>e.doesntStartWith!==void 0,$Te=e=>e.endsWith!==void 0,qTe=e=>e.doesntEndWith!==void 0,XTe=e=>e.from!==void 0&&e.to!==void 0,ZTe=e=>{var t,n;return((t=e.exclude)===null||t===void 0?void 0:t.from)!==void 0&&((n=e.exclude)===null||n===void 0?void 0:n.to)!==void 0},KTe=e=>!!(e.or||e.and),$m=e=>PTe(e)?Lt.BOTTOM:OTe(e)?Lt.TOP:DTe(e)?Lt.IS_NOT:NTe(e)?Lt.IS_WITHIN:jTe(e)?Lt.GREATER_THAN:RTe(e)?Lt.LESS_THAN:BTe(e)?Lt.EQUALS:FTe(e)?Lt.DOESNT_EQUAL:WTe(e)?Lt.IS_EMPTY:HTe(e)?Lt.IS_NOT_EMPTY:UTe(e)?Lt.CONTAINS:VTe(e)?Lt.DOESNT_CONTAIN:qTe(e)?Lt.DOESNT_END_WITH:GTe(e)?Lt.DOESNT_START_WITH:$Te(e)?Lt.ENDS_WITH:YTe(e)?Lt.STARTS_WITH:ZTe(e)?Lt.IS_NOT_BETWEEN:LTe(e)?Lt.IS:KTe(e)?Lt.MULTIPLE_CONDITION:XTe(e)?Lt.BETWEEN:ITe(e)?Lt.GREATER_THAN_OR_EQUAL:zTe(e)?Lt.LESS_THAN_OR_EQUAL:Lt.NONE,xL=(e,t,n)=>{var r,i,o;switch($m(t)){case Lt.BOTTOM:if(t.by&&"agg"in t.by)return ar(RQ)(e,PF(t.by),t[Lt.BOTTOM],n);break;case Lt.EQUALS:return ar(bL)(e,t[Lt.EQUALS],n);case Lt.GREATER_THAN:return ar(EQ)(e,t[Lt.GREATER_THAN],n);case Lt.GREATER_THAN_OR_EQUAL:return ar(OQ)(e,t[Lt.GREATER_THAN_OR_EQUAL],n);case Lt.TOP:if(t.by)return ar(IQ)(e,PF(t.by),t[Lt.TOP],n);break;case Lt.STARTS_WITH:return ar(AQ)(e,t[Lt.STARTS_WITH],n);case Lt.DOESNT_START_WITH:return ar(kQ)(e,t[Lt.DOESNT_START_WITH],n);case Lt.ENDS_WITH:return ar(TQ)(e,t[Lt.ENDS_WITH],n);case Lt.DOESNT_END_WITH:return ar(CQ)(e,t[Lt.DOESNT_END_WITH],n);case Lt.CONTAINS:return ar(MQ)(e,t[Lt.CONTAINS],n);case Lt.DOESNT_CONTAIN:return ar(SQ)(e,t[Lt.DOESNT_CONTAIN],n);case Lt.LESS_THAN:return ar(PQ)(e,t[Lt.LESS_THAN],n);case Lt.LESS_THAN_OR_EQUAL:return ar(DQ)(e,t[Lt.LESS_THAN_OR_EQUAL],n);case Lt.BETWEEN:return ar(u0)(e,t.from,t.to,n);case Lt.IS_NOT_BETWEEN:return ar(_Q)(ar(u0)(e,(r=t.exclude)===null||r===void 0?void 0:r.from,(i=t.exclude)===null||i===void 0?void 0:i.to,n),void 0,n);case Lt.MULTIPLE_CONDITION:if(t.and)return ar(bTe)(t.and.map(a=>xL(e,a,n)),n);if(t.or)return ar(yTe)(t.or.map(a=>xL(e,a,n)),n);break;case Lt.IS_NOT:return ar(xh)(e,((o=t.exclude)===null||o===void 0?void 0:o.members)||[],!0,n)}throw"Jaql contains unsupported condition filter: "+JSON.stringify(t)},QTe=(e,t,n)=>{switch($m(t)){case Lt.EQUALS:return ar(wTe)(e,t[Lt.EQUALS],n);case Lt.GREATER_THAN:return ar(_Te)(e,t[Lt.GREATER_THAN],n);case Lt.GREATER_THAN_OR_EQUAL:return ar(STe)(e,t[Lt.GREATER_THAN_OR_EQUAL],n);case Lt.LESS_THAN:return ar(kTe)(e,t[Lt.LESS_THAN],n);case Lt.LESS_THAN_OR_EQUAL:return ar(CTe)(e,t[Lt.LESS_THAN_OR_EQUAL],n);case Lt.BETWEEN:return ar(MTe)(e,t.from,t.to,n)}throw"Jaql contains unsupported condition filter: "+JSON.stringify(t)},JTe=(e,t)=>{let n=e?e.toLocaleLowerCase():eh.YEARS;return n===eh.MINUTES&&t==="60"&&(n=eh.HOURS),n},eAe=e=>e==null?void 0:e.all,tAe=e=>e.last?e.last:e.next,nAe=e=>{var t;return((t=tAe(e))===null||t===void 0?void 0:t.offset)<2},WQ=e=>{var t;return((t=e==null?void 0:e.members)===null||t===void 0?void 0:t.length)>=0},rAe=(e,t)=>e&&typeof e=="string"||t&&typeof t=="string",iAe=(e,t)=>e===""&&t==="",oAe=(e,t)=>{const{from:n,to:r}=e;return t!==Hg.DATE_TIME?!1:rAe(n,r)?!0:iAe(n,r)},aAe=e=>{const{from:t,to:n}=e;return t!==void 0&&n!==void 0&&!e.isBetween},HQ=e=>$m(e)!==Lt.NONE,sAe=e=>Object.keys(e).includes("isAdvanced"),lAe=e=>!!(e.level&&e.bucket&&e.level===eh.MINUTES&&gTe.includes(e.bucket)),cAe=e=>e.filterType===Tr.INVALID,DF=(e,t=Hg.DATE_TIME,n)=>n&&lAe(n)||sAe(e)?Tr.ADVANCED:eAe(e)?Tr.INCLUDE_ALL:nAe(e)?Tr.PERIOD:WQ(e)?Tr.SPECIFIC_ITEMS:oAe(e,t)?Tr.DATE_RANGE:aAe(e)?Tr.NUMERIC_RANGE:HQ(e)?Tr.CONDITION:(cAe(e),Tr.INVALID),uAe=(e,t)=>{const{level:n,filter:r,bucket:i}=e,o=r||vTe.filter,a={filter:Object.assign(Object.assign({},o),{filterType:DF(o,t)})};if(t===Hg.DATE_TIME){const s=o,c=(s==null?void 0:s.level)||n;a.level=JTe(c,i),a.filter.filterType=DF(o,t,{level:c,bucket:i})}return a},LF=(e,t)=>({guid:t||UQ(13),jaql:n=>n?e:{jaql:e,panel:"scope"},attribute:{id:e.dim},type:"filter",serializable(){return Object.assign(Object.assign({},this),{jaql:this.jaql()})},toJSON(){return this.serializable()}}),dAe=(e,t)=>ar(xh)(e,[],!0,t),hAe=(e,t,n)=>{const r=pAe(t),i=fAe(t,r);return ar(xh)(e,i,void 0,n,r)};function pAe(e){var t,n,r;return!((t=e.filter)===null||t===void 0)&&t.turnedOff?(r=(n=e.filter)===null||n===void 0?void 0:n.exclude)===null||r===void 0?void 0:r.members:void 0}function fAe(e,t){const n=e.members;return t?n.filter(r=>!t.includes(r)):n}const gAe=(e,t,n)=>ar(LQ)(e,t.from,t.to,n),mAe=(e,t,n)=>ar(u0)(e,t.from,t.to,n),vAe=(e,t,n)=>t.last?ar(jQ)(e,t.last.offset,t.last.count,t.last.anchor,n):ar(NQ)(e,t.next.offset,t.next.count,t.next.anchor,n),yAe=(e,t,n,r)=>n?QTe(n,t,r):xL(e,t,r),bAe=(e,t,n)=>ar(TTe)(e,t,n),NF=(e,t)=>{try{if("formula"in e)throw"Formula-based filter not supported yet: "+JSON.stringify(e);const n=uAe(e,e.datatype),{filter:r}=n,{filterType:i}=r,o=ATe(e),a=ETe(e);switch(i){case Tr.INCLUDE_ALL:return dAe(o,t);case Tr.SPECIFIC_ITEMS:return hAe(o,r,t);case Tr.CONDITION:return yAe(o,r,a,t);case Tr.DATE_RANGE:return gAe(o,r,t);case Tr.PERIOD:return vAe(o,r,t);case Tr.NUMERIC_RANGE:return mAe(o,r,t);case Tr.ADVANCED:return bAe(o,r,t);case Tr.INVALID:return LF(e,t)}}catch{}return LF(e,t)},UQ=function(e){const t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=new Array(e);let r=0,i;for(let o=0;o<e;o+=1){if(o>0&&o%5==0){n[o]="-";continue}r<=2&&(r=33554432+Math.random()*16777216|0),i=r&15,r=r>>4,n[o]=t[o==19?i&3|8:i]}return n.join("")},$u=e=>{if(!e)return{filters:void 0,relations:void 0};if(Array.isArray(e))return{filters:e,relations:void 0};const t=new Set;function n(o){return o&&("guid"in o?(t.add(o),{instanceid:o.guid}):("left"in o&&(o.left=n(o.left)),"right"in o&&(o.right=n(o.right)),o))}const r=ls(e),i=n(r);return{filters:Array.from(t),relations:i}};function ad(e){return typeof e=="string"?e:e.title}function xAe(e){return typeof e=="object"&&"type"in e&&"title"in e}const tm=(e,t)=>{const n=e.filter.filter&&!("turnedOff"in e.filter.filter),r=NF(e,t);return n&&(r.backgroundFilter=NF(Object.assign(Object.assign({},e),{filter:e.filter.filter}),`${t}-bg`)),r},fo={Contains:"contains",StartsWith:"startsWith",EndsWith:"endsWith",Equals:"equals",DoesntEqual:"doesntEqual",DoesntStartWith:"doesntStartWith",DoesntContain:"doesntContain",DoesntEndWith:"doesntEndWith",Like:"like"},Xr={Equals:"equals",DoesntEqual:"doesntEqual",From:"from",FromNotEqual:"fromNotEqual",To:"to",ToNotEqual:"toNotEqual"},qu={From:"from",To:"to",Last:"last",Next:"next",Anchor:"Anchor"},VQ={Union:"or",Intersection:"and",Exclude:"exclude"},h_={Top:"top",Bottom:"bottom"},Gt={logicalAttribute:"logicalAttribute",members:"members",exclude:"exclude",measure:"measure",ranking:"ranking",text:"text",numeric:"numeric",date:"date",relativeDate:"relativeDate",cascading:"cascading",advanced:"advanced"};let ou=class wL extends iI{constructor(t,n,r){super("filter",dn.Filter),this.filterType=n,wL.checkAttributeSupport(t),this.attribute=t,this.guid=r||UQ(13),this.disabled=!1,this.locked=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=t}get locked(){return this._locked}set locked(t){this._locked=t}get name(){return oke(this.jaql())}serializable(){const t=super.serializable();return t.filterType=this.filterType,t.attribute=this.attribute.serializable(),t}jaql(t){if(this.disabled)return wL.disabledJaql(t);const n=this.attribute.jaql(!1),r=this.attribute;if(r.getFormat&&r.getFormat()!==void 0){const i=r.translateGranularityToJaql();n.format={mask:{[i.level]:r.getFormat()}}}return n.jaql.filter=this.filterJaql(),this.isScope&&(n.panel="scope"),t===!0?n.jaql:n}static checkAttributeSupport(t){const{granularity:n}=t;if(n===Ot.Hours||n===Ot.MinutesRoundTo30||n===Ot.MinutesRoundTo15||n===Ot.Minutes||n===Ot.Seconds)throw new uQ("errors.filter.unsupportedDatetimeLevel")}static disabledJaql(t){return t?{filter:{}}:{jaql:{filter:{}}}}},YQ=class extends ou{constructor(e,t,n){super(e[0].attribute,Gt.logicalAttribute,n),this.operator=t,this.filters=e}get id(){return`${this.operator}_${this.filters.map(e=>e.id).join()}`}serializable(){const e=super.serializable();return e.operator=this.operator,e.filters=this.filters.map(t=>t.serializable()),e}filterJaql(){const e={};return e[this.operator]=this.filters.map(t=>t.filterJaql()),e}},mb=class extends ou{constructor(e,t,n,r,i,o){if(super(e,Gt.members,r),this.members=t??[],this.excludeMembers=n??!1,this.deactivatedMembers=i??[],this.backgroundFilter=o,this.members.filter(a=>a==null).length>0)throw new uQ("errors.filter.membersFilterNullMember",{attributeId:e.id})}get id(){return`${this.attribute.id}_${this.members.map(e=>e.toString()).join()}`}serializable(){const e=super.serializable();return e.members=this.members,this.backgroundFilter&&(e.backgroundFilter=this.backgroundFilter.serializable()),e}filterJaql(){const e={members:this.members.map(n=>n.toString())},t=this.excludeMembers?{exclude:e}:e;return this.backgroundFilter?{and:[t,this.backgroundFilter.filterJaql()]}:t}},GQ=class extends ou{constructor(e,t){super(e[0].attribute,Gt.cascading,t),this.filters=e}get id(){return`${this.filterType}_${this.filters.map(e=>e.id).join()}`}get disabled(){return super.disabled}set disabled(e){super.disabled=e,this.filters&&this.filters.forEach(t=>{t.disabled=e})}get locked(){return super.locked}set locked(e){super.locked=e,this.filters&&this.filters.forEach(t=>{t.locked=e})}serializable(){const e=super.serializable();return e.filters=this.filters.map(t=>t.serializable()),e}filterJaql(){return{}}jaql(e){return this.disabled?ou.disabledJaql(e):this.filters.map(t=>(t.isScope=!0,t.jaql(e)))}},wAe=class extends ou{constructor(e,t,n){super(e.attribute,Gt.exclude,n),this.input=t,this.filter=e}get id(){let e=`exclude_${this.filter.id}`;return this.input&&(e+="_from_"+this.input.id),e}serializable(){const e=super.serializable();return e.filter=this.filter.serializable(),this.input&&(e.input=this.input.serializable()),e}filterJaql(){const e={},t=this.filter.filterJaql();return this.input?(e.filter=this.input.filterJaql(),e.filter.filter={exclude:t}):e.exclude=t,e}},AC=class extends ou{constructor(e,t,n,r,i,o,a){super(e,t,a),n&&r!==void 0&&(this.valueA=r,this.operatorA=n),i&&o!==void 0&&(this.operatorB=i,this.valueB=o)}get id(){let e=`${this.attribute.id}`;return this.operatorA&&this.valueA!==void 0&&(e+=`_${this.operatorA}:${this.valueA}`),this.operatorB&&this.valueB!==void 0&&(e+=`_${this.operatorB}:${this.valueB}`),e}serializable(){const e=super.serializable();return this.operatorA&&(e.operatorA=this.operatorA),this.operatorB&&(e.operatorB=this.operatorB),this.valueA!==void 0&&(e.valueA=this.valueA),this.valueB!==void 0&&(e.valueB=this.valueB),e}filterJaql(){const e={};return this.operatorA&&this.valueA!==void 0&&(e[this.operatorA]=this.valueA),this.operatorB&&this.valueB!==void 0&&(e[this.operatorB]=this.valueB),e}},CI=class extends AC{constructor(e,t,n,r,i,o,a){super(e,Gt.measure,n,r,i,o,a),this.measure=t}get id(){let e=`${this.attribute.id}_${this.measure.id}`;return this.operatorA&&this.valueA!==void 0&&(e+=`_${this.operatorA}:${this.valueA}`),this.operatorB&&this.valueB!==void 0&&(e+=`_${this.operatorB}${this.valueB}`),e}serializable(){const e=super.serializable();return e.measure=this.measure.serializable(),e}jaql(e){if(this.disabled)return ou.disabledJaql(e);const t=super.jaql(e);return this.measure instanceof Xc&&Object.entries(this.measure.jaql().jaql).forEach(([n,r])=>{t.jaql[n]=r}),t}},EC=class extends ou{constructor(e,t,n,r,i){super(e,Gt.ranking,i),this.count=r,this.operator=n,this.measure=t}get id(){return`${this.operator}_${this.count}_${this.attribute.id}_by_${this.measure.id}`}serializable(){const e=super.serializable();return e.count=this.count,e.operator=this.operator,e.measure=this.measure.serializable(),e}filterJaql(){const e={};return e[this.operator]=this.count,e.by=this.measure.jaql(!0),e}},kI=class extends AC{constructor(e,t,n,r,i,o){super(e,Gt.numeric,t,n,r,i,o)}};class hc extends AC{constructor(t,n,r,i){super(t,Gt.text,n,r,void 0,void 0,i)}}let MI=class extends AC{constructor(e,t,n,r){super(e,Gt.date,qu.From,t,qu.To,n,r),typeof t=="object"&&(this.valueA=t.toISOString()),typeof n=="object"&&(this.valueB=n.toISOString())}get level(){return this.attribute}get from(){return this.valueA}get to(){return this.valueB}filterJaql(){return super.filterJaql()}},OC=class extends ou{constructor(e,t,n,r,i,o){super(e,Gt.relativeDate,o),r||(r=qu.Next),this.anchor=i,this.operator=r,this.offset=t,this.count=n}get level(){return this.attribute}get id(){let e=`${this.level.id}_${this.operator}_${this.offset}_${this.count}`;return this.anchor&&(typeof this.anchor=="string"?e+=`_${this.anchor}`:typeof this.anchor=="object"&&(e+=`_${this.anchor.toISOString()}`)),e}serializable(){const e=super.serializable();return e.offset=this.offset,e.count=this.count,e.operator=this.operator,this.anchor&&(e.anchor=this.anchor),e}filterJaql(){const e={};return e[this.operator]={offset:this.offset,count:this.count},this.anchor&&(typeof this.anchor=="string"?e[this.operator].anchor=this.anchor:typeof this.anchor=="object"&&(e[this.operator].anchor=this.anchor.toISOString())),e}},TI=class extends ou{constructor(e,t,n){super(e,Gt.advanced,n),delete t.filterType,this.jaqlExpression=t}get id(){return`custom_${this.attribute.id}_${this.guid}`}filterJaql(){return this.jaqlExpression}};const Ma={BOX_MIN_VALUE_NAME:"Box Min",BOX_MEDIAN_VALUE_NAME:"Box Median",BOX_MAX_VALUE_NAME:"Box Max",WHISKER_MIN_VALUE_NAME:"Whisker Min",WHISKER_MAX_VALUE_NAME:"Whisker Max",OUTLIER_COUNT_VALUE_NAME:"Outlier Count",OUTLIER_MIN_VALUE_NAME:"Outlier Min",OUTLIER_MAX_VALUE_NAME:"Outlier Max"};function AI(e){return[ka(Ma.BOX_MIN_VALUE_NAME,"QUARTILE([Attr], 1)",{Attr:e}),ka(Ma.BOX_MEDIAN_VALUE_NAME,"MEDIAN([Attr])",{Attr:e}),ka(Ma.BOX_MAX_VALUE_NAME,"QUARTILE([Attr], 3)",{Attr:e})]}function _Ae(e){return[...AI(e),ka(Ma.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_IQR([Attr])",{Attr:e}),ka(Ma.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_IQR([Attr])",{Attr:e}),ka(Ma.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_IQR([Attr])",{Attr:e})]}function SAe(e){return[...AI(e),ka(Ma.WHISKER_MIN_VALUE_NAME,"MIN([Attr])",{Attr:e}),ka(Ma.WHISKER_MAX_VALUE_NAME,"MAX([Attr])",{Attr:e})]}function CAe(e){return[...AI(e),ka(Ma.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_STDEVP([Attr])",{Attr:e}),ka(Ma.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_STDEVP([Attr])",{Attr:e}),ka(Ma.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_STDEVP([Attr])",{Attr:e})]}const kAe=e=>{const t=ls(e),n=ka(Ma.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_IQR([Attr]), all([Attr]))",{Attr:e}),r=ka(Ma.OUTLIER_MIN_VALUE_NAME,"(LOWERWHISKERMAX_IQR([Attr]), all([Attr]))",{Attr:e});return t.name=`${t.name} (Outliers)`,t.jaql=i=>{const o=Object.assign(Object.assign({},e.jaql(!0)),{filter:{or:[{fromNotEqual:n.jaql(!0)},{toNotEqual:r.jaql(!0)}]}});return i?o:{jaql:o}},t},MAe=e=>{const t=ls(e),n=ka(Ma.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_STDEVP([Attr]), all([Attr]))",{Attr:e}),r=ka(Ma.OUTLIER_MIN_VALUE_NAME,"(LOWERWHISKERMAX_STDEVP([Attr]), all([Attr]))",{Attr:e});return t.jaql=i=>{const o=Object.assign(Object.assign({},e.jaql(!0)),{filter:{or:[{fromNotEqual:n.jaql(!0)},{toNotEqual:r.jaql(!0)}]}});return i?o:{jaql:o}},t};function TAe(e,t){const n=t==null?void 0:t.find(r=>$Q(e)===r.attribute.id);return n&&!n.disabled&&(n.isScope&&(n.isScope=!1),e.jaql.in={selected:n.jaql()}),e}function AAe(e,t){const n=[],r=[];return t.forEach(i=>{e.some(o=>$Q(o)===i.attribute.id)?n.push(i):r.push(i)}),[n,r]}function $Q(e){const{dim:t,level:n,dateTimeLevel:r,bucket:i}=e.jaql;let o=`${t}`;return(n||r)&&(o+=`_${n||r}`),i&&(o+=`_${i}`),o}var EAe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function OAe(e,t,n){return{rowsCount:e.length,columnsCount:t.length,measuresCount:n.length}}function PAe(e){switch(e){case"sortAsc":return"asc";case"sortDesc":return"desc";default:return"none"}}function DAe(e,t,n){const r=PAe(e.direction),i=t===n.rowsCount-1,o={dir:r,initialized:!0,field:e.by&&"valuesIndex"in e.by?n.rowsCount+n.columnsCount+e.by.valuesIndex:t};return i&&(o.sortingLastDimension=!0),e.by&&(o.measurePath=(e.by.columnsMembersPath||[]).reduce((a,s,c)=>Object.assign(Object.assign({},a),{[n.rowsCount+c]:s}),{})),{sort:r,sortDetails:o}}function LAe(e,t){const n=e[t.rowsCount-1];if(n.jaql.sortDetails&&n.jaql.sortDetails.field!==t.rowsCount-1){const r=e[n.jaql.sortDetails.field],i=n.jaql,{sortDetails:o,sort:a}=i,s=EAe(i,["sortDetails","sort"]);r.jaql.sortDetails=o,r.jaql.sort=a,n.jaql=s}}const fw="ComposeSDK";function qQ(e,t){const{attributes:n,measures:r,filters:i,filterRelations:o,highlights:a,dataSource:s,count:c,offset:l,ungroup:g}=e,b=g&&r.length===0,u=Object.assign({metadata:NAe({attributes:n,measures:r,filters:i,filterRelations:o,highlights:a},t)},jAe(s,c,l,b));return o?Object.assign(Object.assign({},u),{filterRelations:o}):u}function XQ(e,t,n,r,i){const[o,a]=AAe(e,r);e.forEach(l=>TAe(l,o));const s=l=>{const g=l.jaql();return n?Array.isArray(g)?g.map(b=>Object.assign(Object.assign({},b),{instanceid:l.guid})):Object.assign(Object.assign({},g),{instanceid:l.guid}):g},c=(i?t.flatMap(l=>s(l)):[...t,...a].flatMap(l=>s(l))).filter(l=>Object.keys(l.jaql.filter||{}).length!==0);return i&&a.length>0&&console.warn(`The following highlight filters were not applied due to missing attributes: [${a.map(l=>l.attribute.name).join(", ")}].`),c}function NAe(e,t){const{attributes:n,measures:r,filters:i,filterRelations:o,highlights:a}=e,s=n.map(g=>g.jaql()),c=r.map(g=>g.jaql()),l=XQ(s,i,o,a,t);return[...s,...c,...l]}function jAe(e,t,n,r){return Object.assign(Object.assign(Object.assign({datasource:ZQ(e),by:fw,queryGuid:AK()},r?{ungroup:!0}:{}),t?{count:t}:{}),n?{offset:n}:{})}function IAe(e,t){const{rowsAttributes:n,columnsAttributes:r,measures:i,filters:o,filterRelations:a,grandTotals:s,highlights:c,dataSource:l,count:g,offset:b}=e,u=Object.assign({metadata:zAe({rowsAttributes:n,columnsAttributes:r,measures:i,filters:o,highlights:c},t)},BAe(l,s,g,b));return a?Object.assign(Object.assign({},u),{filterRelations:a}):u}function jF(e,t,n,r){const i=t==="rows"&&mT(e)&&e.sort&&e.sort.direction!=="sortNone",o=Object.assign(Object.assign({},mT(e)?e.attribute.jaql(!0):e.jaql(!0)),i&&DAe(e.sort,n,r));return Object.assign(Object.assign({jaql:o},mT(e)&&e.includeSubTotals?{format:{subtotal:!0}}:{}),{panel:t,field:{index:n,id:`${t}-${n}`}})}function RAe(e,t,n){return Object.assign(Object.assign({},Vye(e)?wi(e.measure.jaql(),{jaql:{subtotalAgg:e.totalsCalculation},format:{databars:e.dataBars||!1}}):e.jaql()),{panel:t,field:{index:n,id:`${t}-${n}`}})}function zAe(e,t){const{rowsAttributes:n,columnsAttributes:r,measures:i,filters:o,filterRelations:a,highlights:s}=e,c=OAe(n,r,i);let l=0;const g=n.map((C,H)=>jF(C,"rows",H+l,c));l=l+n.length;const b=r.map((C,H)=>jF(C,"columns",H+l,c));l=l+r.length;const u=[...g,...b],z=i.map((C,H)=>RAe(C,"measures",H+l)),w=XQ(u,o,a,s,t),x=[...u,...z,...w];return LAe(x,c),x}function BAe(e,t,n,r){return Object.assign(Object.assign(Object.assign({datasource:ZQ(e),by:fw,queryGuid:AK(),dashboard:fw,widget:fw,format:"pivot"},n?{count:n}:{}),r?{offset:r}:{}),{grandTotals:Object.assign(Object.assign({},Yye),t)})}function ZQ(e){return xAe(e)?{title:e.title,live:e.type==="live"}:e}function FAe(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function WAe(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var HAe=function(){function e(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?process.env.NODE_ENV==="production":n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(WAe(this));var r=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var i=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;i&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
6
+ `))}U.fill(0),i.createHash=function(d){return B(d)},i.createHmac=B,i.randomBytes=function(d,h){if(!h||!h.call)return new w(H(d));try{h.call(this,void 0,new w(H(d)))}catch(m){h(m)}};var P,f=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],y=function(d){i[d]=function(){T("sorry,",d,"is not implemented yet")}};for(P in f)y(f[P])}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){var w=n("./helpers");function x(T,P){T[P>>5]|=128<<P%32,T[14+(P+64>>>9<<4)]=P;for(var f=1732584193,y=-271733879,d=-1732584194,h=271733878,m=0;m<T.length;m+=16){var O=f,M=y,D=d,Y=h,f=H(f,y,d,h,T[m+0],7,-680876936),h=H(h,f,y,d,T[m+1],12,-389564586),d=H(d,h,f,y,T[m+2],17,606105819),y=H(y,d,h,f,T[m+3],22,-1044525330);f=H(f,y,d,h,T[m+4],7,-176418897),h=H(h,f,y,d,T[m+5],12,1200080426),d=H(d,h,f,y,T[m+6],17,-1473231341),y=H(y,d,h,f,T[m+7],22,-45705983),f=H(f,y,d,h,T[m+8],7,1770035416),h=H(h,f,y,d,T[m+9],12,-1958414417),d=H(d,h,f,y,T[m+10],17,-42063),y=H(y,d,h,f,T[m+11],22,-1990404162),f=H(f,y,d,h,T[m+12],7,1804603682),h=H(h,f,y,d,T[m+13],12,-40341101),d=H(d,h,f,y,T[m+14],17,-1502002290),f=G(f,y=H(y,d,h,f,T[m+15],22,1236535329),d,h,T[m+1],5,-165796510),h=G(h,f,y,d,T[m+6],9,-1069501632),d=G(d,h,f,y,T[m+11],14,643717713),y=G(y,d,h,f,T[m+0],20,-373897302),f=G(f,y,d,h,T[m+5],5,-701558691),h=G(h,f,y,d,T[m+10],9,38016083),d=G(d,h,f,y,T[m+15],14,-660478335),y=G(y,d,h,f,T[m+4],20,-405537848),f=G(f,y,d,h,T[m+9],5,568446438),h=G(h,f,y,d,T[m+14],9,-1019803690),d=G(d,h,f,y,T[m+3],14,-187363961),y=G(y,d,h,f,T[m+8],20,1163531501),f=G(f,y,d,h,T[m+13],5,-1444681467),h=G(h,f,y,d,T[m+2],9,-51403784),d=G(d,h,f,y,T[m+7],14,1735328473),f=$(f,y=G(y,d,h,f,T[m+12],20,-1926607734),d,h,T[m+5],4,-378558),h=$(h,f,y,d,T[m+8],11,-2022574463),d=$(d,h,f,y,T[m+11],16,1839030562),y=$(y,d,h,f,T[m+14],23,-35309556),f=$(f,y,d,h,T[m+1],4,-1530992060),h=$(h,f,y,d,T[m+4],11,1272893353),d=$(d,h,f,y,T[m+7],16,-155497632),y=$(y,d,h,f,T[m+10],23,-1094730640),f=$(f,y,d,h,T[m+13],4,681279174),h=$(h,f,y,d,T[m+0],11,-358537222),d=$(d,h,f,y,T[m+3],16,-722521979),y=$(y,d,h,f,T[m+6],23,76029189),f=$(f,y,d,h,T[m+9],4,-640364487),h=$(h,f,y,d,T[m+12],11,-421815835),d=$(d,h,f,y,T[m+15],16,530742520),f=U(f,y=$(y,d,h,f,T[m+2],23,-995338651),d,h,T[m+0],6,-198630844),h=U(h,f,y,d,T[m+7],10,1126891415),d=U(d,h,f,y,T[m+14],15,-1416354905),y=U(y,d,h,f,T[m+5],21,-57434055),f=U(f,y,d,h,T[m+12],6,1700485571),h=U(h,f,y,d,T[m+3],10,-1894986606),d=U(d,h,f,y,T[m+10],15,-1051523),y=U(y,d,h,f,T[m+1],21,-2054922799),f=U(f,y,d,h,T[m+8],6,1873313359),h=U(h,f,y,d,T[m+15],10,-30611744),d=U(d,h,f,y,T[m+6],15,-1560198380),y=U(y,d,h,f,T[m+13],21,1309151649),f=U(f,y,d,h,T[m+4],6,-145523070),h=U(h,f,y,d,T[m+11],10,-1120210379),d=U(d,h,f,y,T[m+2],15,718787259),y=U(y,d,h,f,T[m+9],21,-343485551),f=B(f,O),y=B(y,M),d=B(d,D),h=B(h,Y)}return Array(f,y,d,h)}function C(T,P,f,y,d,h){return B((P=B(B(P,T),B(y,h)))<<d|P>>>32-d,f)}function H(T,P,f,y,d,h,m){return C(P&f|~P&y,T,P,d,h,m)}function G(T,P,f,y,d,h,m){return C(P&y|f&~y,T,P,d,h,m)}function $(T,P,f,y,d,h,m){return C(P^f^y,T,P,d,h,m)}function U(T,P,f,y,d,h,m){return C(f^(P|~y),T,P,d,h,m)}function B(T,P){var f=(65535&T)+(65535&P);return(T>>16)+(P>>16)+(f>>16)<<16|65535&f}r.exports=function(T){return w.hash(T,x,16)}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){r.exports=function(w){for(var x,C=new Array(w),H=0;H<w;H++)!(3&H)&&(x=4294967296*Math.random()),C[H]=x>>>((3&H)<<3)&255;return C}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){var w=n("./helpers");function x(G,$){G[$>>5]|=128<<24-$%32,G[15+($+64>>9<<4)]=$;for(var U,B,T,P=Array(80),f=1732584193,y=-271733879,d=-1732584194,h=271733878,m=-1009589776,O=0;O<G.length;O+=16){for(var M=f,D=y,Y=d,X=h,V=m,R=0;R<80;R++){P[R]=R<16?G[O+R]:H(P[R-3]^P[R-8]^P[R-14]^P[R-16],1);var I=C(C(H(f,5),(I=y,B=d,T=h,(U=R)<20?I&B|~I&T:!(U<40)&&U<60?I&B|I&T|B&T:I^B^T)),C(C(m,P[R]),(U=R)<20?1518500249:U<40?1859775393:U<60?-1894007588:-899497514)),m=h,h=d,d=H(y,30),y=f,f=I}f=C(f,M),y=C(y,D),d=C(d,Y),h=C(h,X),m=C(m,V)}return Array(f,y,d,h,m)}function C(G,$){var U=(65535&G)+(65535&$);return(G>>16)+($>>16)+(U>>16)<<16|65535&U}function H(G,$){return G<<$|G>>>32-$}r.exports=function(G){return w.hash(G,x,20,!0)}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){function w($,U){var B=(65535&$)+(65535&U);return($>>16)+(U>>16)+(B>>16)<<16|65535&B}function x($,U){var B,T=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),P=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),f=new Array(64);$[U>>5]|=128<<24-U%32,$[15+(U+64>>9<<4)]=U;for(var y,d,h=0;h<$.length;h+=16){for(var m=P[0],O=P[1],M=P[2],D=P[3],Y=P[4],X=P[5],V=P[6],R=P[7],I=0;I<64;I++)f[I]=I<16?$[I+h]:w(w(w((d=f[I-2],H(d,17)^H(d,19)^G(d,10)),f[I-7]),(d=f[I-15],H(d,7)^H(d,18)^G(d,3))),f[I-16]),B=w(w(w(w(R,H(d=Y,6)^H(d,11)^H(d,25)),Y&X^~Y&V),T[I]),f[I]),y=w(H(y=m,2)^H(y,13)^H(y,22),m&O^m&M^O&M),R=V,V=X,X=Y,Y=w(D,B),D=M,M=O,O=m,m=w(B,y);P[0]=w(m,P[0]),P[1]=w(O,P[1]),P[2]=w(M,P[2]),P[3]=w(D,P[3]),P[4]=w(Y,P[4]),P[5]=w(X,P[5]),P[6]=w(V,P[6]),P[7]=w(R,P[7])}return P}var C=n("./helpers"),H=function($,U){return $>>>U|$<<32-U},G=function($,U){return $>>>U};r.exports=function($){return C.hash($,x,32,!0)}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){i.read=function(w,x,C,H,h){var $,U,B=8*h-H-1,T=(1<<B)-1,P=T>>1,f=-7,y=C?h-1:0,d=C?-1:1,h=w[x+y];for(y+=d,$=h&(1<<-f)-1,h>>=-f,f+=B;0<f;$=256*$+w[x+y],y+=d,f-=8);for(U=$&(1<<-f)-1,$>>=-f,f+=H;0<f;U=256*U+w[x+y],y+=d,f-=8);if($===0)$=1-P;else{if($===T)return U?NaN:1/0*(h?-1:1);U+=Math.pow(2,H),$-=P}return(h?-1:1)*U*Math.pow(2,$-H)},i.write=function(w,x,C,H,G,m){var U,B,T=8*m-G-1,P=(1<<T)-1,f=P>>1,y=G===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=H?0:m-1,h=H?1:-1,m=x<0||x===0&&1/x<0?1:0;for(x=Math.abs(x),isNaN(x)||x===1/0?(B=isNaN(x)?1:0,U=P):(U=Math.floor(Math.log(x)/Math.LN2),x*(H=Math.pow(2,-U))<1&&(U--,H*=2),2<=(x+=1<=U+f?y/H:y*Math.pow(2,1-f))*H&&(U++,H/=2),P<=U+f?(B=0,U=P):1<=U+f?(B=(x*H-1)*Math.pow(2,G),U+=f):(B=x*Math.pow(2,f-1)*Math.pow(2,G),U=0));8<=G;w[C+d]=255&B,d+=h,B/=256,G-=8);for(U=U<<G|B,T+=G;0<T;w[C+d]=255&U,d+=h,U/=256,T-=8);w[C+d-h]|=128*m}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){var w,x,C;function H(){}(o=r.exports={}).nextTick=(x=typeof window<"u"&&window.setImmediate,C=typeof window<"u"&&window.postMessage&&window.addEventListener,x?function(G){return window.setImmediate(G)}:C?(w=[],window.addEventListener("message",function(G){var $=G.source;$!==window&&$!==null||G.data!=="process-tick"||(G.stopPropagation(),0<w.length&&w.shift()())},!0),function(G){w.push(G),window.postMessage("process-tick","*")}):function(G){setTimeout(G,0)}),o.title="browser",o.browser=!0,o.env={},o.argv=[],o.on=H,o.addListener=H,o.once=H,o.off=H,o.removeListener=H,o.removeAllListeners=H,o.emit=H,o.binding=function(G){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(G){throw new Error("process.chdir is not supported")}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)})})(pQ);var ike=pQ.exports;const oke=On(ike);function ake(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var fQ=ake,ske=hC,lke=db,cke=Object.prototype,uke=cke.hasOwnProperty;function dke(e,t,n){var r=e[t];(!(uke.call(e,t)&&lke(r,n))||n===void 0&&!(t in e))&&ske(e,t,n)}var bI=dke,hke=bI,pke=hC;function fke(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?pke(n,s,c):hke(n,s,c)}return n}var fb=fke,gke=fb,mke=ub;function vke(e,t){return e&&gke(t,mke(t),e)}var yke=vke;function bke(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var xke=bke,wke=Ws,_ke=mC,Ske=xke,Cke=Object.prototype,kke=Cke.hasOwnProperty;function Mke(e){if(!wke(e))return Ske(e);var t=_ke(e),n=[];for(var r in e)r=="constructor"&&(t||!kke.call(e,r))||n.push(r);return n}var Tke=Mke,Ake=RK,Eke=Tke,Oke=cf;function Pke(e){return Oke(e)?Ake(e,!0):Eke(e)}var gb=Pke,Dke=fb,Lke=gb;function Nke(e,t){return e&&Dke(t,Lke(t),e)}var jke=Nke,yL={exports:{}};(function(e,t){var n=kl,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===r,a=o?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;function c(l,g){if(g)return l.slice();var b=l.length,u=s?s(b):new l.constructor(b);return l.copy(u),u}e.exports=c})(yL,yL.exports);var gQ=yL.exports;function Ike(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var xI=Ike,Rke=fb,zke=hI;function Bke(e,t){return Rke(e,zke(e),t)}var Fke=Bke,Wke=zK,Hke=Wke(Object.getPrototypeOf,Object),wI=Hke,Uke=dI,Vke=wI,Yke=hI,Gke=YK,$ke=Object.getOwnPropertySymbols,qke=$ke?function(e){for(var t=[];e;)Uke(t,Yke(e)),e=Vke(e);return t}:Gke,mQ=qke,Xke=fb,Zke=mQ;function Kke(e,t){return Xke(e,Zke(e),t)}var Qke=Kke,Jke=VK,e2e=mQ,t2e=gb;function n2e(e){return Jke(e,t2e,e2e)}var r2e=n2e,i2e=Object.prototype,o2e=i2e.hasOwnProperty;function a2e(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&o2e.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var s2e=a2e,xF=UK;function l2e(e){var t=new e.constructor(e.byteLength);return new xF(t).set(new xF(e)),t}var _I=l2e,c2e=_I;function u2e(e,t){var n=t?c2e(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var d2e=u2e,h2e=/\w*$/;function p2e(e){var t=new e.constructor(e.source,h2e.exec(e));return t.lastIndex=e.lastIndex,t}var f2e=p2e,wF=Bm,_F=wF?wF.prototype:void 0,SF=_F?_F.valueOf:void 0;function g2e(e){return SF?Object(SF.call(e)):{}}var m2e=g2e,v2e=_I;function y2e(e,t){var n=t?v2e(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var vQ=y2e,b2e=_I,x2e=d2e,w2e=f2e,_2e=m2e,S2e=vQ,C2e="[object Boolean]",k2e="[object Date]",M2e="[object Map]",T2e="[object Number]",A2e="[object RegExp]",E2e="[object Set]",O2e="[object String]",P2e="[object Symbol]",D2e="[object ArrayBuffer]",L2e="[object DataView]",N2e="[object Float32Array]",j2e="[object Float64Array]",I2e="[object Int8Array]",R2e="[object Int16Array]",z2e="[object Int32Array]",B2e="[object Uint8Array]",F2e="[object Uint8ClampedArray]",W2e="[object Uint16Array]",H2e="[object Uint32Array]";function U2e(e,t,n){var r=e.constructor;switch(t){case D2e:return b2e(e);case C2e:case k2e:return new r(+e);case L2e:return x2e(e,n);case N2e:case j2e:case I2e:case R2e:case z2e:case B2e:case F2e:case W2e:case H2e:return S2e(e,n);case M2e:return new r;case T2e:case O2e:return new r(e);case A2e:return w2e(e);case E2e:return new r;case P2e:return _2e(e)}}var V2e=U2e,Y2e=Ws,CF=Object.create,G2e=function(){function e(){}return function(t){if(!Y2e(t))return{};if(CF)return CF(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),SI=G2e,$2e=SI,q2e=wI,X2e=mC;function Z2e(e){return typeof e.constructor=="function"&&!X2e(e)?$2e(q2e(e)):{}}var yQ=Z2e,K2e=hb,Q2e=Hs,J2e="[object Map]";function eMe(e){return Q2e(e)&&K2e(e)==J2e}var tMe=eMe,nMe=tMe,rMe=fC,kF=aI,MF=kF&&kF.isMap,iMe=MF?rMe(MF):nMe,oMe=iMe,aMe=hb,sMe=Hs,lMe="[object Set]";function cMe(e){return sMe(e)&&aMe(e)==lMe}var uMe=cMe,dMe=uMe,hMe=fC,TF=aI,AF=TF&&TF.isSet,pMe=AF?hMe(AF):dMe,fMe=pMe,gMe=wC,mMe=fQ,vMe=bI,yMe=yke,bMe=jke,xMe=gQ,wMe=xI,_Me=Fke,SMe=Qke,CMe=GK,kMe=r2e,MMe=hb,TMe=s2e,AMe=V2e,EMe=yQ,OMe=lo,PMe=cb,DMe=oMe,LMe=Ws,NMe=fMe,jMe=ub,IMe=gb,RMe=1,zMe=2,BMe=4,bQ="[object Arguments]",FMe="[object Array]",WMe="[object Boolean]",HMe="[object Date]",UMe="[object Error]",xQ="[object Function]",VMe="[object GeneratorFunction]",YMe="[object Map]",GMe="[object Number]",wQ="[object Object]",$Me="[object RegExp]",qMe="[object Set]",XMe="[object String]",ZMe="[object Symbol]",KMe="[object WeakMap]",QMe="[object ArrayBuffer]",JMe="[object DataView]",eTe="[object Float32Array]",tTe="[object Float64Array]",nTe="[object Int8Array]",rTe="[object Int16Array]",iTe="[object Int32Array]",oTe="[object Uint8Array]",aTe="[object Uint8ClampedArray]",sTe="[object Uint16Array]",lTe="[object Uint32Array]",Fr={};Fr[bQ]=Fr[FMe]=Fr[QMe]=Fr[JMe]=Fr[WMe]=Fr[HMe]=Fr[eTe]=Fr[tTe]=Fr[nTe]=Fr[rTe]=Fr[iTe]=Fr[YMe]=Fr[GMe]=Fr[wQ]=Fr[$Me]=Fr[qMe]=Fr[XMe]=Fr[ZMe]=Fr[oTe]=Fr[aTe]=Fr[sTe]=Fr[lTe]=!0;Fr[UMe]=Fr[xQ]=Fr[KMe]=!1;function uw(e,t,n,r,i,o){var a,s=t&RMe,c=t&zMe,l=t&BMe;if(n&&(a=i?n(e,r,i,o):n(e)),a!==void 0)return a;if(!LMe(e))return e;var g=OMe(e);if(g){if(a=TMe(e),!s)return wMe(e,a)}else{var b=MMe(e),u=b==xQ||b==VMe;if(PMe(e))return xMe(e,s);if(b==wQ||b==bQ||u&&!i){if(a=c||u?{}:EMe(e),!s)return c?SMe(e,bMe(a,e)):_Me(e,yMe(a,e))}else{if(!Fr[b])return i?e:{};a=AMe(e,b,s)}}o||(o=new gMe);var z=o.get(e);if(z)return z;o.set(e,a),NMe(e)?e.forEach(function(C){a.add(uw(C,t,n,C,e,o))}):DMe(e)&&e.forEach(function(C,H){a.set(H,uw(C,t,n,H,e,o))});var w=l?c?kMe:CMe:c?IMe:jMe,x=g?void 0:w(e);return mMe(x||e,function(C,H){x&&(H=C,C=e[H]),vMe(a,H,uw(C,t,n,H,e,o))}),a}var cTe=uw,uTe=cTe,dTe=1,hTe=4;function pTe(e){return uTe(e,dTe|hTe)}var fTe=pTe;const ls=On(fTe);var dw;(function(e){e.INCLUDE_ALL="INCLUDE_ALL",e.ADVANCED="ADVANCED",e.INVALID="INVALID",e.CONDITION="CONDITION",e.SPECIFIC_ITEMS="SPECIFIC_ITEMS"})(dw=dw||(dw={}));var hw;(function(e){e.PERIOD="PERIOD",e.DATE_RANGE="DATE_RANGE"})(hw=hw||(hw={}));var pw;(function(e){e.NUMERIC_RANGE="NUMERIC_RANGE"})(pw=pw||(pw={}));var eh;(function(e){e.YEARS="years",e.QUARTERS="quarters",e.MONTHS="months",e.WEEKS="weeks",e.DAYS="days",e.HOURS="hours",e.MINUTES="minutes"})(eh=eh||(eh={}));var Hg;(function(e){e.DATE_TIME="datetime",e.NUMERIC="numeric",e.TEXT="text"})(Hg=Hg||(Hg={}));const gTe=["1","30"],Tr=Object.assign(Object.assign(Object.assign({},dw),hw),pw),mTe={[Tr.INCLUDE_ALL]:{all:!0,filterType:Tr.INCLUDE_ALL},[Tr.PERIOD]:{last:{count:1,offset:1},isNotCurrentPeriod:!0,filterType:Tr.PERIOD},[Tr.DATE_RANGE]:{filterType:Tr.DATE_RANGE},[Tr.NUMERIC_RANGE]:{filterType:Tr.NUMERIC_RANGE},[Tr.CONDITION]:{explicit:!1,multiSelection:!0,exclude:{members:[]},filterType:Tr.CONDITION},[Tr.SPECIFIC_ITEMS]:{explicit:!0,multiSelection:!0,members:[],filterType:Tr.SPECIFIC_ITEMS}},vTe={filter:mTe.INCLUDE_ALL,level:eh.YEARS};var Lt;(function(e){e.IS="members",e.IS_NOT="exclude",e.IS_WITHIN="isWithin",e.TOP="top",e.BOTTOM="bottom",e.AFTER="after",e.BEFORE="before",e.STARTS_WITH="startsWith",e.DOESNT_START_WITH="doesntStartWith",e.ENDS_WITH="endsWith",e.DOESNT_END_WITH="doesntEndWith",e.CONTAINS="contains",e.DOESNT_CONTAIN="doesntContain",e.EQUALS="equals",e.DOESNT_EQUAL="doesntEqual",e.IS_EMPTY="isEmpty",e.IS_NOT_EMPTY="isNotEmpty",e.GREATER_THAN="fromNotEqual",e.GREATER_THAN_OR_EQUAL="from",e.LESS_THAN="toNotEqual",e.LESS_THAN_OR_EQUAL="to",e.BETWEEN="between",e.IS_NOT_BETWEEN="isNotBetween",e.MULTIPLE_CONDITION="multipleCondition",e.NONE="none"})(Lt=Lt||(Lt={}));function yTe(e,t){return new YQ(e,VQ.Union,t)}function bTe(e,t){return new YQ(e,VQ.Intersection,t)}function _Q(e,t,n){return new wAe(e,t,n)}function SQ(e,t,n){return new hc(e,fo.DoesntContain,t,n)}function CQ(e,t,n){return new hc(e,fo.DoesntEndWith,t,n)}function kQ(e,t,n){return new hc(e,fo.DoesntStartWith,t,n)}function MQ(e,t,n){return new hc(e,fo.Contains,t,n)}function TQ(e,t,n){return new hc(e,fo.EndsWith,t,n)}function AQ(e,t,n){return new hc(e,fo.StartsWith,t,n)}function xTe(e,t,n){return new hc(e,fo.Like,t,n)}function EF(e,t,n){return typeof t=="string"?new hc(e,fo.DoesntEqual,t,n):uf(e,Xr.DoesntEqual,t,void 0,void 0,n)}function bL(e,t,n){return typeof t=="string"?new hc(e,fo.Equals,t,n):uf(e,Xr.Equals,t,void 0,void 0,n)}function EQ(e,t,n){return uf(e,Xr.FromNotEqual,t,void 0,void 0,n)}function OQ(e,t,n){return uf(e,Xr.From,t,void 0,void 0,n)}function PQ(e,t,n){return uf(e,Xr.ToNotEqual,t,void 0,void 0,n)}function DQ(e,t,n){return uf(e,Xr.To,t,void 0,void 0,n)}function u0(e,t,n,r){return uf(e,Xr.From,t,Xr.To,n,r)}function uf(e,t,n,r,i,o){return new kI(e,t,n,r,i,o)}function xh(e,t,n,r,i,o){return new mb(e,t,n,r,i,o)}function LQ(e,t,n,r){return new MI(e,t,n,r)}function NQ(e,t,n,r,i){return new OC(e,t,n,qu.Next,r,i)}function jQ(e,t,n,r,i){return new OC(e,t,n,qu.Last,r,i)}function Gm(e,t,n,r,i,o,a){return new CI(e,t,n,r,i,o,a)}function wTe(e,t,n){return Gm(e.attribute,e,Xr.Equals,t,void 0,void 0,n)}function _Te(e,t,n){return Gm(e.attribute,e,Xr.FromNotEqual,t,void 0,void 0,n)}function STe(e,t,n){return Gm(e.attribute,e,Xr.From,t,void 0,void 0,n)}function CTe(e,t,n){return Gm(e.attribute,e,Xr.To,t,void 0,void 0,n)}function kTe(e,t,n){return Gm(e.attribute,e,Xr.ToNotEqual,t,void 0,void 0,n)}function MTe(e,t,n,r){return Gm(e.attribute,e,Xr.From,t,Xr.To,n,r)}function IQ(e,t,n,r){return new EC(e,t,h_.Top,n,r)}function RQ(e,t,n,r){return new EC(e,t,h_.Bottom,n,r)}const _p=e=>{if(Array.isArray(e)){const[t,...n]=e;return n.length===0?_p(t):{operator:"AND",left:_p(t),right:_p(n)}}return e};var xT;(function(e){e.and=(t,n)=>({operator:"AND",left:_p(t),right:_p(n)}),e.or=(t,n)=>({operator:"OR",left:_p(t),right:_p(n)})})(xT=xT||(xT={}));function TTe(e,t,n){return new TI(e,t,n)}function zQ(e){try{if(e==null)return JSON.stringify(e);if(e===Object(e)&&"composeCode"in e)return e.composeCode;if(Array.isArray(e))return"["+e.map(t=>zQ(t)).join(", ")+"]";if(typeof e=="string")return`'${e}'`;if(typeof e=="number"||!isNaN(e))return e}catch(t){console.error(t)}return JSON.stringify(e)}function ar(e){return function(...t){const n=t.map(zQ).join(", ").replace(/(,\s*)+$/,""),r=`filterFactory.${e.name}(${n})`,i=e(...t);return i.composeCode=r,i}}const OF="DM",BQ=(e,t,n,r,i)=>{const o=t??e.slice(1,-1).split(".")[0];if(r){const c=qc.translateJaqlToGranularity({level:r}),l=qc.getDefaultFormatForGranularity(c),g=new qc(n,e,c,l);return g.composeCode=bF(o,n,r,OF),g}const a=Si(i)?dn.NumericAttribute:dn.TextAttribute,s=new TC(n,e,a);return s.composeCode=bF(o,n,void 0,OF),s},ATe=e=>BQ(e.dim,e.table,e.column,e.level,e.datatype),FQ=(e,t,n,r,i,o)=>{const a=BQ(e,t,n,r,i),s=yI(a,o);return s.composeCode=`measureFactory.${o}(${a.composeCode})`,s},ETe=e=>{const{dim:t,table:n,column:r,level:i,datatype:o,agg:a}=e;if(a)return FQ(t,n,r,i,o,a)},PF=e=>{const{dim:t,table:n,column:r,level:i,datatype:o,agg:a}=e;return FQ(t,n,r,i,o,a)},OTe=e=>e.top!==void 0,PTe=e=>e.bottom!==void 0,DTe=e=>{var t;return!!(!((t=e.exclude)===null||t===void 0)&&t.members)},LTe=e=>!!e.members&&!!e.isCondition,NTe=e=>{var t,n;return((t=e.last)===null||t===void 0?void 0:t.anchor)!==void 0||((n=e.next)===null||n===void 0?void 0:n.anchor)!==void 0},jTe=e=>e.fromNotEqual!==void 0,ITe=e=>e.from!==void 0&&!e.isBetween,RTe=e=>e.toNotEqual!==void 0,zTe=e=>e.to!==void 0&&!e.isBetween,BTe=e=>e.equals!==void 0,FTe=e=>e.doesntEqual!==void 0,WTe=e=>!!(e.equals===""&&e.isEmpty),HTe=e=>!!(e.doesntEqual===""&&e.isEmpty),UTe=e=>e.contains!==void 0,VTe=e=>e.doesntContain!==void 0,YTe=e=>e.startsWith!==void 0,GTe=e=>e.doesntStartWith!==void 0,$Te=e=>e.endsWith!==void 0,qTe=e=>e.doesntEndWith!==void 0,XTe=e=>e.from!==void 0&&e.to!==void 0,ZTe=e=>{var t,n;return((t=e.exclude)===null||t===void 0?void 0:t.from)!==void 0&&((n=e.exclude)===null||n===void 0?void 0:n.to)!==void 0},KTe=e=>!!(e.or||e.and),$m=e=>PTe(e)?Lt.BOTTOM:OTe(e)?Lt.TOP:DTe(e)?Lt.IS_NOT:NTe(e)?Lt.IS_WITHIN:jTe(e)?Lt.GREATER_THAN:RTe(e)?Lt.LESS_THAN:BTe(e)?Lt.EQUALS:FTe(e)?Lt.DOESNT_EQUAL:WTe(e)?Lt.IS_EMPTY:HTe(e)?Lt.IS_NOT_EMPTY:UTe(e)?Lt.CONTAINS:VTe(e)?Lt.DOESNT_CONTAIN:qTe(e)?Lt.DOESNT_END_WITH:GTe(e)?Lt.DOESNT_START_WITH:$Te(e)?Lt.ENDS_WITH:YTe(e)?Lt.STARTS_WITH:ZTe(e)?Lt.IS_NOT_BETWEEN:LTe(e)?Lt.IS:KTe(e)?Lt.MULTIPLE_CONDITION:XTe(e)?Lt.BETWEEN:ITe(e)?Lt.GREATER_THAN_OR_EQUAL:zTe(e)?Lt.LESS_THAN_OR_EQUAL:Lt.NONE,xL=(e,t,n)=>{var r,i,o;switch($m(t)){case Lt.BOTTOM:if(t.by&&"agg"in t.by)return ar(RQ)(e,PF(t.by),t[Lt.BOTTOM],n);break;case Lt.EQUALS:return ar(bL)(e,t[Lt.EQUALS],n);case Lt.GREATER_THAN:return ar(EQ)(e,t[Lt.GREATER_THAN],n);case Lt.GREATER_THAN_OR_EQUAL:return ar(OQ)(e,t[Lt.GREATER_THAN_OR_EQUAL],n);case Lt.TOP:if(t.by)return ar(IQ)(e,PF(t.by),t[Lt.TOP],n);break;case Lt.STARTS_WITH:return ar(AQ)(e,t[Lt.STARTS_WITH],n);case Lt.DOESNT_START_WITH:return ar(kQ)(e,t[Lt.DOESNT_START_WITH],n);case Lt.ENDS_WITH:return ar(TQ)(e,t[Lt.ENDS_WITH],n);case Lt.DOESNT_END_WITH:return ar(CQ)(e,t[Lt.DOESNT_END_WITH],n);case Lt.CONTAINS:return ar(MQ)(e,t[Lt.CONTAINS],n);case Lt.DOESNT_CONTAIN:return ar(SQ)(e,t[Lt.DOESNT_CONTAIN],n);case Lt.LESS_THAN:return ar(PQ)(e,t[Lt.LESS_THAN],n);case Lt.LESS_THAN_OR_EQUAL:return ar(DQ)(e,t[Lt.LESS_THAN_OR_EQUAL],n);case Lt.BETWEEN:return ar(u0)(e,t.from,t.to,n);case Lt.IS_NOT_BETWEEN:return ar(_Q)(ar(u0)(e,(r=t.exclude)===null||r===void 0?void 0:r.from,(i=t.exclude)===null||i===void 0?void 0:i.to,n),void 0,n);case Lt.MULTIPLE_CONDITION:if(t.and)return ar(bTe)(t.and.map(a=>xL(e,a,n)),n);if(t.or)return ar(yTe)(t.or.map(a=>xL(e,a,n)),n);break;case Lt.IS_NOT:return ar(xh)(e,((o=t.exclude)===null||o===void 0?void 0:o.members)||[],!0,n)}throw"Jaql contains unsupported condition filter: "+JSON.stringify(t)},QTe=(e,t,n)=>{switch($m(t)){case Lt.EQUALS:return ar(wTe)(e,t[Lt.EQUALS],n);case Lt.GREATER_THAN:return ar(_Te)(e,t[Lt.GREATER_THAN],n);case Lt.GREATER_THAN_OR_EQUAL:return ar(STe)(e,t[Lt.GREATER_THAN_OR_EQUAL],n);case Lt.LESS_THAN:return ar(kTe)(e,t[Lt.LESS_THAN],n);case Lt.LESS_THAN_OR_EQUAL:return ar(CTe)(e,t[Lt.LESS_THAN_OR_EQUAL],n);case Lt.BETWEEN:return ar(MTe)(e,t.from,t.to,n)}throw"Jaql contains unsupported condition filter: "+JSON.stringify(t)},JTe=(e,t)=>{let n=e?e.toLocaleLowerCase():eh.YEARS;return n===eh.MINUTES&&t==="60"&&(n=eh.HOURS),n},eAe=e=>e==null?void 0:e.all,tAe=e=>e.last?e.last:e.next,nAe=e=>{var t;return((t=tAe(e))===null||t===void 0?void 0:t.offset)<2},WQ=e=>{var t;return((t=e==null?void 0:e.members)===null||t===void 0?void 0:t.length)>=0},rAe=(e,t)=>e&&typeof e=="string"||t&&typeof t=="string",iAe=(e,t)=>e===""&&t==="",oAe=(e,t)=>{const{from:n,to:r}=e;return t!==Hg.DATE_TIME?!1:rAe(n,r)?!0:iAe(n,r)},aAe=e=>{const{from:t,to:n}=e;return t!==void 0&&n!==void 0&&!e.isBetween},HQ=e=>$m(e)!==Lt.NONE,sAe=e=>Object.keys(e).includes("isAdvanced"),lAe=e=>!!(e.level&&e.bucket&&e.level===eh.MINUTES&&gTe.includes(e.bucket)),cAe=e=>e.filterType===Tr.INVALID,DF=(e,t=Hg.DATE_TIME,n)=>n&&lAe(n)||sAe(e)?Tr.ADVANCED:eAe(e)?Tr.INCLUDE_ALL:nAe(e)?Tr.PERIOD:WQ(e)?Tr.SPECIFIC_ITEMS:oAe(e,t)?Tr.DATE_RANGE:aAe(e)?Tr.NUMERIC_RANGE:HQ(e)?Tr.CONDITION:(cAe(e),Tr.INVALID),uAe=(e,t)=>{const{level:n,filter:r,bucket:i}=e,o=r||vTe.filter,a={filter:Object.assign(Object.assign({},o),{filterType:DF(o,t)})};if(t===Hg.DATE_TIME){const s=o,c=(s==null?void 0:s.level)||n;a.level=JTe(c,i),a.filter.filterType=DF(o,t,{level:c,bucket:i})}return a},LF=(e,t)=>({guid:t||UQ(13),jaql:n=>n?e:{jaql:e,panel:"scope"},attribute:{id:e.dim},type:"filter",serializable(){return Object.assign(Object.assign({},this),{jaql:this.jaql()})},toJSON(){return this.serializable()}}),dAe=(e,t)=>ar(xh)(e,[],!0,t),hAe=(e,t,n)=>{const r=pAe(t),i=fAe(t,r);return ar(xh)(e,i,void 0,n,r)};function pAe(e){var t,n,r;return!((t=e.filter)===null||t===void 0)&&t.turnedOff?(r=(n=e.filter)===null||n===void 0?void 0:n.exclude)===null||r===void 0?void 0:r.members:void 0}function fAe(e,t){const n=e.members;return t?n.filter(r=>!t.includes(r)):n}const gAe=(e,t,n)=>ar(LQ)(e,t.from,t.to,n),mAe=(e,t,n)=>ar(u0)(e,t.from,t.to,n),vAe=(e,t,n)=>t.last?ar(jQ)(e,t.last.offset,t.last.count,t.last.anchor,n):ar(NQ)(e,t.next.offset,t.next.count,t.next.anchor,n),yAe=(e,t,n,r)=>n?QTe(n,t,r):xL(e,t,r),bAe=(e,t,n)=>ar(TTe)(e,t,n),NF=(e,t)=>{try{if("formula"in e)throw"Formula-based filter not supported yet: "+JSON.stringify(e);const n=uAe(e,e.datatype),{filter:r}=n,{filterType:i}=r,o=ATe(e),a=ETe(e);switch(i){case Tr.INCLUDE_ALL:return dAe(o,t);case Tr.SPECIFIC_ITEMS:return hAe(o,r,t);case Tr.CONDITION:return yAe(o,r,a,t);case Tr.DATE_RANGE:return gAe(o,r,t);case Tr.PERIOD:return vAe(o,r,t);case Tr.NUMERIC_RANGE:return mAe(o,r,t);case Tr.ADVANCED:return bAe(o,r,t);case Tr.INVALID:return LF(e,t)}}catch{}return LF(e,t)},UQ=function(e){const t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=new Array(e);let r=0,i;for(let o=0;o<e;o+=1){if(o>0&&o%5==0){n[o]="-";continue}r<=2&&(r=33554432+Math.random()*16777216|0),i=r&15,r=r>>4,n[o]=t[o==19?i&3|8:i]}return n.join("")},$u=e=>{if(!e)return{filters:void 0,relations:void 0};if(Array.isArray(e))return{filters:e,relations:void 0};const t=new Set;function n(o){return o&&("guid"in o?(t.add(o),{instanceid:o.guid}):("left"in o&&(o.left=n(o.left)),"right"in o&&(o.right=n(o.right)),o))}const r=ls(e),i=n(r);return{filters:Array.from(t),relations:i}};function ad(e){return typeof e=="string"?e:e.title}function xAe(e){return typeof e=="object"&&"type"in e&&"title"in e}const tm=(e,t)=>{const n=e.filter.filter&&!("turnedOff"in e.filter.filter),r=NF(e,t);return n&&(r.backgroundFilter=NF(Object.assign(Object.assign({},e),{filter:e.filter.filter}),`${t}-bg`)),r},fo={Contains:"contains",StartsWith:"startsWith",EndsWith:"endsWith",Equals:"equals",DoesntEqual:"doesntEqual",DoesntStartWith:"doesntStartWith",DoesntContain:"doesntContain",DoesntEndWith:"doesntEndWith",Like:"like"},Xr={Equals:"equals",DoesntEqual:"doesntEqual",From:"from",FromNotEqual:"fromNotEqual",To:"to",ToNotEqual:"toNotEqual"},qu={From:"from",To:"to",Last:"last",Next:"next",Anchor:"Anchor"},VQ={Union:"or",Intersection:"and",Exclude:"exclude"},h_={Top:"top",Bottom:"bottom"},Gt={logicalAttribute:"logicalAttribute",members:"members",exclude:"exclude",measure:"measure",ranking:"ranking",text:"text",numeric:"numeric",date:"date",relativeDate:"relativeDate",cascading:"cascading",advanced:"advanced"};let ou=class wL extends iI{constructor(t,n,r){super("filter",dn.Filter),this.filterType=n,wL.checkAttributeSupport(t),this.attribute=t,this.guid=r||UQ(13),this.disabled=!1,this.locked=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=t}get locked(){return this._locked}set locked(t){this._locked=t}get name(){return oke(this.jaql())}serializable(){const t=super.serializable();return t.filterType=this.filterType,t.attribute=this.attribute.serializable(),t}jaql(t){if(this.disabled)return wL.disabledJaql(t);const n=this.attribute.jaql(!1),r=this.attribute;if(r.getFormat&&r.getFormat()!==void 0){const i=r.translateGranularityToJaql();n.format={mask:{[i.level]:r.getFormat()}}}return n.jaql.filter=this.filterJaql(),this.isScope&&(n.panel="scope"),t===!0?n.jaql:n}static checkAttributeSupport(t){const{granularity:n}=t;if(n===Ot.Hours||n===Ot.MinutesRoundTo30||n===Ot.MinutesRoundTo15||n===Ot.Minutes||n===Ot.Seconds)throw new uQ("errors.filter.unsupportedDatetimeLevel")}static disabledJaql(t){return t?{filter:{}}:{jaql:{filter:{}}}}},YQ=class extends ou{constructor(e,t,n){super(e[0].attribute,Gt.logicalAttribute,n),this.operator=t,this.filters=e}get id(){return`${this.operator}_${this.filters.map(e=>e.id).join()}`}serializable(){const e=super.serializable();return e.operator=this.operator,e.filters=this.filters.map(t=>t.serializable()),e}filterJaql(){const e={};return e[this.operator]=this.filters.map(t=>t.filterJaql()),e}},mb=class extends ou{constructor(e,t,n,r,i,o){if(super(e,Gt.members,r),this.members=t??[],this.excludeMembers=n??!1,this.deactivatedMembers=i??[],this.backgroundFilter=o,this.members.filter(a=>a==null).length>0)throw new uQ("errors.filter.membersFilterNullMember",{attributeId:e.id})}get id(){return`${this.attribute.id}_${this.members.map(e=>e.toString()).join()}`}serializable(){const e=super.serializable();return e.members=this.members,this.backgroundFilter&&(e.backgroundFilter=this.backgroundFilter.serializable()),e}filterJaql(){const e={members:this.members.map(n=>n.toString())},t=this.excludeMembers&&this.members.length?{exclude:e}:e;return this.backgroundFilter?{and:[t,this.backgroundFilter.filterJaql()]}:t}},GQ=class extends ou{constructor(e,t){super(e[0].attribute,Gt.cascading,t),this.filters=e}get id(){return`${this.filterType}_${this.filters.map(e=>e.id).join()}`}get disabled(){return super.disabled}set disabled(e){super.disabled=e,this.filters&&this.filters.forEach(t=>{t.disabled=e})}get locked(){return super.locked}set locked(e){super.locked=e,this.filters&&this.filters.forEach(t=>{t.locked=e})}serializable(){const e=super.serializable();return e.filters=this.filters.map(t=>t.serializable()),e}filterJaql(){return{}}jaql(e){return this.disabled?ou.disabledJaql(e):this.filters.map(t=>(t.isScope=!0,t.jaql(e)))}},wAe=class extends ou{constructor(e,t,n){super(e.attribute,Gt.exclude,n),this.input=t,this.filter=e}get id(){let e=`exclude_${this.filter.id}`;return this.input&&(e+="_from_"+this.input.id),e}serializable(){const e=super.serializable();return e.filter=this.filter.serializable(),this.input&&(e.input=this.input.serializable()),e}filterJaql(){const e={},t=this.filter.filterJaql();return this.input?(e.filter=this.input.filterJaql(),e.filter.filter={exclude:t}):e.exclude=t,e}},AC=class extends ou{constructor(e,t,n,r,i,o,a){super(e,t,a),n&&r!==void 0&&(this.valueA=r,this.operatorA=n),i&&o!==void 0&&(this.operatorB=i,this.valueB=o)}get id(){let e=`${this.attribute.id}`;return this.operatorA&&this.valueA!==void 0&&(e+=`_${this.operatorA}:${this.valueA}`),this.operatorB&&this.valueB!==void 0&&(e+=`_${this.operatorB}:${this.valueB}`),e}serializable(){const e=super.serializable();return this.operatorA&&(e.operatorA=this.operatorA),this.operatorB&&(e.operatorB=this.operatorB),this.valueA!==void 0&&(e.valueA=this.valueA),this.valueB!==void 0&&(e.valueB=this.valueB),e}filterJaql(){const e={};return this.operatorA&&this.valueA!==void 0&&(e[this.operatorA]=this.valueA),this.operatorB&&this.valueB!==void 0&&(e[this.operatorB]=this.valueB),e}},CI=class extends AC{constructor(e,t,n,r,i,o,a){super(e,Gt.measure,n,r,i,o,a),this.measure=t}get id(){let e=`${this.attribute.id}_${this.measure.id}`;return this.operatorA&&this.valueA!==void 0&&(e+=`_${this.operatorA}:${this.valueA}`),this.operatorB&&this.valueB!==void 0&&(e+=`_${this.operatorB}${this.valueB}`),e}serializable(){const e=super.serializable();return e.measure=this.measure.serializable(),e}jaql(e){if(this.disabled)return ou.disabledJaql(e);const t=super.jaql(e);return this.measure instanceof Xc&&Object.entries(this.measure.jaql().jaql).forEach(([n,r])=>{t.jaql[n]=r}),t}},EC=class extends ou{constructor(e,t,n,r,i){super(e,Gt.ranking,i),this.count=r,this.operator=n,this.measure=t}get id(){return`${this.operator}_${this.count}_${this.attribute.id}_by_${this.measure.id}`}serializable(){const e=super.serializable();return e.count=this.count,e.operator=this.operator,e.measure=this.measure.serializable(),e}filterJaql(){const e={};return e[this.operator]=this.count,e.by=this.measure.jaql(!0),e}},kI=class extends AC{constructor(e,t,n,r,i,o){super(e,Gt.numeric,t,n,r,i,o)}};class hc extends AC{constructor(t,n,r,i){super(t,Gt.text,n,r,void 0,void 0,i)}}let MI=class extends AC{constructor(e,t,n,r){super(e,Gt.date,qu.From,t,qu.To,n,r),typeof t=="object"&&(this.valueA=t.toISOString()),typeof n=="object"&&(this.valueB=n.toISOString())}get level(){return this.attribute}get from(){return this.valueA}get to(){return this.valueB}filterJaql(){return super.filterJaql()}},OC=class extends ou{constructor(e,t,n,r,i,o){super(e,Gt.relativeDate,o),r||(r=qu.Next),this.anchor=i,this.operator=r,this.offset=t,this.count=n}get level(){return this.attribute}get id(){let e=`${this.level.id}_${this.operator}_${this.offset}_${this.count}`;return this.anchor&&(typeof this.anchor=="string"?e+=`_${this.anchor}`:typeof this.anchor=="object"&&(e+=`_${this.anchor.toISOString()}`)),e}serializable(){const e=super.serializable();return e.offset=this.offset,e.count=this.count,e.operator=this.operator,this.anchor&&(e.anchor=this.anchor),e}filterJaql(){const e={};return e[this.operator]={offset:this.offset,count:this.count},this.anchor&&(typeof this.anchor=="string"?e[this.operator].anchor=this.anchor:typeof this.anchor=="object"&&(e[this.operator].anchor=this.anchor.toISOString())),e}},TI=class extends ou{constructor(e,t,n){super(e,Gt.advanced,n),delete t.filterType,this.jaqlExpression=t}get id(){return`custom_${this.attribute.id}_${this.guid}`}filterJaql(){return this.jaqlExpression}};const Ma={BOX_MIN_VALUE_NAME:"Box Min",BOX_MEDIAN_VALUE_NAME:"Box Median",BOX_MAX_VALUE_NAME:"Box Max",WHISKER_MIN_VALUE_NAME:"Whisker Min",WHISKER_MAX_VALUE_NAME:"Whisker Max",OUTLIER_COUNT_VALUE_NAME:"Outlier Count",OUTLIER_MIN_VALUE_NAME:"Outlier Min",OUTLIER_MAX_VALUE_NAME:"Outlier Max"};function AI(e){return[ka(Ma.BOX_MIN_VALUE_NAME,"QUARTILE([Attr], 1)",{Attr:e}),ka(Ma.BOX_MEDIAN_VALUE_NAME,"MEDIAN([Attr])",{Attr:e}),ka(Ma.BOX_MAX_VALUE_NAME,"QUARTILE([Attr], 3)",{Attr:e})]}function _Ae(e){return[...AI(e),ka(Ma.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_IQR([Attr])",{Attr:e}),ka(Ma.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_IQR([Attr])",{Attr:e}),ka(Ma.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_IQR([Attr])",{Attr:e})]}function SAe(e){return[...AI(e),ka(Ma.WHISKER_MIN_VALUE_NAME,"MIN([Attr])",{Attr:e}),ka(Ma.WHISKER_MAX_VALUE_NAME,"MAX([Attr])",{Attr:e})]}function CAe(e){return[...AI(e),ka(Ma.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_STDEVP([Attr])",{Attr:e}),ka(Ma.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_STDEVP([Attr])",{Attr:e}),ka(Ma.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_STDEVP([Attr])",{Attr:e})]}const kAe=e=>{const t=ls(e),n=ka(Ma.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_IQR([Attr]), all([Attr]))",{Attr:e}),r=ka(Ma.OUTLIER_MIN_VALUE_NAME,"(LOWERWHISKERMAX_IQR([Attr]), all([Attr]))",{Attr:e});return t.name=`${t.name} (Outliers)`,t.jaql=i=>{const o=Object.assign(Object.assign({},e.jaql(!0)),{filter:{or:[{fromNotEqual:n.jaql(!0)},{toNotEqual:r.jaql(!0)}]}});return i?o:{jaql:o}},t},MAe=e=>{const t=ls(e),n=ka(Ma.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_STDEVP([Attr]), all([Attr]))",{Attr:e}),r=ka(Ma.OUTLIER_MIN_VALUE_NAME,"(LOWERWHISKERMAX_STDEVP([Attr]), all([Attr]))",{Attr:e});return t.jaql=i=>{const o=Object.assign(Object.assign({},e.jaql(!0)),{filter:{or:[{fromNotEqual:n.jaql(!0)},{toNotEqual:r.jaql(!0)}]}});return i?o:{jaql:o}},t};function TAe(e,t){const n=t==null?void 0:t.find(r=>$Q(e)===r.attribute.id);return n&&!n.disabled&&(n.isScope&&(n.isScope=!1),e.jaql.in={selected:n.jaql()}),e}function AAe(e,t){const n=[],r=[];return t.forEach(i=>{e.some(o=>$Q(o)===i.attribute.id)?n.push(i):r.push(i)}),[n,r]}function $Q(e){const{dim:t,level:n,dateTimeLevel:r,bucket:i}=e.jaql;let o=`${t}`;return(n||r)&&(o+=`_${n||r}`),i&&(o+=`_${i}`),o}var EAe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function OAe(e,t,n){return{rowsCount:e.length,columnsCount:t.length,measuresCount:n.length}}function PAe(e){switch(e){case"sortAsc":return"asc";case"sortDesc":return"desc";default:return"none"}}function DAe(e,t,n){const r=PAe(e.direction),i=t===n.rowsCount-1,o={dir:r,initialized:!0,field:e.by&&"valuesIndex"in e.by?n.rowsCount+n.columnsCount+e.by.valuesIndex:t};return i&&(o.sortingLastDimension=!0),e.by&&(o.measurePath=(e.by.columnsMembersPath||[]).reduce((a,s,c)=>Object.assign(Object.assign({},a),{[n.rowsCount+c]:s}),{})),{sort:r,sortDetails:o}}function LAe(e,t){const n=e[t.rowsCount-1];if(n.jaql.sortDetails&&n.jaql.sortDetails.field!==t.rowsCount-1){const r=e[n.jaql.sortDetails.field],i=n.jaql,{sortDetails:o,sort:a}=i,s=EAe(i,["sortDetails","sort"]);r.jaql.sortDetails=o,r.jaql.sort=a,n.jaql=s}}const fw="ComposeSDK";function qQ(e,t){const{attributes:n,measures:r,filters:i,filterRelations:o,highlights:a,dataSource:s,count:c,offset:l,ungroup:g}=e,b=g&&r.length===0,u=Object.assign({metadata:NAe({attributes:n,measures:r,filters:i,filterRelations:o,highlights:a},t)},jAe(s,c,l,b));return o?Object.assign(Object.assign({},u),{filterRelations:o}):u}function XQ(e,t,n,r,i){const[o,a]=AAe(e,r);e.forEach(l=>TAe(l,o));const s=l=>{const g=l.jaql();return n?Array.isArray(g)?g.map(b=>Object.assign(Object.assign({},b),{instanceid:l.guid})):Object.assign(Object.assign({},g),{instanceid:l.guid}):g},c=(i?t.flatMap(l=>s(l)):[...t,...a].flatMap(l=>s(l))).filter(l=>Object.keys(l.jaql.filter||{}).length!==0);return i&&a.length>0&&console.warn(`The following highlight filters were not applied due to missing attributes: [${a.map(l=>l.attribute.name).join(", ")}].`),c}function NAe(e,t){const{attributes:n,measures:r,filters:i,filterRelations:o,highlights:a}=e,s=n.map(g=>g.jaql()),c=r.map(g=>g.jaql()),l=XQ(s,i,o,a,t);return[...s,...c,...l]}function jAe(e,t,n,r){return Object.assign(Object.assign(Object.assign({datasource:ZQ(e),by:fw,queryGuid:AK()},r?{ungroup:!0}:{}),t?{count:t}:{}),n?{offset:n}:{})}function IAe(e,t){const{rowsAttributes:n,columnsAttributes:r,measures:i,filters:o,filterRelations:a,grandTotals:s,highlights:c,dataSource:l,count:g,offset:b}=e,u=Object.assign({metadata:zAe({rowsAttributes:n,columnsAttributes:r,measures:i,filters:o,highlights:c},t)},BAe(l,s,g,b));return a?Object.assign(Object.assign({},u),{filterRelations:a}):u}function jF(e,t,n,r){const i=t==="rows"&&mT(e)&&e.sort&&e.sort.direction!=="sortNone",o=Object.assign(Object.assign({},mT(e)?e.attribute.jaql(!0):e.jaql(!0)),i&&DAe(e.sort,n,r));return Object.assign(Object.assign({jaql:o},mT(e)&&e.includeSubTotals?{format:{subtotal:!0}}:{}),{panel:t,field:{index:n,id:`${t}-${n}`}})}function RAe(e,t,n){return Object.assign(Object.assign({},Vye(e)?wi(e.measure.jaql(),{jaql:{subtotalAgg:e.totalsCalculation},format:{databars:e.dataBars||!1}}):e.jaql()),{panel:t,field:{index:n,id:`${t}-${n}`}})}function zAe(e,t){const{rowsAttributes:n,columnsAttributes:r,measures:i,filters:o,filterRelations:a,highlights:s}=e,c=OAe(n,r,i);let l=0;const g=n.map((C,H)=>jF(C,"rows",H+l,c));l=l+n.length;const b=r.map((C,H)=>jF(C,"columns",H+l,c));l=l+r.length;const u=[...g,...b],z=i.map((C,H)=>RAe(C,"measures",H+l)),w=XQ(u,o,a,s,t),x=[...u,...z,...w];return LAe(x,c),x}function BAe(e,t,n,r){return Object.assign(Object.assign(Object.assign({datasource:ZQ(e),by:fw,queryGuid:AK(),dashboard:fw,widget:fw,format:"pivot"},n?{count:n}:{}),r?{offset:r}:{}),{grandTotals:Object.assign(Object.assign({},Yye),t)})}function ZQ(e){return xAe(e)?{title:e.title,live:e.type==="live"}:e}function FAe(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function WAe(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var HAe=function(){function e(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?process.env.NODE_ENV==="production":n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(WAe(this));var r=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var i=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;i&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
7
7
  `+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!i}if(this.isSpeedy){var o=FAe(r);try{o.insertRule(n,o.cssRules.length)}catch(a){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',a)}}else r.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Zo="-ms-",p_="-moz-",lr="-webkit-",EI="comm",OI="rule",PI="decl",UAe="@import",KQ="@keyframes",VAe="@layer",YAe=Math.abs,PC=String.fromCharCode,GAe=Object.assign;function $Ae(e,t){return Mo(e,0)^45?(((t<<2^Mo(e,0))<<2^Mo(e,1))<<2^Mo(e,2))<<2^Mo(e,3):0}function QQ(e){return e.trim()}function qAe(e,t){return(e=t.exec(e))?e[0]:e}function ur(e,t,n){return e.replace(t,n)}function _L(e,t){return e.indexOf(t)}function Mo(e,t){return e.charCodeAt(t)|0}function d0(e,t,n){return e.slice(t,n)}function Dc(e){return e.length}function DI(e){return e.length}function ox(e,t){return t.push(e),e}function XAe(e,t){return e.map(t).join("")}var DC=1,nm=1,JQ=0,is=0,Xi=0,qm="";function LC(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:DC,column:nm,length:a,return:""}}function $v(e,t){return GAe(LC("",null,null,"",null,null,0),e,{length:-e.length},t)}function ZAe(){return Xi}function KAe(){return Xi=is>0?Mo(qm,--is):0,nm--,Xi===10&&(nm=1,DC--),Xi}function As(){return Xi=is<JQ?Mo(qm,is++):0,nm++,Xi===10&&(nm=1,DC++),Xi}function Zc(){return Mo(qm,is)}function gw(){return is}function vb(e,t){return d0(qm,e,t)}function h0(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function eJ(e){return DC=nm=1,JQ=Dc(qm=e),is=0,[]}function tJ(e){return qm="",e}function mw(e){return QQ(vb(is-1,SL(e===91?e+2:e===40?e+1:e)))}function QAe(e){for(;(Xi=Zc())&&Xi<33;)As();return h0(e)>2||h0(Xi)>3?"":" "}function JAe(e,t){for(;--t&&As()&&!(Xi<48||Xi>102||Xi>57&&Xi<65||Xi>70&&Xi<97););return vb(e,gw()+(t<6&&Zc()==32&&As()==32))}function SL(e){for(;As();)switch(Xi){case e:return is;case 34:case 39:e!==34&&e!==39&&SL(Xi);break;case 40:e===41&&SL(e);break;case 92:As();break}return is}function eEe(e,t){for(;As()&&e+Xi!==57&&!(e+Xi===84&&Zc()===47););return"/*"+vb(t,is-1)+"*"+PC(e===47?e:As())}function tEe(e){for(;!h0(Zc());)As();return vb(e,is)}function nEe(e){return tJ(vw("",null,null,null,[""],e=eJ(e),0,[0],e))}function vw(e,t,n,r,i,o,a,s,c){for(var l=0,g=0,b=a,u=0,z=0,w=0,x=1,C=1,H=1,G=0,$="",U=i,B=o,T=r,P=$;C;)switch(w=G,G=As()){case 40:if(w!=108&&Mo(P,b-1)==58){_L(P+=ur(mw(G),"&","&\f"),"&\f")!=-1&&(H=-1);break}case 34:case 39:case 91:P+=mw(G);break;case 9:case 10:case 13:case 32:P+=QAe(w);break;case 92:P+=JAe(gw()-1,7);continue;case 47:switch(Zc()){case 42:case 47:ox(rEe(eEe(As(),gw()),t,n),c);break;default:P+="/"}break;case 123*x:s[l++]=Dc(P)*H;case 125*x:case 59:case 0:switch(G){case 0:case 125:C=0;case 59+g:H==-1&&(P=ur(P,/\f/g,"")),z>0&&Dc(P)-b&&ox(z>32?RF(P+";",r,n,b-1):RF(ur(P," ","")+";",r,n,b-2),c);break;case 59:P+=";";default:if(ox(T=IF(P,t,n,l,g,i,s,$,U=[],B=[],b),o),G===123)if(g===0)vw(P,t,T,T,U,o,b,s,B);else switch(u===99&&Mo(P,3)===110?100:u){case 100:case 108:case 109:case 115:vw(e,T,T,r&&ox(IF(e,T,T,0,0,i,s,$,i,U=[],b),B),i,B,b,s,r?U:B);break;default:vw(P,T,T,T,[""],B,0,s,B)}}l=g=z=0,x=H=1,$=P="",b=a;break;case 58:b=1+Dc(P),z=w;default:if(x<1){if(G==123)--x;else if(G==125&&x++==0&&KAe()==125)continue}switch(P+=PC(G),G*x){case 38:H=g>0?1:(P+="\f",-1);break;case 44:s[l++]=(Dc(P)-1)*H,H=1;break;case 64:Zc()===45&&(P+=mw(As())),u=Zc(),g=b=Dc($=P+=tEe(gw())),G++;break;case 45:w===45&&Dc(P)==2&&(x=0)}}return o}function IF(e,t,n,r,i,o,a,s,c,l,g){for(var b=i-1,u=i===0?o:[""],z=DI(u),w=0,x=0,C=0;w<r;++w)for(var H=0,G=d0(e,b+1,b=YAe(x=a[w])),$=e;H<z;++H)($=QQ(x>0?u[H]+" "+G:ur(G,/&\f/g,u[H])))&&(c[C++]=$);return LC(e,t,n,i===0?OI:s,c,l,g)}function rEe(e,t,n){return LC(e,t,n,EI,PC(ZAe()),d0(e,2,-2),0)}function RF(e,t,n,r){return LC(e,t,n,PI,d0(e,0,r),d0(e,r+1,-1),r)}function Ug(e,t){for(var n="",r=DI(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function iEe(e,t,n,r){switch(e.type){case VAe:if(e.children.length)break;case UAe:case PI:return e.return=e.return||e.value;case EI:return"";case KQ:return e.return=e.value+"{"+Ug(e.children,r)+"}";case OI:e.value=e.props.join(",")}return Dc(n=Ug(e.children,r))?e.return=e.value+"{"+n+"}":""}function oEe(e){var t=DI(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}function aEe(e){return function(t){t.root||(t=t.return)&&e(t)}}function nJ(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var sEe=function(e,t,n){for(var r=0,i=0;r=i,i=Zc(),r===38&&i===12&&(t[n]=1),!h0(i);)As();return vb(e,is)},lEe=function(e,t){var n=-1,r=44;do switch(h0(r)){case 0:r===38&&Zc()===12&&(t[n]=1),e[n]+=sEe(is-1,t,n);break;case 2:e[n]+=mw(r);break;case 4:if(r===44){e[++n]=Zc()===58?"&\f":"",t[n]=e[n].length;break}default:e[n]+=PC(r)}while(r=As());return e},cEe=function(e,t){return tJ(lEe(eJ(e),t))},zF=new WeakMap,uEe=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!zF.get(n))&&!r){zF.set(e,!0);for(var i=[],o=cEe(t,i),a=n.props,s=0,c=0;s<o.length;s++)for(var l=0;l<a.length;l++,c++)e.props[c]=i[s]?o[s].replace(/&\f/g,a[l]):a[l]+" "+o[s]}}},dEe=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}},hEe="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",pEe=function(e){return e.type==="comm"&&e.children.indexOf(hEe)>-1},fEe=function(e){return function(t,n,r){if(!(t.type!=="rule"||e.compat)){var i=t.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var o=!!t.parent,a=o?t.parent.children:r,s=a.length-1;s>=0;s--){var c=a[s];if(c.line<t.line)break;if(c.column<t.column){if(pEe(c))return;break}}i.forEach(function(l){console.error('The pseudo class "'+l+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+l.split("-child")[0]+'-of-type".')})}}}},rJ=function(e){return e.type.charCodeAt(1)===105&&e.type.charCodeAt(0)===64},gEe=function(e,t){for(var n=e-1;n>=0;n--)if(!rJ(t[n]))return!0;return!1},BF=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},mEe=function(e,t,n){rJ(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),BF(e)):gEe(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),BF(e)))};function iJ(e,t){switch($Ae(e,t)){case 5103:return lr+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return lr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return lr+e+p_+e+Zo+e+e;case 6828:case 4268:return lr+e+Zo+e+e;case 6165:return lr+e+Zo+"flex-"+e+e;case 5187:return lr+e+ur(e,/(\w+).+(:[^]+)/,lr+"box-$1$2"+Zo+"flex-$1$2")+e;case 5443:return lr+e+Zo+"flex-item-"+ur(e,/flex-|-self/,"")+e;case 4675:return lr+e+Zo+"flex-line-pack"+ur(e,/align-content|flex-|-self/,"")+e;case 5548:return lr+e+Zo+ur(e,"shrink","negative")+e;case 5292:return lr+e+Zo+ur(e,"basis","preferred-size")+e;case 6060:return lr+"box-"+ur(e,"-grow","")+lr+e+Zo+ur(e,"grow","positive")+e;case 4554:return lr+ur(e,/([^-])(transform)/g,"$1"+lr+"$2")+e;case 6187:return ur(ur(ur(e,/(zoom-|grab)/,lr+"$1"),/(image-set)/,lr+"$1"),e,"")+e;case 5495:case 3959:return ur(e,/(image-set\([^]*)/,lr+"$1$`$1");case 4968:return ur(ur(e,/(.+:)(flex-)?(.*)/,lr+"box-pack:$3"+Zo+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+lr+e+e;case 4095:case 3583:case 4068:case 2532:return ur(e,/(.+)-inline(.+)/,lr+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Dc(e)-1-t>6)switch(Mo(e,t+1)){case 109:if(Mo(e,t+4)!==45)break;case 102:return ur(e,/(.+:)(.+)-([^]+)/,"$1"+lr+"$2-$3$1"+p_+(Mo(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~_L(e,"stretch")?iJ(ur(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Mo(e,t+1)!==115)break;case 6444:switch(Mo(e,Dc(e)-3-(~_L(e,"!important")&&10))){case 107:return ur(e,":",":"+lr)+e;case 101:return ur(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+lr+(Mo(e,14)===45?"inline-":"")+"box$3$1"+lr+"$2$3$1"+Zo+"$2box$3")+e}break;case 5936:switch(Mo(e,t+11)){case 114:return lr+e+Zo+ur(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return lr+e+Zo+ur(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return lr+e+Zo+ur(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return lr+e+Zo+e+e}return e}var vEe=function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case PI:e.return=iJ(e.value,e.length);break;case KQ:return Ug([$v(e,{value:ur(e.value,"@","@"+lr)})],r);case OI:if(e.length)return XAe(e.props,function(i){switch(qAe(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ug([$v(e,{props:[ur(i,/:(read-\w+)/,":"+p_+"$1")]})],r);case"::placeholder":return Ug([$v(e,{props:[ur(i,/:(plac\w+)/,":"+lr+"input-$1")]}),$v(e,{props:[ur(i,/:(plac\w+)/,":"+p_+"$1")]}),$v(e,{props:[ur(i,/:(plac\w+)/,Zo+"input-$1")]})],r)}return""})}},yEe=[vEe],oJ=function(e){var t=e.key;if(process.env.NODE_ENV!=="production"&&!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
8
8
  If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(w){var x=w.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(w),w.setAttribute("data-s",""))})}var r=e.stylisPlugins||yEe;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var i={},o,a=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(w){for(var x=w.getAttribute("data-emotion").split(" "),C=1;C<x.length;C++)i[x[C]]=!0;a.push(w)});var s,c=[uEe,dEe];process.env.NODE_ENV!=="production"&&c.push(fEe({get compat(){return z.compat}}),mEe);{var l,g=[iEe,process.env.NODE_ENV!=="production"?function(w){w.root||(w.return?l.insert(w.return):w.value&&w.type!==EI&&l.insert(w.value+"{}"))}:aEe(function(w){l.insert(w)})],b=oEe(c.concat(r,g)),u=function(w){return Ug(nEe(w),b)};s=function(w,x,C,H){l=C,process.env.NODE_ENV!=="production"&&x.map!==void 0&&(l={insert:function(G){C.insert(G+x.map)}}),u(w?w+"{"+x.styles+"}":x.styles),H&&(z.inserted[x.name]=!0)}}var z={key:t,sheet:new HAe({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return z.sheet.hydrate(a),z},bEe=!0;function LI(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var NC=function(e,t,n){var r=e.key+"-"+t.name;(n===!1||bEe===!1)&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},jC=function(e,t,n){NC(e,t,n);var r=e.key+"-"+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next;while(i!==void 0)}};function xEe(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var wEe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},FF=`You have illegal escape sequence in your template literal, most likely inside content's property value.
9
9
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
@@ -17,7 +17,7 @@ You should wrap it with \`css\` like this:
17
17
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
18
18
  You can read more about this here:
19
19
  https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,VEe=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return NC(t,n,r),jI(function(){return jC(t,n,r)}),null},YEe=function e(t,n){if(process.env.NODE_ENV!=="production"&&t===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
20
- You may have forgotten to import it.`);var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,a;n!==void 0&&(o=n.label,a=n.target);var s=QF(t,n,r),c=s||KF(i),l=!c("as");return function(){var g=arguments,b=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&b.push("label:"+o+";"),g[0]==null||g[0].raw===void 0)b.push.apply(b,g);else{process.env.NODE_ENV!=="production"&&g[0][0]===void 0&&console.error(JF),b.push(g[0][0]);for(var u=g.length,z=1;z<u;z++)process.env.NODE_ENV!=="production"&&g[0][z]===void 0&&console.error(JF),b.push(g[z],g[0][z])}var w=IC(function(x,C,H){var G=l&&x.as||i,$="",U=[],B=x;if(x.theme==null){B={};for(var T in x)B[T]=x[T];B.theme=Zn(pu)}typeof x.className=="string"?$=LI(C.registered,U,x.className):x.className!=null&&($=x.className+" ");var P=rm(b.concat(U),C.registered,B);$+=C.key+"-"+P.name,a!==void 0&&($+=" "+a);var f=l&&s===void 0?KF(G):c,y={};for(var d in x)l&&d==="as"||f(d)&&(y[d]=x[d]);return y.className=$,y.ref=H,Qt(hn,null,Qt(VEe,{cache:C,serialized:P,isStringTag:typeof G=="string"}),Qt(G,y))});return w.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",w.defaultProps=t.defaultProps,w.__emotion_real=w,w.__emotion_base=i,w.__emotion_styles=b,w.__emotion_forwardProp=s,Object.defineProperty(w,"toString",{value:function(){return a===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+a}}),w.withComponent=function(x,C){return e(x,Ke({},n,C,{shouldForwardProp:QF(w,C,!0)})).apply(void 0,b)},w}},GEe=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],_n=YEe.bind();GEe.forEach(function(e){_n[e]=_n(e)});function df(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function im(e){return im=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},im(e)}function fu(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function yb(e){fu(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||im(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function $Ee(e,t){fu(2,arguments);var n=yb(e),r=df(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var i=n.getDate(),o=new Date(n.getTime());o.setMonth(n.getMonth()+r+1,0);var a=o.getDate();return i>=a?o:(n.setFullYear(o.getFullYear(),o.getMonth(),i),n)}var qEe={};function XEe(){return qEe}function e8(e,t){var n,r,i,o,a,s,c,l;fu(1,arguments);var g=XEe(),b=df((n=(r=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:g.weekStartsOn)!==null&&r!==void 0?r:(c=g.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:0);if(!(b>=0&&b<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=yb(e),z=u.getUTCDay(),w=(z<b?7:0)+z-b;return u.setUTCDate(u.getUTCDate()-w),u.setUTCHours(0,0,0,0),u}var ZEe={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},KEe=function(e,t,n){var r,i=ZEe[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Gn(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var QEe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},JEe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},eOe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},tOe={date:Gn({formats:QEe,defaultWidth:"full"}),time:Gn({formats:JEe,defaultWidth:"full"}),dateTime:Gn({formats:eOe,defaultWidth:"full"})},nOe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},rOe=function(e,t,n,r){return nOe[e]};function Xt(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):o;i=e.formattingValues[a]||e.formattingValues[o]}else{var s=e.defaultWidth,c=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[c]||e.values[s]}var l=e.argumentCallback?e.argumentCallback(t):t;return i[l]}}var iOe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},oOe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},aOe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},sOe={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},lOe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},cOe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},uOe=function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},dOe={ordinalNumber:uOe,era:Xt({values:iOe,defaultWidth:"wide"}),quarter:Xt({values:oOe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:aOe,defaultWidth:"wide"}),day:Xt({values:sOe,defaultWidth:"wide"}),dayPeriod:Xt({values:lOe,defaultWidth:"wide",formattingValues:cOe,defaultFormattingWidth:"wide"})};function Zt(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var a=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?pOe(s,function(b){return b.test(a)}):hOe(s,function(b){return b.test(a)}),l;l=e.valueCallback?e.valueCallback(c):c,l=n.valueCallback?n.valueCallback(l):l;var g=t.slice(a.length);return{value:l,rest:g}}}function hOe(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function pOe(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function Ml(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],o=t.match(e.parsePattern);if(!o)return null;var a=e.valueCallback?e.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(i.length);return{value:a,rest:s}}}var fOe=/^(\d+)(th|st|nd|rd)?/i,gOe=/\d+/i,mOe={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},vOe={any:[/^b/i,/^(a|c)/i]},yOe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},bOe={any:[/1/i,/2/i,/3/i,/4/i]},xOe={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},wOe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},_Oe={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},SOe={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},COe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},kOe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},MOe={ordinalNumber:Ml({matchPattern:fOe,parsePattern:gOe,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:mOe,defaultMatchWidth:"wide",parsePatterns:vOe,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:yOe,defaultMatchWidth:"wide",parsePatterns:bOe,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:xOe,defaultMatchWidth:"wide",parsePatterns:wOe,defaultParseWidth:"any"}),day:Zt({matchPatterns:_Oe,defaultMatchWidth:"wide",parsePatterns:SOe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:COe,defaultMatchWidth:"any",parsePatterns:kOe,defaultParseWidth:"any"})},TOe={code:"en-US",formatDistance:KEe,formatLong:tOe,formatRelative:rOe,localize:dOe,match:MOe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function dJ(e,t){fu(2,arguments);var n=df(t);return $Ee(e,n*12)}var hJ=6e4,pJ=36e5;function bb(e,t){var n;fu(1,arguments);var r=df((n=void 0)!==null&&n!==void 0?n:2);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof e=="string"||Object.prototype.toString.call(e)==="[object String]"))return new Date(NaN);var i=POe(e),o;if(i.date){var a=DOe(i.date,r);o=LOe(a.restDateString,a.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var s=o.getTime(),c=0,l;if(i.time&&(c=NOe(i.time),isNaN(c)))return new Date(NaN);if(i.timezone){if(l=jOe(i.timezone),isNaN(l))return new Date(NaN)}else{var g=new Date(s+c),b=new Date(0);return b.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),b.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),b}return new Date(s+c+l)}var ax={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},AOe=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,EOe=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,OOe=/^([+-])(\d{2})(?::?(\d{2}))?$/;function POe(e){var t={},n=e.split(ax.dateTimeDelimiter),r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],ax.timeZoneDelimiter.test(t.date)&&(t.date=e.split(ax.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){var i=ax.timezone.exec(r);i?(t.time=r.replace(i[1],""),t.timezone=i[1]):t.time=r}return t}function DOe(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:o===null?i:o*100,restDateString:e.slice((r[1]||r[2]).length)}}function LOe(e,t){if(t===null)return new Date(NaN);var n=e.match(AOe);if(!n)return new Date(NaN);var r=!!n[4],i=qv(n[1]),o=qv(n[2])-1,a=qv(n[3]),s=qv(n[4]),c=qv(n[5])-1;if(r)return FOe(t,s,c)?IOe(t,s,c):new Date(NaN);var l=new Date(0);return!zOe(t,o,a)||!BOe(t,i)?new Date(NaN):(l.setUTCFullYear(t,o,Math.max(i,a)),l)}function qv(e){return e?parseInt(e):1}function NOe(e){var t=e.match(EOe);if(!t)return NaN;var n=_T(t[1]),r=_T(t[2]),i=_T(t[3]);return WOe(n,r,i)?n*pJ+r*hJ+i*1e3:NaN}function _T(e){return e&&parseFloat(e.replace(",","."))||0}function jOe(e){if(e==="Z")return 0;var t=e.match(OOe);if(!t)return 0;var n=t[1]==="+"?-1:1,r=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return HOe(r,i)?n*(r*pJ+i*hJ):NaN}function IOe(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var i=r.getUTCDay()||7,o=(t-1)*7+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}var ROe=[31,null,31,30,31,30,31,31,30,31,30,31];function fJ(e){return e%400===0||e%4===0&&e%100!==0}function zOe(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(ROe[t]||(fJ(e)?29:28))}function BOe(e,t){return t>=1&&t<=(fJ(e)?366:365)}function FOe(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function WOe(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function HOe(e,t){return t>=0&&t<=59}function gJ(e,t){fu(2,arguments);var n=df(t);return dJ(e,-n)}function UOe(e){fu(1,arguments);var t=yb(e),n=t.getFullYear(),r=t.getMonth(),i=new Date(0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.getDate()}function VOe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CL(e,t){return CL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},CL(e,t)}function YOe(e,t){if(im(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(im(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function GOe(e){var t=YOe(e,"string");return im(t)=="symbol"?t:t+""}function $Oe(e,t,n){return t=GOe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qOe(e,t){fu(2,arguments);var n=yb(e),r=df(t),i=n.getFullYear(),o=n.getDate(),a=new Date(0);a.setFullYear(i,r,15),a.setHours(0,0,0,0);var s=UOe(a);return n.setMonth(r,Math.min(o,s)),n}function XOe(e,t){fu(2,arguments);var n=yb(e),r=df(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(r),n)}function f0(e,t,n){fu(2,arguments);var r=e8(e,n),i=e8(t,n);return r.getTime()===i.getTime()}var t8={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"halbe Minute",withPreposition:"halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},ZOe=function(e,t,n){var r,i=n!=null&&n.addSuffix?t8[e].withPreposition:t8[e].standalone;return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:"vor "+r:r},KOe={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},QOe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},JOe={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},ePe={date:Gn({formats:KOe,defaultWidth:"full"}),time:Gn({formats:QOe,defaultWidth:"full"}),dateTime:Gn({formats:JOe,defaultWidth:"full"})},tPe={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},nPe=function(e,t,n,r){return tPe[e]},rPe={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},iPe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},kL={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},oPe={narrow:kL.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:kL.wide},aPe={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},sPe={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},lPe={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},cPe=function(e){var t=Number(e);return t+"."},uPe={ordinalNumber:cPe,era:Xt({values:rPe,defaultWidth:"wide"}),quarter:Xt({values:iPe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:kL,formattingValues:oPe,defaultWidth:"wide"}),day:Xt({values:aPe,defaultWidth:"wide"}),dayPeriod:Xt({values:sPe,defaultWidth:"wide",formattingValues:lPe,defaultFormattingWidth:"wide"})},dPe=/^(\d+)(\.)?/i,hPe=/\d+/i,pPe={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},fPe={any:[/^v/i,/^n/i]},gPe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},mPe={any:[/1/i,/2/i,/3/i,/4/i]},vPe={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},yPe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},bPe={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},xPe={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},wPe={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},_Pe={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},SPe={ordinalNumber:Ml({matchPattern:dPe,parsePattern:hPe,valueCallback:function(e){return parseInt(e)}}),era:Zt({matchPatterns:pPe,defaultMatchWidth:"wide",parsePatterns:fPe,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:gPe,defaultMatchWidth:"wide",parsePatterns:mPe,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:vPe,defaultMatchWidth:"wide",parsePatterns:yPe,defaultParseWidth:"any"}),day:Zt({matchPatterns:bPe,defaultMatchWidth:"wide",parsePatterns:xPe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:wPe,defaultMatchWidth:"wide",parsePatterns:_Pe,defaultParseWidth:"any"})},CPe={code:"de",formatDistance:ZOe,formatLong:ePe,formatRelative:nPe,localize:uPe,match:SPe,options:{weekStartsOn:1,firstWeekContainsDate:4}},kPe={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},MPe=function(e,t,n){var r,i=kPe[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"en "+r:"hace "+r:r},TPe={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},APe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},EPe={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},OPe={date:Gn({formats:TPe,defaultWidth:"full"}),time:Gn({formats:APe,defaultWidth:"full"}),dateTime:Gn({formats:EPe,defaultWidth:"full"})},PPe={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},DPe={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},LPe=function(e,t,n,r){return t.getUTCHours()!==1?DPe[e]:PPe[e]},NPe={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},jPe={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},IPe={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},RPe={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},zPe={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},BPe={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},FPe=function(e,t){var n=Number(e);return n+"º"},WPe={ordinalNumber:FPe,era:Xt({values:NPe,defaultWidth:"wide"}),quarter:Xt({values:jPe,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:Xt({values:IPe,defaultWidth:"wide"}),day:Xt({values:RPe,defaultWidth:"wide"}),dayPeriod:Xt({values:zPe,defaultWidth:"wide",formattingValues:BPe,defaultFormattingWidth:"wide"})},HPe=/^(\d+)(º)?/i,UPe=/\d+/i,VPe={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},YPe={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},GPe={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},$Pe={any:[/1/i,/2/i,/3/i,/4/i]},qPe={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},XPe={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},ZPe={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},KPe={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},QPe={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},JPe={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},eDe={ordinalNumber:Ml({matchPattern:HPe,parsePattern:UPe,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:VPe,defaultMatchWidth:"wide",parsePatterns:YPe,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:GPe,defaultMatchWidth:"wide",parsePatterns:$Pe,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:qPe,defaultMatchWidth:"wide",parsePatterns:XPe,defaultParseWidth:"any"}),day:Zt({matchPatterns:ZPe,defaultMatchWidth:"wide",parsePatterns:KPe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:QPe,defaultMatchWidth:"any",parsePatterns:JPe,defaultParseWidth:"any"})},tDe={code:"es",formatDistance:MPe,formatLong:OPe,formatRelative:LPe,localize:WPe,match:eDe,options:{weekStartsOn:1,firstWeekContainsDate:1}},nDe={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},rDe=function(e,t,n){var r,i=nDe[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"dans "+r:"il y a "+r:r},iDe={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},oDe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},aDe={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},sDe={date:Gn({formats:iDe,defaultWidth:"full"}),time:Gn({formats:oDe,defaultWidth:"full"}),dateTime:Gn({formats:aDe,defaultWidth:"full"})},lDe={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},cDe=function(e,t,n,r){return lDe[e]},uDe={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},dDe={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},hDe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},pDe={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},fDe={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},gDe=function(e,t){var n=Number(e),r=t==null?void 0:t.unit;if(n===0)return"0";var i=["year","week","hour","minute","second"],o;return n===1?o=r&&i.includes(r)?"ère":"er":o="ème",n+o},mDe={ordinalNumber:gDe,era:Xt({values:uDe,defaultWidth:"wide"}),quarter:Xt({values:dDe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:hDe,defaultWidth:"wide"}),day:Xt({values:pDe,defaultWidth:"wide"}),dayPeriod:Xt({values:fDe,defaultWidth:"wide"})},vDe=/^(\d+)(ième|ère|ème|er|e)?/i,yDe=/\d+/i,bDe={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},xDe={any:[/^av/i,/^ap/i]},wDe={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},_De={any:[/1/i,/2/i,/3/i,/4/i]},SDe={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},CDe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},kDe={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},MDe={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},TDe={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},ADe={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},EDe={ordinalNumber:Ml({matchPattern:vDe,parsePattern:yDe,valueCallback:function(e){return parseInt(e)}}),era:Zt({matchPatterns:bDe,defaultMatchWidth:"wide",parsePatterns:xDe,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:wDe,defaultMatchWidth:"wide",parsePatterns:_De,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:SDe,defaultMatchWidth:"wide",parsePatterns:CDe,defaultParseWidth:"any"}),day:Zt({matchPatterns:kDe,defaultMatchWidth:"wide",parsePatterns:MDe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:TDe,defaultMatchWidth:"any",parsePatterns:ADe,defaultParseWidth:"any"})},ODe={code:"fr",formatDistance:rDe,formatLong:sDe,formatRelative:cDe,localize:mDe,match:EDe,options:{weekStartsOn:1,firstWeekContainsDate:4}},PDe={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},DDe=function(e,t,n){var r,i=PDe[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"tra "+r:r+" fa":r},LDe={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},NDe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},jDe={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},IDe={date:Gn({formats:LDe,defaultWidth:"full"}),time:Gn({formats:NDe,defaultWidth:"full"}),dateTime:Gn({formats:jDe,defaultWidth:"full"})},zI=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function RDe(e){switch(e){case 0:return"'domenica scorsa alle' p";default:return"'"+zI[e]+" scorso alle' p"}}function n8(e){return"'"+zI[e]+" alle' p"}function zDe(e){switch(e){case 0:return"'domenica prossima alle' p";default:return"'"+zI[e]+" prossimo alle' p"}}var BDe={lastWeek:function(e,t,n){var r=e.getUTCDay();return f0(e,t,n)?n8(r):RDe(r)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:function(e,t,n){var r=e.getUTCDay();return f0(e,t,n)?n8(r):zDe(r)},other:"P"},FDe=function(e,t,n,r){var i=BDe[e];return typeof i=="function"?i(t,n,r):i},WDe={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},HDe={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},UDe={narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},VDe={narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},YDe={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},GDe={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},$De=function(e,t){var n=Number(e);return String(n)},qDe={ordinalNumber:$De,era:Xt({values:WDe,defaultWidth:"wide"}),quarter:Xt({values:HDe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:UDe,defaultWidth:"wide"}),day:Xt({values:VDe,defaultWidth:"wide"}),dayPeriod:Xt({values:YDe,defaultWidth:"wide",formattingValues:GDe,defaultFormattingWidth:"wide"})},XDe=/^(\d+)(º)?/i,ZDe=/\d+/i,KDe={narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},QDe={any:[/^a/i,/^(d|e)/i]},JDe={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},eLe={any:[/1/i,/2/i,/3/i,/4/i]},tLe={narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},nLe={narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},rLe={narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},iLe={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},oLe={narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},aLe={any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},sLe={ordinalNumber:Ml({matchPattern:XDe,parsePattern:ZDe,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:KDe,defaultMatchWidth:"wide",parsePatterns:QDe,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:JDe,defaultMatchWidth:"wide",parsePatterns:eLe,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:tLe,defaultMatchWidth:"wide",parsePatterns:nLe,defaultParseWidth:"any"}),day:Zt({matchPatterns:rLe,defaultMatchWidth:"wide",parsePatterns:iLe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:oLe,defaultMatchWidth:"any",parsePatterns:aLe,defaultParseWidth:"any"})},lLe={code:"it",formatDistance:DDe,formatLong:IDe,formatRelative:FDe,localize:qDe,match:sLe,options:{weekStartsOn:1,firstWeekContainsDate:4}},cLe={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},uLe=function(e,t,n){n=n||{};var r,i=cLe[e];return typeof i=="string"?r=i:t===1?n.addSuffix&&i.oneWithSuffix?r=i.oneWithSuffix:r=i.one:n.addSuffix&&i.otherWithSuffix?r=i.otherWithSuffix.replace("{{count}}",String(t)):r=i.other.replace("{{count}}",String(t)),n.addSuffix?n.comparison&&n.comparison>0?r+"後":r+"前":r},dLe={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},hLe={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},pLe={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},fLe={date:Gn({formats:dLe,defaultWidth:"full"}),time:Gn({formats:hLe,defaultWidth:"full"}),dateTime:Gn({formats:pLe,defaultWidth:"full"})},gLe={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},mLe=function(e,t,n,r){return gLe[e]},vLe={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},yLe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},bLe={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},xLe={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},wLe={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},_Le={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},SLe=function(e,t){var n=Number(e),r=String(t==null?void 0:t.unit);switch(r){case"year":return"".concat(n,"年");case"quarter":return"第".concat(n,"四半期");case"month":return"".concat(n,"月");case"week":return"第".concat(n,"週");case"date":return"".concat(n,"日");case"hour":return"".concat(n,"時");case"minute":return"".concat(n,"分");case"second":return"".concat(n,"秒");default:return"".concat(n)}},CLe={ordinalNumber:SLe,era:Xt({values:vLe,defaultWidth:"wide"}),quarter:Xt({values:yLe,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:Xt({values:bLe,defaultWidth:"wide"}),day:Xt({values:xLe,defaultWidth:"wide"}),dayPeriod:Xt({values:wLe,defaultWidth:"wide",formattingValues:_Le,defaultFormattingWidth:"wide"})},kLe=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,MLe=/\d+/i,TLe={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},ALe={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},ELe={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},OLe={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},PLe={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},DLe={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},LLe={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},NLe={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},jLe={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},ILe={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},RLe={ordinalNumber:Ml({matchPattern:kLe,parsePattern:MLe,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:TLe,defaultMatchWidth:"wide",parsePatterns:ALe,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:ELe,defaultMatchWidth:"wide",parsePatterns:OLe,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:PLe,defaultMatchWidth:"wide",parsePatterns:DLe,defaultParseWidth:"any"}),day:Zt({matchPatterns:LLe,defaultMatchWidth:"wide",parsePatterns:NLe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:jLe,defaultMatchWidth:"any",parsePatterns:ILe,defaultParseWidth:"any"})},zLe={code:"ja",formatDistance:uLe,formatLong:fLe,formatRelative:mLe,localize:CLe,match:RLe,options:{weekStartsOn:0,firstWeekContainsDate:1}},BLe={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},FLe=function(e,t,n){var r,i=BLe[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?r+" 후":r+" 전":r},WLe={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},HLe={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},ULe={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},VLe={date:Gn({formats:WLe,defaultWidth:"full"}),time:Gn({formats:HLe,defaultWidth:"full"}),dateTime:Gn({formats:ULe,defaultWidth:"full"})},YLe={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},GLe=function(e,t,n,r){return YLe[e]},$Le={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},qLe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},XLe={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},ZLe={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},KLe={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},QLe={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},JLe=function(e,t){var n=Number(e),r=String(t==null?void 0:t.unit);switch(r){case"minute":case"second":return String(n);case"date":return n+"일";default:return n+"번째"}},eNe={ordinalNumber:JLe,era:Xt({values:$Le,defaultWidth:"wide"}),quarter:Xt({values:qLe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:XLe,defaultWidth:"wide"}),day:Xt({values:ZLe,defaultWidth:"wide"}),dayPeriod:Xt({values:KLe,defaultWidth:"wide",formattingValues:QLe,defaultFormattingWidth:"wide"})},tNe=/^(\d+)(일|번째)?/i,nNe=/\d+/i,rNe={narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},iNe={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},oNe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},aNe={any:[/1/i,/2/i,/3/i,/4/i]},sNe={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},lNe={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},cNe={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},uNe={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},dNe={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},hNe={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},pNe={ordinalNumber:Ml({matchPattern:tNe,parsePattern:nNe,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:rNe,defaultMatchWidth:"wide",parsePatterns:iNe,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:oNe,defaultMatchWidth:"wide",parsePatterns:aNe,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:sNe,defaultMatchWidth:"wide",parsePatterns:lNe,defaultParseWidth:"any"}),day:Zt({matchPatterns:cNe,defaultMatchWidth:"wide",parsePatterns:uNe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:dNe,defaultMatchWidth:"any",parsePatterns:hNe,defaultParseWidth:"any"})},fNe={code:"ko",formatDistance:FLe,formatLong:VLe,formatRelative:GLe,localize:eNe,match:pNe,options:{weekStartsOn:0,firstWeekContainsDate:1}},gNe={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},mNe=function(e,t,n){var r,i=gNe[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"over "+r:r+" geleden":r},vNe={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},yNe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},bNe={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},xNe={date:Gn({formats:vNe,defaultWidth:"full"}),time:Gn({formats:yNe,defaultWidth:"full"}),dateTime:Gn({formats:bNe,defaultWidth:"full"})},wNe={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},_Ne=function(e,t,n,r){return wNe[e]},SNe={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},CNe={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},kNe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},MNe={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},TNe={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},ANe=function(e,t){var n=Number(e);return n+"e"},ENe={ordinalNumber:ANe,era:Xt({values:SNe,defaultWidth:"wide"}),quarter:Xt({values:CNe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:kNe,defaultWidth:"wide"}),day:Xt({values:MNe,defaultWidth:"wide"}),dayPeriod:Xt({values:TNe,defaultWidth:"wide"})},ONe=/^(\d+)e?/i,PNe=/\d+/i,DNe={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},LNe={any:[/^v/,/^n/]},NNe={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},jNe={any:[/1/i,/2/i,/3/i,/4/i]},INe={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},RNe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},zNe={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},BNe={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},FNe={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},WNe={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},HNe={ordinalNumber:Ml({matchPattern:ONe,parsePattern:PNe,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:DNe,defaultMatchWidth:"wide",parsePatterns:LNe,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:NNe,defaultMatchWidth:"wide",parsePatterns:jNe,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:INe,defaultMatchWidth:"wide",parsePatterns:RNe,defaultParseWidth:"any"}),day:Zt({matchPatterns:zNe,defaultMatchWidth:"wide",parsePatterns:BNe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:FNe,defaultMatchWidth:"any",parsePatterns:WNe,defaultParseWidth:"any"})},UNe={code:"nl",formatDistance:mNe,formatLong:xNe,formatRelative:_Ne,localize:ENe,match:HNe,options:{weekStartsOn:1,firstWeekContainsDate:4}},VNe={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"aproximadamente 1 semana",other:"aproximadamente {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"aproximadamente 1 mês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},YNe=function(e,t,n){var r,i=VNe[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"daqui a "+r:"há "+r:r},GNe={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},$Ne={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},qNe={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},XNe={date:Gn({formats:GNe,defaultWidth:"full"}),time:Gn({formats:$Ne,defaultWidth:"full"}),dateTime:Gn({formats:qNe,defaultWidth:"full"})},ZNe={lastWeek:function(e){var t=e.getUTCDay(),n=t===0||t===6?"último":"última";return"'"+n+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},KNe=function(e,t,n,r){var i=ZNe[e];return typeof i=="function"?i(t):i},QNe={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},JNe={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},eje={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},tje={narrow:["d","s","t","q","q","s","s"],short:["dom","seg","ter","qua","qui","sex","sáb"],abbreviated:["dom","seg","ter","qua","qui","sex","sáb"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},nje={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"}},rje={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"}},ije=function(e,t){var n=Number(e);return n+"º"},oje={ordinalNumber:ije,era:Xt({values:QNe,defaultWidth:"wide"}),quarter:Xt({values:JNe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:eje,defaultWidth:"wide"}),day:Xt({values:tje,defaultWidth:"wide"}),dayPeriod:Xt({values:nje,defaultWidth:"wide",formattingValues:rje,defaultFormattingWidth:"wide"})},aje=/^(\d+)(º|ª)?/i,sje=/\d+/i,lje={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era comum|depois de cristo|era comum)/i},cje={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},uje={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},dje={any:[/1/i,/2/i,/3/i,/4/i]},hje={narrow:/^[jfmasond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},pje={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ab/i,/^mai/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},fje={narrow:/^[dstq]/i,short:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,wide:/^(domingo|segunda-?\s?feira|terça-?\s?feira|quarta-?\s?feira|quinta-?\s?feira|sexta-?\s?feira|s[áa]bado)/i},gje={narrow:[/^d/i,/^s/i,/^t/i,/^q/i,/^q/i,/^s/i,/^s/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[áa]/i]},mje={narrow:/^(a|p|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i,any:/^([ap]\.?\s?m\.?|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i},vje={any:{am:/^a/i,pm:/^p/i,midnight:/^meia/i,noon:/^meio/i,morning:/manh[ãa]/i,afternoon:/tarde/i,evening:/noite/i,night:/madrugada/i}},yje={ordinalNumber:Ml({matchPattern:aje,parsePattern:sje,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:lje,defaultMatchWidth:"wide",parsePatterns:cje,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:uje,defaultMatchWidth:"wide",parsePatterns:dje,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:hje,defaultMatchWidth:"wide",parsePatterns:pje,defaultParseWidth:"any"}),day:Zt({matchPatterns:fje,defaultMatchWidth:"wide",parsePatterns:gje,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:mje,defaultMatchWidth:"any",parsePatterns:vje,defaultParseWidth:"any"})},bje={code:"pt",formatDistance:YNe,formatLong:XNe,formatRelative:KNe,localize:oje,match:yje,options:{weekStartsOn:1,firstWeekContainsDate:4}};function Xv(e,t){if(e.one!==void 0&&t===1)return e.one;var n=t%10,r=t%100;return n===1&&r!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function ga(e){return function(t,n){return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?e.future?Xv(e.future,t):"через "+Xv(e.regular,t):e.past?Xv(e.past,t):Xv(e.regular,t)+" назад":Xv(e.regular,t)}}var xje={lessThanXSeconds:ga({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:ga({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:function(e,t){return t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:ga({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:ga({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:ga({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:ga({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:ga({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:ga({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:ga({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:ga({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:ga({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:ga({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:ga({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:ga({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:ga({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},wje=function(e,t,n){return xje[e](t,n)},_je={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},Sje={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Cje={any:"{{date}}, {{time}}"},kje={date:Gn({formats:_je,defaultWidth:"full"}),time:Gn({formats:Sje,defaultWidth:"full"}),dateTime:Gn({formats:Cje,defaultWidth:"any"})},BI=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function Mje(e){var t=BI[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}function r8(e){var t=BI[e];return e===2?"'во "+t+" в' p":"'в "+t+" в' p"}function Tje(e){var t=BI[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}var Aje={lastWeek:function(e,t,n){var r=e.getUTCDay();return f0(e,t,n)?r8(r):Mje(r)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:function(e,t,n){var r=e.getUTCDay();return f0(e,t,n)?r8(r):Tje(r)},other:"P"},Eje=function(e,t,n,r){var i=Aje[e];return typeof i=="function"?i(t,n,r):i},Oje={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},Pje={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},Dje={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},Lje={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},Nje={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},jje={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},Ije={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},Rje=function(e,t){var n=Number(e),r=t==null?void 0:t.unit,i;return r==="date"?i="-е":r==="week"||r==="minute"||r==="second"?i="-я":i="-й",n+i},zje={ordinalNumber:Rje,era:Xt({values:Oje,defaultWidth:"wide"}),quarter:Xt({values:Pje,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:Dje,defaultWidth:"wide",formattingValues:Lje,defaultFormattingWidth:"wide"}),day:Xt({values:Nje,defaultWidth:"wide"}),dayPeriod:Xt({values:jje,defaultWidth:"any",formattingValues:Ije,defaultFormattingWidth:"wide"})},Bje=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,Fje=/\d+/i,Wje={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},Hje={any:[/^д/i,/^н/i]},Uje={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},Vje={any:[/1/i,/2/i,/3/i,/4/i]},Yje={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},Gje={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},$je={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},qje={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},Xje={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},Zje={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},Kje={ordinalNumber:Ml({matchPattern:Bje,parsePattern:Fje,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:Wje,defaultMatchWidth:"wide",parsePatterns:Hje,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:Uje,defaultMatchWidth:"wide",parsePatterns:Vje,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:Yje,defaultMatchWidth:"wide",parsePatterns:Gje,defaultParseWidth:"any"}),day:Zt({matchPatterns:$je,defaultMatchWidth:"wide",parsePatterns:qje,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:Xje,defaultMatchWidth:"wide",parsePatterns:Zje,defaultParseWidth:"any"})},Qje={code:"ru",formatDistance:wje,formatLong:kje,formatRelative:Eje,localize:zje,match:Kje,options:{weekStartsOn:1,firstWeekContainsDate:1}},Jje={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaşık 1 hafta",other:"yaklaşık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},e3e=function(e,t,n){var r,i=Jje[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?r+" sonra":r+" önce":r},t3e={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},n3e={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},r3e={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},i3e={date:Gn({formats:t3e,defaultWidth:"full"}),time:Gn({formats:n3e,defaultWidth:"full"}),dateTime:Gn({formats:r3e,defaultWidth:"full"})},o3e={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"},a3e=function(e,t,n,r){return o3e[e]},s3e={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},l3e={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},c3e={narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},u3e={narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},d3e={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},h3e={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},p3e=function(e,t){var n=Number(e);return n+"."},f3e={ordinalNumber:p3e,era:Xt({values:s3e,defaultWidth:"wide"}),quarter:Xt({values:l3e,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:Xt({values:c3e,defaultWidth:"wide"}),day:Xt({values:u3e,defaultWidth:"wide"}),dayPeriod:Xt({values:d3e,defaultWidth:"wide",formattingValues:h3e,defaultFormattingWidth:"wide"})},g3e=/^(\d+)(\.)?/i,m3e=/\d+/i,v3e={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},y3e={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},b3e={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},x3e={any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},w3e={narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},_3e={narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},S3e={narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},C3e={narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},k3e={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},M3e={any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},T3e={ordinalNumber:Ml({matchPattern:g3e,parsePattern:m3e,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:v3e,defaultMatchWidth:"wide",parsePatterns:y3e,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:b3e,defaultMatchWidth:"wide",parsePatterns:x3e,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:w3e,defaultMatchWidth:"wide",parsePatterns:_3e,defaultParseWidth:"any"}),day:Zt({matchPatterns:S3e,defaultMatchWidth:"wide",parsePatterns:C3e,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:k3e,defaultMatchWidth:"any",parsePatterns:M3e,defaultParseWidth:"any"})},A3e={code:"tr",formatDistance:e3e,formatLong:i3e,formatRelative:a3e,localize:f3e,match:T3e,options:{weekStartsOn:1,firstWeekContainsDate:1}},E3e={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},O3e=function(e,t,n){var r,i=E3e[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?r+"内":r+"前":r},P3e={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},D3e={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},L3e={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},N3e={date:Gn({formats:P3e,defaultWidth:"full"}),time:Gn({formats:D3e,defaultWidth:"full"}),dateTime:Gn({formats:L3e,defaultWidth:"full"})};function i8(e,t,n){var r="eeee p";return f0(e,t,n)?r:e.getTime()>t.getTime()?"'下个'"+r:"'上个'"+r}var j3e={lastWeek:i8,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:i8,other:"PP p"},I3e=function(e,t,n,r){var i=j3e[e];return typeof i=="function"?i(t,n,r):i},R3e={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},z3e={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},B3e={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},F3e={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},W3e={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},H3e={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},U3e=function(e,t){var n=Number(e);switch(t==null?void 0:t.unit){case"date":return n.toString()+"日";case"hour":return n.toString()+"时";case"minute":return n.toString()+"分";case"second":return n.toString()+"秒";default:return"第 "+n.toString()}},V3e={ordinalNumber:U3e,era:Xt({values:R3e,defaultWidth:"wide"}),quarter:Xt({values:z3e,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:B3e,defaultWidth:"wide"}),day:Xt({values:F3e,defaultWidth:"wide"}),dayPeriod:Xt({values:W3e,defaultWidth:"wide",formattingValues:H3e,defaultFormattingWidth:"wide"})},Y3e=/^(第\s*)?\d+(日|时|分|秒)?/i,G3e=/\d+/i,$3e={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},q3e={any:[/^(前)/i,/^(公元)/i]},X3e={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},Z3e={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},K3e={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},Q3e={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},J3e={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},eIe={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},tIe={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},nIe={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},rIe={ordinalNumber:Ml({matchPattern:Y3e,parsePattern:G3e,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:$3e,defaultMatchWidth:"wide",parsePatterns:q3e,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:X3e,defaultMatchWidth:"wide",parsePatterns:Z3e,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:K3e,defaultMatchWidth:"wide",parsePatterns:Q3e,defaultParseWidth:"any"}),day:Zt({matchPatterns:J3e,defaultMatchWidth:"wide",parsePatterns:eIe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:tIe,defaultMatchWidth:"any",parsePatterns:nIe,defaultParseWidth:"any"})},iIe={code:"zh-CN",formatDistance:O3e,formatLong:N3e,formatRelative:I3e,localize:V3e,match:rIe,options:{weekStartsOn:1,firstWeekContainsDate:4}},oIe=Math.ceil,aIe=Math.max;function sIe(e,t,n,r){for(var i=-1,o=aIe(oIe((t-e)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=e,e+=n;return a}var lIe=sIe,cIe=db,uIe=cf,dIe=pC,hIe=Ws;function pIe(e,t,n){if(!hIe(n))return!1;var r=typeof t;return(r=="number"?uIe(n)&&dIe(t,n.length):r=="string"&&t in n)?cIe(n[t],e):!1}var mJ=pIe,fIe=/\s/;function gIe(e){for(var t=e.length;t--&&fIe.test(e.charAt(t)););return t}var mIe=gIe,vIe=mIe,yIe=/^\s+/;function bIe(e){return e&&e.slice(0,vIe(e)+1).replace(yIe,"")}var vJ=bIe,xIe=vJ,o8=Ws,wIe=SC,a8=NaN,_Ie=/^[-+]0x[0-9a-f]+$/i,SIe=/^0b[01]+$/i,CIe=/^0o[0-7]+$/i,kIe=parseInt;function MIe(e){if(typeof e=="number")return e;if(wIe(e))return a8;if(o8(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=o8(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=xIe(e);var n=SIe.test(e);return n||CIe.test(e)?kIe(e.slice(2),n?2:8):_Ie.test(e)?a8:+e}var Xm=MIe,TIe=Xm,s8=1/0,AIe=17976931348623157e292;function EIe(e){if(!e)return e===0?e:0;if(e=TIe(e),e===s8||e===-s8){var t=e<0?-1:1;return t*AIe}return e===e?e:0}var FI=EIe,OIe=lIe,PIe=mJ,ST=FI;function DIe(e){return function(t,n,r){return r&&typeof r!="number"&&PIe(t,n,r)&&(n=r=void 0),t=ST(t),n===void 0?(n=t,t=0):n=ST(n),r=r===void 0?t<n?1:-1:ST(r),OIe(t,n,r,e)}}var LIe=DIe,NIe=LIe,jIe=NIe(),IIe=jIe;const sx=On(IIe),WI=e=>{var t;switch((t=e==null?void 0:e.language)==null?void 0:t.split("-")[0]){case"de":return CPe;case"fr":return ODe;case"es":return tDe;case"it":return lLe;case"ja":return zLe;case"ko":return fNe;case"nl":return UNe;case"pt":return bje;case"ru":return Qje;case"tr":return A3e;case"zh":return iIe;default:return TOe}};sx(4),sx(12),sx(7),sx(24);var ML={exports:{}},yJ={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(yJ);var ei=yJ.exports,TL={exports:{}},AL={exports:{}},bJ={exports:{}};(function(e){function t(n){return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(bJ);var xJ=bJ.exports,EL={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r,i){if(i.length<r)throw new TypeError(r+" argument"+(r>1?"s":"")+" required, but only "+i.length+" present")}e.exports=t.default})(EL,EL.exports);var Oa=EL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(xJ),i=n(Oa);function o(a){return(0,i.default)(1,arguments),a instanceof Date||(0,r.default)(a)==="object"&&Object.prototype.toString.call(a)==="[object Date]"}e.exports=t.default})(AL,AL.exports);var RIe=AL.exports,OL={exports:{}};(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(xJ),i=n(Oa);function o(a){(0,i.default)(1,arguments);var s=Object.prototype.toString.call(a);return a instanceof Date||(0,r.default)(a)==="object"&&s==="[object Date]"?new Date(a.getTime()):typeof a=="number"||s==="[object Number]"?new Date(a):((typeof a=="string"||s==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}e.exports=t.default})(OL,OL.exports);var gu=OL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(RIe),i=n(gu),o=n(Oa);function a(s){if((0,o.default)(1,arguments),!(0,r.default)(s)&&typeof s!="number")return!1;var c=(0,i.default)(s);return!isNaN(Number(c))}e.exports=t.default})(TL,TL.exports);var zIe=TL.exports,PL={exports:{}},DL={exports:{}},LL={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){if(r===null||r===!0||r===!1)return NaN;var i=Number(r);return isNaN(i)?i:i<0?Math.ceil(i):Math.floor(i)}e.exports=t.default})(LL,LL.exports);var hf=LL.exports;const BIe=On(hf);(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(hf),i=n(gu),o=n(Oa);function a(s,c){(0,o.default)(2,arguments);var l=(0,i.default)(s).getTime(),g=(0,r.default)(c);return new Date(l+g)}e.exports=t.default})(DL,DL.exports);var FIe=DL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(FIe),i=n(Oa),o=n(hf);function a(s,c){(0,i.default)(2,arguments);var l=(0,o.default)(c);return(0,r.default)(s,-l)}e.exports=t.default})(PL,PL.exports);var WIe=PL.exports,NL={exports:{}},jL={exports:{}};(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(gu),i=n(Oa),o=864e5;function a(s){(0,i.default)(1,arguments);var c=(0,r.default)(s),l=c.getTime();c.setUTCMonth(0,1),c.setUTCHours(0,0,0,0);var g=c.getTime(),b=l-g;return Math.floor(b/o)+1}e.exports=t.default})(jL,jL.exports);var HIe=jL.exports,IL={exports:{}},RL={exports:{}};(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(gu),i=n(Oa);function o(a){(0,i.default)(1,arguments);var s=1,c=(0,r.default)(a),l=c.getUTCDay(),g=(l<s?7:0)+l-s;return c.setUTCDate(c.getUTCDate()-g),c.setUTCHours(0,0,0,0),c}e.exports=t.default})(RL,RL.exports);var HI=RL.exports,zL={exports:{}},BL={exports:{}};(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(gu),i=n(Oa),o=n(HI);function a(s){(0,i.default)(1,arguments);var c=(0,r.default)(s),l=c.getUTCFullYear(),g=new Date(0);g.setUTCFullYear(l+1,0,4),g.setUTCHours(0,0,0,0);var b=(0,o.default)(g),u=new Date(0);u.setUTCFullYear(l,0,4),u.setUTCHours(0,0,0,0);var z=(0,o.default)(u);return c.getTime()>=b.getTime()?l+1:c.getTime()>=z.getTime()?l:l-1}e.exports=t.default})(BL,BL.exports);var wJ=BL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(wJ),i=n(HI),o=n(Oa);function a(s){(0,o.default)(1,arguments);var c=(0,r.default)(s),l=new Date(0);l.setUTCFullYear(c,0,4),l.setUTCHours(0,0,0,0);var g=(0,i.default)(l);return g}e.exports=t.default})(zL,zL.exports);var UIe=zL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r=n(gu),i=n(HI),o=n(UIe),a=n(Oa),s=6048e5;function c(l){(0,a.default)(1,arguments);var g=(0,r.default)(l),b=(0,i.default)(g).getTime()-(0,o.default)(g).getTime();return Math.round(b/s)+1}e.exports=t.default})(IL,IL.exports);var VIe=IL.exports,FL={exports:{}},WL={exports:{}},pf={};Object.defineProperty(pf,"__esModule",{value:!0});pf.getDefaultOptions=YIe;pf.setDefaultOptions=GIe;var _J={};function YIe(){return _J}function GIe(e){_J=e}(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=n(gu),i=n(Oa),o=n(hf),a=pf;function s(c,l){var g,b,u,z,w,x,C,H;(0,i.default)(1,arguments);var G=(0,a.getDefaultOptions)(),$=(0,o.default)((g=(b=(u=(z=l==null?void 0:l.weekStartsOn)!==null&&z!==void 0?z:l==null||(w=l.locale)===null||w===void 0||(x=w.options)===null||x===void 0?void 0:x.weekStartsOn)!==null&&u!==void 0?u:G.weekStartsOn)!==null&&b!==void 0?b:(C=G.locale)===null||C===void 0||(H=C.options)===null||H===void 0?void 0:H.weekStartsOn)!==null&&g!==void 0?g:0);if(!($>=0&&$<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var U=(0,r.default)(c),B=U.getUTCDay(),T=(B<$?7:0)+B-$;return U.setUTCDate(U.getUTCDate()-T),U.setUTCHours(0,0,0,0),U}e.exports=t.default})(WL,WL.exports);var UI=WL.exports,HL={exports:{}},UL={exports:{}};(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r=n(gu),i=n(Oa),o=n(UI),a=n(hf),s=pf;function c(l,g){var b,u,z,w,x,C,H,G;(0,i.default)(1,arguments);var $=(0,r.default)(l),U=$.getUTCFullYear(),B=(0,s.getDefaultOptions)(),T=(0,a.default)((b=(u=(z=(w=g==null?void 0:g.firstWeekContainsDate)!==null&&w!==void 0?w:g==null||(x=g.locale)===null||x===void 0||(C=x.options)===null||C===void 0?void 0:C.firstWeekContainsDate)!==null&&z!==void 0?z:B.firstWeekContainsDate)!==null&&u!==void 0?u:(H=B.locale)===null||H===void 0||(G=H.options)===null||G===void 0?void 0:G.firstWeekContainsDate)!==null&&b!==void 0?b:1);if(!(T>=1&&T<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var P=new Date(0);P.setUTCFullYear(U+1,0,T),P.setUTCHours(0,0,0,0);var f=(0,o.default)(P,g),y=new Date(0);y.setUTCFullYear(U,0,T),y.setUTCHours(0,0,0,0);var d=(0,o.default)(y,g);return $.getTime()>=f.getTime()?U+1:$.getTime()>=d.getTime()?U:U-1}e.exports=t.default})(UL,UL.exports);var SJ=UL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r=n(SJ),i=n(Oa),o=n(UI),a=n(hf),s=pf;function c(l,g){var b,u,z,w,x,C,H,G;(0,i.default)(1,arguments);var $=(0,s.getDefaultOptions)(),U=(0,a.default)((b=(u=(z=(w=g==null?void 0:g.firstWeekContainsDate)!==null&&w!==void 0?w:g==null||(x=g.locale)===null||x===void 0||(C=x.options)===null||C===void 0?void 0:C.firstWeekContainsDate)!==null&&z!==void 0?z:$.firstWeekContainsDate)!==null&&u!==void 0?u:(H=$.locale)===null||H===void 0||(G=H.options)===null||G===void 0?void 0:G.firstWeekContainsDate)!==null&&b!==void 0?b:1),B=(0,r.default)(l,g),T=new Date(0);T.setUTCFullYear(B,0,U),T.setUTCHours(0,0,0,0);var P=(0,o.default)(T,g);return P}e.exports=t.default})(HL,HL.exports);var $Ie=HL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r=n(gu),i=n(UI),o=n($Ie),a=n(Oa),s=6048e5;function c(l,g){(0,a.default)(1,arguments);var b=(0,r.default)(l),u=(0,i.default)(b,g).getTime()-(0,o.default)(b,g).getTime();return Math.round(u/s)+1}e.exports=t.default})(FL,FL.exports);var qIe=FL.exports,VL={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r,i){for(var o=r<0?"-":"",a=Math.abs(r).toString();a.length<i;)a="0"+a;return o+a}e.exports=t.default})(VL,VL.exports);var CJ=VL.exports,YL={exports:{}};(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(CJ),i={y:function(a,s){var c=a.getUTCFullYear(),l=c>0?c:1-c;return(0,r.default)(s==="yy"?l%100:l,s.length)},M:function(a,s){var c=a.getUTCMonth();return s==="M"?String(c+1):(0,r.default)(c+1,2)},d:function(a,s){return(0,r.default)(a.getUTCDate(),s.length)},a:function(a,s){var c=a.getUTCHours()/12>=1?"pm":"am";switch(s){case"a":case"aa":return c.toUpperCase();case"aaa":return c;case"aaaaa":return c[0];case"aaaa":default:return c==="am"?"a.m.":"p.m."}},h:function(a,s){return(0,r.default)(a.getUTCHours()%12||12,s.length)},H:function(a,s){return(0,r.default)(a.getUTCHours(),s.length)},m:function(a,s){return(0,r.default)(a.getUTCMinutes(),s.length)},s:function(a,s){return(0,r.default)(a.getUTCSeconds(),s.length)},S:function(a,s){var c=s.length,l=a.getUTCMilliseconds(),g=Math.floor(l*Math.pow(10,c-3));return(0,r.default)(g,s.length)}},o=i;t.default=o,e.exports=t.default})(YL,YL.exports);var XIe=YL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(HIe),i=n(VIe),o=n(wJ),a=n(qIe),s=n(SJ),c=n(CJ),l=n(XIe),g={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},b={G:function(C,H,G){var $=C.getUTCFullYear()>0?1:0;switch(H){case"G":case"GG":case"GGG":return G.era($,{width:"abbreviated"});case"GGGGG":return G.era($,{width:"narrow"});case"GGGG":default:return G.era($,{width:"wide"})}},y:function(C,H,G){if(H==="yo"){var $=C.getUTCFullYear(),U=$>0?$:1-$;return G.ordinalNumber(U,{unit:"year"})}return l.default.y(C,H)},Y:function(C,H,G,$){var U=(0,s.default)(C,$),B=U>0?U:1-U;if(H==="YY"){var T=B%100;return(0,c.default)(T,2)}return H==="Yo"?G.ordinalNumber(B,{unit:"year"}):(0,c.default)(B,H.length)},R:function(C,H){var G=(0,o.default)(C);return(0,c.default)(G,H.length)},u:function(C,H){var G=C.getUTCFullYear();return(0,c.default)(G,H.length)},Q:function(C,H,G){var $=Math.ceil((C.getUTCMonth()+1)/3);switch(H){case"Q":return String($);case"QQ":return(0,c.default)($,2);case"Qo":return G.ordinalNumber($,{unit:"quarter"});case"QQQ":return G.quarter($,{width:"abbreviated",context:"formatting"});case"QQQQQ":return G.quarter($,{width:"narrow",context:"formatting"});case"QQQQ":default:return G.quarter($,{width:"wide",context:"formatting"})}},q:function(C,H,G){var $=Math.ceil((C.getUTCMonth()+1)/3);switch(H){case"q":return String($);case"qq":return(0,c.default)($,2);case"qo":return G.ordinalNumber($,{unit:"quarter"});case"qqq":return G.quarter($,{width:"abbreviated",context:"standalone"});case"qqqqq":return G.quarter($,{width:"narrow",context:"standalone"});case"qqqq":default:return G.quarter($,{width:"wide",context:"standalone"})}},M:function(C,H,G){var $=C.getUTCMonth();switch(H){case"M":case"MM":return l.default.M(C,H);case"Mo":return G.ordinalNumber($+1,{unit:"month"});case"MMM":return G.month($,{width:"abbreviated",context:"formatting"});case"MMMMM":return G.month($,{width:"narrow",context:"formatting"});case"MMMM":default:return G.month($,{width:"wide",context:"formatting"})}},L:function(C,H,G){var $=C.getUTCMonth();switch(H){case"L":return String($+1);case"LL":return(0,c.default)($+1,2);case"Lo":return G.ordinalNumber($+1,{unit:"month"});case"LLL":return G.month($,{width:"abbreviated",context:"standalone"});case"LLLLL":return G.month($,{width:"narrow",context:"standalone"});case"LLLL":default:return G.month($,{width:"wide",context:"standalone"})}},w:function(C,H,G,$){var U=(0,a.default)(C,$);return H==="wo"?G.ordinalNumber(U,{unit:"week"}):(0,c.default)(U,H.length)},I:function(C,H,G){var $=(0,i.default)(C);return H==="Io"?G.ordinalNumber($,{unit:"week"}):(0,c.default)($,H.length)},d:function(C,H,G){return H==="do"?G.ordinalNumber(C.getUTCDate(),{unit:"date"}):l.default.d(C,H)},D:function(C,H,G){var $=(0,r.default)(C);return H==="Do"?G.ordinalNumber($,{unit:"dayOfYear"}):(0,c.default)($,H.length)},E:function(C,H,G){var $=C.getUTCDay();switch(H){case"E":case"EE":case"EEE":return G.day($,{width:"abbreviated",context:"formatting"});case"EEEEE":return G.day($,{width:"narrow",context:"formatting"});case"EEEEEE":return G.day($,{width:"short",context:"formatting"});case"EEEE":default:return G.day($,{width:"wide",context:"formatting"})}},e:function(C,H,G,$){var U=C.getUTCDay(),B=(U-$.weekStartsOn+8)%7||7;switch(H){case"e":return String(B);case"ee":return(0,c.default)(B,2);case"eo":return G.ordinalNumber(B,{unit:"day"});case"eee":return G.day(U,{width:"abbreviated",context:"formatting"});case"eeeee":return G.day(U,{width:"narrow",context:"formatting"});case"eeeeee":return G.day(U,{width:"short",context:"formatting"});case"eeee":default:return G.day(U,{width:"wide",context:"formatting"})}},c:function(C,H,G,$){var U=C.getUTCDay(),B=(U-$.weekStartsOn+8)%7||7;switch(H){case"c":return String(B);case"cc":return(0,c.default)(B,H.length);case"co":return G.ordinalNumber(B,{unit:"day"});case"ccc":return G.day(U,{width:"abbreviated",context:"standalone"});case"ccccc":return G.day(U,{width:"narrow",context:"standalone"});case"cccccc":return G.day(U,{width:"short",context:"standalone"});case"cccc":default:return G.day(U,{width:"wide",context:"standalone"})}},i:function(C,H,G){var $=C.getUTCDay(),U=$===0?7:$;switch(H){case"i":return String(U);case"ii":return(0,c.default)(U,H.length);case"io":return G.ordinalNumber(U,{unit:"day"});case"iii":return G.day($,{width:"abbreviated",context:"formatting"});case"iiiii":return G.day($,{width:"narrow",context:"formatting"});case"iiiiii":return G.day($,{width:"short",context:"formatting"});case"iiii":default:return G.day($,{width:"wide",context:"formatting"})}},a:function(C,H,G){var $=C.getUTCHours(),U=$/12>=1?"pm":"am";switch(H){case"a":case"aa":return G.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"aaa":return G.dayPeriod(U,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return G.dayPeriod(U,{width:"narrow",context:"formatting"});case"aaaa":default:return G.dayPeriod(U,{width:"wide",context:"formatting"})}},b:function(C,H,G){var $=C.getUTCHours(),U;switch($===12?U=g.noon:$===0?U=g.midnight:U=$/12>=1?"pm":"am",H){case"b":case"bb":return G.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"bbb":return G.dayPeriod(U,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return G.dayPeriod(U,{width:"narrow",context:"formatting"});case"bbbb":default:return G.dayPeriod(U,{width:"wide",context:"formatting"})}},B:function(C,H,G){var $=C.getUTCHours(),U;switch($>=17?U=g.evening:$>=12?U=g.afternoon:$>=4?U=g.morning:U=g.night,H){case"B":case"BB":case"BBB":return G.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"BBBBB":return G.dayPeriod(U,{width:"narrow",context:"formatting"});case"BBBB":default:return G.dayPeriod(U,{width:"wide",context:"formatting"})}},h:function(C,H,G){if(H==="ho"){var $=C.getUTCHours()%12;return $===0&&($=12),G.ordinalNumber($,{unit:"hour"})}return l.default.h(C,H)},H:function(C,H,G){return H==="Ho"?G.ordinalNumber(C.getUTCHours(),{unit:"hour"}):l.default.H(C,H)},K:function(C,H,G){var $=C.getUTCHours()%12;return H==="Ko"?G.ordinalNumber($,{unit:"hour"}):(0,c.default)($,H.length)},k:function(C,H,G){var $=C.getUTCHours();return $===0&&($=24),H==="ko"?G.ordinalNumber($,{unit:"hour"}):(0,c.default)($,H.length)},m:function(C,H,G){return H==="mo"?G.ordinalNumber(C.getUTCMinutes(),{unit:"minute"}):l.default.m(C,H)},s:function(C,H,G){return H==="so"?G.ordinalNumber(C.getUTCSeconds(),{unit:"second"}):l.default.s(C,H)},S:function(C,H){return l.default.S(C,H)},X:function(C,H,G,$){var U=$._originalDate||C,B=U.getTimezoneOffset();if(B===0)return"Z";switch(H){case"X":return z(B);case"XXXX":case"XX":return w(B);case"XXXXX":case"XXX":default:return w(B,":")}},x:function(C,H,G,$){var U=$._originalDate||C,B=U.getTimezoneOffset();switch(H){case"x":return z(B);case"xxxx":case"xx":return w(B);case"xxxxx":case"xxx":default:return w(B,":")}},O:function(C,H,G,$){var U=$._originalDate||C,B=U.getTimezoneOffset();switch(H){case"O":case"OO":case"OOO":return"GMT"+u(B,":");case"OOOO":default:return"GMT"+w(B,":")}},z:function(C,H,G,$){var U=$._originalDate||C,B=U.getTimezoneOffset();switch(H){case"z":case"zz":case"zzz":return"GMT"+u(B,":");case"zzzz":default:return"GMT"+w(B,":")}},t:function(C,H,G,$){var U=$._originalDate||C,B=Math.floor(U.getTime()/1e3);return(0,c.default)(B,H.length)},T:function(C,H,G,$){var U=$._originalDate||C,B=U.getTime();return(0,c.default)(B,H.length)}};function u(C,H){var G=C>0?"-":"+",$=Math.abs(C),U=Math.floor($/60),B=$%60;if(B===0)return G+String(U);var T=H;return G+String(U)+T+(0,c.default)(B,2)}function z(C,H){if(C%60===0){var G=C>0?"-":"+";return G+(0,c.default)(Math.abs(C)/60,2)}return w(C,H)}function w(C,H){var G=H||"",$=C>0?"-":"+",U=Math.abs(C),B=(0,c.default)(Math.floor(U/60),2),T=(0,c.default)(U%60,2);return $+B+G+T}var x=b;t.default=x,e.exports=t.default})(NL,NL.exports);var ZIe=NL.exports,GL={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(s,c){switch(s){case"P":return c.date({width:"short"});case"PP":return c.date({width:"medium"});case"PPP":return c.date({width:"long"});case"PPPP":default:return c.date({width:"full"})}},r=function(s,c){switch(s){case"p":return c.time({width:"short"});case"pp":return c.time({width:"medium"});case"ppp":return c.time({width:"long"});case"pppp":default:return c.time({width:"full"})}},i=function(s,c){var l=s.match(/(P+)(p+)?/)||[],g=l[1],b=l[2];if(!b)return n(s,c);var u;switch(g){case"P":u=c.dateTime({width:"short"});break;case"PP":u=c.dateTime({width:"medium"});break;case"PPP":u=c.dateTime({width:"long"});break;case"PPPP":default:u=c.dateTime({width:"full"});break}return u.replace("{{date}}",n(g,c)).replace("{{time}}",r(b,c))},o={p:r,P:i},a=o;t.default=a,e.exports=t.default})(GL,GL.exports);var KIe=GL.exports,$L={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){var i=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return i.setUTCFullYear(r.getFullYear()),r.getTime()-i.getTime()}e.exports=t.default})($L,$L.exports);var kJ=$L.exports;const l8=On(kJ);var xb={};Object.defineProperty(xb,"__esModule",{value:!0});xb.isProtectedDayOfYearToken=e5e;xb.isProtectedWeekYearToken=t5e;xb.throwProtectedError=n5e;var QIe=["D","DD"],JIe=["YY","YYYY"];function e5e(e){return QIe.indexOf(e)!==-1}function t5e(e){return JIe.indexOf(e)!==-1}function n5e(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var qL={exports:{}},XL={exports:{}},ZL={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},r=function(o,a,s){var c,l=n[o];return typeof l=="string"?c=l:a===1?c=l.one:c=l.other.replace("{{count}}",a.toString()),s!=null&&s.addSuffix?s.comparison&&s.comparison>0?"in "+c:c+" ago":c},i=r;t.default=i,e.exports=t.default})(ZL,ZL.exports);var r5e=ZL.exports,KL={exports:{}},QL={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){return function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=i.width?String(i.width):r.defaultWidth,a=r.formats[o]||r.formats[r.defaultWidth];return a}}e.exports=t.default})(QL,QL.exports);var i5e=QL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(i5e),i={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},o={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},a={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},s={date:(0,r.default)({formats:i,defaultWidth:"full"}),time:(0,r.default)({formats:o,defaultWidth:"full"}),dateTime:(0,r.default)({formats:a,defaultWidth:"full"})},c=s;t.default=c,e.exports=t.default})(KL,KL.exports);var o5e=KL.exports,JL={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},r=function(o,a,s,c){return n[o]},i=r;t.default=i,e.exports=t.default})(JL,JL.exports);var a5e=JL.exports,eN={exports:{}},tN={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){return function(i,o){var a=o!=null&&o.context?String(o.context):"standalone",s;if(a==="formatting"&&r.formattingValues){var c=r.defaultFormattingWidth||r.defaultWidth,l=o!=null&&o.width?String(o.width):c;s=r.formattingValues[l]||r.formattingValues[c]}else{var g=r.defaultWidth,b=o!=null&&o.width?String(o.width):r.defaultWidth;s=r.values[b]||r.values[g]}var u=r.argumentCallback?r.argumentCallback(i):i;return s[u]}}e.exports=t.default})(tN,tN.exports);var s5e=tN.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(s5e),i={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},o={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},a={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},s={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},c={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},l={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},g=function(z,w){var x=Number(z),C=x%100;if(C>20||C<10)switch(C%10){case 1:return x+"st";case 2:return x+"nd";case 3:return x+"rd"}return x+"th"},b={ordinalNumber:g,era:(0,r.default)({values:i,defaultWidth:"wide"}),quarter:(0,r.default)({values:o,defaultWidth:"wide",argumentCallback:function(z){return z-1}}),month:(0,r.default)({values:a,defaultWidth:"wide"}),day:(0,r.default)({values:s,defaultWidth:"wide"}),dayPeriod:(0,r.default)({values:c,defaultWidth:"wide",formattingValues:l,defaultFormattingWidth:"wide"})},u=b;t.default=u,e.exports=t.default})(eN,eN.exports);var l5e=eN.exports,nN={exports:{}},rN={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(o){return function(a){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=s.width,l=c&&o.matchPatterns[c]||o.matchPatterns[o.defaultMatchWidth],g=a.match(l);if(!g)return null;var b=g[0],u=c&&o.parsePatterns[c]||o.parsePatterns[o.defaultParseWidth],z=Array.isArray(u)?i(u,function(C){return C.test(b)}):r(u,function(C){return C.test(b)}),w;w=o.valueCallback?o.valueCallback(z):z,w=s.valueCallback?s.valueCallback(w):w;var x=a.slice(b.length);return{value:w,rest:x}}}function r(o,a){for(var s in o)if(o.hasOwnProperty(s)&&a(o[s]))return s}function i(o,a){for(var s=0;s<o.length;s++)if(a(o[s]))return s}e.exports=t.default})(rN,rN.exports);var c5e=rN.exports,iN={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){return function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=i.match(r.matchPattern);if(!a)return null;var s=a[0],c=i.match(r.parsePattern);if(!c)return null;var l=r.valueCallback?r.valueCallback(c[0]):c[0];l=o.valueCallback?o.valueCallback(l):l;var g=i.slice(s.length);return{value:l,rest:g}}}e.exports=t.default})(iN,iN.exports);var u5e=iN.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(c5e),i=n(u5e),o=/^(\d+)(th|st|nd|rd)?/i,a=/\d+/i,s={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},c={any:[/^b/i,/^(a|c)/i]},l={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},g={any:[/1/i,/2/i,/3/i,/4/i]},b={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},u={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},z={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},w={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},x={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},C={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},H={ordinalNumber:(0,i.default)({matchPattern:o,parsePattern:a,valueCallback:function($){return parseInt($,10)}}),era:(0,r.default)({matchPatterns:s,defaultMatchWidth:"wide",parsePatterns:c,defaultParseWidth:"any"}),quarter:(0,r.default)({matchPatterns:l,defaultMatchWidth:"wide",parsePatterns:g,defaultParseWidth:"any",valueCallback:function($){return $+1}}),month:(0,r.default)({matchPatterns:b,defaultMatchWidth:"wide",parsePatterns:u,defaultParseWidth:"any"}),day:(0,r.default)({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:w,defaultParseWidth:"any"}),dayPeriod:(0,r.default)({matchPatterns:x,defaultMatchWidth:"any",parsePatterns:C,defaultParseWidth:"any"})},G=H;t.default=G,e.exports=t.default})(nN,nN.exports);var d5e=nN.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(r5e),i=n(o5e),o=n(a5e),a=n(l5e),s=n(d5e),c={code:"en-US",formatDistance:r.default,formatLong:i.default,formatRelative:o.default,localize:a.default,match:s.default,options:{weekStartsOn:0,firstWeekContainsDate:1}},l=c;t.default=l,e.exports=t.default})(XL,XL.exports);var h5e=XL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(h5e),i=r.default;t.default=i,e.exports=t.default})(qL,qL.exports);var p5e=qL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=$;var r=n(zIe),i=n(WIe),o=n(gu),a=n(ZIe),s=n(KIe),c=n(kJ),l=xb,g=n(hf),b=n(Oa),u=pf,z=n(p5e),w=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,x=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,C=/^'([^]*?)'?$/,H=/''/g,G=/[a-zA-Z]/;function $(B,T,P){var f,y,d,h,m,O,M,D,Y,X,V,R,I,E,A,v,k,S;(0,b.default)(2,arguments);var _=String(T),F=(0,u.getDefaultOptions)(),j=(f=(y=P==null?void 0:P.locale)!==null&&y!==void 0?y:F.locale)!==null&&f!==void 0?f:z.default,p=(0,g.default)((d=(h=(m=(O=P==null?void 0:P.firstWeekContainsDate)!==null&&O!==void 0?O:P==null||(M=P.locale)===null||M===void 0||(D=M.options)===null||D===void 0?void 0:D.firstWeekContainsDate)!==null&&m!==void 0?m:F.firstWeekContainsDate)!==null&&h!==void 0?h:(Y=F.locale)===null||Y===void 0||(X=Y.options)===null||X===void 0?void 0:X.firstWeekContainsDate)!==null&&d!==void 0?d:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var N=(0,g.default)((V=(R=(I=(E=P==null?void 0:P.weekStartsOn)!==null&&E!==void 0?E:P==null||(A=P.locale)===null||A===void 0||(v=A.options)===null||v===void 0?void 0:v.weekStartsOn)!==null&&I!==void 0?I:F.weekStartsOn)!==null&&R!==void 0?R:(k=F.locale)===null||k===void 0||(S=k.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&V!==void 0?V:0);if(!(N>=0&&N<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!j.localize)throw new RangeError("locale must contain localize property");if(!j.formatLong)throw new RangeError("locale must contain formatLong property");var q=(0,o.default)(B);if(!(0,r.default)(q))throw new RangeError("Invalid time value");var Q=(0,c.default)(q),W=(0,i.default)(q,Q),Z={firstWeekContainsDate:p,weekStartsOn:N,locale:j,_originalDate:q},J=_.match(x).map(function(ie){var oe=ie[0];if(oe==="p"||oe==="P"){var te=s.default[oe];return te(ie,j.formatLong)}return ie}).join("").match(w).map(function(ie){if(ie==="''")return"'";var oe=ie[0];if(oe==="'")return U(ie);var te=a.default[oe];if(te)return!(P!=null&&P.useAdditionalWeekYearTokens)&&(0,l.isProtectedWeekYearToken)(ie)&&(0,l.throwProtectedError)(ie,T,String(B)),!(P!=null&&P.useAdditionalDayOfYearTokens)&&(0,l.isProtectedDayOfYearToken)(ie)&&(0,l.throwProtectedError)(ie,T,String(B)),te(W,ie,j.localize,Z);if(oe.match(G))throw new RangeError("Format string contains an unescaped latin alphabet character `"+oe+"`");return ie}).join("");return J}function U(B){var T=B.match(C);return T?T[1].replace(H,"'"):B}e.exports=t.default})(ML,ML.exports);var f5e=ML.exports;const g5e=On(f5e);function c8(e,t,n){var r=y5e(e,n.timeZone,n.locale);return r.formatToParts?m5e(r,t):v5e(r,t)}function m5e(e,t){for(var n=e.formatToParts(t),r=n.length-1;r>=0;--r)if(n[r].type==="timeZoneName")return n[r].value}function v5e(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}function y5e(e,t,n){if(n&&!n.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function b5e(e,t){var n=S5e(t);return n.formatToParts?w5e(n,e):_5e(n,e)}var x5e={year:0,month:1,day:2,hour:3,minute:4,second:5};function w5e(e,t){try{for(var n=e.formatToParts(t),r=[],i=0;i<n.length;i++){var o=x5e[n[i].type];o>=0&&(r[o]=parseInt(n[i].value,10))}return r}catch(a){if(a instanceof RangeError)return[NaN];throw a}}function _5e(e,t){var n=e.format(t),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}var CT={};function S5e(e){if(!CT[e]){var t=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n=t==="06/25/2014, 00:00:00"||t==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";CT[e]=n?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return CT[e]}function MJ(e,t,n,r,i,o,a){var s=new Date(0);return s.setUTCFullYear(e,t,n),s.setUTCHours(r,i,o,a),s}var u8=36e5,C5e=6e4,kT={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function VI(e,t,n){var r,i;if(!e||(r=kT.timezoneZ.exec(e),r))return 0;var o;if(r=kT.timezoneHH.exec(e),r)return o=parseInt(r[1],10),d8(o)?-(o*u8):NaN;if(r=kT.timezoneHHMM.exec(e),r){o=parseInt(r[2],10);var a=parseInt(r[3],10);return d8(o,a)?(i=Math.abs(o)*u8+a*C5e,r[1]==="+"?-i:i):NaN}if(T5e(e)){t=new Date(t||Date.now());var s=n?t:k5e(t),c=oN(s,e),l=n?c:M5e(t,c,e);return-l}return NaN}function k5e(e){return MJ(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function oN(e,t){var n=b5e(e,t),r=MJ(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),i=e.getTime(),o=i%1e3;return i-=o>=0?o:1e3+o,r-i}function M5e(e,t,n){var r=e.getTime(),i=r-t,o=oN(new Date(i),n);if(t===o)return t;i-=o-t;var a=oN(new Date(i),n);return o===a?o:Math.max(o,a)}function d8(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var h8={};function T5e(e){if(h8[e])return!0;try{return h8[e]=!0,!0}catch{return!1}}var A5e=60*1e3,E5e={X:function(e,t,n,r){var i=MT(r.timeZone,e);if(i===0)return"Z";switch(t){case"X":return p8(i);case"XXXX":case"XX":return wg(i);case"XXXXX":case"XXX":default:return wg(i,":")}},x:function(e,t,n,r){var i=MT(r.timeZone,e);switch(t){case"x":return p8(i);case"xxxx":case"xx":return wg(i);case"xxxxx":case"xxx":default:return wg(i,":")}},O:function(e,t,n,r){var i=MT(r.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+O5e(i,":");case"OOOO":default:return"GMT"+wg(i,":")}},z:function(e,t,n,r){switch(t){case"z":case"zz":case"zzz":return c8("short",e,r);case"zzzz":default:return c8("long",e,r)}}};function MT(e,t){var n=e?VI(e,t,!0)/A5e:t.getTimezoneOffset();if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function g_(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}function wg(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e),o=g_(Math.floor(i/60),2),a=g_(Math.floor(i%60),2);return r+o+n+a}function p8(e,t){if(e%60===0){var n=e>0?"-":"+";return n+g_(Math.abs(e)/60,2)}return wg(e,t)}function O5e(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(o===0)return n+String(i);var a=t;return n+String(i)+a+g_(o,2)}var P5e=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,TT=36e5,f8=6e4,D5e=2,Sa={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:P5e};function TJ(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);var n=t||{},r=n.additionalDigits==null?D5e:BIe(n.additionalDigits);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(!(typeof e=="string"||Object.prototype.toString.call(e)==="[object String]"))return new Date(NaN);var i=L5e(e),o=N5e(i.date,r),a=o.year,s=o.restDateString,c=j5e(s,a);if(isNaN(c))return new Date(NaN);if(c){var l=c.getTime(),g=0,b;if(i.time&&(g=I5e(i.time),isNaN(g)))return new Date(NaN);if(i.timeZone||n.timeZone){if(b=VI(i.timeZone||n.timeZone,new Date(l+g)),isNaN(b))return new Date(NaN)}else b=l8(new Date(l+g)),b=l8(new Date(l+g+b));return new Date(l+g+b)}else return new Date(NaN)}function L5e(e){var t={},n=Sa.dateTimePattern.exec(e),r;if(n?(t.date=n[1],r=n[3]):(n=Sa.datePattern.exec(e),n?(t.date=n[1],r=n[2]):(t.date=null,r=e)),r){var i=Sa.timeZone.exec(r);i?(t.time=r.replace(i[1],""),t.timeZone=i[1].trim()):t.time=r}return t}function N5e(e,t){var n=Sa.YYY[t],r=Sa.YYYYY[t],i;if(i=Sa.YYYY.exec(e)||r.exec(e),i){var o=i[1];return{year:parseInt(o,10),restDateString:e.slice(o.length)}}if(i=Sa.YY.exec(e)||n.exec(e),i){var a=i[1];return{year:parseInt(a,10)*100,restDateString:e.slice(a.length)}}return{year:null}}function j5e(e,t){if(t===null)return null;var n,r,i,o;if(e.length===0)return r=new Date(0),r.setUTCFullYear(t),r;if(n=Sa.MM.exec(e),n)return r=new Date(0),i=parseInt(n[1],10)-1,m8(t,i)?(r.setUTCFullYear(t,i),r):new Date(NaN);if(n=Sa.DDD.exec(e),n){r=new Date(0);var a=parseInt(n[1],10);return B5e(t,a)?(r.setUTCFullYear(t,0,a),r):new Date(NaN)}if(n=Sa.MMDD.exec(e),n){r=new Date(0),i=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return m8(t,i,s)?(r.setUTCFullYear(t,i,s),r):new Date(NaN)}if(n=Sa.Www.exec(e),n)return o=parseInt(n[1],10)-1,v8(t,o)?g8(t,o):new Date(NaN);if(n=Sa.WwwD.exec(e),n){o=parseInt(n[1],10)-1;var c=parseInt(n[2],10)-1;return v8(t,o,c)?g8(t,o,c):new Date(NaN)}return null}function I5e(e){var t,n,r;if(t=Sa.HH.exec(e),t)return n=parseFloat(t[1].replace(",",".")),AT(n)?n%24*TT:NaN;if(t=Sa.HHMM.exec(e),t)return n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")),AT(n,r)?n%24*TT+r*f8:NaN;if(t=Sa.HHMMSS.exec(e),t){n=parseInt(t[1],10),r=parseInt(t[2],10);var i=parseFloat(t[3].replace(",","."));return AT(n,r,i)?n%24*TT+r*f8+i*1e3:NaN}return null}function g8(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var i=r.getUTCDay()||7,o=t*7+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}var R5e=[31,28,31,30,31,30,31,31,30,31,30,31],z5e=[31,29,31,30,31,30,31,31,30,31,30,31];function AJ(e){return e%400===0||e%4===0&&e%100!==0}function m8(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;var r=AJ(e);if(r&&n>z5e[t]||!r&&n>R5e[t])return!1}return!0}function B5e(e,t){if(t<1)return!1;var n=AJ(e);return!(n&&t>366||!n&&t>365)}function v8(e,t,n){return!(t<0||t>52||n!=null&&(n<0||n>6))}function AT(e,t,n){return!(e!=null&&(e<0||e>=25)||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}var F5e=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function EJ(e,t,n){var r=String(t),i=n||{},o=r.match(F5e);if(o){var a=TJ(i.originalDate||e,i);r=o.reduce(function(s,c){if(c[0]==="'")return s;var l=s.indexOf(c),g=s[l-1]==="'",b=s.replace(c,"'"+E5e[c[0]](a,c,null,i)+"'");return g?b.substring(0,l-1)+b.substring(l+1):b},r)}return g5e(e,r,i)}function sh(e,t,n){const r=new RegExp("'[^']+'|("+t+")","g");return e.replace(r,function(i,o){return o?n(i):i})}const W5e=["shortDate","shortTime","short","mediumDate","mediumTime","medium","longDate","fullDate"],H5e=Object.freeze({fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"}),y8=Object.freeze({"en-US":H5e});function U5e(e,t){var n;if(!(e.includes("short")||e.includes("medium")||e.includes("long")||e.includes("full")))return e;let r=e,i=y8[(n=t.code)!=null?n:""];return i||(i=y8["en-US"]),W5e.forEach(o=>{const a=i[o];r=sh(r,o,function(){return a})}),r}var aN={exports:{}},sN={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r,i){if(r==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o]);return r}e.exports=t.default})(sN,sN.exports);var V5e=sN.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n(V5e);function i(o){return(0,r.default)({},o)}e.exports=t.default})(aN,aN.exports);var Y5e=aN.exports;const G5e=On(Y5e);function $5e(e,t,n){var r=TJ(e,n),i=VI(t,r,!0),o=new Date(r.getTime()-i),a=new Date(0);return a.setFullYear(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()),a.setHours(o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds()),a}function g0(e,t,n,r){var i=G5e(r);return i.timeZone=t,i.originalDate=e,EJ($5e(e,t),n,i)}function q5e(e){return e.includes("sss")?sh(e,"sss",function(){return"SSS"}):e}function X5e(e,t,n){if(!(e.includes("a")||e.includes("A")))return e;let r=sh(e,"a",function(){return`\0${g0(t,n,"a").toLowerCase()}\0`});return r=sh(r,"A",function(){return`\0${g0(t,n,"a").toUpperCase()}\0`}),r=r.replace(/\0\0/g,""),r=r.replace(/\0/g,"'"),r}function Z5e(e,t,n,r){return e.includes("Z")?sh(e,"Z",function(){return g0(t,n,"xx",{locale:r})}):e}function K5e(e,t,n){return OJ(e,t,n)?gJ(e,1):e}function Q5e(e,t){return t<=e.getMonth()}function OJ(e,t,n){const r=![rRe,YI].includes(t);return n>DJ&&r&&Q5e(e,n)}function J5e(e,t,n,r){return!r&&OJ(e,t,n)?dJ(e,1):e}function eRe(e,t){if(t>0){const n=(e.getMonth()+t)%12;return qOe(e,n)}return e}function tRe(e,t,n,r,i,o){if(!e.includes("y"))return e;const a=J5e(t,r,o,i);let s=e;if(["yyyy","yy","y","yp","yyyp"].includes(e)&&(n="Etc/GMT-14"),e.includes("yp")){const c=gJ(a,1);s=sh(e,"yp|yyyp",function(l){const g="y".repeat(l.length);return g0(c,n,g)})}return sh(s,"yyyy|yy|y",function(c){return g0(a,n,c)})}function nRe(e,t,n,r){if(!e.includes("Q"))return e;let i=t.getMonth();r&&[YI,iRe,oRe,PJ].includes(n)&&(i-=r>i?r-12:r);const o=parseInt(String(i/3))+1;return sh(e,"QQ|Q",function(a){return`${a.length===2?"'Quarter '":"'Q'"}${o}`})}const rRe="years",YI="quarters",iRe="months",oRe="weeks",PJ="days",DJ=0,aRe=1,GI=Object.freeze({weekFirstDay:aRe,isFiscalOn:!1,fiscalMonth:DJ,selectedDateLevel:PJ,timeZone:"UTC"});function RC(e,t,n=WI(),r=GI){return e.getFullYear()<100&&(e=XOe(e,1900+e.getFullYear())),r.isFiscalOn||(e=K5e(e,r.selectedDateLevel,r.fiscalMonth)),t=U5e(t,n),t=q5e(t),t=X5e(t,e,r.timeZone),t=Z5e(t,e,r.timeZone,n),t=tRe(t,e,r.timeZone,r.selectedDateLevel,r.isFiscalOn,r.fiscalMonth),!r.isFiscalOn&&r.selectedDateLevel===YI&&(e=eRe(e,r.fiscalMonth)),t=nRe(t,e,r.selectedDateLevel,r.fiscalMonth),EJ(e,t,{locale:n,weekStartsOn:r.weekFirstDay})}const sRe={chart:{backgroundColor:"#FFFFFF",textColor:"#000000",secondaryTextColor:"#E4E4E4",panelBackgroundColor:"#F6F6F6"},typography:{fontFamily:'"Open Sans","Roboto","Helvetica","Arial",sans-serif',primaryTextColor:"#5B6372",secondaryTextColor:"#9EA2AB"},palette:{variantColors:["#00cee6","#9b9bd7","#6eda55","#fc7570","#fbb755","#218a8c"]},general:{backgroundColor:"#ffffff",brandColor:"#ffcb05",primaryButtonTextColor:"#3a4356",primaryButtonHoverColor:"#f2b900"},aiChat:{backgroundColor:"rgba(244, 244, 248, 1)",primaryTextColor:"rgba(38, 46, 61, 0.8)",secondaryTextColor:"rgba(38, 46, 61, 0.55)",primaryFontSize:["13px","18px"],body:{paddingLeft:"16px",paddingRight:"16px",paddingTop:"16px",paddingBottom:"1px",gapBetweenMessages:"16px"},footer:{paddingLeft:"16px",paddingRight:"16px",paddingTop:"12px",paddingBottom:"16px"},userMessages:{backgroundColor:"rgba(255, 255, 255, 1)"},systemMessages:{backgroundColor:"rgba(255, 255, 255, 1)"},input:{backgroundColor:"rgba(255, 255, 255, 1)",focus:{outlineColor:"rgba(38, 46, 61, 0.5)"}},header:{textColor:"rgba(38, 46, 61, 0.8)",backgroundColor:"rgba(255, 255, 255, 1)"},dropup:{backgroundColor:"rgba(255, 255, 255, 1)",boxShadow:"0px 1px 2px rgba(9, 9, 10, 0.1), 0px 2px 4px rgba(9, 9, 10, 0.1)",borderRadius:"4px",headers:{textColor:"rgba(38, 46, 61, 0.8)",hover:{backgroundColor:"rgba(244, 244, 248, 1)"}},items:{textColor:"rgba(38, 46, 61, 0.8)",hover:{backgroundColor:"rgba(244, 244, 248, 1)"}}},border:"1px solid #c6c9ce",borderRadius:"30px",suggestions:{textColor:"rgba(38, 46, 61, 1)",backgroundColor:"rgba(244, 244, 248, 1)",border:"1px solid",borderRadius:"16px",borderGradient:["rgba(75, 153, 233, 1)","rgba(102, 57, 191, 1)"],hover:{textColor:"rgba(38, 46, 61, 1)",backgroundColor:"rgba(12, 14, 18, 0.07)"},loadingGradient:["rgba(194, 196, 203, 1)","rgba(236, 236, 239, 1)"],gap:"8px"},clickableMessages:{textColor:"rgba(38, 46, 61, 1)",backgroundColor:"rgba(244, 244, 248, 1)",border:"1px solid",borderGradient:["rgba(75, 153, 233, 1)","rgba(102, 57, 191, 1)"],hover:{textColor:"rgba(38, 46, 61, 1)",backgroundColor:"rgba(12, 14, 18, 0.07)"}},dataTopics:{backgroundColor:"rgba(255, 255, 255, 1)",items:{textColor:"rgba(38, 46, 61, 1)",backgroundColor:"rgba(244, 244, 248, 1)"}},icons:{color:"rgba(38, 46, 61, 0.67)",feedbackIcons:{hoverColor:"rgba(12, 14, 18, 0.07)"}},tooltips:{backgroundColor:"rgba(255, 255, 255, 1)",textColor:"rgba(38, 46, 61, 0.8)",boxShadow:"0px 4px 12px 0px rgba(9, 9, 10, 0.20), 0px 1px 4px 0px rgba(9, 9, 10, 0.10)"}}},lRe={chart:{backgroundColor:"#313138",textColor:"#FFFFFF",secondaryTextColor:"#C5C8CF",panelBackgroundColor:"#313138"},typography:{fontFamily:'"Open Sans","Roboto","Helvetica","Arial",sans-serif',primaryTextColor:"#FFFFFF",secondaryTextColor:"#C5C8CF"},palette:{variantColors:["#00cee6","#9b9bd7","#6eda55","#fc7570","#fbb755","#218a8c"]},general:{backgroundColor:"#16161C",brandColor:"#FFCB05",primaryButtonTextColor:"#3A4356",primaryButtonHoverColor:"#F2B900"},aiChat:{backgroundColor:"rgba(23, 28, 38, 1)",primaryTextColor:"rgba(242, 247, 255, 0.9)",secondaryTextColor:"rgba(242, 247, 255, 0.4)",primaryFontSize:["13px","18px"],body:{paddingLeft:"16px",paddingRight:"16px",paddingTop:"16px",paddingBottom:"1px",gapBetweenMessages:"16px"},footer:{paddingLeft:"16px",paddingRight:"16px",paddingTop:"12px",paddingBottom:"16px"},userMessages:{backgroundColor:"rgba(31, 92, 153, 1)"},systemMessages:{backgroundColor:"rgba(46, 55, 77, 1)"},input:{backgroundColor:"rgba(242, 247, 255, 0.1)",focus:{outlineColor:"rgba(242, 247, 255, 0.5)"}},header:{backgroundColor:"#313138",textColor:"rgba(242, 247, 255, 0.9)"},dropup:{backgroundColor:"rgba(38, 46, 64, 1)",boxShadow:"0px 1px 4px 0px #020203, 0px 2px 12px 2px rgba(2, 2, 3, 0.25)",borderRadius:"8px",headers:{textColor:"rgba(242, 247, 255, 0.6)",hover:{backgroundColor:"rgba(242, 247, 255, 0.1)"}},items:{textColor:"rgba(242, 247, 255, 0.9)",hover:{backgroundColor:"rgba(242, 247, 255, 0.1)"}}},border:!1,borderRadius:"30px",suggestions:{textColor:"rgba(88, 192, 244, 1)",backgroundColor:"rgba(23, 28, 38, 1)",border:"1px solid",borderRadius:"16px",borderGradient:["rgba(75, 153, 233, 1)","rgba(102, 57, 191, 1)"],hover:{textColor:"rgba(88, 192, 244, 1)",backgroundColor:"rgba(242, 247, 255, 0.1)"},loadingGradient:["rgba(242, 247, 255, 0.1)","rgba(242, 247, 255, 0.3)"],gap:"8px"},clickableMessages:{textColor:"rgba(88, 192, 244, 1)",backgroundColor:"rgba(23, 28, 38, 1)",border:"1px solid",borderGradient:["rgba(75, 153, 233, 1)","rgba(102, 57, 191, 1)"],hover:{textColor:"rgba(88, 192, 244, 1)",backgroundColor:"rgba(242, 247, 255, 0.1)"}},dataTopics:{backgroundColor:"rgba(23, 28, 38, 1)",items:{textColor:"rgba(242, 247, 255, 0.9)",backgroundColor:"rgba(46, 55, 77, 1)"}},icons:{color:"rgba(242, 247, 255, 0.5)",feedbackIcons:{hoverColor:"rgba(242, 247, 255, 0.1)"}},tooltips:{textColor:"rgba(242, 247, 255, 0.9)",backgroundColor:"rgba(46, 55, 77, 1)",boxShadow:"0px 1px 8px 0px #020203, 0px 4px 24px 4px rgba(2, 2, 3, 0.25)"}}},Fp=(e=!1)=>ls(e?lRe:sRe);function LJ(e,t){const n={chart:{textColor:e.dashboards.widgetTextColor,backgroundColor:e.dashboards.widgetBackgroundColor,secondaryTextColor:e.dashboards.widgetSecondaryTextColor,panelBackgroundColor:e.dashboards.panelBackgroundColor},typography:{fontFamily:e.typography.fontFamily,primaryTextColor:e.typography.primaryTextColor,secondaryTextColor:e.typography.secondaryTextColor},palette:{variantColors:t.colors},general:{brandColor:e.general.brandColor,backgroundColor:e.general.backgroundColor,primaryButtonTextColor:e.general.primaryButtonTextColor,primaryButtonHoverColor:e.general.primaryButtonHoverColor}};return wi.withOptions({mergeArrays:!1},Fp(),n)}function NJ(e){return e.dashboards.colorPaletteName}class Fn extends sb{constructor(t,n){super(MK,{key:t,interpolationOptions:n},Nye.t)}}function jJ(e,t){return hu(this,null,function*(){const n=yield cRe(e,t);if(!n)throw new Fn("errors.themeNotFound",{themeOid:e});const r=NJ(n),i=yield IJ(r,t);return LJ(n,i)})}function cRe(e,t){return hu(this,null,function*(){return t.get(`api/v1/themes/${e}`).catch(()=>{throw new Fn("errors.themeNotFound",{themeOid:e})})})}function IJ(e,t){return hu(this,null,function*(){const n=yield t.get(`api/palettes/${e}`);if(n&&"status"in n&&n.status==="error")throw new Fn("errors.paletteNotFound",{paletteName:e});return n})}function uRe(e){return"value"in e}function dRe(e){return"valuePromise"in e}const hRe=(e,t)=>{const n=new Map;return{withCache:r=>(...i)=>hu(void 0,null,function*(){const o=e(...i);if(n.has(o)){const a=n.get(o);if(uRe(a))return a.value;if(dRe(a))return a.valuePromise;throw new Error("Unexpected cache value")}else{const a=r(...i);return n.set(o,{valuePromise:a,createdAt:new Date}),a.then(s=>(n.set(o,{value:s,createdAt:new Date}),t!=null&&t.cacheMaxSize&&n.size>t.cacheMaxSize&&pRe(n),s))}}),clearCache:r=>{if(r){n.delete(r);return}n.clear()}}};function pRe(e){const t=Array.from(e.keys()),n=t.reduce((r,i)=>{const o=e.get(i),a=e.get(r);return o.createdAt<a.createdAt?i:r},t[0]);e.delete(n)}const RJ=(e,t)=>{const{dataSource:n,dimensions:r=[],measures:i=[],filters:o=[],filterRelations:a,highlights:s=[],count:c,offset:l,ungroup:g}=e;o&&o.forEach(u=>u.isScope=!0),s&&s.forEach(u=>u.isScope=!0);const b=n||t;if(!b)throw new Fn("errors.executeQueryNoDataSource");return{dataSource:b,attributes:r,measures:i,filters:o,filterRelations:a,highlights:s,count:c,offset:l,ungroup:g}};function _h(e,t,n){const r=RJ(e,t==null?void 0:t.defaultDataSource);return t.queryClient.executeQuery(r,n).resultPromise.catch(i=>{throw i.message.includes("SecondsLevelIsNotSupportedException")?new Fn("errors.secondsDateTimeLevelSupportedOnlyForLive"):i})}const fRe=(e,t,n)=>{const{dataSource:r,rows:i=[],columns:o=[],values:a=[],grandTotals:s={},filters:c=[],filterRelations:l,highlights:g=[],count:b,offset:u}=e;c&&c.forEach(w=>w.isScope=!0),g&&g.forEach(w=>w.isScope=!0);const z=r||(t==null?void 0:t.defaultDataSource);if(!z)throw new Fn("errors.executeQueryNoDataSource");return t.queryClient.executePivotQuery({dataSource:z,rowsAttributes:i,columnsAttributes:o,measures:a,grandTotals:s,filters:c,filterRelations:l,highlights:g,count:b,offset:u},n).resultPromise},gRe=e=>JSON.stringify(nt(Fe({},qQ(e,!1)),{queryGuid:""})),zJ=(e,t)=>{const n=RJ(e,t==null?void 0:t.defaultDataSource);return gRe(n)},mRe=250,{withCache:vRe,clearCache:yRe}=hRe(zJ,{cacheMaxSize:mRe}),$I=vRe(_h),BJ=yRe;function rc(e){const t="column"in e?e.column:e;return"context"in t||"aggregation"in t?!0:!("type"in t)}const lh=e=>"aggregation"in e||"context"in e||"formula"in e,Sh=e=>!lh(e);function bRe(){}var qI=bRe,xRe=SI,wRe=qI;function m_(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}m_.prototype=xRe(wRe.prototype);m_.prototype.constructor=m_;var XI=m_,b8=Bm,_Re=lb,SRe=lo,x8=b8?b8.isConcatSpreadable:void 0;function CRe(e){return SRe(e)||_Re(e)||!!(x8&&e&&e[x8])}var kRe=CRe,MRe=dI,TRe=kRe;function FJ(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=TRe),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?FJ(s,t-1,n,r,i):MRe(i,s):r||(i[i.length]=s)}return i}var WJ=FJ,ARe=WJ;function ERe(e){var t=e==null?0:e.length;return t?ARe(e,1):[]}var ORe=ERe;function PRe(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var HJ=PRe,DRe=HJ,w8=Math.max;function LRe(e,t,n){return t=w8(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=w8(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),DRe(e,this,s)}}var UJ=LRe;function NRe(e){return function(){return e}}var jRe=NRe,IRe=jRe,_8=NK,RRe=MC,zRe=_8?function(e,t){return _8(e,"toString",{configurable:!0,enumerable:!1,value:IRe(t),writable:!0})}:RRe,BRe=zRe,FRe=800,WRe=16,HRe=Date.now;function URe(e){var t=0,n=0;return function(){var r=HRe(),i=WRe-(r-n);if(n=r,i>0){if(++t>=FRe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var VRe=URe,YRe=BRe,GRe=VRe,$Re=GRe(YRe),VJ=$Re,qRe=ORe,XRe=UJ,ZRe=VJ;function KRe(e){return ZRe(XRe(e,void 0,qRe),e+"")}var ZI=KRe,S8=qK,QRe=S8&&new S8,JRe=QRe;function eze(){}var YJ=eze,C8=JRe,tze=YJ,nze=C8?function(e){return C8.get(e)}:tze,GJ=nze,rze={},ize=rze,k8=ize,oze=Object.prototype,aze=oze.hasOwnProperty;function sze(e){for(var t=e.name+"",n=k8[t],r=aze.call(k8,t)?n.length:0;r--;){var i=n[r],o=i.func;if(o==null||o==e)return i.name}return t}var $J=sze,lze=SI,cze=qI,uze=4294967295;function v_(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=uze,this.__views__=[]}v_.prototype=lze(cze.prototype);v_.prototype.constructor=v_;var KI=v_,dze=KI,hze=XI,pze=xI;function fze(e){if(e instanceof dze)return e.clone();var t=new hze(e.__wrapped__,e.__chain__);return t.__actions__=pze(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var gze=fze,mze=KI,M8=XI,vze=qI,yze=lo,bze=Hs,xze=gze,wze=Object.prototype,_ze=wze.hasOwnProperty;function y_(e){if(bze(e)&&!yze(e)&&!(e instanceof mze)){if(e instanceof M8)return e;if(_ze.call(e,"__wrapped__"))return xze(e)}return new M8(e)}y_.prototype=vze.prototype;y_.prototype.constructor=y_;var Sze=y_,Cze=KI,kze=GJ,Mze=$J,Tze=Sze;function Aze(e){var t=Mze(e),n=Tze[t];if(typeof n!="function"||!(t in Cze.prototype))return!1;if(e===n)return!0;var r=kze(n);return!!r&&e===r[0]}var Eze=Aze,T8=XI,Oze=ZI,Pze=GJ,ET=$J,Dze=lo,A8=Eze,Lze="Expected a function",Nze=8,jze=32,Ize=128,Rze=256;function zze(e){return Oze(function(t){var n=t.length,r=n,i=T8.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if(typeof o!="function")throw new TypeError(Lze);if(i&&!a&&ET(o)=="wrapper")var a=new T8([],!0)}for(r=a?r:n;++r<n;){o=t[r];var s=ET(o),c=s=="wrapper"?Pze(o):void 0;c&&A8(c[0])&&c[1]==(Ize|Nze|jze|Rze)&&!c[4].length&&c[9]==1?a=a[ET(c[0])].apply(a,c[3]):a=o.length==1&&A8(o)?a[s]():a.thru(o)}return function(){var l=arguments,g=l[0];if(a&&l.length==1&&Dze(g))return a.plant(g).value();for(var b=0,u=n?t[b].apply(this,l):g;++b<n;)u=t[b].call(this,u);return u}})}var Bze=zze,Fze=Bze,Wze=Fze(),Hze=Wze;const Uze=On(Hze),E8="composesdk",zC=(e,t,n,r=!1)=>{const i=Object.assign({action:e,cat:E8,eventType:"product",direct:!0},t);return r?(console.debug("DEBUG: event payload to send",i),Promise.resolve()):n.post("api/activities/",[i],{cache:"no-store",redirect:"error",referrerPolicy:"same-origin",priority:"low"}).catch(o=>{console.error(`unable to log action=${e}, category=${E8}`,o)})},Vze=(e,t)=>{const{packageName:n,packageVersion:r,component:i,error:o}=e;let a="";return typeof o=="string"?a=o:o instanceof Error&&(a=o.message||o.toString()),zC("sdkError",{packageName:n,packageVersion:r,component:i,error:a},t)},Yze=(e,t)=>Vze(Object.assign(Object.assign({},e),{packageName:"sdk-ui"}),t),QI=Dr({isInitialized:!1,tracking:{enabled:!0,packageName:"sdk-ui"}}),ti=()=>Zn(QI),Gze="sdkComponentInit",qJ=Dr(!1),$ze=({skipNested:e=!0,children:t})=>ye(qJ.Provider,{value:e,children:t}),qze=(e,t)=>{const{app:n,tracking:r}=ti(),i=Zn(qJ),o=Qe(!1);pt(()=>{if(n!=null&&n.httpClient&&!o.current&&!i){const a={packageName:r.packageName,packageVersion:"1.15.0",componentName:e,attributesUsed:Object.entries(t).filter(([,s])=>!!s).map(([s])=>s).join(", ")};zC(Gze,a,n.httpClient,!r.enabled).finally(()=>o.current=!0)}},[e,t,n,r,i])};var Xze=od,Zze=Hs,Kze="[object Boolean]";function Qze(e){return e===!0||e===!1||Zze(e)&&Xze(e)==Kze}var Jze=Qze;const XJ=On(Jze);let ZJ=class extends Ln{constructor(e){super(e),Hr(this,"componentName"),Hr(this,"context"),Hr(this,"httpClient"),Hr(this,"postponedErrors",[]),this.componentName=e.componentName}componentDidMount(){var e;this.context.isInitialized&&(this.httpClient=(e=this.context.app)==null?void 0:e.httpClient)}componentDidCatch(e){throw this.context.tracking.enabled&&(this.httpClient?this.sendErrorTracking(e,this.httpClient):this.postponedErrors.push(e)),e}sendErrorTracking(e,t){Yze({packageVersion:"1.15.0",component:this.componentName,error:e},t).catch(n=>console.log("Failed to send tracking error event: ",n))}render(){return this.httpClient&&this.postponedErrors.length>0&&this.postponedErrors.forEach(e=>this.sendErrorTracking(e,this.httpClient)),this.postponedErrors=[],this.props.children}};Hr(ZJ,"contextType",QI);const e4e=({componentName:e,config:t})=>{const{skip:n,transparent:r}=t||{};return i=>function(o){return XJ(n)&&n||u_(n)&&n(o)?ye(i,Fe({},o)):(qze(e,o),ye($ze,{skipNested:!r,children:ye(ZJ,{componentName:e,children:ye(i,Fe({},o))})}))}},t4e="_container_1wquj_1",n4e="_card_1wquj_11",r4e="_text_1wquj_19",OT={container:t4e,card:n4e,text:r4e};function i4e({color:e="#FFCB05"}){return ye("svg",{width:"53px",height:"53px",viewBox:"0 0 53 53",children:ye("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:ye("g",{children:[ye("polygon",{points:"26.4996 -0.000100000005 -0.000400000001 26.5009 26.4996 52.9999 53.0006 26.5009",fill:e}),ye("path",{d:"M24.5,39.054 L24.5,35.054 L28.5,35.054 L28.5,39.054 L24.5,39.054 Z M28.5,31.0536 L24.5,31.0536 L23.5,13.0536 L29.5,13.0536 L28.5,31.0536 Z",fill:"#FFFFFF"})]})})})}const JI=Dr({themeSettings:Fp()}),sr=()=>Zn(JI),o4e=({error:e=new Fn("errors.componentRenderError")})=>{var t,n,r,i,o,a;const{themeSettings:s}=sr(),{app:c}=ti(),{t:l}=Fs(),[g,b]=dt(!1),u=()=>{b(!0)},z=()=>{b(!1)},w=ye("div",{className:"csdk-flex csdk-justify-center csdk-mb-[10px]",children:ye(i4e,{color:(t=s==null?void 0:s.general)==null?void 0:t.brandColor})}),x=e instanceof sb?l(e.key,Fe({},e.interpolationOptions)):l(e instanceof Error?e.message:e),C=l("errorBoxText",{errorMessage:x,interpolation:{escapeValue:!1}}),H=(r=(n=c==null?void 0:c.settings)==null?void 0:n.errorBoundaryConfig)==null?void 0:r.alwaysShowErrorText;return ye("div",{onMouseEnter:H?void 0:u,onMouseLeave:H?void 0:z,className:OT.container,"aria-label":"error-box",children:ye("div",{className:OT.card,style:{backgroundColor:((i=s==null?void 0:s.general)==null?void 0:i.backgroundColor)||"rgba(255,255,255,0.5)"},children:[w,(H||g)&&ye("div",{className:OT.text,style:{color:((o=s==null?void 0:s.typography)==null?void 0:o.primaryTextColor)||"#5b6372",fontFamily:((a=s==null?void 0:s.typography)==null?void 0:a.fontFamily)||"inherit"},children:C})]})})};let lN=class extends Ln{constructor(e){var t;super(e),Hr(this,"showErrorBox",!0),Hr(this,"context"),this.showErrorBox=(t=e.showErrorBox)!=null?t:!0,this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e){this.setState({error:e})}componentDidUpdate(e,t){t.error!==null&&a4e(e.resetKeys,this.props.resetKeys)&&this.setState({error:null})}render(){const e=this.state.error||this.props.error;return e?this.showErrorBox?ye(o4e,{error:e}):ye("div",{}):this.props.children}};function a4e(e=[],t=[]){return e.length!==t.length||e.some((n,r)=>!Object.is(n,t[r]))}const s4e=()=>e=>function(t){return ye(lN,{resetKeys:Object.values(t),children:ye(e,Fe({},t))})},l4e=({shouldSkipSisenseContextWaiting:e,customContextErrorMessageKey:t})=>n=>function(r){if(c4e(e,r))return ye(n,Fe({},r));const{app:i,isInitialized:o}=ti();if(!o){const a=t||"errors.noSisenseContext";throw new Fn(a)}return i?ye(n,Fe({},r)):ye(u4e,{})};function c4e(e,t){return XJ(e)&&e||u_(e)&&e(t)}function u4e(){return null}function d4e(){const[e,t]=dt(null);return pt(()=>{TK().initPromise.then(n=>t(n))},[]),e}const cN=({children:e,userLanguage:t})=>{const n=d4e();return pt(()=>{t&&(n==null?void 0:n.language)!==t&&(n==null||n.changeLanguage(t))},[n,t]),n&&ye(Oye,{i18n:n,children:e})},h4e=()=>e=>function(t){const{isInitialized:n}=ti();return n?ye(e,Fe({},t)):ye(cN,{children:ye(e,Fe({},t))})},p4e=e=>t=>(t.displayName=e,t),nr=e=>{const{componentName:t,shouldSkipSisenseContextWaiting:n,trackingConfig:r={},customContextErrorMessageKey:i}=e;return o=>Uze(p4e(t),l4e({shouldSkipSisenseContextWaiting:n,customContextErrorMessageKey:i}),e4e({componentName:t,config:r}),s4e(),h4e())(o)},om=(e,t)=>{const n=!e||e==="";let r,i,o;return Si(t)?(r=parseFloat(e),i=isNaN(r)):oc(t)?(r=bb(e).valueOf(),i=isNaN(r)):(r=e,o=e==null?void 0:e.toLowerCase(),i=!1),Fe({value:r,valueUndefined:n,valueIsNaN:i},o&&{lowercaseValue:o})};function O8(e,t){const n=h0e(e)?e:{displayValue:e==null?void 0:e.toString()};return n.compareValue||(n.compareValue=om(n.displayValue,t)),n}var KJ=(e=>(e[e.ASC=1]="ASC",e[e.DESC=-1]="DESC",e[e.NONE=0]="NONE",e))(KJ||{});function QJ(e,t,n=1,r="string"){const i=O8(e,r),o=O8(t,r),a=i.compareValue,s=o.compareValue;if(a.valueUndefined&&s.valueUndefined)return 0;if(a.valueUndefined)return 1;if(s.valueUndefined)return-1;if(a.valueIsNaN&&s.valueIsNaN)return 0;if(a.valueIsNaN)return 1;if(s.valueIsNaN)return-1;const c=a.lowercaseValue,l=s.lowercaseValue;if(c!==void 0&&l!==void 0){if(c<l)return-1*n;if(c>l)return 1*n}return a.value<s.value?-1*n:a.value>s.value?1*n:0}let JJ=class{constructor(e){Hr(this,"columns",[]),this.columns=e}compare(e,t){for(let n=0;n<this.columns.length;n++){const r=this.columns[n],i=e[r.index],o=t[r.index],a=r.direction||1,s=QJ(i,o,a,r.type);if(s!==0)return s}return 0}};const eee=e=>e instanceof Object&&"data"in e,f4e=e=>e.rows.length===0,Vg="$rownum",tee=e=>{let t=0;const n=e.rows.map(i=>{const o=e.columns.map((a,s)=>{var c;const l=i[s];if(eee(l)){let u=l.data.toString();if(oc(a.type)){const z="1111-11-11T";u.startsWith(z)&&(u=u.replace(z,"1970-01-01T"))}return Fe(Fe({rawValue:l.data,displayValue:(c=l.text)!=null?c:u,compareValue:om(u,a.type)},l.blur?{blur:l.blur}:{}),l.color?{color:l.color}:{})}let g,b;return oc(a.type)&&(g=om(`${l}`,a.type),b=new Date(g.value).toISOString()),{rawValue:b??l,displayValue:`${l??""}`,compareValue:g}});return t++,o.push({displayValue:`${t}`,rawValue:t}),o}),r=e.columns.map((i,o)=>({name:i.name,type:i.type,index:o,direction:0}));return r.push({name:Vg,type:"number",index:r.length,direction:0}),{columns:r,rows:n}},nee=["polar"],ree=["line","area","bar","column",...nee],iee=["pie","funnel","treemap","sunburst"],oee=["scatter"],g4e=["table"],m4e=["indicator"],aee=["boxplot"],v4e=["areamap"],y4e=["scattermap"],see=["arearange"],sd=e=>ree.find(t=>t===e)!==void 0,Zm=e=>iee.find(t=>t===e)!==void 0,ff=e=>oee.find(t=>t===e)!==void 0,gf=e=>y4e.find(t=>t===e)!==void 0,wb=e=>m4e.find(t=>t===e)!==void 0,lee=e=>nee.find(t=>t===e)!==void 0,b4e=e=>g4e.find(t=>t===e)!==void 0,mf=e=>aee.find(t=>t===e)!==void 0,vf=e=>v4e.find(t=>t===e)!==void 0,BC=e=>see.find(t=>t===e)!==void 0;let P8=class{constructor(e){Hr(this,"data"),Hr(this,"sum"),Hr(this,"max"),Hr(this,"min"),Hr(this,"avg"),Hr(this,"variance"),Hr(this,"stddev"),this.data=e}getStat(e){switch(e){case"sum":return this.getSum();case"max":return this.getMax();case"min":return this.getMin();case"count":return this.getCount();case"countdistinct":return this.getCountDistinct();case"avg":case"mean":case"average":return this.getAverage();case"var":case"variance":return this.getVariance();case"stddev":return this.getStdDev()}return NaN}getSum(){if(this.data.length===0)return NaN;if(this.sum!=null)return this.sum;this.sum=0;for(const e of this.data)this.sum+=e;return this.sum}getMax(){if(this.data.length===0)return NaN;if(this.max)return this.max;if(this.data.length<=0)return NaN;this.max=this.data[0];for(const e of this.data)e>this.max&&(this.max=e);return this.max}getMin(){if(this.data.length===0)return NaN;if(this.min)return this.min;if(this.data.length<=0)return NaN;this.min=this.data[0];for(const e of this.data)e<this.min&&(this.min=e);return this.min}getMean(){return this.getAverage()}getAverage(){return this.data.length===0?NaN:this.avg?this.avg:(this.avg=this.getSum()/this.data.length,this.avg)}getN(){return this.getCount()}getCount(){return this.data.length}getCountDistinct(){return this.data.filter((e,t,n)=>n.indexOf(e)===t).length}getVariance(){if(this.variance===void 0)if(this.data.length===0)this.variance=NaN;else if(this.data.length===1)this.variance=0;else{const e=this.getMean();this.variance=this.data.reduce((t,n)=>t.concat(Et(n-e,2)),[]).reduce((t,n)=>t+n,0)/(this.data.length-1)}return this.variance}getStdDev(){return this.data.length===0?NaN:this.stddev!=null?this.stddev:(this.stddev=Math.sqrt(this.getVariance()),this.stddev)}},x4e=class{constructor(e){Hr(this,"data"),Hr(this,"countDistinct"),this.data=e}getStat(e){switch(e){case"count":return this.getCount();case"countdistinct":return this.getCountDistinct()}return NaN}getN(){return this.getCount()}getCount(){return this.data.length}getCountDistinct(){return this.data.filter((e,t,n)=>n.indexOf(e)===t).length}};const cee=(e,t)=>e.slice(0).sort((n,r)=>t.compare(n,r)),e5=(e,t)=>{if(!(e&&e.length>0))return[];const n=new JJ(t),r=cee(e,n);let i=[];const o=[];let a=r[0];for(const s of Array.from(r))n.compare(s,a)!==0&&(o.push(i),i=[]),i.push(s),a=s;return o.push(i),o},w4e=(e,t)=>{var n,r;const i=[];for(const o of t){let a;const s=o.column,{aggFunc:c}=o,l=e.filter(u=>!!u[s.index]&&u[s.index].displayValue!==""),g=(r=(n=l.find(u=>{var z;return u!==void 0&&((z=u==null?void 0:u[s.index])==null?void 0:z.color)}))==null?void 0:n[s.index])==null?void 0:r.color,b=l.some(u=>u[s.index].blur);if(oc(s.type)){const u=l.map(z=>bb(z[s.index].displayValue).valueOf());a=new P8(u).getStat(c)}else if(Si(s.type)){const u=l.map(z=>parseFloat(z[s.index].displayValue));a=new P8(u).getStat(c)}else{const u=l.map(z=>z[s.index].displayValue);a=new x4e(u).getStat(c)}i.push(Fe(Fe({displayValue:`${a}`},g&&{color:g}),b&&{blur:b}))}return i},t5=(e,t)=>{if(WC(e))return{columns:[],rows:[]};const n=new JJ(t);return{columns:e.columns,rows:cee(e.rows,n)}},uee=(e,t,n)=>{if(WC(e))return{rows:[],columns:[]};const r={name:"n/a",type:"n/a",index:-1,direction:0},i=n.map(l=>({aggFunc:l.agg,aggName:l.title,column:Li(e,l.column)||r})).filter(l=>l.column.index!==-1),o=e5(e.rows,t),a=i.map(l=>l.aggName),s=[];for(const l of o){const g=_b(l[0],t),b=w4e(l,i),u=g.slice(0).concat(b);s.push(u)}const c=t.slice(0).concat(a.map(l=>({name:l,type:"number",index:0,direction:0})));return{rows:s,columns:c.map((l,g)=>nt(Fe({},l),{index:g}))}},Li=(e,t)=>e.columns.find(n=>n.name===t),Wp=(e,t)=>{const n={name:"foo",type:"string",index:-1,direction:0};return t.map(r=>Li(e,r)||n).filter(r=>r!==n)},dee=(e,t)=>{const n=e.rows.map(r=>t.map(i=>r[i.index]));return{columns:t.map((r,i)=>nt(Fe({},r),{index:i})),rows:n}},To=(e,t)=>{if(!(e&&t.index<e.length))return;const n=e[t.index];return n.compareValue||(n.compareValue=om(n.displayValue,t.type)),n.compareValue.value},FC=(e,t)=>{var n;return!!((n=e[t.index])!=null&&n.blur)},_b=(e,t)=>{const n=[];for(const r of t)n.push(e[r.index]);return n},_4e=(e,t)=>_b(e,t).map(n=>n.rawValue||n.displayValue).join(","),n5=(e,t)=>{if(!(e&&e.length>0))return{};const n=e5(e,t),r={};for(const i of n){const o=_4e(i[0],t);r[o]=i}return r},WC=e=>!(e.rows&&e.columns&&e.rows.length>0&&e.columns.length>0),hee=({x:e,y:t,breakBy:n})=>fee(t)&&pee(e)&&n.length===0,S4e=({x:e,y:t,breakBy:n})=>pee(e)&&fee(t)&&n.length>0,pee=e=>e.length===0,fee=e=>e.length>0,C4e=(e,t)=>e*(t/100),k4e=(e,t)=>e===0?0:Math.abs(t)/Math.abs(e)*100,yw=e=>`${e}%`;var D8;(function(e){e.event="event",e.props="prop"})(D8||(D8={}));function M4e(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function T4e(e,t,n){var r=M4e(n),i=e.search(/[1-9]/);return i=i===-1?e.length:i,e.substring(0,i)+e.substring(i,e.length).replace(r,"$1"+t)}function A4e(e,t){t===void 0&&(t=!0);var n=e[0]==="-",r=n&&t;e=e.replace("-","");var i=e.split("."),o=i[0],a=i[1]||"";return{beforeDecimal:o,afterDecimal:a,hasNegation:n,addNegation:r}}function E4e(e,t,n){for(var r="",i=n?"0":"",o=0;o<=t-1;o++)r+=e[o]||i;return r}function O4e(e,t){var n=t.decimalScale,r=t.fixedDecimalScale,i=t.prefix;i===void 0&&(i="");var o=t.suffix;o===void 0&&(o="");var a=t.allowNegative,s=t.thousandsGroupStyle;if(s===void 0&&(s="thousand"),e===""||e==="-")return e;var c=P4e(t),l=c.thousandSeparator,g=c.decimalSeparator,b=n!==0&&e.indexOf(".")!==-1||n&&r,u=A4e(e,a),z=u.beforeDecimal,w=u.afterDecimal,x=u.addNegation;return n!==void 0&&(w=E4e(w,n,!!r)),l&&(z=T4e(z,l,s)),i&&(z=i+z),o&&(w=w+o),x&&(z="-"+z),e=z+(b&&g||"")+w,e}function P4e(e){var t=e.decimalSeparator;t===void 0&&(t=".");var n=e.thousandSeparator,r=e.allowedDecimalSeparators;return n===!0&&(n=","),r||(r=[t,"."]),{decimalSeparator:t,thousandSeparator:n,allowedDecimalSeparators:r}}var D4e=FI;function L4e(e){var t=D4e(e),n=t%1;return t===t?n?t-n:t:0}var N4e=L4e,j4e=kl,I4e=N4e,R4e=Xm,L8=gI,z4e=j4e.isFinite,B4e=Math.min;function F4e(e){var t=Math[e];return function(n,r){if(n=R4e(n),r=r==null?0:B4e(I4e(r),292),r&&z4e(n)){var i=(L8(n)+"e").split("e"),o=t(i[0]+"e"+(+i[1]+r));return i=(L8(o)+"e").split("e"),+(i[0]+"e"+(+i[1]-r))}return t(n)}}var W4e=F4e,H4e=W4e,U4e=H4e("round"),V4e=U4e;const Y4e=On(V4e),uN=1e3,dN=uN*1e3,hN=dN*1e3,N8=hN*1e3,gee=1000.1.toLocaleString().replace(/\d/g,""),G4e=gee[0],$4e=gee[1],q4e={name:"Numbers",decimalScale:"auto",trillion:!0,billion:!0,million:!0,kilo:!0,thousandSeparator:!0,prefix:!0,symbol:"$"},Jr=e=>Fe(Fe({},q4e),e||{}),X4e=(e,t)=>isNaN(t)?"":`<span>${am(e,t)}</span>`,Z4e=(e,t)=>Math.sign(e)*Y4e(Math.abs(e),t),am=(e,t)=>{const n=e.decimalScale!==0&&e.decimalScale!=="auto",r=e.decimalScale==="auto"?2:e.decimalScale;let i=!0;e.name==="Numbers"&&!e.thousandSeparator&&(i=void 0);let o,a,s=t;return e.name==="Percent"&&(a="%",s=t*100),(e.name==="Numbers"||e.name==="Currency")&&(e.trillion&&Math.abs(t)/N8>=1?(s=t/N8,a="T"):e.billion&&Math.abs(t)/hN>=1?(s=t/hN,a="B"):e.million&&Math.abs(t)/dN>=1?(s=t/dN,a="M"):e.kilo&&Math.abs(t)/uN>=1&&(s=t/uN,a="K")),e.name==="Currency"&&(e.prefix?o=e.symbol:a?a=`${a}${e.symbol}`:a=e.symbol),O4e(`${Z4e(s,r)}`,{displayType:"text",thousandSeparator:i?G4e:void 0,fixedDecimalScale:n,decimalScale:r,decimalSeparator:$4e,prefix:o,suffix:a})},di=(e,t)=>{let n=X4e(e,t);return n=n.replace("<span>",""),n=n.replace("</span>",""),n},m0="#dcdcdc",Hp="#CCCCCC",ch="#FFFFFF",K4e=["#00cee6","#9b9bd7","#6eda55","#fc7570","#fbb755","#218a8c","#08e5ff","#b3b3f7","#7efb62","#ff8a87","#ffc26a","#279fa1"],r5=e=>({type:"uniform",color:e});function Q4e(e){return()=>e.color}const mee=e=>{if(e!==void 0)return typeof e=="string"?r5(e).color:e.type==="uniform"?e.color:m0};function J4e(e){var t;const n=((t=e.conditions)!=null?t:[]).map(r=>({match:e6e(r),color:r.color}));return r=>{const i=n.find(o=>o.match(r));return i?i.color:e.defaultColor}}function e6e(e){const t=Number(e.expression);switch(e.operator){case"<":return n=>n<t;case">":return n=>n>t;case"≤":case"<=":return n=>n<=t;case"≥":case">=":return n=>n>=t;case"=":return n=>n==t;case"≠":case"!=":return n=>n!=t;default:return()=>!0}}function Qi(e,t){let n=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(a=>[a]));let r=t[0].length,i=t[0].map((a,s)=>t.map(c=>c[s])),o=e.map(a=>i.map(s=>{let c=0;if(!Array.isArray(a)){for(let l of s)c+=a*l;return c}for(let l=0;l<a.length;l++)c+=a[l]*(s[l]||0);return c}));return n===1&&(o=o[0]),r===1?o.map(a=>a[0]):o}function Sb(e){return th(e)==="string"}function th(e){return(Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function b_(e,t){e=+e,t=+t;let n=(Math.floor(e)+"").length;if(t>n)return+e.toFixed(t-n);{let r=Et(10,n-t);return Math.round(e/r)*r}}function vee(e){if(!e)return;e=e.trim();const t=/^([a-z]+)\((.+?)\)$/i,n=/^-?[\d.]+$/;let r=e.match(t);if(r){let i=[];return r[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,(o,a)=>{/%$/.test(a)?(a=new Number(a.slice(0,-1)/100),a.type="<percentage>"):/deg$/.test(a)?(a=new Number(+a.slice(0,-3)),a.type="<angle>",a.unit="deg"):n.test(a)&&(a=new Number(a),a.type="<number>"),o.startsWith("/")&&(a=a instanceof Number?a:new Number(a),a.alpha=!0),i.push(a)}),{name:r[1].toLowerCase(),rawName:r[1],rawArgs:r[2],args:i}}}function yee(e){return e[e.length-1]}function x_(e,t,n){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*n}function bee(e,t,n){return(n-e)/(t-e)}function i5(e,t,n){return x_(t[0],t[1],bee(e[0],e[1],n))}function xee(e){return e.map(t=>t.split("|").map(n=>{n=n.trim();let r=n.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(r){let i=new String(r[1]);return i.range=[+r[2],+r[3]],i}return n}))}var t6e=Object.freeze({__proto__:null,interpolate:x_,interpolateInv:bee,isString:Sb,last:yee,mapRange:i5,multiplyMatrices:Qi,parseCoordGrammar:xee,parseFunction:vee,toPrecision:b_,type:th});let n6e=class{add(e,t,n){if(typeof arguments[0]!="string"){for(var e in arguments[0])this.add(e,arguments[0][e],arguments[1]);return}(Array.isArray(e)?e:[e]).forEach(function(r){this[r]=this[r]||[],t&&this[r][n?"unshift":"push"](t)},this)}run(e,t){this[e]=this[e]||[],this[e].forEach(function(n){n.call(t&&t.context?t.context:t,t)})}};const uh=new n6e;var au={gamut_mapping:"lch.c",precision:5,deltaE:"76"};const ec={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function pN(e){return Array.isArray(e)?e:ec[e]}function w_(e,t,n,r={}){if(e=pN(e),t=pN(t),!e||!t)throw new TypeError(`Missing white point to convert ${e?"":"from"}${!e&&!t?"/":""}${t?"":"to"}`);if(e===t)return n;let i={W1:e,W2:t,XYZ:n,options:r};if(uh.run("chromatic-adaptation-start",i),i.M||(i.W1===ec.D65&&i.W2===ec.D50?i.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:i.W1===ec.D50&&i.W2===ec.D65&&(i.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),uh.run("chromatic-adaptation-end",i),i.M)return Qi(i.M,i.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}const r6e=75e-6,fN=class Mc{constructor(t){var n,r,i,o,a,s,c;this.id=t.id,this.name=t.name,this.base=t.base?Mc.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);let l=(n=t.coords)!=null?n:this.base.coords;for(let b in l)"name"in l[b]||(l[b].name=b);this.coords=l;let g=(i=(r=t.white)!=null?r:this.base.white)!=null?i:"D65";this.white=pN(g),this.formats=(o=t.formats)!=null?o:{};for(let b in this.formats){let u=this.formats[b];u.type||(u.type="function"),u.name||(u.name=b)}t.cssId&&!((a=this.formats.functions)!=null&&a.color)?(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})):(s=this.formats)!=null&&s.color&&!((c=this.formats)!=null&&c.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,Object.defineProperty(this,"path",{value:i6e(this).reverse(),writable:!1,enumerable:!0,configurable:!0}),uh.run("colorspace-init-end",this)}inGamut(t,{epsilon:n=r6e}={}){if(this.isPolar)return t=this.toBase(t),this.base.inGamut(t,{epsilon:n});let r=Object.values(this.coords);return t.every((i,o)=>{let a=r[o];if(a.type!=="angle"&&a.range){if(Number.isNaN(i))return!0;let[s,c]=a.range;return(s===void 0||i>=s-n)&&(c===void 0||i<=c+n)}return!0})}get cssId(){var t,n;return((n=(t=this.formats.functions)==null?void 0:t.color)==null?void 0:n.id)||this.id}get isPolar(){for(let t in this.coords)if(this.coords[t].type==="angle")return!0;return!1}getFormat(t){if(typeof t=="object")return t=j8(t,this),t;let n;return t==="default"?n=Object.values(this.formats)[0]:n=this.formats[t],n?(n=j8(n,this),n):null}equals(t){return t?this===t||this.id===t.id:!1}to(t,n){if(arguments.length===1&&([t,n]=[t.space,t.coords]),t=Mc.get(t),this.equals(t))return n;n=n.map(s=>Number.isNaN(s)?0:s);let r=this.path,i=t.path,o,a;for(let s=0;s<r.length&&r[s].equals(i[s]);s++)o=r[s],a=s;if(!o)throw new Error(`Cannot convert between color spaces ${this} and ${t}: no connection space was found`);for(let s=r.length-1;s>a;s--)n=r[s].toBase(n);for(let s=a+1;s<i.length;s++)n=i[s].fromBase(n);return n}from(t,n){return arguments.length===1&&([t,n]=[t.space,t.coords]),t=Mc.get(t),t.to(this,n)}toString(){return`${this.name} (${this.id})`}getMinCoords(){var t;let n=[];for(let r in this.coords){let i=this.coords[r],o=i.range||i.refRange;n.push((t=o==null?void 0:o.min)!=null?t:0)}return n}static get all(){return[...new Set(Object.values(Mc.registry))]}static register(t,n){if(arguments.length===1&&(n=arguments[0],t=n.id),n=this.get(n),this.registry[t]&&this.registry[t]!==n)throw new Error(`Duplicate color space registration: '${t}'`);if(this.registry[t]=n,arguments.length===1&&n.aliases)for(let r of n.aliases)this.register(r,n);return n}static get(t,...n){if(!t||t instanceof Mc)return t;if(th(t)==="string"){let r=Mc.registry[t.toLowerCase()];if(!r)throw new TypeError(`No color space found with id = "${t}"`);return r}if(n.length)return Mc.get(...n);throw new TypeError(`${t} is not a valid color space`)}static resolveCoord(t,n){var r;let i=th(t),o,a;if(i==="string"?t.includes(".")?[o,a]=t.split("."):[o,a]=[,t]:Array.isArray(t)?[o,a]=t:(o=t.space,a=t.coordId),o=Mc.get(o),o||(o=n),!o)throw new TypeError(`Cannot resolve coordinate reference ${t}: No color space specified and relative references are not allowed here`);if(i=th(a),i==="number"||i==="string"&&a>=0){let l=Object.entries(o.coords)[a];if(l)return Fe({space:o,id:l[0],index:a},l[1])}o=Mc.get(o);let s=a.toLowerCase(),c=0;for(let l in o.coords){let g=o.coords[l];if(l.toLowerCase()===s||((r=g.name)==null?void 0:r.toLowerCase())===s)return Fe({space:o,id:l,index:c},g);c++}throw new TypeError(`No "${a}" coordinate found in ${o.name}. Its coordinates are: ${Object.keys(o.coords).join(", ")}`)}};Hr(fN,"registry",{}),Hr(fN,"DEFAULT_FORMAT",{type:"functions",name:"color"});let mn=fN;function i6e(e){let t=[e];for(let n=e;n=n.base;)t.push(n);return t}function j8(e,{coords:t}={}){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=xee(e.coords);let n=Object.entries(t).map(([r,i],o)=>{let a=e.coordGrammar[o][0],s=i.range||i.refRange,c=a.range,l="";return a=="<percentage>"?(c=[0,100],l="%"):a=="<angle>"&&(l="deg"),{fromRange:s,toRange:c,suffix:l}});e.serializeCoords=(r,i)=>r.map((o,a)=>{let{fromRange:s,toRange:c,suffix:l}=n[a];return s&&c&&(o=i5(s,c,o)),o=b_(o,i),l&&(o+=l),o})}return e}var fl=new mn({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]});let cs=class extends mn{constructor(e){e.coords||(e.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),e.base||(e.base=fl),e.toXYZ_M&&e.fromXYZ_M&&(e.toBase!=null||(e.toBase=t=>{let n=Qi(e.toXYZ_M,t);return this.white!==this.base.white&&(n=w_(this.white,this.base.white,n)),n}),e.fromBase!=null||(e.fromBase=t=>(t=w_(this.base.white,this.white,t),Qi(e.fromXYZ_M,t)))),e.referred!=null||(e.referred="display"),super(e)}};function wee(e,{meta:t}={}){var n,r,i,o,a;let s={str:(n=String(e))==null?void 0:n.trim()};if(uh.run("parse-start",s),s.color)return s.color;if(s.parsed=vee(s.str),s.parsed){let c=s.parsed.name;if(c==="color"){let l=s.parsed.args.shift(),g=s.parsed.rawArgs.indexOf("/")>0?s.parsed.args.pop():1;for(let u of mn.all){let z=u.getFormat("color");if(z&&(l===z.id||(r=z.ids)!=null&&r.includes(l))){const w=Object.keys(u.coords).map((x,C)=>s.parsed.args[C]||0);return t&&(t.formatId="color"),{spaceId:u.id,coords:w,alpha:g}}}let b="";if(l in mn.registry){let u=(a=(o=(i=mn.registry[l].formats)==null?void 0:i.functions)==null?void 0:o.color)==null?void 0:a.id;u&&(b=`Did you mean color(${u})?`)}throw new TypeError(`Cannot parse color(${l}). `+(b||"Missing a plugin?"))}else for(let l of mn.all){let g=l.getFormat(c);if(g&&g.type==="function"){let b=1;(g.lastAlpha||yee(s.parsed.args).alpha)&&(b=s.parsed.args.pop());let u=s.parsed.args,z;return g.coordGrammar&&(z=Object.entries(l.coords).map(([w,x],C)=>{var H;let G=g.coordGrammar[C],$=(H=u[C])==null?void 0:H.type,U=G.find(P=>P==$);if(!U){let P=x.name||w;throw new TypeError(`${$} not allowed for ${P} in ${c}()`)}let B=U.range;$==="<percentage>"&&(B||(B=[0,1]));let T=x.range||x.refRange;return B&&T&&(u[C]=i5(B,T,u[C])),U})),t&&Object.assign(t,{formatId:g.name,types:z}),{spaceId:l.id,coords:u,alpha:b}}}}else for(let c of mn.all)for(let l in c.formats){let g=c.formats[l];if(g.type!=="custom"||g.test&&!g.test(s.str))continue;let b=g.parse(s.str);if(b)return b.alpha!=null||(b.alpha=1),t&&(t.formatId=l),b}throw new TypeError(`Could not parse ${e} as a color. Missing a plugin?`)}function wr(e){if(!e)throw new TypeError("Empty color reference");Sb(e)&&(e=wee(e));let t=e.space||e.spaceId;return t instanceof mn||(e.space=mn.get(t)),e.alpha===void 0&&(e.alpha=1),e}function Cb(e,t){return t=mn.get(t),t.from(e)}function gl(e,t){let{space:n,index:r}=mn.resolveCoord(t,e.space);return Cb(e,n)[r]}function _ee(e,t,n){return t=mn.get(t),e.coords=t.to(e.space,n),e}function dh(e,t,n){if(e=wr(e),arguments.length===2&&th(arguments[1])==="object"){let r=arguments[1];for(let i in r)dh(e,i,r[i])}else{typeof n=="function"&&(n=n(gl(e,t)));let{space:r,index:i}=mn.resolveCoord(t,e.space),o=Cb(e,r);o[i]=n,_ee(e,r,o)}return e}var o5=new mn({id:"xyz-d50",name:"XYZ D50",white:"D50",base:fl,fromBase:e=>w_(fl.white,"D50",e),toBase:e=>w_("D50",fl.white,e),formats:{color:{}}});const o6e=216/24389,I8=24/116,lx=24389/27;let PT=ec.D50;var Ts=new mn({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:PT,base:o5,fromBase(e){let t=e.map((n,r)=>n/PT[r]).map(n=>n>o6e?Math.cbrt(n):(lx*n+16)/116);return[116*t[1]-16,500*(t[0]-t[1]),200*(t[1]-t[2])]},toBase(e){let t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>I8?Math.pow(t[0],3):(116*t[0]-16)/lx,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/lx,t[2]>I8?Math.pow(t[2],3):(116*t[2]-16)/lx].map((n,r)=>n*PT[r])},formats:{lab:{coords:["<number> | <percentage>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}});function HC(e){return(e%360+360)%360}function a6e(e,t){if(e==="raw")return t;let[n,r]=t.map(HC),i=r-n;return e==="increasing"?i<0&&(r+=360):e==="decreasing"?i>0&&(n+=360):e==="longer"?-180<i&&i<180&&(i>0?n+=360:r+=360):e==="shorter"&&(i>180?n+=360:i<-180&&(r+=360)),[n,r]}var v0=new mn({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:Ts,fromBase(e){let[t,n,r]=e,i;const o=.02;return Math.abs(n)<o&&Math.abs(r)<o?i=NaN:i=Math.atan2(r,n)*180/Math.PI,[t,Math.sqrt(Et(n,2)+Et(r,2)),HC(i)]},toBase(e){let[t,n,r]=e;return n<0&&(n=0),isNaN(r)&&(r=0),[t,n*Math.cos(r*Math.PI/180),n*Math.sin(r*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number> | <percentage>","<number> | <angle>"]}}});const R8=Et(25,7),__=Math.PI,z8=180/__,Xf=__/180;function gN(e,t,{kL:n=1,kC:r=1,kH:i=1}={}){let[o,a,s]=Ts.from(e),c=v0.from(Ts,[o,a,s])[1],[l,g,b]=Ts.from(t),u=v0.from(Ts,[l,g,b])[1];c<0&&(c=0),u<0&&(u=0);let z=(c+u)/2,w=Et(z,7),x=.5*(1-Math.sqrt(w/(w+R8))),C=(1+x)*a,H=(1+x)*g,G=Math.sqrt(Et(C,2)+Et(s,2)),$=Math.sqrt(Et(H,2)+Et(b,2)),U=C===0&&s===0?0:Math.atan2(s,C),B=H===0&&b===0?0:Math.atan2(b,H);U<0&&(U+=2*__),B<0&&(B+=2*__),U*=z8,B*=z8;let T=l-o,P=$-G,f=B-U,y=U+B,d=Math.abs(f),h;G*$===0?h=0:d<=180?h=f:f>180?h=f-360:f<-180?h=f+360:console.log("the unthinkable has happened");let m=2*Math.sqrt($*G)*Math.sin(h*Xf/2),O=(o+l)/2,M=(G+$)/2,D=Math.pow(M,7),Y;G*$===0?Y=y:d<=180?Y=y/2:y<360?Y=(y+360)/2:Y=(y-360)/2;let X=Et(O-50,2),V=1+.015*X/Math.sqrt(20+X),R=1+.045*M,I=1;I-=.17*Math.cos((Y-30)*Xf),I+=.24*Math.cos(2*Y*Xf),I+=.32*Math.cos((3*Y+6)*Xf),I-=.2*Math.cos((4*Y-63)*Xf);let E=1+.015*M*I,A=30*Math.exp(-1*Et((Y-275)/25,2)),v=2*Math.sqrt(D/(D+R8)),k=-1*Math.sin(2*A*Xf)*v,S=Et(T/(n*V),2);return S+=Et(P/(r*R),2),S+=Et(m/(i*E),2),S+=k*(P/(r*R))*(m/(i*E)),Math.sqrt(S)}const s6e=75e-6;function $y(e,t=e.space,{epsilon:n=s6e}={}){e=wr(e),t=mn.get(t);let r=e.coords;return t!==e.space&&(r=t.from(e)),t.inGamut(r,{epsilon:n})}function y0(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function hh(e,{method:t=au.gamut_mapping,space:n=e.space}={}){if(Sb(arguments[1])&&(n=arguments[1]),n=mn.get(n),$y(e,n,{epsilon:0}))return wr(e);let r=hl(e,n);if(t!=="clip"&&!$y(e,n)){let i=hh(y0(r),{method:"clip",space:n});if(gN(e,i)>2){let o=mn.resolveCoord(t),a=o.space,s=o.id,c=hl(r,a),l=(o.range||o.refRange)[0],g=.01,b=l,u=gl(c,s);for(;u-b>g;){let z=y0(c);z=hh(z,{space:n,method:"clip"}),gN(c,z)-2<g?b=gl(c,s):u=gl(c,s),dh(c,s,(b+u)/2)}r=hl(c,n)}else r=i}if(t==="clip"||!$y(r,n,{epsilon:0})){let i=Object.values(n.coords).map(o=>o.range||[]);r.coords=r.coords.map((o,a)=>{let[s,c]=i[a];return s!==void 0&&(o=Math.max(s,o)),c!==void 0&&(o=Math.min(o,c)),o})}return n!==e.space&&(r=hl(r,e.space)),e.coords=r.coords,e}hh.returns="color";function hl(e,t,{inGamut:n}={}){e=wr(e),t=mn.get(t);let r=t.from(e),i={space:t,coords:r,alpha:e.alpha};return n&&(i=hh(i)),i}hl.returns="color";function S_(e,t={}){var n=t,{precision:r=au.precision,format:i="default",inGamut:o=!0}=n,a=ao(n,["precision","format","inGamut"]),s,c,l;let g;e=wr(e);let b=i;i=(c=(s=e.space.getFormat(i))!=null?s:e.space.getFormat("default"))!=null?c:mn.DEFAULT_FORMAT,o||(o=i.toGamut);let u=e.coords;if(u=u.map(z=>z||0),o&&!$y(e)&&(u=hh(y0(e),o===!0?void 0:o).coords),i.type==="custom")if(a.precision=r,i.serialize)g=i.serialize(u,e.alpha,a);else throw new TypeError(`format ${b} can only be used to parse colors, not for serialization`);else{let z=i.name||"color";i.serializeCoords?u=i.serializeCoords(u,r):r!==null&&(u=u.map(H=>b_(H,r)));let w=[...u];if(z==="color"){let H=i.id||((l=i.ids)==null?void 0:l[0])||e.space.id;w.unshift(H)}let x=e.alpha;r!==null&&(x=b_(x,r));let C=e.alpha<1&&!i.noAlpha?`${i.commas?",":" /"} ${x}`:"";g=`${z}(${w.join(i.commas?", ":" ")}${C})`}return g}const l6e=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],c6e=[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]];var UC=new cs({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:l6e,fromXYZ_M:c6e,formats:{color:{}}});const cx=1.09929682680944,B8=.018053968510807;var See=new cs({id:"rec2020",name:"REC.2020",base:UC,toBase(e){return e.map(function(t){return t<B8*4.5?t/4.5:Math.pow((t+cx-1)/cx,1/.45)})},fromBase(e){return e.map(function(t){return t>=B8?cx*Math.pow(t,.45)-(cx-1):4.5*t})},formats:{color:{}}});const u6e=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],d6e=[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]];var Cee=new cs({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:u6e,fromXYZ_M:d6e});const h6e=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],p6e=[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]];var kee=new cs({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:h6e,fromXYZ_M:p6e,formats:{color:{}}}),F8={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[153/255,50/255,204/255],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,153/255],lightslategrey:[119/255,136/255,153/255],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[102/255,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,204/255],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[102/255,51/255,153/255],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]};let W8=Array(3).fill("<percentage> | <number>[0, 255]"),H8=Array(3).fill("<number>[0, 255]");var b0=new cs({id:"srgb",name:"sRGB",base:kee,fromBase:e=>e.map(t=>{let n=t<0?-1:1,r=t*n;return r>.0031308?n*(1.055*Et(r,1/2.4)-.055):12.92*t}),toBase:e=>e.map(t=>{let n=t<0?-1:1,r=t*n;return r<.04045?t/12.92:n*Et((r+.055)/1.055,2.4)}),formats:{rgb:{coords:W8},rgb_number:{name:"rgb",commas:!0,coords:H8,noAlpha:!0},color:{},rgba:{coords:W8,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:H8},hex:{type:"custom",toGamut:!0,test:e=>/^#([a-f0-9]{3,4}){1,2}$/i.test(e),parse(e){e.length<=5&&(e=e.replace(/[a-f0-9]/gi,"$&$&"));let t=[];return e.replace(/[a-f0-9]{2}/gi,n=>{t.push(parseInt(n,16)/255)}),{spaceId:"srgb",coords:t.slice(0,3),alpha:t.slice(3)[0]}},serialize:(e,t,{collapse:n=!0}={})=>{t<1&&e.push(t),e=e.map(i=>Math.round(i*255));let r=n&&e.every(i=>i%17===0);return"#"+e.map(i=>r?(i/17).toString(16):i.toString(16).padStart(2,"0")).join("")}},keyword:{type:"custom",test:e=>/^[a-z]+$/i.test(e),parse(e){e=e.toLowerCase();let t={spaceId:"srgb",coords:null,alpha:1};if(e==="transparent"?(t.coords=F8.black,t.alpha=0):t.coords=F8[e],t.coords)return t}}}}),Mee=new cs({id:"p3",name:"P3",base:Cee,fromBase:b0.fromBase,toBase:b0.toBase,formats:{color:{id:"display-p3"}}});au.display_space=b0;if(typeof CSS<"u"&&CSS.supports)for(let e of[Ts,See,Mee]){let t=e.getMinCoords(),n=S_({space:e,coords:t,alpha:1});if(CSS.supports("color",n)){au.display_space=e;break}}function f6e(e,t={}){var n=t,{space:r=au.display_space}=n,i=ao(n,["space"]);let o=S_(e,i);if(typeof CSS>"u"||CSS.supports("color",o)||!au.display_space)o=new String(o),o.color=e;else{let a=hl(e,r);o=new String(S_(a,i)),o.color=a}return o}function Tee(e,t,n="lab"){n=mn.get(n);let r=n.from(e),i=n.from(t);return Math.sqrt(r.reduce((o,a,s)=>{let c=i[s];return isNaN(a)||isNaN(c)?o:o+Et(c-a,2)},0))}function g6e(e,t){return e=wr(e),t=wr(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every((n,r)=>n===t.coords[r])}function ph(e){return gl(e,[fl,"y"])}function Aee(e,t){dh(e,[fl,"y"],t)}function m6e(e){Object.defineProperty(e.prototype,"luminance",{get(){return ph(this)},set(t){Aee(this,t)}})}var v6e=Object.freeze({__proto__:null,getLuminance:ph,register:m6e,setLuminance:Aee});function y6e(e,t){e=wr(e),t=wr(t);let n=Math.max(ph(e),0),r=Math.max(ph(t),0);return r>n&&([n,r]=[r,n]),(n+.05)/(r+.05)}const b6e=.56,x6e=.57,w6e=.62,_6e=.65,U8=.022,S6e=1.414,C6e=.1,k6e=5e-4,M6e=1.14,V8=.027,T6e=1.14;function Y8(e){return e>=U8?e:e+Et(U8-e,S6e)}function Zf(e){let t=e<0?-1:1,n=Math.abs(e);return t*Math.pow(n,2.4)}function A6e(e,t){t=wr(t),e=wr(e);let n,r,i,o,a,s;t=hl(t,"srgb"),[o,a,s]=t.coords;let c=Zf(o)*.2126729+Zf(a)*.7151522+Zf(s)*.072175;e=hl(e,"srgb"),[o,a,s]=e.coords;let l=Zf(o)*.2126729+Zf(a)*.7151522+Zf(s)*.072175,g=Y8(c),b=Y8(l),u=b>g;return Math.abs(b-g)<k6e?r=0:u?(n=Et(b,b6e)-Et(g,x6e),r=n*M6e):(n=Et(b,_6e)-Et(g,w6e),r=n*T6e),Math.abs(r)<C6e?i=0:r>0?i=r-V8:i=r+V8,i*100}function E6e(e,t){e=wr(e),t=wr(t);let n=Math.max(ph(e),0),r=Math.max(ph(t),0);r>n&&([n,r]=[r,n]);let i=n+r;return i===0?0:(n-r)/i}const O6e=5e4;function P6e(e,t){e=wr(e),t=wr(t);let n=Math.max(ph(e),0),r=Math.max(ph(t),0);return r>n&&([n,r]=[r,n]),r===0?O6e:(n-r)/r}function D6e(e,t){e=wr(e),t=wr(t);let n=gl(e,[Ts,"l"]),r=gl(t,[Ts,"l"]);return Math.abs(n-r)}const L6e=216/24389,G8=24/116,ux=24389/27;let DT=ec.D65;var mN=new mn({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:DT,base:fl,fromBase(e){let t=e.map((n,r)=>n/DT[r]).map(n=>n>L6e?Math.cbrt(n):(ux*n+16)/116);return[116*t[1]-16,500*(t[0]-t[1]),200*(t[1]-t[2])]},toBase(e){let t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>G8?Math.pow(t[0],3):(116*t[0]-16)/ux,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/ux,t[2]>G8?Math.pow(t[2],3):(116*t[2]-16)/ux].map((n,r)=>n*DT[r])},formats:{"lab-d65":{coords:["<number> | <percentage>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}});const LT=Math.pow(5,.5)*.5+.5;function N6e(e,t){e=wr(e),t=wr(t);let n=gl(e,[mN,"l"]),r=gl(t,[mN,"l"]),i=Math.abs(Math.pow(n,LT)-Math.pow(r,LT)),o=Math.pow(i,1/LT)*Math.SQRT2-40;return o<7.5?0:o}var bw=Object.freeze({__proto__:null,contrastAPCA:A6e,contrastDeltaPhi:N6e,contrastLstar:D6e,contrastMichelson:E6e,contrastWCAG21:y6e,contrastWeber:P6e});function j6e(e,t,n={}){Sb(n)&&(n={algorithm:n});let r=n,{algorithm:i}=r,o=ao(r,["algorithm"]);if(!i){let a=Object.keys(bw).map(s=>s.replace(/^contrast/,"")).join(", ");throw new TypeError(`contrast() function needs a contrast algorithm. Please specify one of: ${a}`)}e=wr(e),t=wr(t);for(let a in bw)if("contrast"+i.toLowerCase()===a.toLowerCase())return bw[a](e,t,o);throw new TypeError(`Unknown contrast algorithm: ${i}`)}function Eee(e){let[t,n,r]=Cb(e,fl),i=t+15*n+3*r;return[4*t/i,9*n/i]}function Oee(e){let[t,n,r]=Cb(e,fl),i=t+n+r;return[t/i,n/i]}function I6e(e){Object.defineProperty(e.prototype,"uv",{get(){return Eee(this)}}),Object.defineProperty(e.prototype,"xy",{get(){return Oee(this)}})}var R6e=Object.freeze({__proto__:null,register:I6e,uv:Eee,xy:Oee});function z6e(e,t){return Tee(e,t,"lab")}const B6e=Math.PI,$8=B6e/180;function F6e(e,t,{l:n=2,c:r=1}={}){let[i,o,a]=Ts.from(e),[,s,c]=v0.from(Ts,[i,o,a]),[l,g,b]=Ts.from(t),u=v0.from(Ts,[l,g,b])[1];s<0&&(s=0),u<0&&(u=0);let z=i-l,w=s-u,x=o-g,C=a-b,H=Et(x,2)+Et(C,2)-Et(w,2),G=.511;i>=16&&(G=.040975*i/(1+.01765*i));let $=.0638*s/(1+.0131*s)+.638,U;Number.isNaN(c)&&(c=0),c>=164&&c<=345?U=.56+Math.abs(.2*Math.cos((c+168)*$8)):U=.36+Math.abs(.4*Math.cos((c+35)*$8));let B=Math.pow(s,4),T=Math.sqrt(B/(B+1900)),P=$*(T*U+1-T),f=Et(z/(n*G),2);return f+=Et(w/(r*$),2),f+=H/Et(P,2),Math.sqrt(f)}const q8=203;var a5=new mn({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:fl,fromBase(e){return e.map(t=>Math.max(t*q8,0))},toBase(e){return e.map(t=>Math.max(t/q8,0))}});const dx=1.15,hx=.66,X8=2610/Et(2,14),W6e=Et(2,14)/2610,Z8=3424/Et(2,12),K8=2413/Et(2,7),Q8=2392/Et(2,7),H6e=1.7*2523/Et(2,5),J8=Et(2,5)/(1.7*2523),px=-.56,NT=16295499532821565e-27,U6e=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],V6e=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],Y6e=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],G6e=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]];var Pee=new mn({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:a5,fromBase(e){let[t,n,r]=e,i=dx*t-(dx-1)*r,o=hx*n-(hx-1)*t,a=Qi(U6e,[i,o,r]).map(function(g){let b=Z8+K8*Et(g/1e4,X8),u=1+Q8*Et(g/1e4,X8);return Et(b/u,H6e)}),[s,c,l]=Qi(Y6e,a);return[(1+px)*s/(1+px*s)-NT,c,l]},toBase(e){let[t,n,r]=e,i=(t+NT)/(1+px-px*(t+NT)),o=Qi(G6e,[i,n,r]).map(function(b){let u=Z8-Et(b,J8),z=Q8*Et(b,J8)-K8;return 1e4*Et(u/z,W6e)}),[a,s,c]=Qi(V6e,o),l=(a+(dx-1)*c)/dx,g=(s+(hx-1)*l)/hx;return[l,g,c]},formats:{color:{}}}),vN=new mn({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:Pee,fromBase(e){let[t,n,r]=e,i;const o=2e-4;return Math.abs(n)<o&&Math.abs(r)<o?i=NaN:i=Math.atan2(r,n)*180/Math.PI,[t,Math.sqrt(Et(n,2)+Et(r,2)),HC(i)]},toBase(e){return[e[0],e[1]*Math.cos(e[2]*Math.PI/180),e[1]*Math.sin(e[2]*Math.PI/180)]},formats:{color:{}}});function $6e(e,t){let[n,r,i]=vN.from(e),[o,a,s]=vN.from(t),c=n-o,l=r-a;Number.isNaN(i)&&Number.isNaN(s)?(i=0,s=0):Number.isNaN(i)?i=s:Number.isNaN(s)&&(s=i);let g=i-s,b=2*Math.sqrt(r*a)*Math.sin(g/2*(Math.PI/180));return Math.sqrt(Et(c,2)+Et(l,2)+Et(b,2))}const Dee=3424/4096,Lee=2413/128,Nee=2392/128,eW=2610/16384,q6e=2523/32,X6e=16384/2610,tW=32/2523,Z6e=[[.3592,.6976,-.0358],[-.1922,1.1004,.0755],[.007,.0749,.8434]],K6e=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],Q6e=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-.008605050147287059,-.11103437159861648],[1.0000320633910054,.56004913547279,-.3206339100541203]],J6e=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-.04542175307585323],[-.04959554223893211,-.04942116118675749,1.1879959417328034]];var yN=new mn({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:a5,fromBase(e){let t=Qi(Z6e,e);return eBe(t)},toBase(e){let t=tBe(e);return Qi(J6e,t)},formats:{color:{}}});function eBe(e){let t=e.map(function(n){let r=Dee+Lee*Et(n/1e4,eW),i=1+Nee*Et(n/1e4,eW);return Et(r/i,q6e)});return Qi(K6e,t)}function tBe(e){return Qi(Q6e,e).map(function(t){let n=Math.max(Et(t,tW)-Dee,0),r=Lee-Nee*Et(t,tW);return 1e4*Et(n/r,X6e)})}function nBe(e,t){let[n,r,i]=yN.from(e),[o,a,s]=yN.from(t);return 720*Math.sqrt(Et(n-o,2)+.25*Et(r-a,2)+Et(i-s,2))}const rBe=[[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],iBe=[[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],oBe=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],aBe=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]];var C_=new mn({id:"oklab",name:"Oklab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:fl,fromBase(e){let t=Qi(rBe,e).map(n=>Math.cbrt(n));return Qi(oBe,t)},toBase(e){let t=Qi(aBe,e).map(n=>Et(n,3));return Qi(iBe,t)},formats:{oklab:{coords:["<percentage> | <number>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}});function sBe(e,t){let[n,r,i]=C_.from(e),[o,a,s]=C_.from(t),c=n-o,l=r-a,g=i-s;return Math.sqrt(Et(c,2)+Et(l,2)+Et(g,2))}var k_={deltaE76:z6e,deltaECMC:F6e,deltaE2000:gN,deltaEJz:$6e,deltaEITP:nBe,deltaEOK:sBe};function Ay(e,t,n={}){Sb(n)&&(n={method:n});let r=n,{method:i=au.deltaE}=r,o=ao(r,["method"]);e=wr(e),t=wr(t);for(let a in k_)if("deltae"+i.toLowerCase()===a.toLowerCase())return k_[a](e,t,o);throw new TypeError(`Unknown deltaE method: ${i}`)}function lBe(e,t=.25){let n=[mn.get("oklch","lch"),"l"];return dh(e,n,r=>r*(1+t))}function cBe(e,t=.25){let n=[mn.get("oklch","lch"),"l"];return dh(e,n,r=>r*(1-t))}var uBe=Object.freeze({__proto__:null,darken:cBe,lighten:lBe});function jee(e,t,n=.5,r={}){[e,t]=[wr(e),wr(t)],th(n)==="object"&&([n,r]=[.5,n]);let{space:i,outputSpace:o,premultiplied:a}=r;return kb(e,t,{space:i,outputSpace:o,premultiplied:a})(n)}function Iee(e,t,n={}){let r;s5(e)&&([r,n]=[e,t],[e,t]=r.rangeArgs.colors);let i=n,{maxDeltaE:o,deltaEMethod:a,steps:s=2,maxSteps:c=1e3}=i,l=ao(i,["maxDeltaE","deltaEMethod","steps","maxSteps"]);r||([e,t]=[wr(e),wr(t)],r=kb(e,t,l));let g=Ay(e,t),b=o>0?Math.max(s,Math.ceil(g/o)+1):s,u=[];if(c!==void 0&&(b=Math.min(b,c)),b===1)u=[{p:.5,color:r(.5)}];else{let z=1/(b-1);u=Array.from({length:b},(w,x)=>{let C=x*z;return{p:C,color:r(C)}})}if(o>0){let z=u.reduce((w,x,C)=>{if(C===0)return 0;let H=Ay(x.color,u[C-1].color,a);return Math.max(w,H)},0);for(;z>o;){z=0;for(let w=1;w<u.length&&u.length<c;w++){let x=u[w-1],C=u[w],H=(C.p+x.p)/2,G=r(H);z=Math.max(z,Ay(G,x.color),Ay(G,C.color)),u.splice(w,0,{p:H,color:r(H)}),w++}}}return u=u.map(z=>z.color),u}function kb(e,t,n={}){if(s5(e)){let[c,l]=[e,t];return kb(...c.rangeArgs.colors,Fe(Fe({},c.rangeArgs.options),l))}let{space:r,outputSpace:i,progression:o,premultiplied:a}=n;e=wr(e),t=wr(t),e=y0(e),t=y0(t);let s={colors:[e,t],options:n};if(r?r=mn.get(r):r=mn.registry[au.interpolationSpace]||e.space,i=i?mn.get(i):r,e=hl(e,r),t=hl(t,r),e=hh(e),t=hh(t),r.coords.h&&r.coords.h.type==="angle"){let c=n.hue=n.hue||"shorter",l=[r,"h"],[g,b]=[gl(e,l),gl(t,l)];[g,b]=a6e(c,[g,b]),dh(e,l,g),dh(t,l,b)}return a&&(e.coords=e.coords.map(c=>c*e.alpha),t.coords=t.coords.map(c=>c*t.alpha)),Object.assign(c=>{c=o?o(c):c;let l=e.coords.map((u,z)=>{let w=t.coords[z];return x_(u,w,c)}),g=x_(e.alpha,t.alpha,c),b={space:r,coords:l,alpha:g};return a&&(b.coords=b.coords.map(u=>u/g)),i!==r&&(b=hl(b,i)),b},{rangeArgs:s})}function s5(e){return th(e)==="function"&&!!e.rangeArgs}au.interpolationSpace="lab";function dBe(e){e.defineFunction("mix",jee,{returns:"color"}),e.defineFunction("range",kb,{returns:"function<color>"}),e.defineFunction("steps",Iee,{returns:"array<color>"})}var hBe=Object.freeze({__proto__:null,isRange:s5,mix:jee,range:kb,register:dBe,steps:Iee}),Ree=new mn({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:b0,fromBase:e=>{let t=Math.max(...e),n=Math.min(...e),[r,i,o]=e,[a,s,c]=[NaN,0,(n+t)/2],l=t-n;if(l!==0){switch(s=c===0||c===1?0:(t-c)/Math.min(c,1-c),t){case r:a=(i-o)/l+(i<o?6:0);break;case i:a=(o-r)/l+2;break;case o:a=(r-i)/l+4}a=a*60}return[a,s*100,c*100]},toBase:e=>{let[t,n,r]=e;t=t%360,t<0&&(t+=360),n/=100,r/=100;function i(o){let a=(o+t/30)%12,s=n*Math.min(r,1-r);return r-s*Math.max(-1,Math.min(a-3,9-a,1))}return[i(0),i(8),i(4)]},formats:{hsl:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:!0,lastAlpha:!0}}}),zee=new mn({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:Ree,fromBase(e){let[t,n,r]=e;n/=100,r/=100;let i=r+n*Math.min(r,1-r);return[t,i===0?0:200*(1-r/i),100*i]},toBase(e){let[t,n,r]=e;n/=100,r/=100;let i=r*(1-n/2);return[t,i===0||i===1?0:(r-i)/Math.min(i,1-i)*100,i*100]},formats:{color:{toGamut:!0}}}),pBe=new mn({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:zee,fromBase(e){let[t,n,r]=e;return[t,r*(100-n)/100,100-r]},toBase(e){let[t,n,r]=e;n/=100,r/=100;let i=n+r;if(i>=1){let s=n/i;return[t,0,s*100]}let o=1-r,a=o===0?0:1-n/o;return[t,a*100,o*100]},formats:{hwb:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]}}});const fBe=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],gBe=[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]];var Bee=new cs({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:fBe,fromXYZ_M:gBe}),mBe=new cs({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:Bee,toBase:e=>e.map(t=>Math.pow(Math.abs(t),563/256)*Math.sign(t)),fromBase:e=>e.map(t=>Math.pow(Math.abs(t),256/563)*Math.sign(t)),formats:{color:{id:"a98-rgb"}}});const vBe=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],yBe=[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]];var Fee=new cs({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:o5,toXYZ_M:vBe,fromXYZ_M:yBe});const bBe=1/512,xBe=16/512;var wBe=new cs({id:"prophoto",name:"ProPhoto",base:Fee,toBase(e){return e.map(t=>t<xBe?t/16:Et(t,1.8))},fromBase(e){return e.map(t=>t>=bBe?Et(t,1/1.8):16*t)},formats:{color:{id:"prophoto-rgb"}}}),_Be=new mn({id:"oklch",name:"Oklch",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:C_,fromBase(e){let[t,n,r]=e,i;const o=2e-4;return Math.abs(n)<o&&Math.abs(r)<o?i=NaN:i=Math.atan2(r,n)*180/Math.PI,[t,Math.sqrt(Et(n,2)+Et(r,2)),HC(i)]},toBase(e){let[t,n,r]=e,i,o;return isNaN(r)?(i=0,o=0):(i=n*Math.cos(r*Math.PI/180),o=n*Math.sin(r*Math.PI/180)),[t,i,o]},formats:{oklch:{coords:["<number> | <percentage>","<number> | <percentage>[0,1]","<number> | <angle>"]}}});const nW=203,rW=2610/Et(2,14),SBe=Et(2,14)/2610,CBe=2523/Et(2,5),iW=Et(2,5)/2523,oW=3424/Et(2,12),aW=2413/Et(2,7),sW=2392/Et(2,7);var kBe=new cs({id:"rec2100pq",name:"REC.2100-PQ",base:UC,toBase(e){return e.map(function(t){return Et(Math.max(Et(t,iW)-oW,0)/(aW-sW*Et(t,iW)),SBe)*1e4/nW})},fromBase(e){return e.map(function(t){let n=Math.max(t*nW/1e4,0),r=oW+aW*Et(n,rW),i=1+sW*Et(n,rW);return Et(r/i,CBe)})},formats:{color:{id:"rec2100-pq"}}});const lW=.17883277,cW=.28466892,uW=.55991073,jT=3.7743;var MBe=new cs({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:UC,toBase(e){return e.map(function(t){return t<=.5?Et(t,2)/3*jT:(Math.exp((t-uW)/lW)+cW)/12*jT})},fromBase(e){return e.map(function(t){return t/=jT,t<=1/12?Math.sqrt(3*t):lW*Math.log(12*t-cW)+uW})},formats:{color:{id:"rec2100-hlg"}}});const Wee={};uh.add("chromatic-adaptation-start",e=>{e.options.method&&(e.M=Hee(e.W1,e.W2,e.options.method))});uh.add("chromatic-adaptation-end",e=>{e.M||(e.M=Hee(e.W1,e.W2,e.options.method))});function VC({id:e,toCone_M:t,fromCone_M:n}){Wee[e]=arguments[0]}function Hee(e,t,n="Bradford"){let r=Wee[n],[i,o,a]=Qi(r.toCone_M,e),[s,c,l]=Qi(r.toCone_M,t),g=[[s/i,0,0],[0,c/o,0],[0,0,l/a]],b=Qi(g,r.toCone_M);return Qi(r.fromCone_M,b)}VC({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]});VC({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]});VC({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]});VC({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]});Object.assign(ec,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]});ec.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];const TBe=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],ABe=[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]];var Uee=new cs({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:ec.ACES,toXYZ_M:TBe,fromXYZ_M:ABe,formats:{color:{}}});const fx=Et(2,-16),IT=-.35828683,gx=(Math.log2(65504)+9.72)/17.52;var EBe=new cs({id:"acescc",name:"ACEScc",coords:{r:{range:[IT,gx],name:"Red"},g:{range:[IT,gx],name:"Green"},b:{range:[IT,gx],name:"Blue"}},referred:"scene",base:Uee,toBase(e){const t=-.3013698630136986;return e.map(function(n){return n<=t?(Et(2,n*17.52-9.72)-fx)*2:n<gx?Et(2,n*17.52-9.72):65504})},fromBase(e){return e.map(function(t){return t<=0?(Math.log2(fx)+9.72)/17.52:t<fx?(Math.log2(fx+t*.5)+9.72)/17.52:(Math.log2(t)+9.72)/17.52})},formats:{color:{}}}),dW=Object.freeze({__proto__:null,A98RGB:mBe,A98RGB_Linear:Bee,ACEScc:EBe,ACEScg:Uee,HSL:Ree,HSV:zee,HWB:pBe,ICTCP:yN,JzCzHz:vN,Jzazbz:Pee,LCH:v0,Lab:Ts,Lab_D65:mN,OKLCH:_Be,OKLab:C_,P3:Mee,P3_Linear:Cee,ProPhoto:wBe,ProPhoto_Linear:Fee,REC_2020:See,REC_2020_Linear:UC,REC_2100_HLG:MBe,REC_2100_PQ:kBe,XYZ_ABS_D65:a5,XYZ_D50:o5,XYZ_D65:fl,sRGB:b0,sRGB_Linear:kee});let Pa=class Ga{constructor(...t){let n;t.length===1&&(n=wr(t[0]));let r,i,o;n?(r=n.space||n.spaceId,i=n.coords,o=n.alpha):[r,i,o]=t,Object.defineProperty(this,"space",{value:mn.get(r),writable:!1,enumerable:!0,configurable:!0}),this.coords=i?i.slice():[0,0,0],this.alpha=o<1?o:1;for(let a=0;a<this.coords.length;a++)this.coords[a]==="NaN"&&(this.coords[a]=NaN);for(let a in this.space.coords)Object.defineProperty(this,a,{get:()=>this.get(a),set:s=>this.set(a,s)})}get spaceId(){return this.space.id}clone(){return new Ga(this.space,this.coords,this.alpha)}toJSON(){return{spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}display(...t){let n=f6e(this,...t);return n.color=new Ga(n.color),n}static get(t,...n){return t instanceof Ga?t:new Ga(t,...n)}static defineFunction(t,n,r=n){let{instance:i=!0,returns:o}=r,a=function(...s){let c=n(...s);if(o==="color")c=Ga.get(c);else if(o==="function<color>"){let l=c;c=function(...g){let b=l(...g);return Ga.get(b)},Object.assign(c,l)}else o==="array<color>"&&(c=c.map(l=>Ga.get(l)));return c};t in Ga||(Ga[t]=a),i&&(Ga.prototype[t]=function(...s){return a(this,...s)})}static defineFunctions(t){for(let n in t)Ga.defineFunction(n,t[n],t[n])}static extend(t){if(t.register)t.register(Ga);else for(let n in t)Ga.defineFunction(n,t[n])}};Pa.defineFunctions({get:gl,getAll:Cb,set:dh,setAll:_ee,to:hl,equals:g6e,inGamut:$y,toGamut:hh,distance:Tee,toString:S_});Object.assign(Pa,{util:t6e,hooks:uh,WHITES:ec,Space:mn,spaces:mn.registry,parse:wee,defaults:au});for(let e of Object.keys(dW))mn.register(dW[e]);for(let e in mn.registry)bN(e,mn.registry[e]);uh.add("colorspace-init-end",e=>{var t;bN(e.id,e),(t=e.aliases)==null||t.forEach(n=>{bN(n,e)})});function bN(e,t){Object.values(t.coords).map(r=>r.name);let n=e.replace(/-/g,"_");Object.defineProperty(Pa.prototype,n,{get(){let r=this.getAll(e);return typeof Proxy>"u"?r:new Proxy(r,{has:(i,o)=>{try{return mn.resolveCoord([t,o]),!0}catch{}return Reflect.has(i,o)},get:(i,o,a)=>{if(o&&typeof o!="symbol"&&!(o in i)){let{index:s}=mn.resolveCoord([t,o]);if(s>=0)return i[s]}return Reflect.get(i,o,a)},set:(i,o,a,s)=>{if(o&&typeof o!="symbol"&&!(o in i)||o>=0){let{index:c}=mn.resolveCoord([t,o]);if(c>=0)return i[c]=a,this.setAll(e,i),!0}return Reflect.set(i,o,a,s)}})},set(r){this.setAll(e,r)},configurable:!0,enumerable:!0})}Pa.extend(k_);Pa.extend({deltaE:Ay});Object.assign(Pa,{deltaEMethods:k_});Pa.extend(uBe);Pa.extend({contrast:j6e});Pa.extend(R6e);Pa.extend(v6e);Pa.extend(hBe);Pa.extend(bw);const Vee=.15,ac=e=>typeof e=="string"?new Pa(e):e,Ru=e=>e.toString({format:"hex"}),Yee=(...e)=>{const t=e.map(ac);if(t.length<2)return()=>Ru(t[0]);const n=t.slice(0,-1).map((r,i)=>[r,t[i+1]]).map(([r,i])=>{const o=Pa.range(r,i,{outputSpace:"srgb"});return a=>Ru(o(a))});return r=>{if(r<=0)return Ru(t[0]);if(r>=1)return Ru(t[t.length-1]);const i=Math.floor(r*n.length);return n[i](r*n.length-i)}},OBe=(e,...t)=>{const n=t.map(ac);if(n.length<2)return Array(e).fill(Ru(n[0]));const r=Yee(...n);return Array(e).fill(0).map((i,o)=>r(o/(e-1)))},Gee=e=>Ru(ac(e).set("hsl.s",0)),PBe=(e,t)=>Ru(Pa.mix(e,t,.5,{outputSpace:"srgb"})),DBe=(e,t)=>Math.abs(ac(t).hsl.h-ac(e).hsl.h),x0=(e,t)=>{const n=ac(e);return n.hsv.v=n.hsv.v+n.hsv.v*t,n.hsv.v>100&&(n.hsv.s=n.hsv.s-(n.hsv.v-100)/1.677),n.hsv.s=Math.max(0,Math.min(100,n.hsv.s)),n.hsv.v=Math.max(0,Math.min(100,n.hsv.v)),Ru(n)},$ee=e=>({R:e.srgb[0]*255,G:e.srgb[1]*255,B:e.srgb[2]*255}),Mb=e=>{const{R:t,G:n,B:r}=$ee(e);return 1-(.299*t+.587*n+.114*r)/255};function LBe(e){return Mb(e)<.9}const yl=(e,t=.05,n=1)=>{const r=ac(e),{R:i,G:o,B:a}=$ee(r),s=Mb(r);let c=t;LBe(r)&&(c*=-.6),c*=Math.exp(s*1.2);const l=Math.min(Math.max(Math.round(255*c)+i,0),255),g=Math.min(Math.max(Math.round(255*c)+o,0),255),b=Math.min(Math.max(Math.round(255*c)+a,0),255);return`rgba(${l}, ${g}, ${b}, ${n})`},Gl=(e,t)=>{const n=ac(e);return n.alpha=t,Ru(n)};function NBe(e){return t=>{var n,r,i;const{steps:o,minColor:a,maxColor:s}=e,c=(n=e.minValue)!=null?n:Math.min(...t),l=(r=e.maxValue)!=null?r:Math.max(...t),g=(i=e.midValue)!=null?i:c<0&&l>0?0:(c+l)/2,b=jBe(a??m0,s??m0,c,g,l,o);return u=>b(u)}}const jBe=(e,t,n,r,i,o=0)=>{const a=zBe(n,r,i),s=DBe(e,t)>90?[e,Gee(PBe(e,t)),t]:[e,t];return o<=0?IBe(a,s):RBe(a,o,s)},IBe=(e,t)=>{const n=Yee(...t);return r=>n(e(r))},RBe=(e,t,n)=>{const r=OBe(t,...n);return i=>{const o=Math.floor(e(i)*t);return r[Math.min(Math.max(o,0),t-1)]}},zBe=(e,t,n)=>r=>r==e&&r==n?.5:r<t?.5*((r-e)/(t-e)):.5+.5*(r-t)/(n-t);function l5(e){let t;switch(typeof e=="string"?t=r5(e):t=e,t.type){case"uniform":return{type:"Static",getColor:Q4e(t)};case"conditional":return{type:"Absolute",getColor:J4e(t)};case"range":return{type:"Relative",getColor:NBe(t)}}}const YC=e=>{const{getValueFromDataStructure:t,applyColorToDataStructure:n}=e;return(r,i)=>{const o=l5(i);let a;switch(o.type){case"Static":a=()=>o.getColor();break;case"Absolute":a=s=>o.getColor(s);break;case"Relative":{const s=r.map(t),c=o.getColor(s);a=l=>c(l);break}}return r.map(s=>{const c=t(s),l=a(c);return n(s,l)})}},BBe=YC({getValueFromDataStructure:e=>e.value,applyColorToDataStructure:(e,t)=>nt(Fe({},e),{color:t})});var FBe=BK,WBe=hb,HBe=lb,UBe=lo,VBe=cf,YBe=cb,GBe=mC,$Be=gC,qBe="[object Map]",XBe="[object Set]",ZBe=Object.prototype,KBe=ZBe.hasOwnProperty;function QBe(e){if(e==null)return!0;if(VBe(e)&&(UBe(e)||typeof e=="string"||typeof e.splice=="function"||YBe(e)||$Be(e)||HBe(e)))return!e.length;var t=WBe(e);if(t==qBe||t==XBe)return!e.size;if(GBe(e))return!FBe(e).length;for(var n in e)if(KBe.call(e,n))return!1;return!0}var qee=QBe;const JBe=On(qee),Xee=(e,t)=>Object.assign(Object.create(e),t),hW=(e,t)=>Object.assign(Object.create(Object.getPrototypeOf(e)),e,t),Zee=e=>{const t="column"in e;let n=e,r;if(t){const i=e,{column:o}=i,a=ao(i,["column"]);n=o,JBe(a)||(r=a)}return{column:n,style:r}},ea=e=>{var t;const{column:n,style:r}=Zee(e),i=oc(n.type)?(t=n==null?void 0:n.getFormat)==null?void 0:t.call(n):void 0,o=nt(Fe({},r),{dateFormat:(r==null?void 0:r.dateFormat)||i});return Xee(n,o)},Zi=e=>{var t,n;const r="column"in e,i=r?e.column:e,o=Xee(i,nt(Fe({},r?e:{}),{title:(n=(t=e.title)!=null?t:i.title)!=null?n:i.name,enabled:!0}));return o.aggregation=o.aggregation||"sum",o},Dp=e=>rc(e)?Zi(e):ea(e),Kee=e=>e,eFe=e=>e,Qee=e=>e,GC=e=>e,Cs=e=>{var t;return(t=e.title)!=null?t:e.name},pl=e=>GC(ea(e)),M_=(e,t)=>{var n;if(t.rows.length===0)return{type:"cartesian",series:[],xValues:[],xAxisCount:0};const r=e,i=r.x.length;let o=Wp(t,r.x.map(u=>u.name));o=o.map((u,z)=>nt(Fe({},u),{direction:Jee(r.x[z].sortType)}));const a=Wp(t,r.breakBy.map(u=>u.name)),s=r.y.filter(u=>(u==null?void 0:u.sortType)&&u.sortType!=="sortNone"),c=o.length>1?1:0,l=ete(t,s,o,((n=o[c])==null?void 0:n.direction)===0?Vg:void 0),g=r.y.map(u=>u.name),b=r.breakBy.length>0?iFe(t,l,o,g[0],a,r.breakBy):tFe(t,l,o,g,r.y);return nt(Fe({},b),{xAxisCount:i,type:"cartesian"})},Jee=e=>{switch(e){case"sortNone":return 0;case"sortDesc":return-1;case"sortAsc":default:return 1}},ete=(e,t,n,r)=>{if(n.length===0)return[{key:"",xValues:[""],rawValues:[]}];const i=t.map(b=>({column:b.name,agg:"sum",title:b.name}));if(r){const b={column:r,title:r,agg:"min"};i.push(b)}const o=uee(e,n,i),a=[];let s=0;if(n.length===2){s=1;const b=Li(o,n[0].name);b&&a.push(b)}if(t.map(b=>{const u=Li(o,b.name);return u&&a.push(nt(Fe({},u),{direction:b.sortType==="sortAsc"?1:-1})),b}),r){const b=Li(o,r);b&&a.push(b)}if(n.length>0){const b=Li(o,n[s].name);b&&a.push(b)}const c=t5(o,a),l=Wp(c,n.map(b=>b.name)),g=dee(c,l);return g.rows.map(b=>{const u=_b(b,g.columns),z=u.map(C=>C.displayValue),w=u.map(C=>{var H;return(H=C.rawValue)!=null?H:C.displayValue}),x=u.map(C=>{var H;return(H=C==null?void 0:C.compareValue)==null?void 0:H.value});return{key:w.join(","),xValues:z,rawValues:w,compareValues:x}})},tFe=(e,t,n,r,i)=>{const o=Wp(e,r),a=i.reduce((l,g)=>(l[g.name]=g,l),{});if(o.length===0)return{type:"cartesian",series:[],xValues:[]};const s=n5(e.rows,n),c=o.map(l=>{let g=t.map(u=>{var z;const w=s[u.key],x=w?w[0]:[],C=To(x,l),{color:H,rawValue:G}=(z=x[l.index])!=null?z:{};return Fe({rawValue:G,xValue:u.rawValues,xDisplayValue:u.xValues,xCompareValue:u.compareValues,value:C===void 0?NaN:C,blur:FC(x,l)},H&&{color:H})});const b=a[l.name].color;return b&&(g=BBe(g,b)),{name:l.name,title:Cs(a[l.name]),data:g}});return{xValues:t,series:c}},nFe=(e,t,n)=>_b(e,t).map((r,i)=>{const o=Jr(n[i].numberFormatConfig);return Si(t[i].type)?di(o,parseFloat(r.displayValue)):r.displayValue}).join(","),rFe=(e,t)=>_b(e,t).map(({rawValue:n})=>n),iFe=(e,t,n,r,i,o)=>{const a=Li(e,r);if(!a)return{type:"cartesian",series:[],xValues:[]};const s=e5(e.rows,i).map(c=>{const l=c[0];return{seriesName:nFe(l,i,o),seriesValues:rFe(l,i),rowsByXColumns:n5(c,n)}}).map(c=>{const l=t.map(g=>{var b;const u=c.rowsByXColumns[g.key],z=u?u[0]:[],w=To(z,a),{color:x,rawValue:C}=(b=z[a.index])!=null?b:{};return Fe({rawValue:C,value:w===void 0?NaN:w,xValue:g.rawValues,xDisplayValue:g.xValues,xCompareValue:g.compareValues,blur:FC(z,a)},x&&{color:x})});return{name:c.seriesName,data:l,custom:{rawValue:c.seriesValues}}});return{xValues:t,series:s}},oFe=(e,t)=>{const n=nt(Fe({},e),{x:e.breakBy,breakBy:[]});let r=M_(n,t);if(e.breakBy.some(i=>Si(i.type)&&(i==null?void 0:i.numberFormatConfig))){const i=r.xValues.map(o=>{const a=[];return e.breakBy.forEach((s,c)=>{const l=Jr(s==null?void 0:s.numberFormatConfig),g=o.xValues[c];Si(s.type)?a.push(di(l,parseFloat(g))):a.push(o.xValues[c])}),nt(Fe({},o),{xValues:a})});r=nt(Fe({},r),{xValues:i})}return nt(Fe({},r),{type:"categorical"})},aFe={displayValue:"0"},Zv=(e,t)=>{if(t){for(let n=0;n<e.columns.length;n++)if(e.columns[n].name===t.name)return n}return-1},sFe=(e,t)=>({x:Zv(t,e.x),y:Zv(t,e.y),breakByPoint:Zv(t,e.breakByPoint),breakByColor:Zv(t,e.breakByColor),size:Zv(t,e.size)}),pW=(e,t)=>t[e]||aFe,lFe=(e,t)=>{const n=new Set;return e.forEach(r=>{n.add(r[t].displayValue)}),Array.from(n.values())},fW=(e,t,n)=>{if(n&&Sh(n))return lFe(e,t)},gW=(e,t)=>[e,t],cFe=(e,t)=>{const n=new Map(e==null?void 0:e.map(gW)),r=new Map(t==null?void 0:t.map(gW));return{xCategoriesMap:n,yCategoriesMap:r}},uFe=(e,t)=>{var n,r;const i=sFe(e,t),o=e!=null&&e.breakByPoint&&Si(e.breakByPoint.type)?Jr((n=e.breakByPoint)==null?void 0:n.numberFormatConfig):void 0,a=e!=null&&e.breakByColor&&(!Sh(e.breakByColor)||Si(e.breakByColor.type))?Jr((r=e.breakByColor)==null?void 0:r.numberFormatConfig):void 0;return t.rows.map(s=>{const c=Fe({},s[i.breakByPoint]);o&&(c.displayValue=di(o,c.compareValue?c.compareValue.value:parseFloat(c.displayValue)));const l=Fe({},s[i.breakByColor]);return a&&(l.displayValue=di(a,l.compareValue?l.compareValue.value:parseFloat(l.displayValue))),{xAxis:pW(i.x,s),yAxis:pW(i.y,s),breakByPoint:c,breakByColor:l,size:s[i.size]}})},dFe=(e,t)=>{const n=uFe(e,t),{x:r,y:i}=e,o=fW(n,"xAxis",r),a=fW(n,"yAxis",i);return{type:"scatter",scatterDataTable:n,xCategories:o,yCategories:a}},mx=(e,t)=>{if(!t||t.length!==1)return[void 0,void 0];const n=Li(e,t[0].name);return n?[To(e.rows[0],n),t[0].name]:[void 0,void 0]},hFe=(e,t)=>{const n={type:"indicator"};if(!e.value||t.rows.length===0)return n;const[r]=mx(t,e.value);if(r===void 0)return n;const[i]=mx(t,e.secondary),[o]=mx(t,e.min),[a]=mx(t,e.max);return{type:"indicator",value:r,secondary:i,min:o,max:a}},pFe=(e,t)=>{const n=e.category&&Li(t,e.category.name);n&&(n.direction=Jee(e.category.sortType));const r=ete(t,[],n?[n]:[],(n==null?void 0:n.direction)===0?Vg:void 0),i=n5(t.rows,n?[n]:[]),o=Li(t,e.boxMin.name),a=Li(t,e.boxMedian.name),s=Li(t,e.boxMax.name),c=Li(t,e.whiskerMin.name),l=Li(t,e.whiskerMax.name),g=e.outliers&&Li(t,e.outliers.name),b=[],u=[];r.forEach((w,x)=>{const C=i[w.key],H=C?C[0]:[],G=n&&FC(H,n);b.push({q1:o?To(H,o):0,median:a?To(H,a):0,q3:s?To(H,s):0,low:c?To(H,c):0,high:l?To(H,l):0,blur:G});const $=g?H[g.index].rawValue.split(",").map(U=>parseFloat(U)):[];u.push(...$.map(U=>({x,y:U,blur:G})))});const z=[{name:e.valueTitle,title:e.valueTitle,data:b}];return u.length>0&&z.push({name:e.valueTitle,title:e.valueTitle,data:u}),{type:"boxplot",xValues:r,series:z}},Es=(e,t)=>{var n;const r=e==null?void 0:e.filter(i=>i);return(n=r&&r[t%r.length])!=null?n:K4e[t%10]},fFe=(e,t)=>{let n={type:"range",steps:e.steps};if(e.rangeMode!=="auto"){const a=parseFloat(`${e.minvalue}`),s=parseFloat(`${e.midvalue}`),c=parseFloat(`${e.maxvalue}`);n=Fe(Fe(Fe(Fe({},n),a&&{minValue:a}),s&&{midValue:s}),c&&{maxValue:c})}const r=Es(t,0),i=x0(r,.2),o=x0(r,-.2);switch(e.rangeMode){case"auto":return nt(Fe({},n),{minColor:Gee(r),maxColor:o});case"both":return nt(Fe({},n),{minColor:e.min||i,maxColor:e.max||o});case"min":return nt(Fe({},n),{minColor:e.min||i,maxColor:m0});case"max":return nt(Fe({},n),{minColor:m0,maxColor:e.max||o})}},tte=(e,t)=>{if(e!==void 0)switch(e.type){case"color":return{type:"uniform",color:e.color||Es(t,e.colorIndex||0)};case"range":return fFe(e,t);case"condition":return{type:"conditional",conditions:e.conditions.filter(n=>typeof n.expression=="string"),defaultColor:Es(t,0)};default:return r5(Es(t,0))}},$C=e=>Object.entries(e).reduce((t,[n,{color:r}])=>(t[n]=r,t),{}),gFe=e=>e.reduce((t,n)=>{var r,i;return(r=n.format)!=null&&r.members&&(t[c_(n.jaql.title)]=$C((i=n.format)==null?void 0:i.members)),t},{}),mFe=YC({getValueFromDataStructure:e=>e.originalValue,applyColorToDataStructure:(e,t)=>nt(Fe({},e),{color:t})}),vFe=tte({type:"range",steps:5,rangeMode:"auto"}),yFe=(e,t)=>{const n=Li(t,e.geo.name),r=Li(t,e.color.name);if(!n||!r)throw new Error("Missing required column");const i=t.rows.map(o=>{const a=To(o,r),s=Jr(e.color.numberFormatConfig),c=di(s,a);return{geoName:To(o,n),originalValue:a,formattedOriginalValue:c}});return{type:"areamap",geoData:mFe(i,e.color.color||vFe)}};function bFe(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}var xFe=bFe,wFe=xFe;function _Fe(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:wFe(e,t,n)}var SFe=_Fe;function CFe(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}var kFe=CFe;function MFe(e){return e!==e}var TFe=MFe;function AFe(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}var EFe=AFe,OFe=kFe,PFe=TFe,DFe=EFe;function LFe(e,t,n){return t===t?DFe(e,t,n):OFe(e,PFe,n)}var c5=LFe,NFe=c5;function jFe(e,t){for(var n=e.length;n--&&NFe(t,e[n],0)>-1;);return n}var IFe=jFe,RFe=c5;function zFe(e,t){for(var n=-1,r=e.length;++n<r&&RFe(t,e[n],0)>-1;);return n}var BFe=zFe;function FFe(e){return e.split("")}var WFe=FFe,HFe="\\ud800-\\udfff",UFe="\\u0300-\\u036f",VFe="\\ufe20-\\ufe2f",YFe="\\u20d0-\\u20ff",GFe=UFe+VFe+YFe,$Fe="\\ufe0e\\ufe0f",qFe="\\u200d",XFe=RegExp("["+qFe+HFe+GFe+$Fe+"]");function ZFe(e){return XFe.test(e)}var KFe=ZFe,nte="\\ud800-\\udfff",QFe="\\u0300-\\u036f",JFe="\\ufe20-\\ufe2f",e8e="\\u20d0-\\u20ff",t8e=QFe+JFe+e8e,n8e="\\ufe0e\\ufe0f",r8e="["+nte+"]",xN="["+t8e+"]",wN="\\ud83c[\\udffb-\\udfff]",i8e="(?:"+xN+"|"+wN+")",rte="[^"+nte+"]",ite="(?:\\ud83c[\\udde6-\\uddff]){2}",ote="[\\ud800-\\udbff][\\udc00-\\udfff]",o8e="\\u200d",ate=i8e+"?",ste="["+n8e+"]?",a8e="(?:"+o8e+"(?:"+[rte,ite,ote].join("|")+")"+ste+ate+")*",s8e=ste+ate+a8e,l8e="(?:"+[rte+xN+"?",xN,ite,ote,r8e].join("|")+")",c8e=RegExp(wN+"(?="+wN+")|"+l8e+s8e,"g");function u8e(e){return e.match(c8e)||[]}var d8e=u8e,h8e=WFe,p8e=KFe,f8e=d8e;function g8e(e){return p8e(e)?f8e(e):h8e(e)}var m8e=g8e,v8e=tQ,y8e=vJ,b8e=SFe,x8e=IFe,w8e=BFe,mW=m8e,_8e=gI;function S8e(e,t,n){if(e=_8e(e),e&&(n||t===void 0))return y8e(e);if(!e||!(t=v8e(t)))return e;var r=mW(e),i=mW(t),o=w8e(r,i),a=x8e(r,i)+1;return b8e(r,o,a).join("")}var C8e=S8e;const k8e=On(C8e),lte=",";function M8e(e){return e.join(`${lte} `)}function T8e(e){return e.split(lte).map(k8e)}function A8e(e){switch(e){case"city":return"city";case"state":return"adm";case"country":return"country"}}function E8e(e){const{name:t,rawName:n,coordinates:r,value:i}=e;return{categories:n,displayName:t,coordinates:{lat:r.lat,lng:r.lng},value:i}}const O8e="N\\A",P8e=1,D8e=(e,t)=>{const n=L8e(e),r=e.locations&&Wp(t,e.locations.map(({name:s})=>s)),i=e.size&&Li(t,e.size.name),o=e.colorBy&&Li(t,e.colorBy.name),a=e.details&&Li(t,e.details.name);return{type:"scattermap",locations:t.rows.filter(s=>r.some(c=>To(s,c)!==O8e)).map(s=>{const c=r.map(u=>To(s,u)),l=M8e(c);let g;n&&(g={lat:To(s,r[0]),lng:To(s,r[1])});const b=r[0]&&FC(s,r[0]);return Fe(nt(Fe(Fe({name:l,rawName:c,value:i?To(s,i):P8e},o&&{colorValue:To(s,o)}),a&&{details:To(s,a)}),{blur:b}),g?{coordinates:g}:null)})}};function L8e(e){return e.locations.length===2&&e.locations.filter(t=>Si(t.type)).length===2}const N8e=(e,t)=>{const n=()=>nt(Fe({},e),{y:[]}),r=n(),i=n(),o=1,a=0;e.rangeValues.forEach(l=>{const g=l[o],b=l[a];r.y.push(g),i.y.push(b)});const s=M_(r,t),c=M_(i,t);return nt(Fe({},s),{type:"range",seriesOther:c})},j8e=(e,t,n)=>{if(sd(e))return M_(t,n);if(Zm(e))return oFe(t,n);if(ff(e))return dFe(t,n);if(gf(e))return D8e(t,n);if(wb(e))return hFe(t,n);if(mf(e))return pFe(t,n);if(vf(e))return yFe(t,n);if(BC(e))return N8e(t,n);throw new Error(`Unexpected chart type: ${e}`)};var I8e=MC,R8e=UJ,z8e=VJ;function B8e(e,t){return z8e(R8e(e,t,I8e),e+"")}var qC=B8e,F8e=c5;function W8e(e,t){var n=e==null?0:e.length;return!!n&&F8e(e,t,0)>-1}var H8e=W8e;function U8e(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}var V8e=U8e,RT=$K,Y8e=YJ,G8e=uI,$8e=1/0,q8e=RT&&1/G8e(new RT([,-0]))[1]==$8e?function(e){return new RT(e)}:Y8e,X8e=q8e,Z8e=FK,K8e=H8e,Q8e=V8e,J8e=WK,eWe=X8e,tWe=uI,nWe=200;function rWe(e,t,n){var r=-1,i=K8e,o=e.length,a=!0,s=[],c=s;if(n)a=!1,i=Q8e;else if(o>=nWe){var l=t?null:eWe(e);if(l)return tWe(l);a=!1,i=J8e,c=new Z8e}else c=t?[]:s;e:for(;++r<o;){var g=e[r],b=t?t(g):g;if(g=n||g!==0?g:0,a&&b===b){for(var u=c.length;u--;)if(c[u]===b)continue e;t&&c.push(b),s.push(g)}else i(c,b,n)||(c!==s&&c.push(b),s.push(g))}return s}var cte=rWe,iWe=cf,oWe=Hs;function aWe(e){return oWe(e)&&iWe(e)}var ute=aWe,sWe=WJ,lWe=qC,cWe=cte,uWe=ute,dWe=lWe(function(e){return cWe(sWe(e,1,uWe,!0))}),hWe=dWe;const pWe=On(hWe),dte=(e,t,n,r={})=>{if(WC(e))return{rows:[],columns:[]};const i=pWe(Wp(e,t.map(l=>l.name))),o=e,a=[...n.map(l=>{var g,b;return{column:(g=r[l.name])!=null?g:l.name,title:l.name,agg:(b=l.aggregation)!=null?b:"sum"}}),{column:Vg,title:Vg,agg:"min"}],s=uee(o,i,a),c=Li(s,Vg);if(!c)throw new Error("Unexpected data has no row num column");return t5(s,[c])};let Tb=class{degToRad(e){return e*Math.PI/180}getFitStringMeasure(e,t,n,r){e.font=r;let i=this.getStringWidth(e,t);const o="…",a=this.getStringWidth(e,o);if(i<=n)return{string:t,width:i};if(a>=n)return{string:o,width:a};do t=t.slice(0,t.length-1),i=this.getStringWidth(e,t);while(i+a>n);return{string:t+o,width:i+a}}getStringWidth(e,t){return Math.ceil(e.measureText(t).width)}floor(e,t){t=typeof t=="number"?t:0;const n=Math.pow(10,t);return Math.round(e*n)/n}setCanvasSizes(e,t,n,r){const i=window.devicePixelRatio||1;e.width=n*i,e.height=r*i,e.style.width=n+"px",e.style.height=r+"px",t.scale(i,i)}};const _g=new Tb,ap=function(e,t){return _g.floor(e*t.value,t.decimals)};function fWe(e,t){const n={};return e.forEach(r=>{t.some(function(i){return i.key===r?(n[r]=i,!0):!1})}),n}function gWe(e,t,n){const{showTitle:r,showSecondary:i,skin:o,maxHeight:a,maxWidth:s,borderWidth:c}=n;for(let l=0;l<t.length;l++){const g=t[l],b=g.value,u=ap(b,e.valueSectionMarginBottom),z=ap(b,e.indicatorVerticalMargin)*2;let w=b+u+z;if(r&&o==="vertical"){const x=ap(b,e.titleSectionHeight);w+=x}if(i){const x=ap(b,e.secSectionHeight),C=ap(b,e.secSectionMarginTop);w+=x+C+(c||0)}if(w<=a){const x=ap(b,e.numericMinWidth),C=ap(b,e.indicatorHorizontalMargin)*2;if(x+C<=s)return nt(Fe({},g),{maxWidth:s-C,maxHeight:a-z})}}return null}let mWe=class{getBaseMeasure(e,t,n){const r=t,i="sizes"in r?r.sizes:[],o=r.relativeSizes,a=r.measureKeys.concat(),s=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),l=fWe(a,o);return gWe(l,i,{maxWidth:s,maxHeight:c,showTitle:e.showTitle,showSecondary:e.showSecondary,skin:e.skin,borderWidth:"borderWidth"in r?r.borderWidth:0})}render(e,t,n,r){const i=e.getContext("2d");let o;n.height=r.value,n.maxWidth=r.maxWidth,n.maxHeight=r.maxHeight,o=n.height,n.fitValueMeasure=this.getFitValueMeasure(i,t,n),t.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,t,n),o+=t.skin==="vertical"?n.titleSectionHeight:0),t.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,t,n),o+=n.valueSectionMarginBottom+n.secSectionHeight+n.secSectionMarginTop+n.borderWidth);const a=this.getCanvasWidth(t,n);n.width=a,n.height=o,_g.setCanvasSizes(e,i,a,o),this.draw(i,t,n)}getFitTitleMeasure(e,t,n){const r=t.skin==="horizontal",i=n.maxWidth-(r?n.fitValueMeasure.width+n.valueSectionMarginRight:0);if(r&&i+n.titleSectionMinWidth<=0)return;const o=_g.getFitStringMeasure(e,t.title.text,i,n.titleFont);return o.width+=r?n.valueSectionMarginRight:0,o.key="title",o}getFitValueMeasure(e,t,n){const r=_g.getFitStringMeasure(e,t.value.text,n.maxWidth,n.valueFont);return r.key="value",r}getFitSecondaryMeasure(e,t,n){const r=n.secDividerWidth,i=n.maxWidth-r,o=i-n.secTitleMinWidth,a=_g.getFitStringMeasure(e,t.secondary.text,o,n.secondaryValueFont),s=i-a.width,c=_g.getFitStringMeasure(e,t.secondaryTitle.text,s,n.secondaryTitleFont);return{width:c.width+a.width+r,titleString:c.string,valueString:a.string,key:"secondary"}}getCanvasWidth(e,t){let n;const r=t.fitTitleMeasure,i=t.fitValueMeasure,o=t.fitSecondaryMeasure;if(t.fitMeasures.some(a=>{const s=t[a.key],c=e[a.dataKey];return!!(s&&c&&s[a.prop]!==c.text)}))return t.maxWidth;if(e.skin==="vertical"){let a=r&&r.width>i.width?r:i;a=o&&o.width>a.width?o:a,n=a.width}else n=i.width,r&&(n+=r.width),o&&o.width>n&&(n=o.width);return n}draw(e,t,n){this.clearCanvas(e,n),this.drawValue(e,t,n),t.showTitle&&this.drawTitle(e,t,n),t.showSecondary&&this.drawSecondary(e,n)}clearCanvas(e,t){e.fillStyle=t.backgroundColor,e.fillRect(0,0,t.width,t.height)}drawTitle(e,t,n){!n.fitTitleMeasure||t.skin==="horizontal"&&n.fitValueMeasure.string!==t[n.fitValueMeasure.key].text||(e.font=n.titleFont,e.fillStyle=n.titleColor,t.skin==="vertical"?(e.textAlign="center",e.textBaseline="middle",e.fillText(n.fitTitleMeasure.string,n.width/2,n.titleSectionHeight/2)):(e.textAlign="left",e.textBaseline="top",e.fillText(n.fitTitleMeasure.string,n.fitValueMeasure.width+n.valueSectionMarginRight,n.titleSectionMarginTop)))}drawValue(e,t,n){const r=t.skin==="vertical";e.fillStyle=n.valueColor||t.color,e.font=n.valueFont,e.textAlign=r?"center":"left",e.textBaseline="middle",e.fillText(n.fitValueMeasure.string,r?n.width/2:0,(t.showTitle&&r?n.titleSectionHeight:0)+n.valueSectionHeight/2)}drawSecondary(e,t){let n=t.height-t.secSectionHeight/2;e.font=t.secondaryTitleFont,e.fillStyle=t.secondaryTitleColor,e.textAlign="left",e.textBaseline="middle",e.fillText(t.fitSecondaryMeasure.titleString,0,n),e.font=t.secondaryValueFont,e.fillStyle=t.secondaryValueColor,e.textAlign="right",e.fillText(t.fitSecondaryMeasure.valueString,t.width,n),e.strokeStyle=t.borderColor,e.beginPath(),n=t.height-t.secSectionHeight-t.secSectionMarginTop-t.borderWidth,e.moveTo(0,n),e.lineTo(t.width,n),e.stroke()}};const Sg=new Tb,vx=function(e,t){return Sg.floor(e*t.value,t.decimals)};function vWe(e,t){const n={};return e.forEach(r=>{t.some(function(i){return i.key===r?(n[r]=i,!0):!1})}),n}function yWe(e,t,n){const{showTitle:r,showSecondary:i,maxHeight:o,maxWidth:a,bracketThickness:s}=n;for(let c=0;c<t.length;c++){const l=t[c],g=l.value,b=vx(g,e.indicatorMargin);let u=g+b;if(r){const z=vx(g,e.titleSectionHeight);u+=z}if(i){const z=vx(g,e.secSectionHeight);u+=z}if(u<=o){const z=vx(g,e.numericMinWidth),w=b*2;if(z+s*2+w<=a)return nt(Fe({},l),{maxWidth:a-w,maxHeight:o-b})}}return null}let bWe=class{getBaseMeasure(e,t,n){const r=t,i="sizes"in r?r.sizes:[],o=r.relativeSizes,a=r.measureKeys.concat(),s=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),l=vWe(a,o);return yWe(l,i,{maxWidth:s,maxHeight:c,showTitle:e.showTitle,showSecondary:e.showSecondary,bracketThickness:r.bracketThickness})}render(e,t,n,r){const i=e.getContext("2d");let o;n.height=r.value,n.maxWidth=r.maxWidth,n.maxHeight=r.maxHeight,n.offsetY=0,o=n.height,t.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,t,n),o+=n.titleSectionHeight),n.fitValueMeasure=this.getFitValueMeasure(i,t,n),t.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,t,n),o+=n.secSectionHeight);const a=this.getCanvasWidth(t,n);n.width=a,n.height=o,Sg.setCanvasSizes(e,i,a,o),this.draw(i,t,n)}getFitTitleMeasure(e,t,n){const r=n.bracketWidth*2+n.titleHorizontalMargin*2,i=n.maxWidth-r,o=Sg.getFitStringMeasure(e,t.title.text,i,n.titleFont);return o.width+=r,o.key="title",o}getFitValueMeasure(e,t,n){const r=n.bracketThickness*2,i=n.maxWidth-r,o=Sg.getFitStringMeasure(e,t.value.text,i,n.valueFont);return o.width+=r,o.key="value",o}getFitSecondaryMeasure(e,t,n){const r=n.bracketWidth*2+n.secDividerWidth,i=n.maxWidth-r,o=i-n.secTitleMinWidth,a=Sg.getFitStringMeasure(e,t.secondary.text,o,n.secondaryValueFont),s=i-a.width,c=Sg.getFitStringMeasure(e,t.secondaryTitle.text,s,n.secondaryTitleFont);return{width:c.width+a.width+r,titleString:c.string,valueString:a.string,key:"secondary"}}getCanvasWidth(e,t){let n=t.numericMinWidth+t.bracketThickness*2;const r=t.fitTitleMeasure,i=t.fitValueMeasure;let o=r&&r.width>i.width?r:i;const a=t.fitSecondaryMeasure,s=a&&a.width>o.width;let c;return o=s?a:o,s?c=o.titleString!==e.secondaryTitle.text||o.valueString!==e.secondary.text:c=o.string!==e[o.key].text,c?n=t.maxWidth:o.width>n&&(n=o.width),n}draw(e,t,n){this.clearCanvas(e,n),t.showTitle&&this.drawTitle(e,n),this.drawValue(e,t,n),t.showSecondary&&this.drawSecondary(e,n),(t.showTitle||t.showSecondary)&&this.drawBrackets(e,t,n)}clearCanvas(e,t){e.fillStyle=t.backgroundColor,e.fillRect(0,0,t.width,t.height)}drawTitle(e,t){e.font=t.titleFont,e.fillStyle=t.titleColor,e.textAlign="center",e.textBaseline="middle",e.fillText(t.fitTitleMeasure.string,t.width/2,t.titleSectionHeight/2),t.offsetY+=t.titleSectionHeight}drawValue(e,t,n){const r=n.offsetY;e.fillStyle=n.valueColor,e.fillRect(1,r,n.width-n.bracketThickness*2,n.valueSectionHeight),e.font=n.valueFont,e.fillStyle="white",e.textAlign="center",e.textBaseline="middle",e.fillText(n.fitValueMeasure.string,n.width/2,r+n.valueSectionHeight/2)}drawSecondary(e,t){const n=t.height-t.secBottomMargin;e.font=t.secondaryTitleFont,e.fillStyle=t.secondaryTitleColor,e.textAlign="left",e.textBaseline="bottom",e.fillText(t.fitSecondaryMeasure.titleString,t.bracketWidth,n),e.font=t.secondaryValueFont,e.fillStyle=t.secondaryValueColor,e.textAlign="right",e.textBaseline="bottom",e.fillText(t.fitSecondaryMeasure.valueString,t.width-t.bracketWidth,n)}drawBrackets(e,t,n){e.strokeStyle=n.bracketColor,e.beginPath(),t.showTitle?(e.moveTo(n.bracketWidth+.5,.5),e.lineTo(.5,.5)):e.moveTo(.5,.5),e.lineTo(.5,n.height-.5),t.showSecondary&&e.lineTo(n.bracketWidth+.5,n.height-.5),e.stroke(),t.showTitle?(e.moveTo(n.width-(n.bracketWidth+.5),.5),e.lineTo(n.width-.5,.5)):e.moveTo(n.width-.5,.5),e.lineTo(n.width-.5,n.height-.5),t.showSecondary&&e.lineTo(n.width-(n.bracketWidth+.5),n.height-.5),e.stroke(),e.closePath()}};const mi=new Tb,Kf=function(e,t){return mi.floor(e*t.value,t.decimals)};function xWe(e,t){const n={};return e.forEach(r=>{t.some(function(i){return i.key===r?(n[r]=i,!0):!1})}),n}function wWe(e,t,n){const{maxWidth:r,maxHeight:i,showTitle:o,showSecondary:a}=n;for(let s=0;s<t.length;s++){const c=t[s],l=c.value,g=Kf(l,e.valueSectionHeight),b=Kf(l,e.indicatorMargin),u=Math.ceil(b*1.5);let z=l+g+u;if(o){const w=Kf(l,e.titleSectionHeight);z+=w}if(a){const w=Kf(l,e.secSectionHeight);z+=w}if(z<=i){const w=Kf(l,e.gaugeWidth),x=Kf(l,e.bracketWidth),C=b*2;if(w+x*2+C<=r)return nt(Fe({},c),{maxWidth:r-C,maxHeight:i-u})}}return null}let _We=class{getBaseMeasure(e,t,n){const r=t,i="gaugeHeights"in r?r.gaugeHeights:void 0;if(!i)return null;const o=r.relativeSizes,a=r.measureKeys.concat(),s=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),l=xWe(a,o);return wWe(l,i,{maxWidth:s,maxHeight:c,showTitle:e.showTitle,showSecondary:e.showSecondary})}render(e,t,n,r){const i=e.getContext("2d");let o=0,a;n.gaugeHeight=r.value,n.size=r.size,n.maxWidth=r.maxWidth,n.maxHeight=r.maxHeight,n.offsetY=0,a=n.gaugeHeight+n.valueSectionHeight,t.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,t,n),a+=n.titleSectionHeight),n.fitValueMeasure=this.getFitValueMeasure(i,t,n),t.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,t,n),a+=n.secSectionHeight),o=this.getCanvasWidth(t,n),n.width=o,n.height=a,mi.setCanvasSizes(e,i,o,a),this.draw(i,t,n)}getFitTitleMeasure(e,t,n){const r=n.bracketWidth*2+n.titleHorizontalMargin*2,i=n.maxWidth-r,o=mi.getFitStringMeasure(e,t.title.text,i,n.titleFont);return o.width+=r,o.key="title",o}getFitValueMeasure(e,t,n){const r=n.bracketThickness*2,i=n.maxWidth-r,o=mi.getFitStringMeasure(e,t.value.text,i,n.valueFont);return o.width+=r,o.key="value",o}getFitSecondaryMeasure(e,t,n){const r=n.bracketWidth*2+n.secDividerWidth,i=n.maxWidth-r,o=i-n.secTitleMinWidth,a=mi.getFitStringMeasure(e,t.secondary.text,o,n.secondaryValueFont),s=i-a.width,c=mi.getFitStringMeasure(e,t.secondaryTitle.text,s,n.secondaryTitleFont);return{width:c.width+a.width+r,titleString:c.string,valueString:a.string,key:"secondary"}}getCanvasWidth(e,t){let n=t.gaugeWidth+t.bracketWidth*2;const r=t.fitTitleMeasure,i=t.fitValueMeasure;let o=r&&r.width>i.width?r:i;const a=t.fitSecondaryMeasure,s=a&&a.width>o.width;let c;return o=s?a:o,s?c=o.titleString!==e.secondaryTitle.text||o.valueString!==e.secondary.text:c=o.string!==e[o.key].text,c?n=t.maxWidth:o.width>n&&(n=o.width),n}draw(e,t,n){this.clearCanvas(e,n),t.showTitle&&this.drawTitle(e,n),this.drawGauge(e,t,n),this.drawValue(e,t,n),t.showSecondary&&this.drawSecondary(e,n),this.drawBrackets(e,t,n)}clearCanvas(e,t){e.fillStyle=t.backgroundColor,e.fillRect(0,0,t.width,t.height)}drawTitle(e,t){e.font=t.titleFont,e.fillStyle=t.titleColor,e.textAlign="center",e.textBaseline="middle",e.fillText(t.fitTitleMeasure.string,t.width/2,(t.titleSectionHeight-t.titleBottomMargin)/2),t.offsetY+=t.titleSectionHeight}drawGauge(e,t,n){n.gaugeCenterX=n.width/2,n.gaugeCenterY=n.offsetY+n.gaugeHeight-n.gaugeBottomMargin,n.needleAngle=this.getNeedleAngle(t,n),t.skin===2&&t.conditions&&t.conditions.length?this.drawConditionalDial(e,t,n):this.drawSimpleDial(e,t,n),t.showTicks&&n.size!=="micro"&&this.drawTicks(e,t,n),this.drawNeedle(e,n),t.showLabels&&n.size!=="micro"&&this.drawLabels(e,t,n),n.offsetY+=n.gaugeHeight}drawValue(e,t,n){e.fillStyle=n.valueColor,e.fillRect(1,n.offsetY,n.width-n.bracketThickness*2,n.valueSectionHeight),e.font=n.valueFont,e.fillStyle="white",e.textAlign="center",e.textBaseline="middle",e.fillText(n.fitValueMeasure.string,n.width/2,n.offsetY+n.valueSectionHeight/2)}drawSecondary(e,t){const n=t.height-t.secBottomMargin;e.font=t.secondaryTitleFont,e.fillStyle=t.secondaryTitleColor,e.textAlign="left",e.textBaseline="bottom",e.fillText(t.fitSecondaryMeasure.titleString,t.bracketWidth,n),e.font=t.secondaryValueFont,e.fillStyle=t.secondaryValueColor,e.textAlign="right",e.textBaseline="bottom",e.fillText(t.fitSecondaryMeasure.valueString,t.width-t.bracketWidth,n)}drawBrackets(e,t,n){const r=t.showTitle?(n.titleSectionHeight-n.titleBottomMargin)/2:0;e.strokeStyle=n.bracketColor,e.beginPath(),e.moveTo(n.bracketWidth+.5,r+.5),e.lineTo(.5,r+.5),e.lineTo(.5,n.height-.5),t.showSecondary&&e.lineTo(n.bracketWidth+.5,n.height-.5),e.stroke(),e.moveTo(n.width-(n.bracketWidth+.5),r+.5),e.lineTo(n.width-.5,r+.5),e.lineTo(n.width-.5,n.height-.5),t.showSecondary&&e.lineTo(n.width-(n.bracketWidth+.5),n.height-.5),e.stroke(),e.closePath()}getNeedleAngle(e,t){const n=+e.min.data,r=+e.max.data,i=+(e.value.data||0);return i<n?t.startAngle-t.overDegrees:i>r?t.endAngle+t.overDegrees:this.getAngle(t,i,n,r)}getAngle(e,t,n,r){const i=(e.endAngle-e.startAngle)/(r-n);return(t-n)*i+e.startAngle}drawConditionalDial(e,t,n){const r=t.conditions,i=+t.min.data,o=+t.max.data,a=mi.degToRad(n.startAngle+180),s=mi.degToRad(n.endAngle+180);let c;const l=g=>this.getAngle(n,g,i,o);for(this.drawArc(e,n,a,s,n.defaultDialColor),c=r.length-1;c>=0;c--){const g=r[c];let b=+g.data,u,z=NaN,w=NaN,x=NaN,C=NaN;const H=.25;switch(g.operator){case"<":if(b<=i)break;b=b>o?o:b,u=l(b),z=a,w=mi.degToRad(u+180);break;case">":if(b>=o)break;b=b<i?i:b,u=l(b),z=mi.degToRad(u+180),w=s;break;case"≤":if(b<i)break;b=b>o?o:b,u=l(b),z=a,w=mi.degToRad(u+(u+H<=n.endAngle?H:0)+180);break;case"≥":if(b>o)break;b=b<i?i:b,u=l(b),z=mi.degToRad(u-(u-H>=n.startAngle?H:0)+180),w=s;break;case"=":if(b<i||b>o)break;u=l(b),z=mi.degToRad(u-(u-H>=n.startAngle?H:0)+180),w=mi.degToRad(u+(u+H<=n.endAngle?H:0)+180);break;case"≠":if(b<i||b>o)z=a,w=s;else if(b===i||b===o){const G=b===i;z=mi.degToRad(n.startAngle+(G?H:0)+180),w=mi.degToRad(n.endAngle-(G?0:H)+180)}else u=l(b),z=a,w=mi.degToRad(u-(u-H>=n.startAngle?H:0)+180),x=mi.degToRad(u+(u+H<=n.endAngle?H:0)+180),C=s}!isNaN(z)&&!isNaN(w)&&this.drawArc(e,n,z,w,g.color),!isNaN(x)&&!isNaN(C)&&this.drawArc(e,n,x,C,g.color)}}drawSimpleDial(e,t,n){const r=mi.degToRad(n.startAngle+180),i=mi.degToRad(n.needleAngle+180),o=mi.degToRad(n.endAngle+180);n.needleAngle>n.startAngle&&n.needleAngle<n.endAngle?(this.drawArc(e,n,r,i,n.valueColor),e.globalAlpha=n.gaugeOpacity,this.drawArc(e,n,i,o,n.valueColor)):(n.needleAngle<=n.startAngle&&(e.globalAlpha=n.gaugeOpacity),this.drawArc(e,n,r,o,n.valueColor)),e.globalAlpha=1}drawArc(e,t,n,r,i){e.fillStyle=i,e.beginPath(),e.arc(t.gaugeCenterX,t.gaugeCenterY,t.outerArcRadius,n,r),e.arc(t.gaugeCenterX,t.gaugeCenterY,t.innerArcRadius,r,n,!0),e.fill()}drawTicks(e,t,n){const r=n.startAngle,i=n.endAngle,o=n.tickDegreesIncrement,a=n.needleAngle;let s;for(s=r;s<=i;s+=o){const c=mi.degToRad(s),l=n.gaugeCenterX-n.lengthToTick*Math.cos(c),g=n.gaugeCenterY-n.lengthToTick*Math.sin(c),b=a<r,u=a>=s-o/2&&a<s+o/2,z=s===i&&a>=s;e.fillStyle=!b&&u||z?t.color:n.tickColor,e.beginPath(),e.arc(l,g,n.tickRadius,0,2*Math.PI),e.fill()}}drawNeedle(e,t){const n=mi.degToRad(t.needleAngle);e.fillStyle=t.needleColor,e.save(),e.translate(t.gaugeCenterX,t.gaugeCenterY),e.rotate(n),e.translate(-t.gaugeCenterX,-t.gaugeCenterY),e.beginPath(),e.arc(t.gaugeCenterX,t.gaugeCenterY,t.needleBaseRadius,.5*Math.PI,1.5*Math.PI,!0),e.lineTo(t.gaugeCenterX-t.needleLength,t.gaugeCenterY),e.fill(),e.restore()}drawLabels(e,t,n){e.font=n.labelFont,e.fillStyle=n.labelColor,e.textAlign="right",e.textBaseline="middle",e.fillText(t.min.text,n.gaugeCenterX-n.labelMargin,n.gaugeCenterY),e.textAlign="left",e.fillText(t.max.text,n.gaugeCenterX+n.labelMargin,n.gaugeCenterY)}};const kc=new Tb;let SWe=class{render(e,t,n,r){const i=e.getContext("2d"),o=Math.floor(r.clientWidth)-n.horizontalMargin*2,a=n.sectionMinWidth;let s=0,c=0,l=0,g=0,b=0,u=0,z=0,w=0,x;if(i.font=n.valueFont,x=kc.getStringWidth(i,t.value.text),n.offsetX=0,t.title.text+=":",t.secondaryTitle&&(t.secondaryTitle.text+=":"),t.showTitle&&(i.font=n.titleFont,u=kc.getStringWidth(i,t.value.text),b=kc.getStringWidth(i,t.title.text),c=b<a?b:a,x+=c+n.textPadding),t.showSecondary&&(i.font=n.secondaryValueFont,w=kc.getStringWidth(i,t.secondary.text),g=w<a?w:a,x+=g,i.font=n.secondaryTitleFont||"",z=kc.getStringWidth(i,t.secondaryTitle.text),l=z<a?z:a,x+=l+n.horizontalPadding*2+n.dividerWidth+n.textPadding),t.type==="gauge"){const H=n.horizontalPadding*2+n.dividerWidth;if(n.forceTickerView){const $=u+b+z+w+n.textPadding*4+H,U=o-H-$;n.barWidth=Math.max(U,n.barWidth)}const G=n.barWidth+H;x+=G,n.showTickerBar=x<=o||!0,s+=n.showTickerBar?G:0}s+=t.showTitle?n.textPadding:0,s+=t.showSecondary?n.horizontalPadding*2+n.dividerWidth+n.textPadding:0;const C=o-s-c-l-g;if(n.fitValueMeasure=kc.getFitStringMeasure(i,t.value.text,C,n.valueFont),s+=n.fitValueMeasure.width,t.showSecondary){const H=o-s-c-l;let G;n.fitSecValueMeasure=kc.getFitStringMeasure(i,t.secondary.text,H,n.secondaryValueFont),s+=n.fitSecValueMeasure.width;const $=o-s,U=$/2;t.showTitle?b+z>$?b>U&&z>U?G=U:z>U&&b<=U?G=$-b:G=z:G=z:G=$,n.fitSecTitleMeasure=kc.getFitStringMeasure(i,t.secondaryTitle.text,G,n.secondaryTitleFont),s+=n.fitSecTitleMeasure.width}if(t.showTitle){const H=o-s;n.fitTitleMeasure=kc.getFitStringMeasure(i,t.title.text,H,n.titleFont),s+=n.fitTitleMeasure.width}n.width=s,kc.setCanvasSizes(e,i,s,n.height),this.draw(i,t,n)}draw(e,t,n){this.clearCanvas(e,n),t.type==="gauge"&&n.showTickerBar&&(this.drawTickerBar(e,t,n),this.drawDivider(e,n)),e.textBaseline="middle",t.showTitle&&this.drawTitle(e,n),this.drawValue(e,t,n),t.showSecondary&&(this.drawDivider(e,n),this.drawSecondary(e,n))}clearCanvas(e,t){e.fillStyle=t.backgroundColor,e.fillRect(0,0,t.width,t.height)}drawTickerBar(e,t,n){var r;const i=+t.min.data,o=+t.max.data,a=+(((r=t.value)==null?void 0:r.data)||0),s=Math.round((n.height-n.barHeight)/2);let c;if(e.fillStyle=n.valueColor,a<=i)e.globalAlpha=n.barOpacity,e.fillRect(n.offsetX,s,n.barWidth,n.barHeight),c=0;else if(a>=o)e.fillRect(n.offsetX,s,n.barWidth,n.barHeight),c=n.barWidth-n.tickerBarWidth;else{const l=(a-Math.abs(i))/(o-i),g=n.barWidth*l;e.fillRect(n.offsetX,s,g,n.barHeight),e.globalAlpha=n.barOpacity,e.fillRect(n.offsetX+g,s,n.barWidth-g,n.barHeight),g>n.barWidth-n.tickerBarWidth?c=n.barWidth-n.tickerBarWidth:g<n.tickerBarWidth?c=0:c=g-1}e.globalAlpha=1,e.fillStyle=n.barHandleColor,e.fillRect(n.offsetX+c,Math.round((n.height-n.tickerBarHeight)/2),n.tickerBarWidth,n.tickerBarHeight),n.offsetX+=n.barWidth}drawDivider(e,t){e.fillStyle=t.dividerColor,e.fillRect(t.offsetX+t.horizontalPadding,Math.round((t.height-t.dividerHeight)/2),t.dividerWidth,t.dividerHeight),t.offsetX+=t.horizontalPadding*2+t.dividerWidth}drawTitle(e,t){e.font=t.titleFont,e.fillStyle=t.titleColor,e.fillText(t.fitTitleMeasure.string,t.offsetX,Math.floor(t.height/2)),t.offsetX+=t.fitTitleMeasure.width+t.textPadding}drawValue(e,t,n){e.font=n.valueFont,e.fillStyle=n.valueColor||t.color,e.fillText(n.fitValueMeasure.string,n.offsetX,Math.floor(n.height/2)),n.offsetX+=n.fitValueMeasure.width}drawSecondary(e,t){e.font=t.secondaryTitleFont,e.fillStyle=t.secondaryTitleColor,e.fillText(t.fitSecTitleMeasure.string,t.offsetX,Math.floor(t.height/2)),t.offsetX+=t.fitSecTitleMeasure.width+t.textPadding,e.font=t.secondaryValueFont,e.fillStyle=t.secondaryValueColor,e.fillText(t.fitSecValueMeasure.string,t.offsetX,Math.floor(t.height/2))}};const vW={fontFamily:"opensansregular, sans-serif",title:{color:"rgb(68, 81, 102)",fontSizes:{big:22,medium:18,small:15,micro:12}},value:{color:"rgb(0,206,230)",fontSizes:{big:66,medium:46,small:32,micro:23}},secondaryTitle:{color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},secondaryValue:{fontWeight:800,color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},textKeys:["title","value","secondaryTitle","secondaryValue"],backgroundColor:"rgb(255, 255, 255)",borderColor:"rgb(215, 215, 215)",borderWidth:1,relativeSizes:[{key:"titleSectionHeight",value:.5,decimals:0},{key:"titleSectionMarginTop",value:.13,decimals:0},{key:"titleSectionMinWidth",value:.29,decimals:0},{key:"numericMinWidth",value:4.69,decimals:0},{key:"valueSectionHeight",value:1,decimals:0},{key:"valueSectionMarginRight",value:.14,decimals:0},{key:"valueSectionMarginBottom",value:.07,decimals:0},{key:"secSectionHeight",value:.34,decimals:0},{key:"secSectionMarginTop",value:.14,decimals:0},{key:"secDividerWidth",value:.14,decimals:0},{key:"secTitleMinWidth",value:.29,decimals:0},{key:"indicatorHorizontalMargin",value:.31,decimals:0},{key:"indicatorVerticalMargin",value:.46,decimals:0}],measureKeys:["indicatorMargin","numericMinWidth","titleSectionHeight","secSectionHeight","valueSectionMarginBottom","secSectionMarginTop","indicatorHorizontalMargin","indicatorVerticalMargin"],sizes:[{size:"big",value:70},{size:"medium",value:49},{size:"small",value:34},{size:"micro",value:24}],fitMeasures:[{key:"fitTitleMeasure",prop:"string",dataKey:"title"},{key:"fitValueMeasure",prop:"string",dataKey:"value"},{key:"fitSecondaryMeasure",prop:"titleString",dataKey:"secondaryTitle"},{key:"fitSecondaryMeasure",prop:"valueString",dataKey:"secondary"}]},CWe={fontFamily:"opensansregular, sans-serif",title:{color:"rgb(68, 81, 102)",fontSizes:{big:22,medium:18,small:15,micro:12}},value:{color:"rgb(255, 255, 255)",fontSizes:{big:45,medium:31,small:22,micro:15}},secondaryTitle:{color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},secondaryValue:{fontWeight:800,color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},textKeys:["title","value","secondaryTitle","secondaryValue"],backgroundColor:"rgb(255, 255, 255)",bracketColor:"rgb(198, 198, 198)",bracketThickness:1,relativeSizes:[{key:"titleSectionHeight",value:1,decimals:0},{key:"titleHorizontalMargin",value:.16,decimals:0},{key:"numericMinWidth",value:4.69,decimals:0},{key:"valueSectionHeight",value:1,decimals:0},{key:"secSectionHeight",value:1,decimals:0},{key:"secBottomMargin",value:.14,decimals:0},{key:"secDividerWidth",value:.14,decimals:0},{key:"secTitleMinWidth",value:.29,decimals:0},{key:"bracketWidth",value:.21,decimals:0},{key:"indicatorMargin",value:.64,decimals:0}],measureKeys:["indicatorMargin","numericMinWidth","bracketWidth","titleSectionHeight","secSectionHeight"],sizes:[{size:"big",value:70,maxWidth:1261,maxHeight:665},{size:"medium",value:49},{size:"small",value:34},{size:"micro",value:24}]},kWe={fontFamily:"opensansregular, sans-serif",title:{color:"rgb(68, 81, 102)",fontSizes:{big:22,medium:18,small:15,micro:12}},value:{color:"rgb(255, 255, 255)",fontSizes:{big:45,medium:31,small:22,micro:15}},secondaryTitle:{color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},secondaryValue:{fontWeight:800,color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},label:{color:"rgb(68, 81, 102)",fontSizes:{big:18,medium:13,small:9,micro:9}},textKeys:["title","value","secondaryTitle","secondaryValue","label"],backgroundColor:"rgb(255, 255, 255)",tickColor:"rgb(0, 0, 0)",needleColor:"rgb(43, 51, 66)",bracketColor:"rgb(198, 198, 198)",defaultDialColor:"rgb(179, 179, 179)",gaugeOpacity:.5,startAngle:20,endAngle:160,overDegrees:5,tickDegreesIncrement:10,bracketThickness:1,relativeSizes:[{key:"titleSectionHeight",value:.26,decimals:0},{key:"titleHorizontalMargin",value:.08,decimals:0},{key:"titleBottomMargin",value:.1,decimals:0},{key:"gaugeWidth",value:1.33,decimals:0},{key:"gaugeBottomMargin",value:.19,decimals:0},{key:"outerArcRadius",value:.63,decimals:0},{key:"innerArcRadius",dataKey:"skin",values:{1:.24,2:.51},decimals:0},{key:"lengthToTick",value:.7,decimals:0},{key:"tickRadius",value:.01,decimals:1},{key:"needleLength",dataKey:"skin",values:{1:.52,2:.58},decimals:0},{key:"needleBaseRadius",value:.04,decimals:0},{key:"labelMargin",value:.26,decimals:0},{key:"valueSectionHeight",value:.36,decimals:0},{key:"secSectionHeight",value:.36,decimals:0},{key:"secBottomMargin",value:.05,decimals:0},{key:"secDividerWidth",value:.05,decimals:0},{key:"secTitleMinWidth",value:.1,decimals:0},{key:"bracketWidth",value:.08,decimals:0},{key:"indicatorMargin",value:.14,decimals:0}],gaugeHeights:[{size:"big",value:192,maxWidth:1297,maxHeight:1075},{size:"medium",value:134},{size:"small",value:94},{size:"micro",value:66}],measureKeys:["indicatorMargin","gaugeWidth","bracketWidth","titleSectionHeight","valueSectionHeight","secSectionHeight"]},MWe={fontFamily:"Open Sans",fontSize:15,title:{color:"rgb(68, 81, 102)"},value:{fontWeight:800},secondaryTitle:{color:"rgb(163, 163, 163)"},secondaryValue:{color:"rgb(163, 163, 163)"},textKeys:["title","value","secondaryTitle","secondaryValue"],backgroundColor:"transparent",dividerColor:"rgb(39, 42, 52)",barHandleColor:"rgb(43, 51, 66)",height:35,horizontalMargin:15,barWidth:100,barHeight:11,barOpacity:.5,tickerBarWidth:2,tickerBarHeight:13,horizontalPadding:9,textPadding:6,sectionMinWidth:20,dividerWidth:1,dividerHeight:13,forceTickerView:!1};function TWe(e,t){const n=ls(MWe);if(n.forceTickerView=t.forceTickerView,n.fontFamily=t.fontFamily,n.backgroundColor=t.backgroundColor,n.value.color=t.value.color,n.title.color=t.title.color,n.secondaryTitle.color=t.secondaryTitle.color,n.secondaryValue.color=t.secondaryTitle.color,t.tickerBarHeight){const r=t.tickerBarHeight;n.barHeight=r,n.tickerBarHeight=r+2}return n.forceTickerView&&(n.height=e.offsetHeight),n}const AWe=new Tb,EWe=new mWe,OWe=new bWe,PWe=new _We,DWe=new SWe;let LWe=class{getService(e){switch(e){case"numericSimple":return EWe;case"numericBar":return OWe;case"gauge":return PWe;case"ticker":return DWe}}render(e,t,n,r){let i=this.getService(t.type);const o="getBaseMeasure"in i?i.getBaseMeasure(t,n,r):void 0;if(!o||n.forceTickerView){i=this.getService("ticker");const a=TWe(e,n);this.setTextOptions(a),i.render(e,t,a,r);return}this.calculateRelativeSizes(t,n,o.value),this.setTextOptions(n,o.size),i.render(e,t,n,o)}calculateRelativeSizes(e,t,n){const{relativeSizes:r}=t;r.forEach(function(i){let o;if("dataKey"in i&&"values"in i&&i.dataKey in e)o=i.values[e[i.dataKey]];else if("value"in i)o=i.value;else throw new Error("Invalid relative size options");const a=o*n;t[i.key]=AWe.floor(a,i.decimals)})}setTextOptions(e,t){e.textKeys.forEach(function(n){const r=e[n],i=r.fontStyle?`${r.fontStyle} `:"",o=r.fontVariant?`${r.fontVariant} `:"",a=r.fontWeight?`${r.fontWeight} `:"",s=`${Number.parseFloat(r.fontSizes&&r.fontSizes[t]||r.fontSize||e.fontSize)}px `,c=r.fontFamily||e.fontFamily,{color:l}=r;e[`${n}Font`]=i+o+a+s+c,e[`${n}Color`]=l})}};function hte(e){var t;const n=(t=e.value)==null?void 0:t[0];if(n&&"color"in n)return n.color}function NWe(e,t,n){if(!jWe(e))return n;const r=l5(e).getColor(t);return r?nt(Fe({},n),{value:nt(Fe({},n.value),{color:r})}):n}function jWe(e){return typeof e=="string"||e.type==="uniform"||e.type==="conditional"}var IWe=od,RWe=Hs,zWe="[object Number]";function BWe(e){return typeof e=="number"||RWe(e)&&IWe(e)==zWe}var pte=BWe;const sm=On(pte),FWe=(e,t)=>{const n=hte(t);return n&&e.value?l5(n).getColor(sm(e.value)?e.value:0):null},WWe=(e,t,n)=>{var r,i,o,a,s,c,l,g,b,u,z,w;const x=sm(e.min)?e.min:0,C=sm(e.max)?e.max:100,H=yx(n,"value"),G=yx(n,"secondary"),$=yx(n,"min"),U=yx(n,"max"),B=FWe(e,n),T=t.indicatorType==="gauge"?1:"vertical";return nt(Fe(Fe({},UWe),B?{color:B}:null),{type:HWe(t.indicatorType,"numericSubtype"in t?t.numericSubtype:void 0)||"numericSimple",skin:t.skin||T,title:{text:(o=(i=(r=t.indicatorComponents)==null?void 0:r.title)==null?void 0:i.text)!=null?o:""},min:{data:x,text:di($,x)},max:{data:C,text:di(U,C)},value:{data:e.value,text:yW(e.value,H)},secondary:{data:e.secondary,text:yW(e.secondary,G)},secondaryTitle:{text:(c=(s=(a=t.indicatorComponents)==null?void 0:a.secondaryTitle)==null?void 0:s.text)!=null?c:""},showSecondary:e.secondary!==void 0,showTitle:!!((g=(l=t.indicatorComponents)==null?void 0:l.title)!=null&&g.shouldBeShown),showLabels:!!((u=(b=t.indicatorComponents)==null?void 0:b.labels)!=null&&u.shouldBeShown),showTicks:!!((w=(z=t.indicatorComponents)==null?void 0:z.ticks)!=null&&w.shouldBeShown)})};function HWe(e,t){return e==="numeric"?t:e}function yx(e,t){var n;const r=(n=e[t])==null?void 0:n[0];return Jr(r&&"numberFormatConfig"in r?r.numberFormatConfig:{})}const UWe={color:"#00cee6",showSecondary:!1};function yW(e,t){return e===void 0?"":isNaN(e)?"#N/A":di(t,e)}function VWe(e,t,n){const r=ls(n);for(const i in t){const o=t[i],a=YWe(e,o);a&&fte(r,i,a)}return r}function fte(e,t,n){const r=t.split(".");if(r.length===1)if(r[0]in e)e[r[0]]=n;else return;else{const[i,...o]=r;if(!(i in e))return;const a=e[i];if(!gte(a))return;fte(a,o.join("."),n)}}function YWe(e,t){const n=t.split(".");let r=e;for(const i of n){if(!gte(r)||!(i in r))return;r=r[i]}return r}function gte(e){return typeof e=="object"&&e!==null}function GWe(e,t,n){return VWe(e,t,n)}const $We={fontFamily:"typography.fontFamily","title.color":"chart.textColor",backgroundColor:"chart.backgroundColor","label.color":"chart.textColor","secondaryTitle.color":"chart.secondaryTextColor","secondaryValue.color":"chart.secondaryTextColor","value.color":"palette.variantColors.0"},qWe=(e,t)=>{const{chartData:n,dataOptions:r,themeSettings:i}=t,{type:o}=e;let a;switch(o){case"gauge":a=kWe;break;case"numeric":e.numericSubtype==="numericBar"?a=CWe:a=vW;break;default:a=vW}i&&(a=GWe(i,$We,a));const s=hte(r);return s&&n.value&&sm(n.value)&&(a=NWe(s,n.value,a)),Fe(nt(Fe({},a),{forceTickerView:e.forceTickerView}),e.type==="gauge"&&e.tickerBarHeight?{tickerBarHeight:e.tickerBarHeight}:null)};var XWe=_C;function ZWe(e,t){return XWe(e,t)}var KWe=ZWe;const Ch=On(KWe);function QWe(e){return typeof e=="string"}function JWe(e){var t;const n=sr().themeSettings,[r,i]=dt(Fp()),[o,a]=dt(null),s=(t=ti().app)==null?void 0:t.httpClient;return pt(()=>{e&&(QWe(e)?s&&jJ(e,s).then(i).catch(a):i(e))},[e,s]),o?[null,o]:Ch(n,r)?[n,null]:[wi.withOptions({mergeArrays:!1},n,r),null]}const T_=nr({componentName:"ThemeProvider",trackingConfig:{skip:e=>!!e.skipTracking,transparent:!0},shouldSkipSisenseContextWaiting:!0})(e=>{const{theme:t,children:n}=e,[r,i]=JWe(t);if(i)throw i;return ye(hn,{children:r&&ye(JI.Provider,{value:{themeSettings:r},children:n})})}),e9e=({chartData:e,dataOptions:t,designOptions:n})=>{var r;const i=Qe(null),o=Qe(null),{themeSettings:a}=sr();return pt(()=>{if(!o.current||!i.current)return;const s=new LWe,c=WWe(e,n,t),l=qWe({type:n.indicatorType,numericSubtype:"numericSubtype"in n?n.numericSubtype:void 0,forceTickerView:n.forceTickerView,tickerBarHeight:n.tickerBarHeight},{chartData:e,dataOptions:t,themeSettings:a});s.render(o.current,c,l,i.current)},[e,t,n,a]),ye("div",{ref:i,style:{display:"flex",justifyContent:"center",width:"100%",height:"100%",alignItems:"center",backgroundColor:(r=a==null?void 0:a.chart)==null?void 0:r.backgroundColor},"aria-label":"indicator-root",children:ye("canvas",{ref:o})})},t9e=e=>e.type==="indicator",n9e=e=>"min"in e,r9e=e=>"indicatorComponents"in e,i9e=e=>!!e.chartData&&t9e(e.chartData)&&n9e(e.dataOptions)&&r9e(e.designOptions);var _N={exports:{}};/* @preserve
20
+ You may have forgotten to import it.`);var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,a;n!==void 0&&(o=n.label,a=n.target);var s=QF(t,n,r),c=s||KF(i),l=!c("as");return function(){var g=arguments,b=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&b.push("label:"+o+";"),g[0]==null||g[0].raw===void 0)b.push.apply(b,g);else{process.env.NODE_ENV!=="production"&&g[0][0]===void 0&&console.error(JF),b.push(g[0][0]);for(var u=g.length,z=1;z<u;z++)process.env.NODE_ENV!=="production"&&g[0][z]===void 0&&console.error(JF),b.push(g[z],g[0][z])}var w=IC(function(x,C,H){var G=l&&x.as||i,$="",U=[],B=x;if(x.theme==null){B={};for(var T in x)B[T]=x[T];B.theme=Zn(pu)}typeof x.className=="string"?$=LI(C.registered,U,x.className):x.className!=null&&($=x.className+" ");var P=rm(b.concat(U),C.registered,B);$+=C.key+"-"+P.name,a!==void 0&&($+=" "+a);var f=l&&s===void 0?KF(G):c,y={};for(var d in x)l&&d==="as"||f(d)&&(y[d]=x[d]);return y.className=$,y.ref=H,Qt(hn,null,Qt(VEe,{cache:C,serialized:P,isStringTag:typeof G=="string"}),Qt(G,y))});return w.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",w.defaultProps=t.defaultProps,w.__emotion_real=w,w.__emotion_base=i,w.__emotion_styles=b,w.__emotion_forwardProp=s,Object.defineProperty(w,"toString",{value:function(){return a===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+a}}),w.withComponent=function(x,C){return e(x,Ke({},n,C,{shouldForwardProp:QF(w,C,!0)})).apply(void 0,b)},w}},GEe=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],_n=YEe.bind();GEe.forEach(function(e){_n[e]=_n(e)});function df(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function im(e){return im=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},im(e)}function fu(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function yb(e){fu(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||im(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function $Ee(e,t){fu(2,arguments);var n=yb(e),r=df(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var i=n.getDate(),o=new Date(n.getTime());o.setMonth(n.getMonth()+r+1,0);var a=o.getDate();return i>=a?o:(n.setFullYear(o.getFullYear(),o.getMonth(),i),n)}var qEe={};function XEe(){return qEe}function e8(e,t){var n,r,i,o,a,s,c,l;fu(1,arguments);var g=XEe(),b=df((n=(r=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:g.weekStartsOn)!==null&&r!==void 0?r:(c=g.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:0);if(!(b>=0&&b<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=yb(e),z=u.getUTCDay(),w=(z<b?7:0)+z-b;return u.setUTCDate(u.getUTCDate()-w),u.setUTCHours(0,0,0,0),u}var ZEe={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},KEe=function(e,t,n){var r,i=ZEe[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Gn(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var QEe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},JEe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},eOe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},tOe={date:Gn({formats:QEe,defaultWidth:"full"}),time:Gn({formats:JEe,defaultWidth:"full"}),dateTime:Gn({formats:eOe,defaultWidth:"full"})},nOe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},rOe=function(e,t,n,r){return nOe[e]};function Xt(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):o;i=e.formattingValues[a]||e.formattingValues[o]}else{var s=e.defaultWidth,c=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[c]||e.values[s]}var l=e.argumentCallback?e.argumentCallback(t):t;return i[l]}}var iOe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},oOe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},aOe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},sOe={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},lOe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},cOe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},uOe=function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},dOe={ordinalNumber:uOe,era:Xt({values:iOe,defaultWidth:"wide"}),quarter:Xt({values:oOe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:aOe,defaultWidth:"wide"}),day:Xt({values:sOe,defaultWidth:"wide"}),dayPeriod:Xt({values:lOe,defaultWidth:"wide",formattingValues:cOe,defaultFormattingWidth:"wide"})};function Zt(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var a=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?pOe(s,function(b){return b.test(a)}):hOe(s,function(b){return b.test(a)}),l;l=e.valueCallback?e.valueCallback(c):c,l=n.valueCallback?n.valueCallback(l):l;var g=t.slice(a.length);return{value:l,rest:g}}}function hOe(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function pOe(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function Ml(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],o=t.match(e.parsePattern);if(!o)return null;var a=e.valueCallback?e.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(i.length);return{value:a,rest:s}}}var fOe=/^(\d+)(th|st|nd|rd)?/i,gOe=/\d+/i,mOe={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},vOe={any:[/^b/i,/^(a|c)/i]},yOe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},bOe={any:[/1/i,/2/i,/3/i,/4/i]},xOe={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},wOe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},_Oe={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},SOe={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},COe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},kOe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},MOe={ordinalNumber:Ml({matchPattern:fOe,parsePattern:gOe,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:mOe,defaultMatchWidth:"wide",parsePatterns:vOe,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:yOe,defaultMatchWidth:"wide",parsePatterns:bOe,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:xOe,defaultMatchWidth:"wide",parsePatterns:wOe,defaultParseWidth:"any"}),day:Zt({matchPatterns:_Oe,defaultMatchWidth:"wide",parsePatterns:SOe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:COe,defaultMatchWidth:"any",parsePatterns:kOe,defaultParseWidth:"any"})},TOe={code:"en-US",formatDistance:KEe,formatLong:tOe,formatRelative:rOe,localize:dOe,match:MOe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function dJ(e,t){fu(2,arguments);var n=df(t);return $Ee(e,n*12)}var hJ=6e4,pJ=36e5;function bb(e,t){var n;fu(1,arguments);var r=df((n=void 0)!==null&&n!==void 0?n:2);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof e=="string"||Object.prototype.toString.call(e)==="[object String]"))return new Date(NaN);var i=POe(e),o;if(i.date){var a=DOe(i.date,r);o=LOe(a.restDateString,a.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var s=o.getTime(),c=0,l;if(i.time&&(c=NOe(i.time),isNaN(c)))return new Date(NaN);if(i.timezone){if(l=jOe(i.timezone),isNaN(l))return new Date(NaN)}else{var g=new Date(s+c),b=new Date(0);return b.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),b.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),b}return new Date(s+c+l)}var ax={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},AOe=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,EOe=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,OOe=/^([+-])(\d{2})(?::?(\d{2}))?$/;function POe(e){var t={},n=e.split(ax.dateTimeDelimiter),r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],ax.timeZoneDelimiter.test(t.date)&&(t.date=e.split(ax.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){var i=ax.timezone.exec(r);i?(t.time=r.replace(i[1],""),t.timezone=i[1]):t.time=r}return t}function DOe(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:o===null?i:o*100,restDateString:e.slice((r[1]||r[2]).length)}}function LOe(e,t){if(t===null)return new Date(NaN);var n=e.match(AOe);if(!n)return new Date(NaN);var r=!!n[4],i=qv(n[1]),o=qv(n[2])-1,a=qv(n[3]),s=qv(n[4]),c=qv(n[5])-1;if(r)return FOe(t,s,c)?IOe(t,s,c):new Date(NaN);var l=new Date(0);return!zOe(t,o,a)||!BOe(t,i)?new Date(NaN):(l.setUTCFullYear(t,o,Math.max(i,a)),l)}function qv(e){return e?parseInt(e):1}function NOe(e){var t=e.match(EOe);if(!t)return NaN;var n=_T(t[1]),r=_T(t[2]),i=_T(t[3]);return WOe(n,r,i)?n*pJ+r*hJ+i*1e3:NaN}function _T(e){return e&&parseFloat(e.replace(",","."))||0}function jOe(e){if(e==="Z")return 0;var t=e.match(OOe);if(!t)return 0;var n=t[1]==="+"?-1:1,r=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return HOe(r,i)?n*(r*pJ+i*hJ):NaN}function IOe(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var i=r.getUTCDay()||7,o=(t-1)*7+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}var ROe=[31,null,31,30,31,30,31,31,30,31,30,31];function fJ(e){return e%400===0||e%4===0&&e%100!==0}function zOe(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(ROe[t]||(fJ(e)?29:28))}function BOe(e,t){return t>=1&&t<=(fJ(e)?366:365)}function FOe(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function WOe(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function HOe(e,t){return t>=0&&t<=59}function gJ(e,t){fu(2,arguments);var n=df(t);return dJ(e,-n)}function UOe(e){fu(1,arguments);var t=yb(e),n=t.getFullYear(),r=t.getMonth(),i=new Date(0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.getDate()}function VOe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CL(e,t){return CL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},CL(e,t)}function YOe(e,t){if(im(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(im(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function GOe(e){var t=YOe(e,"string");return im(t)=="symbol"?t:t+""}function $Oe(e,t,n){return t=GOe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qOe(e,t){fu(2,arguments);var n=yb(e),r=df(t),i=n.getFullYear(),o=n.getDate(),a=new Date(0);a.setFullYear(i,r,15),a.setHours(0,0,0,0);var s=UOe(a);return n.setMonth(r,Math.min(o,s)),n}function XOe(e,t){fu(2,arguments);var n=yb(e),r=df(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(r),n)}function f0(e,t,n){fu(2,arguments);var r=e8(e,n),i=e8(t,n);return r.getTime()===i.getTime()}var t8={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"halbe Minute",withPreposition:"halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},ZOe=function(e,t,n){var r,i=n!=null&&n.addSuffix?t8[e].withPreposition:t8[e].standalone;return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:"vor "+r:r},KOe={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},QOe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},JOe={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},ePe={date:Gn({formats:KOe,defaultWidth:"full"}),time:Gn({formats:QOe,defaultWidth:"full"}),dateTime:Gn({formats:JOe,defaultWidth:"full"})},tPe={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},nPe=function(e,t,n,r){return tPe[e]},rPe={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},iPe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},kL={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},oPe={narrow:kL.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:kL.wide},aPe={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},sPe={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},lPe={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},cPe=function(e){var t=Number(e);return t+"."},uPe={ordinalNumber:cPe,era:Xt({values:rPe,defaultWidth:"wide"}),quarter:Xt({values:iPe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:kL,formattingValues:oPe,defaultWidth:"wide"}),day:Xt({values:aPe,defaultWidth:"wide"}),dayPeriod:Xt({values:sPe,defaultWidth:"wide",formattingValues:lPe,defaultFormattingWidth:"wide"})},dPe=/^(\d+)(\.)?/i,hPe=/\d+/i,pPe={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},fPe={any:[/^v/i,/^n/i]},gPe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},mPe={any:[/1/i,/2/i,/3/i,/4/i]},vPe={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},yPe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},bPe={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},xPe={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},wPe={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},_Pe={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},SPe={ordinalNumber:Ml({matchPattern:dPe,parsePattern:hPe,valueCallback:function(e){return parseInt(e)}}),era:Zt({matchPatterns:pPe,defaultMatchWidth:"wide",parsePatterns:fPe,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:gPe,defaultMatchWidth:"wide",parsePatterns:mPe,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:vPe,defaultMatchWidth:"wide",parsePatterns:yPe,defaultParseWidth:"any"}),day:Zt({matchPatterns:bPe,defaultMatchWidth:"wide",parsePatterns:xPe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:wPe,defaultMatchWidth:"wide",parsePatterns:_Pe,defaultParseWidth:"any"})},CPe={code:"de",formatDistance:ZOe,formatLong:ePe,formatRelative:nPe,localize:uPe,match:SPe,options:{weekStartsOn:1,firstWeekContainsDate:4}},kPe={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},MPe=function(e,t,n){var r,i=kPe[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"en "+r:"hace "+r:r},TPe={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},APe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},EPe={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},OPe={date:Gn({formats:TPe,defaultWidth:"full"}),time:Gn({formats:APe,defaultWidth:"full"}),dateTime:Gn({formats:EPe,defaultWidth:"full"})},PPe={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},DPe={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},LPe=function(e,t,n,r){return t.getUTCHours()!==1?DPe[e]:PPe[e]},NPe={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},jPe={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},IPe={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},RPe={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},zPe={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},BPe={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},FPe=function(e,t){var n=Number(e);return n+"º"},WPe={ordinalNumber:FPe,era:Xt({values:NPe,defaultWidth:"wide"}),quarter:Xt({values:jPe,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:Xt({values:IPe,defaultWidth:"wide"}),day:Xt({values:RPe,defaultWidth:"wide"}),dayPeriod:Xt({values:zPe,defaultWidth:"wide",formattingValues:BPe,defaultFormattingWidth:"wide"})},HPe=/^(\d+)(º)?/i,UPe=/\d+/i,VPe={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},YPe={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},GPe={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},$Pe={any:[/1/i,/2/i,/3/i,/4/i]},qPe={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},XPe={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},ZPe={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},KPe={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},QPe={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},JPe={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},eDe={ordinalNumber:Ml({matchPattern:HPe,parsePattern:UPe,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:VPe,defaultMatchWidth:"wide",parsePatterns:YPe,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:GPe,defaultMatchWidth:"wide",parsePatterns:$Pe,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:qPe,defaultMatchWidth:"wide",parsePatterns:XPe,defaultParseWidth:"any"}),day:Zt({matchPatterns:ZPe,defaultMatchWidth:"wide",parsePatterns:KPe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:QPe,defaultMatchWidth:"any",parsePatterns:JPe,defaultParseWidth:"any"})},tDe={code:"es",formatDistance:MPe,formatLong:OPe,formatRelative:LPe,localize:WPe,match:eDe,options:{weekStartsOn:1,firstWeekContainsDate:1}},nDe={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},rDe=function(e,t,n){var r,i=nDe[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"dans "+r:"il y a "+r:r},iDe={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},oDe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},aDe={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},sDe={date:Gn({formats:iDe,defaultWidth:"full"}),time:Gn({formats:oDe,defaultWidth:"full"}),dateTime:Gn({formats:aDe,defaultWidth:"full"})},lDe={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},cDe=function(e,t,n,r){return lDe[e]},uDe={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},dDe={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},hDe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},pDe={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},fDe={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},gDe=function(e,t){var n=Number(e),r=t==null?void 0:t.unit;if(n===0)return"0";var i=["year","week","hour","minute","second"],o;return n===1?o=r&&i.includes(r)?"ère":"er":o="ème",n+o},mDe={ordinalNumber:gDe,era:Xt({values:uDe,defaultWidth:"wide"}),quarter:Xt({values:dDe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:hDe,defaultWidth:"wide"}),day:Xt({values:pDe,defaultWidth:"wide"}),dayPeriod:Xt({values:fDe,defaultWidth:"wide"})},vDe=/^(\d+)(ième|ère|ème|er|e)?/i,yDe=/\d+/i,bDe={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},xDe={any:[/^av/i,/^ap/i]},wDe={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},_De={any:[/1/i,/2/i,/3/i,/4/i]},SDe={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},CDe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},kDe={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},MDe={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},TDe={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},ADe={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},EDe={ordinalNumber:Ml({matchPattern:vDe,parsePattern:yDe,valueCallback:function(e){return parseInt(e)}}),era:Zt({matchPatterns:bDe,defaultMatchWidth:"wide",parsePatterns:xDe,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:wDe,defaultMatchWidth:"wide",parsePatterns:_De,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:SDe,defaultMatchWidth:"wide",parsePatterns:CDe,defaultParseWidth:"any"}),day:Zt({matchPatterns:kDe,defaultMatchWidth:"wide",parsePatterns:MDe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:TDe,defaultMatchWidth:"any",parsePatterns:ADe,defaultParseWidth:"any"})},ODe={code:"fr",formatDistance:rDe,formatLong:sDe,formatRelative:cDe,localize:mDe,match:EDe,options:{weekStartsOn:1,firstWeekContainsDate:4}},PDe={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},DDe=function(e,t,n){var r,i=PDe[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"tra "+r:r+" fa":r},LDe={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},NDe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},jDe={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},IDe={date:Gn({formats:LDe,defaultWidth:"full"}),time:Gn({formats:NDe,defaultWidth:"full"}),dateTime:Gn({formats:jDe,defaultWidth:"full"})},zI=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function RDe(e){switch(e){case 0:return"'domenica scorsa alle' p";default:return"'"+zI[e]+" scorso alle' p"}}function n8(e){return"'"+zI[e]+" alle' p"}function zDe(e){switch(e){case 0:return"'domenica prossima alle' p";default:return"'"+zI[e]+" prossimo alle' p"}}var BDe={lastWeek:function(e,t,n){var r=e.getUTCDay();return f0(e,t,n)?n8(r):RDe(r)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:function(e,t,n){var r=e.getUTCDay();return f0(e,t,n)?n8(r):zDe(r)},other:"P"},FDe=function(e,t,n,r){var i=BDe[e];return typeof i=="function"?i(t,n,r):i},WDe={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},HDe={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},UDe={narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},VDe={narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},YDe={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},GDe={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},$De=function(e,t){var n=Number(e);return String(n)},qDe={ordinalNumber:$De,era:Xt({values:WDe,defaultWidth:"wide"}),quarter:Xt({values:HDe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:UDe,defaultWidth:"wide"}),day:Xt({values:VDe,defaultWidth:"wide"}),dayPeriod:Xt({values:YDe,defaultWidth:"wide",formattingValues:GDe,defaultFormattingWidth:"wide"})},XDe=/^(\d+)(º)?/i,ZDe=/\d+/i,KDe={narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},QDe={any:[/^a/i,/^(d|e)/i]},JDe={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},eLe={any:[/1/i,/2/i,/3/i,/4/i]},tLe={narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},nLe={narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},rLe={narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},iLe={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},oLe={narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},aLe={any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},sLe={ordinalNumber:Ml({matchPattern:XDe,parsePattern:ZDe,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:KDe,defaultMatchWidth:"wide",parsePatterns:QDe,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:JDe,defaultMatchWidth:"wide",parsePatterns:eLe,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:tLe,defaultMatchWidth:"wide",parsePatterns:nLe,defaultParseWidth:"any"}),day:Zt({matchPatterns:rLe,defaultMatchWidth:"wide",parsePatterns:iLe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:oLe,defaultMatchWidth:"any",parsePatterns:aLe,defaultParseWidth:"any"})},lLe={code:"it",formatDistance:DDe,formatLong:IDe,formatRelative:FDe,localize:qDe,match:sLe,options:{weekStartsOn:1,firstWeekContainsDate:4}},cLe={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},uLe=function(e,t,n){n=n||{};var r,i=cLe[e];return typeof i=="string"?r=i:t===1?n.addSuffix&&i.oneWithSuffix?r=i.oneWithSuffix:r=i.one:n.addSuffix&&i.otherWithSuffix?r=i.otherWithSuffix.replace("{{count}}",String(t)):r=i.other.replace("{{count}}",String(t)),n.addSuffix?n.comparison&&n.comparison>0?r+"後":r+"前":r},dLe={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},hLe={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},pLe={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},fLe={date:Gn({formats:dLe,defaultWidth:"full"}),time:Gn({formats:hLe,defaultWidth:"full"}),dateTime:Gn({formats:pLe,defaultWidth:"full"})},gLe={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},mLe=function(e,t,n,r){return gLe[e]},vLe={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},yLe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},bLe={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},xLe={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},wLe={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},_Le={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},SLe=function(e,t){var n=Number(e),r=String(t==null?void 0:t.unit);switch(r){case"year":return"".concat(n,"年");case"quarter":return"第".concat(n,"四半期");case"month":return"".concat(n,"月");case"week":return"第".concat(n,"週");case"date":return"".concat(n,"日");case"hour":return"".concat(n,"時");case"minute":return"".concat(n,"分");case"second":return"".concat(n,"秒");default:return"".concat(n)}},CLe={ordinalNumber:SLe,era:Xt({values:vLe,defaultWidth:"wide"}),quarter:Xt({values:yLe,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:Xt({values:bLe,defaultWidth:"wide"}),day:Xt({values:xLe,defaultWidth:"wide"}),dayPeriod:Xt({values:wLe,defaultWidth:"wide",formattingValues:_Le,defaultFormattingWidth:"wide"})},kLe=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,MLe=/\d+/i,TLe={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},ALe={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},ELe={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},OLe={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},PLe={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},DLe={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},LLe={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},NLe={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},jLe={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},ILe={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},RLe={ordinalNumber:Ml({matchPattern:kLe,parsePattern:MLe,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:TLe,defaultMatchWidth:"wide",parsePatterns:ALe,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:ELe,defaultMatchWidth:"wide",parsePatterns:OLe,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:PLe,defaultMatchWidth:"wide",parsePatterns:DLe,defaultParseWidth:"any"}),day:Zt({matchPatterns:LLe,defaultMatchWidth:"wide",parsePatterns:NLe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:jLe,defaultMatchWidth:"any",parsePatterns:ILe,defaultParseWidth:"any"})},zLe={code:"ja",formatDistance:uLe,formatLong:fLe,formatRelative:mLe,localize:CLe,match:RLe,options:{weekStartsOn:0,firstWeekContainsDate:1}},BLe={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},FLe=function(e,t,n){var r,i=BLe[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?r+" 후":r+" 전":r},WLe={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},HLe={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},ULe={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},VLe={date:Gn({formats:WLe,defaultWidth:"full"}),time:Gn({formats:HLe,defaultWidth:"full"}),dateTime:Gn({formats:ULe,defaultWidth:"full"})},YLe={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},GLe=function(e,t,n,r){return YLe[e]},$Le={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},qLe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},XLe={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},ZLe={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},KLe={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},QLe={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},JLe=function(e,t){var n=Number(e),r=String(t==null?void 0:t.unit);switch(r){case"minute":case"second":return String(n);case"date":return n+"일";default:return n+"번째"}},eNe={ordinalNumber:JLe,era:Xt({values:$Le,defaultWidth:"wide"}),quarter:Xt({values:qLe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:XLe,defaultWidth:"wide"}),day:Xt({values:ZLe,defaultWidth:"wide"}),dayPeriod:Xt({values:KLe,defaultWidth:"wide",formattingValues:QLe,defaultFormattingWidth:"wide"})},tNe=/^(\d+)(일|번째)?/i,nNe=/\d+/i,rNe={narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},iNe={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},oNe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},aNe={any:[/1/i,/2/i,/3/i,/4/i]},sNe={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},lNe={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},cNe={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},uNe={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},dNe={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},hNe={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},pNe={ordinalNumber:Ml({matchPattern:tNe,parsePattern:nNe,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:rNe,defaultMatchWidth:"wide",parsePatterns:iNe,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:oNe,defaultMatchWidth:"wide",parsePatterns:aNe,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:sNe,defaultMatchWidth:"wide",parsePatterns:lNe,defaultParseWidth:"any"}),day:Zt({matchPatterns:cNe,defaultMatchWidth:"wide",parsePatterns:uNe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:dNe,defaultMatchWidth:"any",parsePatterns:hNe,defaultParseWidth:"any"})},fNe={code:"ko",formatDistance:FLe,formatLong:VLe,formatRelative:GLe,localize:eNe,match:pNe,options:{weekStartsOn:0,firstWeekContainsDate:1}},gNe={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},mNe=function(e,t,n){var r,i=gNe[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"over "+r:r+" geleden":r},vNe={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},yNe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},bNe={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},xNe={date:Gn({formats:vNe,defaultWidth:"full"}),time:Gn({formats:yNe,defaultWidth:"full"}),dateTime:Gn({formats:bNe,defaultWidth:"full"})},wNe={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},_Ne=function(e,t,n,r){return wNe[e]},SNe={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},CNe={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},kNe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},MNe={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},TNe={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},ANe=function(e,t){var n=Number(e);return n+"e"},ENe={ordinalNumber:ANe,era:Xt({values:SNe,defaultWidth:"wide"}),quarter:Xt({values:CNe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:kNe,defaultWidth:"wide"}),day:Xt({values:MNe,defaultWidth:"wide"}),dayPeriod:Xt({values:TNe,defaultWidth:"wide"})},ONe=/^(\d+)e?/i,PNe=/\d+/i,DNe={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},LNe={any:[/^v/,/^n/]},NNe={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},jNe={any:[/1/i,/2/i,/3/i,/4/i]},INe={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},RNe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},zNe={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},BNe={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},FNe={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},WNe={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},HNe={ordinalNumber:Ml({matchPattern:ONe,parsePattern:PNe,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:DNe,defaultMatchWidth:"wide",parsePatterns:LNe,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:NNe,defaultMatchWidth:"wide",parsePatterns:jNe,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:INe,defaultMatchWidth:"wide",parsePatterns:RNe,defaultParseWidth:"any"}),day:Zt({matchPatterns:zNe,defaultMatchWidth:"wide",parsePatterns:BNe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:FNe,defaultMatchWidth:"any",parsePatterns:WNe,defaultParseWidth:"any"})},UNe={code:"nl",formatDistance:mNe,formatLong:xNe,formatRelative:_Ne,localize:ENe,match:HNe,options:{weekStartsOn:1,firstWeekContainsDate:4}},VNe={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"aproximadamente 1 semana",other:"aproximadamente {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"aproximadamente 1 mês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},YNe=function(e,t,n){var r,i=VNe[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"daqui a "+r:"há "+r:r},GNe={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},$Ne={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},qNe={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},XNe={date:Gn({formats:GNe,defaultWidth:"full"}),time:Gn({formats:$Ne,defaultWidth:"full"}),dateTime:Gn({formats:qNe,defaultWidth:"full"})},ZNe={lastWeek:function(e){var t=e.getUTCDay(),n=t===0||t===6?"último":"última";return"'"+n+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},KNe=function(e,t,n,r){var i=ZNe[e];return typeof i=="function"?i(t):i},QNe={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},JNe={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},eje={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},tje={narrow:["d","s","t","q","q","s","s"],short:["dom","seg","ter","qua","qui","sex","sáb"],abbreviated:["dom","seg","ter","qua","qui","sex","sáb"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},nje={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"}},rje={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"}},ije=function(e,t){var n=Number(e);return n+"º"},oje={ordinalNumber:ije,era:Xt({values:QNe,defaultWidth:"wide"}),quarter:Xt({values:JNe,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:eje,defaultWidth:"wide"}),day:Xt({values:tje,defaultWidth:"wide"}),dayPeriod:Xt({values:nje,defaultWidth:"wide",formattingValues:rje,defaultFormattingWidth:"wide"})},aje=/^(\d+)(º|ª)?/i,sje=/\d+/i,lje={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era comum|depois de cristo|era comum)/i},cje={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},uje={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},dje={any:[/1/i,/2/i,/3/i,/4/i]},hje={narrow:/^[jfmasond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},pje={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ab/i,/^mai/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},fje={narrow:/^[dstq]/i,short:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,wide:/^(domingo|segunda-?\s?feira|terça-?\s?feira|quarta-?\s?feira|quinta-?\s?feira|sexta-?\s?feira|s[áa]bado)/i},gje={narrow:[/^d/i,/^s/i,/^t/i,/^q/i,/^q/i,/^s/i,/^s/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[áa]/i]},mje={narrow:/^(a|p|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i,any:/^([ap]\.?\s?m\.?|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i},vje={any:{am:/^a/i,pm:/^p/i,midnight:/^meia/i,noon:/^meio/i,morning:/manh[ãa]/i,afternoon:/tarde/i,evening:/noite/i,night:/madrugada/i}},yje={ordinalNumber:Ml({matchPattern:aje,parsePattern:sje,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:lje,defaultMatchWidth:"wide",parsePatterns:cje,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:uje,defaultMatchWidth:"wide",parsePatterns:dje,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:hje,defaultMatchWidth:"wide",parsePatterns:pje,defaultParseWidth:"any"}),day:Zt({matchPatterns:fje,defaultMatchWidth:"wide",parsePatterns:gje,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:mje,defaultMatchWidth:"any",parsePatterns:vje,defaultParseWidth:"any"})},bje={code:"pt",formatDistance:YNe,formatLong:XNe,formatRelative:KNe,localize:oje,match:yje,options:{weekStartsOn:1,firstWeekContainsDate:4}};function Xv(e,t){if(e.one!==void 0&&t===1)return e.one;var n=t%10,r=t%100;return n===1&&r!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function ga(e){return function(t,n){return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?e.future?Xv(e.future,t):"через "+Xv(e.regular,t):e.past?Xv(e.past,t):Xv(e.regular,t)+" назад":Xv(e.regular,t)}}var xje={lessThanXSeconds:ga({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:ga({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:function(e,t){return t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:ga({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:ga({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:ga({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:ga({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:ga({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:ga({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:ga({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:ga({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:ga({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:ga({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:ga({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:ga({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:ga({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},wje=function(e,t,n){return xje[e](t,n)},_je={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},Sje={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Cje={any:"{{date}}, {{time}}"},kje={date:Gn({formats:_je,defaultWidth:"full"}),time:Gn({formats:Sje,defaultWidth:"full"}),dateTime:Gn({formats:Cje,defaultWidth:"any"})},BI=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function Mje(e){var t=BI[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}function r8(e){var t=BI[e];return e===2?"'во "+t+" в' p":"'в "+t+" в' p"}function Tje(e){var t=BI[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}var Aje={lastWeek:function(e,t,n){var r=e.getUTCDay();return f0(e,t,n)?r8(r):Mje(r)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:function(e,t,n){var r=e.getUTCDay();return f0(e,t,n)?r8(r):Tje(r)},other:"P"},Eje=function(e,t,n,r){var i=Aje[e];return typeof i=="function"?i(t,n,r):i},Oje={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},Pje={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},Dje={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},Lje={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},Nje={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},jje={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},Ije={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},Rje=function(e,t){var n=Number(e),r=t==null?void 0:t.unit,i;return r==="date"?i="-е":r==="week"||r==="minute"||r==="second"?i="-я":i="-й",n+i},zje={ordinalNumber:Rje,era:Xt({values:Oje,defaultWidth:"wide"}),quarter:Xt({values:Pje,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:Dje,defaultWidth:"wide",formattingValues:Lje,defaultFormattingWidth:"wide"}),day:Xt({values:Nje,defaultWidth:"wide"}),dayPeriod:Xt({values:jje,defaultWidth:"any",formattingValues:Ije,defaultFormattingWidth:"wide"})},Bje=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,Fje=/\d+/i,Wje={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},Hje={any:[/^д/i,/^н/i]},Uje={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},Vje={any:[/1/i,/2/i,/3/i,/4/i]},Yje={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},Gje={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},$je={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},qje={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},Xje={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},Zje={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},Kje={ordinalNumber:Ml({matchPattern:Bje,parsePattern:Fje,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:Wje,defaultMatchWidth:"wide",parsePatterns:Hje,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:Uje,defaultMatchWidth:"wide",parsePatterns:Vje,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:Yje,defaultMatchWidth:"wide",parsePatterns:Gje,defaultParseWidth:"any"}),day:Zt({matchPatterns:$je,defaultMatchWidth:"wide",parsePatterns:qje,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:Xje,defaultMatchWidth:"wide",parsePatterns:Zje,defaultParseWidth:"any"})},Qje={code:"ru",formatDistance:wje,formatLong:kje,formatRelative:Eje,localize:zje,match:Kje,options:{weekStartsOn:1,firstWeekContainsDate:1}},Jje={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaşık 1 hafta",other:"yaklaşık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},e3e=function(e,t,n){var r,i=Jje[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?r+" sonra":r+" önce":r},t3e={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},n3e={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},r3e={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},i3e={date:Gn({formats:t3e,defaultWidth:"full"}),time:Gn({formats:n3e,defaultWidth:"full"}),dateTime:Gn({formats:r3e,defaultWidth:"full"})},o3e={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"},a3e=function(e,t,n,r){return o3e[e]},s3e={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},l3e={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},c3e={narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},u3e={narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},d3e={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},h3e={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},p3e=function(e,t){var n=Number(e);return n+"."},f3e={ordinalNumber:p3e,era:Xt({values:s3e,defaultWidth:"wide"}),quarter:Xt({values:l3e,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:Xt({values:c3e,defaultWidth:"wide"}),day:Xt({values:u3e,defaultWidth:"wide"}),dayPeriod:Xt({values:d3e,defaultWidth:"wide",formattingValues:h3e,defaultFormattingWidth:"wide"})},g3e=/^(\d+)(\.)?/i,m3e=/\d+/i,v3e={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},y3e={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},b3e={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},x3e={any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},w3e={narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},_3e={narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},S3e={narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},C3e={narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},k3e={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},M3e={any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},T3e={ordinalNumber:Ml({matchPattern:g3e,parsePattern:m3e,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:v3e,defaultMatchWidth:"wide",parsePatterns:y3e,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:b3e,defaultMatchWidth:"wide",parsePatterns:x3e,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:w3e,defaultMatchWidth:"wide",parsePatterns:_3e,defaultParseWidth:"any"}),day:Zt({matchPatterns:S3e,defaultMatchWidth:"wide",parsePatterns:C3e,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:k3e,defaultMatchWidth:"any",parsePatterns:M3e,defaultParseWidth:"any"})},A3e={code:"tr",formatDistance:e3e,formatLong:i3e,formatRelative:a3e,localize:f3e,match:T3e,options:{weekStartsOn:1,firstWeekContainsDate:1}},E3e={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},O3e=function(e,t,n){var r,i=E3e[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?r+"内":r+"前":r},P3e={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},D3e={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},L3e={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},N3e={date:Gn({formats:P3e,defaultWidth:"full"}),time:Gn({formats:D3e,defaultWidth:"full"}),dateTime:Gn({formats:L3e,defaultWidth:"full"})};function i8(e,t,n){var r="eeee p";return f0(e,t,n)?r:e.getTime()>t.getTime()?"'下个'"+r:"'上个'"+r}var j3e={lastWeek:i8,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:i8,other:"PP p"},I3e=function(e,t,n,r){var i=j3e[e];return typeof i=="function"?i(t,n,r):i},R3e={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},z3e={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},B3e={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},F3e={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},W3e={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},H3e={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},U3e=function(e,t){var n=Number(e);switch(t==null?void 0:t.unit){case"date":return n.toString()+"日";case"hour":return n.toString()+"时";case"minute":return n.toString()+"分";case"second":return n.toString()+"秒";default:return"第 "+n.toString()}},V3e={ordinalNumber:U3e,era:Xt({values:R3e,defaultWidth:"wide"}),quarter:Xt({values:z3e,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Xt({values:B3e,defaultWidth:"wide"}),day:Xt({values:F3e,defaultWidth:"wide"}),dayPeriod:Xt({values:W3e,defaultWidth:"wide",formattingValues:H3e,defaultFormattingWidth:"wide"})},Y3e=/^(第\s*)?\d+(日|时|分|秒)?/i,G3e=/\d+/i,$3e={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},q3e={any:[/^(前)/i,/^(公元)/i]},X3e={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},Z3e={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},K3e={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},Q3e={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},J3e={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},eIe={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},tIe={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},nIe={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},rIe={ordinalNumber:Ml({matchPattern:Y3e,parsePattern:G3e,valueCallback:function(e){return parseInt(e,10)}}),era:Zt({matchPatterns:$3e,defaultMatchWidth:"wide",parsePatterns:q3e,defaultParseWidth:"any"}),quarter:Zt({matchPatterns:X3e,defaultMatchWidth:"wide",parsePatterns:Z3e,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Zt({matchPatterns:K3e,defaultMatchWidth:"wide",parsePatterns:Q3e,defaultParseWidth:"any"}),day:Zt({matchPatterns:J3e,defaultMatchWidth:"wide",parsePatterns:eIe,defaultParseWidth:"any"}),dayPeriod:Zt({matchPatterns:tIe,defaultMatchWidth:"any",parsePatterns:nIe,defaultParseWidth:"any"})},iIe={code:"zh-CN",formatDistance:O3e,formatLong:N3e,formatRelative:I3e,localize:V3e,match:rIe,options:{weekStartsOn:1,firstWeekContainsDate:4}},oIe=Math.ceil,aIe=Math.max;function sIe(e,t,n,r){for(var i=-1,o=aIe(oIe((t-e)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=e,e+=n;return a}var lIe=sIe,cIe=db,uIe=cf,dIe=pC,hIe=Ws;function pIe(e,t,n){if(!hIe(n))return!1;var r=typeof t;return(r=="number"?uIe(n)&&dIe(t,n.length):r=="string"&&t in n)?cIe(n[t],e):!1}var mJ=pIe,fIe=/\s/;function gIe(e){for(var t=e.length;t--&&fIe.test(e.charAt(t)););return t}var mIe=gIe,vIe=mIe,yIe=/^\s+/;function bIe(e){return e&&e.slice(0,vIe(e)+1).replace(yIe,"")}var vJ=bIe,xIe=vJ,o8=Ws,wIe=SC,a8=NaN,_Ie=/^[-+]0x[0-9a-f]+$/i,SIe=/^0b[01]+$/i,CIe=/^0o[0-7]+$/i,kIe=parseInt;function MIe(e){if(typeof e=="number")return e;if(wIe(e))return a8;if(o8(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=o8(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=xIe(e);var n=SIe.test(e);return n||CIe.test(e)?kIe(e.slice(2),n?2:8):_Ie.test(e)?a8:+e}var Xm=MIe,TIe=Xm,s8=1/0,AIe=17976931348623157e292;function EIe(e){if(!e)return e===0?e:0;if(e=TIe(e),e===s8||e===-s8){var t=e<0?-1:1;return t*AIe}return e===e?e:0}var FI=EIe,OIe=lIe,PIe=mJ,ST=FI;function DIe(e){return function(t,n,r){return r&&typeof r!="number"&&PIe(t,n,r)&&(n=r=void 0),t=ST(t),n===void 0?(n=t,t=0):n=ST(n),r=r===void 0?t<n?1:-1:ST(r),OIe(t,n,r,e)}}var LIe=DIe,NIe=LIe,jIe=NIe(),IIe=jIe;const sx=On(IIe),WI=e=>{var t;switch((t=e==null?void 0:e.language)==null?void 0:t.split("-")[0]){case"de":return CPe;case"fr":return ODe;case"es":return tDe;case"it":return lLe;case"ja":return zLe;case"ko":return fNe;case"nl":return UNe;case"pt":return bje;case"ru":return Qje;case"tr":return A3e;case"zh":return iIe;default:return TOe}};sx(4),sx(12),sx(7),sx(24);var ML={exports:{}},yJ={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(yJ);var ei=yJ.exports,TL={exports:{}},AL={exports:{}},bJ={exports:{}};(function(e){function t(n){return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(bJ);var xJ=bJ.exports,EL={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r,i){if(i.length<r)throw new TypeError(r+" argument"+(r>1?"s":"")+" required, but only "+i.length+" present")}e.exports=t.default})(EL,EL.exports);var Oa=EL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(xJ),i=n(Oa);function o(a){return(0,i.default)(1,arguments),a instanceof Date||(0,r.default)(a)==="object"&&Object.prototype.toString.call(a)==="[object Date]"}e.exports=t.default})(AL,AL.exports);var RIe=AL.exports,OL={exports:{}};(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(xJ),i=n(Oa);function o(a){(0,i.default)(1,arguments);var s=Object.prototype.toString.call(a);return a instanceof Date||(0,r.default)(a)==="object"&&s==="[object Date]"?new Date(a.getTime()):typeof a=="number"||s==="[object Number]"?new Date(a):((typeof a=="string"||s==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}e.exports=t.default})(OL,OL.exports);var gu=OL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(RIe),i=n(gu),o=n(Oa);function a(s){if((0,o.default)(1,arguments),!(0,r.default)(s)&&typeof s!="number")return!1;var c=(0,i.default)(s);return!isNaN(Number(c))}e.exports=t.default})(TL,TL.exports);var zIe=TL.exports,PL={exports:{}},DL={exports:{}},LL={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){if(r===null||r===!0||r===!1)return NaN;var i=Number(r);return isNaN(i)?i:i<0?Math.ceil(i):Math.floor(i)}e.exports=t.default})(LL,LL.exports);var hf=LL.exports;const BIe=On(hf);(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(hf),i=n(gu),o=n(Oa);function a(s,c){(0,o.default)(2,arguments);var l=(0,i.default)(s).getTime(),g=(0,r.default)(c);return new Date(l+g)}e.exports=t.default})(DL,DL.exports);var FIe=DL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(FIe),i=n(Oa),o=n(hf);function a(s,c){(0,i.default)(2,arguments);var l=(0,o.default)(c);return(0,r.default)(s,-l)}e.exports=t.default})(PL,PL.exports);var WIe=PL.exports,NL={exports:{}},jL={exports:{}};(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(gu),i=n(Oa),o=864e5;function a(s){(0,i.default)(1,arguments);var c=(0,r.default)(s),l=c.getTime();c.setUTCMonth(0,1),c.setUTCHours(0,0,0,0);var g=c.getTime(),b=l-g;return Math.floor(b/o)+1}e.exports=t.default})(jL,jL.exports);var HIe=jL.exports,IL={exports:{}},RL={exports:{}};(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(gu),i=n(Oa);function o(a){(0,i.default)(1,arguments);var s=1,c=(0,r.default)(a),l=c.getUTCDay(),g=(l<s?7:0)+l-s;return c.setUTCDate(c.getUTCDate()-g),c.setUTCHours(0,0,0,0),c}e.exports=t.default})(RL,RL.exports);var HI=RL.exports,zL={exports:{}},BL={exports:{}};(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(gu),i=n(Oa),o=n(HI);function a(s){(0,i.default)(1,arguments);var c=(0,r.default)(s),l=c.getUTCFullYear(),g=new Date(0);g.setUTCFullYear(l+1,0,4),g.setUTCHours(0,0,0,0);var b=(0,o.default)(g),u=new Date(0);u.setUTCFullYear(l,0,4),u.setUTCHours(0,0,0,0);var z=(0,o.default)(u);return c.getTime()>=b.getTime()?l+1:c.getTime()>=z.getTime()?l:l-1}e.exports=t.default})(BL,BL.exports);var wJ=BL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(wJ),i=n(HI),o=n(Oa);function a(s){(0,o.default)(1,arguments);var c=(0,r.default)(s),l=new Date(0);l.setUTCFullYear(c,0,4),l.setUTCHours(0,0,0,0);var g=(0,i.default)(l);return g}e.exports=t.default})(zL,zL.exports);var UIe=zL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r=n(gu),i=n(HI),o=n(UIe),a=n(Oa),s=6048e5;function c(l){(0,a.default)(1,arguments);var g=(0,r.default)(l),b=(0,i.default)(g).getTime()-(0,o.default)(g).getTime();return Math.round(b/s)+1}e.exports=t.default})(IL,IL.exports);var VIe=IL.exports,FL={exports:{}},WL={exports:{}},pf={};Object.defineProperty(pf,"__esModule",{value:!0});pf.getDefaultOptions=YIe;pf.setDefaultOptions=GIe;var _J={};function YIe(){return _J}function GIe(e){_J=e}(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=n(gu),i=n(Oa),o=n(hf),a=pf;function s(c,l){var g,b,u,z,w,x,C,H;(0,i.default)(1,arguments);var G=(0,a.getDefaultOptions)(),$=(0,o.default)((g=(b=(u=(z=l==null?void 0:l.weekStartsOn)!==null&&z!==void 0?z:l==null||(w=l.locale)===null||w===void 0||(x=w.options)===null||x===void 0?void 0:x.weekStartsOn)!==null&&u!==void 0?u:G.weekStartsOn)!==null&&b!==void 0?b:(C=G.locale)===null||C===void 0||(H=C.options)===null||H===void 0?void 0:H.weekStartsOn)!==null&&g!==void 0?g:0);if(!($>=0&&$<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var U=(0,r.default)(c),B=U.getUTCDay(),T=(B<$?7:0)+B-$;return U.setUTCDate(U.getUTCDate()-T),U.setUTCHours(0,0,0,0),U}e.exports=t.default})(WL,WL.exports);var UI=WL.exports,HL={exports:{}},UL={exports:{}};(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r=n(gu),i=n(Oa),o=n(UI),a=n(hf),s=pf;function c(l,g){var b,u,z,w,x,C,H,G;(0,i.default)(1,arguments);var $=(0,r.default)(l),U=$.getUTCFullYear(),B=(0,s.getDefaultOptions)(),T=(0,a.default)((b=(u=(z=(w=g==null?void 0:g.firstWeekContainsDate)!==null&&w!==void 0?w:g==null||(x=g.locale)===null||x===void 0||(C=x.options)===null||C===void 0?void 0:C.firstWeekContainsDate)!==null&&z!==void 0?z:B.firstWeekContainsDate)!==null&&u!==void 0?u:(H=B.locale)===null||H===void 0||(G=H.options)===null||G===void 0?void 0:G.firstWeekContainsDate)!==null&&b!==void 0?b:1);if(!(T>=1&&T<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var P=new Date(0);P.setUTCFullYear(U+1,0,T),P.setUTCHours(0,0,0,0);var f=(0,o.default)(P,g),y=new Date(0);y.setUTCFullYear(U,0,T),y.setUTCHours(0,0,0,0);var d=(0,o.default)(y,g);return $.getTime()>=f.getTime()?U+1:$.getTime()>=d.getTime()?U:U-1}e.exports=t.default})(UL,UL.exports);var SJ=UL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r=n(SJ),i=n(Oa),o=n(UI),a=n(hf),s=pf;function c(l,g){var b,u,z,w,x,C,H,G;(0,i.default)(1,arguments);var $=(0,s.getDefaultOptions)(),U=(0,a.default)((b=(u=(z=(w=g==null?void 0:g.firstWeekContainsDate)!==null&&w!==void 0?w:g==null||(x=g.locale)===null||x===void 0||(C=x.options)===null||C===void 0?void 0:C.firstWeekContainsDate)!==null&&z!==void 0?z:$.firstWeekContainsDate)!==null&&u!==void 0?u:(H=$.locale)===null||H===void 0||(G=H.options)===null||G===void 0?void 0:G.firstWeekContainsDate)!==null&&b!==void 0?b:1),B=(0,r.default)(l,g),T=new Date(0);T.setUTCFullYear(B,0,U),T.setUTCHours(0,0,0,0);var P=(0,o.default)(T,g);return P}e.exports=t.default})(HL,HL.exports);var $Ie=HL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r=n(gu),i=n(UI),o=n($Ie),a=n(Oa),s=6048e5;function c(l,g){(0,a.default)(1,arguments);var b=(0,r.default)(l),u=(0,i.default)(b,g).getTime()-(0,o.default)(b,g).getTime();return Math.round(u/s)+1}e.exports=t.default})(FL,FL.exports);var qIe=FL.exports,VL={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r,i){for(var o=r<0?"-":"",a=Math.abs(r).toString();a.length<i;)a="0"+a;return o+a}e.exports=t.default})(VL,VL.exports);var CJ=VL.exports,YL={exports:{}};(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(CJ),i={y:function(a,s){var c=a.getUTCFullYear(),l=c>0?c:1-c;return(0,r.default)(s==="yy"?l%100:l,s.length)},M:function(a,s){var c=a.getUTCMonth();return s==="M"?String(c+1):(0,r.default)(c+1,2)},d:function(a,s){return(0,r.default)(a.getUTCDate(),s.length)},a:function(a,s){var c=a.getUTCHours()/12>=1?"pm":"am";switch(s){case"a":case"aa":return c.toUpperCase();case"aaa":return c;case"aaaaa":return c[0];case"aaaa":default:return c==="am"?"a.m.":"p.m."}},h:function(a,s){return(0,r.default)(a.getUTCHours()%12||12,s.length)},H:function(a,s){return(0,r.default)(a.getUTCHours(),s.length)},m:function(a,s){return(0,r.default)(a.getUTCMinutes(),s.length)},s:function(a,s){return(0,r.default)(a.getUTCSeconds(),s.length)},S:function(a,s){var c=s.length,l=a.getUTCMilliseconds(),g=Math.floor(l*Math.pow(10,c-3));return(0,r.default)(g,s.length)}},o=i;t.default=o,e.exports=t.default})(YL,YL.exports);var XIe=YL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(HIe),i=n(VIe),o=n(wJ),a=n(qIe),s=n(SJ),c=n(CJ),l=n(XIe),g={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},b={G:function(C,H,G){var $=C.getUTCFullYear()>0?1:0;switch(H){case"G":case"GG":case"GGG":return G.era($,{width:"abbreviated"});case"GGGGG":return G.era($,{width:"narrow"});case"GGGG":default:return G.era($,{width:"wide"})}},y:function(C,H,G){if(H==="yo"){var $=C.getUTCFullYear(),U=$>0?$:1-$;return G.ordinalNumber(U,{unit:"year"})}return l.default.y(C,H)},Y:function(C,H,G,$){var U=(0,s.default)(C,$),B=U>0?U:1-U;if(H==="YY"){var T=B%100;return(0,c.default)(T,2)}return H==="Yo"?G.ordinalNumber(B,{unit:"year"}):(0,c.default)(B,H.length)},R:function(C,H){var G=(0,o.default)(C);return(0,c.default)(G,H.length)},u:function(C,H){var G=C.getUTCFullYear();return(0,c.default)(G,H.length)},Q:function(C,H,G){var $=Math.ceil((C.getUTCMonth()+1)/3);switch(H){case"Q":return String($);case"QQ":return(0,c.default)($,2);case"Qo":return G.ordinalNumber($,{unit:"quarter"});case"QQQ":return G.quarter($,{width:"abbreviated",context:"formatting"});case"QQQQQ":return G.quarter($,{width:"narrow",context:"formatting"});case"QQQQ":default:return G.quarter($,{width:"wide",context:"formatting"})}},q:function(C,H,G){var $=Math.ceil((C.getUTCMonth()+1)/3);switch(H){case"q":return String($);case"qq":return(0,c.default)($,2);case"qo":return G.ordinalNumber($,{unit:"quarter"});case"qqq":return G.quarter($,{width:"abbreviated",context:"standalone"});case"qqqqq":return G.quarter($,{width:"narrow",context:"standalone"});case"qqqq":default:return G.quarter($,{width:"wide",context:"standalone"})}},M:function(C,H,G){var $=C.getUTCMonth();switch(H){case"M":case"MM":return l.default.M(C,H);case"Mo":return G.ordinalNumber($+1,{unit:"month"});case"MMM":return G.month($,{width:"abbreviated",context:"formatting"});case"MMMMM":return G.month($,{width:"narrow",context:"formatting"});case"MMMM":default:return G.month($,{width:"wide",context:"formatting"})}},L:function(C,H,G){var $=C.getUTCMonth();switch(H){case"L":return String($+1);case"LL":return(0,c.default)($+1,2);case"Lo":return G.ordinalNumber($+1,{unit:"month"});case"LLL":return G.month($,{width:"abbreviated",context:"standalone"});case"LLLLL":return G.month($,{width:"narrow",context:"standalone"});case"LLLL":default:return G.month($,{width:"wide",context:"standalone"})}},w:function(C,H,G,$){var U=(0,a.default)(C,$);return H==="wo"?G.ordinalNumber(U,{unit:"week"}):(0,c.default)(U,H.length)},I:function(C,H,G){var $=(0,i.default)(C);return H==="Io"?G.ordinalNumber($,{unit:"week"}):(0,c.default)($,H.length)},d:function(C,H,G){return H==="do"?G.ordinalNumber(C.getUTCDate(),{unit:"date"}):l.default.d(C,H)},D:function(C,H,G){var $=(0,r.default)(C);return H==="Do"?G.ordinalNumber($,{unit:"dayOfYear"}):(0,c.default)($,H.length)},E:function(C,H,G){var $=C.getUTCDay();switch(H){case"E":case"EE":case"EEE":return G.day($,{width:"abbreviated",context:"formatting"});case"EEEEE":return G.day($,{width:"narrow",context:"formatting"});case"EEEEEE":return G.day($,{width:"short",context:"formatting"});case"EEEE":default:return G.day($,{width:"wide",context:"formatting"})}},e:function(C,H,G,$){var U=C.getUTCDay(),B=(U-$.weekStartsOn+8)%7||7;switch(H){case"e":return String(B);case"ee":return(0,c.default)(B,2);case"eo":return G.ordinalNumber(B,{unit:"day"});case"eee":return G.day(U,{width:"abbreviated",context:"formatting"});case"eeeee":return G.day(U,{width:"narrow",context:"formatting"});case"eeeeee":return G.day(U,{width:"short",context:"formatting"});case"eeee":default:return G.day(U,{width:"wide",context:"formatting"})}},c:function(C,H,G,$){var U=C.getUTCDay(),B=(U-$.weekStartsOn+8)%7||7;switch(H){case"c":return String(B);case"cc":return(0,c.default)(B,H.length);case"co":return G.ordinalNumber(B,{unit:"day"});case"ccc":return G.day(U,{width:"abbreviated",context:"standalone"});case"ccccc":return G.day(U,{width:"narrow",context:"standalone"});case"cccccc":return G.day(U,{width:"short",context:"standalone"});case"cccc":default:return G.day(U,{width:"wide",context:"standalone"})}},i:function(C,H,G){var $=C.getUTCDay(),U=$===0?7:$;switch(H){case"i":return String(U);case"ii":return(0,c.default)(U,H.length);case"io":return G.ordinalNumber(U,{unit:"day"});case"iii":return G.day($,{width:"abbreviated",context:"formatting"});case"iiiii":return G.day($,{width:"narrow",context:"formatting"});case"iiiiii":return G.day($,{width:"short",context:"formatting"});case"iiii":default:return G.day($,{width:"wide",context:"formatting"})}},a:function(C,H,G){var $=C.getUTCHours(),U=$/12>=1?"pm":"am";switch(H){case"a":case"aa":return G.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"aaa":return G.dayPeriod(U,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return G.dayPeriod(U,{width:"narrow",context:"formatting"});case"aaaa":default:return G.dayPeriod(U,{width:"wide",context:"formatting"})}},b:function(C,H,G){var $=C.getUTCHours(),U;switch($===12?U=g.noon:$===0?U=g.midnight:U=$/12>=1?"pm":"am",H){case"b":case"bb":return G.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"bbb":return G.dayPeriod(U,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return G.dayPeriod(U,{width:"narrow",context:"formatting"});case"bbbb":default:return G.dayPeriod(U,{width:"wide",context:"formatting"})}},B:function(C,H,G){var $=C.getUTCHours(),U;switch($>=17?U=g.evening:$>=12?U=g.afternoon:$>=4?U=g.morning:U=g.night,H){case"B":case"BB":case"BBB":return G.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"BBBBB":return G.dayPeriod(U,{width:"narrow",context:"formatting"});case"BBBB":default:return G.dayPeriod(U,{width:"wide",context:"formatting"})}},h:function(C,H,G){if(H==="ho"){var $=C.getUTCHours()%12;return $===0&&($=12),G.ordinalNumber($,{unit:"hour"})}return l.default.h(C,H)},H:function(C,H,G){return H==="Ho"?G.ordinalNumber(C.getUTCHours(),{unit:"hour"}):l.default.H(C,H)},K:function(C,H,G){var $=C.getUTCHours()%12;return H==="Ko"?G.ordinalNumber($,{unit:"hour"}):(0,c.default)($,H.length)},k:function(C,H,G){var $=C.getUTCHours();return $===0&&($=24),H==="ko"?G.ordinalNumber($,{unit:"hour"}):(0,c.default)($,H.length)},m:function(C,H,G){return H==="mo"?G.ordinalNumber(C.getUTCMinutes(),{unit:"minute"}):l.default.m(C,H)},s:function(C,H,G){return H==="so"?G.ordinalNumber(C.getUTCSeconds(),{unit:"second"}):l.default.s(C,H)},S:function(C,H){return l.default.S(C,H)},X:function(C,H,G,$){var U=$._originalDate||C,B=U.getTimezoneOffset();if(B===0)return"Z";switch(H){case"X":return z(B);case"XXXX":case"XX":return w(B);case"XXXXX":case"XXX":default:return w(B,":")}},x:function(C,H,G,$){var U=$._originalDate||C,B=U.getTimezoneOffset();switch(H){case"x":return z(B);case"xxxx":case"xx":return w(B);case"xxxxx":case"xxx":default:return w(B,":")}},O:function(C,H,G,$){var U=$._originalDate||C,B=U.getTimezoneOffset();switch(H){case"O":case"OO":case"OOO":return"GMT"+u(B,":");case"OOOO":default:return"GMT"+w(B,":")}},z:function(C,H,G,$){var U=$._originalDate||C,B=U.getTimezoneOffset();switch(H){case"z":case"zz":case"zzz":return"GMT"+u(B,":");case"zzzz":default:return"GMT"+w(B,":")}},t:function(C,H,G,$){var U=$._originalDate||C,B=Math.floor(U.getTime()/1e3);return(0,c.default)(B,H.length)},T:function(C,H,G,$){var U=$._originalDate||C,B=U.getTime();return(0,c.default)(B,H.length)}};function u(C,H){var G=C>0?"-":"+",$=Math.abs(C),U=Math.floor($/60),B=$%60;if(B===0)return G+String(U);var T=H;return G+String(U)+T+(0,c.default)(B,2)}function z(C,H){if(C%60===0){var G=C>0?"-":"+";return G+(0,c.default)(Math.abs(C)/60,2)}return w(C,H)}function w(C,H){var G=H||"",$=C>0?"-":"+",U=Math.abs(C),B=(0,c.default)(Math.floor(U/60),2),T=(0,c.default)(U%60,2);return $+B+G+T}var x=b;t.default=x,e.exports=t.default})(NL,NL.exports);var ZIe=NL.exports,GL={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(s,c){switch(s){case"P":return c.date({width:"short"});case"PP":return c.date({width:"medium"});case"PPP":return c.date({width:"long"});case"PPPP":default:return c.date({width:"full"})}},r=function(s,c){switch(s){case"p":return c.time({width:"short"});case"pp":return c.time({width:"medium"});case"ppp":return c.time({width:"long"});case"pppp":default:return c.time({width:"full"})}},i=function(s,c){var l=s.match(/(P+)(p+)?/)||[],g=l[1],b=l[2];if(!b)return n(s,c);var u;switch(g){case"P":u=c.dateTime({width:"short"});break;case"PP":u=c.dateTime({width:"medium"});break;case"PPP":u=c.dateTime({width:"long"});break;case"PPPP":default:u=c.dateTime({width:"full"});break}return u.replace("{{date}}",n(g,c)).replace("{{time}}",r(b,c))},o={p:r,P:i},a=o;t.default=a,e.exports=t.default})(GL,GL.exports);var KIe=GL.exports,$L={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){var i=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return i.setUTCFullYear(r.getFullYear()),r.getTime()-i.getTime()}e.exports=t.default})($L,$L.exports);var kJ=$L.exports;const l8=On(kJ);var xb={};Object.defineProperty(xb,"__esModule",{value:!0});xb.isProtectedDayOfYearToken=e5e;xb.isProtectedWeekYearToken=t5e;xb.throwProtectedError=n5e;var QIe=["D","DD"],JIe=["YY","YYYY"];function e5e(e){return QIe.indexOf(e)!==-1}function t5e(e){return JIe.indexOf(e)!==-1}function n5e(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var qL={exports:{}},XL={exports:{}},ZL={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},r=function(o,a,s){var c,l=n[o];return typeof l=="string"?c=l:a===1?c=l.one:c=l.other.replace("{{count}}",a.toString()),s!=null&&s.addSuffix?s.comparison&&s.comparison>0?"in "+c:c+" ago":c},i=r;t.default=i,e.exports=t.default})(ZL,ZL.exports);var r5e=ZL.exports,KL={exports:{}},QL={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){return function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=i.width?String(i.width):r.defaultWidth,a=r.formats[o]||r.formats[r.defaultWidth];return a}}e.exports=t.default})(QL,QL.exports);var i5e=QL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(i5e),i={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},o={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},a={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},s={date:(0,r.default)({formats:i,defaultWidth:"full"}),time:(0,r.default)({formats:o,defaultWidth:"full"}),dateTime:(0,r.default)({formats:a,defaultWidth:"full"})},c=s;t.default=c,e.exports=t.default})(KL,KL.exports);var o5e=KL.exports,JL={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},r=function(o,a,s,c){return n[o]},i=r;t.default=i,e.exports=t.default})(JL,JL.exports);var a5e=JL.exports,eN={exports:{}},tN={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){return function(i,o){var a=o!=null&&o.context?String(o.context):"standalone",s;if(a==="formatting"&&r.formattingValues){var c=r.defaultFormattingWidth||r.defaultWidth,l=o!=null&&o.width?String(o.width):c;s=r.formattingValues[l]||r.formattingValues[c]}else{var g=r.defaultWidth,b=o!=null&&o.width?String(o.width):r.defaultWidth;s=r.values[b]||r.values[g]}var u=r.argumentCallback?r.argumentCallback(i):i;return s[u]}}e.exports=t.default})(tN,tN.exports);var s5e=tN.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(s5e),i={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},o={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},a={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},s={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},c={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},l={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},g=function(z,w){var x=Number(z),C=x%100;if(C>20||C<10)switch(C%10){case 1:return x+"st";case 2:return x+"nd";case 3:return x+"rd"}return x+"th"},b={ordinalNumber:g,era:(0,r.default)({values:i,defaultWidth:"wide"}),quarter:(0,r.default)({values:o,defaultWidth:"wide",argumentCallback:function(z){return z-1}}),month:(0,r.default)({values:a,defaultWidth:"wide"}),day:(0,r.default)({values:s,defaultWidth:"wide"}),dayPeriod:(0,r.default)({values:c,defaultWidth:"wide",formattingValues:l,defaultFormattingWidth:"wide"})},u=b;t.default=u,e.exports=t.default})(eN,eN.exports);var l5e=eN.exports,nN={exports:{}},rN={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(o){return function(a){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=s.width,l=c&&o.matchPatterns[c]||o.matchPatterns[o.defaultMatchWidth],g=a.match(l);if(!g)return null;var b=g[0],u=c&&o.parsePatterns[c]||o.parsePatterns[o.defaultParseWidth],z=Array.isArray(u)?i(u,function(C){return C.test(b)}):r(u,function(C){return C.test(b)}),w;w=o.valueCallback?o.valueCallback(z):z,w=s.valueCallback?s.valueCallback(w):w;var x=a.slice(b.length);return{value:w,rest:x}}}function r(o,a){for(var s in o)if(o.hasOwnProperty(s)&&a(o[s]))return s}function i(o,a){for(var s=0;s<o.length;s++)if(a(o[s]))return s}e.exports=t.default})(rN,rN.exports);var c5e=rN.exports,iN={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){return function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=i.match(r.matchPattern);if(!a)return null;var s=a[0],c=i.match(r.parsePattern);if(!c)return null;var l=r.valueCallback?r.valueCallback(c[0]):c[0];l=o.valueCallback?o.valueCallback(l):l;var g=i.slice(s.length);return{value:l,rest:g}}}e.exports=t.default})(iN,iN.exports);var u5e=iN.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(c5e),i=n(u5e),o=/^(\d+)(th|st|nd|rd)?/i,a=/\d+/i,s={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},c={any:[/^b/i,/^(a|c)/i]},l={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},g={any:[/1/i,/2/i,/3/i,/4/i]},b={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},u={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},z={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},w={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},x={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},C={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},H={ordinalNumber:(0,i.default)({matchPattern:o,parsePattern:a,valueCallback:function($){return parseInt($,10)}}),era:(0,r.default)({matchPatterns:s,defaultMatchWidth:"wide",parsePatterns:c,defaultParseWidth:"any"}),quarter:(0,r.default)({matchPatterns:l,defaultMatchWidth:"wide",parsePatterns:g,defaultParseWidth:"any",valueCallback:function($){return $+1}}),month:(0,r.default)({matchPatterns:b,defaultMatchWidth:"wide",parsePatterns:u,defaultParseWidth:"any"}),day:(0,r.default)({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:w,defaultParseWidth:"any"}),dayPeriod:(0,r.default)({matchPatterns:x,defaultMatchWidth:"any",parsePatterns:C,defaultParseWidth:"any"})},G=H;t.default=G,e.exports=t.default})(nN,nN.exports);var d5e=nN.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(r5e),i=n(o5e),o=n(a5e),a=n(l5e),s=n(d5e),c={code:"en-US",formatDistance:r.default,formatLong:i.default,formatRelative:o.default,localize:a.default,match:s.default,options:{weekStartsOn:0,firstWeekContainsDate:1}},l=c;t.default=l,e.exports=t.default})(XL,XL.exports);var h5e=XL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(h5e),i=r.default;t.default=i,e.exports=t.default})(qL,qL.exports);var p5e=qL.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=$;var r=n(zIe),i=n(WIe),o=n(gu),a=n(ZIe),s=n(KIe),c=n(kJ),l=xb,g=n(hf),b=n(Oa),u=pf,z=n(p5e),w=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,x=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,C=/^'([^]*?)'?$/,H=/''/g,G=/[a-zA-Z]/;function $(B,T,P){var f,y,d,h,m,O,M,D,Y,X,V,R,I,E,A,v,k,S;(0,b.default)(2,arguments);var _=String(T),F=(0,u.getDefaultOptions)(),j=(f=(y=P==null?void 0:P.locale)!==null&&y!==void 0?y:F.locale)!==null&&f!==void 0?f:z.default,p=(0,g.default)((d=(h=(m=(O=P==null?void 0:P.firstWeekContainsDate)!==null&&O!==void 0?O:P==null||(M=P.locale)===null||M===void 0||(D=M.options)===null||D===void 0?void 0:D.firstWeekContainsDate)!==null&&m!==void 0?m:F.firstWeekContainsDate)!==null&&h!==void 0?h:(Y=F.locale)===null||Y===void 0||(X=Y.options)===null||X===void 0?void 0:X.firstWeekContainsDate)!==null&&d!==void 0?d:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var N=(0,g.default)((V=(R=(I=(E=P==null?void 0:P.weekStartsOn)!==null&&E!==void 0?E:P==null||(A=P.locale)===null||A===void 0||(v=A.options)===null||v===void 0?void 0:v.weekStartsOn)!==null&&I!==void 0?I:F.weekStartsOn)!==null&&R!==void 0?R:(k=F.locale)===null||k===void 0||(S=k.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&V!==void 0?V:0);if(!(N>=0&&N<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!j.localize)throw new RangeError("locale must contain localize property");if(!j.formatLong)throw new RangeError("locale must contain formatLong property");var q=(0,o.default)(B);if(!(0,r.default)(q))throw new RangeError("Invalid time value");var Q=(0,c.default)(q),W=(0,i.default)(q,Q),Z={firstWeekContainsDate:p,weekStartsOn:N,locale:j,_originalDate:q},J=_.match(x).map(function(ie){var oe=ie[0];if(oe==="p"||oe==="P"){var te=s.default[oe];return te(ie,j.formatLong)}return ie}).join("").match(w).map(function(ie){if(ie==="''")return"'";var oe=ie[0];if(oe==="'")return U(ie);var te=a.default[oe];if(te)return!(P!=null&&P.useAdditionalWeekYearTokens)&&(0,l.isProtectedWeekYearToken)(ie)&&(0,l.throwProtectedError)(ie,T,String(B)),!(P!=null&&P.useAdditionalDayOfYearTokens)&&(0,l.isProtectedDayOfYearToken)(ie)&&(0,l.throwProtectedError)(ie,T,String(B)),te(W,ie,j.localize,Z);if(oe.match(G))throw new RangeError("Format string contains an unescaped latin alphabet character `"+oe+"`");return ie}).join("");return J}function U(B){var T=B.match(C);return T?T[1].replace(H,"'"):B}e.exports=t.default})(ML,ML.exports);var f5e=ML.exports;const g5e=On(f5e);function c8(e,t,n){var r=y5e(e,n.timeZone,n.locale);return r.formatToParts?m5e(r,t):v5e(r,t)}function m5e(e,t){for(var n=e.formatToParts(t),r=n.length-1;r>=0;--r)if(n[r].type==="timeZoneName")return n[r].value}function v5e(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}function y5e(e,t,n){if(n&&!n.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function b5e(e,t){var n=S5e(t);return n.formatToParts?w5e(n,e):_5e(n,e)}var x5e={year:0,month:1,day:2,hour:3,minute:4,second:5};function w5e(e,t){try{for(var n=e.formatToParts(t),r=[],i=0;i<n.length;i++){var o=x5e[n[i].type];o>=0&&(r[o]=parseInt(n[i].value,10))}return r}catch(a){if(a instanceof RangeError)return[NaN];throw a}}function _5e(e,t){var n=e.format(t),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}var CT={};function S5e(e){if(!CT[e]){var t=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n=t==="06/25/2014, 00:00:00"||t==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";CT[e]=n?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return CT[e]}function MJ(e,t,n,r,i,o,a){var s=new Date(0);return s.setUTCFullYear(e,t,n),s.setUTCHours(r,i,o,a),s}var u8=36e5,C5e=6e4,kT={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function VI(e,t,n){var r,i;if(!e||(r=kT.timezoneZ.exec(e),r))return 0;var o;if(r=kT.timezoneHH.exec(e),r)return o=parseInt(r[1],10),d8(o)?-(o*u8):NaN;if(r=kT.timezoneHHMM.exec(e),r){o=parseInt(r[2],10);var a=parseInt(r[3],10);return d8(o,a)?(i=Math.abs(o)*u8+a*C5e,r[1]==="+"?-i:i):NaN}if(T5e(e)){t=new Date(t||Date.now());var s=n?t:k5e(t),c=oN(s,e),l=n?c:M5e(t,c,e);return-l}return NaN}function k5e(e){return MJ(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function oN(e,t){var n=b5e(e,t),r=MJ(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),i=e.getTime(),o=i%1e3;return i-=o>=0?o:1e3+o,r-i}function M5e(e,t,n){var r=e.getTime(),i=r-t,o=oN(new Date(i),n);if(t===o)return t;i-=o-t;var a=oN(new Date(i),n);return o===a?o:Math.max(o,a)}function d8(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var h8={};function T5e(e){if(h8[e])return!0;try{return h8[e]=!0,!0}catch{return!1}}var A5e=60*1e3,E5e={X:function(e,t,n,r){var i=MT(r.timeZone,e);if(i===0)return"Z";switch(t){case"X":return p8(i);case"XXXX":case"XX":return wg(i);case"XXXXX":case"XXX":default:return wg(i,":")}},x:function(e,t,n,r){var i=MT(r.timeZone,e);switch(t){case"x":return p8(i);case"xxxx":case"xx":return wg(i);case"xxxxx":case"xxx":default:return wg(i,":")}},O:function(e,t,n,r){var i=MT(r.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+O5e(i,":");case"OOOO":default:return"GMT"+wg(i,":")}},z:function(e,t,n,r){switch(t){case"z":case"zz":case"zzz":return c8("short",e,r);case"zzzz":default:return c8("long",e,r)}}};function MT(e,t){var n=e?VI(e,t,!0)/A5e:t.getTimezoneOffset();if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function g_(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}function wg(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e),o=g_(Math.floor(i/60),2),a=g_(Math.floor(i%60),2);return r+o+n+a}function p8(e,t){if(e%60===0){var n=e>0?"-":"+";return n+g_(Math.abs(e)/60,2)}return wg(e,t)}function O5e(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(o===0)return n+String(i);var a=t;return n+String(i)+a+g_(o,2)}var P5e=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,TT=36e5,f8=6e4,D5e=2,Sa={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:P5e};function TJ(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);var n=t||{},r=n.additionalDigits==null?D5e:BIe(n.additionalDigits);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(!(typeof e=="string"||Object.prototype.toString.call(e)==="[object String]"))return new Date(NaN);var i=L5e(e),o=N5e(i.date,r),a=o.year,s=o.restDateString,c=j5e(s,a);if(isNaN(c))return new Date(NaN);if(c){var l=c.getTime(),g=0,b;if(i.time&&(g=I5e(i.time),isNaN(g)))return new Date(NaN);if(i.timeZone||n.timeZone){if(b=VI(i.timeZone||n.timeZone,new Date(l+g)),isNaN(b))return new Date(NaN)}else b=l8(new Date(l+g)),b=l8(new Date(l+g+b));return new Date(l+g+b)}else return new Date(NaN)}function L5e(e){var t={},n=Sa.dateTimePattern.exec(e),r;if(n?(t.date=n[1],r=n[3]):(n=Sa.datePattern.exec(e),n?(t.date=n[1],r=n[2]):(t.date=null,r=e)),r){var i=Sa.timeZone.exec(r);i?(t.time=r.replace(i[1],""),t.timeZone=i[1].trim()):t.time=r}return t}function N5e(e,t){var n=Sa.YYY[t],r=Sa.YYYYY[t],i;if(i=Sa.YYYY.exec(e)||r.exec(e),i){var o=i[1];return{year:parseInt(o,10),restDateString:e.slice(o.length)}}if(i=Sa.YY.exec(e)||n.exec(e),i){var a=i[1];return{year:parseInt(a,10)*100,restDateString:e.slice(a.length)}}return{year:null}}function j5e(e,t){if(t===null)return null;var n,r,i,o;if(e.length===0)return r=new Date(0),r.setUTCFullYear(t),r;if(n=Sa.MM.exec(e),n)return r=new Date(0),i=parseInt(n[1],10)-1,m8(t,i)?(r.setUTCFullYear(t,i),r):new Date(NaN);if(n=Sa.DDD.exec(e),n){r=new Date(0);var a=parseInt(n[1],10);return B5e(t,a)?(r.setUTCFullYear(t,0,a),r):new Date(NaN)}if(n=Sa.MMDD.exec(e),n){r=new Date(0),i=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return m8(t,i,s)?(r.setUTCFullYear(t,i,s),r):new Date(NaN)}if(n=Sa.Www.exec(e),n)return o=parseInt(n[1],10)-1,v8(t,o)?g8(t,o):new Date(NaN);if(n=Sa.WwwD.exec(e),n){o=parseInt(n[1],10)-1;var c=parseInt(n[2],10)-1;return v8(t,o,c)?g8(t,o,c):new Date(NaN)}return null}function I5e(e){var t,n,r;if(t=Sa.HH.exec(e),t)return n=parseFloat(t[1].replace(",",".")),AT(n)?n%24*TT:NaN;if(t=Sa.HHMM.exec(e),t)return n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")),AT(n,r)?n%24*TT+r*f8:NaN;if(t=Sa.HHMMSS.exec(e),t){n=parseInt(t[1],10),r=parseInt(t[2],10);var i=parseFloat(t[3].replace(",","."));return AT(n,r,i)?n%24*TT+r*f8+i*1e3:NaN}return null}function g8(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var i=r.getUTCDay()||7,o=t*7+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}var R5e=[31,28,31,30,31,30,31,31,30,31,30,31],z5e=[31,29,31,30,31,30,31,31,30,31,30,31];function AJ(e){return e%400===0||e%4===0&&e%100!==0}function m8(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;var r=AJ(e);if(r&&n>z5e[t]||!r&&n>R5e[t])return!1}return!0}function B5e(e,t){if(t<1)return!1;var n=AJ(e);return!(n&&t>366||!n&&t>365)}function v8(e,t,n){return!(t<0||t>52||n!=null&&(n<0||n>6))}function AT(e,t,n){return!(e!=null&&(e<0||e>=25)||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}var F5e=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function EJ(e,t,n){var r=String(t),i=n||{},o=r.match(F5e);if(o){var a=TJ(i.originalDate||e,i);r=o.reduce(function(s,c){if(c[0]==="'")return s;var l=s.indexOf(c),g=s[l-1]==="'",b=s.replace(c,"'"+E5e[c[0]](a,c,null,i)+"'");return g?b.substring(0,l-1)+b.substring(l+1):b},r)}return g5e(e,r,i)}function sh(e,t,n){const r=new RegExp("'[^']+'|("+t+")","g");return e.replace(r,function(i,o){return o?n(i):i})}const W5e=["shortDate","shortTime","short","mediumDate","mediumTime","medium","longDate","fullDate"],H5e=Object.freeze({fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"}),y8=Object.freeze({"en-US":H5e});function U5e(e,t){var n;if(!(e.includes("short")||e.includes("medium")||e.includes("long")||e.includes("full")))return e;let r=e,i=y8[(n=t.code)!=null?n:""];return i||(i=y8["en-US"]),W5e.forEach(o=>{const a=i[o];r=sh(r,o,function(){return a})}),r}var aN={exports:{}},sN={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r,i){if(r==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o]);return r}e.exports=t.default})(sN,sN.exports);var V5e=sN.exports;(function(e,t){var n=ei.default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n(V5e);function i(o){return(0,r.default)({},o)}e.exports=t.default})(aN,aN.exports);var Y5e=aN.exports;const G5e=On(Y5e);function $5e(e,t,n){var r=TJ(e,n),i=VI(t,r,!0),o=new Date(r.getTime()-i),a=new Date(0);return a.setFullYear(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()),a.setHours(o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds()),a}function g0(e,t,n,r){var i=G5e(r);return i.timeZone=t,i.originalDate=e,EJ($5e(e,t),n,i)}function q5e(e){return e.includes("sss")?sh(e,"sss",function(){return"SSS"}):e}function X5e(e,t,n){if(!(e.includes("a")||e.includes("A")))return e;let r=sh(e,"a",function(){return`\0${g0(t,n,"a").toLowerCase()}\0`});return r=sh(r,"A",function(){return`\0${g0(t,n,"a").toUpperCase()}\0`}),r=r.replace(/\0\0/g,""),r=r.replace(/\0/g,"'"),r}function Z5e(e,t,n,r){return e.includes("Z")?sh(e,"Z",function(){return g0(t,n,"xx",{locale:r})}):e}function K5e(e,t,n){return OJ(e,t,n)?gJ(e,1):e}function Q5e(e,t){return t<=e.getMonth()}function OJ(e,t,n){const r=![rRe,YI].includes(t);return n>DJ&&r&&Q5e(e,n)}function J5e(e,t,n,r){return!r&&OJ(e,t,n)?dJ(e,1):e}function eRe(e,t){if(t>0){const n=(e.getMonth()+t)%12;return qOe(e,n)}return e}function tRe(e,t,n,r,i,o){if(!e.includes("y"))return e;const a=J5e(t,r,o,i);let s=e;if(["yyyy","yy","y","yp","yyyp"].includes(e)&&(n="Etc/GMT-14"),e.includes("yp")){const c=gJ(a,1);s=sh(e,"yp|yyyp",function(l){const g="y".repeat(l.length);return g0(c,n,g)})}return sh(s,"yyyy|yy|y",function(c){return g0(a,n,c)})}function nRe(e,t,n,r){if(!e.includes("Q"))return e;let i=t.getMonth();r&&[YI,iRe,oRe,PJ].includes(n)&&(i-=r>i?r-12:r);const o=parseInt(String(i/3))+1;return sh(e,"QQ|Q",function(a){return`${a.length===2?"'Quarter '":"'Q'"}${o}`})}const rRe="years",YI="quarters",iRe="months",oRe="weeks",PJ="days",DJ=0,aRe=1,GI=Object.freeze({weekFirstDay:aRe,isFiscalOn:!1,fiscalMonth:DJ,selectedDateLevel:PJ,timeZone:"UTC"});function RC(e,t,n=WI(),r=GI){return e.getFullYear()<100&&(e=XOe(e,1900+e.getFullYear())),r.isFiscalOn||(e=K5e(e,r.selectedDateLevel,r.fiscalMonth)),t=U5e(t,n),t=q5e(t),t=X5e(t,e,r.timeZone),t=Z5e(t,e,r.timeZone,n),t=tRe(t,e,r.timeZone,r.selectedDateLevel,r.isFiscalOn,r.fiscalMonth),!r.isFiscalOn&&r.selectedDateLevel===YI&&(e=eRe(e,r.fiscalMonth)),t=nRe(t,e,r.selectedDateLevel,r.fiscalMonth),EJ(e,t,{locale:n,weekStartsOn:r.weekFirstDay})}const sRe={chart:{backgroundColor:"#FFFFFF",textColor:"#000000",secondaryTextColor:"#E4E4E4",panelBackgroundColor:"#F6F6F6"},typography:{fontFamily:'"Open Sans","Roboto","Helvetica","Arial",sans-serif',primaryTextColor:"#5B6372",secondaryTextColor:"#9EA2AB"},palette:{variantColors:["#00cee6","#9b9bd7","#6eda55","#fc7570","#fbb755","#218a8c"]},general:{backgroundColor:"#ffffff",brandColor:"#ffcb05",primaryButtonTextColor:"#3a4356",primaryButtonHoverColor:"#f2b900"},aiChat:{backgroundColor:"rgba(244, 244, 248, 1)",primaryTextColor:"rgba(38, 46, 61, 0.8)",secondaryTextColor:"rgba(38, 46, 61, 0.55)",primaryFontSize:["13px","18px"],body:{paddingLeft:"16px",paddingRight:"16px",paddingTop:"16px",paddingBottom:"1px",gapBetweenMessages:"16px"},footer:{paddingLeft:"16px",paddingRight:"16px",paddingTop:"12px",paddingBottom:"16px"},userMessages:{backgroundColor:"rgba(255, 255, 255, 1)"},systemMessages:{backgroundColor:"rgba(255, 255, 255, 1)"},input:{backgroundColor:"rgba(255, 255, 255, 1)",focus:{outlineColor:"rgba(38, 46, 61, 0.5)"}},header:{textColor:"rgba(38, 46, 61, 0.8)",backgroundColor:"rgba(255, 255, 255, 1)"},dropup:{backgroundColor:"rgba(255, 255, 255, 1)",boxShadow:"0px 1px 2px rgba(9, 9, 10, 0.1), 0px 2px 4px rgba(9, 9, 10, 0.1)",borderRadius:"4px",headers:{textColor:"rgba(38, 46, 61, 0.8)",hover:{backgroundColor:"rgba(244, 244, 248, 1)"}},items:{textColor:"rgba(38, 46, 61, 0.8)",hover:{backgroundColor:"rgba(244, 244, 248, 1)"}}},border:"1px solid #c6c9ce",borderRadius:"30px",suggestions:{textColor:"rgba(38, 46, 61, 1)",backgroundColor:"rgba(244, 244, 248, 1)",border:"1px solid",borderRadius:"16px",borderGradient:["rgba(75, 153, 233, 1)","rgba(102, 57, 191, 1)"],hover:{textColor:"rgba(38, 46, 61, 1)",backgroundColor:"rgba(12, 14, 18, 0.07)"},loadingGradient:["rgba(194, 196, 203, 1)","rgba(236, 236, 239, 1)"],gap:"8px"},clickableMessages:{textColor:"rgba(38, 46, 61, 1)",backgroundColor:"rgba(244, 244, 248, 1)",border:"1px solid",borderGradient:["rgba(75, 153, 233, 1)","rgba(102, 57, 191, 1)"],hover:{textColor:"rgba(38, 46, 61, 1)",backgroundColor:"rgba(12, 14, 18, 0.07)"}},dataTopics:{backgroundColor:"rgba(255, 255, 255, 1)",items:{textColor:"rgba(38, 46, 61, 1)",backgroundColor:"rgba(244, 244, 248, 1)"}},icons:{color:"rgba(38, 46, 61, 0.67)",feedbackIcons:{hoverColor:"rgba(12, 14, 18, 0.07)"}},tooltips:{backgroundColor:"rgba(255, 255, 255, 1)",textColor:"rgba(38, 46, 61, 0.8)",boxShadow:"0px 4px 12px 0px rgba(9, 9, 10, 0.20), 0px 1px 4px 0px rgba(9, 9, 10, 0.10)"}}},lRe={chart:{backgroundColor:"#313138",textColor:"#FFFFFF",secondaryTextColor:"#C5C8CF",panelBackgroundColor:"#313138"},typography:{fontFamily:'"Open Sans","Roboto","Helvetica","Arial",sans-serif',primaryTextColor:"#FFFFFF",secondaryTextColor:"#C5C8CF"},palette:{variantColors:["#00cee6","#9b9bd7","#6eda55","#fc7570","#fbb755","#218a8c"]},general:{backgroundColor:"#16161C",brandColor:"#FFCB05",primaryButtonTextColor:"#3A4356",primaryButtonHoverColor:"#F2B900"},aiChat:{backgroundColor:"rgba(23, 28, 38, 1)",primaryTextColor:"rgba(242, 247, 255, 0.9)",secondaryTextColor:"rgba(242, 247, 255, 0.4)",primaryFontSize:["13px","18px"],body:{paddingLeft:"16px",paddingRight:"16px",paddingTop:"16px",paddingBottom:"1px",gapBetweenMessages:"16px"},footer:{paddingLeft:"16px",paddingRight:"16px",paddingTop:"12px",paddingBottom:"16px"},userMessages:{backgroundColor:"rgba(31, 92, 153, 1)"},systemMessages:{backgroundColor:"rgba(46, 55, 77, 1)"},input:{backgroundColor:"rgba(242, 247, 255, 0.1)",focus:{outlineColor:"rgba(242, 247, 255, 0.5)"}},header:{backgroundColor:"#313138",textColor:"rgba(242, 247, 255, 0.9)"},dropup:{backgroundColor:"rgba(38, 46, 64, 1)",boxShadow:"0px 1px 4px 0px #020203, 0px 2px 12px 2px rgba(2, 2, 3, 0.25)",borderRadius:"8px",headers:{textColor:"rgba(242, 247, 255, 0.6)",hover:{backgroundColor:"rgba(242, 247, 255, 0.1)"}},items:{textColor:"rgba(242, 247, 255, 0.9)",hover:{backgroundColor:"rgba(242, 247, 255, 0.1)"}}},border:!1,borderRadius:"30px",suggestions:{textColor:"rgba(88, 192, 244, 1)",backgroundColor:"rgba(23, 28, 38, 1)",border:"1px solid",borderRadius:"16px",borderGradient:["rgba(75, 153, 233, 1)","rgba(102, 57, 191, 1)"],hover:{textColor:"rgba(88, 192, 244, 1)",backgroundColor:"rgba(242, 247, 255, 0.1)"},loadingGradient:["rgba(242, 247, 255, 0.1)","rgba(242, 247, 255, 0.3)"],gap:"8px"},clickableMessages:{textColor:"rgba(88, 192, 244, 1)",backgroundColor:"rgba(23, 28, 38, 1)",border:"1px solid",borderGradient:["rgba(75, 153, 233, 1)","rgba(102, 57, 191, 1)"],hover:{textColor:"rgba(88, 192, 244, 1)",backgroundColor:"rgba(242, 247, 255, 0.1)"}},dataTopics:{backgroundColor:"rgba(23, 28, 38, 1)",items:{textColor:"rgba(242, 247, 255, 0.9)",backgroundColor:"rgba(46, 55, 77, 1)"}},icons:{color:"rgba(242, 247, 255, 0.5)",feedbackIcons:{hoverColor:"rgba(242, 247, 255, 0.1)"}},tooltips:{textColor:"rgba(242, 247, 255, 0.9)",backgroundColor:"rgba(46, 55, 77, 1)",boxShadow:"0px 1px 8px 0px #020203, 0px 4px 24px 4px rgba(2, 2, 3, 0.25)"}}},Fp=(e=!1)=>ls(e?lRe:sRe);function LJ(e,t){const n={chart:{textColor:e.dashboards.widgetTextColor,backgroundColor:e.dashboards.widgetBackgroundColor,secondaryTextColor:e.dashboards.widgetSecondaryTextColor,panelBackgroundColor:e.dashboards.panelBackgroundColor},typography:{fontFamily:e.typography.fontFamily,primaryTextColor:e.typography.primaryTextColor,secondaryTextColor:e.typography.secondaryTextColor},palette:{variantColors:t.colors},general:{brandColor:e.general.brandColor,backgroundColor:e.general.backgroundColor,primaryButtonTextColor:e.general.primaryButtonTextColor,primaryButtonHoverColor:e.general.primaryButtonHoverColor}};return wi.withOptions({mergeArrays:!1},Fp(),n)}function NJ(e){return e.dashboards.colorPaletteName}class Fn extends sb{constructor(t,n){super(MK,{key:t,interpolationOptions:n},Nye.t)}}function jJ(e,t){return hu(this,null,function*(){const n=yield cRe(e,t);if(!n)throw new Fn("errors.themeNotFound",{themeOid:e});const r=NJ(n),i=yield IJ(r,t);return LJ(n,i)})}function cRe(e,t){return hu(this,null,function*(){return t.get(`api/v1/themes/${e}`).catch(()=>{throw new Fn("errors.themeNotFound",{themeOid:e})})})}function IJ(e,t){return hu(this,null,function*(){const n=yield t.get(`api/palettes/${e}`);if(n&&"status"in n&&n.status==="error")throw new Fn("errors.paletteNotFound",{paletteName:e});return n})}function uRe(e){return"value"in e}function dRe(e){return"valuePromise"in e}const hRe=(e,t)=>{const n=new Map;return{withCache:r=>(...i)=>hu(void 0,null,function*(){const o=e(...i);if(n.has(o)){const a=n.get(o);if(uRe(a))return a.value;if(dRe(a))return a.valuePromise;throw new Error("Unexpected cache value")}else{const a=r(...i);return n.set(o,{valuePromise:a,createdAt:new Date}),a.then(s=>(n.set(o,{value:s,createdAt:new Date}),t!=null&&t.cacheMaxSize&&n.size>t.cacheMaxSize&&pRe(n),s))}}),clearCache:r=>{if(r){n.delete(r);return}n.clear()}}};function pRe(e){const t=Array.from(e.keys()),n=t.reduce((r,i)=>{const o=e.get(i),a=e.get(r);return o.createdAt<a.createdAt?i:r},t[0]);e.delete(n)}const RJ=(e,t)=>{const{dataSource:n,dimensions:r=[],measures:i=[],filters:o=[],filterRelations:a,highlights:s=[],count:c,offset:l,ungroup:g}=e;o&&o.forEach(u=>u.isScope=!0),s&&s.forEach(u=>u.isScope=!0);const b=n||t;if(!b)throw new Fn("errors.executeQueryNoDataSource");return{dataSource:b,attributes:r,measures:i,filters:o,filterRelations:a,highlights:s,count:c,offset:l,ungroup:g}};function _h(e,t,n){const r=RJ(e,t==null?void 0:t.defaultDataSource);return t.queryClient.executeQuery(r,n).resultPromise.catch(i=>{throw i.message.includes("SecondsLevelIsNotSupportedException")?new Fn("errors.secondsDateTimeLevelSupportedOnlyForLive"):i})}const fRe=(e,t,n)=>{const{dataSource:r,rows:i=[],columns:o=[],values:a=[],grandTotals:s={},filters:c=[],filterRelations:l,highlights:g=[],count:b,offset:u}=e;c&&c.forEach(w=>w.isScope=!0),g&&g.forEach(w=>w.isScope=!0);const z=r||(t==null?void 0:t.defaultDataSource);if(!z)throw new Fn("errors.executeQueryNoDataSource");return t.queryClient.executePivotQuery({dataSource:z,rowsAttributes:i,columnsAttributes:o,measures:a,grandTotals:s,filters:c,filterRelations:l,highlights:g,count:b,offset:u},n).resultPromise},gRe=e=>JSON.stringify(nt(Fe({},qQ(e,!1)),{queryGuid:""})),zJ=(e,t)=>{const n=RJ(e,t==null?void 0:t.defaultDataSource);return gRe(n)},mRe=250,{withCache:vRe,clearCache:yRe}=hRe(zJ,{cacheMaxSize:mRe}),$I=vRe(_h),BJ=yRe;function rc(e){const t="column"in e?e.column:e;return"context"in t||"aggregation"in t?!0:!("type"in t)}const lh=e=>"aggregation"in e||"context"in e||"formula"in e,Sh=e=>!lh(e);function bRe(){}var qI=bRe,xRe=SI,wRe=qI;function m_(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}m_.prototype=xRe(wRe.prototype);m_.prototype.constructor=m_;var XI=m_,b8=Bm,_Re=lb,SRe=lo,x8=b8?b8.isConcatSpreadable:void 0;function CRe(e){return SRe(e)||_Re(e)||!!(x8&&e&&e[x8])}var kRe=CRe,MRe=dI,TRe=kRe;function FJ(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=TRe),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?FJ(s,t-1,n,r,i):MRe(i,s):r||(i[i.length]=s)}return i}var WJ=FJ,ARe=WJ;function ERe(e){var t=e==null?0:e.length;return t?ARe(e,1):[]}var ORe=ERe;function PRe(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var HJ=PRe,DRe=HJ,w8=Math.max;function LRe(e,t,n){return t=w8(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=w8(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),DRe(e,this,s)}}var UJ=LRe;function NRe(e){return function(){return e}}var jRe=NRe,IRe=jRe,_8=NK,RRe=MC,zRe=_8?function(e,t){return _8(e,"toString",{configurable:!0,enumerable:!1,value:IRe(t),writable:!0})}:RRe,BRe=zRe,FRe=800,WRe=16,HRe=Date.now;function URe(e){var t=0,n=0;return function(){var r=HRe(),i=WRe-(r-n);if(n=r,i>0){if(++t>=FRe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var VRe=URe,YRe=BRe,GRe=VRe,$Re=GRe(YRe),VJ=$Re,qRe=ORe,XRe=UJ,ZRe=VJ;function KRe(e){return ZRe(XRe(e,void 0,qRe),e+"")}var ZI=KRe,S8=qK,QRe=S8&&new S8,JRe=QRe;function eze(){}var YJ=eze,C8=JRe,tze=YJ,nze=C8?function(e){return C8.get(e)}:tze,GJ=nze,rze={},ize=rze,k8=ize,oze=Object.prototype,aze=oze.hasOwnProperty;function sze(e){for(var t=e.name+"",n=k8[t],r=aze.call(k8,t)?n.length:0;r--;){var i=n[r],o=i.func;if(o==null||o==e)return i.name}return t}var $J=sze,lze=SI,cze=qI,uze=4294967295;function v_(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=uze,this.__views__=[]}v_.prototype=lze(cze.prototype);v_.prototype.constructor=v_;var KI=v_,dze=KI,hze=XI,pze=xI;function fze(e){if(e instanceof dze)return e.clone();var t=new hze(e.__wrapped__,e.__chain__);return t.__actions__=pze(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var gze=fze,mze=KI,M8=XI,vze=qI,yze=lo,bze=Hs,xze=gze,wze=Object.prototype,_ze=wze.hasOwnProperty;function y_(e){if(bze(e)&&!yze(e)&&!(e instanceof mze)){if(e instanceof M8)return e;if(_ze.call(e,"__wrapped__"))return xze(e)}return new M8(e)}y_.prototype=vze.prototype;y_.prototype.constructor=y_;var Sze=y_,Cze=KI,kze=GJ,Mze=$J,Tze=Sze;function Aze(e){var t=Mze(e),n=Tze[t];if(typeof n!="function"||!(t in Cze.prototype))return!1;if(e===n)return!0;var r=kze(n);return!!r&&e===r[0]}var Eze=Aze,T8=XI,Oze=ZI,Pze=GJ,ET=$J,Dze=lo,A8=Eze,Lze="Expected a function",Nze=8,jze=32,Ize=128,Rze=256;function zze(e){return Oze(function(t){var n=t.length,r=n,i=T8.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if(typeof o!="function")throw new TypeError(Lze);if(i&&!a&&ET(o)=="wrapper")var a=new T8([],!0)}for(r=a?r:n;++r<n;){o=t[r];var s=ET(o),c=s=="wrapper"?Pze(o):void 0;c&&A8(c[0])&&c[1]==(Ize|Nze|jze|Rze)&&!c[4].length&&c[9]==1?a=a[ET(c[0])].apply(a,c[3]):a=o.length==1&&A8(o)?a[s]():a.thru(o)}return function(){var l=arguments,g=l[0];if(a&&l.length==1&&Dze(g))return a.plant(g).value();for(var b=0,u=n?t[b].apply(this,l):g;++b<n;)u=t[b].call(this,u);return u}})}var Bze=zze,Fze=Bze,Wze=Fze(),Hze=Wze;const Uze=On(Hze),E8="composesdk",zC=(e,t,n,r=!1)=>{const i=Object.assign({action:e,cat:E8,eventType:"product",direct:!0},t);return r?(console.debug("DEBUG: event payload to send",i),Promise.resolve()):n.post("api/activities/",[i],{cache:"no-store",redirect:"error",referrerPolicy:"same-origin",priority:"low"}).catch(o=>{console.error(`unable to log action=${e}, category=${E8}`,o)})},Vze=(e,t)=>{const{packageName:n,packageVersion:r,component:i,error:o}=e;let a="";return typeof o=="string"?a=o:o instanceof Error&&(a=o.message||o.toString()),zC("sdkError",{packageName:n,packageVersion:r,component:i,error:a},t)},Yze=(e,t)=>Vze(Object.assign(Object.assign({},e),{packageName:"sdk-ui"}),t),QI=Dr({isInitialized:!1,tracking:{enabled:!0,packageName:"sdk-ui"}}),ti=()=>Zn(QI),Gze="sdkComponentInit",qJ=Dr(!1),$ze=({skipNested:e=!0,children:t})=>ye(qJ.Provider,{value:e,children:t}),qze=(e,t)=>{const{app:n,tracking:r}=ti(),i=Zn(qJ),o=Qe(!1);pt(()=>{if(n!=null&&n.httpClient&&!o.current&&!i){const a={packageName:r.packageName,packageVersion:"1.15.1",componentName:e,attributesUsed:Object.entries(t).filter(([,s])=>!!s).map(([s])=>s).join(", ")};zC(Gze,a,n.httpClient,!r.enabled).finally(()=>o.current=!0)}},[e,t,n,r,i])};var Xze=od,Zze=Hs,Kze="[object Boolean]";function Qze(e){return e===!0||e===!1||Zze(e)&&Xze(e)==Kze}var Jze=Qze;const XJ=On(Jze);let ZJ=class extends Ln{constructor(e){super(e),Hr(this,"componentName"),Hr(this,"context"),Hr(this,"httpClient"),Hr(this,"postponedErrors",[]),this.componentName=e.componentName}componentDidMount(){var e;this.context.isInitialized&&(this.httpClient=(e=this.context.app)==null?void 0:e.httpClient)}componentDidCatch(e){throw this.context.tracking.enabled&&(this.httpClient?this.sendErrorTracking(e,this.httpClient):this.postponedErrors.push(e)),e}sendErrorTracking(e,t){Yze({packageVersion:"1.15.1",component:this.componentName,error:e},t).catch(n=>console.log("Failed to send tracking error event: ",n))}render(){return this.httpClient&&this.postponedErrors.length>0&&this.postponedErrors.forEach(e=>this.sendErrorTracking(e,this.httpClient)),this.postponedErrors=[],this.props.children}};Hr(ZJ,"contextType",QI);const e4e=({componentName:e,config:t})=>{const{skip:n,transparent:r}=t||{};return i=>function(o){return XJ(n)&&n||u_(n)&&n(o)?ye(i,Fe({},o)):(qze(e,o),ye($ze,{skipNested:!r,children:ye(ZJ,{componentName:e,children:ye(i,Fe({},o))})}))}},t4e="_container_1wquj_1",n4e="_card_1wquj_11",r4e="_text_1wquj_19",OT={container:t4e,card:n4e,text:r4e};function i4e({color:e="#FFCB05"}){return ye("svg",{width:"53px",height:"53px",viewBox:"0 0 53 53",children:ye("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:ye("g",{children:[ye("polygon",{points:"26.4996 -0.000100000005 -0.000400000001 26.5009 26.4996 52.9999 53.0006 26.5009",fill:e}),ye("path",{d:"M24.5,39.054 L24.5,35.054 L28.5,35.054 L28.5,39.054 L24.5,39.054 Z M28.5,31.0536 L24.5,31.0536 L23.5,13.0536 L29.5,13.0536 L28.5,31.0536 Z",fill:"#FFFFFF"})]})})})}const JI=Dr({themeSettings:Fp()}),sr=()=>Zn(JI),o4e=({error:e=new Fn("errors.componentRenderError")})=>{var t,n,r,i,o,a;const{themeSettings:s}=sr(),{app:c}=ti(),{t:l}=Fs(),[g,b]=dt(!1),u=()=>{b(!0)},z=()=>{b(!1)},w=ye("div",{className:"csdk-flex csdk-justify-center csdk-mb-[10px]",children:ye(i4e,{color:(t=s==null?void 0:s.general)==null?void 0:t.brandColor})}),x=e instanceof sb?l(e.key,Fe({},e.interpolationOptions)):l(e instanceof Error?e.message:e),C=l("errorBoxText",{errorMessage:x,interpolation:{escapeValue:!1}}),H=(r=(n=c==null?void 0:c.settings)==null?void 0:n.errorBoundaryConfig)==null?void 0:r.alwaysShowErrorText;return ye("div",{onMouseEnter:H?void 0:u,onMouseLeave:H?void 0:z,className:OT.container,"aria-label":"error-box",children:ye("div",{className:OT.card,style:{backgroundColor:((i=s==null?void 0:s.general)==null?void 0:i.backgroundColor)||"rgba(255,255,255,0.5)"},children:[w,(H||g)&&ye("div",{className:OT.text,style:{color:((o=s==null?void 0:s.typography)==null?void 0:o.primaryTextColor)||"#5b6372",fontFamily:((a=s==null?void 0:s.typography)==null?void 0:a.fontFamily)||"inherit"},children:C})]})})};let lN=class extends Ln{constructor(e){var t;super(e),Hr(this,"showErrorBox",!0),Hr(this,"context"),this.showErrorBox=(t=e.showErrorBox)!=null?t:!0,this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e){this.setState({error:e})}componentDidUpdate(e,t){t.error!==null&&a4e(e.resetKeys,this.props.resetKeys)&&this.setState({error:null})}render(){const e=this.state.error||this.props.error;return e?this.showErrorBox?ye(o4e,{error:e}):ye("div",{}):this.props.children}};function a4e(e=[],t=[]){return e.length!==t.length||e.some((n,r)=>!Object.is(n,t[r]))}const s4e=()=>e=>function(t){return ye(lN,{resetKeys:Object.values(t),children:ye(e,Fe({},t))})},l4e=({shouldSkipSisenseContextWaiting:e,customContextErrorMessageKey:t})=>n=>function(r){if(c4e(e,r))return ye(n,Fe({},r));const{app:i,isInitialized:o}=ti();if(!o){const a=t||"errors.noSisenseContext";throw new Fn(a)}return i?ye(n,Fe({},r)):ye(u4e,{})};function c4e(e,t){return XJ(e)&&e||u_(e)&&e(t)}function u4e(){return null}function d4e(){const[e,t]=dt(null);return pt(()=>{TK().initPromise.then(n=>t(n))},[]),e}const cN=({children:e,userLanguage:t})=>{const n=d4e();return pt(()=>{t&&(n==null?void 0:n.language)!==t&&(n==null||n.changeLanguage(t))},[n,t]),n&&ye(Oye,{i18n:n,children:e})},h4e=()=>e=>function(t){const{isInitialized:n}=ti();return n?ye(e,Fe({},t)):ye(cN,{children:ye(e,Fe({},t))})},p4e=e=>t=>(t.displayName=e,t),nr=e=>{const{componentName:t,shouldSkipSisenseContextWaiting:n,trackingConfig:r={},customContextErrorMessageKey:i}=e;return o=>Uze(p4e(t),l4e({shouldSkipSisenseContextWaiting:n,customContextErrorMessageKey:i}),e4e({componentName:t,config:r}),s4e(),h4e())(o)},om=(e,t)=>{const n=!e||e==="";let r,i,o;return Si(t)?(r=parseFloat(e),i=isNaN(r)):oc(t)?(r=bb(e).valueOf(),i=isNaN(r)):(r=e,o=e==null?void 0:e.toLowerCase(),i=!1),Fe({value:r,valueUndefined:n,valueIsNaN:i},o&&{lowercaseValue:o})};function O8(e,t){const n=h0e(e)?e:{displayValue:e==null?void 0:e.toString()};return n.compareValue||(n.compareValue=om(n.displayValue,t)),n}var KJ=(e=>(e[e.ASC=1]="ASC",e[e.DESC=-1]="DESC",e[e.NONE=0]="NONE",e))(KJ||{});function QJ(e,t,n=1,r="string"){const i=O8(e,r),o=O8(t,r),a=i.compareValue,s=o.compareValue;if(a.valueUndefined&&s.valueUndefined)return 0;if(a.valueUndefined)return 1;if(s.valueUndefined)return-1;if(a.valueIsNaN&&s.valueIsNaN)return 0;if(a.valueIsNaN)return 1;if(s.valueIsNaN)return-1;const c=a.lowercaseValue,l=s.lowercaseValue;if(c!==void 0&&l!==void 0){if(c<l)return-1*n;if(c>l)return 1*n}return a.value<s.value?-1*n:a.value>s.value?1*n:0}let JJ=class{constructor(e){Hr(this,"columns",[]),this.columns=e}compare(e,t){for(let n=0;n<this.columns.length;n++){const r=this.columns[n],i=e[r.index],o=t[r.index],a=r.direction||1,s=QJ(i,o,a,r.type);if(s!==0)return s}return 0}};const eee=e=>e instanceof Object&&"data"in e,f4e=e=>e.rows.length===0,Vg="$rownum",tee=e=>{let t=0;const n=e.rows.map(i=>{const o=e.columns.map((a,s)=>{var c;const l=i[s];if(eee(l)){let u=l.data.toString();if(oc(a.type)){const z="1111-11-11T";u.startsWith(z)&&(u=u.replace(z,"1970-01-01T"))}return Fe(Fe({rawValue:l.data,displayValue:(c=l.text)!=null?c:u,compareValue:om(u,a.type)},l.blur?{blur:l.blur}:{}),l.color?{color:l.color}:{})}let g,b;return oc(a.type)&&(g=om(`${l}`,a.type),b=new Date(g.value).toISOString()),{rawValue:b??l,displayValue:`${l??""}`,compareValue:g}});return t++,o.push({displayValue:`${t}`,rawValue:t}),o}),r=e.columns.map((i,o)=>({name:i.name,type:i.type,index:o,direction:0}));return r.push({name:Vg,type:"number",index:r.length,direction:0}),{columns:r,rows:n}},nee=["polar"],ree=["line","area","bar","column",...nee],iee=["pie","funnel","treemap","sunburst"],oee=["scatter"],g4e=["table"],m4e=["indicator"],aee=["boxplot"],v4e=["areamap"],y4e=["scattermap"],see=["arearange"],sd=e=>ree.find(t=>t===e)!==void 0,Zm=e=>iee.find(t=>t===e)!==void 0,ff=e=>oee.find(t=>t===e)!==void 0,gf=e=>y4e.find(t=>t===e)!==void 0,wb=e=>m4e.find(t=>t===e)!==void 0,lee=e=>nee.find(t=>t===e)!==void 0,b4e=e=>g4e.find(t=>t===e)!==void 0,mf=e=>aee.find(t=>t===e)!==void 0,vf=e=>v4e.find(t=>t===e)!==void 0,BC=e=>see.find(t=>t===e)!==void 0;let P8=class{constructor(e){Hr(this,"data"),Hr(this,"sum"),Hr(this,"max"),Hr(this,"min"),Hr(this,"avg"),Hr(this,"variance"),Hr(this,"stddev"),this.data=e}getStat(e){switch(e){case"sum":return this.getSum();case"max":return this.getMax();case"min":return this.getMin();case"count":return this.getCount();case"countdistinct":return this.getCountDistinct();case"avg":case"mean":case"average":return this.getAverage();case"var":case"variance":return this.getVariance();case"stddev":return this.getStdDev()}return NaN}getSum(){if(this.data.length===0)return NaN;if(this.sum!=null)return this.sum;this.sum=0;for(const e of this.data)this.sum+=e;return this.sum}getMax(){if(this.data.length===0)return NaN;if(this.max)return this.max;if(this.data.length<=0)return NaN;this.max=this.data[0];for(const e of this.data)e>this.max&&(this.max=e);return this.max}getMin(){if(this.data.length===0)return NaN;if(this.min)return this.min;if(this.data.length<=0)return NaN;this.min=this.data[0];for(const e of this.data)e<this.min&&(this.min=e);return this.min}getMean(){return this.getAverage()}getAverage(){return this.data.length===0?NaN:this.avg?this.avg:(this.avg=this.getSum()/this.data.length,this.avg)}getN(){return this.getCount()}getCount(){return this.data.length}getCountDistinct(){return this.data.filter((e,t,n)=>n.indexOf(e)===t).length}getVariance(){if(this.variance===void 0)if(this.data.length===0)this.variance=NaN;else if(this.data.length===1)this.variance=0;else{const e=this.getMean();this.variance=this.data.reduce((t,n)=>t.concat(Et(n-e,2)),[]).reduce((t,n)=>t+n,0)/(this.data.length-1)}return this.variance}getStdDev(){return this.data.length===0?NaN:this.stddev!=null?this.stddev:(this.stddev=Math.sqrt(this.getVariance()),this.stddev)}},x4e=class{constructor(e){Hr(this,"data"),Hr(this,"countDistinct"),this.data=e}getStat(e){switch(e){case"count":return this.getCount();case"countdistinct":return this.getCountDistinct()}return NaN}getN(){return this.getCount()}getCount(){return this.data.length}getCountDistinct(){return this.data.filter((e,t,n)=>n.indexOf(e)===t).length}};const cee=(e,t)=>e.slice(0).sort((n,r)=>t.compare(n,r)),e5=(e,t)=>{if(!(e&&e.length>0))return[];const n=new JJ(t),r=cee(e,n);let i=[];const o=[];let a=r[0];for(const s of Array.from(r))n.compare(s,a)!==0&&(o.push(i),i=[]),i.push(s),a=s;return o.push(i),o},w4e=(e,t)=>{var n,r;const i=[];for(const o of t){let a;const s=o.column,{aggFunc:c}=o,l=e.filter(u=>!!u[s.index]&&u[s.index].displayValue!==""),g=(r=(n=l.find(u=>{var z;return u!==void 0&&((z=u==null?void 0:u[s.index])==null?void 0:z.color)}))==null?void 0:n[s.index])==null?void 0:r.color,b=l.some(u=>u[s.index].blur);if(oc(s.type)){const u=l.map(z=>bb(z[s.index].displayValue).valueOf());a=new P8(u).getStat(c)}else if(Si(s.type)){const u=l.map(z=>parseFloat(z[s.index].displayValue));a=new P8(u).getStat(c)}else{const u=l.map(z=>z[s.index].displayValue);a=new x4e(u).getStat(c)}i.push(Fe(Fe({displayValue:`${a}`},g&&{color:g}),b&&{blur:b}))}return i},t5=(e,t)=>{if(WC(e))return{columns:[],rows:[]};const n=new JJ(t);return{columns:e.columns,rows:cee(e.rows,n)}},uee=(e,t,n)=>{if(WC(e))return{rows:[],columns:[]};const r={name:"n/a",type:"n/a",index:-1,direction:0},i=n.map(l=>({aggFunc:l.agg,aggName:l.title,column:Li(e,l.column)||r})).filter(l=>l.column.index!==-1),o=e5(e.rows,t),a=i.map(l=>l.aggName),s=[];for(const l of o){const g=_b(l[0],t),b=w4e(l,i),u=g.slice(0).concat(b);s.push(u)}const c=t.slice(0).concat(a.map(l=>({name:l,type:"number",index:0,direction:0})));return{rows:s,columns:c.map((l,g)=>nt(Fe({},l),{index:g}))}},Li=(e,t)=>e.columns.find(n=>n.name===t),Wp=(e,t)=>{const n={name:"foo",type:"string",index:-1,direction:0};return t.map(r=>Li(e,r)||n).filter(r=>r!==n)},dee=(e,t)=>{const n=e.rows.map(r=>t.map(i=>r[i.index]));return{columns:t.map((r,i)=>nt(Fe({},r),{index:i})),rows:n}},To=(e,t)=>{if(!(e&&t.index<e.length))return;const n=e[t.index];return n.compareValue||(n.compareValue=om(n.displayValue,t.type)),n.compareValue.value},FC=(e,t)=>{var n;return!!((n=e[t.index])!=null&&n.blur)},_b=(e,t)=>{const n=[];for(const r of t)n.push(e[r.index]);return n},_4e=(e,t)=>_b(e,t).map(n=>n.rawValue||n.displayValue).join(","),n5=(e,t)=>{if(!(e&&e.length>0))return{};const n=e5(e,t),r={};for(const i of n){const o=_4e(i[0],t);r[o]=i}return r},WC=e=>!(e.rows&&e.columns&&e.rows.length>0&&e.columns.length>0),hee=({x:e,y:t,breakBy:n})=>fee(t)&&pee(e)&&n.length===0,S4e=({x:e,y:t,breakBy:n})=>pee(e)&&fee(t)&&n.length>0,pee=e=>e.length===0,fee=e=>e.length>0,C4e=(e,t)=>e*(t/100),k4e=(e,t)=>e===0?0:Math.abs(t)/Math.abs(e)*100,yw=e=>`${e}%`;var D8;(function(e){e.event="event",e.props="prop"})(D8||(D8={}));function M4e(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function T4e(e,t,n){var r=M4e(n),i=e.search(/[1-9]/);return i=i===-1?e.length:i,e.substring(0,i)+e.substring(i,e.length).replace(r,"$1"+t)}function A4e(e,t){t===void 0&&(t=!0);var n=e[0]==="-",r=n&&t;e=e.replace("-","");var i=e.split("."),o=i[0],a=i[1]||"";return{beforeDecimal:o,afterDecimal:a,hasNegation:n,addNegation:r}}function E4e(e,t,n){for(var r="",i=n?"0":"",o=0;o<=t-1;o++)r+=e[o]||i;return r}function O4e(e,t){var n=t.decimalScale,r=t.fixedDecimalScale,i=t.prefix;i===void 0&&(i="");var o=t.suffix;o===void 0&&(o="");var a=t.allowNegative,s=t.thousandsGroupStyle;if(s===void 0&&(s="thousand"),e===""||e==="-")return e;var c=P4e(t),l=c.thousandSeparator,g=c.decimalSeparator,b=n!==0&&e.indexOf(".")!==-1||n&&r,u=A4e(e,a),z=u.beforeDecimal,w=u.afterDecimal,x=u.addNegation;return n!==void 0&&(w=E4e(w,n,!!r)),l&&(z=T4e(z,l,s)),i&&(z=i+z),o&&(w=w+o),x&&(z="-"+z),e=z+(b&&g||"")+w,e}function P4e(e){var t=e.decimalSeparator;t===void 0&&(t=".");var n=e.thousandSeparator,r=e.allowedDecimalSeparators;return n===!0&&(n=","),r||(r=[t,"."]),{decimalSeparator:t,thousandSeparator:n,allowedDecimalSeparators:r}}var D4e=FI;function L4e(e){var t=D4e(e),n=t%1;return t===t?n?t-n:t:0}var N4e=L4e,j4e=kl,I4e=N4e,R4e=Xm,L8=gI,z4e=j4e.isFinite,B4e=Math.min;function F4e(e){var t=Math[e];return function(n,r){if(n=R4e(n),r=r==null?0:B4e(I4e(r),292),r&&z4e(n)){var i=(L8(n)+"e").split("e"),o=t(i[0]+"e"+(+i[1]+r));return i=(L8(o)+"e").split("e"),+(i[0]+"e"+(+i[1]-r))}return t(n)}}var W4e=F4e,H4e=W4e,U4e=H4e("round"),V4e=U4e;const Y4e=On(V4e),uN=1e3,dN=uN*1e3,hN=dN*1e3,N8=hN*1e3,gee=1000.1.toLocaleString().replace(/\d/g,""),G4e=gee[0],$4e=gee[1],q4e={name:"Numbers",decimalScale:"auto",trillion:!0,billion:!0,million:!0,kilo:!0,thousandSeparator:!0,prefix:!0,symbol:"$"},Jr=e=>Fe(Fe({},q4e),e||{}),X4e=(e,t)=>isNaN(t)?"":`<span>${am(e,t)}</span>`,Z4e=(e,t)=>Math.sign(e)*Y4e(Math.abs(e),t),am=(e,t)=>{const n=e.decimalScale!==0&&e.decimalScale!=="auto",r=e.decimalScale==="auto"?2:e.decimalScale;let i=!0;e.name==="Numbers"&&!e.thousandSeparator&&(i=void 0);let o,a,s=t;return e.name==="Percent"&&(a="%",s=t*100),(e.name==="Numbers"||e.name==="Currency")&&(e.trillion&&Math.abs(t)/N8>=1?(s=t/N8,a="T"):e.billion&&Math.abs(t)/hN>=1?(s=t/hN,a="B"):e.million&&Math.abs(t)/dN>=1?(s=t/dN,a="M"):e.kilo&&Math.abs(t)/uN>=1&&(s=t/uN,a="K")),e.name==="Currency"&&(e.prefix?o=e.symbol:a?a=`${a}${e.symbol}`:a=e.symbol),O4e(`${Z4e(s,r)}`,{displayType:"text",thousandSeparator:i?G4e:void 0,fixedDecimalScale:n,decimalScale:r,decimalSeparator:$4e,prefix:o,suffix:a})},di=(e,t)=>{let n=X4e(e,t);return n=n.replace("<span>",""),n=n.replace("</span>",""),n},m0="#dcdcdc",Hp="#CCCCCC",ch="#FFFFFF",K4e=["#00cee6","#9b9bd7","#6eda55","#fc7570","#fbb755","#218a8c","#08e5ff","#b3b3f7","#7efb62","#ff8a87","#ffc26a","#279fa1"],r5=e=>({type:"uniform",color:e});function Q4e(e){return()=>e.color}const mee=e=>{if(e!==void 0)return typeof e=="string"?r5(e).color:e.type==="uniform"?e.color:m0};function J4e(e){var t;const n=((t=e.conditions)!=null?t:[]).map(r=>({match:e6e(r),color:r.color}));return r=>{const i=n.find(o=>o.match(r));return i?i.color:e.defaultColor}}function e6e(e){const t=Number(e.expression);switch(e.operator){case"<":return n=>n<t;case">":return n=>n>t;case"≤":case"<=":return n=>n<=t;case"≥":case">=":return n=>n>=t;case"=":return n=>n==t;case"≠":case"!=":return n=>n!=t;default:return()=>!0}}function Qi(e,t){let n=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(a=>[a]));let r=t[0].length,i=t[0].map((a,s)=>t.map(c=>c[s])),o=e.map(a=>i.map(s=>{let c=0;if(!Array.isArray(a)){for(let l of s)c+=a*l;return c}for(let l=0;l<a.length;l++)c+=a[l]*(s[l]||0);return c}));return n===1&&(o=o[0]),r===1?o.map(a=>a[0]):o}function Sb(e){return th(e)==="string"}function th(e){return(Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function b_(e,t){e=+e,t=+t;let n=(Math.floor(e)+"").length;if(t>n)return+e.toFixed(t-n);{let r=Et(10,n-t);return Math.round(e/r)*r}}function vee(e){if(!e)return;e=e.trim();const t=/^([a-z]+)\((.+?)\)$/i,n=/^-?[\d.]+$/;let r=e.match(t);if(r){let i=[];return r[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,(o,a)=>{/%$/.test(a)?(a=new Number(a.slice(0,-1)/100),a.type="<percentage>"):/deg$/.test(a)?(a=new Number(+a.slice(0,-3)),a.type="<angle>",a.unit="deg"):n.test(a)&&(a=new Number(a),a.type="<number>"),o.startsWith("/")&&(a=a instanceof Number?a:new Number(a),a.alpha=!0),i.push(a)}),{name:r[1].toLowerCase(),rawName:r[1],rawArgs:r[2],args:i}}}function yee(e){return e[e.length-1]}function x_(e,t,n){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*n}function bee(e,t,n){return(n-e)/(t-e)}function i5(e,t,n){return x_(t[0],t[1],bee(e[0],e[1],n))}function xee(e){return e.map(t=>t.split("|").map(n=>{n=n.trim();let r=n.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(r){let i=new String(r[1]);return i.range=[+r[2],+r[3]],i}return n}))}var t6e=Object.freeze({__proto__:null,interpolate:x_,interpolateInv:bee,isString:Sb,last:yee,mapRange:i5,multiplyMatrices:Qi,parseCoordGrammar:xee,parseFunction:vee,toPrecision:b_,type:th});let n6e=class{add(e,t,n){if(typeof arguments[0]!="string"){for(var e in arguments[0])this.add(e,arguments[0][e],arguments[1]);return}(Array.isArray(e)?e:[e]).forEach(function(r){this[r]=this[r]||[],t&&this[r][n?"unshift":"push"](t)},this)}run(e,t){this[e]=this[e]||[],this[e].forEach(function(n){n.call(t&&t.context?t.context:t,t)})}};const uh=new n6e;var au={gamut_mapping:"lch.c",precision:5,deltaE:"76"};const ec={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function pN(e){return Array.isArray(e)?e:ec[e]}function w_(e,t,n,r={}){if(e=pN(e),t=pN(t),!e||!t)throw new TypeError(`Missing white point to convert ${e?"":"from"}${!e&&!t?"/":""}${t?"":"to"}`);if(e===t)return n;let i={W1:e,W2:t,XYZ:n,options:r};if(uh.run("chromatic-adaptation-start",i),i.M||(i.W1===ec.D65&&i.W2===ec.D50?i.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:i.W1===ec.D50&&i.W2===ec.D65&&(i.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),uh.run("chromatic-adaptation-end",i),i.M)return Qi(i.M,i.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}const r6e=75e-6,fN=class Mc{constructor(t){var n,r,i,o,a,s,c;this.id=t.id,this.name=t.name,this.base=t.base?Mc.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);let l=(n=t.coords)!=null?n:this.base.coords;for(let b in l)"name"in l[b]||(l[b].name=b);this.coords=l;let g=(i=(r=t.white)!=null?r:this.base.white)!=null?i:"D65";this.white=pN(g),this.formats=(o=t.formats)!=null?o:{};for(let b in this.formats){let u=this.formats[b];u.type||(u.type="function"),u.name||(u.name=b)}t.cssId&&!((a=this.formats.functions)!=null&&a.color)?(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})):(s=this.formats)!=null&&s.color&&!((c=this.formats)!=null&&c.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,Object.defineProperty(this,"path",{value:i6e(this).reverse(),writable:!1,enumerable:!0,configurable:!0}),uh.run("colorspace-init-end",this)}inGamut(t,{epsilon:n=r6e}={}){if(this.isPolar)return t=this.toBase(t),this.base.inGamut(t,{epsilon:n});let r=Object.values(this.coords);return t.every((i,o)=>{let a=r[o];if(a.type!=="angle"&&a.range){if(Number.isNaN(i))return!0;let[s,c]=a.range;return(s===void 0||i>=s-n)&&(c===void 0||i<=c+n)}return!0})}get cssId(){var t,n;return((n=(t=this.formats.functions)==null?void 0:t.color)==null?void 0:n.id)||this.id}get isPolar(){for(let t in this.coords)if(this.coords[t].type==="angle")return!0;return!1}getFormat(t){if(typeof t=="object")return t=j8(t,this),t;let n;return t==="default"?n=Object.values(this.formats)[0]:n=this.formats[t],n?(n=j8(n,this),n):null}equals(t){return t?this===t||this.id===t.id:!1}to(t,n){if(arguments.length===1&&([t,n]=[t.space,t.coords]),t=Mc.get(t),this.equals(t))return n;n=n.map(s=>Number.isNaN(s)?0:s);let r=this.path,i=t.path,o,a;for(let s=0;s<r.length&&r[s].equals(i[s]);s++)o=r[s],a=s;if(!o)throw new Error(`Cannot convert between color spaces ${this} and ${t}: no connection space was found`);for(let s=r.length-1;s>a;s--)n=r[s].toBase(n);for(let s=a+1;s<i.length;s++)n=i[s].fromBase(n);return n}from(t,n){return arguments.length===1&&([t,n]=[t.space,t.coords]),t=Mc.get(t),t.to(this,n)}toString(){return`${this.name} (${this.id})`}getMinCoords(){var t;let n=[];for(let r in this.coords){let i=this.coords[r],o=i.range||i.refRange;n.push((t=o==null?void 0:o.min)!=null?t:0)}return n}static get all(){return[...new Set(Object.values(Mc.registry))]}static register(t,n){if(arguments.length===1&&(n=arguments[0],t=n.id),n=this.get(n),this.registry[t]&&this.registry[t]!==n)throw new Error(`Duplicate color space registration: '${t}'`);if(this.registry[t]=n,arguments.length===1&&n.aliases)for(let r of n.aliases)this.register(r,n);return n}static get(t,...n){if(!t||t instanceof Mc)return t;if(th(t)==="string"){let r=Mc.registry[t.toLowerCase()];if(!r)throw new TypeError(`No color space found with id = "${t}"`);return r}if(n.length)return Mc.get(...n);throw new TypeError(`${t} is not a valid color space`)}static resolveCoord(t,n){var r;let i=th(t),o,a;if(i==="string"?t.includes(".")?[o,a]=t.split("."):[o,a]=[,t]:Array.isArray(t)?[o,a]=t:(o=t.space,a=t.coordId),o=Mc.get(o),o||(o=n),!o)throw new TypeError(`Cannot resolve coordinate reference ${t}: No color space specified and relative references are not allowed here`);if(i=th(a),i==="number"||i==="string"&&a>=0){let l=Object.entries(o.coords)[a];if(l)return Fe({space:o,id:l[0],index:a},l[1])}o=Mc.get(o);let s=a.toLowerCase(),c=0;for(let l in o.coords){let g=o.coords[l];if(l.toLowerCase()===s||((r=g.name)==null?void 0:r.toLowerCase())===s)return Fe({space:o,id:l,index:c},g);c++}throw new TypeError(`No "${a}" coordinate found in ${o.name}. Its coordinates are: ${Object.keys(o.coords).join(", ")}`)}};Hr(fN,"registry",{}),Hr(fN,"DEFAULT_FORMAT",{type:"functions",name:"color"});let mn=fN;function i6e(e){let t=[e];for(let n=e;n=n.base;)t.push(n);return t}function j8(e,{coords:t}={}){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=xee(e.coords);let n=Object.entries(t).map(([r,i],o)=>{let a=e.coordGrammar[o][0],s=i.range||i.refRange,c=a.range,l="";return a=="<percentage>"?(c=[0,100],l="%"):a=="<angle>"&&(l="deg"),{fromRange:s,toRange:c,suffix:l}});e.serializeCoords=(r,i)=>r.map((o,a)=>{let{fromRange:s,toRange:c,suffix:l}=n[a];return s&&c&&(o=i5(s,c,o)),o=b_(o,i),l&&(o+=l),o})}return e}var fl=new mn({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]});let cs=class extends mn{constructor(e){e.coords||(e.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),e.base||(e.base=fl),e.toXYZ_M&&e.fromXYZ_M&&(e.toBase!=null||(e.toBase=t=>{let n=Qi(e.toXYZ_M,t);return this.white!==this.base.white&&(n=w_(this.white,this.base.white,n)),n}),e.fromBase!=null||(e.fromBase=t=>(t=w_(this.base.white,this.white,t),Qi(e.fromXYZ_M,t)))),e.referred!=null||(e.referred="display"),super(e)}};function wee(e,{meta:t}={}){var n,r,i,o,a;let s={str:(n=String(e))==null?void 0:n.trim()};if(uh.run("parse-start",s),s.color)return s.color;if(s.parsed=vee(s.str),s.parsed){let c=s.parsed.name;if(c==="color"){let l=s.parsed.args.shift(),g=s.parsed.rawArgs.indexOf("/")>0?s.parsed.args.pop():1;for(let u of mn.all){let z=u.getFormat("color");if(z&&(l===z.id||(r=z.ids)!=null&&r.includes(l))){const w=Object.keys(u.coords).map((x,C)=>s.parsed.args[C]||0);return t&&(t.formatId="color"),{spaceId:u.id,coords:w,alpha:g}}}let b="";if(l in mn.registry){let u=(a=(o=(i=mn.registry[l].formats)==null?void 0:i.functions)==null?void 0:o.color)==null?void 0:a.id;u&&(b=`Did you mean color(${u})?`)}throw new TypeError(`Cannot parse color(${l}). `+(b||"Missing a plugin?"))}else for(let l of mn.all){let g=l.getFormat(c);if(g&&g.type==="function"){let b=1;(g.lastAlpha||yee(s.parsed.args).alpha)&&(b=s.parsed.args.pop());let u=s.parsed.args,z;return g.coordGrammar&&(z=Object.entries(l.coords).map(([w,x],C)=>{var H;let G=g.coordGrammar[C],$=(H=u[C])==null?void 0:H.type,U=G.find(P=>P==$);if(!U){let P=x.name||w;throw new TypeError(`${$} not allowed for ${P} in ${c}()`)}let B=U.range;$==="<percentage>"&&(B||(B=[0,1]));let T=x.range||x.refRange;return B&&T&&(u[C]=i5(B,T,u[C])),U})),t&&Object.assign(t,{formatId:g.name,types:z}),{spaceId:l.id,coords:u,alpha:b}}}}else for(let c of mn.all)for(let l in c.formats){let g=c.formats[l];if(g.type!=="custom"||g.test&&!g.test(s.str))continue;let b=g.parse(s.str);if(b)return b.alpha!=null||(b.alpha=1),t&&(t.formatId=l),b}throw new TypeError(`Could not parse ${e} as a color. Missing a plugin?`)}function wr(e){if(!e)throw new TypeError("Empty color reference");Sb(e)&&(e=wee(e));let t=e.space||e.spaceId;return t instanceof mn||(e.space=mn.get(t)),e.alpha===void 0&&(e.alpha=1),e}function Cb(e,t){return t=mn.get(t),t.from(e)}function gl(e,t){let{space:n,index:r}=mn.resolveCoord(t,e.space);return Cb(e,n)[r]}function _ee(e,t,n){return t=mn.get(t),e.coords=t.to(e.space,n),e}function dh(e,t,n){if(e=wr(e),arguments.length===2&&th(arguments[1])==="object"){let r=arguments[1];for(let i in r)dh(e,i,r[i])}else{typeof n=="function"&&(n=n(gl(e,t)));let{space:r,index:i}=mn.resolveCoord(t,e.space),o=Cb(e,r);o[i]=n,_ee(e,r,o)}return e}var o5=new mn({id:"xyz-d50",name:"XYZ D50",white:"D50",base:fl,fromBase:e=>w_(fl.white,"D50",e),toBase:e=>w_("D50",fl.white,e),formats:{color:{}}});const o6e=216/24389,I8=24/116,lx=24389/27;let PT=ec.D50;var Ts=new mn({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:PT,base:o5,fromBase(e){let t=e.map((n,r)=>n/PT[r]).map(n=>n>o6e?Math.cbrt(n):(lx*n+16)/116);return[116*t[1]-16,500*(t[0]-t[1]),200*(t[1]-t[2])]},toBase(e){let t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>I8?Math.pow(t[0],3):(116*t[0]-16)/lx,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/lx,t[2]>I8?Math.pow(t[2],3):(116*t[2]-16)/lx].map((n,r)=>n*PT[r])},formats:{lab:{coords:["<number> | <percentage>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}});function HC(e){return(e%360+360)%360}function a6e(e,t){if(e==="raw")return t;let[n,r]=t.map(HC),i=r-n;return e==="increasing"?i<0&&(r+=360):e==="decreasing"?i>0&&(n+=360):e==="longer"?-180<i&&i<180&&(i>0?n+=360:r+=360):e==="shorter"&&(i>180?n+=360:i<-180&&(r+=360)),[n,r]}var v0=new mn({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:Ts,fromBase(e){let[t,n,r]=e,i;const o=.02;return Math.abs(n)<o&&Math.abs(r)<o?i=NaN:i=Math.atan2(r,n)*180/Math.PI,[t,Math.sqrt(Et(n,2)+Et(r,2)),HC(i)]},toBase(e){let[t,n,r]=e;return n<0&&(n=0),isNaN(r)&&(r=0),[t,n*Math.cos(r*Math.PI/180),n*Math.sin(r*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number> | <percentage>","<number> | <angle>"]}}});const R8=Et(25,7),__=Math.PI,z8=180/__,Xf=__/180;function gN(e,t,{kL:n=1,kC:r=1,kH:i=1}={}){let[o,a,s]=Ts.from(e),c=v0.from(Ts,[o,a,s])[1],[l,g,b]=Ts.from(t),u=v0.from(Ts,[l,g,b])[1];c<0&&(c=0),u<0&&(u=0);let z=(c+u)/2,w=Et(z,7),x=.5*(1-Math.sqrt(w/(w+R8))),C=(1+x)*a,H=(1+x)*g,G=Math.sqrt(Et(C,2)+Et(s,2)),$=Math.sqrt(Et(H,2)+Et(b,2)),U=C===0&&s===0?0:Math.atan2(s,C),B=H===0&&b===0?0:Math.atan2(b,H);U<0&&(U+=2*__),B<0&&(B+=2*__),U*=z8,B*=z8;let T=l-o,P=$-G,f=B-U,y=U+B,d=Math.abs(f),h;G*$===0?h=0:d<=180?h=f:f>180?h=f-360:f<-180?h=f+360:console.log("the unthinkable has happened");let m=2*Math.sqrt($*G)*Math.sin(h*Xf/2),O=(o+l)/2,M=(G+$)/2,D=Math.pow(M,7),Y;G*$===0?Y=y:d<=180?Y=y/2:y<360?Y=(y+360)/2:Y=(y-360)/2;let X=Et(O-50,2),V=1+.015*X/Math.sqrt(20+X),R=1+.045*M,I=1;I-=.17*Math.cos((Y-30)*Xf),I+=.24*Math.cos(2*Y*Xf),I+=.32*Math.cos((3*Y+6)*Xf),I-=.2*Math.cos((4*Y-63)*Xf);let E=1+.015*M*I,A=30*Math.exp(-1*Et((Y-275)/25,2)),v=2*Math.sqrt(D/(D+R8)),k=-1*Math.sin(2*A*Xf)*v,S=Et(T/(n*V),2);return S+=Et(P/(r*R),2),S+=Et(m/(i*E),2),S+=k*(P/(r*R))*(m/(i*E)),Math.sqrt(S)}const s6e=75e-6;function $y(e,t=e.space,{epsilon:n=s6e}={}){e=wr(e),t=mn.get(t);let r=e.coords;return t!==e.space&&(r=t.from(e)),t.inGamut(r,{epsilon:n})}function y0(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function hh(e,{method:t=au.gamut_mapping,space:n=e.space}={}){if(Sb(arguments[1])&&(n=arguments[1]),n=mn.get(n),$y(e,n,{epsilon:0}))return wr(e);let r=hl(e,n);if(t!=="clip"&&!$y(e,n)){let i=hh(y0(r),{method:"clip",space:n});if(gN(e,i)>2){let o=mn.resolveCoord(t),a=o.space,s=o.id,c=hl(r,a),l=(o.range||o.refRange)[0],g=.01,b=l,u=gl(c,s);for(;u-b>g;){let z=y0(c);z=hh(z,{space:n,method:"clip"}),gN(c,z)-2<g?b=gl(c,s):u=gl(c,s),dh(c,s,(b+u)/2)}r=hl(c,n)}else r=i}if(t==="clip"||!$y(r,n,{epsilon:0})){let i=Object.values(n.coords).map(o=>o.range||[]);r.coords=r.coords.map((o,a)=>{let[s,c]=i[a];return s!==void 0&&(o=Math.max(s,o)),c!==void 0&&(o=Math.min(o,c)),o})}return n!==e.space&&(r=hl(r,e.space)),e.coords=r.coords,e}hh.returns="color";function hl(e,t,{inGamut:n}={}){e=wr(e),t=mn.get(t);let r=t.from(e),i={space:t,coords:r,alpha:e.alpha};return n&&(i=hh(i)),i}hl.returns="color";function S_(e,t={}){var n=t,{precision:r=au.precision,format:i="default",inGamut:o=!0}=n,a=ao(n,["precision","format","inGamut"]),s,c,l;let g;e=wr(e);let b=i;i=(c=(s=e.space.getFormat(i))!=null?s:e.space.getFormat("default"))!=null?c:mn.DEFAULT_FORMAT,o||(o=i.toGamut);let u=e.coords;if(u=u.map(z=>z||0),o&&!$y(e)&&(u=hh(y0(e),o===!0?void 0:o).coords),i.type==="custom")if(a.precision=r,i.serialize)g=i.serialize(u,e.alpha,a);else throw new TypeError(`format ${b} can only be used to parse colors, not for serialization`);else{let z=i.name||"color";i.serializeCoords?u=i.serializeCoords(u,r):r!==null&&(u=u.map(H=>b_(H,r)));let w=[...u];if(z==="color"){let H=i.id||((l=i.ids)==null?void 0:l[0])||e.space.id;w.unshift(H)}let x=e.alpha;r!==null&&(x=b_(x,r));let C=e.alpha<1&&!i.noAlpha?`${i.commas?",":" /"} ${x}`:"";g=`${z}(${w.join(i.commas?", ":" ")}${C})`}return g}const l6e=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],c6e=[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]];var UC=new cs({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:l6e,fromXYZ_M:c6e,formats:{color:{}}});const cx=1.09929682680944,B8=.018053968510807;var See=new cs({id:"rec2020",name:"REC.2020",base:UC,toBase(e){return e.map(function(t){return t<B8*4.5?t/4.5:Math.pow((t+cx-1)/cx,1/.45)})},fromBase(e){return e.map(function(t){return t>=B8?cx*Math.pow(t,.45)-(cx-1):4.5*t})},formats:{color:{}}});const u6e=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],d6e=[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]];var Cee=new cs({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:u6e,fromXYZ_M:d6e});const h6e=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],p6e=[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]];var kee=new cs({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:h6e,fromXYZ_M:p6e,formats:{color:{}}}),F8={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[153/255,50/255,204/255],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,153/255],lightslategrey:[119/255,136/255,153/255],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[102/255,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,204/255],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[102/255,51/255,153/255],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]};let W8=Array(3).fill("<percentage> | <number>[0, 255]"),H8=Array(3).fill("<number>[0, 255]");var b0=new cs({id:"srgb",name:"sRGB",base:kee,fromBase:e=>e.map(t=>{let n=t<0?-1:1,r=t*n;return r>.0031308?n*(1.055*Et(r,1/2.4)-.055):12.92*t}),toBase:e=>e.map(t=>{let n=t<0?-1:1,r=t*n;return r<.04045?t/12.92:n*Et((r+.055)/1.055,2.4)}),formats:{rgb:{coords:W8},rgb_number:{name:"rgb",commas:!0,coords:H8,noAlpha:!0},color:{},rgba:{coords:W8,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:H8},hex:{type:"custom",toGamut:!0,test:e=>/^#([a-f0-9]{3,4}){1,2}$/i.test(e),parse(e){e.length<=5&&(e=e.replace(/[a-f0-9]/gi,"$&$&"));let t=[];return e.replace(/[a-f0-9]{2}/gi,n=>{t.push(parseInt(n,16)/255)}),{spaceId:"srgb",coords:t.slice(0,3),alpha:t.slice(3)[0]}},serialize:(e,t,{collapse:n=!0}={})=>{t<1&&e.push(t),e=e.map(i=>Math.round(i*255));let r=n&&e.every(i=>i%17===0);return"#"+e.map(i=>r?(i/17).toString(16):i.toString(16).padStart(2,"0")).join("")}},keyword:{type:"custom",test:e=>/^[a-z]+$/i.test(e),parse(e){e=e.toLowerCase();let t={spaceId:"srgb",coords:null,alpha:1};if(e==="transparent"?(t.coords=F8.black,t.alpha=0):t.coords=F8[e],t.coords)return t}}}}),Mee=new cs({id:"p3",name:"P3",base:Cee,fromBase:b0.fromBase,toBase:b0.toBase,formats:{color:{id:"display-p3"}}});au.display_space=b0;if(typeof CSS<"u"&&CSS.supports)for(let e of[Ts,See,Mee]){let t=e.getMinCoords(),n=S_({space:e,coords:t,alpha:1});if(CSS.supports("color",n)){au.display_space=e;break}}function f6e(e,t={}){var n=t,{space:r=au.display_space}=n,i=ao(n,["space"]);let o=S_(e,i);if(typeof CSS>"u"||CSS.supports("color",o)||!au.display_space)o=new String(o),o.color=e;else{let a=hl(e,r);o=new String(S_(a,i)),o.color=a}return o}function Tee(e,t,n="lab"){n=mn.get(n);let r=n.from(e),i=n.from(t);return Math.sqrt(r.reduce((o,a,s)=>{let c=i[s];return isNaN(a)||isNaN(c)?o:o+Et(c-a,2)},0))}function g6e(e,t){return e=wr(e),t=wr(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every((n,r)=>n===t.coords[r])}function ph(e){return gl(e,[fl,"y"])}function Aee(e,t){dh(e,[fl,"y"],t)}function m6e(e){Object.defineProperty(e.prototype,"luminance",{get(){return ph(this)},set(t){Aee(this,t)}})}var v6e=Object.freeze({__proto__:null,getLuminance:ph,register:m6e,setLuminance:Aee});function y6e(e,t){e=wr(e),t=wr(t);let n=Math.max(ph(e),0),r=Math.max(ph(t),0);return r>n&&([n,r]=[r,n]),(n+.05)/(r+.05)}const b6e=.56,x6e=.57,w6e=.62,_6e=.65,U8=.022,S6e=1.414,C6e=.1,k6e=5e-4,M6e=1.14,V8=.027,T6e=1.14;function Y8(e){return e>=U8?e:e+Et(U8-e,S6e)}function Zf(e){let t=e<0?-1:1,n=Math.abs(e);return t*Math.pow(n,2.4)}function A6e(e,t){t=wr(t),e=wr(e);let n,r,i,o,a,s;t=hl(t,"srgb"),[o,a,s]=t.coords;let c=Zf(o)*.2126729+Zf(a)*.7151522+Zf(s)*.072175;e=hl(e,"srgb"),[o,a,s]=e.coords;let l=Zf(o)*.2126729+Zf(a)*.7151522+Zf(s)*.072175,g=Y8(c),b=Y8(l),u=b>g;return Math.abs(b-g)<k6e?r=0:u?(n=Et(b,b6e)-Et(g,x6e),r=n*M6e):(n=Et(b,_6e)-Et(g,w6e),r=n*T6e),Math.abs(r)<C6e?i=0:r>0?i=r-V8:i=r+V8,i*100}function E6e(e,t){e=wr(e),t=wr(t);let n=Math.max(ph(e),0),r=Math.max(ph(t),0);r>n&&([n,r]=[r,n]);let i=n+r;return i===0?0:(n-r)/i}const O6e=5e4;function P6e(e,t){e=wr(e),t=wr(t);let n=Math.max(ph(e),0),r=Math.max(ph(t),0);return r>n&&([n,r]=[r,n]),r===0?O6e:(n-r)/r}function D6e(e,t){e=wr(e),t=wr(t);let n=gl(e,[Ts,"l"]),r=gl(t,[Ts,"l"]);return Math.abs(n-r)}const L6e=216/24389,G8=24/116,ux=24389/27;let DT=ec.D65;var mN=new mn({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:DT,base:fl,fromBase(e){let t=e.map((n,r)=>n/DT[r]).map(n=>n>L6e?Math.cbrt(n):(ux*n+16)/116);return[116*t[1]-16,500*(t[0]-t[1]),200*(t[1]-t[2])]},toBase(e){let t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>G8?Math.pow(t[0],3):(116*t[0]-16)/ux,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/ux,t[2]>G8?Math.pow(t[2],3):(116*t[2]-16)/ux].map((n,r)=>n*DT[r])},formats:{"lab-d65":{coords:["<number> | <percentage>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}});const LT=Math.pow(5,.5)*.5+.5;function N6e(e,t){e=wr(e),t=wr(t);let n=gl(e,[mN,"l"]),r=gl(t,[mN,"l"]),i=Math.abs(Math.pow(n,LT)-Math.pow(r,LT)),o=Math.pow(i,1/LT)*Math.SQRT2-40;return o<7.5?0:o}var bw=Object.freeze({__proto__:null,contrastAPCA:A6e,contrastDeltaPhi:N6e,contrastLstar:D6e,contrastMichelson:E6e,contrastWCAG21:y6e,contrastWeber:P6e});function j6e(e,t,n={}){Sb(n)&&(n={algorithm:n});let r=n,{algorithm:i}=r,o=ao(r,["algorithm"]);if(!i){let a=Object.keys(bw).map(s=>s.replace(/^contrast/,"")).join(", ");throw new TypeError(`contrast() function needs a contrast algorithm. Please specify one of: ${a}`)}e=wr(e),t=wr(t);for(let a in bw)if("contrast"+i.toLowerCase()===a.toLowerCase())return bw[a](e,t,o);throw new TypeError(`Unknown contrast algorithm: ${i}`)}function Eee(e){let[t,n,r]=Cb(e,fl),i=t+15*n+3*r;return[4*t/i,9*n/i]}function Oee(e){let[t,n,r]=Cb(e,fl),i=t+n+r;return[t/i,n/i]}function I6e(e){Object.defineProperty(e.prototype,"uv",{get(){return Eee(this)}}),Object.defineProperty(e.prototype,"xy",{get(){return Oee(this)}})}var R6e=Object.freeze({__proto__:null,register:I6e,uv:Eee,xy:Oee});function z6e(e,t){return Tee(e,t,"lab")}const B6e=Math.PI,$8=B6e/180;function F6e(e,t,{l:n=2,c:r=1}={}){let[i,o,a]=Ts.from(e),[,s,c]=v0.from(Ts,[i,o,a]),[l,g,b]=Ts.from(t),u=v0.from(Ts,[l,g,b])[1];s<0&&(s=0),u<0&&(u=0);let z=i-l,w=s-u,x=o-g,C=a-b,H=Et(x,2)+Et(C,2)-Et(w,2),G=.511;i>=16&&(G=.040975*i/(1+.01765*i));let $=.0638*s/(1+.0131*s)+.638,U;Number.isNaN(c)&&(c=0),c>=164&&c<=345?U=.56+Math.abs(.2*Math.cos((c+168)*$8)):U=.36+Math.abs(.4*Math.cos((c+35)*$8));let B=Math.pow(s,4),T=Math.sqrt(B/(B+1900)),P=$*(T*U+1-T),f=Et(z/(n*G),2);return f+=Et(w/(r*$),2),f+=H/Et(P,2),Math.sqrt(f)}const q8=203;var a5=new mn({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:fl,fromBase(e){return e.map(t=>Math.max(t*q8,0))},toBase(e){return e.map(t=>Math.max(t/q8,0))}});const dx=1.15,hx=.66,X8=2610/Et(2,14),W6e=Et(2,14)/2610,Z8=3424/Et(2,12),K8=2413/Et(2,7),Q8=2392/Et(2,7),H6e=1.7*2523/Et(2,5),J8=Et(2,5)/(1.7*2523),px=-.56,NT=16295499532821565e-27,U6e=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],V6e=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],Y6e=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],G6e=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]];var Pee=new mn({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:a5,fromBase(e){let[t,n,r]=e,i=dx*t-(dx-1)*r,o=hx*n-(hx-1)*t,a=Qi(U6e,[i,o,r]).map(function(g){let b=Z8+K8*Et(g/1e4,X8),u=1+Q8*Et(g/1e4,X8);return Et(b/u,H6e)}),[s,c,l]=Qi(Y6e,a);return[(1+px)*s/(1+px*s)-NT,c,l]},toBase(e){let[t,n,r]=e,i=(t+NT)/(1+px-px*(t+NT)),o=Qi(G6e,[i,n,r]).map(function(b){let u=Z8-Et(b,J8),z=Q8*Et(b,J8)-K8;return 1e4*Et(u/z,W6e)}),[a,s,c]=Qi(V6e,o),l=(a+(dx-1)*c)/dx,g=(s+(hx-1)*l)/hx;return[l,g,c]},formats:{color:{}}}),vN=new mn({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:Pee,fromBase(e){let[t,n,r]=e,i;const o=2e-4;return Math.abs(n)<o&&Math.abs(r)<o?i=NaN:i=Math.atan2(r,n)*180/Math.PI,[t,Math.sqrt(Et(n,2)+Et(r,2)),HC(i)]},toBase(e){return[e[0],e[1]*Math.cos(e[2]*Math.PI/180),e[1]*Math.sin(e[2]*Math.PI/180)]},formats:{color:{}}});function $6e(e,t){let[n,r,i]=vN.from(e),[o,a,s]=vN.from(t),c=n-o,l=r-a;Number.isNaN(i)&&Number.isNaN(s)?(i=0,s=0):Number.isNaN(i)?i=s:Number.isNaN(s)&&(s=i);let g=i-s,b=2*Math.sqrt(r*a)*Math.sin(g/2*(Math.PI/180));return Math.sqrt(Et(c,2)+Et(l,2)+Et(b,2))}const Dee=3424/4096,Lee=2413/128,Nee=2392/128,eW=2610/16384,q6e=2523/32,X6e=16384/2610,tW=32/2523,Z6e=[[.3592,.6976,-.0358],[-.1922,1.1004,.0755],[.007,.0749,.8434]],K6e=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],Q6e=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-.008605050147287059,-.11103437159861648],[1.0000320633910054,.56004913547279,-.3206339100541203]],J6e=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-.04542175307585323],[-.04959554223893211,-.04942116118675749,1.1879959417328034]];var yN=new mn({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:a5,fromBase(e){let t=Qi(Z6e,e);return eBe(t)},toBase(e){let t=tBe(e);return Qi(J6e,t)},formats:{color:{}}});function eBe(e){let t=e.map(function(n){let r=Dee+Lee*Et(n/1e4,eW),i=1+Nee*Et(n/1e4,eW);return Et(r/i,q6e)});return Qi(K6e,t)}function tBe(e){return Qi(Q6e,e).map(function(t){let n=Math.max(Et(t,tW)-Dee,0),r=Lee-Nee*Et(t,tW);return 1e4*Et(n/r,X6e)})}function nBe(e,t){let[n,r,i]=yN.from(e),[o,a,s]=yN.from(t);return 720*Math.sqrt(Et(n-o,2)+.25*Et(r-a,2)+Et(i-s,2))}const rBe=[[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],iBe=[[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],oBe=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],aBe=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]];var C_=new mn({id:"oklab",name:"Oklab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:fl,fromBase(e){let t=Qi(rBe,e).map(n=>Math.cbrt(n));return Qi(oBe,t)},toBase(e){let t=Qi(aBe,e).map(n=>Et(n,3));return Qi(iBe,t)},formats:{oklab:{coords:["<percentage> | <number>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}});function sBe(e,t){let[n,r,i]=C_.from(e),[o,a,s]=C_.from(t),c=n-o,l=r-a,g=i-s;return Math.sqrt(Et(c,2)+Et(l,2)+Et(g,2))}var k_={deltaE76:z6e,deltaECMC:F6e,deltaE2000:gN,deltaEJz:$6e,deltaEITP:nBe,deltaEOK:sBe};function Ay(e,t,n={}){Sb(n)&&(n={method:n});let r=n,{method:i=au.deltaE}=r,o=ao(r,["method"]);e=wr(e),t=wr(t);for(let a in k_)if("deltae"+i.toLowerCase()===a.toLowerCase())return k_[a](e,t,o);throw new TypeError(`Unknown deltaE method: ${i}`)}function lBe(e,t=.25){let n=[mn.get("oklch","lch"),"l"];return dh(e,n,r=>r*(1+t))}function cBe(e,t=.25){let n=[mn.get("oklch","lch"),"l"];return dh(e,n,r=>r*(1-t))}var uBe=Object.freeze({__proto__:null,darken:cBe,lighten:lBe});function jee(e,t,n=.5,r={}){[e,t]=[wr(e),wr(t)],th(n)==="object"&&([n,r]=[.5,n]);let{space:i,outputSpace:o,premultiplied:a}=r;return kb(e,t,{space:i,outputSpace:o,premultiplied:a})(n)}function Iee(e,t,n={}){let r;s5(e)&&([r,n]=[e,t],[e,t]=r.rangeArgs.colors);let i=n,{maxDeltaE:o,deltaEMethod:a,steps:s=2,maxSteps:c=1e3}=i,l=ao(i,["maxDeltaE","deltaEMethod","steps","maxSteps"]);r||([e,t]=[wr(e),wr(t)],r=kb(e,t,l));let g=Ay(e,t),b=o>0?Math.max(s,Math.ceil(g/o)+1):s,u=[];if(c!==void 0&&(b=Math.min(b,c)),b===1)u=[{p:.5,color:r(.5)}];else{let z=1/(b-1);u=Array.from({length:b},(w,x)=>{let C=x*z;return{p:C,color:r(C)}})}if(o>0){let z=u.reduce((w,x,C)=>{if(C===0)return 0;let H=Ay(x.color,u[C-1].color,a);return Math.max(w,H)},0);for(;z>o;){z=0;for(let w=1;w<u.length&&u.length<c;w++){let x=u[w-1],C=u[w],H=(C.p+x.p)/2,G=r(H);z=Math.max(z,Ay(G,x.color),Ay(G,C.color)),u.splice(w,0,{p:H,color:r(H)}),w++}}}return u=u.map(z=>z.color),u}function kb(e,t,n={}){if(s5(e)){let[c,l]=[e,t];return kb(...c.rangeArgs.colors,Fe(Fe({},c.rangeArgs.options),l))}let{space:r,outputSpace:i,progression:o,premultiplied:a}=n;e=wr(e),t=wr(t),e=y0(e),t=y0(t);let s={colors:[e,t],options:n};if(r?r=mn.get(r):r=mn.registry[au.interpolationSpace]||e.space,i=i?mn.get(i):r,e=hl(e,r),t=hl(t,r),e=hh(e),t=hh(t),r.coords.h&&r.coords.h.type==="angle"){let c=n.hue=n.hue||"shorter",l=[r,"h"],[g,b]=[gl(e,l),gl(t,l)];[g,b]=a6e(c,[g,b]),dh(e,l,g),dh(t,l,b)}return a&&(e.coords=e.coords.map(c=>c*e.alpha),t.coords=t.coords.map(c=>c*t.alpha)),Object.assign(c=>{c=o?o(c):c;let l=e.coords.map((u,z)=>{let w=t.coords[z];return x_(u,w,c)}),g=x_(e.alpha,t.alpha,c),b={space:r,coords:l,alpha:g};return a&&(b.coords=b.coords.map(u=>u/g)),i!==r&&(b=hl(b,i)),b},{rangeArgs:s})}function s5(e){return th(e)==="function"&&!!e.rangeArgs}au.interpolationSpace="lab";function dBe(e){e.defineFunction("mix",jee,{returns:"color"}),e.defineFunction("range",kb,{returns:"function<color>"}),e.defineFunction("steps",Iee,{returns:"array<color>"})}var hBe=Object.freeze({__proto__:null,isRange:s5,mix:jee,range:kb,register:dBe,steps:Iee}),Ree=new mn({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:b0,fromBase:e=>{let t=Math.max(...e),n=Math.min(...e),[r,i,o]=e,[a,s,c]=[NaN,0,(n+t)/2],l=t-n;if(l!==0){switch(s=c===0||c===1?0:(t-c)/Math.min(c,1-c),t){case r:a=(i-o)/l+(i<o?6:0);break;case i:a=(o-r)/l+2;break;case o:a=(r-i)/l+4}a=a*60}return[a,s*100,c*100]},toBase:e=>{let[t,n,r]=e;t=t%360,t<0&&(t+=360),n/=100,r/=100;function i(o){let a=(o+t/30)%12,s=n*Math.min(r,1-r);return r-s*Math.max(-1,Math.min(a-3,9-a,1))}return[i(0),i(8),i(4)]},formats:{hsl:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:!0,lastAlpha:!0}}}),zee=new mn({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:Ree,fromBase(e){let[t,n,r]=e;n/=100,r/=100;let i=r+n*Math.min(r,1-r);return[t,i===0?0:200*(1-r/i),100*i]},toBase(e){let[t,n,r]=e;n/=100,r/=100;let i=r*(1-n/2);return[t,i===0||i===1?0:(r-i)/Math.min(i,1-i)*100,i*100]},formats:{color:{toGamut:!0}}}),pBe=new mn({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:zee,fromBase(e){let[t,n,r]=e;return[t,r*(100-n)/100,100-r]},toBase(e){let[t,n,r]=e;n/=100,r/=100;let i=n+r;if(i>=1){let s=n/i;return[t,0,s*100]}let o=1-r,a=o===0?0:1-n/o;return[t,a*100,o*100]},formats:{hwb:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]}}});const fBe=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],gBe=[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]];var Bee=new cs({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:fBe,fromXYZ_M:gBe}),mBe=new cs({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:Bee,toBase:e=>e.map(t=>Math.pow(Math.abs(t),563/256)*Math.sign(t)),fromBase:e=>e.map(t=>Math.pow(Math.abs(t),256/563)*Math.sign(t)),formats:{color:{id:"a98-rgb"}}});const vBe=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],yBe=[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]];var Fee=new cs({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:o5,toXYZ_M:vBe,fromXYZ_M:yBe});const bBe=1/512,xBe=16/512;var wBe=new cs({id:"prophoto",name:"ProPhoto",base:Fee,toBase(e){return e.map(t=>t<xBe?t/16:Et(t,1.8))},fromBase(e){return e.map(t=>t>=bBe?Et(t,1/1.8):16*t)},formats:{color:{id:"prophoto-rgb"}}}),_Be=new mn({id:"oklch",name:"Oklch",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:C_,fromBase(e){let[t,n,r]=e,i;const o=2e-4;return Math.abs(n)<o&&Math.abs(r)<o?i=NaN:i=Math.atan2(r,n)*180/Math.PI,[t,Math.sqrt(Et(n,2)+Et(r,2)),HC(i)]},toBase(e){let[t,n,r]=e,i,o;return isNaN(r)?(i=0,o=0):(i=n*Math.cos(r*Math.PI/180),o=n*Math.sin(r*Math.PI/180)),[t,i,o]},formats:{oklch:{coords:["<number> | <percentage>","<number> | <percentage>[0,1]","<number> | <angle>"]}}});const nW=203,rW=2610/Et(2,14),SBe=Et(2,14)/2610,CBe=2523/Et(2,5),iW=Et(2,5)/2523,oW=3424/Et(2,12),aW=2413/Et(2,7),sW=2392/Et(2,7);var kBe=new cs({id:"rec2100pq",name:"REC.2100-PQ",base:UC,toBase(e){return e.map(function(t){return Et(Math.max(Et(t,iW)-oW,0)/(aW-sW*Et(t,iW)),SBe)*1e4/nW})},fromBase(e){return e.map(function(t){let n=Math.max(t*nW/1e4,0),r=oW+aW*Et(n,rW),i=1+sW*Et(n,rW);return Et(r/i,CBe)})},formats:{color:{id:"rec2100-pq"}}});const lW=.17883277,cW=.28466892,uW=.55991073,jT=3.7743;var MBe=new cs({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:UC,toBase(e){return e.map(function(t){return t<=.5?Et(t,2)/3*jT:(Math.exp((t-uW)/lW)+cW)/12*jT})},fromBase(e){return e.map(function(t){return t/=jT,t<=1/12?Math.sqrt(3*t):lW*Math.log(12*t-cW)+uW})},formats:{color:{id:"rec2100-hlg"}}});const Wee={};uh.add("chromatic-adaptation-start",e=>{e.options.method&&(e.M=Hee(e.W1,e.W2,e.options.method))});uh.add("chromatic-adaptation-end",e=>{e.M||(e.M=Hee(e.W1,e.W2,e.options.method))});function VC({id:e,toCone_M:t,fromCone_M:n}){Wee[e]=arguments[0]}function Hee(e,t,n="Bradford"){let r=Wee[n],[i,o,a]=Qi(r.toCone_M,e),[s,c,l]=Qi(r.toCone_M,t),g=[[s/i,0,0],[0,c/o,0],[0,0,l/a]],b=Qi(g,r.toCone_M);return Qi(r.fromCone_M,b)}VC({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]});VC({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]});VC({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]});VC({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]});Object.assign(ec,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]});ec.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];const TBe=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],ABe=[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]];var Uee=new cs({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:ec.ACES,toXYZ_M:TBe,fromXYZ_M:ABe,formats:{color:{}}});const fx=Et(2,-16),IT=-.35828683,gx=(Math.log2(65504)+9.72)/17.52;var EBe=new cs({id:"acescc",name:"ACEScc",coords:{r:{range:[IT,gx],name:"Red"},g:{range:[IT,gx],name:"Green"},b:{range:[IT,gx],name:"Blue"}},referred:"scene",base:Uee,toBase(e){const t=-.3013698630136986;return e.map(function(n){return n<=t?(Et(2,n*17.52-9.72)-fx)*2:n<gx?Et(2,n*17.52-9.72):65504})},fromBase(e){return e.map(function(t){return t<=0?(Math.log2(fx)+9.72)/17.52:t<fx?(Math.log2(fx+t*.5)+9.72)/17.52:(Math.log2(t)+9.72)/17.52})},formats:{color:{}}}),dW=Object.freeze({__proto__:null,A98RGB:mBe,A98RGB_Linear:Bee,ACEScc:EBe,ACEScg:Uee,HSL:Ree,HSV:zee,HWB:pBe,ICTCP:yN,JzCzHz:vN,Jzazbz:Pee,LCH:v0,Lab:Ts,Lab_D65:mN,OKLCH:_Be,OKLab:C_,P3:Mee,P3_Linear:Cee,ProPhoto:wBe,ProPhoto_Linear:Fee,REC_2020:See,REC_2020_Linear:UC,REC_2100_HLG:MBe,REC_2100_PQ:kBe,XYZ_ABS_D65:a5,XYZ_D50:o5,XYZ_D65:fl,sRGB:b0,sRGB_Linear:kee});let Pa=class Ga{constructor(...t){let n;t.length===1&&(n=wr(t[0]));let r,i,o;n?(r=n.space||n.spaceId,i=n.coords,o=n.alpha):[r,i,o]=t,Object.defineProperty(this,"space",{value:mn.get(r),writable:!1,enumerable:!0,configurable:!0}),this.coords=i?i.slice():[0,0,0],this.alpha=o<1?o:1;for(let a=0;a<this.coords.length;a++)this.coords[a]==="NaN"&&(this.coords[a]=NaN);for(let a in this.space.coords)Object.defineProperty(this,a,{get:()=>this.get(a),set:s=>this.set(a,s)})}get spaceId(){return this.space.id}clone(){return new Ga(this.space,this.coords,this.alpha)}toJSON(){return{spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}display(...t){let n=f6e(this,...t);return n.color=new Ga(n.color),n}static get(t,...n){return t instanceof Ga?t:new Ga(t,...n)}static defineFunction(t,n,r=n){let{instance:i=!0,returns:o}=r,a=function(...s){let c=n(...s);if(o==="color")c=Ga.get(c);else if(o==="function<color>"){let l=c;c=function(...g){let b=l(...g);return Ga.get(b)},Object.assign(c,l)}else o==="array<color>"&&(c=c.map(l=>Ga.get(l)));return c};t in Ga||(Ga[t]=a),i&&(Ga.prototype[t]=function(...s){return a(this,...s)})}static defineFunctions(t){for(let n in t)Ga.defineFunction(n,t[n],t[n])}static extend(t){if(t.register)t.register(Ga);else for(let n in t)Ga.defineFunction(n,t[n])}};Pa.defineFunctions({get:gl,getAll:Cb,set:dh,setAll:_ee,to:hl,equals:g6e,inGamut:$y,toGamut:hh,distance:Tee,toString:S_});Object.assign(Pa,{util:t6e,hooks:uh,WHITES:ec,Space:mn,spaces:mn.registry,parse:wee,defaults:au});for(let e of Object.keys(dW))mn.register(dW[e]);for(let e in mn.registry)bN(e,mn.registry[e]);uh.add("colorspace-init-end",e=>{var t;bN(e.id,e),(t=e.aliases)==null||t.forEach(n=>{bN(n,e)})});function bN(e,t){Object.values(t.coords).map(r=>r.name);let n=e.replace(/-/g,"_");Object.defineProperty(Pa.prototype,n,{get(){let r=this.getAll(e);return typeof Proxy>"u"?r:new Proxy(r,{has:(i,o)=>{try{return mn.resolveCoord([t,o]),!0}catch{}return Reflect.has(i,o)},get:(i,o,a)=>{if(o&&typeof o!="symbol"&&!(o in i)){let{index:s}=mn.resolveCoord([t,o]);if(s>=0)return i[s]}return Reflect.get(i,o,a)},set:(i,o,a,s)=>{if(o&&typeof o!="symbol"&&!(o in i)||o>=0){let{index:c}=mn.resolveCoord([t,o]);if(c>=0)return i[c]=a,this.setAll(e,i),!0}return Reflect.set(i,o,a,s)}})},set(r){this.setAll(e,r)},configurable:!0,enumerable:!0})}Pa.extend(k_);Pa.extend({deltaE:Ay});Object.assign(Pa,{deltaEMethods:k_});Pa.extend(uBe);Pa.extend({contrast:j6e});Pa.extend(R6e);Pa.extend(v6e);Pa.extend(hBe);Pa.extend(bw);const Vee=.15,ac=e=>typeof e=="string"?new Pa(e):e,Ru=e=>e.toString({format:"hex"}),Yee=(...e)=>{const t=e.map(ac);if(t.length<2)return()=>Ru(t[0]);const n=t.slice(0,-1).map((r,i)=>[r,t[i+1]]).map(([r,i])=>{const o=Pa.range(r,i,{outputSpace:"srgb"});return a=>Ru(o(a))});return r=>{if(r<=0)return Ru(t[0]);if(r>=1)return Ru(t[t.length-1]);const i=Math.floor(r*n.length);return n[i](r*n.length-i)}},OBe=(e,...t)=>{const n=t.map(ac);if(n.length<2)return Array(e).fill(Ru(n[0]));const r=Yee(...n);return Array(e).fill(0).map((i,o)=>r(o/(e-1)))},Gee=e=>Ru(ac(e).set("hsl.s",0)),PBe=(e,t)=>Ru(Pa.mix(e,t,.5,{outputSpace:"srgb"})),DBe=(e,t)=>Math.abs(ac(t).hsl.h-ac(e).hsl.h),x0=(e,t)=>{const n=ac(e);return n.hsv.v=n.hsv.v+n.hsv.v*t,n.hsv.v>100&&(n.hsv.s=n.hsv.s-(n.hsv.v-100)/1.677),n.hsv.s=Math.max(0,Math.min(100,n.hsv.s)),n.hsv.v=Math.max(0,Math.min(100,n.hsv.v)),Ru(n)},$ee=e=>({R:e.srgb[0]*255,G:e.srgb[1]*255,B:e.srgb[2]*255}),Mb=e=>{const{R:t,G:n,B:r}=$ee(e);return 1-(.299*t+.587*n+.114*r)/255};function LBe(e){return Mb(e)<.9}const yl=(e,t=.05,n=1)=>{const r=ac(e),{R:i,G:o,B:a}=$ee(r),s=Mb(r);let c=t;LBe(r)&&(c*=-.6),c*=Math.exp(s*1.2);const l=Math.min(Math.max(Math.round(255*c)+i,0),255),g=Math.min(Math.max(Math.round(255*c)+o,0),255),b=Math.min(Math.max(Math.round(255*c)+a,0),255);return`rgba(${l}, ${g}, ${b}, ${n})`},Gl=(e,t)=>{const n=ac(e);return n.alpha=t,Ru(n)};function NBe(e){return t=>{var n,r,i;const{steps:o,minColor:a,maxColor:s}=e,c=(n=e.minValue)!=null?n:Math.min(...t),l=(r=e.maxValue)!=null?r:Math.max(...t),g=(i=e.midValue)!=null?i:c<0&&l>0?0:(c+l)/2,b=jBe(a??m0,s??m0,c,g,l,o);return u=>b(u)}}const jBe=(e,t,n,r,i,o=0)=>{const a=zBe(n,r,i),s=DBe(e,t)>90?[e,Gee(PBe(e,t)),t]:[e,t];return o<=0?IBe(a,s):RBe(a,o,s)},IBe=(e,t)=>{const n=Yee(...t);return r=>n(e(r))},RBe=(e,t,n)=>{const r=OBe(t,...n);return i=>{const o=Math.floor(e(i)*t);return r[Math.min(Math.max(o,0),t-1)]}},zBe=(e,t,n)=>r=>r==e&&r==n?.5:r<t?.5*((r-e)/(t-e)):.5+.5*(r-t)/(n-t);function l5(e){let t;switch(typeof e=="string"?t=r5(e):t=e,t.type){case"uniform":return{type:"Static",getColor:Q4e(t)};case"conditional":return{type:"Absolute",getColor:J4e(t)};case"range":return{type:"Relative",getColor:NBe(t)}}}const YC=e=>{const{getValueFromDataStructure:t,applyColorToDataStructure:n}=e;return(r,i)=>{const o=l5(i);let a;switch(o.type){case"Static":a=()=>o.getColor();break;case"Absolute":a=s=>o.getColor(s);break;case"Relative":{const s=r.map(t),c=o.getColor(s);a=l=>c(l);break}}return r.map(s=>{const c=t(s),l=a(c);return n(s,l)})}},BBe=YC({getValueFromDataStructure:e=>e.value,applyColorToDataStructure:(e,t)=>nt(Fe({},e),{color:t})});var FBe=BK,WBe=hb,HBe=lb,UBe=lo,VBe=cf,YBe=cb,GBe=mC,$Be=gC,qBe="[object Map]",XBe="[object Set]",ZBe=Object.prototype,KBe=ZBe.hasOwnProperty;function QBe(e){if(e==null)return!0;if(VBe(e)&&(UBe(e)||typeof e=="string"||typeof e.splice=="function"||YBe(e)||$Be(e)||HBe(e)))return!e.length;var t=WBe(e);if(t==qBe||t==XBe)return!e.size;if(GBe(e))return!FBe(e).length;for(var n in e)if(KBe.call(e,n))return!1;return!0}var qee=QBe;const JBe=On(qee),Xee=(e,t)=>Object.assign(Object.create(e),t),hW=(e,t)=>Object.assign(Object.create(Object.getPrototypeOf(e)),e,t),Zee=e=>{const t="column"in e;let n=e,r;if(t){const i=e,{column:o}=i,a=ao(i,["column"]);n=o,JBe(a)||(r=a)}return{column:n,style:r}},ea=e=>{var t;const{column:n,style:r}=Zee(e),i=oc(n.type)?(t=n==null?void 0:n.getFormat)==null?void 0:t.call(n):void 0,o=nt(Fe({},r),{dateFormat:(r==null?void 0:r.dateFormat)||i});return Xee(n,o)},Zi=e=>{var t,n;const r="column"in e,i=r?e.column:e,o=Xee(i,nt(Fe({},r?e:{}),{title:(n=(t=e.title)!=null?t:i.title)!=null?n:i.name,enabled:!0}));return o.aggregation=o.aggregation||"sum",o},Dp=e=>rc(e)?Zi(e):ea(e),Kee=e=>e,eFe=e=>e,Qee=e=>e,GC=e=>e,Cs=e=>{var t;return(t=e.title)!=null?t:e.name},pl=e=>GC(ea(e)),M_=(e,t)=>{var n;if(t.rows.length===0)return{type:"cartesian",series:[],xValues:[],xAxisCount:0};const r=e,i=r.x.length;let o=Wp(t,r.x.map(u=>u.name));o=o.map((u,z)=>nt(Fe({},u),{direction:Jee(r.x[z].sortType)}));const a=Wp(t,r.breakBy.map(u=>u.name)),s=r.y.filter(u=>(u==null?void 0:u.sortType)&&u.sortType!=="sortNone"),c=o.length>1?1:0,l=ete(t,s,o,((n=o[c])==null?void 0:n.direction)===0?Vg:void 0),g=r.y.map(u=>u.name),b=r.breakBy.length>0?iFe(t,l,o,g[0],a,r.breakBy):tFe(t,l,o,g,r.y);return nt(Fe({},b),{xAxisCount:i,type:"cartesian"})},Jee=e=>{switch(e){case"sortNone":return 0;case"sortDesc":return-1;case"sortAsc":default:return 1}},ete=(e,t,n,r)=>{if(n.length===0)return[{key:"",xValues:[""],rawValues:[]}];const i=t.map(b=>({column:b.name,agg:"sum",title:b.name}));if(r){const b={column:r,title:r,agg:"min"};i.push(b)}const o=uee(e,n,i),a=[];let s=0;if(n.length===2){s=1;const b=Li(o,n[0].name);b&&a.push(b)}if(t.map(b=>{const u=Li(o,b.name);return u&&a.push(nt(Fe({},u),{direction:b.sortType==="sortAsc"?1:-1})),b}),r){const b=Li(o,r);b&&a.push(b)}if(n.length>0){const b=Li(o,n[s].name);b&&a.push(b)}const c=t5(o,a),l=Wp(c,n.map(b=>b.name)),g=dee(c,l);return g.rows.map(b=>{const u=_b(b,g.columns),z=u.map(C=>C.displayValue),w=u.map(C=>{var H;return(H=C.rawValue)!=null?H:C.displayValue}),x=u.map(C=>{var H;return(H=C==null?void 0:C.compareValue)==null?void 0:H.value});return{key:w.join(","),xValues:z,rawValues:w,compareValues:x}})},tFe=(e,t,n,r,i)=>{const o=Wp(e,r),a=i.reduce((l,g)=>(l[g.name]=g,l),{});if(o.length===0)return{type:"cartesian",series:[],xValues:[]};const s=n5(e.rows,n),c=o.map(l=>{let g=t.map(u=>{var z;const w=s[u.key],x=w?w[0]:[],C=To(x,l),{color:H,rawValue:G}=(z=x[l.index])!=null?z:{};return Fe({rawValue:G,xValue:u.rawValues,xDisplayValue:u.xValues,xCompareValue:u.compareValues,value:C===void 0?NaN:C,blur:FC(x,l)},H&&{color:H})});const b=a[l.name].color;return b&&(g=BBe(g,b)),{name:l.name,title:Cs(a[l.name]),data:g}});return{xValues:t,series:c}},nFe=(e,t,n)=>_b(e,t).map((r,i)=>{const o=Jr(n[i].numberFormatConfig);return Si(t[i].type)?di(o,parseFloat(r.displayValue)):r.displayValue}).join(","),rFe=(e,t)=>_b(e,t).map(({rawValue:n})=>n),iFe=(e,t,n,r,i,o)=>{const a=Li(e,r);if(!a)return{type:"cartesian",series:[],xValues:[]};const s=e5(e.rows,i).map(c=>{const l=c[0];return{seriesName:nFe(l,i,o),seriesValues:rFe(l,i),rowsByXColumns:n5(c,n)}}).map(c=>{const l=t.map(g=>{var b;const u=c.rowsByXColumns[g.key],z=u?u[0]:[],w=To(z,a),{color:x,rawValue:C}=(b=z[a.index])!=null?b:{};return Fe({rawValue:C,value:w===void 0?NaN:w,xValue:g.rawValues,xDisplayValue:g.xValues,xCompareValue:g.compareValues,blur:FC(z,a)},x&&{color:x})});return{name:c.seriesName,data:l,custom:{rawValue:c.seriesValues}}});return{xValues:t,series:s}},oFe=(e,t)=>{const n=nt(Fe({},e),{x:e.breakBy,breakBy:[]});let r=M_(n,t);if(e.breakBy.some(i=>Si(i.type)&&(i==null?void 0:i.numberFormatConfig))){const i=r.xValues.map(o=>{const a=[];return e.breakBy.forEach((s,c)=>{const l=Jr(s==null?void 0:s.numberFormatConfig),g=o.xValues[c];Si(s.type)?a.push(di(l,parseFloat(g))):a.push(o.xValues[c])}),nt(Fe({},o),{xValues:a})});r=nt(Fe({},r),{xValues:i})}return nt(Fe({},r),{type:"categorical"})},aFe={displayValue:"0"},Zv=(e,t)=>{if(t){for(let n=0;n<e.columns.length;n++)if(e.columns[n].name===t.name)return n}return-1},sFe=(e,t)=>({x:Zv(t,e.x),y:Zv(t,e.y),breakByPoint:Zv(t,e.breakByPoint),breakByColor:Zv(t,e.breakByColor),size:Zv(t,e.size)}),pW=(e,t)=>t[e]||aFe,lFe=(e,t)=>{const n=new Set;return e.forEach(r=>{n.add(r[t].displayValue)}),Array.from(n.values())},fW=(e,t,n)=>{if(n&&Sh(n))return lFe(e,t)},gW=(e,t)=>[e,t],cFe=(e,t)=>{const n=new Map(e==null?void 0:e.map(gW)),r=new Map(t==null?void 0:t.map(gW));return{xCategoriesMap:n,yCategoriesMap:r}},uFe=(e,t)=>{var n,r;const i=sFe(e,t),o=e!=null&&e.breakByPoint&&Si(e.breakByPoint.type)?Jr((n=e.breakByPoint)==null?void 0:n.numberFormatConfig):void 0,a=e!=null&&e.breakByColor&&(!Sh(e.breakByColor)||Si(e.breakByColor.type))?Jr((r=e.breakByColor)==null?void 0:r.numberFormatConfig):void 0;return t.rows.map(s=>{const c=Fe({},s[i.breakByPoint]);o&&(c.displayValue=di(o,c.compareValue?c.compareValue.value:parseFloat(c.displayValue)));const l=Fe({},s[i.breakByColor]);return a&&(l.displayValue=di(a,l.compareValue?l.compareValue.value:parseFloat(l.displayValue))),{xAxis:pW(i.x,s),yAxis:pW(i.y,s),breakByPoint:c,breakByColor:l,size:s[i.size]}})},dFe=(e,t)=>{const n=uFe(e,t),{x:r,y:i}=e,o=fW(n,"xAxis",r),a=fW(n,"yAxis",i);return{type:"scatter",scatterDataTable:n,xCategories:o,yCategories:a}},mx=(e,t)=>{if(!t||t.length!==1)return[void 0,void 0];const n=Li(e,t[0].name);return n?[To(e.rows[0],n),t[0].name]:[void 0,void 0]},hFe=(e,t)=>{const n={type:"indicator"};if(!e.value||t.rows.length===0)return n;const[r]=mx(t,e.value);if(r===void 0)return n;const[i]=mx(t,e.secondary),[o]=mx(t,e.min),[a]=mx(t,e.max);return{type:"indicator",value:r,secondary:i,min:o,max:a}},pFe=(e,t)=>{const n=e.category&&Li(t,e.category.name);n&&(n.direction=Jee(e.category.sortType));const r=ete(t,[],n?[n]:[],(n==null?void 0:n.direction)===0?Vg:void 0),i=n5(t.rows,n?[n]:[]),o=Li(t,e.boxMin.name),a=Li(t,e.boxMedian.name),s=Li(t,e.boxMax.name),c=Li(t,e.whiskerMin.name),l=Li(t,e.whiskerMax.name),g=e.outliers&&Li(t,e.outliers.name),b=[],u=[];r.forEach((w,x)=>{const C=i[w.key],H=C?C[0]:[],G=n&&FC(H,n);b.push({q1:o?To(H,o):0,median:a?To(H,a):0,q3:s?To(H,s):0,low:c?To(H,c):0,high:l?To(H,l):0,blur:G});const $=g?H[g.index].rawValue.split(",").map(U=>parseFloat(U)):[];u.push(...$.map(U=>({x,y:U,blur:G})))});const z=[{name:e.valueTitle,title:e.valueTitle,data:b}];return u.length>0&&z.push({name:e.valueTitle,title:e.valueTitle,data:u}),{type:"boxplot",xValues:r,series:z}},Es=(e,t)=>{var n;const r=e==null?void 0:e.filter(i=>i);return(n=r&&r[t%r.length])!=null?n:K4e[t%10]},fFe=(e,t)=>{let n={type:"range",steps:e.steps};if(e.rangeMode!=="auto"){const a=parseFloat(`${e.minvalue}`),s=parseFloat(`${e.midvalue}`),c=parseFloat(`${e.maxvalue}`);n=Fe(Fe(Fe(Fe({},n),a&&{minValue:a}),s&&{midValue:s}),c&&{maxValue:c})}const r=Es(t,0),i=x0(r,.2),o=x0(r,-.2);switch(e.rangeMode){case"auto":return nt(Fe({},n),{minColor:Gee(r),maxColor:o});case"both":return nt(Fe({},n),{minColor:e.min||i,maxColor:e.max||o});case"min":return nt(Fe({},n),{minColor:e.min||i,maxColor:m0});case"max":return nt(Fe({},n),{minColor:m0,maxColor:e.max||o})}},tte=(e,t)=>{if(e!==void 0)switch(e.type){case"color":return{type:"uniform",color:e.color||Es(t,e.colorIndex||0)};case"range":return fFe(e,t);case"condition":return{type:"conditional",conditions:e.conditions.filter(n=>typeof n.expression=="string"),defaultColor:Es(t,0)};default:return r5(Es(t,0))}},$C=e=>Object.entries(e).reduce((t,[n,{color:r}])=>(t[n]=r,t),{}),gFe=e=>e.reduce((t,n)=>{var r,i;return(r=n.format)!=null&&r.members&&(t[c_(n.jaql.title)]=$C((i=n.format)==null?void 0:i.members)),t},{}),mFe=YC({getValueFromDataStructure:e=>e.originalValue,applyColorToDataStructure:(e,t)=>nt(Fe({},e),{color:t})}),vFe=tte({type:"range",steps:5,rangeMode:"auto"}),yFe=(e,t)=>{const n=Li(t,e.geo.name),r=Li(t,e.color.name);if(!n||!r)throw new Error("Missing required column");const i=t.rows.map(o=>{const a=To(o,r),s=Jr(e.color.numberFormatConfig),c=di(s,a);return{geoName:To(o,n),originalValue:a,formattedOriginalValue:c}});return{type:"areamap",geoData:mFe(i,e.color.color||vFe)}};function bFe(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}var xFe=bFe,wFe=xFe;function _Fe(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:wFe(e,t,n)}var SFe=_Fe;function CFe(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}var kFe=CFe;function MFe(e){return e!==e}var TFe=MFe;function AFe(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}var EFe=AFe,OFe=kFe,PFe=TFe,DFe=EFe;function LFe(e,t,n){return t===t?DFe(e,t,n):OFe(e,PFe,n)}var c5=LFe,NFe=c5;function jFe(e,t){for(var n=e.length;n--&&NFe(t,e[n],0)>-1;);return n}var IFe=jFe,RFe=c5;function zFe(e,t){for(var n=-1,r=e.length;++n<r&&RFe(t,e[n],0)>-1;);return n}var BFe=zFe;function FFe(e){return e.split("")}var WFe=FFe,HFe="\\ud800-\\udfff",UFe="\\u0300-\\u036f",VFe="\\ufe20-\\ufe2f",YFe="\\u20d0-\\u20ff",GFe=UFe+VFe+YFe,$Fe="\\ufe0e\\ufe0f",qFe="\\u200d",XFe=RegExp("["+qFe+HFe+GFe+$Fe+"]");function ZFe(e){return XFe.test(e)}var KFe=ZFe,nte="\\ud800-\\udfff",QFe="\\u0300-\\u036f",JFe="\\ufe20-\\ufe2f",e8e="\\u20d0-\\u20ff",t8e=QFe+JFe+e8e,n8e="\\ufe0e\\ufe0f",r8e="["+nte+"]",xN="["+t8e+"]",wN="\\ud83c[\\udffb-\\udfff]",i8e="(?:"+xN+"|"+wN+")",rte="[^"+nte+"]",ite="(?:\\ud83c[\\udde6-\\uddff]){2}",ote="[\\ud800-\\udbff][\\udc00-\\udfff]",o8e="\\u200d",ate=i8e+"?",ste="["+n8e+"]?",a8e="(?:"+o8e+"(?:"+[rte,ite,ote].join("|")+")"+ste+ate+")*",s8e=ste+ate+a8e,l8e="(?:"+[rte+xN+"?",xN,ite,ote,r8e].join("|")+")",c8e=RegExp(wN+"(?="+wN+")|"+l8e+s8e,"g");function u8e(e){return e.match(c8e)||[]}var d8e=u8e,h8e=WFe,p8e=KFe,f8e=d8e;function g8e(e){return p8e(e)?f8e(e):h8e(e)}var m8e=g8e,v8e=tQ,y8e=vJ,b8e=SFe,x8e=IFe,w8e=BFe,mW=m8e,_8e=gI;function S8e(e,t,n){if(e=_8e(e),e&&(n||t===void 0))return y8e(e);if(!e||!(t=v8e(t)))return e;var r=mW(e),i=mW(t),o=w8e(r,i),a=x8e(r,i)+1;return b8e(r,o,a).join("")}var C8e=S8e;const k8e=On(C8e),lte=",";function M8e(e){return e.join(`${lte} `)}function T8e(e){return e.split(lte).map(k8e)}function A8e(e){switch(e){case"city":return"city";case"state":return"adm";case"country":return"country"}}function E8e(e){const{name:t,rawName:n,coordinates:r,value:i}=e;return{categories:n,displayName:t,coordinates:{lat:r.lat,lng:r.lng},value:i}}const O8e="N\\A",P8e=1,D8e=(e,t)=>{const n=L8e(e),r=e.locations&&Wp(t,e.locations.map(({name:s})=>s)),i=e.size&&Li(t,e.size.name),o=e.colorBy&&Li(t,e.colorBy.name),a=e.details&&Li(t,e.details.name);return{type:"scattermap",locations:t.rows.filter(s=>r.some(c=>To(s,c)!==O8e)).map(s=>{const c=r.map(u=>To(s,u)),l=M8e(c);let g;n&&(g={lat:To(s,r[0]),lng:To(s,r[1])});const b=r[0]&&FC(s,r[0]);return Fe(nt(Fe(Fe({name:l,rawName:c,value:i?To(s,i):P8e},o&&{colorValue:To(s,o)}),a&&{details:To(s,a)}),{blur:b}),g?{coordinates:g}:null)})}};function L8e(e){return e.locations.length===2&&e.locations.filter(t=>Si(t.type)).length===2}const N8e=(e,t)=>{const n=()=>nt(Fe({},e),{y:[]}),r=n(),i=n(),o=1,a=0;e.rangeValues.forEach(l=>{const g=l[o],b=l[a];r.y.push(g),i.y.push(b)});const s=M_(r,t),c=M_(i,t);return nt(Fe({},s),{type:"range",seriesOther:c})},j8e=(e,t,n)=>{if(sd(e))return M_(t,n);if(Zm(e))return oFe(t,n);if(ff(e))return dFe(t,n);if(gf(e))return D8e(t,n);if(wb(e))return hFe(t,n);if(mf(e))return pFe(t,n);if(vf(e))return yFe(t,n);if(BC(e))return N8e(t,n);throw new Error(`Unexpected chart type: ${e}`)};var I8e=MC,R8e=UJ,z8e=VJ;function B8e(e,t){return z8e(R8e(e,t,I8e),e+"")}var qC=B8e,F8e=c5;function W8e(e,t){var n=e==null?0:e.length;return!!n&&F8e(e,t,0)>-1}var H8e=W8e;function U8e(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}var V8e=U8e,RT=$K,Y8e=YJ,G8e=uI,$8e=1/0,q8e=RT&&1/G8e(new RT([,-0]))[1]==$8e?function(e){return new RT(e)}:Y8e,X8e=q8e,Z8e=FK,K8e=H8e,Q8e=V8e,J8e=WK,eWe=X8e,tWe=uI,nWe=200;function rWe(e,t,n){var r=-1,i=K8e,o=e.length,a=!0,s=[],c=s;if(n)a=!1,i=Q8e;else if(o>=nWe){var l=t?null:eWe(e);if(l)return tWe(l);a=!1,i=J8e,c=new Z8e}else c=t?[]:s;e:for(;++r<o;){var g=e[r],b=t?t(g):g;if(g=n||g!==0?g:0,a&&b===b){for(var u=c.length;u--;)if(c[u]===b)continue e;t&&c.push(b),s.push(g)}else i(c,b,n)||(c!==s&&c.push(b),s.push(g))}return s}var cte=rWe,iWe=cf,oWe=Hs;function aWe(e){return oWe(e)&&iWe(e)}var ute=aWe,sWe=WJ,lWe=qC,cWe=cte,uWe=ute,dWe=lWe(function(e){return cWe(sWe(e,1,uWe,!0))}),hWe=dWe;const pWe=On(hWe),dte=(e,t,n,r={})=>{if(WC(e))return{rows:[],columns:[]};const i=pWe(Wp(e,t.map(l=>l.name))),o=e,a=[...n.map(l=>{var g,b;return{column:(g=r[l.name])!=null?g:l.name,title:l.name,agg:(b=l.aggregation)!=null?b:"sum"}}),{column:Vg,title:Vg,agg:"min"}],s=uee(o,i,a),c=Li(s,Vg);if(!c)throw new Error("Unexpected data has no row num column");return t5(s,[c])};let Tb=class{degToRad(e){return e*Math.PI/180}getFitStringMeasure(e,t,n,r){e.font=r;let i=this.getStringWidth(e,t);const o="…",a=this.getStringWidth(e,o);if(i<=n)return{string:t,width:i};if(a>=n)return{string:o,width:a};do t=t.slice(0,t.length-1),i=this.getStringWidth(e,t);while(i+a>n);return{string:t+o,width:i+a}}getStringWidth(e,t){return Math.ceil(e.measureText(t).width)}floor(e,t){t=typeof t=="number"?t:0;const n=Math.pow(10,t);return Math.round(e*n)/n}setCanvasSizes(e,t,n,r){const i=window.devicePixelRatio||1;e.width=n*i,e.height=r*i,e.style.width=n+"px",e.style.height=r+"px",t.scale(i,i)}};const _g=new Tb,ap=function(e,t){return _g.floor(e*t.value,t.decimals)};function fWe(e,t){const n={};return e.forEach(r=>{t.some(function(i){return i.key===r?(n[r]=i,!0):!1})}),n}function gWe(e,t,n){const{showTitle:r,showSecondary:i,skin:o,maxHeight:a,maxWidth:s,borderWidth:c}=n;for(let l=0;l<t.length;l++){const g=t[l],b=g.value,u=ap(b,e.valueSectionMarginBottom),z=ap(b,e.indicatorVerticalMargin)*2;let w=b+u+z;if(r&&o==="vertical"){const x=ap(b,e.titleSectionHeight);w+=x}if(i){const x=ap(b,e.secSectionHeight),C=ap(b,e.secSectionMarginTop);w+=x+C+(c||0)}if(w<=a){const x=ap(b,e.numericMinWidth),C=ap(b,e.indicatorHorizontalMargin)*2;if(x+C<=s)return nt(Fe({},g),{maxWidth:s-C,maxHeight:a-z})}}return null}let mWe=class{getBaseMeasure(e,t,n){const r=t,i="sizes"in r?r.sizes:[],o=r.relativeSizes,a=r.measureKeys.concat(),s=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),l=fWe(a,o);return gWe(l,i,{maxWidth:s,maxHeight:c,showTitle:e.showTitle,showSecondary:e.showSecondary,skin:e.skin,borderWidth:"borderWidth"in r?r.borderWidth:0})}render(e,t,n,r){const i=e.getContext("2d");let o;n.height=r.value,n.maxWidth=r.maxWidth,n.maxHeight=r.maxHeight,o=n.height,n.fitValueMeasure=this.getFitValueMeasure(i,t,n),t.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,t,n),o+=t.skin==="vertical"?n.titleSectionHeight:0),t.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,t,n),o+=n.valueSectionMarginBottom+n.secSectionHeight+n.secSectionMarginTop+n.borderWidth);const a=this.getCanvasWidth(t,n);n.width=a,n.height=o,_g.setCanvasSizes(e,i,a,o),this.draw(i,t,n)}getFitTitleMeasure(e,t,n){const r=t.skin==="horizontal",i=n.maxWidth-(r?n.fitValueMeasure.width+n.valueSectionMarginRight:0);if(r&&i+n.titleSectionMinWidth<=0)return;const o=_g.getFitStringMeasure(e,t.title.text,i,n.titleFont);return o.width+=r?n.valueSectionMarginRight:0,o.key="title",o}getFitValueMeasure(e,t,n){const r=_g.getFitStringMeasure(e,t.value.text,n.maxWidth,n.valueFont);return r.key="value",r}getFitSecondaryMeasure(e,t,n){const r=n.secDividerWidth,i=n.maxWidth-r,o=i-n.secTitleMinWidth,a=_g.getFitStringMeasure(e,t.secondary.text,o,n.secondaryValueFont),s=i-a.width,c=_g.getFitStringMeasure(e,t.secondaryTitle.text,s,n.secondaryTitleFont);return{width:c.width+a.width+r,titleString:c.string,valueString:a.string,key:"secondary"}}getCanvasWidth(e,t){let n;const r=t.fitTitleMeasure,i=t.fitValueMeasure,o=t.fitSecondaryMeasure;if(t.fitMeasures.some(a=>{const s=t[a.key],c=e[a.dataKey];return!!(s&&c&&s[a.prop]!==c.text)}))return t.maxWidth;if(e.skin==="vertical"){let a=r&&r.width>i.width?r:i;a=o&&o.width>a.width?o:a,n=a.width}else n=i.width,r&&(n+=r.width),o&&o.width>n&&(n=o.width);return n}draw(e,t,n){this.clearCanvas(e,n),this.drawValue(e,t,n),t.showTitle&&this.drawTitle(e,t,n),t.showSecondary&&this.drawSecondary(e,n)}clearCanvas(e,t){e.fillStyle=t.backgroundColor,e.fillRect(0,0,t.width,t.height)}drawTitle(e,t,n){!n.fitTitleMeasure||t.skin==="horizontal"&&n.fitValueMeasure.string!==t[n.fitValueMeasure.key].text||(e.font=n.titleFont,e.fillStyle=n.titleColor,t.skin==="vertical"?(e.textAlign="center",e.textBaseline="middle",e.fillText(n.fitTitleMeasure.string,n.width/2,n.titleSectionHeight/2)):(e.textAlign="left",e.textBaseline="top",e.fillText(n.fitTitleMeasure.string,n.fitValueMeasure.width+n.valueSectionMarginRight,n.titleSectionMarginTop)))}drawValue(e,t,n){const r=t.skin==="vertical";e.fillStyle=n.valueColor||t.color,e.font=n.valueFont,e.textAlign=r?"center":"left",e.textBaseline="middle",e.fillText(n.fitValueMeasure.string,r?n.width/2:0,(t.showTitle&&r?n.titleSectionHeight:0)+n.valueSectionHeight/2)}drawSecondary(e,t){let n=t.height-t.secSectionHeight/2;e.font=t.secondaryTitleFont,e.fillStyle=t.secondaryTitleColor,e.textAlign="left",e.textBaseline="middle",e.fillText(t.fitSecondaryMeasure.titleString,0,n),e.font=t.secondaryValueFont,e.fillStyle=t.secondaryValueColor,e.textAlign="right",e.fillText(t.fitSecondaryMeasure.valueString,t.width,n),e.strokeStyle=t.borderColor,e.beginPath(),n=t.height-t.secSectionHeight-t.secSectionMarginTop-t.borderWidth,e.moveTo(0,n),e.lineTo(t.width,n),e.stroke()}};const Sg=new Tb,vx=function(e,t){return Sg.floor(e*t.value,t.decimals)};function vWe(e,t){const n={};return e.forEach(r=>{t.some(function(i){return i.key===r?(n[r]=i,!0):!1})}),n}function yWe(e,t,n){const{showTitle:r,showSecondary:i,maxHeight:o,maxWidth:a,bracketThickness:s}=n;for(let c=0;c<t.length;c++){const l=t[c],g=l.value,b=vx(g,e.indicatorMargin);let u=g+b;if(r){const z=vx(g,e.titleSectionHeight);u+=z}if(i){const z=vx(g,e.secSectionHeight);u+=z}if(u<=o){const z=vx(g,e.numericMinWidth),w=b*2;if(z+s*2+w<=a)return nt(Fe({},l),{maxWidth:a-w,maxHeight:o-b})}}return null}let bWe=class{getBaseMeasure(e,t,n){const r=t,i="sizes"in r?r.sizes:[],o=r.relativeSizes,a=r.measureKeys.concat(),s=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),l=vWe(a,o);return yWe(l,i,{maxWidth:s,maxHeight:c,showTitle:e.showTitle,showSecondary:e.showSecondary,bracketThickness:r.bracketThickness})}render(e,t,n,r){const i=e.getContext("2d");let o;n.height=r.value,n.maxWidth=r.maxWidth,n.maxHeight=r.maxHeight,n.offsetY=0,o=n.height,t.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,t,n),o+=n.titleSectionHeight),n.fitValueMeasure=this.getFitValueMeasure(i,t,n),t.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,t,n),o+=n.secSectionHeight);const a=this.getCanvasWidth(t,n);n.width=a,n.height=o,Sg.setCanvasSizes(e,i,a,o),this.draw(i,t,n)}getFitTitleMeasure(e,t,n){const r=n.bracketWidth*2+n.titleHorizontalMargin*2,i=n.maxWidth-r,o=Sg.getFitStringMeasure(e,t.title.text,i,n.titleFont);return o.width+=r,o.key="title",o}getFitValueMeasure(e,t,n){const r=n.bracketThickness*2,i=n.maxWidth-r,o=Sg.getFitStringMeasure(e,t.value.text,i,n.valueFont);return o.width+=r,o.key="value",o}getFitSecondaryMeasure(e,t,n){const r=n.bracketWidth*2+n.secDividerWidth,i=n.maxWidth-r,o=i-n.secTitleMinWidth,a=Sg.getFitStringMeasure(e,t.secondary.text,o,n.secondaryValueFont),s=i-a.width,c=Sg.getFitStringMeasure(e,t.secondaryTitle.text,s,n.secondaryTitleFont);return{width:c.width+a.width+r,titleString:c.string,valueString:a.string,key:"secondary"}}getCanvasWidth(e,t){let n=t.numericMinWidth+t.bracketThickness*2;const r=t.fitTitleMeasure,i=t.fitValueMeasure;let o=r&&r.width>i.width?r:i;const a=t.fitSecondaryMeasure,s=a&&a.width>o.width;let c;return o=s?a:o,s?c=o.titleString!==e.secondaryTitle.text||o.valueString!==e.secondary.text:c=o.string!==e[o.key].text,c?n=t.maxWidth:o.width>n&&(n=o.width),n}draw(e,t,n){this.clearCanvas(e,n),t.showTitle&&this.drawTitle(e,n),this.drawValue(e,t,n),t.showSecondary&&this.drawSecondary(e,n),(t.showTitle||t.showSecondary)&&this.drawBrackets(e,t,n)}clearCanvas(e,t){e.fillStyle=t.backgroundColor,e.fillRect(0,0,t.width,t.height)}drawTitle(e,t){e.font=t.titleFont,e.fillStyle=t.titleColor,e.textAlign="center",e.textBaseline="middle",e.fillText(t.fitTitleMeasure.string,t.width/2,t.titleSectionHeight/2),t.offsetY+=t.titleSectionHeight}drawValue(e,t,n){const r=n.offsetY;e.fillStyle=n.valueColor,e.fillRect(1,r,n.width-n.bracketThickness*2,n.valueSectionHeight),e.font=n.valueFont,e.fillStyle="white",e.textAlign="center",e.textBaseline="middle",e.fillText(n.fitValueMeasure.string,n.width/2,r+n.valueSectionHeight/2)}drawSecondary(e,t){const n=t.height-t.secBottomMargin;e.font=t.secondaryTitleFont,e.fillStyle=t.secondaryTitleColor,e.textAlign="left",e.textBaseline="bottom",e.fillText(t.fitSecondaryMeasure.titleString,t.bracketWidth,n),e.font=t.secondaryValueFont,e.fillStyle=t.secondaryValueColor,e.textAlign="right",e.textBaseline="bottom",e.fillText(t.fitSecondaryMeasure.valueString,t.width-t.bracketWidth,n)}drawBrackets(e,t,n){e.strokeStyle=n.bracketColor,e.beginPath(),t.showTitle?(e.moveTo(n.bracketWidth+.5,.5),e.lineTo(.5,.5)):e.moveTo(.5,.5),e.lineTo(.5,n.height-.5),t.showSecondary&&e.lineTo(n.bracketWidth+.5,n.height-.5),e.stroke(),t.showTitle?(e.moveTo(n.width-(n.bracketWidth+.5),.5),e.lineTo(n.width-.5,.5)):e.moveTo(n.width-.5,.5),e.lineTo(n.width-.5,n.height-.5),t.showSecondary&&e.lineTo(n.width-(n.bracketWidth+.5),n.height-.5),e.stroke(),e.closePath()}};const mi=new Tb,Kf=function(e,t){return mi.floor(e*t.value,t.decimals)};function xWe(e,t){const n={};return e.forEach(r=>{t.some(function(i){return i.key===r?(n[r]=i,!0):!1})}),n}function wWe(e,t,n){const{maxWidth:r,maxHeight:i,showTitle:o,showSecondary:a}=n;for(let s=0;s<t.length;s++){const c=t[s],l=c.value,g=Kf(l,e.valueSectionHeight),b=Kf(l,e.indicatorMargin),u=Math.ceil(b*1.5);let z=l+g+u;if(o){const w=Kf(l,e.titleSectionHeight);z+=w}if(a){const w=Kf(l,e.secSectionHeight);z+=w}if(z<=i){const w=Kf(l,e.gaugeWidth),x=Kf(l,e.bracketWidth),C=b*2;if(w+x*2+C<=r)return nt(Fe({},c),{maxWidth:r-C,maxHeight:i-u})}}return null}let _We=class{getBaseMeasure(e,t,n){const r=t,i="gaugeHeights"in r?r.gaugeHeights:void 0;if(!i)return null;const o=r.relativeSizes,a=r.measureKeys.concat(),s=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),l=xWe(a,o);return wWe(l,i,{maxWidth:s,maxHeight:c,showTitle:e.showTitle,showSecondary:e.showSecondary})}render(e,t,n,r){const i=e.getContext("2d");let o=0,a;n.gaugeHeight=r.value,n.size=r.size,n.maxWidth=r.maxWidth,n.maxHeight=r.maxHeight,n.offsetY=0,a=n.gaugeHeight+n.valueSectionHeight,t.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,t,n),a+=n.titleSectionHeight),n.fitValueMeasure=this.getFitValueMeasure(i,t,n),t.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,t,n),a+=n.secSectionHeight),o=this.getCanvasWidth(t,n),n.width=o,n.height=a,mi.setCanvasSizes(e,i,o,a),this.draw(i,t,n)}getFitTitleMeasure(e,t,n){const r=n.bracketWidth*2+n.titleHorizontalMargin*2,i=n.maxWidth-r,o=mi.getFitStringMeasure(e,t.title.text,i,n.titleFont);return o.width+=r,o.key="title",o}getFitValueMeasure(e,t,n){const r=n.bracketThickness*2,i=n.maxWidth-r,o=mi.getFitStringMeasure(e,t.value.text,i,n.valueFont);return o.width+=r,o.key="value",o}getFitSecondaryMeasure(e,t,n){const r=n.bracketWidth*2+n.secDividerWidth,i=n.maxWidth-r,o=i-n.secTitleMinWidth,a=mi.getFitStringMeasure(e,t.secondary.text,o,n.secondaryValueFont),s=i-a.width,c=mi.getFitStringMeasure(e,t.secondaryTitle.text,s,n.secondaryTitleFont);return{width:c.width+a.width+r,titleString:c.string,valueString:a.string,key:"secondary"}}getCanvasWidth(e,t){let n=t.gaugeWidth+t.bracketWidth*2;const r=t.fitTitleMeasure,i=t.fitValueMeasure;let o=r&&r.width>i.width?r:i;const a=t.fitSecondaryMeasure,s=a&&a.width>o.width;let c;return o=s?a:o,s?c=o.titleString!==e.secondaryTitle.text||o.valueString!==e.secondary.text:c=o.string!==e[o.key].text,c?n=t.maxWidth:o.width>n&&(n=o.width),n}draw(e,t,n){this.clearCanvas(e,n),t.showTitle&&this.drawTitle(e,n),this.drawGauge(e,t,n),this.drawValue(e,t,n),t.showSecondary&&this.drawSecondary(e,n),this.drawBrackets(e,t,n)}clearCanvas(e,t){e.fillStyle=t.backgroundColor,e.fillRect(0,0,t.width,t.height)}drawTitle(e,t){e.font=t.titleFont,e.fillStyle=t.titleColor,e.textAlign="center",e.textBaseline="middle",e.fillText(t.fitTitleMeasure.string,t.width/2,(t.titleSectionHeight-t.titleBottomMargin)/2),t.offsetY+=t.titleSectionHeight}drawGauge(e,t,n){n.gaugeCenterX=n.width/2,n.gaugeCenterY=n.offsetY+n.gaugeHeight-n.gaugeBottomMargin,n.needleAngle=this.getNeedleAngle(t,n),t.skin===2&&t.conditions&&t.conditions.length?this.drawConditionalDial(e,t,n):this.drawSimpleDial(e,t,n),t.showTicks&&n.size!=="micro"&&this.drawTicks(e,t,n),this.drawNeedle(e,n),t.showLabels&&n.size!=="micro"&&this.drawLabels(e,t,n),n.offsetY+=n.gaugeHeight}drawValue(e,t,n){e.fillStyle=n.valueColor,e.fillRect(1,n.offsetY,n.width-n.bracketThickness*2,n.valueSectionHeight),e.font=n.valueFont,e.fillStyle="white",e.textAlign="center",e.textBaseline="middle",e.fillText(n.fitValueMeasure.string,n.width/2,n.offsetY+n.valueSectionHeight/2)}drawSecondary(e,t){const n=t.height-t.secBottomMargin;e.font=t.secondaryTitleFont,e.fillStyle=t.secondaryTitleColor,e.textAlign="left",e.textBaseline="bottom",e.fillText(t.fitSecondaryMeasure.titleString,t.bracketWidth,n),e.font=t.secondaryValueFont,e.fillStyle=t.secondaryValueColor,e.textAlign="right",e.textBaseline="bottom",e.fillText(t.fitSecondaryMeasure.valueString,t.width-t.bracketWidth,n)}drawBrackets(e,t,n){const r=t.showTitle?(n.titleSectionHeight-n.titleBottomMargin)/2:0;e.strokeStyle=n.bracketColor,e.beginPath(),e.moveTo(n.bracketWidth+.5,r+.5),e.lineTo(.5,r+.5),e.lineTo(.5,n.height-.5),t.showSecondary&&e.lineTo(n.bracketWidth+.5,n.height-.5),e.stroke(),e.moveTo(n.width-(n.bracketWidth+.5),r+.5),e.lineTo(n.width-.5,r+.5),e.lineTo(n.width-.5,n.height-.5),t.showSecondary&&e.lineTo(n.width-(n.bracketWidth+.5),n.height-.5),e.stroke(),e.closePath()}getNeedleAngle(e,t){const n=+e.min.data,r=+e.max.data,i=+(e.value.data||0);return i<n?t.startAngle-t.overDegrees:i>r?t.endAngle+t.overDegrees:this.getAngle(t,i,n,r)}getAngle(e,t,n,r){const i=(e.endAngle-e.startAngle)/(r-n);return(t-n)*i+e.startAngle}drawConditionalDial(e,t,n){const r=t.conditions,i=+t.min.data,o=+t.max.data,a=mi.degToRad(n.startAngle+180),s=mi.degToRad(n.endAngle+180);let c;const l=g=>this.getAngle(n,g,i,o);for(this.drawArc(e,n,a,s,n.defaultDialColor),c=r.length-1;c>=0;c--){const g=r[c];let b=+g.data,u,z=NaN,w=NaN,x=NaN,C=NaN;const H=.25;switch(g.operator){case"<":if(b<=i)break;b=b>o?o:b,u=l(b),z=a,w=mi.degToRad(u+180);break;case">":if(b>=o)break;b=b<i?i:b,u=l(b),z=mi.degToRad(u+180),w=s;break;case"≤":if(b<i)break;b=b>o?o:b,u=l(b),z=a,w=mi.degToRad(u+(u+H<=n.endAngle?H:0)+180);break;case"≥":if(b>o)break;b=b<i?i:b,u=l(b),z=mi.degToRad(u-(u-H>=n.startAngle?H:0)+180),w=s;break;case"=":if(b<i||b>o)break;u=l(b),z=mi.degToRad(u-(u-H>=n.startAngle?H:0)+180),w=mi.degToRad(u+(u+H<=n.endAngle?H:0)+180);break;case"≠":if(b<i||b>o)z=a,w=s;else if(b===i||b===o){const G=b===i;z=mi.degToRad(n.startAngle+(G?H:0)+180),w=mi.degToRad(n.endAngle-(G?0:H)+180)}else u=l(b),z=a,w=mi.degToRad(u-(u-H>=n.startAngle?H:0)+180),x=mi.degToRad(u+(u+H<=n.endAngle?H:0)+180),C=s}!isNaN(z)&&!isNaN(w)&&this.drawArc(e,n,z,w,g.color),!isNaN(x)&&!isNaN(C)&&this.drawArc(e,n,x,C,g.color)}}drawSimpleDial(e,t,n){const r=mi.degToRad(n.startAngle+180),i=mi.degToRad(n.needleAngle+180),o=mi.degToRad(n.endAngle+180);n.needleAngle>n.startAngle&&n.needleAngle<n.endAngle?(this.drawArc(e,n,r,i,n.valueColor),e.globalAlpha=n.gaugeOpacity,this.drawArc(e,n,i,o,n.valueColor)):(n.needleAngle<=n.startAngle&&(e.globalAlpha=n.gaugeOpacity),this.drawArc(e,n,r,o,n.valueColor)),e.globalAlpha=1}drawArc(e,t,n,r,i){e.fillStyle=i,e.beginPath(),e.arc(t.gaugeCenterX,t.gaugeCenterY,t.outerArcRadius,n,r),e.arc(t.gaugeCenterX,t.gaugeCenterY,t.innerArcRadius,r,n,!0),e.fill()}drawTicks(e,t,n){const r=n.startAngle,i=n.endAngle,o=n.tickDegreesIncrement,a=n.needleAngle;let s;for(s=r;s<=i;s+=o){const c=mi.degToRad(s),l=n.gaugeCenterX-n.lengthToTick*Math.cos(c),g=n.gaugeCenterY-n.lengthToTick*Math.sin(c),b=a<r,u=a>=s-o/2&&a<s+o/2,z=s===i&&a>=s;e.fillStyle=!b&&u||z?t.color:n.tickColor,e.beginPath(),e.arc(l,g,n.tickRadius,0,2*Math.PI),e.fill()}}drawNeedle(e,t){const n=mi.degToRad(t.needleAngle);e.fillStyle=t.needleColor,e.save(),e.translate(t.gaugeCenterX,t.gaugeCenterY),e.rotate(n),e.translate(-t.gaugeCenterX,-t.gaugeCenterY),e.beginPath(),e.arc(t.gaugeCenterX,t.gaugeCenterY,t.needleBaseRadius,.5*Math.PI,1.5*Math.PI,!0),e.lineTo(t.gaugeCenterX-t.needleLength,t.gaugeCenterY),e.fill(),e.restore()}drawLabels(e,t,n){e.font=n.labelFont,e.fillStyle=n.labelColor,e.textAlign="right",e.textBaseline="middle",e.fillText(t.min.text,n.gaugeCenterX-n.labelMargin,n.gaugeCenterY),e.textAlign="left",e.fillText(t.max.text,n.gaugeCenterX+n.labelMargin,n.gaugeCenterY)}};const kc=new Tb;let SWe=class{render(e,t,n,r){const i=e.getContext("2d"),o=Math.floor(r.clientWidth)-n.horizontalMargin*2,a=n.sectionMinWidth;let s=0,c=0,l=0,g=0,b=0,u=0,z=0,w=0,x;if(i.font=n.valueFont,x=kc.getStringWidth(i,t.value.text),n.offsetX=0,t.title.text+=":",t.secondaryTitle&&(t.secondaryTitle.text+=":"),t.showTitle&&(i.font=n.titleFont,u=kc.getStringWidth(i,t.value.text),b=kc.getStringWidth(i,t.title.text),c=b<a?b:a,x+=c+n.textPadding),t.showSecondary&&(i.font=n.secondaryValueFont,w=kc.getStringWidth(i,t.secondary.text),g=w<a?w:a,x+=g,i.font=n.secondaryTitleFont||"",z=kc.getStringWidth(i,t.secondaryTitle.text),l=z<a?z:a,x+=l+n.horizontalPadding*2+n.dividerWidth+n.textPadding),t.type==="gauge"){const H=n.horizontalPadding*2+n.dividerWidth;if(n.forceTickerView){const $=u+b+z+w+n.textPadding*4+H,U=o-H-$;n.barWidth=Math.max(U,n.barWidth)}const G=n.barWidth+H;x+=G,n.showTickerBar=x<=o||!0,s+=n.showTickerBar?G:0}s+=t.showTitle?n.textPadding:0,s+=t.showSecondary?n.horizontalPadding*2+n.dividerWidth+n.textPadding:0;const C=o-s-c-l-g;if(n.fitValueMeasure=kc.getFitStringMeasure(i,t.value.text,C,n.valueFont),s+=n.fitValueMeasure.width,t.showSecondary){const H=o-s-c-l;let G;n.fitSecValueMeasure=kc.getFitStringMeasure(i,t.secondary.text,H,n.secondaryValueFont),s+=n.fitSecValueMeasure.width;const $=o-s,U=$/2;t.showTitle?b+z>$?b>U&&z>U?G=U:z>U&&b<=U?G=$-b:G=z:G=z:G=$,n.fitSecTitleMeasure=kc.getFitStringMeasure(i,t.secondaryTitle.text,G,n.secondaryTitleFont),s+=n.fitSecTitleMeasure.width}if(t.showTitle){const H=o-s;n.fitTitleMeasure=kc.getFitStringMeasure(i,t.title.text,H,n.titleFont),s+=n.fitTitleMeasure.width}n.width=s,kc.setCanvasSizes(e,i,s,n.height),this.draw(i,t,n)}draw(e,t,n){this.clearCanvas(e,n),t.type==="gauge"&&n.showTickerBar&&(this.drawTickerBar(e,t,n),this.drawDivider(e,n)),e.textBaseline="middle",t.showTitle&&this.drawTitle(e,n),this.drawValue(e,t,n),t.showSecondary&&(this.drawDivider(e,n),this.drawSecondary(e,n))}clearCanvas(e,t){e.fillStyle=t.backgroundColor,e.fillRect(0,0,t.width,t.height)}drawTickerBar(e,t,n){var r;const i=+t.min.data,o=+t.max.data,a=+(((r=t.value)==null?void 0:r.data)||0),s=Math.round((n.height-n.barHeight)/2);let c;if(e.fillStyle=n.valueColor,a<=i)e.globalAlpha=n.barOpacity,e.fillRect(n.offsetX,s,n.barWidth,n.barHeight),c=0;else if(a>=o)e.fillRect(n.offsetX,s,n.barWidth,n.barHeight),c=n.barWidth-n.tickerBarWidth;else{const l=(a-Math.abs(i))/(o-i),g=n.barWidth*l;e.fillRect(n.offsetX,s,g,n.barHeight),e.globalAlpha=n.barOpacity,e.fillRect(n.offsetX+g,s,n.barWidth-g,n.barHeight),g>n.barWidth-n.tickerBarWidth?c=n.barWidth-n.tickerBarWidth:g<n.tickerBarWidth?c=0:c=g-1}e.globalAlpha=1,e.fillStyle=n.barHandleColor,e.fillRect(n.offsetX+c,Math.round((n.height-n.tickerBarHeight)/2),n.tickerBarWidth,n.tickerBarHeight),n.offsetX+=n.barWidth}drawDivider(e,t){e.fillStyle=t.dividerColor,e.fillRect(t.offsetX+t.horizontalPadding,Math.round((t.height-t.dividerHeight)/2),t.dividerWidth,t.dividerHeight),t.offsetX+=t.horizontalPadding*2+t.dividerWidth}drawTitle(e,t){e.font=t.titleFont,e.fillStyle=t.titleColor,e.fillText(t.fitTitleMeasure.string,t.offsetX,Math.floor(t.height/2)),t.offsetX+=t.fitTitleMeasure.width+t.textPadding}drawValue(e,t,n){e.font=n.valueFont,e.fillStyle=n.valueColor||t.color,e.fillText(n.fitValueMeasure.string,n.offsetX,Math.floor(n.height/2)),n.offsetX+=n.fitValueMeasure.width}drawSecondary(e,t){e.font=t.secondaryTitleFont,e.fillStyle=t.secondaryTitleColor,e.fillText(t.fitSecTitleMeasure.string,t.offsetX,Math.floor(t.height/2)),t.offsetX+=t.fitSecTitleMeasure.width+t.textPadding,e.font=t.secondaryValueFont,e.fillStyle=t.secondaryValueColor,e.fillText(t.fitSecValueMeasure.string,t.offsetX,Math.floor(t.height/2))}};const vW={fontFamily:"opensansregular, sans-serif",title:{color:"rgb(68, 81, 102)",fontSizes:{big:22,medium:18,small:15,micro:12}},value:{color:"rgb(0,206,230)",fontSizes:{big:66,medium:46,small:32,micro:23}},secondaryTitle:{color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},secondaryValue:{fontWeight:800,color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},textKeys:["title","value","secondaryTitle","secondaryValue"],backgroundColor:"rgb(255, 255, 255)",borderColor:"rgb(215, 215, 215)",borderWidth:1,relativeSizes:[{key:"titleSectionHeight",value:.5,decimals:0},{key:"titleSectionMarginTop",value:.13,decimals:0},{key:"titleSectionMinWidth",value:.29,decimals:0},{key:"numericMinWidth",value:4.69,decimals:0},{key:"valueSectionHeight",value:1,decimals:0},{key:"valueSectionMarginRight",value:.14,decimals:0},{key:"valueSectionMarginBottom",value:.07,decimals:0},{key:"secSectionHeight",value:.34,decimals:0},{key:"secSectionMarginTop",value:.14,decimals:0},{key:"secDividerWidth",value:.14,decimals:0},{key:"secTitleMinWidth",value:.29,decimals:0},{key:"indicatorHorizontalMargin",value:.31,decimals:0},{key:"indicatorVerticalMargin",value:.46,decimals:0}],measureKeys:["indicatorMargin","numericMinWidth","titleSectionHeight","secSectionHeight","valueSectionMarginBottom","secSectionMarginTop","indicatorHorizontalMargin","indicatorVerticalMargin"],sizes:[{size:"big",value:70},{size:"medium",value:49},{size:"small",value:34},{size:"micro",value:24}],fitMeasures:[{key:"fitTitleMeasure",prop:"string",dataKey:"title"},{key:"fitValueMeasure",prop:"string",dataKey:"value"},{key:"fitSecondaryMeasure",prop:"titleString",dataKey:"secondaryTitle"},{key:"fitSecondaryMeasure",prop:"valueString",dataKey:"secondary"}]},CWe={fontFamily:"opensansregular, sans-serif",title:{color:"rgb(68, 81, 102)",fontSizes:{big:22,medium:18,small:15,micro:12}},value:{color:"rgb(255, 255, 255)",fontSizes:{big:45,medium:31,small:22,micro:15}},secondaryTitle:{color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},secondaryValue:{fontWeight:800,color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},textKeys:["title","value","secondaryTitle","secondaryValue"],backgroundColor:"rgb(255, 255, 255)",bracketColor:"rgb(198, 198, 198)",bracketThickness:1,relativeSizes:[{key:"titleSectionHeight",value:1,decimals:0},{key:"titleHorizontalMargin",value:.16,decimals:0},{key:"numericMinWidth",value:4.69,decimals:0},{key:"valueSectionHeight",value:1,decimals:0},{key:"secSectionHeight",value:1,decimals:0},{key:"secBottomMargin",value:.14,decimals:0},{key:"secDividerWidth",value:.14,decimals:0},{key:"secTitleMinWidth",value:.29,decimals:0},{key:"bracketWidth",value:.21,decimals:0},{key:"indicatorMargin",value:.64,decimals:0}],measureKeys:["indicatorMargin","numericMinWidth","bracketWidth","titleSectionHeight","secSectionHeight"],sizes:[{size:"big",value:70,maxWidth:1261,maxHeight:665},{size:"medium",value:49},{size:"small",value:34},{size:"micro",value:24}]},kWe={fontFamily:"opensansregular, sans-serif",title:{color:"rgb(68, 81, 102)",fontSizes:{big:22,medium:18,small:15,micro:12}},value:{color:"rgb(255, 255, 255)",fontSizes:{big:45,medium:31,small:22,micro:15}},secondaryTitle:{color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},secondaryValue:{fontWeight:800,color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},label:{color:"rgb(68, 81, 102)",fontSizes:{big:18,medium:13,small:9,micro:9}},textKeys:["title","value","secondaryTitle","secondaryValue","label"],backgroundColor:"rgb(255, 255, 255)",tickColor:"rgb(0, 0, 0)",needleColor:"rgb(43, 51, 66)",bracketColor:"rgb(198, 198, 198)",defaultDialColor:"rgb(179, 179, 179)",gaugeOpacity:.5,startAngle:20,endAngle:160,overDegrees:5,tickDegreesIncrement:10,bracketThickness:1,relativeSizes:[{key:"titleSectionHeight",value:.26,decimals:0},{key:"titleHorizontalMargin",value:.08,decimals:0},{key:"titleBottomMargin",value:.1,decimals:0},{key:"gaugeWidth",value:1.33,decimals:0},{key:"gaugeBottomMargin",value:.19,decimals:0},{key:"outerArcRadius",value:.63,decimals:0},{key:"innerArcRadius",dataKey:"skin",values:{1:.24,2:.51},decimals:0},{key:"lengthToTick",value:.7,decimals:0},{key:"tickRadius",value:.01,decimals:1},{key:"needleLength",dataKey:"skin",values:{1:.52,2:.58},decimals:0},{key:"needleBaseRadius",value:.04,decimals:0},{key:"labelMargin",value:.26,decimals:0},{key:"valueSectionHeight",value:.36,decimals:0},{key:"secSectionHeight",value:.36,decimals:0},{key:"secBottomMargin",value:.05,decimals:0},{key:"secDividerWidth",value:.05,decimals:0},{key:"secTitleMinWidth",value:.1,decimals:0},{key:"bracketWidth",value:.08,decimals:0},{key:"indicatorMargin",value:.14,decimals:0}],gaugeHeights:[{size:"big",value:192,maxWidth:1297,maxHeight:1075},{size:"medium",value:134},{size:"small",value:94},{size:"micro",value:66}],measureKeys:["indicatorMargin","gaugeWidth","bracketWidth","titleSectionHeight","valueSectionHeight","secSectionHeight"]},MWe={fontFamily:"Open Sans",fontSize:15,title:{color:"rgb(68, 81, 102)"},value:{fontWeight:800},secondaryTitle:{color:"rgb(163, 163, 163)"},secondaryValue:{color:"rgb(163, 163, 163)"},textKeys:["title","value","secondaryTitle","secondaryValue"],backgroundColor:"transparent",dividerColor:"rgb(39, 42, 52)",barHandleColor:"rgb(43, 51, 66)",height:35,horizontalMargin:15,barWidth:100,barHeight:11,barOpacity:.5,tickerBarWidth:2,tickerBarHeight:13,horizontalPadding:9,textPadding:6,sectionMinWidth:20,dividerWidth:1,dividerHeight:13,forceTickerView:!1};function TWe(e,t){const n=ls(MWe);if(n.forceTickerView=t.forceTickerView,n.fontFamily=t.fontFamily,n.backgroundColor=t.backgroundColor,n.value.color=t.value.color,n.title.color=t.title.color,n.secondaryTitle.color=t.secondaryTitle.color,n.secondaryValue.color=t.secondaryTitle.color,t.tickerBarHeight){const r=t.tickerBarHeight;n.barHeight=r,n.tickerBarHeight=r+2}return n.forceTickerView&&(n.height=e.offsetHeight),n}const AWe=new Tb,EWe=new mWe,OWe=new bWe,PWe=new _We,DWe=new SWe;let LWe=class{getService(e){switch(e){case"numericSimple":return EWe;case"numericBar":return OWe;case"gauge":return PWe;case"ticker":return DWe}}render(e,t,n,r){let i=this.getService(t.type);const o="getBaseMeasure"in i?i.getBaseMeasure(t,n,r):void 0;if(!o||n.forceTickerView){i=this.getService("ticker");const a=TWe(e,n);this.setTextOptions(a),i.render(e,t,a,r);return}this.calculateRelativeSizes(t,n,o.value),this.setTextOptions(n,o.size),i.render(e,t,n,o)}calculateRelativeSizes(e,t,n){const{relativeSizes:r}=t;r.forEach(function(i){let o;if("dataKey"in i&&"values"in i&&i.dataKey in e)o=i.values[e[i.dataKey]];else if("value"in i)o=i.value;else throw new Error("Invalid relative size options");const a=o*n;t[i.key]=AWe.floor(a,i.decimals)})}setTextOptions(e,t){e.textKeys.forEach(function(n){const r=e[n],i=r.fontStyle?`${r.fontStyle} `:"",o=r.fontVariant?`${r.fontVariant} `:"",a=r.fontWeight?`${r.fontWeight} `:"",s=`${Number.parseFloat(r.fontSizes&&r.fontSizes[t]||r.fontSize||e.fontSize)}px `,c=r.fontFamily||e.fontFamily,{color:l}=r;e[`${n}Font`]=i+o+a+s+c,e[`${n}Color`]=l})}};function hte(e){var t;const n=(t=e.value)==null?void 0:t[0];if(n&&"color"in n)return n.color}function NWe(e,t,n){if(!jWe(e))return n;const r=l5(e).getColor(t);return r?nt(Fe({},n),{value:nt(Fe({},n.value),{color:r})}):n}function jWe(e){return typeof e=="string"||e.type==="uniform"||e.type==="conditional"}var IWe=od,RWe=Hs,zWe="[object Number]";function BWe(e){return typeof e=="number"||RWe(e)&&IWe(e)==zWe}var pte=BWe;const sm=On(pte),FWe=(e,t)=>{const n=hte(t);return n&&e.value?l5(n).getColor(sm(e.value)?e.value:0):null},WWe=(e,t,n)=>{var r,i,o,a,s,c,l,g,b,u,z,w;const x=sm(e.min)?e.min:0,C=sm(e.max)?e.max:100,H=yx(n,"value"),G=yx(n,"secondary"),$=yx(n,"min"),U=yx(n,"max"),B=FWe(e,n),T=t.indicatorType==="gauge"?1:"vertical";return nt(Fe(Fe({},UWe),B?{color:B}:null),{type:HWe(t.indicatorType,"numericSubtype"in t?t.numericSubtype:void 0)||"numericSimple",skin:t.skin||T,title:{text:(o=(i=(r=t.indicatorComponents)==null?void 0:r.title)==null?void 0:i.text)!=null?o:""},min:{data:x,text:di($,x)},max:{data:C,text:di(U,C)},value:{data:e.value,text:yW(e.value,H)},secondary:{data:e.secondary,text:yW(e.secondary,G)},secondaryTitle:{text:(c=(s=(a=t.indicatorComponents)==null?void 0:a.secondaryTitle)==null?void 0:s.text)!=null?c:""},showSecondary:e.secondary!==void 0,showTitle:!!((g=(l=t.indicatorComponents)==null?void 0:l.title)!=null&&g.shouldBeShown),showLabels:!!((u=(b=t.indicatorComponents)==null?void 0:b.labels)!=null&&u.shouldBeShown),showTicks:!!((w=(z=t.indicatorComponents)==null?void 0:z.ticks)!=null&&w.shouldBeShown)})};function HWe(e,t){return e==="numeric"?t:e}function yx(e,t){var n;const r=(n=e[t])==null?void 0:n[0];return Jr(r&&"numberFormatConfig"in r?r.numberFormatConfig:{})}const UWe={color:"#00cee6",showSecondary:!1};function yW(e,t){return e===void 0?"":isNaN(e)?"#N/A":di(t,e)}function VWe(e,t,n){const r=ls(n);for(const i in t){const o=t[i],a=YWe(e,o);a&&fte(r,i,a)}return r}function fte(e,t,n){const r=t.split(".");if(r.length===1)if(r[0]in e)e[r[0]]=n;else return;else{const[i,...o]=r;if(!(i in e))return;const a=e[i];if(!gte(a))return;fte(a,o.join("."),n)}}function YWe(e,t){const n=t.split(".");let r=e;for(const i of n){if(!gte(r)||!(i in r))return;r=r[i]}return r}function gte(e){return typeof e=="object"&&e!==null}function GWe(e,t,n){return VWe(e,t,n)}const $We={fontFamily:"typography.fontFamily","title.color":"chart.textColor",backgroundColor:"chart.backgroundColor","label.color":"chart.textColor","secondaryTitle.color":"chart.secondaryTextColor","secondaryValue.color":"chart.secondaryTextColor","value.color":"palette.variantColors.0"},qWe=(e,t)=>{const{chartData:n,dataOptions:r,themeSettings:i}=t,{type:o}=e;let a;switch(o){case"gauge":a=kWe;break;case"numeric":e.numericSubtype==="numericBar"?a=CWe:a=vW;break;default:a=vW}i&&(a=GWe(i,$We,a));const s=hte(r);return s&&n.value&&sm(n.value)&&(a=NWe(s,n.value,a)),Fe(nt(Fe({},a),{forceTickerView:e.forceTickerView}),e.type==="gauge"&&e.tickerBarHeight?{tickerBarHeight:e.tickerBarHeight}:null)};var XWe=_C;function ZWe(e,t){return XWe(e,t)}var KWe=ZWe;const Ch=On(KWe);function QWe(e){return typeof e=="string"}function JWe(e){var t;const n=sr().themeSettings,[r,i]=dt(Fp()),[o,a]=dt(null),s=(t=ti().app)==null?void 0:t.httpClient;return pt(()=>{e&&(QWe(e)?s&&jJ(e,s).then(i).catch(a):i(e))},[e,s]),o?[null,o]:Ch(n,r)?[n,null]:[wi.withOptions({mergeArrays:!1},n,r),null]}const T_=nr({componentName:"ThemeProvider",trackingConfig:{skip:e=>!!e.skipTracking,transparent:!0},shouldSkipSisenseContextWaiting:!0})(e=>{const{theme:t,children:n}=e,[r,i]=JWe(t);if(i)throw i;return ye(hn,{children:r&&ye(JI.Provider,{value:{themeSettings:r},children:n})})}),e9e=({chartData:e,dataOptions:t,designOptions:n})=>{var r;const i=Qe(null),o=Qe(null),{themeSettings:a}=sr();return pt(()=>{if(!o.current||!i.current)return;const s=new LWe,c=WWe(e,n,t),l=qWe({type:n.indicatorType,numericSubtype:"numericSubtype"in n?n.numericSubtype:void 0,forceTickerView:n.forceTickerView,tickerBarHeight:n.tickerBarHeight},{chartData:e,dataOptions:t,themeSettings:a});s.render(o.current,c,l,i.current)},[e,t,n,a]),ye("div",{ref:i,style:{display:"flex",justifyContent:"center",width:"100%",height:"100%",alignItems:"center",backgroundColor:(r=a==null?void 0:a.chart)==null?void 0:r.backgroundColor},"aria-label":"indicator-root",children:ye("canvas",{ref:o})})},t9e=e=>e.type==="indicator",n9e=e=>"min"in e,r9e=e=>"indicatorComponents"in e,i9e=e=>!!e.chartData&&t9e(e.chartData)&&n9e(e.dataOptions)&&r9e(e.designOptions);var _N={exports:{}};/* @preserve
21
21
  * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
22
22
  * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
23
23
  */(function(e,t){(function(n,r){r(t)})(tr,function(n){var r="1.9.4";function i(K){var ae,pe,_e,Ee;for(pe=1,_e=arguments.length;pe<_e;pe++){Ee=arguments[pe];for(ae in Ee)K[ae]=Ee[ae]}return K}var o=Object.create||function(){function K(){}return function(ae){return K.prototype=ae,new K}}();function a(K,ae){var pe=Array.prototype.slice;if(K.bind)return K.bind.apply(K,pe.call(arguments,1));var _e=pe.call(arguments,2);return function(){return K.apply(ae,_e.length?_e.concat(pe.call(arguments)):arguments)}}var s=0;function c(K){return"_leaflet_id"in K||(K._leaflet_id=++s),K._leaflet_id}function l(K,ae,pe){var _e,Ee,Ie,Ge;return Ge=function(){_e=!1,Ee&&(Ie.apply(pe,Ee),Ee=!1)},Ie=function(){_e?Ee=arguments:(K.apply(pe,arguments),setTimeout(Ge,ae),_e=!0)},Ie}function g(K,ae,pe){var _e=ae[1],Ee=ae[0],Ie=_e-Ee;return K===_e&&pe?K:((K-Ee)%Ie+Ie)%Ie+Ee}function b(){return!1}function u(K,ae){if(ae===!1)return K;var pe=Math.pow(10,ae===void 0?6:ae);return Math.round(K*pe)/pe}function z(K){return K.trim?K.trim():K.replace(/^\s+|\s+$/g,"")}function w(K){return z(K).split(/\s+/)}function x(K,ae){Object.prototype.hasOwnProperty.call(K,"options")||(K.options=K.options?o(K.options):{});for(var pe in ae)K.options[pe]=ae[pe];return K.options}function C(K,ae,pe){var _e=[];for(var Ee in K)_e.push(encodeURIComponent(pe?Ee.toUpperCase():Ee)+"="+encodeURIComponent(K[Ee]));return(!ae||ae.indexOf("?")===-1?"?":"&")+_e.join("&")}var H=/\{ *([\w_ -]+) *\}/g;function G(K,ae){return K.replace(H,function(pe,_e){var Ee=ae[_e];if(Ee===void 0)throw new Error("No value provided for variable "+pe);return typeof Ee=="function"&&(Ee=Ee(ae)),Ee})}var $=Array.isArray||function(K){return Object.prototype.toString.call(K)==="[object Array]"};function U(K,ae){for(var pe=0;pe<K.length;pe++)if(K[pe]===ae)return pe;return-1}var B="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function T(K){return window["webkit"+K]||window["moz"+K]||window["ms"+K]}var P=0;function f(K){var ae=+new Date,pe=Math.max(0,16-(ae-P));return P=ae+pe,window.setTimeout(K,pe)}var y=window.requestAnimationFrame||T("RequestAnimationFrame")||f,d=window.cancelAnimationFrame||T("CancelAnimationFrame")||T("CancelRequestAnimationFrame")||function(K){window.clearTimeout(K)};function h(K,ae,pe){if(pe&&y===f)K.call(ae);else return y.call(window,a(K,ae))}function m(K){K&&d.call(window,K)}var O={__proto__:null,extend:i,create:o,bind:a,get lastId(){return s},stamp:c,throttle:l,wrapNum:g,falseFn:b,formatNum:u,trim:z,splitWords:w,setOptions:x,getParamString:C,template:G,isArray:$,indexOf:U,emptyImageUrl:B,requestFn:y,cancelFn:d,requestAnimFrame:h,cancelAnimFrame:m};function M(){}M.extend=function(K){var ae=function(){x(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},pe=ae.__super__=this.prototype,_e=o(pe);_e.constructor=ae,ae.prototype=_e;for(var Ee in this)Object.prototype.hasOwnProperty.call(this,Ee)&&Ee!=="prototype"&&Ee!=="__super__"&&(ae[Ee]=this[Ee]);return K.statics&&i(ae,K.statics),K.includes&&(D(K.includes),i.apply(null,[_e].concat(K.includes))),i(_e,K),delete _e.statics,delete _e.includes,_e.options&&(_e.options=pe.options?o(pe.options):{},i(_e.options,K.options)),_e._initHooks=[],_e.callInitHooks=function(){if(!this._initHooksCalled){pe.callInitHooks&&pe.callInitHooks.call(this),this._initHooksCalled=!0;for(var Ie=0,Ge=_e._initHooks.length;Ie<Ge;Ie++)_e._initHooks[Ie].call(this)}},ae},M.include=function(K){var ae=this.prototype.options;return i(this.prototype,K),K.options&&(this.prototype.options=ae,this.mergeOptions(K.options)),this},M.mergeOptions=function(K){return i(this.prototype.options,K),this},M.addInitHook=function(K){var ae=Array.prototype.slice.call(arguments,1),pe=typeof K=="function"?K:function(){this[K].apply(this,ae)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(pe),this};function D(K){if(!(typeof L>"u"||!L||!L.Mixin)){K=$(K)?K:[K];for(var ae=0;ae<K.length;ae++)K[ae]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",new Error().stack)}}var Y={on:function(K,ae,pe){if(typeof K=="object")for(var _e in K)this._on(_e,K[_e],ae);else{K=w(K);for(var Ee=0,Ie=K.length;Ee<Ie;Ee++)this._on(K[Ee],ae,pe)}return this},off:function(K,ae,pe){if(!arguments.length)delete this._events;else if(typeof K=="object")for(var _e in K)this._off(_e,K[_e],ae);else{K=w(K);for(var Ee=arguments.length===1,Ie=0,Ge=K.length;Ie<Ge;Ie++)Ee?this._off(K[Ie]):this._off(K[Ie],ae,pe)}return this},_on:function(K,ae,pe,_e){if(typeof ae!="function"){console.warn("wrong listener type: "+typeof ae);return}if(this._listens(K,ae,pe)===!1){pe===this&&(pe=void 0);var Ee={fn:ae,ctx:pe};_e&&(Ee.once=!0),this._events=this._events||{},this._events[K]=this._events[K]||[],this._events[K].push(Ee)}},_off:function(K,ae,pe){var _e,Ee,Ie;if(this._events&&(_e=this._events[K],!!_e)){if(arguments.length===1){if(this._firingCount)for(Ee=0,Ie=_e.length;Ee<Ie;Ee++)_e[Ee].fn=b;delete this._events[K];return}if(typeof ae!="function"){console.warn("wrong listener type: "+typeof ae);return}var Ge=this._listens(K,ae,pe);if(Ge!==!1){var it=_e[Ge];this._firingCount&&(it.fn=b,this._events[K]=_e=_e.slice()),_e.splice(Ge,1)}}},fire:function(K,ae,pe){if(!this.listens(K,pe))return this;var _e=i({},ae,{type:K,target:this,sourceTarget:ae&&ae.sourceTarget||this});if(this._events){var Ee=this._events[K];if(Ee){this._firingCount=this._firingCount+1||1;for(var Ie=0,Ge=Ee.length;Ie<Ge;Ie++){var it=Ee[Ie],lt=it.fn;it.once&&this.off(K,lt,it.ctx),lt.call(it.ctx||this,_e)}this._firingCount--}}return pe&&this._propagateEvent(_e),this},listens:function(K,ae,pe,_e){typeof K!="string"&&console.warn('"string" type argument expected');var Ee=ae;typeof ae!="function"&&(_e=!!ae,Ee=void 0,pe=void 0);var Ie=this._events&&this._events[K];if(Ie&&Ie.length&&this._listens(K,Ee,pe)!==!1)return!0;if(_e){for(var Ge in this._eventParents)if(this._eventParents[Ge].listens(K,ae,pe,_e))return!0}return!1},_listens:function(K,ae,pe){if(!this._events)return!1;var _e=this._events[K]||[];if(!ae)return!!_e.length;pe===this&&(pe=void 0);for(var Ee=0,Ie=_e.length;Ee<Ie;Ee++)if(_e[Ee].fn===ae&&_e[Ee].ctx===pe)return Ee;return!1},once:function(K,ae,pe){if(typeof K=="object")for(var _e in K)this._on(_e,K[_e],ae,!0);else{K=w(K);for(var Ee=0,Ie=K.length;Ee<Ie;Ee++)this._on(K[Ee],ae,pe,!0)}return this},addEventParent:function(K){return this._eventParents=this._eventParents||{},this._eventParents[c(K)]=K,this},removeEventParent:function(K){return this._eventParents&&delete this._eventParents[c(K)],this},_propagateEvent:function(K){for(var ae in this._eventParents)this._eventParents[ae].fire(K.type,i({layer:K.target,propagatedFrom:K.target},K),!0)}};Y.addEventListener=Y.on,Y.removeEventListener=Y.clearAllEventListeners=Y.off,Y.addOneTimeEventListener=Y.once,Y.fireEvent=Y.fire,Y.hasEventListeners=Y.listens;var X=M.extend(Y);function V(K,ae,pe){this.x=pe?Math.round(K):K,this.y=pe?Math.round(ae):ae}var R=Math.trunc||function(K){return K>0?Math.floor(K):Math.ceil(K)};V.prototype={clone:function(){return new V(this.x,this.y)},add:function(K){return this.clone()._add(I(K))},_add:function(K){return this.x+=K.x,this.y+=K.y,this},subtract:function(K){return this.clone()._subtract(I(K))},_subtract:function(K){return this.x-=K.x,this.y-=K.y,this},divideBy:function(K){return this.clone()._divideBy(K)},_divideBy:function(K){return this.x/=K,this.y/=K,this},multiplyBy:function(K){return this.clone()._multiplyBy(K)},_multiplyBy:function(K){return this.x*=K,this.y*=K,this},scaleBy:function(K){return new V(this.x*K.x,this.y*K.y)},unscaleBy:function(K){return new V(this.x/K.x,this.y/K.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=R(this.x),this.y=R(this.y),this},distanceTo:function(K){K=I(K);var ae=K.x-this.x,pe=K.y-this.y;return Math.sqrt(ae*ae+pe*pe)},equals:function(K){return K=I(K),K.x===this.x&&K.y===this.y},contains:function(K){return K=I(K),Math.abs(K.x)<=Math.abs(this.x)&&Math.abs(K.y)<=Math.abs(this.y)},toString:function(){return"Point("+u(this.x)+", "+u(this.y)+")"}};function I(K,ae,pe){return K instanceof V?K:$(K)?new V(K[0],K[1]):K==null?K:typeof K=="object"&&"x"in K&&"y"in K?new V(K.x,K.y):new V(K,ae,pe)}function E(K,ae){if(K)for(var pe=ae?[K,ae]:K,_e=0,Ee=pe.length;_e<Ee;_e++)this.extend(pe[_e])}E.prototype={extend:function(K){var ae,pe;if(!K)return this;if(K instanceof V||typeof K[0]=="number"||"x"in K)ae=pe=I(K);else if(K=A(K),ae=K.min,pe=K.max,!ae||!pe)return this;return!this.min&&!this.max?(this.min=ae.clone(),this.max=pe.clone()):(this.min.x=Math.min(ae.x,this.min.x),this.max.x=Math.max(pe.x,this.max.x),this.min.y=Math.min(ae.y,this.min.y),this.max.y=Math.max(pe.y,this.max.y)),this},getCenter:function(K){return I((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,K)},getBottomLeft:function(){return I(this.min.x,this.max.y)},getTopRight:function(){return I(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(K){var ae,pe;return typeof K[0]=="number"||K instanceof V?K=I(K):K=A(K),K instanceof E?(ae=K.min,pe=K.max):ae=pe=K,ae.x>=this.min.x&&pe.x<=this.max.x&&ae.y>=this.min.y&&pe.y<=this.max.y},intersects:function(K){K=A(K);var ae=this.min,pe=this.max,_e=K.min,Ee=K.max,Ie=Ee.x>=ae.x&&_e.x<=pe.x,Ge=Ee.y>=ae.y&&_e.y<=pe.y;return Ie&&Ge},overlaps:function(K){K=A(K);var ae=this.min,pe=this.max,_e=K.min,Ee=K.max,Ie=Ee.x>ae.x&&_e.x<pe.x,Ge=Ee.y>ae.y&&_e.y<pe.y;return Ie&&Ge},isValid:function(){return!!(this.min&&this.max)},pad:function(K){var ae=this.min,pe=this.max,_e=Math.abs(ae.x-pe.x)*K,Ee=Math.abs(ae.y-pe.y)*K;return A(I(ae.x-_e,ae.y-Ee),I(pe.x+_e,pe.y+Ee))},equals:function(K){return K?(K=A(K),this.min.equals(K.getTopLeft())&&this.max.equals(K.getBottomRight())):!1}};function A(K,ae){return!K||K instanceof E?K:new E(K,ae)}function v(K,ae){if(K)for(var pe=ae?[K,ae]:K,_e=0,Ee=pe.length;_e<Ee;_e++)this.extend(pe[_e])}v.prototype={extend:function(K){var ae=this._southWest,pe=this._northEast,_e,Ee;if(K instanceof S)_e=K,Ee=K;else if(K instanceof v){if(_e=K._southWest,Ee=K._northEast,!_e||!Ee)return this}else return K?this.extend(_(K)||k(K)):this;return!ae&&!pe?(this._southWest=new S(_e.lat,_e.lng),this._northEast=new S(Ee.lat,Ee.lng)):(ae.lat=Math.min(_e.lat,ae.lat),ae.lng=Math.min(_e.lng,ae.lng),pe.lat=Math.max(Ee.lat,pe.lat),pe.lng=Math.max(Ee.lng,pe.lng)),this},pad:function(K){var ae=this._southWest,pe=this._northEast,_e=Math.abs(ae.lat-pe.lat)*K,Ee=Math.abs(ae.lng-pe.lng)*K;return new v(new S(ae.lat-_e,ae.lng-Ee),new S(pe.lat+_e,pe.lng+Ee))},getCenter:function(){return new S((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new S(this.getNorth(),this.getWest())},getSouthEast:function(){return new S(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(K){typeof K[0]=="number"||K instanceof S||"lat"in K?K=_(K):K=k(K);var ae=this._southWest,pe=this._northEast,_e,Ee;return K instanceof v?(_e=K.getSouthWest(),Ee=K.getNorthEast()):_e=Ee=K,_e.lat>=ae.lat&&Ee.lat<=pe.lat&&_e.lng>=ae.lng&&Ee.lng<=pe.lng},intersects:function(K){K=k(K);var ae=this._southWest,pe=this._northEast,_e=K.getSouthWest(),Ee=K.getNorthEast(),Ie=Ee.lat>=ae.lat&&_e.lat<=pe.lat,Ge=Ee.lng>=ae.lng&&_e.lng<=pe.lng;return Ie&&Ge},overlaps:function(K){K=k(K);var ae=this._southWest,pe=this._northEast,_e=K.getSouthWest(),Ee=K.getNorthEast(),Ie=Ee.lat>ae.lat&&_e.lat<pe.lat,Ge=Ee.lng>ae.lng&&_e.lng<pe.lng;return Ie&&Ge},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(K,ae){return K?(K=k(K),this._southWest.equals(K.getSouthWest(),ae)&&this._northEast.equals(K.getNorthEast(),ae)):!1},isValid:function(){return!!(this._southWest&&this._northEast)}};function k(K,ae){return K instanceof v?K:new v(K,ae)}function S(K,ae,pe){if(isNaN(K)||isNaN(ae))throw new Error("Invalid LatLng object: ("+K+", "+ae+")");this.lat=+K,this.lng=+ae,pe!==void 0&&(this.alt=+pe)}S.prototype={equals:function(K,ae){if(!K)return!1;K=_(K);var pe=Math.max(Math.abs(this.lat-K.lat),Math.abs(this.lng-K.lng));return pe<=(ae===void 0?1e-9:ae)},toString:function(K){return"LatLng("+u(this.lat,K)+", "+u(this.lng,K)+")"},distanceTo:function(K){return j.distance(this,_(K))},wrap:function(){return j.wrapLatLng(this)},toBounds:function(K){var ae=180*K/40075017,pe=ae/Math.cos(Math.PI/180*this.lat);return k([this.lat-ae,this.lng-pe],[this.lat+ae,this.lng+pe])},clone:function(){return new S(this.lat,this.lng,this.alt)}};function _(K,ae,pe){return K instanceof S?K:$(K)&&typeof K[0]!="object"?K.length===3?new S(K[0],K[1],K[2]):K.length===2?new S(K[0],K[1]):null:K==null?K:typeof K=="object"&&"lat"in K?new S(K.lat,"lng"in K?K.lng:K.lon,K.alt):ae===void 0?null:new S(K,ae,pe)}var F={latLngToPoint:function(K,ae){var pe=this.projection.project(K),_e=this.scale(ae);return this.transformation._transform(pe,_e)},pointToLatLng:function(K,ae){var pe=this.scale(ae),_e=this.transformation.untransform(K,pe);return this.projection.unproject(_e)},project:function(K){return this.projection.project(K)},unproject:function(K){return this.projection.unproject(K)},scale:function(K){return 256*Math.pow(2,K)},zoom:function(K){return Math.log(K/256)/Math.LN2},getProjectedBounds:function(K){if(this.infinite)return null;var ae=this.projection.bounds,pe=this.scale(K),_e=this.transformation.transform(ae.min,pe),Ee=this.transformation.transform(ae.max,pe);return new E(_e,Ee)},infinite:!1,wrapLatLng:function(K){var ae=this.wrapLng?g(K.lng,this.wrapLng,!0):K.lng,pe=this.wrapLat?g(K.lat,this.wrapLat,!0):K.lat,_e=K.alt;return new S(pe,ae,_e)},wrapLatLngBounds:function(K){var ae=K.getCenter(),pe=this.wrapLatLng(ae),_e=ae.lat-pe.lat,Ee=ae.lng-pe.lng;if(_e===0&&Ee===0)return K;var Ie=K.getSouthWest(),Ge=K.getNorthEast(),it=new S(Ie.lat-_e,Ie.lng-Ee),lt=new S(Ge.lat-_e,Ge.lng-Ee);return new v(it,lt)}},j=i({},F,{wrapLng:[-180,180],R:6371e3,distance:function(K,ae){var pe=Math.PI/180,_e=K.lat*pe,Ee=ae.lat*pe,Ie=Math.sin((ae.lat-K.lat)*pe/2),Ge=Math.sin((ae.lng-K.lng)*pe/2),it=Ie*Ie+Math.cos(_e)*Math.cos(Ee)*Ge*Ge,lt=2*Math.atan2(Math.sqrt(it),Math.sqrt(1-it));return this.R*lt}}),p=6378137,N={R:p,MAX_LATITUDE:85.0511287798,project:function(K){var ae=Math.PI/180,pe=this.MAX_LATITUDE,_e=Math.max(Math.min(pe,K.lat),-pe),Ee=Math.sin(_e*ae);return new V(this.R*K.lng*ae,this.R*Math.log((1+Ee)/(1-Ee))/2)},unproject:function(K){var ae=180/Math.PI;return new S((2*Math.atan(Math.exp(K.y/this.R))-Math.PI/2)*ae,K.x*ae/this.R)},bounds:function(){var K=p*Math.PI;return new E([-K,-K],[K,K])}()};function q(K,ae,pe,_e){if($(K)){this._a=K[0],this._b=K[1],this._c=K[2],this._d=K[3];return}this._a=K,this._b=ae,this._c=pe,this._d=_e}q.prototype={transform:function(K,ae){return this._transform(K.clone(),ae)},_transform:function(K,ae){return ae=ae||1,K.x=ae*(this._a*K.x+this._b),K.y=ae*(this._c*K.y+this._d),K},untransform:function(K,ae){return ae=ae||1,new V((K.x/ae-this._b)/this._a,(K.y/ae-this._d)/this._c)}};function Q(K,ae,pe,_e){return new q(K,ae,pe,_e)}var W=i({},j,{code:"EPSG:3857",projection:N,transformation:function(){var K=.5/(Math.PI*N.R);return Q(K,.5,-K,.5)}()}),Z=i({},W,{code:"EPSG:900913"});function J(K){return document.createElementNS("http://www.w3.org/2000/svg",K)}function ie(K,ae){var pe="",_e,Ee,Ie,Ge,it,lt;for(_e=0,Ie=K.length;_e<Ie;_e++){for(it=K[_e],Ee=0,Ge=it.length;Ee<Ge;Ee++)lt=it[Ee],pe+=(Ee?"L":"M")+lt.x+" "+lt.y;pe+=ae?At.svg?"z":"x":""}return pe||"M0 0"}var oe=document.documentElement.style,te="ActiveXObject"in window,ne=te&&!document.addEventListener,re="msLaunchUri"in navigator&&!("documentMode"in document),ue=en("webkit"),ce=en("android"),le=en("android 2")||en("android 3"),he=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),ge=ce&&en("Google")&&he<537&&!("AudioNode"in window),fe=!!window.opera,xe=!re&&en("chrome"),we=en("gecko")&&!ue&&!fe&&!te,Te=!xe&&en("safari"),Ae=en("phantom"),De="OTransition"in oe,Oe=navigator.platform.indexOf("Win")===0,Ce=te&&"transition"in oe,ve="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!le,Se="MozPerspective"in oe,Me=!window.L_DISABLE_3D&&(Ce||ve||Se)&&!De&&!Ae,Pe=typeof orientation<"u"||en("mobile"),je=Pe&&ue,Le=Pe&&ve,We=!window.PointerEvent&&window.MSPointerEvent,He=!!(window.PointerEvent||We),Ue="ontouchstart"in window||!!window.TouchEvent,$e=!window.L_NO_TOUCH&&(Ue||He),et=Pe&&fe,Xe=Pe&&we,ot=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,ht=function(){var K=!1;try{var ae=Object.defineProperty({},"passive",{get:function(){K=!0}});window.addEventListener("testPassiveEventSupport",b,ae),window.removeEventListener("testPassiveEventSupport",b,ae)}catch{}return K}(),at=function(){return!!document.createElement("canvas").getContext}(),mt=!!(document.createElementNS&&J("svg").createSVGRect),vt=!!mt&&function(){var K=document.createElement("div");return K.innerHTML="<svg/>",(K.firstChild&&K.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),$t=!mt&&function(){try{var K=document.createElement("div");K.innerHTML='<v:shape adj="1"/>';var ae=K.firstChild;return ae.style.behavior="url(#default#VML)",ae&&typeof ae.adj=="object"}catch{return!1}}(),gt=navigator.platform.indexOf("Mac")===0,Pt=navigator.platform.indexOf("Linux")===0;function en(K){return navigator.userAgent.toLowerCase().indexOf(K)>=0}var At={ie:te,ielt9:ne,edge:re,webkit:ue,android:ce,android23:le,androidStock:ge,opera:fe,chrome:xe,gecko:we,safari:Te,phantom:Ae,opera12:De,win:Oe,ie3d:Ce,webkit3d:ve,gecko3d:Se,any3d:Me,mobile:Pe,mobileWebkit:je,mobileWebkit3d:Le,msPointer:We,pointer:He,touch:$e,touchNative:Ue,mobileOpera:et,mobileGecko:Xe,retina:ot,passiveEvents:ht,canvas:at,svg:mt,vml:$t,inlineSvg:vt,mac:gt,linux:Pt},Ht=At.msPointer?"MSPointerDown":"pointerdown",on=At.msPointer?"MSPointerMove":"pointermove",Wn=At.msPointer?"MSPointerUp":"pointerup",ut=At.msPointer?"MSPointerCancel":"pointercancel",Ct={touchstart:Ht,touchmove:on,touchend:Wn,touchcancel:ut},Vt={touchstart:uo,touchmove:zo,touchend:zo,touchcancel:zo},Yt={},rr=!1;function Un(K,ae,pe){return ae==="touchstart"&&Ro(),Vt[ae]?(pe=Vt[ae].bind(this,pe),K.addEventListener(Ct[ae],pe,!1),pe):(console.warn("wrong event specified:",ae),b)}function wt(K,ae,pe){if(!Ct[ae]){console.warn("wrong event specified:",ae);return}K.removeEventListener(Ct[ae],pe,!1)}function Wt(K){Yt[K.pointerId]=K}function co(K){Yt[K.pointerId]&&(Yt[K.pointerId]=K)}function Pn(K){delete Yt[K.pointerId]}function Ro(){rr||(document.addEventListener(Ht,Wt,!0),document.addEventListener(on,co,!0),document.addEventListener(Wn,Pn,!0),document.addEventListener(ut,Pn,!0),rr=!0)}function zo(K,ae){if(ae.pointerType!==(ae.MSPOINTER_TYPE_MOUSE||"mouse")){ae.touches=[];for(var pe in Yt)ae.touches.push(Yt[pe]);ae.changedTouches=[ae],K(ae)}}function uo(K,ae){ae.MSPOINTER_TYPE_TOUCH&&ae.pointerType===ae.MSPOINTER_TYPE_TOUCH&&un(ae),zo(K,ae)}function Tn(K){var ae={},pe,_e;for(_e in K)pe=K[_e],ae[_e]=pe&&pe.bind?pe.bind(K):pe;return K=ae,ae.type="dblclick",ae.detail=2,ae.isTrusted=!1,ae._simulated=!0,ae}var ji=200;function ra(K,ae){K.addEventListener("dblclick",ae);var pe=0,_e;function Ee(Ie){if(Ie.detail!==1){_e=Ie.detail;return}if(!(Ie.pointerType==="mouse"||Ie.sourceCapabilities&&!Ie.sourceCapabilities.firesTouchEvents)){var Ge=p1(Ie);if(!(Ge.some(function(lt){return lt instanceof HTMLLabelElement&&lt.attributes.for})&&!Ge.some(function(lt){return lt instanceof HTMLInputElement||lt instanceof HTMLSelectElement}))){var it=Date.now();it-pe<=ji?(_e++,_e===2&&ae(Tn(Ie))):_e=1,pe=it}}}return K.addEventListener("click",Ee),{dblclick:ae,simDblclick:Ee}}function Da(K,ae){K.removeEventListener("dblclick",ae.dblclick),K.removeEventListener("click",ae.simDblclick)}var Nl=Vs(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Us=Vs(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),ia=Us==="webkitTransition"||Us==="OTransition"?Us+"End":"transitionend";function La(K){return typeof K=="string"?document.getElementById(K):K}function ds(K,ae){var pe=K.style[ae]||K.currentStyle&&K.currentStyle[ae];if((!pe||pe==="auto")&&document.defaultView){var _e=document.defaultView.getComputedStyle(K,null);pe=_e?_e[ae]:null}return pe==="auto"?null:pe}function Nn(K,ae,pe){var _e=document.createElement(K);return _e.className=ae||"",pe&&pe.appendChild(_e),_e}function $n(K){var ae=K.parentNode;ae&&ae.removeChild(K)}function oa(K){for(;K.firstChild;)K.removeChild(K.firstChild)}function aa(K){var ae=K.parentNode;ae&&ae.lastChild!==K&&ae.appendChild(K)}function yo(K){var ae=K.parentNode;ae&&ae.firstChild!==K&&ae.insertBefore(K,ae.firstChild)}function sa(K,ae){if(K.classList!==void 0)return K.classList.contains(ae);var pe=jl(K);return pe.length>0&&new RegExp("(^|\\s)"+ae+"(\\s|$)").test(pe)}function pn(K,ae){if(K.classList!==void 0)for(var pe=w(ae),_e=0,Ee=pe.length;_e<Ee;_e++)K.classList.add(pe[_e]);else if(!sa(K,ae)){var Ie=jl(K);fc(K,(Ie?Ie+" ":"")+ae)}}function fr(K,ae){K.classList!==void 0?K.classList.remove(ae):fc(K,z((" "+jl(K)+" ").replace(" "+ae+" "," ")))}function fc(K,ae){K.className.baseVal===void 0?K.className=ae:K.className.baseVal=ae}function jl(K){return K.correspondingElement&&(K=K.correspondingElement),K.className.baseVal===void 0?K.className:K.className.baseVal}function no(K,ae){"opacity"in K.style?K.style.opacity=ae:"filter"in K.style&&hd(K,ae)}function hd(K,ae){var pe=!1,_e="DXImageTransform.Microsoft.Alpha";try{pe=K.filters.item(_e)}catch{if(ae===1)return}ae=Math.round(ae*100),pe?(pe.Enabled=ae!==100,pe.Opacity=ae):K.style.filter+=" progid:"+_e+"(opacity="+ae+")"}function Vs(K){for(var ae=document.documentElement.style,pe=0;pe<K.length;pe++)if(K[pe]in ae)return K[pe];return!1}function Na(K,ae,pe){var _e=ae||new V(0,0);K.style[Nl]=(At.ie3d?"translate("+_e.x+"px,"+_e.y+"px)":"translate3d("+_e.x+"px,"+_e.y+"px,0)")+(pe?" scale("+pe+")":"")}function Lr(K,ae){K._leaflet_pos=ae,At.any3d?Na(K,ae):(K.style.left=ae.x+"px",K.style.top=ae.y+"px")}function la(K){return K._leaflet_pos||new V(0,0)}var ja,Yr,Il;if("onselectstart"in document)ja=function(){cn(window,"selectstart",un)},Yr=function(){Mt(window,"selectstart",un)};else{var Bo=Vs(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);ja=function(){if(Bo){var K=document.documentElement.style;Il=K[Bo],K[Bo]="none"}},Yr=function(){Bo&&(document.documentElement.style[Bo]=Il,Il=void 0)}}function Ia(){cn(window,"dragstart",un)}function hs(){Mt(window,"dragstart",un)}var Ys,ps;function Rl(K){for(;K.tabIndex===-1;)K=K.parentNode;K.style&&(Gs(),Ys=K,ps=K.style.outlineStyle,K.style.outlineStyle="none",cn(window,"keydown",Gs))}function Gs(){Ys&&(Ys.style.outlineStyle=ps,Ys=void 0,ps=void 0,Mt(window,"keydown",Gs))}function xu(K){do K=K.parentNode;while((!K.offsetWidth||!K.offsetHeight)&&K!==document.body);return K}function wu(K){var ae=K.getBoundingClientRect();return{x:ae.width/K.offsetWidth||1,y:ae.height/K.offsetHeight||1,boundingClientRect:ae}}var pd={__proto__:null,TRANSFORM:Nl,TRANSITION:Us,TRANSITION_END:ia,get:La,getStyle:ds,create:Nn,remove:$n,empty:oa,toFront:aa,toBack:yo,hasClass:sa,addClass:pn,removeClass:fr,setClass:fc,getClass:jl,setOpacity:no,testProp:Vs,setTransform:Na,setPosition:Lr,getPosition:la,get disableTextSelection(){return ja},get enableTextSelection(){return Yr},disableImageDrag:Ia,enableImageDrag:hs,preventOutline:Rl,restoreOutline:Gs,getSizedParentNode:xu,getScale:wu};function cn(K,ae,pe,_e){if(ae&&typeof ae=="object")for(var Ee in ae)pi(K,Ee,ae[Ee],pe);else{ae=w(ae);for(var Ie=0,Ge=ae.length;Ie<Ge;Ie++)pi(K,ae[Ie],pe,_e)}return this}var Ra="_leaflet_events";function Mt(K,ae,pe,_e){if(arguments.length===1)jn(K),delete K[Ra];else if(ae&&typeof ae=="object")for(var Ee in ae)Nr(K,Ee,ae[Ee],pe);else if(ae=w(ae),arguments.length===2)jn(K,function(it){return U(ae,it)!==-1});else for(var Ie=0,Ge=ae.length;Ie<Ge;Ie++)Nr(K,ae[Ie],pe,_e);return this}function jn(K,ae){for(var pe in K[Ra]){var _e=pe.split(/\d/)[0];(!ae||ae(_e))&&Nr(K,_e,null,null,pe)}}var ii={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function pi(K,ae,pe,_e){var Ee=ae+c(pe)+(_e?"_"+c(_e):"");if(K[Ra]&&K[Ra][Ee])return this;var Ie=function(it){return pe.call(_e||K,it||window.event)},Ge=Ie;!At.touchNative&&At.pointer&&ae.indexOf("touch")===0?Ie=Un(K,ae,Ie):At.touch&&ae==="dblclick"?Ie=ra(K,Ie):"addEventListener"in K?ae==="touchstart"||ae==="touchmove"||ae==="wheel"||ae==="mousewheel"?K.addEventListener(ii[ae]||ae,Ie,At.passiveEvents?{passive:!1}:!1):ae==="mouseenter"||ae==="mouseleave"?(Ie=function(it){it=it||window.event,mv(K,it)&&Ge(it)},K.addEventListener(ii[ae],Ie,!1)):K.addEventListener(ae,Ge,!1):K.attachEvent("on"+ae,Ie),K[Ra]=K[Ra]||{},K[Ra][Ee]=Ie}function Nr(K,ae,pe,_e,Ee){Ee=Ee||ae+c(pe)+(_e?"_"+c(_e):"");var Ie=K[Ra]&&K[Ra][Ee];if(!Ie)return this;!At.touchNative&&At.pointer&&ae.indexOf("touch")===0?wt(K,ae,Ie):At.touch&&ae==="dblclick"?Da(K,Ie):"removeEventListener"in K?K.removeEventListener(ii[ae]||ae,Ie,!1):K.detachEvent("on"+ae,Ie),K[Ra][Ee]=null}function za(K){return K.stopPropagation?K.stopPropagation():K.originalEvent?K.originalEvent._stopped=!0:K.cancelBubble=!0,this}function _u(K){return pi(K,"wheel",za),this}function gc(K){return cn(K,"mousedown touchstart dblclick contextmenu",za),K._leaflet_disable_click=!0,this}function un(K){return K.preventDefault?K.preventDefault():K.returnValue=!1,this}function Kn(K){return un(K),za(K),this}function p1(K){if(K.composedPath)return K.composedPath();for(var ae=[],pe=K.target;pe;)ae.push(pe),pe=pe.parentNode;return ae}function f1(K,ae){if(!ae)return new V(K.clientX,K.clientY);var pe=wu(ae),_e=pe.boundingClientRect;return new V((K.clientX-_e.left)/pe.x-ae.clientLeft,(K.clientY-_e.top)/pe.y-ae.clientTop)}var sM=At.linux&&At.chrome?window.devicePixelRatio:At.mac?window.devicePixelRatio*3:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function g1(K){return At.edge?K.wheelDeltaY/2:K.deltaY&&K.deltaMode===0?-K.deltaY/sM:K.deltaY&&K.deltaMode===1?-K.deltaY*20:K.deltaY&&K.deltaMode===2?-K.deltaY*60:K.deltaX||K.deltaZ?0:K.wheelDelta?(K.wheelDeltaY||K.wheelDelta)/2:K.detail&&Math.abs(K.detail)<32765?-K.detail*20:K.detail?K.detail/-32765*60:0}function mv(K,ae){var pe=ae.relatedTarget;if(!pe)return!0;try{for(;pe&&pe!==K;)pe=pe.parentNode}catch{return!1}return pe!==K}var lM={__proto__:null,on:cn,off:Mt,stopPropagation:za,disableScrollPropagation:_u,disableClickPropagation:gc,preventDefault:un,stop:Kn,getPropagationPath:p1,getMousePosition:f1,getWheelDelta:g1,isExternalTarget:mv,addListener:cn,removeListener:Mt},vv=X.extend({run:function(K,ae,pe,_e){this.stop(),this._el=K,this._inProgress=!0,this._duration=pe||.25,this._easeOutPower=1/Math.max(_e||.5,.2),this._startPos=la(K),this._offset=ae.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=h(this._animate,this),this._step()},_step:function(K){var ae=+new Date-this._startTime,pe=this._duration*1e3;ae<pe?this._runFrame(this._easeOut(ae/pe),K):(this._runFrame(1),this._complete())},_runFrame:function(K,ae){var pe=this._startPos.add(this._offset.multiplyBy(K));ae&&pe._round(),Lr(this._el,pe),this.fire("step")},_complete:function(){m(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(K){return 1-Math.pow(1-K,this._easeOutPower)}}),Vn=X.extend({options:{crs:W,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(K,ae){ae=x(this,ae),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(K),this._initLayout(),this._onResize=a(this._onResize,this),this._initEvents(),ae.maxBounds&&this.setMaxBounds(ae.maxBounds),ae.zoom!==void 0&&(this._zoom=this._limitZoom(ae.zoom)),ae.center&&ae.zoom!==void 0&&this.setView(_(ae.center),ae.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=Us&&At.any3d&&!At.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),cn(this._proxy,ia,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(K,ae,pe){if(ae=ae===void 0?this._zoom:this._limitZoom(ae),K=this._limitCenter(_(K),ae,this.options.maxBounds),pe=pe||{},this._stop(),this._loaded&&!pe.reset&&pe!==!0){pe.animate!==void 0&&(pe.zoom=i({animate:pe.animate},pe.zoom),pe.pan=i({animate:pe.animate,duration:pe.duration},pe.pan));var _e=this._zoom!==ae?this._tryAnimatedZoom&&this._tryAnimatedZoom(K,ae,pe.zoom):this._tryAnimatedPan(K,pe.pan);if(_e)return clearTimeout(this._sizeTimer),this}return this._resetView(K,ae,pe.pan&&pe.pan.noMoveStart),this},setZoom:function(K,ae){return this._loaded?this.setView(this.getCenter(),K,{zoom:ae}):(this._zoom=K,this)},zoomIn:function(K,ae){return K=K||(At.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+K,ae)},zoomOut:function(K,ae){return K=K||(At.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-K,ae)},setZoomAround:function(K,ae,pe){var _e=this.getZoomScale(ae),Ee=this.getSize().divideBy(2),Ie=K instanceof V?K:this.latLngToContainerPoint(K),Ge=Ie.subtract(Ee).multiplyBy(1-1/_e),it=this.containerPointToLatLng(Ee.add(Ge));return this.setView(it,ae,{zoom:pe})},_getBoundsCenterZoom:function(K,ae){ae=ae||{},K=K.getBounds?K.getBounds():k(K);var pe=I(ae.paddingTopLeft||ae.padding||[0,0]),_e=I(ae.paddingBottomRight||ae.padding||[0,0]),Ee=this.getBoundsZoom(K,!1,pe.add(_e));if(Ee=typeof ae.maxZoom=="number"?Math.min(ae.maxZoom,Ee):Ee,Ee===1/0)return{center:K.getCenter(),zoom:Ee};var Ie=_e.subtract(pe).divideBy(2),Ge=this.project(K.getSouthWest(),Ee),it=this.project(K.getNorthEast(),Ee),lt=this.unproject(Ge.add(it).divideBy(2).add(Ie),Ee);return{center:lt,zoom:Ee}},fitBounds:function(K,ae){if(K=k(K),!K.isValid())throw new Error("Bounds are not valid.");var pe=this._getBoundsCenterZoom(K,ae);return this.setView(pe.center,pe.zoom,ae)},fitWorld:function(K){return this.fitBounds([[-90,-180],[90,180]],K)},panTo:function(K,ae){return this.setView(K,this._zoom,{pan:ae})},panBy:function(K,ae){if(K=I(K).round(),ae=ae||{},!K.x&&!K.y)return this.fire("moveend");if(ae.animate!==!0&&!this.getSize().contains(K))return this._resetView(this.unproject(this.project(this.getCenter()).add(K)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new vv,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),ae.noMoveStart||this.fire("movestart"),ae.animate!==!1){pn(this._mapPane,"leaflet-pan-anim");var pe=this._getMapPanePos().subtract(K).round();this._panAnim.run(this._mapPane,pe,ae.duration||.25,ae.easeLinearity)}else this._rawPanBy(K),this.fire("move").fire("moveend");return this},flyTo:function(K,ae,pe){if(pe=pe||{},pe.animate===!1||!At.any3d)return this.setView(K,ae,pe);this._stop();var _e=this.project(this.getCenter()),Ee=this.project(K),Ie=this.getSize(),Ge=this._zoom;K=_(K),ae=ae===void 0?Ge:ae;var it=Math.max(Ie.x,Ie.y),lt=it*this.getZoomScale(Ge,ae),_t=Ee.distanceTo(_e)||1,Rt=1.42,nn=Rt*Rt;function Mn(Br){var Qh=Br?-1:1,Re=Br?lt:it,Sd=lt*lt-it*it+Qh*nn*nn*_t*_t,Wf=2*Re*nn*_t,Uo=Sd/Wf,In=Math.sqrt(Uo*Uo+1)-Uo,_M=In<1e-9?-18:Math.log(In);return _M}function Mi(Br){return(Math.exp(Br)-Math.exp(-Br))/2}function ai(Br){return(Math.exp(Br)+Math.exp(-Br))/2}function ho(Br){return Mi(Br)/ai(Br)}var io=Mn(0);function gs(Br){return it*(ai(io)/ai(io+Rt*Br))}function yM(Br){return it*(ai(io)*ho(io+Rt*Br)-Mi(io))/nn}function bM(Br){return 1-Math.pow(1-Br,1.5)}var xM=Date.now(),P1=(Mn(1)-io)/Rt,wM=pe.duration?1e3*pe.duration:1e3*P1*.8;function Kh(){var Br=(Date.now()-xM)/wM,Qh=bM(Br)*P1;Br<=1?(this._flyToFrame=h(Kh,this),this._move(this.unproject(_e.add(Ee.subtract(_e).multiplyBy(yM(Qh)/_t)),Ge),this.getScaleZoom(it/gs(Qh),Ge),{flyTo:!0})):this._move(K,ae)._moveEnd(!0)}return this._moveStart(!0,pe.noMoveStart),Kh.call(this),this},flyToBounds:function(K,ae){var pe=this._getBoundsCenterZoom(K,ae);return this.flyTo(pe.center,pe.zoom,ae)},setMaxBounds:function(K){return K=k(K),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),K.isValid()?(this.options.maxBounds=K,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(K){var ae=this.options.minZoom;return this.options.minZoom=K,this._loaded&&ae!==K&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(K):this},setMaxZoom:function(K){var ae=this.options.maxZoom;return this.options.maxZoom=K,this._loaded&&ae!==K&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(K):this},panInsideBounds:function(K,ae){this._enforcingBounds=!0;var pe=this.getCenter(),_e=this._limitCenter(pe,this._zoom,k(K));return pe.equals(_e)||this.panTo(_e,ae),this._enforcingBounds=!1,this},panInside:function(K,ae){ae=ae||{};var pe=I(ae.paddingTopLeft||ae.padding||[0,0]),_e=I(ae.paddingBottomRight||ae.padding||[0,0]),Ee=this.project(this.getCenter()),Ie=this.project(K),Ge=this.getPixelBounds(),it=A([Ge.min.add(pe),Ge.max.subtract(_e)]),lt=it.getSize();if(!it.contains(Ie)){this._enforcingBounds=!0;var _t=Ie.subtract(it.getCenter()),Rt=it.extend(Ie).getSize().subtract(lt);Ee.x+=_t.x<0?-Rt.x:Rt.x,Ee.y+=_t.y<0?-Rt.y:Rt.y,this.panTo(this.unproject(Ee),ae),this._enforcingBounds=!1}return this},invalidateSize:function(K){if(!this._loaded)return this;K=i({animate:!1,pan:!0},K===!0?{animate:!0}:K);var ae=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var pe=this.getSize(),_e=ae.divideBy(2).round(),Ee=pe.divideBy(2).round(),Ie=_e.subtract(Ee);return!Ie.x&&!Ie.y?this:(K.animate&&K.pan?this.panBy(Ie):(K.pan&&this._rawPanBy(Ie),this.fire("move"),K.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(a(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:ae,newSize:pe}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(K){if(K=this._locateOptions=i({timeout:1e4,watch:!1},K),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var ae=a(this._handleGeolocationResponse,this),pe=a(this._handleGeolocationError,this);return K.watch?this._locationWatchId=navigator.geolocation.watchPosition(ae,pe,K):navigator.geolocation.getCurrentPosition(ae,pe,K),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(K){if(this._container._leaflet_id){var ae=K.code,pe=K.message||(ae===1?"permission denied":ae===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:ae,message:"Geolocation error: "+pe+"."})}},_handleGeolocationResponse:function(K){if(this._container._leaflet_id){var ae=K.coords.latitude,pe=K.coords.longitude,_e=new S(ae,pe),Ee=_e.toBounds(K.coords.accuracy*2),Ie=this._locateOptions;if(Ie.setView){var Ge=this.getBoundsZoom(Ee);this.setView(_e,Ie.maxZoom?Math.min(Ge,Ie.maxZoom):Ge)}var it={latlng:_e,bounds:Ee,timestamp:K.timestamp};for(var lt in K.coords)typeof K.coords[lt]=="number"&&(it[lt]=K.coords[lt]);this.fire("locationfound",it)}},addHandler:function(K,ae){if(!ae)return this;var pe=this[K]=new ae(this);return this._handlers.push(pe),this.options[K]&&pe.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),$n(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(m(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var K;for(K in this._layers)this._layers[K].remove();for(K in this._panes)$n(this._panes[K]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(K,ae){var pe="leaflet-pane"+(K?" leaflet-"+K.replace("Pane","")+"-pane":""),_e=Nn("div",pe,ae||this._mapPane);return K&&(this._panes[K]=_e),_e},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var K=this.getPixelBounds(),ae=this.unproject(K.getBottomLeft()),pe=this.unproject(K.getTopRight());return new v(ae,pe)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(K,ae,pe){K=k(K),pe=I(pe||[0,0]);var _e=this.getZoom()||0,Ee=this.getMinZoom(),Ie=this.getMaxZoom(),Ge=K.getNorthWest(),it=K.getSouthEast(),lt=this.getSize().subtract(pe),_t=A(this.project(it,_e),this.project(Ge,_e)).getSize(),Rt=At.any3d?this.options.zoomSnap:1,nn=lt.x/_t.x,Mn=lt.y/_t.y,Mi=ae?Math.max(nn,Mn):Math.min(nn,Mn);return _e=this.getScaleZoom(Mi,_e),Rt&&(_e=Math.round(_e/(Rt/100))*(Rt/100),_e=ae?Math.ceil(_e/Rt)*Rt:Math.floor(_e/Rt)*Rt),Math.max(Ee,Math.min(Ie,_e))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new V(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(K,ae){var pe=this._getTopLeftPoint(K,ae);return new E(pe,pe.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(K){return this.options.crs.getProjectedBounds(K===void 0?this.getZoom():K)},getPane:function(K){return typeof K=="string"?this._panes[K]:K},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(K,ae){var pe=this.options.crs;return ae=ae===void 0?this._zoom:ae,pe.scale(K)/pe.scale(ae)},getScaleZoom:function(K,ae){var pe=this.options.crs;ae=ae===void 0?this._zoom:ae;var _e=pe.zoom(K*pe.scale(ae));return isNaN(_e)?1/0:_e},project:function(K,ae){return ae=ae===void 0?this._zoom:ae,this.options.crs.latLngToPoint(_(K),ae)},unproject:function(K,ae){return ae=ae===void 0?this._zoom:ae,this.options.crs.pointToLatLng(I(K),ae)},layerPointToLatLng:function(K){var ae=I(K).add(this.getPixelOrigin());return this.unproject(ae)},latLngToLayerPoint:function(K){var ae=this.project(_(K))._round();return ae._subtract(this.getPixelOrigin())},wrapLatLng:function(K){return this.options.crs.wrapLatLng(_(K))},wrapLatLngBounds:function(K){return this.options.crs.wrapLatLngBounds(k(K))},distance:function(K,ae){return this.options.crs.distance(_(K),_(ae))},containerPointToLayerPoint:function(K){return I(K).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(K){return I(K).add(this._getMapPanePos())},containerPointToLatLng:function(K){var ae=this.containerPointToLayerPoint(I(K));return this.layerPointToLatLng(ae)},latLngToContainerPoint:function(K){return this.layerPointToContainerPoint(this.latLngToLayerPoint(_(K)))},mouseEventToContainerPoint:function(K){return f1(K,this._container)},mouseEventToLayerPoint:function(K){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(K))},mouseEventToLatLng:function(K){return this.layerPointToLatLng(this.mouseEventToLayerPoint(K))},_initContainer:function(K){var ae=this._container=La(K);if(ae){if(ae._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");cn(ae,"scroll",this._onScroll,this),this._containerId=c(ae)},_initLayout:function(){var K=this._container;this._fadeAnimated=this.options.fadeAnimation&&At.any3d,pn(K,"leaflet-container"+(At.touch?" leaflet-touch":"")+(At.retina?" leaflet-retina":"")+(At.ielt9?" leaflet-oldie":"")+(At.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var ae=ds(K,"position");ae!=="absolute"&&ae!=="relative"&&ae!=="fixed"&&ae!=="sticky"&&(K.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var K=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Lr(this._mapPane,new V(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(pn(K.markerPane,"leaflet-zoom-hide"),pn(K.shadowPane,"leaflet-zoom-hide"))},_resetView:function(K,ae,pe){Lr(this._mapPane,new V(0,0));var _e=!this._loaded;this._loaded=!0,ae=this._limitZoom(ae),this.fire("viewprereset");var Ee=this._zoom!==ae;this._moveStart(Ee,pe)._move(K,ae)._moveEnd(Ee),this.fire("viewreset"),_e&&this.fire("load")},_moveStart:function(K,ae){return K&&this.fire("zoomstart"),ae||this.fire("movestart"),this},_move:function(K,ae,pe,_e){ae===void 0&&(ae=this._zoom);var Ee=this._zoom!==ae;return this._zoom=ae,this._lastCenter=K,this._pixelOrigin=this._getNewPixelOrigin(K),_e?pe&&pe.pinch&&this.fire("zoom",pe):((Ee||pe&&pe.pinch)&&this.fire("zoom",pe),this.fire("move",pe)),this},_moveEnd:function(K){return K&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return m(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(K){Lr(this._mapPane,this._getMapPanePos().subtract(K))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(K){this._targets={},this._targets[c(this._container)]=this;var ae=K?Mt:cn;ae(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&ae(window,"resize",this._onResize,this),At.any3d&&this.options.transform3DLimit&&(K?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){m(this._resizeRequest),this._resizeRequest=h(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var K=this._getMapPanePos();Math.max(Math.abs(K.x),Math.abs(K.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(K,ae){for(var pe=[],_e,Ee=ae==="mouseout"||ae==="mouseover",Ie=K.target||K.srcElement,Ge=!1;Ie;){if(_e=this._targets[c(Ie)],_e&&(ae==="click"||ae==="preclick")&&this._draggableMoved(_e)){Ge=!0;break}if(_e&&_e.listens(ae,!0)&&(Ee&&!mv(Ie,K)||(pe.push(_e),Ee))||Ie===this._container)break;Ie=Ie.parentNode}return!pe.length&&!Ge&&!Ee&&this.listens(ae,!0)&&(pe=[this]),pe},_isClickDisabled:function(K){for(;K&&K!==this._container;){if(K._leaflet_disable_click)return!0;K=K.parentNode}},_handleDOMEvent:function(K){var ae=K.target||K.srcElement;if(!(!this._loaded||ae._leaflet_disable_events||K.type==="click"&&this._isClickDisabled(ae))){var pe=K.type;pe==="mousedown"&&Rl(ae),this._fireDOMEvent(K,pe)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(K,ae,pe){if(K.type==="click"){var _e=i({},K);_e.type="preclick",this._fireDOMEvent(_e,_e.type,pe)}var Ee=this._findEventTargets(K,ae);if(pe){for(var Ie=[],Ge=0;Ge<pe.length;Ge++)pe[Ge].listens(ae,!0)&&Ie.push(pe[Ge]);Ee=Ie.concat(Ee)}if(Ee.length){ae==="contextmenu"&&un(K);var it=Ee[0],lt={originalEvent:K};if(K.type!=="keypress"&&K.type!=="keydown"&&K.type!=="keyup"){var _t=it.getLatLng&&(!it._radius||it._radius<=10);lt.containerPoint=_t?this.latLngToContainerPoint(it.getLatLng()):this.mouseEventToContainerPoint(K),lt.layerPoint=this.containerPointToLayerPoint(lt.containerPoint),lt.latlng=_t?it.getLatLng():this.layerPointToLatLng(lt.layerPoint)}for(Ge=0;Ge<Ee.length;Ge++)if(Ee[Ge].fire(ae,lt,!0),lt.originalEvent._stopped||Ee[Ge].options.bubblingMouseEvents===!1&&U(this._mouseEvents,ae)!==-1)return}},_draggableMoved:function(K){return K=K.dragging&&K.dragging.enabled()?K:this,K.dragging&&K.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var K=0,ae=this._handlers.length;K<ae;K++)this._handlers[K].disable()},whenReady:function(K,ae){return this._loaded?K.call(ae||this,{target:this}):this.on("load",K,ae),this},_getMapPanePos:function(){return la(this._mapPane)||new V(0,0)},_moved:function(){var K=this._getMapPanePos();return K&&!K.equals([0,0])},_getTopLeftPoint:function(K,ae){var pe=K&&ae!==void 0?this._getNewPixelOrigin(K,ae):this.getPixelOrigin();return pe.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(K,ae){var pe=this.getSize()._divideBy(2);return this.project(K,ae)._subtract(pe)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(K,ae,pe){var _e=this._getNewPixelOrigin(pe,ae);return this.project(K,ae)._subtract(_e)},_latLngBoundsToNewLayerBounds:function(K,ae,pe){var _e=this._getNewPixelOrigin(pe,ae);return A([this.project(K.getSouthWest(),ae)._subtract(_e),this.project(K.getNorthWest(),ae)._subtract(_e),this.project(K.getSouthEast(),ae)._subtract(_e),this.project(K.getNorthEast(),ae)._subtract(_e)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(K){return this.latLngToLayerPoint(K).subtract(this._getCenterLayerPoint())},_limitCenter:function(K,ae,pe){if(!pe)return K;var _e=this.project(K,ae),Ee=this.getSize().divideBy(2),Ie=new E(_e.subtract(Ee),_e.add(Ee)),Ge=this._getBoundsOffset(Ie,pe,ae);return Math.abs(Ge.x)<=1&&Math.abs(Ge.y)<=1?K:this.unproject(_e.add(Ge),ae)},_limitOffset:function(K,ae){if(!ae)return K;var pe=this.getPixelBounds(),_e=new E(pe.min.add(K),pe.max.add(K));return K.add(this._getBoundsOffset(_e,ae))},_getBoundsOffset:function(K,ae,pe){var _e=A(this.project(ae.getNorthEast(),pe),this.project(ae.getSouthWest(),pe)),Ee=_e.min.subtract(K.min),Ie=_e.max.subtract(K.max),Ge=this._rebound(Ee.x,-Ie.x),it=this._rebound(Ee.y,-Ie.y);return new V(Ge,it)},_rebound:function(K,ae){return K+ae>0?Math.round(K-ae)/2:Math.max(0,Math.ceil(K))-Math.max(0,Math.floor(ae))},_limitZoom:function(K){var ae=this.getMinZoom(),pe=this.getMaxZoom(),_e=At.any3d?this.options.zoomSnap:1;return _e&&(K=Math.round(K/_e)*_e),Math.max(ae,Math.min(pe,K))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){fr(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(K,ae){var pe=this._getCenterOffset(K)._trunc();return(ae&&ae.animate)!==!0&&!this.getSize().contains(pe)?!1:(this.panBy(pe,ae),!0)},_createAnimProxy:function(){var K=this._proxy=Nn("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(K),this.on("zoomanim",function(ae){var pe=Nl,_e=this._proxy.style[pe];Na(this._proxy,this.project(ae.center,ae.zoom),this.getZoomScale(ae.zoom,1)),_e===this._proxy.style[pe]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){$n(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var K=this.getCenter(),ae=this.getZoom();Na(this._proxy,this.project(K,ae),this.getZoomScale(ae,1))},_catchTransitionEnd:function(K){this._animatingZoom&&K.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(K,ae,pe){if(this._animatingZoom)return!0;if(pe=pe||{},!this._zoomAnimated||pe.animate===!1||this._nothingToAnimate()||Math.abs(ae-this._zoom)>this.options.zoomAnimationThreshold)return!1;var _e=this.getZoomScale(ae),Ee=this._getCenterOffset(K)._divideBy(1-1/_e);return pe.animate!==!0&&!this.getSize().contains(Ee)?!1:(h(function(){this._moveStart(!0,pe.noMoveStart||!1)._animateZoom(K,ae,!0)},this),!0)},_animateZoom:function(K,ae,pe,_e){this._mapPane&&(pe&&(this._animatingZoom=!0,this._animateToCenter=K,this._animateToZoom=ae,pn(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:K,zoom:ae,noUpdate:_e}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(a(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&fr(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function ro(K,ae){return new Vn(K,ae)}var ca=M.extend({options:{position:"topright"},initialize:function(K){x(this,K)},getPosition:function(){return this.options.position},setPosition:function(K){var ae=this._map;return ae&&ae.removeControl(this),this.options.position=K,ae&&ae.addControl(this),this},getContainer:function(){return this._container},addTo:function(K){this.remove(),this._map=K;var ae=this._container=this.onAdd(K),pe=this.getPosition(),_e=K._controlCorners[pe];return pn(ae,"leaflet-control"),pe.indexOf("bottom")!==-1?_e.insertBefore(ae,_e.firstChild):_e.appendChild(ae),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?($n(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(K){this._map&&K&&K.screenX>0&&K.screenY>0&&this._map.getContainer().focus()}}),fs=function(K){return new ca(K)};Vn.include({addControl:function(K){return K.addTo(this),this},removeControl:function(K){return K.remove(),this},_initControlPos:function(){var K=this._controlCorners={},ae="leaflet-",pe=this._controlContainer=Nn("div",ae+"control-container",this._container);function _e(Ee,Ie){var Ge=ae+Ee+" "+ae+Ie;K[Ee+Ie]=Nn("div",Ge,pe)}_e("top","left"),_e("top","right"),_e("bottom","left"),_e("bottom","right")},_clearControlPos:function(){for(var K in this._controlCorners)$n(this._controlCorners[K]);$n(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var yv=ca.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(K,ae,pe,_e){return pe<_e?-1:_e<pe?1:0}},initialize:function(K,ae,pe){x(this,pe),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1;for(var _e in K)this._addLayer(K[_e],_e);for(_e in ae)this._addLayer(ae[_e],_e,!0)},onAdd:function(K){this._initLayout(),this._update(),this._map=K,K.on("zoomend",this._checkDisabledLayers,this);for(var ae=0;ae<this._layers.length;ae++)this._layers[ae].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(K){return ca.prototype.addTo.call(this,K),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var K=0;K<this._layers.length;K++)this._layers[K].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(K,ae){return this._addLayer(K,ae),this._map?this._update():this},addOverlay:function(K,ae){return this._addLayer(K,ae,!0),this._map?this._update():this},removeLayer:function(K){K.off("add remove",this._onLayerChange,this);var ae=this._getLayer(c(K));return ae&&this._layers.splice(this._layers.indexOf(ae),1),this._map?this._update():this},expand:function(){pn(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var K=this._map.getSize().y-(this._container.offsetTop+50);return K<this._section.clientHeight?(pn(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=K+"px"):fr(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return fr(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var K="leaflet-control-layers",ae=this._container=Nn("div",K),pe=this.options.collapsed;ae.setAttribute("aria-haspopup",!0),gc(ae),_u(ae);var _e=this._section=Nn("section",K+"-list");pe&&(this._map.on("click",this.collapse,this),cn(ae,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var Ee=this._layersLink=Nn("a",K+"-toggle",ae);Ee.href="#",Ee.title="Layers",Ee.setAttribute("role","button"),cn(Ee,{keydown:function(Ie){Ie.keyCode===13&&this._expandSafely()},click:function(Ie){un(Ie),this._expandSafely()}},this),pe||this.expand(),this._baseLayersList=Nn("div",K+"-base",_e),this._separator=Nn("div",K+"-separator",_e),this._overlaysList=Nn("div",K+"-overlays",_e),ae.appendChild(_e)},_getLayer:function(K){for(var ae=0;ae<this._layers.length;ae++)if(this._layers[ae]&&c(this._layers[ae].layer)===K)return this._layers[ae]},_addLayer:function(K,ae,pe){this._map&&K.on("add remove",this._onLayerChange,this),this._layers.push({layer:K,name:ae,overlay:pe}),this.options.sortLayers&&this._layers.sort(a(function(_e,Ee){return this.options.sortFunction(_e.layer,Ee.layer,_e.name,Ee.name)},this)),this.options.autoZIndex&&K.setZIndex&&(this._lastZIndex++,K.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;oa(this._baseLayersList),oa(this._overlaysList),this._layerControlInputs=[];var K,ae,pe,_e,Ee=0;for(pe=0;pe<this._layers.length;pe++)_e=this._layers[pe],this._addItem(_e),ae=ae||_e.overlay,K=K||!_e.overlay,Ee+=_e.overlay?0:1;return this.options.hideSingleBase&&(K=K&&Ee>1,this._baseLayersList.style.display=K?"":"none"),this._separator.style.display=ae&&K?"":"none",this},_onLayerChange:function(K){this._handlingClick||this._update();var ae=this._getLayer(c(K.target)),pe=ae.overlay?K.type==="add"?"overlayadd":"overlayremove":K.type==="add"?"baselayerchange":null;pe&&this._map.fire(pe,ae)},_createRadioElement:function(K,ae){var pe='<input type="radio" class="leaflet-control-layers-selector" name="'+K+'"'+(ae?' checked="checked"':"")+"/>",_e=document.createElement("div");return _e.innerHTML=pe,_e.firstChild},_addItem:function(K){var ae=document.createElement("label"),pe=this._map.hasLayer(K.layer),_e;K.overlay?(_e=document.createElement("input"),_e.type="checkbox",_e.className="leaflet-control-layers-selector",_e.defaultChecked=pe):_e=this._createRadioElement("leaflet-base-layers_"+c(this),pe),this._layerControlInputs.push(_e),_e.layerId=c(K.layer),cn(_e,"click",this._onInputClick,this);var Ee=document.createElement("span");Ee.innerHTML=" "+K.name;var Ie=document.createElement("span");ae.appendChild(Ie),Ie.appendChild(_e),Ie.appendChild(Ee);var Ge=K.overlay?this._overlaysList:this._baseLayersList;return Ge.appendChild(ae),this._checkDisabledLayers(),ae},_onInputClick:function(){if(!this._preventClick){var K=this._layerControlInputs,ae,pe,_e=[],Ee=[];this._handlingClick=!0;for(var Ie=K.length-1;Ie>=0;Ie--)ae=K[Ie],pe=this._getLayer(ae.layerId).layer,ae.checked?_e.push(pe):ae.checked||Ee.push(pe);for(Ie=0;Ie<Ee.length;Ie++)this._map.hasLayer(Ee[Ie])&&this._map.removeLayer(Ee[Ie]);for(Ie=0;Ie<_e.length;Ie++)this._map.hasLayer(_e[Ie])||this._map.addLayer(_e[Ie]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var K=this._layerControlInputs,ae,pe,_e=this._map.getZoom(),Ee=K.length-1;Ee>=0;Ee--)ae=K[Ee],pe=this._getLayer(ae.layerId).layer,ae.disabled=pe.options.minZoom!==void 0&&_e<pe.options.minZoom||pe.options.maxZoom!==void 0&&_e>pe.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var K=this._section;this._preventClick=!0,cn(K,"click",un),this.expand();var ae=this;setTimeout(function(){Mt(K,"click",un),ae._preventClick=!1})}}),bv=function(K,ae,pe){return new yv(K,ae,pe)},Fo=ca.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(K){var ae="leaflet-control-zoom",pe=Nn("div",ae+" leaflet-bar"),_e=this.options;return this._zoomInButton=this._createButton(_e.zoomInText,_e.zoomInTitle,ae+"-in",pe,this._zoomIn),this._zoomOutButton=this._createButton(_e.zoomOutText,_e.zoomOutTitle,ae+"-out",pe,this._zoomOut),this._updateDisabled(),K.on("zoomend zoomlevelschange",this._updateDisabled,this),pe},onRemove:function(K){K.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(K){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(K.shiftKey?3:1))},_zoomOut:function(K){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(K.shiftKey?3:1))},_createButton:function(K,ae,pe,_e,Ee){var Ie=Nn("a",pe,_e);return Ie.innerHTML=K,Ie.href="#",Ie.title=ae,Ie.setAttribute("role","button"),Ie.setAttribute("aria-label",ae),gc(Ie),cn(Ie,"click",Kn),cn(Ie,"click",Ee,this),cn(Ie,"click",this._refocusOnMap,this),Ie},_updateDisabled:function(){var K=this._map,ae="leaflet-disabled";fr(this._zoomInButton,ae),fr(this._zoomOutButton,ae),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||K._zoom===K.getMinZoom())&&(pn(this._zoomOutButton,ae),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||K._zoom===K.getMaxZoom())&&(pn(this._zoomInButton,ae),this._zoomInButton.setAttribute("aria-disabled","true"))}});Vn.mergeOptions({zoomControl:!0}),Vn.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Fo,this.addControl(this.zoomControl))});var m1=function(K){return new Fo(K)},xv=ca.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(K){var ae="leaflet-control-scale",pe=Nn("div",ae),_e=this.options;return this._addScales(_e,ae+"-line",pe),K.on(_e.updateWhenIdle?"moveend":"move",this._update,this),K.whenReady(this._update,this),pe},onRemove:function(K){K.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(K,ae,pe){K.metric&&(this._mScale=Nn("div",ae,pe)),K.imperial&&(this._iScale=Nn("div",ae,pe))},_update:function(){var K=this._map,ae=K.getSize().y/2,pe=K.distance(K.containerPointToLatLng([0,ae]),K.containerPointToLatLng([this.options.maxWidth,ae]));this._updateScales(pe)},_updateScales:function(K){this.options.metric&&K&&this._updateMetric(K),this.options.imperial&&K&&this._updateImperial(K)},_updateMetric:function(K){var ae=this._getRoundNum(K),pe=ae<1e3?ae+" m":ae/1e3+" km";this._updateScale(this._mScale,pe,ae/K)},_updateImperial:function(K){var ae=K*3.2808399,pe,_e,Ee;ae>5280?(pe=ae/5280,_e=this._getRoundNum(pe),this._updateScale(this._iScale,_e+" mi",_e/pe)):(Ee=this._getRoundNum(ae),this._updateScale(this._iScale,Ee+" ft",Ee/ae))},_updateScale:function(K,ae,pe){K.style.width=Math.round(this.options.maxWidth*pe)+"px",K.innerHTML=ae},_getRoundNum:function(K){var ae=Math.pow(10,(Math.floor(K)+"").length-1),pe=K/ae;return pe=pe>=10?10:pe>=5?5:pe>=3?3:pe>=2?2:1,ae*pe}}),v1=function(K){return new xv(K)},y1='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>',Of=ca.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(At.inlineSvg?y1+" ":"")+"Leaflet</a>"},initialize:function(K){x(this,K),this._attributions={}},onAdd:function(K){K.attributionControl=this,this._container=Nn("div","leaflet-control-attribution"),gc(this._container);for(var ae in K._layers)K._layers[ae].getAttribution&&this.addAttribution(K._layers[ae].getAttribution());return this._update(),K.on("layeradd",this._addAttribution,this),this._container},onRemove:function(K){K.off("layeradd",this._addAttribution,this)},_addAttribution:function(K){K.layer.getAttribution&&(this.addAttribution(K.layer.getAttribution()),K.layer.once("remove",function(){this.removeAttribution(K.layer.getAttribution())},this))},setPrefix:function(K){return this.options.prefix=K,this._update(),this},addAttribution:function(K){return K?(this._attributions[K]||(this._attributions[K]=0),this._attributions[K]++,this._update(),this):this},removeAttribution:function(K){return K?(this._attributions[K]&&(this._attributions[K]--,this._update()),this):this},_update:function(){if(this._map){var K=[];for(var ae in this._attributions)this._attributions[ae]&&K.push(ae);var pe=[];this.options.prefix&&pe.push(this.options.prefix),K.length&&pe.push(K.join(", ")),this._container.innerHTML=pe.join(' <span aria-hidden="true">|</span> ')}}});Vn.mergeOptions({attributionControl:!0}),Vn.addInitHook(function(){this.options.attributionControl&&new Of().addTo(this)});var b1=function(K){return new Of(K)};ca.Layers=yv,ca.Zoom=Fo,ca.Scale=xv,ca.Attribution=Of,fs.layers=bv,fs.zoom=m1,fs.scale=v1,fs.attribution=b1;var oi=M.extend({initialize:function(K){this._map=K},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});oi.addTo=function(K,ae){return K.addHandler(ae,this),this};var cM={Events:Y},ua=At.touch?"touchstart mousedown":"mousedown",mc=X.extend({options:{clickTolerance:3},initialize:function(K,ae,pe,_e){x(this,_e),this._element=K,this._dragStartTarget=ae||K,this._preventOutline=pe},enable:function(){this._enabled||(cn(this._dragStartTarget,ua,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(mc._dragging===this&&this.finishDrag(!0),Mt(this._dragStartTarget,ua,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(K){if(this._enabled&&(this._moved=!1,!sa(this._element,"leaflet-zoom-anim"))){if(K.touches&&K.touches.length!==1){mc._dragging===this&&this.finishDrag();return}if(!(mc._dragging||K.shiftKey||K.which!==1&&K.button!==1&&!K.touches)&&(mc._dragging=this,this._preventOutline&&Rl(this._element),Ia(),ja(),!this._moving)){this.fire("down");var ae=K.touches?K.touches[0]:K,pe=xu(this._element);this._startPoint=new V(ae.clientX,ae.clientY),this._startPos=la(this._element),this._parentScale=wu(pe);var _e=K.type==="mousedown";cn(document,_e?"mousemove":"touchmove",this._onMove,this),cn(document,_e?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(K){if(this._enabled){if(K.touches&&K.touches.length>1){this._moved=!0;return}var ae=K.touches&&K.touches.length===1?K.touches[0]:K,pe=new V(ae.clientX,ae.clientY)._subtract(this._startPoint);!pe.x&&!pe.y||Math.abs(pe.x)+Math.abs(pe.y)<this.options.clickTolerance||(pe.x/=this._parentScale.x,pe.y/=this._parentScale.y,un(K),this._moved||(this.fire("dragstart"),this._moved=!0,pn(document.body,"leaflet-dragging"),this._lastTarget=K.target||K.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),pn(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(pe),this._moving=!0,this._lastEvent=K,this._updatePosition())}},_updatePosition:function(){var K={originalEvent:this._lastEvent};this.fire("predrag",K),Lr(this._element,this._newPos),this.fire("drag",K)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(K){fr(document.body,"leaflet-dragging"),this._lastTarget&&(fr(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),Mt(document,"mousemove touchmove",this._onMove,this),Mt(document,"mouseup touchend touchcancel",this._onUp,this),hs(),Yr();var ae=this._moved&&this._moving;this._moving=!1,mc._dragging=!1,ae&&this.fire("dragend",{noInertia:K,distance:this._newPos.distanceTo(this._startPos)})}});function wv(K,ae,pe){var _e,Ee=[1,4,2,8],Ie,Ge,it,lt,_t,Rt,nn,Mn;for(Ie=0,Rt=K.length;Ie<Rt;Ie++)K[Ie]._code=$s(K[Ie],ae);for(it=0;it<4;it++){for(nn=Ee[it],_e=[],Ie=0,Rt=K.length,Ge=Rt-1;Ie<Rt;Ge=Ie++)lt=K[Ie],_t=K[Ge],lt._code&nn?_t._code&nn||(Mn=Fh(_t,lt,nn,ae,pe),Mn._code=$s(Mn,ae),_e.push(Mn)):(_t._code&nn&&(Mn=Fh(_t,lt,nn,ae,pe),Mn._code=$s(Mn,ae),_e.push(Mn)),_e.push(lt));K=_e}return K}function zl(K,ae){var pe,_e,Ee,Ie,Ge,it,lt,_t,Rt;if(!K||K.length===0)throw new Error("latlngs not passed");da(K)||(console.warn("latlngs are not flat! Only the first ring will be used"),K=K[0]);var nn=_([0,0]),Mn=k(K),Mi=Mn.getNorthWest().distanceTo(Mn.getSouthWest())*Mn.getNorthEast().distanceTo(Mn.getNorthWest());Mi<1700&&(nn=fd(K));var ai=K.length,ho=[];for(pe=0;pe<ai;pe++){var io=_(K[pe]);ho.push(ae.project(_([io.lat-nn.lat,io.lng-nn.lng])))}for(it=lt=_t=0,pe=0,_e=ai-1;pe<ai;_e=pe++)Ee=ho[pe],Ie=ho[_e],Ge=Ee.y*Ie.x-Ie.y*Ee.x,lt+=(Ee.x+Ie.x)*Ge,_t+=(Ee.y+Ie.y)*Ge,it+=Ge*3;it===0?Rt=ho[0]:Rt=[lt/it,_t/it];var gs=ae.unproject(I(Rt));return _([gs.lat+nn.lat,gs.lng+nn.lng])}function fd(K){for(var ae=0,pe=0,_e=0,Ee=0;Ee<K.length;Ee++){var Ie=_(K[Ee]);ae+=Ie.lat,pe+=Ie.lng,_e++}return _([ae/_e,pe/_e])}var _v={__proto__:null,clipPolygon:wv,polygonCenter:zl,centroid:fd};function jr(K,ae){if(!ae||!K.length)return K.slice();var pe=ae*ae;return K=dM(K,pe),K=uM(K,pe),K}function Bl(K,ae,pe){return Math.sqrt(Wh(K,ae,pe,!0))}function Sv(K,ae,pe){return Wh(K,ae,pe)}function uM(K,ae){var pe=K.length,_e=typeof Uint8Array<"u"?Uint8Array:Array,Ee=new _e(pe);Ee[0]=Ee[pe-1]=1,Bh(K,Ee,ae,0,pe-1);var Ie,Ge=[];for(Ie=0;Ie<pe;Ie++)Ee[Ie]&&Ge.push(K[Ie]);return Ge}function Bh(K,ae,pe,_e,Ee){var Ie=0,Ge,it,lt;for(it=_e+1;it<=Ee-1;it++)lt=Wh(K[it],K[_e],K[Ee],!0),lt>Ie&&(Ge=it,Ie=lt);Ie>pe&&(ae[Ge]=1,Bh(K,ae,pe,_e,Ge),Bh(K,ae,pe,Ge,Ee))}function dM(K,ae){for(var pe=[K[0]],_e=1,Ee=0,Ie=K.length;_e<Ie;_e++)gd(K[_e],K[Ee])>ae&&(pe.push(K[_e]),Ee=_e);return Ee<Ie-1&&pe.push(K[Ie-1]),pe}var x1;function w1(K,ae,pe,_e,Ee){var Ie=_e?x1:$s(K,pe),Ge=$s(ae,pe),it,lt,_t;for(x1=Ge;;){if(!(Ie|Ge))return[K,ae];if(Ie&Ge)return!1;it=Ie||Ge,lt=Fh(K,ae,it,pe,Ee),_t=$s(lt,pe),it===Ie?(K=lt,Ie=_t):(ae=lt,Ge=_t)}}function Fh(K,ae,pe,_e,Ee){var Ie=ae.x-K.x,Ge=ae.y-K.y,it=_e.min,lt=_e.max,_t,Rt;return pe&8?(_t=K.x+Ie*(lt.y-K.y)/Ge,Rt=lt.y):pe&4?(_t=K.x+Ie*(it.y-K.y)/Ge,Rt=it.y):pe&2?(_t=lt.x,Rt=K.y+Ge*(lt.x-K.x)/Ie):pe&1&&(_t=it.x,Rt=K.y+Ge*(it.x-K.x)/Ie),new V(_t,Rt,Ee)}function $s(K,ae){var pe=0;return K.x<ae.min.x?pe|=1:K.x>ae.max.x&&(pe|=2),K.y<ae.min.y?pe|=4:K.y>ae.max.y&&(pe|=8),pe}function gd(K,ae){var pe=ae.x-K.x,_e=ae.y-K.y;return pe*pe+_e*_e}function Wh(K,ae,pe,_e){var Ee=ae.x,Ie=ae.y,Ge=pe.x-Ee,it=pe.y-Ie,lt=Ge*Ge+it*it,_t;return lt>0&&(_t=((K.x-Ee)*Ge+(K.y-Ie)*it)/lt,_t>1?(Ee=pe.x,Ie=pe.y):_t>0&&(Ee+=Ge*_t,Ie+=it*_t)),Ge=K.x-Ee,it=K.y-Ie,_e?Ge*Ge+it*it:new V(Ee,Ie)}function da(K){return!$(K[0])||typeof K[0][0]!="object"&&typeof K[0][0]<"u"}function Cv(K){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),da(K)}function Pf(K,ae){var pe,_e,Ee,Ie,Ge,it,lt,_t;if(!K||K.length===0)throw new Error("latlngs not passed");da(K)||(console.warn("latlngs are not flat! Only the first ring will be used"),K=K[0]);var Rt=_([0,0]),nn=k(K),Mn=nn.getNorthWest().distanceTo(nn.getSouthWest())*nn.getNorthEast().distanceTo(nn.getNorthWest());Mn<1700&&(Rt=fd(K));var Mi=K.length,ai=[];for(pe=0;pe<Mi;pe++){var ho=_(K[pe]);ai.push(ae.project(_([ho.lat-Rt.lat,ho.lng-Rt.lng])))}for(pe=0,_e=0;pe<Mi-1;pe++)_e+=ai[pe].distanceTo(ai[pe+1])/2;if(_e===0)_t=ai[0];else for(pe=0,Ie=0;pe<Mi-1;pe++)if(Ge=ai[pe],it=ai[pe+1],Ee=Ge.distanceTo(it),Ie+=Ee,Ie>_e){lt=(Ie-_e)/Ee,_t=[it.x-lt*(it.x-Ge.x),it.y-lt*(it.y-Ge.y)];break}var io=ae.unproject(I(_t));return _([io.lat+Rt.lat,io.lng+Rt.lng])}var kv={__proto__:null,simplify:jr,pointToSegmentDistance:Bl,closestPointOnSegment:Sv,clipSegment:w1,_getEdgeIntersection:Fh,_getBitCode:$s,_sqClosestPointOnSegment:Wh,isFlat:da,_flat:Cv,polylineCenter:Pf},Df={project:function(K){return new V(K.lng,K.lat)},unproject:function(K){return new S(K.y,K.x)},bounds:new E([-180,-90],[180,90])},Mv={R:6378137,R_MINOR:6356752314245179e-9,bounds:new E([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(K){var ae=Math.PI/180,pe=this.R,_e=K.lat*ae,Ee=this.R_MINOR/pe,Ie=Math.sqrt(1-Ee*Ee),Ge=Ie*Math.sin(_e),it=Math.tan(Math.PI/4-_e/2)/Math.pow((1-Ge)/(1+Ge),Ie/2);return _e=-pe*Math.log(Math.max(it,1e-10)),new V(K.lng*ae*pe,_e)},unproject:function(K){for(var ae=180/Math.PI,pe=this.R,_e=this.R_MINOR/pe,Ee=Math.sqrt(1-_e*_e),Ie=Math.exp(-K.y/pe),Ge=Math.PI/2-2*Math.atan(Ie),it=0,lt=.1,_t;it<15&&Math.abs(lt)>1e-7;it++)_t=Ee*Math.sin(Ge),_t=Math.pow((1-_t)/(1+_t),Ee/2),lt=Math.PI/2-2*Math.atan(Ie*_t)-Ge,Ge+=lt;return new S(Ge*ae,K.x*ae/pe)}},Tv={__proto__:null,LonLat:Df,Mercator:Mv,SphericalMercator:N},Av=i({},j,{code:"EPSG:3395",projection:Mv,transformation:function(){var K=.5/(Math.PI*Mv.R);return Q(K,.5,-K,.5)}()}),_1=i({},j,{code:"EPSG:4326",projection:Df,transformation:Q(1/180,1,-1/180,.5)}),S1=i({},F,{projection:Df,transformation:Q(1,0,-1,0),scale:function(K){return Math.pow(2,K)},zoom:function(K){return Math.log(K)/Math.LN2},distance:function(K,ae){var pe=ae.lng-K.lng,_e=ae.lat-K.lat;return Math.sqrt(pe*pe+_e*_e)},infinite:!0});F.Earth=j,F.EPSG3395=Av,F.EPSG3857=W,F.EPSG900913=Z,F.EPSG4326=_1,F.Simple=S1;var Gr=X.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(K){return K.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(K){return K&&K.removeLayer(this),this},getPane:function(K){return this._map.getPane(K?this.options[K]||K:this.options.pane)},addInteractiveTarget:function(K){return this._map._targets[c(K)]=this,this},removeInteractiveTarget:function(K){return delete this._map._targets[c(K)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(K){var ae=K.target;if(ae.hasLayer(this)){if(this._map=ae,this._zoomAnimated=ae._zoomAnimated,this.getEvents){var pe=this.getEvents();ae.on(pe,this),this.once("remove",function(){ae.off(pe,this)},this)}this.onAdd(ae),this.fire("add"),ae.fire("layeradd",{layer:this})}}});Vn.include({addLayer:function(K){if(!K._layerAdd)throw new Error("The provided object is not a Layer.");var ae=c(K);return this._layers[ae]?this:(this._layers[ae]=K,K._mapToAdd=this,K.beforeAdd&&K.beforeAdd(this),this.whenReady(K._layerAdd,K),this)},removeLayer:function(K){var ae=c(K);return this._layers[ae]?(this._loaded&&K.onRemove(this),delete this._layers[ae],this._loaded&&(this.fire("layerremove",{layer:K}),K.fire("remove")),K._map=K._mapToAdd=null,this):this},hasLayer:function(K){return c(K)in this._layers},eachLayer:function(K,ae){for(var pe in this._layers)K.call(ae,this._layers[pe]);return this},_addLayers:function(K){K=K?$(K)?K:[K]:[];for(var ae=0,pe=K.length;ae<pe;ae++)this.addLayer(K[ae])},_addZoomLimit:function(K){(!isNaN(K.options.maxZoom)||!isNaN(K.options.minZoom))&&(this._zoomBoundLayers[c(K)]=K,this._updateZoomLevels())},_removeZoomLimit:function(K){var ae=c(K);this._zoomBoundLayers[ae]&&(delete this._zoomBoundLayers[ae],this._updateZoomLevels())},_updateZoomLevels:function(){var K=1/0,ae=-1/0,pe=this._getZoomSpan();for(var _e in this._zoomBoundLayers){var Ee=this._zoomBoundLayers[_e].options;K=Ee.minZoom===void 0?K:Math.min(K,Ee.minZoom),ae=Ee.maxZoom===void 0?ae:Math.max(ae,Ee.maxZoom)}this._layersMaxZoom=ae===-1/0?void 0:ae,this._layersMinZoom=K===1/0?void 0:K,pe!==this._getZoomSpan()&&this.fire("zoomlevelschange"),this.options.maxZoom===void 0&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var vc=Gr.extend({initialize:function(K,ae){x(this,ae),this._layers={};var pe,_e;if(K)for(pe=0,_e=K.length;pe<_e;pe++)this.addLayer(K[pe])},addLayer:function(K){var ae=this.getLayerId(K);return this._layers[ae]=K,this._map&&this._map.addLayer(K),this},removeLayer:function(K){var ae=K in this._layers?K:this.getLayerId(K);return this._map&&this._layers[ae]&&this._map.removeLayer(this._layers[ae]),delete this._layers[ae],this},hasLayer:function(K){var ae=typeof K=="number"?K:this.getLayerId(K);return ae in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(K){var ae=Array.prototype.slice.call(arguments,1),pe,_e;for(pe in this._layers)_e=this._layers[pe],_e[K]&&_e[K].apply(_e,ae);return this},onAdd:function(K){this.eachLayer(K.addLayer,K)},onRemove:function(K){this.eachLayer(K.removeLayer,K)},eachLayer:function(K,ae){for(var pe in this._layers)K.call(ae,this._layers[pe]);return this},getLayer:function(K){return this._layers[K]},getLayers:function(){var K=[];return this.eachLayer(K.push,K),K},setZIndex:function(K){return this.invoke("setZIndex",K)},getLayerId:function(K){return c(K)}}),Hh=function(K,ae){return new vc(K,ae)},qs=vc.extend({addLayer:function(K){return this.hasLayer(K)?this:(K.addEventParent(this),vc.prototype.addLayer.call(this,K),this.fire("layeradd",{layer:K}))},removeLayer:function(K){return this.hasLayer(K)?(K in this._layers&&(K=this._layers[K]),K.removeEventParent(this),vc.prototype.removeLayer.call(this,K),this.fire("layerremove",{layer:K})):this},setStyle:function(K){return this.invoke("setStyle",K)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var K=new v;for(var ae in this._layers){var pe=this._layers[ae];K.extend(pe.getBounds?pe.getBounds():pe.getLatLng())}return K}}),C1=function(K,ae){return new qs(K,ae)},md=M.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(K){x(this,K)},createIcon:function(K){return this._createIcon("icon",K)},createShadow:function(K){return this._createIcon("shadow",K)},_createIcon:function(K,ae){var pe=this._getIconUrl(K);if(!pe){if(K==="icon")throw new Error("iconUrl not set in Icon options (see the docs).");return null}var _e=this._createImg(pe,ae&&ae.tagName==="IMG"?ae:null);return this._setIconStyles(_e,K),(this.options.crossOrigin||this.options.crossOrigin==="")&&(_e.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),_e},_setIconStyles:function(K,ae){var pe=this.options,_e=pe[ae+"Size"];typeof _e=="number"&&(_e=[_e,_e]);var Ee=I(_e),Ie=I(ae==="shadow"&&pe.shadowAnchor||pe.iconAnchor||Ee&&Ee.divideBy(2,!0));K.className="leaflet-marker-"+ae+" "+(pe.className||""),Ie&&(K.style.marginLeft=-Ie.x+"px",K.style.marginTop=-Ie.y+"px"),Ee&&(K.style.width=Ee.x+"px",K.style.height=Ee.y+"px")},_createImg:function(K,ae){return ae=ae||document.createElement("img"),ae.src=K,ae},_getIconUrl:function(K){return At.retina&&this.options[K+"RetinaUrl"]||this.options[K+"Url"]}});function hM(K){return new md(K)}var Uh=md.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(K){return typeof Uh.imagePath!="string"&&(Uh.imagePath=this._detectIconPath()),(this.options.imagePath||Uh.imagePath)+md.prototype._getIconUrl.call(this,K)},_stripUrl:function(K){var ae=function(pe,_e,Ee){var Ie=_e.exec(pe);return Ie&&Ie[Ee]};return K=ae(K,/^url\((['"])?(.+)\1\)$/,2),K&&ae(K,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var K=Nn("div","leaflet-default-icon-path",document.body),ae=ds(K,"background-image")||ds(K,"backgroundImage");if(document.body.removeChild(K),ae=this._stripUrl(ae),ae)return ae;var pe=document.querySelector('link[href$="leaflet.css"]');return pe?pe.href.substring(0,pe.href.length-11-1):""}}),k1=oi.extend({initialize:function(K){this._marker=K},addHooks:function(){var K=this._marker._icon;this._draggable||(this._draggable=new mc(K,K,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),pn(K,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&fr(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(K){var ae=this._marker,pe=ae._map,_e=this._marker.options.autoPanSpeed,Ee=this._marker.options.autoPanPadding,Ie=la(ae._icon),Ge=pe.getPixelBounds(),it=pe.getPixelOrigin(),lt=A(Ge.min._subtract(it).add(Ee),Ge.max._subtract(it).subtract(Ee));if(!lt.contains(Ie)){var _t=I((Math.max(lt.max.x,Ie.x)-lt.max.x)/(Ge.max.x-lt.max.x)-(Math.min(lt.min.x,Ie.x)-lt.min.x)/(Ge.min.x-lt.min.x),(Math.max(lt.max.y,Ie.y)-lt.max.y)/(Ge.max.y-lt.max.y)-(Math.min(lt.min.y,Ie.y)-lt.min.y)/(Ge.min.y-lt.min.y)).multiplyBy(_e);pe.panBy(_t,{animate:!1}),this._draggable._newPos._add(_t),this._draggable._startPos._add(_t),Lr(ae._icon,this._draggable._newPos),this._onDrag(K),this._panRequest=h(this._adjustPan.bind(this,K))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(K){this._marker.options.autoPan&&(m(this._panRequest),this._panRequest=h(this._adjustPan.bind(this,K)))},_onDrag:function(K){var ae=this._marker,pe=ae._shadow,_e=la(ae._icon),Ee=ae._map.layerPointToLatLng(_e);pe&&Lr(pe,_e),ae._latlng=Ee,K.latlng=Ee,K.oldLatLng=this._oldLatLng,ae.fire("move",K).fire("drag",K)},_onDragEnd:function(K){m(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",K)}}),Lf=Gr.extend({options:{icon:new Uh,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(K,ae){x(this,ae),this._latlng=_(K)},onAdd:function(K){this._zoomAnimated=this._zoomAnimated&&K.options.markerZoomAnimation,this._zoomAnimated&&K.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(K){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&K.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(K){var ae=this._latlng;return this._latlng=_(K),this.update(),this.fire("move",{oldLatLng:ae,latlng:this._latlng})},setZIndexOffset:function(K){return this.options.zIndexOffset=K,this.update()},getIcon:function(){return this.options.icon},setIcon:function(K){return this.options.icon=K,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var K=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(K)}return this},_initIcon:function(){var K=this.options,ae="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),pe=K.icon.createIcon(this._icon),_e=!1;pe!==this._icon&&(this._icon&&this._removeIcon(),_e=!0,K.title&&(pe.title=K.title),pe.tagName==="IMG"&&(pe.alt=K.alt||"")),pn(pe,ae),K.keyboard&&(pe.tabIndex="0",pe.setAttribute("role","button")),this._icon=pe,K.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&cn(pe,"focus",this._panOnFocus,this);var Ee=K.icon.createShadow(this._shadow),Ie=!1;Ee!==this._shadow&&(this._removeShadow(),Ie=!0),Ee&&(pn(Ee,ae),Ee.alt=""),this._shadow=Ee,K.opacity<1&&this._updateOpacity(),_e&&this.getPane().appendChild(this._icon),this._initInteraction(),Ee&&Ie&&this.getPane(K.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Mt(this._icon,"focus",this._panOnFocus,this),$n(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&$n(this._shadow),this._shadow=null},_setPos:function(K){this._icon&&Lr(this._icon,K),this._shadow&&Lr(this._shadow,K),this._zIndex=K.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(K){this._icon&&(this._icon.style.zIndex=this._zIndex+K)},_animateZoom:function(K){var ae=this._map._latLngToNewLayerPoint(this._latlng,K.zoom,K.center).round();this._setPos(ae)},_initInteraction:function(){if(this.options.interactive&&(pn(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),k1)){var K=this.options.draggable;this.dragging&&(K=this.dragging.enabled(),this.dragging.disable()),this.dragging=new k1(this),K&&this.dragging.enable()}},setOpacity:function(K){return this.options.opacity=K,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var K=this.options.opacity;this._icon&&no(this._icon,K),this._shadow&&no(this._shadow,K)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var K=this._map;if(K){var ae=this.options.icon.options,pe=ae.iconSize?I(ae.iconSize):I(0,0),_e=ae.iconAnchor?I(ae.iconAnchor):I(0,0);K.panInside(this._latlng,{paddingTopLeft:_e,paddingBottomRight:pe.subtract(_e)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function vd(K,ae){return new Lf(K,ae)}var yc=Gr.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(K){this._renderer=K.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(K){return x(this,K),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&K&&Object.prototype.hasOwnProperty.call(K,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),Nf=yc.extend({options:{fill:!0,radius:10},initialize:function(K,ae){x(this,ae),this._latlng=_(K),this._radius=this.options.radius},setLatLng:function(K){var ae=this._latlng;return this._latlng=_(K),this.redraw(),this.fire("move",{oldLatLng:ae,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(K){return this.options.radius=this._radius=K,this.redraw()},getRadius:function(){return this._radius},setStyle:function(K){var ae=K&&K.radius||this._radius;return yc.prototype.setStyle.call(this,K),this.setRadius(ae),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var K=this._radius,ae=this._radiusY||K,pe=this._clickTolerance(),_e=[K+pe,ae+pe];this._pxBounds=new E(this._point.subtract(_e),this._point.add(_e))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(K){return K.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function Ev(K,ae){return new Nf(K,ae)}var jf=Nf.extend({initialize:function(K,ae,pe){if(typeof ae=="number"&&(ae=i({},pe,{radius:ae})),x(this,ae),this._latlng=_(K),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(K){return this._mRadius=K,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var K=[this._radius,this._radiusY||this._radius];return new v(this._map.layerPointToLatLng(this._point.subtract(K)),this._map.layerPointToLatLng(this._point.add(K)))},setStyle:yc.prototype.setStyle,_project:function(){var K=this._latlng.lng,ae=this._latlng.lat,pe=this._map,_e=pe.options.crs;if(_e.distance===j.distance){var Ee=Math.PI/180,Ie=this._mRadius/j.R/Ee,Ge=pe.project([ae+Ie,K]),it=pe.project([ae-Ie,K]),lt=Ge.add(it).divideBy(2),_t=pe.unproject(lt).lat,Rt=Math.acos((Math.cos(Ie*Ee)-Math.sin(ae*Ee)*Math.sin(_t*Ee))/(Math.cos(ae*Ee)*Math.cos(_t*Ee)))/Ee;(isNaN(Rt)||Rt===0)&&(Rt=Ie/Math.cos(Math.PI/180*ae)),this._point=lt.subtract(pe.getPixelOrigin()),this._radius=isNaN(Rt)?0:lt.x-pe.project([_t,K-Rt]).x,this._radiusY=lt.y-Ge.y}else{var nn=_e.unproject(_e.project(this._latlng).subtract([this._mRadius,0]));this._point=pe.latLngToLayerPoint(this._latlng),this._radius=this._point.x-pe.latLngToLayerPoint(nn).x}this._updateBounds()}});function bc(K,ae,pe){return new jf(K,ae,pe)}var Ba=yc.extend({options:{smoothFactor:1,noClip:!1},initialize:function(K,ae){x(this,ae),this._setLatLngs(K)},getLatLngs:function(){return this._latlngs},setLatLngs:function(K){return this._setLatLngs(K),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(K){for(var ae=1/0,pe=null,_e=Wh,Ee,Ie,Ge=0,it=this._parts.length;Ge<it;Ge++)for(var lt=this._parts[Ge],_t=1,Rt=lt.length;_t<Rt;_t++){Ee=lt[_t-1],Ie=lt[_t];var nn=_e(K,Ee,Ie,!0);nn<ae&&(ae=nn,pe=_e(K,Ee,Ie))}return pe&&(pe.distance=Math.sqrt(ae)),pe},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return Pf(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(K,ae){return ae=ae||this._defaultShape(),K=_(K),ae.push(K),this._bounds.extend(K),this.redraw()},_setLatLngs:function(K){this._bounds=new v,this._latlngs=this._convertLatLngs(K)},_defaultShape:function(){return da(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(K){for(var ae=[],pe=da(K),_e=0,Ee=K.length;_e<Ee;_e++)pe?(ae[_e]=_(K[_e]),this._bounds.extend(ae[_e])):ae[_e]=this._convertLatLngs(K[_e]);return ae},_project:function(){var K=new E;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,K),this._bounds.isValid()&&K.isValid()&&(this._rawPxBounds=K,this._updateBounds())},_updateBounds:function(){var K=this._clickTolerance(),ae=new V(K,K);this._rawPxBounds&&(this._pxBounds=new E([this._rawPxBounds.min.subtract(ae),this._rawPxBounds.max.add(ae)]))},_projectLatlngs:function(K,ae,pe){var _e=K[0]instanceof S,Ee=K.length,Ie,Ge;if(_e){for(Ge=[],Ie=0;Ie<Ee;Ie++)Ge[Ie]=this._map.latLngToLayerPoint(K[Ie]),pe.extend(Ge[Ie]);ae.push(Ge)}else for(Ie=0;Ie<Ee;Ie++)this._projectLatlngs(K[Ie],ae,pe)},_clipPoints:function(){var K=this._renderer._bounds;if(this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(K))){if(this.options.noClip){this._parts=this._rings;return}var ae=this._parts,pe,_e,Ee,Ie,Ge,it,lt;for(pe=0,Ee=0,Ie=this._rings.length;pe<Ie;pe++)for(lt=this._rings[pe],_e=0,Ge=lt.length;_e<Ge-1;_e++)it=w1(lt[_e],lt[_e+1],K,_e,!0),it&&(ae[Ee]=ae[Ee]||[],ae[Ee].push(it[0]),(it[1]!==lt[_e+1]||_e===Ge-2)&&(ae[Ee].push(it[1]),Ee++))}},_simplifyPoints:function(){for(var K=this._parts,ae=this.options.smoothFactor,pe=0,_e=K.length;pe<_e;pe++)K[pe]=jr(K[pe],ae)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(K,ae){var pe,_e,Ee,Ie,Ge,it,lt=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(K))return!1;for(pe=0,Ie=this._parts.length;pe<Ie;pe++)for(it=this._parts[pe],_e=0,Ge=it.length,Ee=Ge-1;_e<Ge;Ee=_e++)if(!(!ae&&_e===0)&&Bl(K,it[Ee],it[_e])<=lt)return!0;return!1}});function pM(K,ae){return new Ba(K,ae)}Ba._flat=Cv;var yd=Ba.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return zl(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(K){var ae=Ba.prototype._convertLatLngs.call(this,K),pe=ae.length;return pe>=2&&ae[0]instanceof S&&ae[0].equals(ae[pe-1])&&ae.pop(),ae},_setLatLngs:function(K){Ba.prototype._setLatLngs.call(this,K),da(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return da(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var K=this._renderer._bounds,ae=this.options.weight,pe=new V(ae,ae);if(K=new E(K.min.subtract(pe),K.max.add(pe)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(K))){if(this.options.noClip){this._parts=this._rings;return}for(var _e=0,Ee=this._rings.length,Ie;_e<Ee;_e++)Ie=wv(this._rings[_e],K,!0),Ie.length&&this._parts.push(Ie)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(K){var ae=!1,pe,_e,Ee,Ie,Ge,it,lt,_t;if(!this._pxBounds||!this._pxBounds.contains(K))return!1;for(Ie=0,lt=this._parts.length;Ie<lt;Ie++)for(pe=this._parts[Ie],Ge=0,_t=pe.length,it=_t-1;Ge<_t;it=Ge++)_e=pe[Ge],Ee=pe[it],_e.y>K.y!=Ee.y>K.y&&K.x<(Ee.x-_e.x)*(K.y-_e.y)/(Ee.y-_e.y)+_e.x&&(ae=!ae);return ae||Ba.prototype._containsPoint.call(this,K,!0)}});function fM(K,ae){return new yd(K,ae)}var Wo=qs.extend({initialize:function(K,ae){x(this,ae),this._layers={},K&&this.addData(K)},addData:function(K){var ae=$(K)?K:K.features,pe,_e,Ee;if(ae){for(pe=0,_e=ae.length;pe<_e;pe++)Ee=ae[pe],(Ee.geometries||Ee.geometry||Ee.features||Ee.coordinates)&&this.addData(Ee);return this}var Ie=this.options;if(Ie.filter&&!Ie.filter(K))return this;var Ge=Ho(K,Ie);return Ge?(Ge.feature=Fl(K),Ge.defaultOptions=Ge.options,this.resetStyle(Ge),Ie.onEachFeature&&Ie.onEachFeature(K,Ge),this.addLayer(Ge)):this},resetStyle:function(K){return K===void 0?this.eachLayer(this.resetStyle,this):(K.options=i({},K.defaultOptions),this._setLayerStyle(K,this.options.style),this)},setStyle:function(K){return this.eachLayer(function(ae){this._setLayerStyle(ae,K)},this)},_setLayerStyle:function(K,ae){K.setStyle&&(typeof ae=="function"&&(ae=ae(K.feature)),K.setStyle(ae))}});function Ho(K,ae){var pe=K.type==="Feature"?K.geometry:K,_e=pe?pe.coordinates:null,Ee=[],Ie=ae&&ae.pointToLayer,Ge=ae&&ae.coordsToLatLng||Pv,it,lt,_t,Rt;if(!_e&&!pe)return null;switch(pe.type){case"Point":return it=Ge(_e),Ov(Ie,K,it,ae);case"MultiPoint":for(_t=0,Rt=_e.length;_t<Rt;_t++)it=Ge(_e[_t]),Ee.push(Ov(Ie,K,it,ae));return new qs(Ee);case"LineString":case"MultiLineString":return lt=If(_e,pe.type==="LineString"?0:1,Ge),new Ba(lt,ae);case"Polygon":case"MultiPolygon":return lt=If(_e,pe.type==="Polygon"?1:2,Ge),new yd(lt,ae);case"GeometryCollection":for(_t=0,Rt=pe.geometries.length;_t<Rt;_t++){var nn=Ho({geometry:pe.geometries[_t],type:"Feature",properties:K.properties},ae);nn&&Ee.push(nn)}return new qs(Ee);case"FeatureCollection":for(_t=0,Rt=pe.features.length;_t<Rt;_t++){var Mn=Ho(pe.features[_t],ae);Mn&&Ee.push(Mn)}return new qs(Ee);default:throw new Error("Invalid GeoJSON object.")}}function Ov(K,ae,pe,_e){return K?K(ae,pe):new Lf(pe,_e&&_e.markersInheritOptions&&_e)}function Pv(K){return new S(K[1],K[0],K[2])}function If(K,ae,pe){for(var _e=[],Ee=0,Ie=K.length,Ge;Ee<Ie;Ee++)Ge=ae?If(K[Ee],ae-1,pe):(pe||Pv)(K[Ee]),_e.push(Ge);return _e}function Dv(K,ae){return K=_(K),K.alt!==void 0?[u(K.lng,ae),u(K.lat,ae),u(K.alt,ae)]:[u(K.lng,ae),u(K.lat,ae)]}function Rf(K,ae,pe,_e){for(var Ee=[],Ie=0,Ge=K.length;Ie<Ge;Ie++)Ee.push(ae?Rf(K[Ie],da(K[Ie])?0:ae-1,pe,_e):Dv(K[Ie],_e));return!ae&&pe&&Ee.length>0&&Ee.push(Ee[0].slice()),Ee}function bd(K,ae){return K.feature?i({},K.feature,{geometry:ae}):Fl(ae)}function Fl(K){return K.type==="Feature"||K.type==="FeatureCollection"?K:{type:"Feature",properties:{},geometry:K}}var Ze={toGeoJSON:function(K){return bd(this,{type:"Point",coordinates:Dv(this.getLatLng(),K)})}};Lf.include(Ze),jf.include(Ze),Nf.include(Ze),Ba.include({toGeoJSON:function(K){var ae=!da(this._latlngs),pe=Rf(this._latlngs,ae?1:0,!1,K);return bd(this,{type:(ae?"Multi":"")+"LineString",coordinates:pe})}}),yd.include({toGeoJSON:function(K){var ae=!da(this._latlngs),pe=ae&&!da(this._latlngs[0]),_e=Rf(this._latlngs,pe?2:ae?1:0,!0,K);return ae||(_e=[_e]),bd(this,{type:(pe?"Multi":"")+"Polygon",coordinates:_e})}}),vc.include({toMultiPoint:function(K){var ae=[];return this.eachLayer(function(pe){ae.push(pe.toGeoJSON(K).geometry.coordinates)}),bd(this,{type:"MultiPoint",coordinates:ae})},toGeoJSON:function(K){var ae=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(ae==="MultiPoint")return this.toMultiPoint(K);var pe=ae==="GeometryCollection",_e=[];return this.eachLayer(function(Ee){if(Ee.toGeoJSON){var Ie=Ee.toGeoJSON(K);if(pe)_e.push(Ie.geometry);else{var Ge=Fl(Ie);Ge.type==="FeatureCollection"?_e.push.apply(_e,Ge.features):_e.push(Ge)}}}),pe?bd(this,{geometries:_e,type:"GeometryCollection"}):{type:"FeatureCollection",features:_e}}});function ft(K,ae){return new Wo(K,ae)}var ct=ft,Bt=Gr.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(K,ae,pe){this._url=K,this._bounds=k(ae),x(this,pe)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(pn(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){$n(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(K){return this.options.opacity=K,this._image&&this._updateOpacity(),this},setStyle:function(K){return K.opacity&&this.setOpacity(K.opacity),this},bringToFront:function(){return this._map&&aa(this._image),this},bringToBack:function(){return this._map&&yo(this._image),this},setUrl:function(K){return this._url=K,this._image&&(this._image.src=K),this},setBounds:function(K){return this._bounds=k(K),this._map&&this._reset(),this},getEvents:function(){var K={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(K.zoomanim=this._animateZoom),K},setZIndex:function(K){return this.options.zIndex=K,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var K=this._url.tagName==="IMG",ae=this._image=K?this._url:Nn("img");if(pn(ae,"leaflet-image-layer"),this._zoomAnimated&&pn(ae,"leaflet-zoom-animated"),this.options.className&&pn(ae,this.options.className),ae.onselectstart=b,ae.onmousemove=b,ae.onload=a(this.fire,this,"load"),ae.onerror=a(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(ae.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),K){this._url=ae.src;return}ae.src=this._url,ae.alt=this.options.alt},_animateZoom:function(K){var ae=this._map.getZoomScale(K.zoom),pe=this._map._latLngBoundsToNewLayerBounds(this._bounds,K.zoom,K.center).min;Na(this._image,pe,ae)},_reset:function(){var K=this._image,ae=new E(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),pe=ae.getSize();Lr(K,ae.min),K.style.width=pe.x+"px",K.style.height=pe.y+"px"},_updateOpacity:function(){no(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var K=this.options.errorOverlayUrl;K&&this._url!==K&&(this._url=K,this._image.src=K)},getCenter:function(){return this._bounds.getCenter()}}),fn=function(K,ae,pe){return new Bt(K,ae,pe)},Qn=Bt.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var K=this._url.tagName==="VIDEO",ae=this._image=K?this._url:Nn("video");if(pn(ae,"leaflet-image-layer"),this._zoomAnimated&&pn(ae,"leaflet-zoom-animated"),this.options.className&&pn(ae,this.options.className),ae.onselectstart=b,ae.onmousemove=b,ae.onloadeddata=a(this.fire,this,"load"),K){for(var pe=ae.getElementsByTagName("source"),_e=[],Ee=0;Ee<pe.length;Ee++)_e.push(pe[Ee].src);this._url=pe.length>0?_e:[ae.src];return}$(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(ae.style,"objectFit")&&(ae.style.objectFit="fill"),ae.autoplay=!!this.options.autoplay,ae.loop=!!this.options.loop,ae.muted=!!this.options.muted,ae.playsInline=!!this.options.playsInline;for(var Ie=0;Ie<this._url.length;Ie++){var Ge=Nn("source");Ge.src=this._url[Ie],ae.appendChild(Ge)}}});function Ii(K,ae,pe){return new Qn(K,ae,pe)}var gr=Bt.extend({_initImage:function(){var K=this._image=this._url;pn(K,"leaflet-image-layer"),this._zoomAnimated&&pn(K,"leaflet-zoom-animated"),this.options.className&&pn(K,this.options.className),K.onselectstart=b,K.onmousemove=b}});function Lv(K,ae,pe){return new gr(K,ae,pe)}var Xs=Gr.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(K,ae){K&&(K instanceof S||$(K))?(this._latlng=_(K),x(this,ae)):(x(this,K),this._source=ae),this.options.content&&(this._content=this.options.content)},openOn:function(K){return K=arguments.length?K:this._source._map,K.hasLayer(this)||K.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(K){return this._map?this.close():(arguments.length?this._source=K:K=this._source,this._prepareOpen(),this.openOn(K._map)),this},onAdd:function(K){this._zoomAnimated=K._zoomAnimated,this._container||this._initLayout(),K._fadeAnimated&&no(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),K._fadeAnimated&&no(this._container,1),this.bringToFront(),this.options.interactive&&(pn(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(K){K._fadeAnimated?(no(this._container,0),this._removeTimeout=setTimeout(a($n,void 0,this._container),200)):$n(this._container),this.options.interactive&&(fr(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(K){return this._latlng=_(K),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(K){return this._content=K,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var K={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(K.zoomanim=this._animateZoom),K},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&aa(this._container),this},bringToBack:function(){return this._map&&yo(this._container),this},_prepareOpen:function(K){var ae=this._source;if(!ae._map)return!1;if(ae instanceof qs){ae=null;var pe=this._source._layers;for(var _e in pe)if(pe[_e]._map){ae=pe[_e];break}if(!ae)return!1;this._source=ae}if(!K)if(ae.getCenter)K=ae.getCenter();else if(ae.getLatLng)K=ae.getLatLng();else if(ae.getBounds)K=ae.getBounds().getCenter();else throw new Error("Unable to get source layer LatLng.");return this.setLatLng(K),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var K=this._contentNode,ae=typeof this._content=="function"?this._content(this._source||this):this._content;if(typeof ae=="string")K.innerHTML=ae;else{for(;K.hasChildNodes();)K.removeChild(K.firstChild);K.appendChild(ae)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var K=this._map.latLngToLayerPoint(this._latlng),ae=I(this.options.offset),pe=this._getAnchor();this._zoomAnimated?Lr(this._container,K.add(pe)):ae=ae.add(K).add(pe);var _e=this._containerBottom=-ae.y,Ee=this._containerLeft=-Math.round(this._containerWidth/2)+ae.x;this._container.style.bottom=_e+"px",this._container.style.left=Ee+"px"}},_getAnchor:function(){return[0,0]}});Vn.include({_initOverlay:function(K,ae,pe,_e){var Ee=ae;return Ee instanceof K||(Ee=new K(_e).setContent(ae)),pe&&Ee.setLatLng(pe),Ee}}),Gr.include({_initOverlay:function(K,ae,pe,_e){var Ee=pe;return Ee instanceof K?(x(Ee,_e),Ee._source=this):(Ee=ae&&!_e?ae:new K(_e,this),Ee.setContent(pe)),Ee}});var bo=Xs.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(K){return K=arguments.length?K:this._source._map,!K.hasLayer(this)&&K._popup&&K._popup.options.autoClose&&K.removeLayer(K._popup),K._popup=this,Xs.prototype.openOn.call(this,K)},onAdd:function(K){Xs.prototype.onAdd.call(this,K),K.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof yc||this._source.on("preclick",za))},onRemove:function(K){Xs.prototype.onRemove.call(this,K),K.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof yc||this._source.off("preclick",za))},getEvents:function(){var K=Xs.prototype.getEvents.call(this);return(this.options.closeOnClick!==void 0?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(K.preclick=this.close),this.options.keepInView&&(K.moveend=this._adjustPan),K},_initLayout:function(){var K="leaflet-popup",ae=this._container=Nn("div",K+" "+(this.options.className||"")+" leaflet-zoom-animated"),pe=this._wrapper=Nn("div",K+"-content-wrapper",ae);if(this._contentNode=Nn("div",K+"-content",pe),gc(ae),_u(this._contentNode),cn(ae,"contextmenu",za),this._tipContainer=Nn("div",K+"-tip-container",ae),this._tip=Nn("div",K+"-tip",this._tipContainer),this.options.closeButton){var _e=this._closeButton=Nn("a",K+"-close-button",ae);_e.setAttribute("role","button"),_e.setAttribute("aria-label","Close popup"),_e.href="#close",_e.innerHTML='<span aria-hidden="true">&#215;</span>',cn(_e,"click",function(Ee){un(Ee),this.close()},this)}},_updateLayout:function(){var K=this._contentNode,ae=K.style;ae.width="",ae.whiteSpace="nowrap";var pe=K.offsetWidth;pe=Math.min(pe,this.options.maxWidth),pe=Math.max(pe,this.options.minWidth),ae.width=pe+1+"px",ae.whiteSpace="",ae.height="";var _e=K.offsetHeight,Ee=this.options.maxHeight,Ie="leaflet-popup-scrolled";Ee&&_e>Ee?(ae.height=Ee+"px",pn(K,Ie)):fr(K,Ie),this._containerWidth=this._container.offsetWidth},_animateZoom:function(K){var ae=this._map._latLngToNewLayerPoint(this._latlng,K.zoom,K.center),pe=this._getAnchor();Lr(this._container,ae.add(pe))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var K=this._map,ae=parseInt(ds(this._container,"marginBottom"),10)||0,pe=this._container.offsetHeight+ae,_e=this._containerWidth,Ee=new V(this._containerLeft,-pe-this._containerBottom);Ee._add(la(this._container));var Ie=K.layerPointToContainerPoint(Ee),Ge=I(this.options.autoPanPadding),it=I(this.options.autoPanPaddingTopLeft||Ge),lt=I(this.options.autoPanPaddingBottomRight||Ge),_t=K.getSize(),Rt=0,nn=0;Ie.x+_e+lt.x>_t.x&&(Rt=Ie.x+_e-_t.x+lt.x),Ie.x-Rt-it.x<0&&(Rt=Ie.x-it.x),Ie.y+pe+lt.y>_t.y&&(nn=Ie.y+pe-_t.y+lt.y),Ie.y-nn-it.y<0&&(nn=Ie.y-it.y),(Rt||nn)&&(this.options.keepInView&&(this._autopanning=!0),K.fire("autopanstart").panBy([Rt,nn]))}},_getAnchor:function(){return I(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),zf=function(K,ae){return new bo(K,ae)};Vn.mergeOptions({closePopupOnClick:!0}),Vn.include({openPopup:function(K,ae,pe){return this._initOverlay(bo,K,ae,pe).openOn(this),this},closePopup:function(K){return K=arguments.length?K:this._popup,K&&K.close(),this}}),Gr.include({bindPopup:function(K,ae){return this._popup=this._initOverlay(bo,this._popup,K,ae),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(K){return this._popup&&(this instanceof qs||(this._popup._source=this),this._popup._prepareOpen(K||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(K){return this._popup&&this._popup.setContent(K),this},getPopup:function(){return this._popup},_openPopup:function(K){if(!(!this._popup||!this._map)){Kn(K);var ae=K.layer||K.target;if(this._popup._source===ae&&!(ae instanceof yc)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(K.latlng);return}this._popup._source=ae,this.openPopup(K.latlng)}},_movePopup:function(K){this._popup.setLatLng(K.latlng)},_onKeyPress:function(K){K.originalEvent.keyCode===13&&this._openPopup(K)}});var Bf=Xs.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(K){Xs.prototype.onAdd.call(this,K),this.setOpacity(this.options.opacity),K.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(K){Xs.prototype.onRemove.call(this,K),K.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var K=Xs.prototype.getEvents.call(this);return this.options.permanent||(K.preclick=this.close),K},_initLayout:function(){var K="leaflet-tooltip",ae=K+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=Nn("div",ae),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+c(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(K){var ae,pe,_e=this._map,Ee=this._container,Ie=_e.latLngToContainerPoint(_e.getCenter()),Ge=_e.layerPointToContainerPoint(K),it=this.options.direction,lt=Ee.offsetWidth,_t=Ee.offsetHeight,Rt=I(this.options.offset),nn=this._getAnchor();it==="top"?(ae=lt/2,pe=_t):it==="bottom"?(ae=lt/2,pe=0):it==="center"?(ae=lt/2,pe=_t/2):it==="right"?(ae=0,pe=_t/2):it==="left"?(ae=lt,pe=_t/2):Ge.x<Ie.x?(it="right",ae=0,pe=_t/2):(it="left",ae=lt+(Rt.x+nn.x)*2,pe=_t/2),K=K.subtract(I(ae,pe,!0)).add(Rt).add(nn),fr(Ee,"leaflet-tooltip-right"),fr(Ee,"leaflet-tooltip-left"),fr(Ee,"leaflet-tooltip-top"),fr(Ee,"leaflet-tooltip-bottom"),pn(Ee,"leaflet-tooltip-"+it),Lr(Ee,K)},_updatePosition:function(){var K=this._map.latLngToLayerPoint(this._latlng);this._setPosition(K)},setOpacity:function(K){this.options.opacity=K,this._container&&no(this._container,K)},_animateZoom:function(K){var ae=this._map._latLngToNewLayerPoint(this._latlng,K.zoom,K.center);this._setPosition(ae)},_getAnchor:function(){return I(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),xd=function(K,ae){return new Bf(K,ae)};Vn.include({openTooltip:function(K,ae,pe){return this._initOverlay(Bf,K,ae,pe).openOn(this),this},closeTooltip:function(K){return K.close(),this}}),Gr.include({bindTooltip:function(K,ae){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Bf,this._tooltip,K,ae),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(K){if(!(!K&&this._tooltipHandlersAdded)){var ae=K?"off":"on",pe={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?pe.add=this._openTooltip:(pe.mouseover=this._openTooltip,pe.mouseout=this.closeTooltip,pe.click=this._openTooltip,this._map?this._addFocusListeners():pe.add=this._addFocusListeners),this._tooltip.options.sticky&&(pe.mousemove=this._moveTooltip),this[ae](pe),this._tooltipHandlersAdded=!K}},openTooltip:function(K){return this._tooltip&&(this instanceof qs||(this._tooltip._source=this),this._tooltip._prepareOpen(K)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(K){return this._tooltip&&this._tooltip.setContent(K),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(K){var ae=typeof K.getElement=="function"&&K.getElement();ae&&(cn(ae,"focus",function(){this._tooltip._source=K,this.openTooltip()},this),cn(ae,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(K){var ae=typeof K.getElement=="function"&&K.getElement();ae&&ae.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(K){if(!(!this._tooltip||!this._map)){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var ae=this;this._map.once("moveend",function(){ae._openOnceFlag=!1,ae._openTooltip(K)});return}this._tooltip._source=K.layer||K.target,this.openTooltip(this._tooltip.options.sticky?K.latlng:void 0)}},_moveTooltip:function(K){var ae=K.latlng,pe,_e;this._tooltip.options.sticky&&K.originalEvent&&(pe=this._map.mouseEventToContainerPoint(K.originalEvent),_e=this._map.containerPointToLayerPoint(pe),ae=this._map.layerPointToLatLng(_e)),this._tooltip.setLatLng(ae)}});var Vh=md.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(K){var ae=K&&K.tagName==="DIV"?K:document.createElement("div"),pe=this.options;if(pe.html instanceof Element?(oa(ae),ae.appendChild(pe.html)):ae.innerHTML=pe.html!==!1?pe.html:"",pe.bgPos){var _e=I(pe.bgPos);ae.style.backgroundPosition=-_e.x+"px "+-_e.y+"px"}return this._setIconStyles(ae,"icon"),ae},createShadow:function(){return null}});function Ff(K){return new Vh(K)}md.Default=Uh;var qn=Gr.extend({options:{tileSize:256,opacity:1,updateWhenIdle:At.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(K){x(this,K)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(K){K._addZoomLimit(this)},onRemove:function(K){this._removeAllTiles(),$n(this._container),K._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(aa(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(yo(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(K){return this.options.opacity=K,this._updateOpacity(),this},setZIndex:function(K){return this.options.zIndex=K,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var K=this._clampZoom(this._map.getZoom());K!==this._tileZoom&&(this._tileZoom=K,this._updateLevels()),this._update()}return this},getEvents:function(){var K={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=l(this._onMoveEnd,this.options.updateInterval,this)),K.move=this._onMove),this._zoomAnimated&&(K.zoomanim=this._animateZoom),K},createTile:function(){return document.createElement("div")},getTileSize:function(){var K=this.options.tileSize;return K instanceof V?K:new V(K,K)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(K){for(var ae=this.getPane().children,pe=-K(-1/0,1/0),_e=0,Ee=ae.length,Ie;_e<Ee;_e++)Ie=ae[_e].style.zIndex,ae[_e]!==this._container&&Ie&&(pe=K(pe,+Ie));isFinite(pe)&&(this.options.zIndex=pe+K(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!At.ielt9){no(this._container,this.options.opacity);var K=+new Date,ae=!1,pe=!1;for(var _e in this._tiles){var Ee=this._tiles[_e];if(!(!Ee.current||!Ee.loaded)){var Ie=Math.min(1,(K-Ee.loaded)/200);no(Ee.el,Ie),Ie<1?ae=!0:(Ee.active?pe=!0:this._onOpaqueTile(Ee),Ee.active=!0)}}pe&&!this._noPrune&&this._pruneTiles(),ae&&(m(this._fadeFrame),this._fadeFrame=h(this._updateOpacity,this))}},_onOpaqueTile:b,_initContainer:function(){this._container||(this._container=Nn("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var K=this._tileZoom,ae=this.options.maxZoom;if(K!==void 0){for(var pe in this._levels)pe=Number(pe),this._levels[pe].el.children.length||pe===K?(this._levels[pe].el.style.zIndex=ae-Math.abs(K-pe),this._onUpdateLevel(pe)):($n(this._levels[pe].el),this._removeTilesAtZoom(pe),this._onRemoveLevel(pe),delete this._levels[pe]);var _e=this._levels[K],Ee=this._map;return _e||(_e=this._levels[K]={},_e.el=Nn("div","leaflet-tile-container leaflet-zoom-animated",this._container),_e.el.style.zIndex=ae,_e.origin=Ee.project(Ee.unproject(Ee.getPixelOrigin()),K).round(),_e.zoom=K,this._setZoomTransform(_e,Ee.getCenter(),Ee.getZoom()),this._onCreateLevel(_e)),this._level=_e,_e}},_onUpdateLevel:b,_onRemoveLevel:b,_onCreateLevel:b,_pruneTiles:function(){if(this._map){var K,ae,pe=this._map.getZoom();if(pe>this.options.maxZoom||pe<this.options.minZoom){this._removeAllTiles();return}for(K in this._tiles)ae=this._tiles[K],ae.retain=ae.current;for(K in this._tiles)if(ae=this._tiles[K],ae.current&&!ae.active){var _e=ae.coords;this._retainParent(_e.x,_e.y,_e.z,_e.z-5)||this._retainChildren(_e.x,_e.y,_e.z,_e.z+2)}for(K in this._tiles)this._tiles[K].retain||this._removeTile(K)}},_removeTilesAtZoom:function(K){for(var ae in this._tiles)this._tiles[ae].coords.z===K&&this._removeTile(ae)},_removeAllTiles:function(){for(var K in this._tiles)this._removeTile(K)},_invalidateAll:function(){for(var K in this._levels)$n(this._levels[K].el),this._onRemoveLevel(Number(K)),delete this._levels[K];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(K,ae,pe,_e){var Ee=Math.floor(K/2),Ie=Math.floor(ae/2),Ge=pe-1,it=new V(+Ee,+Ie);it.z=+Ge;var lt=this._tileCoordsToKey(it),_t=this._tiles[lt];return _t&&_t.active?(_t.retain=!0,!0):(_t&&_t.loaded&&(_t.retain=!0),Ge>_e?this._retainParent(Ee,Ie,Ge,_e):!1)},_retainChildren:function(K,ae,pe,_e){for(var Ee=2*K;Ee<2*K+2;Ee++)for(var Ie=2*ae;Ie<2*ae+2;Ie++){var Ge=new V(Ee,Ie);Ge.z=pe+1;var it=this._tileCoordsToKey(Ge),lt=this._tiles[it];if(lt&&lt.active){lt.retain=!0;continue}else lt&&lt.loaded&&(lt.retain=!0);pe+1<_e&&this._retainChildren(Ee,Ie,pe+1,_e)}},_resetView:function(K){var ae=K&&(K.pinch||K.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),ae,ae)},_animateZoom:function(K){this._setView(K.center,K.zoom,!0,K.noUpdate)},_clampZoom:function(K){var ae=this.options;return ae.minNativeZoom!==void 0&&K<ae.minNativeZoom?ae.minNativeZoom:ae.maxNativeZoom!==void 0&&ae.maxNativeZoom<K?ae.maxNativeZoom:K},_setView:function(K,ae,pe,_e){var Ee=Math.round(ae);this.options.maxZoom!==void 0&&Ee>this.options.maxZoom||this.options.minZoom!==void 0&&Ee<this.options.minZoom?Ee=void 0:Ee=this._clampZoom(Ee);var Ie=this.options.updateWhenZooming&&Ee!==this._tileZoom;(!_e||Ie)&&(this._tileZoom=Ee,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),Ee!==void 0&&this._update(K),pe||this._pruneTiles(),this._noPrune=!!pe),this._setZoomTransforms(K,ae)},_setZoomTransforms:function(K,ae){for(var pe in this._levels)this._setZoomTransform(this._levels[pe],K,ae)},_setZoomTransform:function(K,ae,pe){var _e=this._map.getZoomScale(pe,K.zoom),Ee=K.origin.multiplyBy(_e).subtract(this._map._getNewPixelOrigin(ae,pe)).round();At.any3d?Na(K.el,Ee,_e):Lr(K.el,Ee)},_resetGrid:function(){var K=this._map,ae=K.options.crs,pe=this._tileSize=this.getTileSize(),_e=this._tileZoom,Ee=this._map.getPixelWorldBounds(this._tileZoom);Ee&&(this._globalTileRange=this._pxBoundsToTileRange(Ee)),this._wrapX=ae.wrapLng&&!this.options.noWrap&&[Math.floor(K.project([0,ae.wrapLng[0]],_e).x/pe.x),Math.ceil(K.project([0,ae.wrapLng[1]],_e).x/pe.y)],this._wrapY=ae.wrapLat&&!this.options.noWrap&&[Math.floor(K.project([ae.wrapLat[0],0],_e).y/pe.x),Math.ceil(K.project([ae.wrapLat[1],0],_e).y/pe.y)]},_onMoveEnd:function(){!this._map||this._map._animatingZoom||this._update()},_getTiledPixelBounds:function(K){var ae=this._map,pe=ae._animatingZoom?Math.max(ae._animateToZoom,ae.getZoom()):ae.getZoom(),_e=ae.getZoomScale(pe,this._tileZoom),Ee=ae.project(K,this._tileZoom).floor(),Ie=ae.getSize().divideBy(_e*2);return new E(Ee.subtract(Ie),Ee.add(Ie))},_update:function(K){var ae=this._map;if(ae){var pe=this._clampZoom(ae.getZoom());if(K===void 0&&(K=ae.getCenter()),this._tileZoom!==void 0){var _e=this._getTiledPixelBounds(K),Ee=this._pxBoundsToTileRange(_e),Ie=Ee.getCenter(),Ge=[],it=this.options.keepBuffer,lt=new E(Ee.getBottomLeft().subtract([it,-it]),Ee.getTopRight().add([it,-it]));if(!(isFinite(Ee.min.x)&&isFinite(Ee.min.y)&&isFinite(Ee.max.x)&&isFinite(Ee.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var _t in this._tiles){var Rt=this._tiles[_t].coords;(Rt.z!==this._tileZoom||!lt.contains(new V(Rt.x,Rt.y)))&&(this._tiles[_t].current=!1)}if(Math.abs(pe-this._tileZoom)>1){this._setView(K,pe);return}for(var nn=Ee.min.y;nn<=Ee.max.y;nn++)for(var Mn=Ee.min.x;Mn<=Ee.max.x;Mn++){var Mi=new V(Mn,nn);if(Mi.z=this._tileZoom,!!this._isValidTile(Mi)){var ai=this._tiles[this._tileCoordsToKey(Mi)];ai?ai.current=!0:Ge.push(Mi)}}if(Ge.sort(function(io,gs){return io.distanceTo(Ie)-gs.distanceTo(Ie)}),Ge.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var ho=document.createDocumentFragment();for(Mn=0;Mn<Ge.length;Mn++)this._addTile(Ge[Mn],ho);this._level.el.appendChild(ho)}}}},_isValidTile:function(K){var ae=this._map.options.crs;if(!ae.infinite){var pe=this._globalTileRange;if(!ae.wrapLng&&(K.x<pe.min.x||K.x>pe.max.x)||!ae.wrapLat&&(K.y<pe.min.y||K.y>pe.max.y))return!1}if(!this.options.bounds)return!0;var _e=this._tileCoordsToBounds(K);return k(this.options.bounds).overlaps(_e)},_keyToBounds:function(K){return this._tileCoordsToBounds(this._keyToTileCoords(K))},_tileCoordsToNwSe:function(K){var ae=this._map,pe=this.getTileSize(),_e=K.scaleBy(pe),Ee=_e.add(pe),Ie=ae.unproject(_e,K.z),Ge=ae.unproject(Ee,K.z);return[Ie,Ge]},_tileCoordsToBounds:function(K){var ae=this._tileCoordsToNwSe(K),pe=new v(ae[0],ae[1]);return this.options.noWrap||(pe=this._map.wrapLatLngBounds(pe)),pe},_tileCoordsToKey:function(K){return K.x+":"+K.y+":"+K.z},_keyToTileCoords:function(K){var ae=K.split(":"),pe=new V(+ae[0],+ae[1]);return pe.z=+ae[2],pe},_removeTile:function(K){var ae=this._tiles[K];ae&&($n(ae.el),delete this._tiles[K],this.fire("tileunload",{tile:ae.el,coords:this._keyToTileCoords(K)}))},_initTile:function(K){pn(K,"leaflet-tile");var ae=this.getTileSize();K.style.width=ae.x+"px",K.style.height=ae.y+"px",K.onselectstart=b,K.onmousemove=b,At.ielt9&&this.options.opacity<1&&no(K,this.options.opacity)},_addTile:function(K,ae){var pe=this._getTilePos(K),_e=this._tileCoordsToKey(K),Ee=this.createTile(this._wrapCoords(K),a(this._tileReady,this,K));this._initTile(Ee),this.createTile.length<2&&h(a(this._tileReady,this,K,null,Ee)),Lr(Ee,pe),this._tiles[_e]={el:Ee,coords:K,current:!0},ae.appendChild(Ee),this.fire("tileloadstart",{tile:Ee,coords:K})},_tileReady:function(K,ae,pe){ae&&this.fire("tileerror",{error:ae,tile:pe,coords:K});var _e=this._tileCoordsToKey(K);pe=this._tiles[_e],pe&&(pe.loaded=+new Date,this._map._fadeAnimated?(no(pe.el,0),m(this._fadeFrame),this._fadeFrame=h(this._updateOpacity,this)):(pe.active=!0,this._pruneTiles()),ae||(pn(pe.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:pe.el,coords:K})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),At.ielt9||!this._map._fadeAnimated?h(this._pruneTiles,this):setTimeout(a(this._pruneTiles,this),250)))},_getTilePos:function(K){return K.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(K){var ae=new V(this._wrapX?g(K.x,this._wrapX):K.x,this._wrapY?g(K.y,this._wrapY):K.y);return ae.z=K.z,ae},_pxBoundsToTileRange:function(K){var ae=this.getTileSize();return new E(K.min.unscaleBy(ae).floor(),K.max.unscaleBy(ae).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var K in this._tiles)if(!this._tiles[K].loaded)return!1;return!0}});function gM(K){return new qn(K)}var Su=qn.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(K,ae){this._url=K,ae=x(this,ae),ae.detectRetina&&At.retina&&ae.maxZoom>0?(ae.tileSize=Math.floor(ae.tileSize/2),ae.zoomReverse?(ae.zoomOffset--,ae.minZoom=Math.min(ae.maxZoom,ae.minZoom+1)):(ae.zoomOffset++,ae.maxZoom=Math.max(ae.minZoom,ae.maxZoom-1)),ae.minZoom=Math.max(0,ae.minZoom)):ae.zoomReverse?ae.minZoom=Math.min(ae.maxZoom,ae.minZoom):ae.maxZoom=Math.max(ae.minZoom,ae.maxZoom),typeof ae.subdomains=="string"&&(ae.subdomains=ae.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(K,ae){return this._url===K&&ae===void 0&&(ae=!0),this._url=K,ae||this.redraw(),this},createTile:function(K,ae){var pe=document.createElement("img");return cn(pe,"load",a(this._tileOnLoad,this,ae,pe)),cn(pe,"error",a(this._tileOnError,this,ae,pe)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(pe.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(pe.referrerPolicy=this.options.referrerPolicy),pe.alt="",pe.src=this.getTileUrl(K),pe},getTileUrl:function(K){var ae={r:At.retina?"@2x":"",s:this._getSubdomain(K),x:K.x,y:K.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var pe=this._globalTileRange.max.y-K.y;this.options.tms&&(ae.y=pe),ae["-y"]=pe}return G(this._url,i(ae,this.options))},_tileOnLoad:function(K,ae){At.ielt9?setTimeout(a(K,this,null,ae),0):K(null,ae)},_tileOnError:function(K,ae,pe){var _e=this.options.errorTileUrl;_e&&ae.getAttribute("src")!==_e&&(ae.src=_e),K(pe,ae)},_onTileRemove:function(K){K.tile.onload=null},_getZoomForUrl:function(){var K=this._tileZoom,ae=this.options.maxZoom,pe=this.options.zoomReverse,_e=this.options.zoomOffset;return pe&&(K=ae-K),K+_e},_getSubdomain:function(K){var ae=Math.abs(K.x+K.y)%this.options.subdomains.length;return this.options.subdomains[ae]},_abortLoading:function(){var K,ae;for(K in this._tiles)if(this._tiles[K].coords.z!==this._tileZoom&&(ae=this._tiles[K].el,ae.onload=b,ae.onerror=b,!ae.complete)){ae.src=B;var pe=this._tiles[K].coords;$n(ae),delete this._tiles[K],this.fire("tileabort",{tile:ae,coords:pe})}},_removeTile:function(K){var ae=this._tiles[K];if(ae)return ae.el.setAttribute("src",B),qn.prototype._removeTile.call(this,K)},_tileReady:function(K,ae,pe){if(!(!this._map||pe&&pe.getAttribute("src")===B))return qn.prototype._tileReady.call(this,K,ae,pe)}});function Yh(K,ae){return new Su(K,ae)}var M1=Su.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(K,ae){this._url=K;var pe=i({},this.defaultWmsParams);for(var _e in ae)_e in this.options||(pe[_e]=ae[_e]);ae=x(this,ae);var Ee=ae.detectRetina&&At.retina?2:1,Ie=this.getTileSize();pe.width=Ie.x*Ee,pe.height=Ie.y*Ee,this.wmsParams=pe},onAdd:function(K){this._crs=this.options.crs||K.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var ae=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[ae]=this._crs.code,Su.prototype.onAdd.call(this,K)},getTileUrl:function(K){var ae=this._tileCoordsToNwSe(K),pe=this._crs,_e=A(pe.project(ae[0]),pe.project(ae[1])),Ee=_e.min,Ie=_e.max,Ge=(this._wmsVersion>=1.3&&this._crs===_1?[Ee.y,Ee.x,Ie.y,Ie.x]:[Ee.x,Ee.y,Ie.x,Ie.y]).join(","),it=Su.prototype.getTileUrl.call(this,K);return it+C(this.wmsParams,it,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+Ge},setParams:function(K,ae){return i(this.wmsParams,K),ae||this.redraw(),this}});function mM(K,ae){return new M1(K,ae)}Su.WMS=M1,Yh.wms=mM;var Wl=Gr.extend({options:{padding:.1},initialize:function(K){x(this,K),c(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),pn(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var K={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(K.zoomanim=this._onAnimZoom),K},_onAnimZoom:function(K){this._updateTransform(K.center,K.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(K,ae){var pe=this._map.getZoomScale(ae,this._zoom),_e=this._map.getSize().multiplyBy(.5+this.options.padding),Ee=this._map.project(this._center,ae),Ie=_e.multiplyBy(-pe).add(Ee).subtract(this._map._getNewPixelOrigin(K,ae));At.any3d?Na(this._container,Ie,pe):Lr(this._container,Ie)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var K in this._layers)this._layers[K]._reset()},_onZoomEnd:function(){for(var K in this._layers)this._layers[K]._project()},_updatePaths:function(){for(var K in this._layers)this._layers[K]._update()},_update:function(){var K=this.options.padding,ae=this._map.getSize(),pe=this._map.containerPointToLayerPoint(ae.multiplyBy(-K)).round();this._bounds=new E(pe,pe.add(ae.multiplyBy(1+K*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Gh=Wl.extend({options:{tolerance:0},getEvents:function(){var K=Wl.prototype.getEvents.call(this);return K.viewprereset=this._onViewPreReset,K},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Wl.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var K=this._container=document.createElement("canvas");cn(K,"mousemove",this._onMouseMove,this),cn(K,"click dblclick mousedown mouseup contextmenu",this._onClick,this),cn(K,"mouseout",this._handleMouseOut,this),K._leaflet_disable_events=!0,this._ctx=K.getContext("2d")},_destroyContainer:function(){m(this._redrawRequest),delete this._ctx,$n(this._container),Mt(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var K;this._redrawBounds=null;for(var ae in this._layers)K=this._layers[ae],K._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Wl.prototype._update.call(this);var K=this._bounds,ae=this._container,pe=K.getSize(),_e=At.retina?2:1;Lr(ae,K.min),ae.width=_e*pe.x,ae.height=_e*pe.y,ae.style.width=pe.x+"px",ae.style.height=pe.y+"px",At.retina&&this._ctx.scale(2,2),this._ctx.translate(-K.min.x,-K.min.y),this.fire("update")}},_reset:function(){Wl.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(K){this._updateDashArray(K),this._layers[c(K)]=K;var ae=K._order={layer:K,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=ae),this._drawLast=ae,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(K){this._requestRedraw(K)},_removePath:function(K){var ae=K._order,pe=ae.next,_e=ae.prev;pe?pe.prev=_e:this._drawLast=_e,_e?_e.next=pe:this._drawFirst=pe,delete K._order,delete this._layers[c(K)],this._requestRedraw(K)},_updatePath:function(K){this._extendRedrawBounds(K),K._project(),K._update(),this._requestRedraw(K)},_updateStyle:function(K){this._updateDashArray(K),this._requestRedraw(K)},_updateDashArray:function(K){if(typeof K.options.dashArray=="string"){var ae=K.options.dashArray.split(/[, ]+/),pe=[],_e,Ee;for(Ee=0;Ee<ae.length;Ee++){if(_e=Number(ae[Ee]),isNaN(_e))return;pe.push(_e)}K.options._dashArray=pe}else K.options._dashArray=K.options.dashArray},_requestRedraw:function(K){this._map&&(this._extendRedrawBounds(K),this._redrawRequest=this._redrawRequest||h(this._redraw,this))},_extendRedrawBounds:function(K){if(K._pxBounds){var ae=(K.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new E,this._redrawBounds.extend(K._pxBounds.min.subtract([ae,ae])),this._redrawBounds.extend(K._pxBounds.max.add([ae,ae]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var K=this._redrawBounds;if(K){var ae=K.getSize();this._ctx.clearRect(K.min.x,K.min.y,ae.x,ae.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var K,ae=this._redrawBounds;if(this._ctx.save(),ae){var pe=ae.getSize();this._ctx.beginPath(),this._ctx.rect(ae.min.x,ae.min.y,pe.x,pe.y),this._ctx.clip()}this._drawing=!0;for(var _e=this._drawFirst;_e;_e=_e.next)K=_e.layer,(!ae||K._pxBounds&&K._pxBounds.intersects(ae))&&K._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(K,ae){if(this._drawing){var pe,_e,Ee,Ie,Ge=K._parts,it=Ge.length,lt=this._ctx;if(it){for(lt.beginPath(),pe=0;pe<it;pe++){for(_e=0,Ee=Ge[pe].length;_e<Ee;_e++)Ie=Ge[pe][_e],lt[_e?"lineTo":"moveTo"](Ie.x,Ie.y);ae&&lt.closePath()}this._fillStroke(lt,K)}}},_updateCircle:function(K){if(!(!this._drawing||K._empty())){var ae=K._point,pe=this._ctx,_e=Math.max(Math.round(K._radius),1),Ee=(Math.max(Math.round(K._radiusY),1)||_e)/_e;Ee!==1&&(pe.save(),pe.scale(1,Ee)),pe.beginPath(),pe.arc(ae.x,ae.y/Ee,_e,0,Math.PI*2,!1),Ee!==1&&pe.restore(),this._fillStroke(pe,K)}},_fillStroke:function(K,ae){var pe=ae.options;pe.fill&&(K.globalAlpha=pe.fillOpacity,K.fillStyle=pe.fillColor||pe.color,K.fill(pe.fillRule||"evenodd")),pe.stroke&&pe.weight!==0&&(K.setLineDash&&K.setLineDash(ae.options&&ae.options._dashArray||[]),K.globalAlpha=pe.opacity,K.lineWidth=pe.weight,K.strokeStyle=pe.color,K.lineCap=pe.lineCap,K.lineJoin=pe.lineJoin,K.stroke())},_onClick:function(K){for(var ae=this._map.mouseEventToLayerPoint(K),pe,_e,Ee=this._drawFirst;Ee;Ee=Ee.next)pe=Ee.layer,pe.options.interactive&&pe._containsPoint(ae)&&(!(K.type==="click"||K.type==="preclick")||!this._map._draggableMoved(pe))&&(_e=pe);this._fireEvent(_e?[_e]:!1,K)},_onMouseMove:function(K){if(!(!this._map||this._map.dragging.moving()||this._map._animatingZoom)){var ae=this._map.mouseEventToLayerPoint(K);this._handleMouseHover(K,ae)}},_handleMouseOut:function(K){var ae=this._hoveredLayer;ae&&(fr(this._container,"leaflet-interactive"),this._fireEvent([ae],K,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(K,ae){if(!this._mouseHoverThrottled){for(var pe,_e,Ee=this._drawFirst;Ee;Ee=Ee.next)pe=Ee.layer,pe.options.interactive&&pe._containsPoint(ae)&&(_e=pe);_e!==this._hoveredLayer&&(this._handleMouseOut(K),_e&&(pn(this._container,"leaflet-interactive"),this._fireEvent([_e],K,"mouseover"),this._hoveredLayer=_e)),this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:!1,K),this._mouseHoverThrottled=!0,setTimeout(a(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(K,ae,pe){this._map._fireDOMEvent(ae,pe||ae.type,K)},_bringToFront:function(K){var ae=K._order;if(ae){var pe=ae.next,_e=ae.prev;if(pe)pe.prev=_e;else return;_e?_e.next=pe:pe&&(this._drawFirst=pe),ae.prev=this._drawLast,this._drawLast.next=ae,ae.next=null,this._drawLast=ae,this._requestRedraw(K)}},_bringToBack:function(K){var ae=K._order;if(ae){var pe=ae.next,_e=ae.prev;if(_e)_e.next=pe;else return;pe?pe.prev=_e:_e&&(this._drawLast=_e),ae.prev=null,ae.next=this._drawFirst,this._drawFirst.prev=ae,this._drawFirst=ae,this._requestRedraw(K)}}});function Hl(K){return At.canvas?new Gh(K):null}var xc=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(K){return document.createElement("<lvml:"+K+' class="lvml">')}}catch{}return function(K){return document.createElement("<"+K+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),T1={_initContainer:function(){this._container=Nn("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Wl.prototype._update.call(this),this.fire("update"))},_initPath:function(K){var ae=K._container=xc("shape");pn(ae,"leaflet-vml-shape "+(this.options.className||"")),ae.coordsize="1 1",K._path=xc("path"),ae.appendChild(K._path),this._updateStyle(K),this._layers[c(K)]=K},_addPath:function(K){var ae=K._container;this._container.appendChild(ae),K.options.interactive&&K.addInteractiveTarget(ae)},_removePath:function(K){var ae=K._container;$n(ae),K.removeInteractiveTarget(ae),delete this._layers[c(K)]},_updateStyle:function(K){var ae=K._stroke,pe=K._fill,_e=K.options,Ee=K._container;Ee.stroked=!!_e.stroke,Ee.filled=!!_e.fill,_e.stroke?(ae||(ae=K._stroke=xc("stroke")),Ee.appendChild(ae),ae.weight=_e.weight+"px",ae.color=_e.color,ae.opacity=_e.opacity,_e.dashArray?ae.dashStyle=$(_e.dashArray)?_e.dashArray.join(" "):_e.dashArray.replace(/( *, *)/g," "):ae.dashStyle="",ae.endcap=_e.lineCap.replace("butt","flat"),ae.joinstyle=_e.lineJoin):ae&&(Ee.removeChild(ae),K._stroke=null),_e.fill?(pe||(pe=K._fill=xc("fill")),Ee.appendChild(pe),pe.color=_e.fillColor||_e.color,pe.opacity=_e.fillOpacity):pe&&(Ee.removeChild(pe),K._fill=null)},_updateCircle:function(K){var ae=K._point.round(),pe=Math.round(K._radius),_e=Math.round(K._radiusY||pe);this._setPath(K,K._empty()?"M0 0":"AL "+ae.x+","+ae.y+" "+pe+","+_e+" 0,"+65535*360)},_setPath:function(K,ae){K._path.v=ae},_bringToFront:function(K){aa(K._container)},_bringToBack:function(K){yo(K._container)}},Cu=At.vml?xc:J,wd=Wl.extend({_initContainer:function(){this._container=Cu("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Cu("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){$n(this._container),Mt(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Wl.prototype._update.call(this);var K=this._bounds,ae=K.getSize(),pe=this._container;(!this._svgSize||!this._svgSize.equals(ae))&&(this._svgSize=ae,pe.setAttribute("width",ae.x),pe.setAttribute("height",ae.y)),Lr(pe,K.min),pe.setAttribute("viewBox",[K.min.x,K.min.y,ae.x,ae.y].join(" ")),this.fire("update")}},_initPath:function(K){var ae=K._path=Cu("path");K.options.className&&pn(ae,K.options.className),K.options.interactive&&pn(ae,"leaflet-interactive"),this._updateStyle(K),this._layers[c(K)]=K},_addPath:function(K){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(K._path),K.addInteractiveTarget(K._path)},_removePath:function(K){$n(K._path),K.removeInteractiveTarget(K._path),delete this._layers[c(K)]},_updatePath:function(K){K._project(),K._update()},_updateStyle:function(K){var ae=K._path,pe=K.options;ae&&(pe.stroke?(ae.setAttribute("stroke",pe.color),ae.setAttribute("stroke-opacity",pe.opacity),ae.setAttribute("stroke-width",pe.weight),ae.setAttribute("stroke-linecap",pe.lineCap),ae.setAttribute("stroke-linejoin",pe.lineJoin),pe.dashArray?ae.setAttribute("stroke-dasharray",pe.dashArray):ae.removeAttribute("stroke-dasharray"),pe.dashOffset?ae.setAttribute("stroke-dashoffset",pe.dashOffset):ae.removeAttribute("stroke-dashoffset")):ae.setAttribute("stroke","none"),pe.fill?(ae.setAttribute("fill",pe.fillColor||pe.color),ae.setAttribute("fill-opacity",pe.fillOpacity),ae.setAttribute("fill-rule",pe.fillRule||"evenodd")):ae.setAttribute("fill","none"))},_updatePoly:function(K,ae){this._setPath(K,ie(K._parts,ae))},_updateCircle:function(K){var ae=K._point,pe=Math.max(Math.round(K._radius),1),_e=Math.max(Math.round(K._radiusY),1)||pe,Ee="a"+pe+","+_e+" 0 1,0 ",Ie=K._empty()?"M0 0":"M"+(ae.x-pe)+","+ae.y+Ee+pe*2+",0 "+Ee+-pe*2+",0 ";this._setPath(K,Ie)},_setPath:function(K,ae){K._path.setAttribute("d",ae)},_bringToFront:function(K){aa(K._path)},_bringToBack:function(K){yo(K._path)}});At.vml&&wd.include(T1);function Nv(K){return At.svg||At.vml?new wd(K):null}Vn.include({getRenderer:function(K){var ae=K.options.renderer||this._getPaneRenderer(K.options.pane)||this.options.renderer||this._renderer;return ae||(ae=this._renderer=this._createRenderer()),this.hasLayer(ae)||this.addLayer(ae),ae},_getPaneRenderer:function(K){if(K==="overlayPane"||K===void 0)return!1;var ae=this._paneRenderers[K];return ae===void 0&&(ae=this._createRenderer({pane:K}),this._paneRenderers[K]=ae),ae},_createRenderer:function(K){return this.options.preferCanvas&&Hl(K)||Nv(K)}});var $h=yd.extend({initialize:function(K,ae){yd.prototype.initialize.call(this,this._boundsToLatLngs(K),ae)},setBounds:function(K){return this.setLatLngs(this._boundsToLatLngs(K))},_boundsToLatLngs:function(K){return K=k(K),[K.getSouthWest(),K.getNorthWest(),K.getNorthEast(),K.getSouthEast()]}});function A1(K,ae){return new $h(K,ae)}wd.create=Cu,wd.pointsToPath=ie,Wo.geometryToLayer=Ho,Wo.coordsToLatLng=Pv,Wo.coordsToLatLngs=If,Wo.latLngToCoords=Dv,Wo.latLngsToCoords=Rf,Wo.getFeature=bd,Wo.asFeature=Fl,Vn.mergeOptions({boxZoom:!0});var _d=oi.extend({initialize:function(K){this._map=K,this._container=K._container,this._pane=K._panes.overlayPane,this._resetStateTimeout=0,K.on("unload",this._destroy,this)},addHooks:function(){cn(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Mt(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){$n(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(K){if(!K.shiftKey||K.which!==1&&K.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),ja(),Ia(),this._startPoint=this._map.mouseEventToContainerPoint(K),cn(document,{contextmenu:Kn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(K){this._moved||(this._moved=!0,this._box=Nn("div","leaflet-zoom-box",this._container),pn(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(K);var ae=new E(this._point,this._startPoint),pe=ae.getSize();Lr(this._box,ae.min),this._box.style.width=pe.x+"px",this._box.style.height=pe.y+"px"},_finish:function(){this._moved&&($n(this._box),fr(this._container,"leaflet-crosshair")),Yr(),hs(),Mt(document,{contextmenu:Kn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(K){if(!(K.which!==1&&K.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(a(this._resetState,this),0);var ae=new v(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(ae).fire("boxzoomend",{boxZoomBounds:ae})}},_onKeyDown:function(K){K.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Vn.addInitHook("addHandler","boxZoom",_d),Vn.mergeOptions({doubleClickZoom:!0});var wc=oi.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(K){var ae=this._map,pe=ae.getZoom(),_e=ae.options.zoomDelta,Ee=K.originalEvent.shiftKey?pe-_e:pe+_e;ae.options.doubleClickZoom==="center"?ae.setZoom(Ee):ae.setZoomAround(K.containerPoint,Ee)}});Vn.addInitHook("addHandler","doubleClickZoom",wc),Vn.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var qh=oi.extend({addHooks:function(){if(!this._draggable){var K=this._map;this._draggable=new mc(K._mapPane,K._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),K.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),K.on("zoomend",this._onZoomEnd,this),K.whenReady(this._onZoomEnd,this))}pn(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){fr(this._map._container,"leaflet-grab"),fr(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var K=this._map;if(K._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var ae=k(this._map.options.maxBounds);this._offsetLimit=A(this._map.latLngToContainerPoint(ae.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(ae.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;K.fire("movestart").fire("dragstart"),K.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(K){if(this._map.options.inertia){var ae=this._lastTime=+new Date,pe=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(pe),this._times.push(ae),this._prunePositions(ae)}this._map.fire("move",K).fire("drag",K)},_prunePositions:function(K){for(;this._positions.length>1&&K-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var K=this._map.getSize().divideBy(2),ae=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=ae.subtract(K).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(K,ae){return K-(K-ae)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var K=this._draggable._newPos.subtract(this._draggable._startPos),ae=this._offsetLimit;K.x<ae.min.x&&(K.x=this._viscousLimit(K.x,ae.min.x)),K.y<ae.min.y&&(K.y=this._viscousLimit(K.y,ae.min.y)),K.x>ae.max.x&&(K.x=this._viscousLimit(K.x,ae.max.x)),K.y>ae.max.y&&(K.y=this._viscousLimit(K.y,ae.max.y)),this._draggable._newPos=this._draggable._startPos.add(K)}},_onPreDragWrap:function(){var K=this._worldWidth,ae=Math.round(K/2),pe=this._initialWorldOffset,_e=this._draggable._newPos.x,Ee=(_e-ae+pe)%K+ae-pe,Ie=(_e+ae+pe)%K-ae-pe,Ge=Math.abs(Ee+pe)<Math.abs(Ie+pe)?Ee:Ie;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=Ge},_onDragEnd:function(K){var ae=this._map,pe=ae.options,_e=!pe.inertia||K.noInertia||this._times.length<2;if(ae.fire("dragend",K),_e)ae.fire("moveend");else{this._prunePositions(+new Date);var Ee=this._lastPos.subtract(this._positions[0]),Ie=(this._lastTime-this._times[0])/1e3,Ge=pe.easeLinearity,it=Ee.multiplyBy(Ge/Ie),lt=it.distanceTo([0,0]),_t=Math.min(pe.inertiaMaxSpeed,lt),Rt=it.multiplyBy(_t/lt),nn=_t/(pe.inertiaDeceleration*Ge),Mn=Rt.multiplyBy(-nn/2).round();!Mn.x&&!Mn.y?ae.fire("moveend"):(Mn=ae._limitOffset(Mn,ae.options.maxBounds),h(function(){ae.panBy(Mn,{duration:nn,easeLinearity:Ge,noMoveStart:!0,animate:!0})}))}}});Vn.addInitHook("addHandler","dragging",qh),Vn.mergeOptions({keyboard:!0,keyboardPanDelta:80});var E1=oi.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(K){this._map=K,this._setPanDelta(K.options.keyboardPanDelta),this._setZoomDelta(K.options.zoomDelta)},addHooks:function(){var K=this._map._container;K.tabIndex<=0&&(K.tabIndex="0"),cn(K,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Mt(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var K=document.body,ae=document.documentElement,pe=K.scrollTop||ae.scrollTop,_e=K.scrollLeft||ae.scrollLeft;this._map._container.focus(),window.scrollTo(_e,pe)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(K){var ae=this._panKeys={},pe=this.keyCodes,_e,Ee;for(_e=0,Ee=pe.left.length;_e<Ee;_e++)ae[pe.left[_e]]=[-1*K,0];for(_e=0,Ee=pe.right.length;_e<Ee;_e++)ae[pe.right[_e]]=[K,0];for(_e=0,Ee=pe.down.length;_e<Ee;_e++)ae[pe.down[_e]]=[0,K];for(_e=0,Ee=pe.up.length;_e<Ee;_e++)ae[pe.up[_e]]=[0,-1*K]},_setZoomDelta:function(K){var ae=this._zoomKeys={},pe=this.keyCodes,_e,Ee;for(_e=0,Ee=pe.zoomIn.length;_e<Ee;_e++)ae[pe.zoomIn[_e]]=K;for(_e=0,Ee=pe.zoomOut.length;_e<Ee;_e++)ae[pe.zoomOut[_e]]=-K},_addHooks:function(){cn(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Mt(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(K){if(!(K.altKey||K.ctrlKey||K.metaKey)){var ae=K.keyCode,pe=this._map,_e;if(ae in this._panKeys){if(!pe._panAnim||!pe._panAnim._inProgress)if(_e=this._panKeys[ae],K.shiftKey&&(_e=I(_e).multiplyBy(3)),pe.options.maxBounds&&(_e=pe._limitOffset(I(_e),pe.options.maxBounds)),pe.options.worldCopyJump){var Ee=pe.wrapLatLng(pe.unproject(pe.project(pe.getCenter()).add(_e)));pe.panTo(Ee)}else pe.panBy(_e)}else if(ae in this._zoomKeys)pe.setZoom(pe.getZoom()+(K.shiftKey?3:1)*this._zoomKeys[ae]);else if(ae===27&&pe._popup&&pe._popup.options.closeOnEscapeKey)pe.closePopup();else return;Kn(K)}}});Vn.addInitHook("addHandler","keyboard",E1),Vn.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var O1=oi.extend({addHooks:function(){cn(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Mt(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(K){var ae=g1(K),pe=this._map.options.wheelDebounceTime;this._delta+=ae,this._lastMousePos=this._map.mouseEventToContainerPoint(K),this._startTime||(this._startTime=+new Date);var _e=Math.max(pe-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(a(this._performZoom,this),_e),Kn(K)},_performZoom:function(){var K=this._map,ae=K.getZoom(),pe=this._map.options.zoomSnap||0;K._stop();var _e=this._delta/(this._map.options.wheelPxPerZoomLevel*4),Ee=4*Math.log(2/(1+Math.exp(-Math.abs(_e))))/Math.LN2,Ie=pe?Math.ceil(Ee/pe)*pe:Ee,Ge=K._limitZoom(ae+(this._delta>0?Ie:-Ie))-ae;this._delta=0,this._startTime=null,Ge&&(K.options.scrollWheelZoom==="center"?K.setZoom(ae+Ge):K.setZoomAround(this._lastMousePos,ae+Ge))}});Vn.addInitHook("addHandler","scrollWheelZoom",O1);var vM=600;Vn.mergeOptions({tapHold:At.touchNative&&At.safari&&At.mobile,tapTolerance:15});var Xh=oi.extend({addHooks:function(){cn(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Mt(this._map._container,"touchstart",this._onDown,this)},_onDown:function(K){if(clearTimeout(this._holdTimeout),K.touches.length===1){var ae=K.touches[0];this._startPos=this._newPos=new V(ae.clientX,ae.clientY),this._holdTimeout=setTimeout(a(function(){this._cancel(),this._isTapValid()&&(cn(document,"touchend",un),cn(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",ae))},this),vM),cn(document,"touchend touchcancel contextmenu",this._cancel,this),cn(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function K(){Mt(document,"touchend",un),Mt(document,"touchend touchcancel",K)},_cancel:function(){clearTimeout(this._holdTimeout),Mt(document,"touchend touchcancel contextmenu",this._cancel,this),Mt(document,"touchmove",this._onMove,this)},_onMove:function(K){var ae=K.touches[0];this._newPos=new V(ae.clientX,ae.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(K,ae){var pe=new MouseEvent(K,{bubbles:!0,cancelable:!0,view:window,screenX:ae.screenX,screenY:ae.screenY,clientX:ae.clientX,clientY:ae.clientY});pe._simulated=!0,ae.target.dispatchEvent(pe)}});Vn.addInitHook("addHandler","tapHold",Xh),Vn.mergeOptions({touchZoom:At.touch,bounceAtZoomLimits:!0});var Zh=oi.extend({addHooks:function(){pn(this._map._container,"leaflet-touch-zoom"),cn(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){fr(this._map._container,"leaflet-touch-zoom"),Mt(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(K){var ae=this._map;if(!(!K.touches||K.touches.length!==2||ae._animatingZoom||this._zooming)){var pe=ae.mouseEventToContainerPoint(K.touches[0]),_e=ae.mouseEventToContainerPoint(K.touches[1]);this._centerPoint=ae.getSize()._divideBy(2),this._startLatLng=ae.containerPointToLatLng(this._centerPoint),ae.options.touchZoom!=="center"&&(this._pinchStartLatLng=ae.containerPointToLatLng(pe.add(_e)._divideBy(2))),this._startDist=pe.distanceTo(_e),this._startZoom=ae.getZoom(),this._moved=!1,this._zooming=!0,ae._stop(),cn(document,"touchmove",this._onTouchMove,this),cn(document,"touchend touchcancel",this._onTouchEnd,this),un(K)}},_onTouchMove:function(K){if(!(!K.touches||K.touches.length!==2||!this._zooming)){var ae=this._map,pe=ae.mouseEventToContainerPoint(K.touches[0]),_e=ae.mouseEventToContainerPoint(K.touches[1]),Ee=pe.distanceTo(_e)/this._startDist;if(this._zoom=ae.getScaleZoom(Ee,this._startZoom),!ae.options.bounceAtZoomLimits&&(this._zoom<ae.getMinZoom()&&Ee<1||this._zoom>ae.getMaxZoom()&&Ee>1)&&(this._zoom=ae._limitZoom(this._zoom)),ae.options.touchZoom==="center"){if(this._center=this._startLatLng,Ee===1)return}else{var Ie=pe._add(_e)._divideBy(2)._subtract(this._centerPoint);if(Ee===1&&Ie.x===0&&Ie.y===0)return;this._center=ae.unproject(ae.project(this._pinchStartLatLng,this._zoom).subtract(Ie),this._zoom)}this._moved||(ae._moveStart(!0,!1),this._moved=!0),m(this._animRequest);var Ge=a(ae._move,ae,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=h(Ge,this,!0),un(K)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,m(this._animRequest),Mt(document,"touchmove",this._onTouchMove,this),Mt(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});Vn.addInitHook("addHandler","touchZoom",Zh),Vn.BoxZoom=_d,Vn.DoubleClickZoom=wc,Vn.Drag=qh,Vn.Keyboard=E1,Vn.ScrollWheelZoom=O1,Vn.TapHold=Xh,Vn.TouchZoom=Zh,n.Bounds=E,n.Browser=At,n.CRS=F,n.Canvas=Gh,n.Circle=jf,n.CircleMarker=Nf,n.Class=M,n.Control=ca,n.DivIcon=Vh,n.DivOverlay=Xs,n.DomEvent=lM,n.DomUtil=pd,n.Draggable=mc,n.Evented=X,n.FeatureGroup=qs,n.GeoJSON=Wo,n.GridLayer=qn,n.Handler=oi,n.Icon=md,n.ImageOverlay=Bt,n.LatLng=S,n.LatLngBounds=v,n.Layer=Gr,n.LayerGroup=vc,n.LineUtil=kv,n.Map=Vn,n.Marker=Lf,n.Mixin=cM,n.Path=yc,n.Point=V,n.PolyUtil=_v,n.Polygon=yd,n.Polyline=Ba,n.Popup=bo,n.PosAnimation=vv,n.Projection=Tv,n.Rectangle=$h,n.Renderer=Wl,n.SVG=wd,n.SVGOverlay=gr,n.TileLayer=Su,n.Tooltip=Bf,n.Transformation=q,n.Util=O,n.VideoOverlay=Qn,n.bind=a,n.bounds=A,n.canvas=Hl,n.circle=bc,n.circleMarker=Ev,n.control=fs,n.divIcon=Ff,n.extend=i,n.featureGroup=C1,n.geoJSON=ft,n.geoJson=ct,n.gridLayer=gM,n.icon=hM,n.imageOverlay=fn,n.latLng=_,n.latLngBounds=k,n.layerGroup=Hh,n.map=ro,n.marker=vd,n.point=I,n.polygon=fM,n.polyline=pM,n.popup=zf,n.rectangle=A1,n.setOptions=x,n.stamp=c,n.svg=Nv,n.svgOverlay=Lv,n.tileLayer=Yh,n.tooltip=xd,n.transformation=Q,n.version=r,n.videoOverlay=Ii;var jv=window.L;n.noConflict=function(){return window.L=jv,this},window.L=n})})(_N,_N.exports);var o9e=_N.exports;const Kc=On(o9e),a9e=Object.freeze({usa:"united states",switzerland:"switzerland country",uk:"united kingdom"});function s9e(e,t){const n=a9e[e.toLowerCase()];return n&&(t[n]=e),n||e}function l9e(e,t){return t[e.toLowerCase()]||e}const c9e=(e,t)=>{const{app:n}=ti(),[r,i]=dt([]),o=Qe(e),a=jt(()=>hu(void 0,null,function*(){if(!n||!e)return;const s={},c=A8e(t),l=yield n.httpClient.post("api/v1/geo/locations",Fe({locations:e.map(w=>({name:s9e(w.name,s)}))},c&&{geoLevel:c})),g=o.current!==e;if(!l||g)return;const b=l.reduce((w,x)=>{const C=nt(Fe({},x),{name:l9e(x.name,s)});return w[C.name]=C,w},{}),u=[],z=e.map(w=>(b[w.name]||u.push(w.name),Fe(Fe({},w),b[w.name]?{coordinates:b[w.name].latLng}:null)));u.length&&console.warn(`Locations "${u.join(", ")}" coordinates not found`),i(z)}),[n,i,e,t]);return pt(()=>{e&&(o.current=e,e.some(s=>!!s.coordinates)?i(e):a())},[e,n,a,i]),r};function u9e(e){let t=Number.MAX_VALUE,n=Number.MIN_VALUE;return e.forEach(r=>{isNaN(r)||(t=Math.min(t,r),n=Math.max(n,r))}),{min:t,max:n}}function d9e(e,t=4,n=24){let r=0;const{min:i,max:o}=u9e(e.map(({value:s})=>s)),a=n-t;return r=o-i,e.map(s=>r===0?t:(s.value-i)/r*a+t)}const h9e=()=>{const{app:e}=ti(),[t,n]=dt(null),r=jt(()=>hu(void 0,null,function*(){if(!e)return;const i=yield e.httpClient.get("api/v1/settings/system");i&&n(i.geo)}),[n,e]);return pt(()=>{r()},[e,r]),t},p9e="#00cee6",f9e=YC({getValueFromDataStructure:({colorValue:e})=>parseFloat(`${e}`),applyColorToDataStructure:(e,t)=>nt(Fe({},e),{color:t})});function g9e(e,t){return t?f9e(e.map(({colorValue:n})=>({colorValue:n})),t).map(({color:n})=>n):e.map(()=>p9e)}function mte(e){return{isLight:["hollow","filled-light"].includes(e),isFilled:["filled","filled-light"].includes(e)}}function vte(e){const{color:t,size:n,fill:r,blur:i}=e,{isFilled:o}=mte(r),a=i?{filled:.1,"filled-light":.1,hollow:.2,"hollow-bold":.25}[r]:{filled:.5,"filled-light":.2,hollow:.35,"hollow-bold":.9}[r];return{radius:n,fillOpacity:a,opacity:a,fillColor:o?t:"transparent",color:o?"transparent":t,stroke:!o,weight:o?0:2,customStyle:e}}function m9e({coordinates:e,style:t}){const n=new Kc.CircleMarker({lat:e.lat,lng:e.lng},vte(t));return n.on("mouseover",v9e),n.on("mouseout",y9e),n}function v9e(e){const t=e.target,n=t.options.customStyle,{isFilled:r,isLight:i}=mte(n.fill);return t.setStyle(r?{stroke:!0,weight:2,opacity:i?.5:.7,fillOpacity:i?.5:.7}:{weight:3,opacity:i?.6:1}),t}function y9e(e){const t=e.target,n=t.options.customStyle;t.setStyle(vte(n))}function b9e(e){e.forEach(t=>t.remove())}function x9e(e,t){const n=`
@@ -433,7 +433,7 @@ https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStat
433
433
  `))}return null}),children:be.oneOfType([be.node,be.func]),container:be.oneOfType([Zu,be.func]),direction:be.oneOf(["ltr","rtl"]),disablePortal:be.bool,keepMounted:be.bool,modifiers:be.arrayOf(be.shape({data:be.object,effect:be.func,enabled:be.bool,fn:be.func,name:be.any,options:be.object,phase:be.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:be.arrayOf(be.string),requiresIfExists:be.arrayOf(be.string)})),open:be.bool.isRequired,placement:be.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:be.shape({modifiers:be.array,onFirstUpdate:be.func,placement:be.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:be.oneOf(["absolute","fixed"])}),popperRef:Jm,slotProps:be.shape({root:be.oneOfType([be.func,be.object])}),slots:be.shape({root:be.elementType}),transition:be.bool});var rR={};Object.defineProperty(rR,"__esModule",{value:!0});var fie=rR.default=void 0,oet=set(Je),aet=jne;function gie(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(gie=function(r){return r?n:t})(e)}function set(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=gie(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function cet(e){return Object.keys(e).length===0}function uet(e=null){const t=oet.useContext(aet.ThemeContext);return!t||cet(t)?e:t}fie=rR.default=uet;const $9=e=>{let t;return e<1?t=5.11916*Et(e,2):t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},det=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],het=xn(pie,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Hb=Dt(function(e,t){var n;const r=fie(),i=ki({props:e,name:"MuiPopper"}),{anchorEl:o,component:a,components:s,componentsProps:c,container:l,disablePortal:g,keepMounted:b,modifiers:u,open:z,placement:w,popperOptions:x,popperRef:C,transition:H,slots:G,slotProps:$}=i,U=Sn(i,det),B=(n=G==null?void 0:G.root)!=null?n:s==null?void 0:s.Root,T=Ke({anchorEl:o,container:l,disablePortal:g,keepMounted:b,modifiers:u,open:z,placement:w,popperOptions:x,popperRef:C,transition:H},U);return ye(het,Ke({as:a,direction:r==null?void 0:r.direction,slots:{root:B},slotProps:$??c},T,{ref:t}))});process.env.NODE_ENV!=="production"&&(Hb.propTypes={anchorEl:be.oneOfType([Zu,be.object,be.func]),children:be.oneOfType([be.node,be.func]),component:be.elementType,components:be.shape({Root:be.elementType}),componentsProps:be.shape({root:be.oneOfType([be.func,be.object])}),container:be.oneOfType([Zu,be.func]),disablePortal:be.bool,keepMounted:be.bool,modifiers:be.arrayOf(be.shape({data:be.object,effect:be.func,enabled:be.bool,fn:be.func,name:be.any,options:be.object,phase:be.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:be.arrayOf(be.string),requiresIfExists:be.arrayOf(be.string)})),open:be.bool.isRequired,placement:be.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:be.shape({modifiers:be.array,onFirstUpdate:be.func,placement:be.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:be.oneOf(["absolute","fixed"])}),popperRef:Jm,slotProps:be.shape({root:be.oneOfType([be.func,be.object])}),slots:be.shape({root:be.elementType}),sx:be.oneOfType([be.arrayOf(be.oneOfType([be.func,be.object,be.bool])),be.func,be.object]),transition:be.bool});function pet(e){return hi("MuiTooltip",e)}const Vd=ni("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),fet=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function get(e){return Math.round(e*1e5)/1e5}const met=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:i,placement:o}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${kn(o.split("-")[0])}`],arrow:["arrow"]};return Ci(a,pet,t)},vet=xn(Hb,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>Ke({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Vd.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Vd.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Vd.arrow}`]:Ke({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Vd.arrow}`]:Ke({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),yet=xn("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${kn(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>Ke({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:xi(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${get(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Vd.popper}[data-popper-placement*="left"] &`]:Ke({transformOrigin:"right center"},t.isRtl?Ke({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Ke({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Vd.popper}[data-popper-placement*="right"] &`]:Ke({transformOrigin:"left center"},t.isRtl?Ke({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Ke({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Vd.popper}[data-popper-placement*="top"] &`]:Ke({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Vd.popper}[data-popper-placement*="bottom"] &`]:Ke({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),bet=xn("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:xi(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let kx=!1;const q9=new L5;let ny={x:0,y:0};function Mx(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Mk=Dt(function(e,t){var n,r,i,o,a,s,c,l,g,b,u,z,w,x,C,H,G,$,U;const B=ki({props:e,name:"MuiTooltip"}),{arrow:T=!1,children:P,components:f={},componentsProps:y={},describeChild:d=!1,disableFocusListener:h=!1,disableHoverListener:m=!1,disableInteractive:O=!1,disableTouchListener:M=!1,enterDelay:D=100,enterNextDelay:Y=0,enterTouchDelay:X=700,followCursor:V=!1,id:R,leaveDelay:I=0,leaveTouchDelay:E=1500,onClose:A,onOpen:v,open:k,placement:S="bottom",PopperComponent:_,PopperProps:F={},slotProps:j={},slots:p={},title:N,TransitionComponent:q=T0,TransitionProps:Q}=B,W=Sn(B,fet),Z=hr(P)?P:ye("span",{children:P}),J=Sk(),ie=D5(),[oe,te]=dt(),[ne,re]=dt(null),ue=Qe(!1),ce=O||V,le=Pg(),he=Pg(),ge=Pg(),fe=Pg(),[xe,we]=P5({controlled:k,default:!1,name:"Tooltip",state:"open"});let Te=xe;if(process.env.NODE_ENV!=="production"){const{current:wt}=Qe(k!==void 0);pt(()=>{oe&&oe.disabled&&!wt&&N!==""&&oe.tagName.toLowerCase()==="button"&&console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
434
434
  `))},[N,oe,wt])}const Ae=sXe(R),De=Qe(),Oe=zu(()=>{De.current!==void 0&&(document.body.style.WebkitUserSelect=De.current,De.current=void 0),fe.clear()});pt(()=>Oe,[Oe]);const Ce=wt=>{q9.clear(),kx=!0,we(!0),v&&!Te&&v(wt)},ve=zu(wt=>{q9.start(800+I,()=>{kx=!1}),we(!1),A&&Te&&A(wt),le.start(J.transitions.duration.shortest,()=>{ue.current=!1})}),Se=wt=>{ue.current&&wt.type!=="touchstart"||(oe&&oe.removeAttribute("title"),he.clear(),ge.clear(),D||kx&&Y?he.start(kx?Y:D,()=>{Ce(wt)}):Ce(wt))},Me=wt=>{he.clear(),ge.start(I,()=>{ve(wt)})},{isFocusVisibleRef:Pe,onBlur:je,onFocus:Le,ref:We}=Fne(),[,He]=dt(!1),Ue=wt=>{je(wt),Pe.current===!1&&(He(!1),Me(wt))},$e=wt=>{oe||te(wt.currentTarget),Le(wt),Pe.current===!0&&(He(!0),Se(wt))},et=wt=>{ue.current=!0;const Wt=Z.props;Wt.onTouchStart&&Wt.onTouchStart(wt)},Xe=wt=>{et(wt),ge.clear(),le.clear(),Oe(),De.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",fe.start(X,()=>{document.body.style.WebkitUserSelect=De.current,Se(wt)})},ot=wt=>{Z.props.onTouchEnd&&Z.props.onTouchEnd(wt),Oe(),ge.start(E,()=>{ve(wt)})};pt(()=>{if(!Te)return;function wt(Wt){(Wt.key==="Escape"||Wt.key==="Esc")&&ve(Wt)}return document.addEventListener("keydown",wt),()=>{document.removeEventListener("keydown",wt)}},[ve,Te]);const ht=Ea(Z.ref,We,te,t);!N&&N!==0&&(Te=!1);const at=Qe(),mt=wt=>{const Wt=Z.props;Wt.onMouseMove&&Wt.onMouseMove(wt),ny={x:wt.clientX,y:wt.clientY},at.current&&at.current.update()},vt={},$t=typeof N=="string";d?(vt.title=!Te&&$t&&!m?N:null,vt["aria-describedby"]=Te?Ae:null):(vt["aria-label"]=$t?N:null,vt["aria-labelledby"]=Te&&!$t?Ae:null);const gt=Ke({},vt,W,Z.props,{className:Jt(W.className,Z.props.className),onTouchStart:et,ref:ht},V?{onMouseMove:mt}:{});process.env.NODE_ENV!=="production"&&(gt["data-mui-internal-clone-element"]=!0,pt(()=>{oe&&!oe.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
435
435
  `))},[oe]));const Pt={};M||(gt.onTouchStart=Xe,gt.onTouchEnd=ot),m||(gt.onMouseOver=Mx(Se,gt.onMouseOver),gt.onMouseLeave=Mx(Me,gt.onMouseLeave),ce||(Pt.onMouseOver=Se,Pt.onMouseLeave=Me)),h||(gt.onFocus=Mx($e,gt.onFocus),gt.onBlur=Mx(Ue,gt.onBlur),ce||(Pt.onFocus=$e,Pt.onBlur=Ue)),process.env.NODE_ENV!=="production"&&Z.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${Z.props.title}\` or the Tooltip component.`].join(`
436
- `));const en=Nt(()=>{var wt;let Wt=[{name:"arrow",enabled:!!ne,options:{element:ne,padding:4}}];return(wt=F.popperOptions)!=null&&wt.modifiers&&(Wt=Wt.concat(F.popperOptions.modifiers)),Ke({},F.popperOptions,{modifiers:Wt})},[ne,F]),At=Ke({},B,{isRtl:ie,arrow:T,disableInteractive:ce,placement:S,PopperComponentProp:_,touch:ue.current}),Ht=met(At),on=(n=(r=p.popper)!=null?r:f.Popper)!=null?n:vet,Wn=(i=(o=(a=p.transition)!=null?a:f.Transition)!=null?o:q)!=null?i:T0,ut=(s=(c=p.tooltip)!=null?c:f.Tooltip)!=null?s:yet,Ct=(l=(g=p.arrow)!=null?g:f.Arrow)!=null?l:bet,Vt=Py(on,Ke({},F,(b=j.popper)!=null?b:y.popper,{className:Jt(Ht.popper,F==null?void 0:F.className,(u=(z=j.popper)!=null?z:y.popper)==null?void 0:u.className)}),At),Yt=Py(Wn,Ke({},Q,(w=j.transition)!=null?w:y.transition),At),rr=Py(ut,Ke({},(x=j.tooltip)!=null?x:y.tooltip,{className:Jt(Ht.tooltip,(C=(H=j.tooltip)!=null?H:y.tooltip)==null?void 0:C.className)}),At),Un=Py(Ct,Ke({},(G=j.arrow)!=null?G:y.arrow,{className:Jt(Ht.arrow,($=(U=j.arrow)!=null?U:y.arrow)==null?void 0:$.className)}),At);return ye(hn,{children:[Yn(Z,gt),ye(on,Ke({as:_??Hb,placement:S,anchorEl:V?{getBoundingClientRect:()=>({top:ny.y,left:ny.x,right:ny.x,bottom:ny.y,width:0,height:0})}:oe,popperRef:at,open:oe?Te:!1,id:Ae,transition:!0},Pt,Vt,{popperOptions:en,children:({TransitionProps:wt})=>ye(Wn,Ke({timeout:J.transitions.duration.shorter},wt,Yt,{children:ye(ut,Ke({},rr,{children:[N,T?ye(Ct,Ke({},Un,{ref:re})):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(Mk.propTypes={arrow:be.bool,children:yf.isRequired,classes:be.object,className:be.string,components:be.shape({Arrow:be.elementType,Popper:be.elementType,Tooltip:be.elementType,Transition:be.elementType}),componentsProps:be.shape({arrow:be.object,popper:be.object,tooltip:be.object,transition:be.object}),describeChild:be.bool,disableFocusListener:be.bool,disableHoverListener:be.bool,disableInteractive:be.bool,disableTouchListener:be.bool,enterDelay:be.number,enterNextDelay:be.number,enterTouchDelay:be.number,followCursor:be.bool,id:be.string,leaveDelay:be.number,leaveTouchDelay:be.number,onClose:be.func,onOpen:be.func,open:be.bool,placement:be.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:be.elementType,PopperProps:be.object,slotProps:be.shape({arrow:be.object,popper:be.object,tooltip:be.object,transition:be.object}),slots:be.shape({arrow:be.elementType,popper:be.elementType,tooltip:be.elementType,transition:be.elementType}),sx:be.oneOfType([be.arrayOf(be.oneOfType([be.func,be.object,be.bool])),be.func,be.object]),title:be.node,TransitionComponent:be.elementType,TransitionProps:be.object});const xet=e=>Si(e)?"right":"left",X9=({displayValue:e,width:t,padding:n,ellipsizedLength:r,isHtml:i})=>{const o=e.length>r;return ye("div",{className:Oy.tableCellContent,style:{maxWidth:`${t-n}px`},children:i?ye("div",{dangerouslySetInnerHTML:{__html:e}}):o?ye(Mk,{title:e,children:ye("div",{children:e})}):ye("div",{children:e})})},wet=({dataTable:e,dataOptions:t,isLoading:n,height:r,width:i,customStyles:o,themeSettings:a,onSortUpdate:s})=>{var c,l;const g=Qe(n),b=o&&o.showFieldTypeIcon!==void 0?o.showFieldTypeIcon:!0,u=qre+(b?Xre:0),z=(o==null?void 0:o.paddingVertical)||N9,w=(o==null?void 0:o.paddingHorizontal)||N9,x=Nt(()=>t.columns.map($=>{var U,B;return Fe({isHtml:(U=$.isHtml)!=null?U:!1},((B=o==null?void 0:o.columns)==null?void 0:B.width)==="auto"?{width:(i-w*2)/t.columns.length-1/t.columns.length}:null)}),[t,i,(c=o==null?void 0:o.columns)==null?void 0:c.width,w]),[C,H]=dt(()=>{var $;return nA(e,n,b,x,($=a.typography)==null?void 0:$.fontFamily)});pt(()=>{var $;n!==g.current&&(n||H(nA(e,n,b,x,($=a.typography)==null?void 0:$.fontFamily)),g.current=n)},[n,e,a,x,b]);const G=Qe(!1);return pt(()=>{!G.current&&document.fonts&&(G.current=!0,document.fonts.ready.then(()=>{var $;H(nA(e,n,b,x,($=a.typography)==null?void 0:$.fontFamily))}).catch($=>{throw $}))},[e,n,x,(l=a.typography)==null?void 0:l.fontFamily,b]),ye("div",{className:Oy.tableWrapper,style:{padding:`${z}px ${w}px`},children:ye(Sx.Table,{className:Oy.table,rowHeight:(o==null?void 0:o.rowHeight)||EQe,rowsCount:e.rows.length,width:i-w*2,height:r-z*2,headerHeight:(o==null?void 0:o.headerHeight)||AQe,children:e.columns.map(($,U)=>{var B;return C[U]?ye(Sx.Column,{maxWidth:VN,minWidth:VN,allowCellsRecycling:!0,width:C[U],header:ye(Sx.Cell,{className:Gp(Oy.tableHeader),style:I9({isHeaderCell:!0,themeSettings:a,customStyles:o}),children:ye(TQe,{column:$,onClick:s,isSelected:!!Math.abs($.direction),showFieldTypeIcon:b,sortIcon:(o==null?void 0:o.sortIcon)||"standard",children:X9({displayValue:(B=t.columns[U].title)!=null?B:t.columns[U].name,width:C[U],padding:u,ellipsizedLength:PQe})})}),cell:T=>{var P=T,{rowIndex:f}=P,y=ao(P,["rowIndex"]),d;return ye(Sx.Cell,nt(Fe({className:Gp(Oy.tableCell),style:I9({colIndex:U,rowIndex:f,themeSettings:a,customStyles:o})},y),{children:X9({displayValue:e.rows[f][U].displayValue,width:C[U],padding:Zre,ellipsizedLength:DQe,isHtml:(d=t.columns[U].isHtml)!=null?d:!1})}))},align:xet(e.columns[U].type)},`col${U}`):null})})})},_et="_component_1rw9b_1",Cet={component:_et},ket=(e,t)=>{if(!e.columns.some(i=>Si(i.type)))return e;const n=e.columns,r=e.rows.map(i=>i.map((o,a)=>{const s=n[a].type,c=Jr(t.columns[a].numberFormatConfig);if(Si(s)){const l=om(o.displayValue,s);return{displayValue:di(c,l.value),compareValue:l}}else return o}));return{columns:n,rows:r}},Met=({dataTable:e,dataOptions:t,designOptions:n={},onSortUpdate:r,themeSettings:i,width:o=400,height:a=500})=>{const s=Qe(null),c=Qe(e),l=Nt(()=>{let b=e;const u=e.columns.find(z=>z.direction!==0);return u&&(b=t5(e,[u])),ket(b,t)},[e,t]);so(()=>{c.current=e},[e]);const g=e!==c.current;return ye("div",{className:Cet.component,ref:s,children:ye(wet,{dataTable:l,dataOptions:t,isLoading:g,onSortUpdate:r,height:a,width:o,customStyles:Fe({sortIcon:"caret",showFieldTypeIcon:!1},n),themeSettings:i})})},Tet=e=>({"& .MuiPaginationItem-circular.Mui-selected":{color:e.chart.textColor},"& .MuiPaginationItem-circular":{color:e.chart.secondaryTextColor,fontFamily:e.typography.fontFamily}});var Aet=Object.prototype,Eet=Aet.hasOwnProperty;function Oet(e,t){return e!=null&&Eet.call(e,t)}var Pet=Oet,Det=Pet,Let=nQ;function Net(e,t){return e!=null&&Let(e,t,Det)}var jet=Net;const Iet=On(jet);function Ret(e,t){for(const n of t)Iet(e,n)&&console.warn(`Prop '${n}' has been deprecated. Please refer to the documentation at https://sisense.dev/guides/sdk/ for the updated prop and use that instead.`)}const zet=e=>(Ret(e,["headersColor","alternatingRowsColor","alternatingColumnsColor"]),{paddingVertical:e.paddingVertical,paddingHorizontal:e.paddingHorizontal,header:Fe(Fe({},e.headersColor?{color:{enabled:e.headersColor}}:null),e.header),rows:Fe(Fe({},e.alternatingRowsColor?{alternatingColor:{enabled:e.alternatingRowsColor}}:null),e.rows),columns:Fe(Fe({},e.alternatingColumnsColor?{alternatingColor:{enabled:e.alternatingColumnsColor}}:null),e.columns)}),Bet=25,Fet=10,mie=({dataSet:e,dataOptions:t,styleOptions:n={},filters:r})=>{const{rowsPerPage:i=Bet,width:o,height:a}=n,{themeSettings:s}=sr(),[c,l]=dt(0),{filters:g,relations:b}=$u(r),[u,z]=dt(1),w=Qe(null),x=Nt(()=>lne(t),[t]),C=Nt(()=>ine(x.columns.filter(lh)),[x]),[H,G]=dt(x),[$,U]=dt(e),[B,T]=NXe({dataSet:$,dataOptions:H,filters:g,filterRelations:b,count:i*Fet,offset:c}),P=BXe({data:B,innerDataOptions:T,dataColumnNamesMapping:C,needToAggregate:!em($)});pt(()=>{G(x),U(e),z(1),l(0)},[e,x]);const f=jt(d=>{B&&(Math.floor(B.rows.length/i)===d&&l(B.rows.length),z(d))},[B,i]),y=jt(d=>{z(1),l(0),H&&G(RXe(H,d))},[H]);return T?ye(kh,{defaultSize:b5("table"),size:{width:o,height:a},children:d=>{if(!P)return ye(nne,{themeSettings:s});if(f4e(P))return ye(Jte,{iconType:"table"});const h={columns:P.columns,rows:P.rows.slice((u-1)*i,u*i)},m=Math.ceil(P.rows.length/i),O=m>1?32:0;return ye("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",backgroundColor:s.chart.backgroundColor},"aria-label":"table-root",children:[ye(Met,{dataTable:h,dataOptions:T,designOptions:zet(n),themeSettings:s,width:d.width,height:d.height-O,onSortUpdate:y}),m>1&&ye(qne,{ref:w,page:u,count:m,onChange:(M,D)=>f(D),sx:Tet(s)})]})}}):null},ta=e=>{const{dataSet:t}=e;return!!t&&typeof t!="string"&&"rows"in t&&"columns"in t},mo=nr({componentName:"Chart",shouldSkipSisenseContextWaiting:ta,customContextErrorMessageKey:"errors.chartNoSisenseContext"})(e=>{if(Wet(e))return ye(mie,Fe({},e));if(Het(e))return ye(JYe,Fe({},e));throw new Fn("errors.chartInvalidProps")});function Wet(e){return e.chartType==="table"&&"columns"in e.dataOptions}function Het(e){return e.chartType!=="table"}const vie="sdkHookInit",Uet=(e,t,n,r)=>{n&&zC(vie,{packageName:t,packageVersion:"1.15.0",hookName:e},n.httpClient).finally(r)};function Vet(e){const{app:t,tracking:n}=ti(),r=Qe(!1);pt(()=>{if(t!=null&&t.httpClient&&!r.current){const i={packageName:n.packageName,packageVersion:"1.15.0",hookName:e};zC(vie,i,t.httpClient,!n.enabled).finally(()=>r.current=!0)}},[t,n,e])}const Yet=e=>t=>(...n)=>(Vet(e),t(...n));function Get(e){return $et(e.dataSet)}function $et(e){return!!e&&typeof e!="string"&&"rows"in e&&"columns"in e}const yie=nr({componentName:"Table",shouldSkipSisenseContextWaiting:Get})(e=>ye(mie,Fe({},e))),qet=25,Xet=10;function Zet(e){return hi("MuiDivider",e)}const Z9=ni("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Ket=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Qet=e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:o,orientation:a,textAlign:s,variant:c}=e;return Ci({root:["root",t&&"absolute",c,o&&"light",a==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&a==="vertical"&&"withChildrenVertical",s==="right"&&a!=="vertical"&&"textAlignRight",s==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},Zet,r)},Jet=xn("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>Ke({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:xi(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>Ke({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>Ke({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>Ke({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>Ke({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),ett=xn("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>Ke({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),gm=Dt(function(e,t){const n=ki({props:e,name:"MuiDivider"}),{absolute:r=!1,children:i,className:o,component:a=i?"div":"hr",flexItem:s=!1,light:c=!1,orientation:l="horizontal",role:g=a!=="hr"?"separator":void 0,textAlign:b="center",variant:u="fullWidth"}=n,z=Sn(n,Ket),w=Ke({},n,{absolute:r,component:a,flexItem:s,light:c,orientation:l,role:g,textAlign:b,variant:u}),x=Qet(w);return ye(Jet,Ke({as:a,className:Jt(x.root,o),role:g,ref:t,ownerState:w},z,{children:i?ye(ett,{className:x.wrapper,ownerState:w,children:i}):null}))});gm.muiSkipListHighlight=!0;process.env.NODE_ENV!=="production"&&(gm.propTypes={absolute:be.bool,children:be.node,classes:be.object,className:be.string,component:be.elementType,flexItem:be.bool,light:be.bool,orientation:be.oneOf(["horizontal","vertical"]),role:be.string,sx:be.oneOfType([be.arrayOf(be.oneOfType([be.func,be.object,be.bool])),be.func,be.object]),textAlign:be.oneOf(["center","left","right"]),variant:be.oneOfType([be.oneOf(["fullWidth","inset","middle"]),be.string])});function ttt(e){return hi("MuiListSubheader",e)}ni("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const ntt=["className","color","component","disableGutters","disableSticky","inset"],rtt=e=>{const{classes:t,color:n,disableGutters:r,inset:i,disableSticky:o}=e,a={root:["root",n!=="default"&&`color${kn(n)}`,!r&&"gutters",i&&"inset",!o&&"sticky"]};return Ci(a,ttt,t)},itt=xn("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${kn(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>Ke({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),iR=Dt(function(e,t){const n=ki({props:e,name:"MuiListSubheader"}),{className:r,color:i="default",component:o="li",disableGutters:a=!1,disableSticky:s=!1,inset:c=!1}=n,l=Sn(n,ntt),g=Ke({},n,{color:i,component:o,disableGutters:a,disableSticky:s,inset:c}),b=rtt(g);return ye(itt,Ke({as:o,className:Jt(b.root,r),ref:t,ownerState:g},l))});iR.muiSkipListHighlight=!0;process.env.NODE_ENV!=="production"&&(iR.propTypes={children:be.node,classes:be.object,className:be.string,color:be.oneOf(["default","inherit","primary"]),component:be.elementType,disableGutters:be.bool,disableSticky:be.bool,inset:be.bool,sx:be.oneOfType([be.arrayOf(be.oneOfType([be.func,be.object,be.bool])),be.func,be.object])});const F_=Dr({});process.env.NODE_ENV!=="production"&&(F_.displayName="ListContext");function ott(e){return hi("MuiList",e)}ni("MuiList",["root","padding","dense","subheader"]);const att=["children","className","component","dense","disablePadding","subheader"],stt=e=>{const{classes:t,disablePadding:n,dense:r,subheader:i}=e;return Ci({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},ott,t)},ltt=xn("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>Ke({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),bie=Dt(function(e,t){const n=ki({props:e,name:"MuiList"}),{children:r,className:i,component:o="ul",dense:a=!1,disablePadding:s=!1,subheader:c}=n,l=Sn(n,att),g=Nt(()=>({dense:a}),[a]),b=Ke({},n,{component:o,dense:a,disablePadding:s}),u=stt(b);return ye(F_.Provider,{value:g,children:ye(ltt,Ke({as:o,className:Jt(u.root,i),ref:t,ownerState:b},l,{children:[c,r]}))})});process.env.NODE_ENV!=="production"&&(bie.propTypes={children:be.node,classes:be.object,className:be.string,component:be.elementType,dense:be.bool,disablePadding:be.bool,subheader:be.node,sx:be.oneOfType([be.arrayOf(be.oneOfType([be.func,be.object,be.bool])),be.func,be.object])});const ctt=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function iA(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function K9(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function xie(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function ry(e,t,n,r,i,o){let a=!1,s=i(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const c=r?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!xie(s,o)||c)s=i(e,s,n);else return s.focus(),!0}return!1}const oR=Dt(function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:i=!1,children:o,className:a,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:l,variant:g="selectedMenu"}=e,b=Sn(e,ctt),u=Qe(null),z=Qe({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Yp(()=>{r&&u.current.focus()},[r]),jo(n,()=>({adjustStyleForScrollbar:(G,{direction:$})=>{const U=!u.current.style.width;if(G.clientHeight<u.current.clientHeight&&U){const B=`${Une(Lo(G))}px`;u.current.style[$==="rtl"?"paddingLeft":"paddingRight"]=B,u.current.style.width=`calc(100% + ${B})`}return u.current}}),[]);const w=G=>{const $=u.current,U=G.key,B=Lo($).activeElement;if(U==="ArrowDown")G.preventDefault(),ry($,B,c,s,iA);else if(U==="ArrowUp")G.preventDefault(),ry($,B,c,s,K9);else if(U==="Home")G.preventDefault(),ry($,null,c,s,iA);else if(U==="End")G.preventDefault(),ry($,null,c,s,K9);else if(U.length===1){const T=z.current,P=U.toLowerCase(),f=performance.now();T.keys.length>0&&(f-T.lastTime>500?(T.keys=[],T.repeating=!0,T.previousKeyMatched=!0):T.repeating&&P!==T.keys[0]&&(T.repeating=!1)),T.lastTime=f,T.keys.push(P);const y=B&&!T.repeating&&xie(B,T);T.previousKeyMatched&&(y||ry($,B,!1,s,iA,T))?G.preventDefault():T.previousKeyMatched=!1}l&&l(G)},x=Ea(u,t);let C=-1;Aa.forEach(o,(G,$)=>{if(!hr(G)){C===$&&(C+=1,C>=o.length&&(C=-1));return}process.env.NODE_ENV!=="production"&&k0.isFragment(G)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
436
+ `));const en=Nt(()=>{var wt;let Wt=[{name:"arrow",enabled:!!ne,options:{element:ne,padding:4}}];return(wt=F.popperOptions)!=null&&wt.modifiers&&(Wt=Wt.concat(F.popperOptions.modifiers)),Ke({},F.popperOptions,{modifiers:Wt})},[ne,F]),At=Ke({},B,{isRtl:ie,arrow:T,disableInteractive:ce,placement:S,PopperComponentProp:_,touch:ue.current}),Ht=met(At),on=(n=(r=p.popper)!=null?r:f.Popper)!=null?n:vet,Wn=(i=(o=(a=p.transition)!=null?a:f.Transition)!=null?o:q)!=null?i:T0,ut=(s=(c=p.tooltip)!=null?c:f.Tooltip)!=null?s:yet,Ct=(l=(g=p.arrow)!=null?g:f.Arrow)!=null?l:bet,Vt=Py(on,Ke({},F,(b=j.popper)!=null?b:y.popper,{className:Jt(Ht.popper,F==null?void 0:F.className,(u=(z=j.popper)!=null?z:y.popper)==null?void 0:u.className)}),At),Yt=Py(Wn,Ke({},Q,(w=j.transition)!=null?w:y.transition),At),rr=Py(ut,Ke({},(x=j.tooltip)!=null?x:y.tooltip,{className:Jt(Ht.tooltip,(C=(H=j.tooltip)!=null?H:y.tooltip)==null?void 0:C.className)}),At),Un=Py(Ct,Ke({},(G=j.arrow)!=null?G:y.arrow,{className:Jt(Ht.arrow,($=(U=j.arrow)!=null?U:y.arrow)==null?void 0:$.className)}),At);return ye(hn,{children:[Yn(Z,gt),ye(on,Ke({as:_??Hb,placement:S,anchorEl:V?{getBoundingClientRect:()=>({top:ny.y,left:ny.x,right:ny.x,bottom:ny.y,width:0,height:0})}:oe,popperRef:at,open:oe?Te:!1,id:Ae,transition:!0},Pt,Vt,{popperOptions:en,children:({TransitionProps:wt})=>ye(Wn,Ke({timeout:J.transitions.duration.shorter},wt,Yt,{children:ye(ut,Ke({},rr,{children:[N,T?ye(Ct,Ke({},Un,{ref:re})):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(Mk.propTypes={arrow:be.bool,children:yf.isRequired,classes:be.object,className:be.string,components:be.shape({Arrow:be.elementType,Popper:be.elementType,Tooltip:be.elementType,Transition:be.elementType}),componentsProps:be.shape({arrow:be.object,popper:be.object,tooltip:be.object,transition:be.object}),describeChild:be.bool,disableFocusListener:be.bool,disableHoverListener:be.bool,disableInteractive:be.bool,disableTouchListener:be.bool,enterDelay:be.number,enterNextDelay:be.number,enterTouchDelay:be.number,followCursor:be.bool,id:be.string,leaveDelay:be.number,leaveTouchDelay:be.number,onClose:be.func,onOpen:be.func,open:be.bool,placement:be.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:be.elementType,PopperProps:be.object,slotProps:be.shape({arrow:be.object,popper:be.object,tooltip:be.object,transition:be.object}),slots:be.shape({arrow:be.elementType,popper:be.elementType,tooltip:be.elementType,transition:be.elementType}),sx:be.oneOfType([be.arrayOf(be.oneOfType([be.func,be.object,be.bool])),be.func,be.object]),title:be.node,TransitionComponent:be.elementType,TransitionProps:be.object});const xet=e=>Si(e)?"right":"left",X9=({displayValue:e,width:t,padding:n,ellipsizedLength:r,isHtml:i})=>{const o=e.length>r;return ye("div",{className:Oy.tableCellContent,style:{maxWidth:`${t-n}px`},children:i?ye("div",{dangerouslySetInnerHTML:{__html:e}}):o?ye(Mk,{title:e,children:ye("div",{children:e})}):ye("div",{children:e})})},wet=({dataTable:e,dataOptions:t,isLoading:n,height:r,width:i,customStyles:o,themeSettings:a,onSortUpdate:s})=>{var c,l;const g=Qe(n),b=o&&o.showFieldTypeIcon!==void 0?o.showFieldTypeIcon:!0,u=qre+(b?Xre:0),z=(o==null?void 0:o.paddingVertical)||N9,w=(o==null?void 0:o.paddingHorizontal)||N9,x=Nt(()=>t.columns.map($=>{var U,B;return Fe({isHtml:(U=$.isHtml)!=null?U:!1},((B=o==null?void 0:o.columns)==null?void 0:B.width)==="auto"?{width:(i-w*2)/t.columns.length-1/t.columns.length}:null)}),[t,i,(c=o==null?void 0:o.columns)==null?void 0:c.width,w]),[C,H]=dt(()=>{var $;return nA(e,n,b,x,($=a.typography)==null?void 0:$.fontFamily)});pt(()=>{var $;n!==g.current&&(n||H(nA(e,n,b,x,($=a.typography)==null?void 0:$.fontFamily)),g.current=n)},[n,e,a,x,b]);const G=Qe(!1);return pt(()=>{!G.current&&document.fonts&&(G.current=!0,document.fonts.ready.then(()=>{var $;H(nA(e,n,b,x,($=a.typography)==null?void 0:$.fontFamily))}).catch($=>{throw $}))},[e,n,x,(l=a.typography)==null?void 0:l.fontFamily,b]),ye("div",{className:Oy.tableWrapper,style:{padding:`${z}px ${w}px`},children:ye(Sx.Table,{className:Oy.table,rowHeight:(o==null?void 0:o.rowHeight)||EQe,rowsCount:e.rows.length,width:i-w*2,height:r-z*2,headerHeight:(o==null?void 0:o.headerHeight)||AQe,children:e.columns.map(($,U)=>{var B;return C[U]?ye(Sx.Column,{maxWidth:VN,minWidth:VN,allowCellsRecycling:!0,width:C[U],header:ye(Sx.Cell,{className:Gp(Oy.tableHeader),style:I9({isHeaderCell:!0,themeSettings:a,customStyles:o}),children:ye(TQe,{column:$,onClick:s,isSelected:!!Math.abs($.direction),showFieldTypeIcon:b,sortIcon:(o==null?void 0:o.sortIcon)||"standard",children:X9({displayValue:(B=t.columns[U].title)!=null?B:t.columns[U].name,width:C[U],padding:u,ellipsizedLength:PQe})})}),cell:T=>{var P=T,{rowIndex:f}=P,y=ao(P,["rowIndex"]),d;return ye(Sx.Cell,nt(Fe({className:Gp(Oy.tableCell),style:I9({colIndex:U,rowIndex:f,themeSettings:a,customStyles:o})},y),{children:X9({displayValue:e.rows[f][U].displayValue,width:C[U],padding:Zre,ellipsizedLength:DQe,isHtml:(d=t.columns[U].isHtml)!=null?d:!1})}))},align:xet(e.columns[U].type)},`col${U}`):null})})})},_et="_component_1rw9b_1",Cet={component:_et},ket=(e,t)=>{if(!e.columns.some(i=>Si(i.type)))return e;const n=e.columns,r=e.rows.map(i=>i.map((o,a)=>{const s=n[a].type,c=Jr(t.columns[a].numberFormatConfig);if(Si(s)){const l=om(o.displayValue,s);return{displayValue:di(c,l.value),compareValue:l}}else return o}));return{columns:n,rows:r}},Met=({dataTable:e,dataOptions:t,designOptions:n={},onSortUpdate:r,themeSettings:i,width:o=400,height:a=500})=>{const s=Qe(null),c=Qe(e),l=Nt(()=>{let b=e;const u=e.columns.find(z=>z.direction!==0);return u&&(b=t5(e,[u])),ket(b,t)},[e,t]);so(()=>{c.current=e},[e]);const g=e!==c.current;return ye("div",{className:Cet.component,ref:s,children:ye(wet,{dataTable:l,dataOptions:t,isLoading:g,onSortUpdate:r,height:a,width:o,customStyles:Fe({sortIcon:"caret",showFieldTypeIcon:!1},n),themeSettings:i})})},Tet=e=>({"& .MuiPaginationItem-circular.Mui-selected":{color:e.chart.textColor},"& .MuiPaginationItem-circular":{color:e.chart.secondaryTextColor,fontFamily:e.typography.fontFamily}});var Aet=Object.prototype,Eet=Aet.hasOwnProperty;function Oet(e,t){return e!=null&&Eet.call(e,t)}var Pet=Oet,Det=Pet,Let=nQ;function Net(e,t){return e!=null&&Let(e,t,Det)}var jet=Net;const Iet=On(jet);function Ret(e,t){for(const n of t)Iet(e,n)&&console.warn(`Prop '${n}' has been deprecated. Please refer to the documentation at https://sisense.dev/guides/sdk/ for the updated prop and use that instead.`)}const zet=e=>(Ret(e,["headersColor","alternatingRowsColor","alternatingColumnsColor"]),{paddingVertical:e.paddingVertical,paddingHorizontal:e.paddingHorizontal,header:Fe(Fe({},e.headersColor?{color:{enabled:e.headersColor}}:null),e.header),rows:Fe(Fe({},e.alternatingRowsColor?{alternatingColor:{enabled:e.alternatingRowsColor}}:null),e.rows),columns:Fe(Fe({},e.alternatingColumnsColor?{alternatingColor:{enabled:e.alternatingColumnsColor}}:null),e.columns)}),Bet=25,Fet=10,mie=({dataSet:e,dataOptions:t,styleOptions:n={},filters:r})=>{const{rowsPerPage:i=Bet,width:o,height:a}=n,{themeSettings:s}=sr(),[c,l]=dt(0),{filters:g,relations:b}=$u(r),[u,z]=dt(1),w=Qe(null),x=Nt(()=>lne(t),[t]),C=Nt(()=>ine(x.columns.filter(lh)),[x]),[H,G]=dt(x),[$,U]=dt(e),[B,T]=NXe({dataSet:$,dataOptions:H,filters:g,filterRelations:b,count:i*Fet,offset:c}),P=BXe({data:B,innerDataOptions:T,dataColumnNamesMapping:C,needToAggregate:!em($)});pt(()=>{G(x),U(e),z(1),l(0)},[e,x]);const f=jt(d=>{B&&(Math.floor(B.rows.length/i)===d&&l(B.rows.length),z(d))},[B,i]),y=jt(d=>{z(1),l(0),H&&G(RXe(H,d))},[H]);return T?ye(kh,{defaultSize:b5("table"),size:{width:o,height:a},children:d=>{if(!P)return ye(nne,{themeSettings:s});if(f4e(P))return ye(Jte,{iconType:"table"});const h={columns:P.columns,rows:P.rows.slice((u-1)*i,u*i)},m=Math.ceil(P.rows.length/i),O=m>1?32:0;return ye("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",backgroundColor:s.chart.backgroundColor},"aria-label":"table-root",children:[ye(Met,{dataTable:h,dataOptions:T,designOptions:zet(n),themeSettings:s,width:d.width,height:d.height-O,onSortUpdate:y}),m>1&&ye(qne,{ref:w,page:u,count:m,onChange:(M,D)=>f(D),sx:Tet(s)})]})}}):null},ta=e=>{const{dataSet:t}=e;return!!t&&typeof t!="string"&&"rows"in t&&"columns"in t},mo=nr({componentName:"Chart",shouldSkipSisenseContextWaiting:ta,customContextErrorMessageKey:"errors.chartNoSisenseContext"})(e=>{if(Wet(e))return ye(mie,Fe({},e));if(Het(e))return ye(JYe,Fe({},e));throw new Fn("errors.chartInvalidProps")});function Wet(e){return e.chartType==="table"&&"columns"in e.dataOptions}function Het(e){return e.chartType!=="table"}const vie="sdkHookInit",Uet=(e,t,n,r)=>{n&&zC(vie,{packageName:t,packageVersion:"1.15.1",hookName:e},n.httpClient).finally(r)};function Vet(e){const{app:t,tracking:n}=ti(),r=Qe(!1);pt(()=>{if(t!=null&&t.httpClient&&!r.current){const i={packageName:n.packageName,packageVersion:"1.15.1",hookName:e};zC(vie,i,t.httpClient,!n.enabled).finally(()=>r.current=!0)}},[t,n,e])}const Yet=e=>t=>(...n)=>(Vet(e),t(...n));function Get(e){return $et(e.dataSet)}function $et(e){return!!e&&typeof e!="string"&&"rows"in e&&"columns"in e}const yie=nr({componentName:"Table",shouldSkipSisenseContextWaiting:Get})(e=>ye(mie,Fe({},e))),qet=25,Xet=10;function Zet(e){return hi("MuiDivider",e)}const Z9=ni("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Ket=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Qet=e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:o,orientation:a,textAlign:s,variant:c}=e;return Ci({root:["root",t&&"absolute",c,o&&"light",a==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&a==="vertical"&&"withChildrenVertical",s==="right"&&a!=="vertical"&&"textAlignRight",s==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},Zet,r)},Jet=xn("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>Ke({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:xi(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>Ke({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>Ke({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>Ke({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>Ke({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),ett=xn("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>Ke({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),gm=Dt(function(e,t){const n=ki({props:e,name:"MuiDivider"}),{absolute:r=!1,children:i,className:o,component:a=i?"div":"hr",flexItem:s=!1,light:c=!1,orientation:l="horizontal",role:g=a!=="hr"?"separator":void 0,textAlign:b="center",variant:u="fullWidth"}=n,z=Sn(n,Ket),w=Ke({},n,{absolute:r,component:a,flexItem:s,light:c,orientation:l,role:g,textAlign:b,variant:u}),x=Qet(w);return ye(Jet,Ke({as:a,className:Jt(x.root,o),role:g,ref:t,ownerState:w},z,{children:i?ye(ett,{className:x.wrapper,ownerState:w,children:i}):null}))});gm.muiSkipListHighlight=!0;process.env.NODE_ENV!=="production"&&(gm.propTypes={absolute:be.bool,children:be.node,classes:be.object,className:be.string,component:be.elementType,flexItem:be.bool,light:be.bool,orientation:be.oneOf(["horizontal","vertical"]),role:be.string,sx:be.oneOfType([be.arrayOf(be.oneOfType([be.func,be.object,be.bool])),be.func,be.object]),textAlign:be.oneOf(["center","left","right"]),variant:be.oneOfType([be.oneOf(["fullWidth","inset","middle"]),be.string])});function ttt(e){return hi("MuiListSubheader",e)}ni("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const ntt=["className","color","component","disableGutters","disableSticky","inset"],rtt=e=>{const{classes:t,color:n,disableGutters:r,inset:i,disableSticky:o}=e,a={root:["root",n!=="default"&&`color${kn(n)}`,!r&&"gutters",i&&"inset",!o&&"sticky"]};return Ci(a,ttt,t)},itt=xn("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${kn(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>Ke({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),iR=Dt(function(e,t){const n=ki({props:e,name:"MuiListSubheader"}),{className:r,color:i="default",component:o="li",disableGutters:a=!1,disableSticky:s=!1,inset:c=!1}=n,l=Sn(n,ntt),g=Ke({},n,{color:i,component:o,disableGutters:a,disableSticky:s,inset:c}),b=rtt(g);return ye(itt,Ke({as:o,className:Jt(b.root,r),ref:t,ownerState:g},l))});iR.muiSkipListHighlight=!0;process.env.NODE_ENV!=="production"&&(iR.propTypes={children:be.node,classes:be.object,className:be.string,color:be.oneOf(["default","inherit","primary"]),component:be.elementType,disableGutters:be.bool,disableSticky:be.bool,inset:be.bool,sx:be.oneOfType([be.arrayOf(be.oneOfType([be.func,be.object,be.bool])),be.func,be.object])});const F_=Dr({});process.env.NODE_ENV!=="production"&&(F_.displayName="ListContext");function ott(e){return hi("MuiList",e)}ni("MuiList",["root","padding","dense","subheader"]);const att=["children","className","component","dense","disablePadding","subheader"],stt=e=>{const{classes:t,disablePadding:n,dense:r,subheader:i}=e;return Ci({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},ott,t)},ltt=xn("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>Ke({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),bie=Dt(function(e,t){const n=ki({props:e,name:"MuiList"}),{children:r,className:i,component:o="ul",dense:a=!1,disablePadding:s=!1,subheader:c}=n,l=Sn(n,att),g=Nt(()=>({dense:a}),[a]),b=Ke({},n,{component:o,dense:a,disablePadding:s}),u=stt(b);return ye(F_.Provider,{value:g,children:ye(ltt,Ke({as:o,className:Jt(u.root,i),ref:t,ownerState:b},l,{children:[c,r]}))})});process.env.NODE_ENV!=="production"&&(bie.propTypes={children:be.node,classes:be.object,className:be.string,component:be.elementType,dense:be.bool,disablePadding:be.bool,subheader:be.node,sx:be.oneOfType([be.arrayOf(be.oneOfType([be.func,be.object,be.bool])),be.func,be.object])});const ctt=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function iA(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function K9(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function xie(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function ry(e,t,n,r,i,o){let a=!1,s=i(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const c=r?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!xie(s,o)||c)s=i(e,s,n);else return s.focus(),!0}return!1}const oR=Dt(function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:i=!1,children:o,className:a,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:l,variant:g="selectedMenu"}=e,b=Sn(e,ctt),u=Qe(null),z=Qe({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Yp(()=>{r&&u.current.focus()},[r]),jo(n,()=>({adjustStyleForScrollbar:(G,{direction:$})=>{const U=!u.current.style.width;if(G.clientHeight<u.current.clientHeight&&U){const B=`${Une(Lo(G))}px`;u.current.style[$==="rtl"?"paddingLeft":"paddingRight"]=B,u.current.style.width=`calc(100% + ${B})`}return u.current}}),[]);const w=G=>{const $=u.current,U=G.key,B=Lo($).activeElement;if(U==="ArrowDown")G.preventDefault(),ry($,B,c,s,iA);else if(U==="ArrowUp")G.preventDefault(),ry($,B,c,s,K9);else if(U==="Home")G.preventDefault(),ry($,null,c,s,iA);else if(U==="End")G.preventDefault(),ry($,null,c,s,K9);else if(U.length===1){const T=z.current,P=U.toLowerCase(),f=performance.now();T.keys.length>0&&(f-T.lastTime>500?(T.keys=[],T.repeating=!0,T.previousKeyMatched=!0):T.repeating&&P!==T.keys[0]&&(T.repeating=!1)),T.lastTime=f,T.keys.push(P);const y=B&&!T.repeating&&xie(B,T);T.previousKeyMatched&&(y||ry($,B,!1,s,iA,T))?G.preventDefault():T.previousKeyMatched=!1}l&&l(G)},x=Ea(u,t);let C=-1;Aa.forEach(o,(G,$)=>{if(!hr(G)){C===$&&(C+=1,C>=o.length&&(C=-1));return}process.env.NODE_ENV!=="production"&&k0.isFragment(G)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
437
437
  `)),G.props.disabled||(g==="selectedMenu"&&G.props.selected||C===-1)&&(C=$),C===$&&(G.props.disabled||G.props.muiSkipListHighlight||G.type.muiSkipListHighlight)&&(C+=1,C>=o.length&&(C=-1))});const H=Aa.map(o,(G,$)=>{if($===C){const U={};return i&&(U.autoFocus=!0),G.props.tabIndex===void 0&&g==="selectedMenu"&&(U.tabIndex=0),Yn(G,U)}return G});return ye(bie,Ke({role:"menu",ref:x,className:a,onKeyDown:w,tabIndex:r?0:-1},b,{children:H}))});process.env.NODE_ENV!=="production"&&(oR.propTypes={autoFocus:be.bool,autoFocusItem:be.bool,children:be.node,className:be.string,disabledItemsFocusable:be.bool,disableListWrap:be.bool,onKeyDown:be.func,variant:be.oneOf(["menu","selectedMenu"])});function utt(e){const t=Lo(e);return t.body===e?M0(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Qy(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Q9(e){return parseInt(M0(e).getComputedStyle(e).paddingRight,10)||0}function dtt(e){const t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return t||n}function J9(e,t,n,r,i){const o=[t,n,...r];[].forEach.call(e.children,a=>{const s=o.indexOf(a)===-1,c=!dtt(a);s&&c&&Qy(a,i)})}function oA(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function htt(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(utt(r)){const o=Une(Lo(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Q9(r)+o}px`;const a=Lo(r).querySelectorAll(".mui-fixed");[].forEach.call(a,s=>{n.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${Q9(s)+o}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=Lo(r).body;else{const o=r.parentElement,a=M0(r);i=(o==null?void 0:o.nodeName)==="HTML"&&a.getComputedStyle(o).overflowY==="scroll"?o:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:o,property:a})=>{i?o.style.setProperty(a,i):o.style.removeProperty(a)})}}function ptt(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}let ftt=class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(n!==-1)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Qy(e.modalRef,!1);const r=ptt(t);J9(t,e.mount,e.modalRef,r,!0);const i=oA(this.containers,o=>o.container===t);return i!==-1?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=oA(this.containers,i=>i.modals.indexOf(e)!==-1),r=this.containers[n];r.restore||(r.restore=htt(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(n===-1)return n;const r=oA(this.containers,o=>o.modals.indexOf(e)!==-1),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),e.modalRef&&Qy(e.modalRef,t),J9(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{const o=i.modals[i.modals.length-1];o.modalRef&&Qy(o.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function gtt(e){return typeof e=="function"?e():e}function mtt(e){return e?e.props.hasOwnProperty("in"):!1}const vtt=new ftt;function ytt(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=vtt,closeAfterTransition:o=!1,onTransitionEnter:a,onTransitionExited:s,children:c,onClose:l,open:g,rootRef:b}=e,u=Qe({}),z=Qe(null),w=Qe(null),x=Ea(w,b),[C,H]=dt(!g),G=mtt(c);let $=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&($=!1);const U=()=>Lo(z.current),B=()=>(u.current.modalRef=w.current,u.current.mount=z.current,u.current),T=()=>{i.mount(B(),{disableScrollLock:r}),w.current&&(w.current.scrollTop=0)},P=zu(()=>{const O=gtt(t)||U().body;i.add(B(),O),w.current&&T()}),f=jt(()=>i.isTopModal(B()),[i]),y=zu(O=>{z.current=O,O&&(g&&f()?T():w.current&&Qy(w.current,$))}),d=jt(()=>{i.remove(B(),$)},[$,i]);pt(()=>()=>{d()},[d]),pt(()=>{g?P():(!G||!o)&&d()},[g,d,G,o,P]);const h=O=>M=>{var D;(D=O.onKeyDown)==null||D.call(O,M),!(M.key!=="Escape"||M.which===229||!f())&&(n||(M.stopPropagation(),l&&l(M,"escapeKeyDown")))},m=O=>M=>{var D;(D=O.onClick)==null||D.call(O,M),M.target===M.currentTarget&&l&&l(M,"backdropClick")};return{getRootProps:(O={})=>{const M=eie(e);delete M.onTransitionEnter,delete M.onTransitionExited;const D=Ke({},M,O);return Ke({role:"presentation"},D,{onKeyDown:h(D),ref:x})},getBackdropProps:(O={})=>{const M=O;return Ke({"aria-hidden":!0},M,{onClick:m(M),open:g})},getTransitionProps:()=>{const O=()=>{H(!1),a&&a()},M=()=>{H(!0),s&&s(),o&&d()};return{onEnter:v9(O,c==null?void 0:c.props.onEnter),onExited:v9(M,c==null?void 0:c.props.onExited)}},rootRef:x,portalRef:y,isTopModal:f,exited:C,hasTransition:G}}const btt=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function xtt(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function wtt(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function _tt(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||wtt(e))}function Stt(e){const t=[],n=[];return Array.from(e.querySelectorAll(btt)).forEach((r,i)=>{const o=xtt(r);o===-1||!_tt(r)||(o===0?t.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function Ctt(){return!0}function W_(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=Stt,isEnabled:a=Ctt,open:s}=e,c=Qe(!1),l=Qe(null),g=Qe(null),b=Qe(null),u=Qe(null),z=Qe(!1),w=Qe(null),x=Ea(t.ref,w),C=Qe(null);pt(()=>{!s||!w.current||(z.current=!n)},[n,s]),pt(()=>{if(!s||!w.current)return;const $=Lo(w.current);return w.current.contains($.activeElement)||(w.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
438
438
  `)),w.current.setAttribute("tabIndex","-1")),z.current&&w.current.focus()),()=>{i||(b.current&&b.current.focus&&(c.current=!0,b.current.focus()),b.current=null)}},[s]),pt(()=>{if(!s||!w.current)return;const $=Lo(w.current),U=P=>{C.current=P,!(r||!a()||P.key!=="Tab")&&$.activeElement===w.current&&P.shiftKey&&(c.current=!0,g.current&&g.current.focus())},B=()=>{const P=w.current;if(P===null)return;if(!$.hasFocus()||!a()||c.current){c.current=!1;return}if(P.contains($.activeElement)||r&&$.activeElement!==l.current&&$.activeElement!==g.current)return;if($.activeElement!==u.current)u.current=null;else if(u.current!==null)return;if(!z.current)return;let f=[];if(($.activeElement===l.current||$.activeElement===g.current)&&(f=o(w.current)),f.length>0){var y,d;const h=!!((y=C.current)!=null&&y.shiftKey&&((d=C.current)==null?void 0:d.key)==="Tab"),m=f[0],O=f[f.length-1];typeof m!="string"&&typeof O!="string"&&(h?O.focus():m.focus())}else P.focus()};$.addEventListener("focusin",B),$.addEventListener("keydown",U,!0);const T=setInterval(()=>{$.activeElement&&$.activeElement.tagName==="BODY"&&B()},50);return()=>{clearInterval(T),$.removeEventListener("focusin",B),$.removeEventListener("keydown",U,!0)}},[n,r,i,a,s,o]);const H=$=>{b.current===null&&(b.current=$.relatedTarget),z.current=!0,u.current=$.target;const U=t.props.onFocus;U&&U($)},G=$=>{b.current===null&&(b.current=$.relatedTarget),z.current=!0};return ye(hn,{children:[ye("div",{tabIndex:s?0:-1,onFocus:G,ref:l,"data-testid":"sentinelStart"}),Yn(t,{ref:x,onFocus:H}),ye("div",{tabIndex:s?0:-1,onFocus:G,ref:g,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(W_.propTypes={children:yf,disableAutoFocus:be.bool,disableEnforceFocus:be.bool,disableRestoreFocus:be.bool,getTabbable:be.func,isEnabled:be.func,open:be.bool.isRequired});process.env.NODE_ENV!=="production"&&(W_.propTypes=I5(W_.propTypes));const ktt=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Mtt={entering:{opacity:1},entered:{opacity:1}},wie=Dt(function(e,t){const n=Sk(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:o=!0,children:a,easing:s,in:c,onEnter:l,onEntered:g,onEntering:b,onExit:u,onExited:z,onExiting:w,style:x,timeout:C=r,TransitionComponent:H=mu}=e,G=Sn(e,ktt),$=Qe(null),U=Ea($,a.ref,t),B=m=>O=>{if(m){const M=$.current;O===void 0?m(M):m(M,O)}},T=B(b),P=B((m,O)=>{const M=R_({style:x,timeout:C,easing:s},{mode:"enter"});m.style.webkitTransition=n.transitions.create("opacity",M),m.style.transition=n.transitions.create("opacity",M),l&&l(m,O)}),f=B(g),y=B(w),d=B(m=>{const O=R_({style:x,timeout:C,easing:s},{mode:"exit"});m.style.webkitTransition=n.transitions.create("opacity",O),m.style.transition=n.transitions.create("opacity",O),u&&u(m)}),h=B(z);return ye(H,Ke({appear:o,in:c,nodeRef:$,onEnter:P,onEntered:f,onEntering:T,onExit:d,onExited:h,onExiting:y,addEndListener:m=>{i&&i($.current,m)},timeout:C},G,{children:(m,O)=>Yn(a,Ke({style:Ke({opacity:0,visibility:m==="exited"&&!c?"hidden":void 0},Mtt[m],x,a.props.style),ref:U},O))}))});process.env.NODE_ENV!=="production"&&(wie.propTypes={addEndListener:be.func,appear:be.bool,children:yf.isRequired,easing:be.oneOfType([be.shape({enter:be.string,exit:be.string}),be.string]),in:be.bool,onEnter:be.func,onEntered:be.func,onEntering:be.func,onExit:be.func,onExited:be.func,onExiting:be.func,style:be.object,timeout:be.oneOfType([be.number,be.shape({appear:be.number,enter:be.number,exit:be.number})])});function Ttt(e){return hi("MuiBackdrop",e)}ni("MuiBackdrop",["root","invisible"]);const Att=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Ett=e=>{const{classes:t,invisible:n}=e;return Ci({root:["root",n&&"invisible"]},Ttt,t)},Ott=xn("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>Ke({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),_ie=Dt(function(e,t){var n,r,i;const o=ki({props:e,name:"MuiBackdrop"}),{children:a,className:s,component:c="div",components:l={},componentsProps:g={},invisible:b=!1,open:u,slotProps:z={},slots:w={},TransitionComponent:x=wie,transitionDuration:C}=o,H=Sn(o,Att),G=Ke({},o,{component:c,invisible:b}),$=Ett(G),U=(n=z.root)!=null?n:g.root;return ye(x,Ke({in:u,timeout:C},H,{children:ye(Ott,Ke({"aria-hidden":!0},U,{as:(r=(i=w.root)!=null?i:l.Root)!=null?r:c,className:Jt($.root,s,U==null?void 0:U.className),ownerState:Ke({},G,U==null?void 0:U.ownerState),classes:$,ref:t,children:a}))}))});process.env.NODE_ENV!=="production"&&(_ie.propTypes={children:be.node,classes:be.object,className:be.string,component:be.elementType,components:be.shape({Root:be.elementType}),componentsProps:be.shape({root:be.object}),invisible:be.bool,open:be.bool.isRequired,slotProps:be.shape({root:be.object}),slots:be.shape({root:be.elementType}),sx:be.oneOfType([be.arrayOf(be.oneOfType([be.func,be.object,be.bool])),be.func,be.object]),TransitionComponent:be.elementType,transitionDuration:be.oneOfType([be.number,be.shape({appear:be.number,enter:be.number,exit:be.number})])});function Ptt(e){return hi("MuiModal",e)}ni("MuiModal",["root","hidden","backdrop"]);const Dtt=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],Ltt=e=>{const{open:t,exited:n,classes:r}=e;return Ci({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Ptt,r)},Ntt=xn("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>Ke({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),jtt=xn(_ie,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Sie=Dt(function(e,t){var n,r,i,o,a,s;const c=ki({name:"MuiModal",props:e}),{BackdropComponent:l=jtt,BackdropProps:g,className:b,closeAfterTransition:u=!1,children:z,container:w,component:x,components:C={},componentsProps:H={},disableAutoFocus:G=!1,disableEnforceFocus:$=!1,disableEscapeKeyDown:U=!1,disablePortal:B=!1,disableRestoreFocus:T=!1,disableScrollLock:P=!1,hideBackdrop:f=!1,keepMounted:y=!1,onBackdropClick:d,open:h,slotProps:m,slots:O}=c,M=Sn(c,Dtt),D=Ke({},c,{closeAfterTransition:u,disableAutoFocus:G,disableEnforceFocus:$,disableEscapeKeyDown:U,disablePortal:B,disableRestoreFocus:T,disableScrollLock:P,hideBackdrop:f,keepMounted:y}),{getRootProps:Y,getBackdropProps:X,getTransitionProps:V,portalRef:R,isTopModal:I,exited:E,hasTransition:A}=ytt(Ke({},D,{rootRef:t})),v=Ke({},D,{exited:E}),k=Ltt(v),S={};if(z.props.tabIndex===void 0&&(S.tabIndex="-1"),A){const{onEnter:Q,onExited:W}=V();S.onEnter=Q,S.onExited=W}const _=(n=(r=O==null?void 0:O.root)!=null?r:C.Root)!=null?n:Ntt,F=(i=(o=O==null?void 0:O.backdrop)!=null?o:C.Backdrop)!=null?i:l,j=(a=m==null?void 0:m.root)!=null?a:H.root,p=(s=m==null?void 0:m.backdrop)!=null?s:H.backdrop,N=fh({elementType:_,externalSlotProps:j,externalForwardedProps:M,getSlotProps:Y,additionalProps:{ref:t,as:x},ownerState:v,className:Jt(b,j==null?void 0:j.className,k==null?void 0:k.root,!v.open&&v.exited&&(k==null?void 0:k.hidden))}),q=fh({elementType:F,externalSlotProps:p,additionalProps:g,getSlotProps:Q=>X(Ke({},Q,{onClick:W=>{d&&d(W),Q!=null&&Q.onClick&&Q.onClick(W)}})),className:Jt(p==null?void 0:p.className,g==null?void 0:g.className,k==null?void 0:k.backdrop),ownerState:v});return!y&&!h&&(!A||E)?null:ye(O0,{ref:R,container:w,disablePortal:B,children:ye(_,Ke({},N,{children:[!f&&l?ye(F,Ke({},q)):null,ye(W_,{disableEnforceFocus:$,disableAutoFocus:G,disableRestoreFocus:T,isEnabled:I,open:h,children:Yn(z,S)})]}))})});process.env.NODE_ENV!=="production"&&(Sie.propTypes={BackdropComponent:be.elementType,BackdropProps:be.object,children:yf.isRequired,classes:be.object,className:be.string,closeAfterTransition:be.bool,component:be.elementType,components:be.shape({Backdrop:be.elementType,Root:be.elementType}),componentsProps:be.shape({backdrop:be.oneOfType([be.func,be.object]),root:be.oneOfType([be.func,be.object])}),container:be.oneOfType([Zu,be.func]),disableAutoFocus:be.bool,disableEnforceFocus:be.bool,disableEscapeKeyDown:be.bool,disablePortal:be.bool,disableRestoreFocus:be.bool,disableScrollLock:be.bool,hideBackdrop:be.bool,keepMounted:be.bool,onBackdropClick:be.func,onClose:be.func,onTransitionEnter:be.func,onTransitionExited:be.func,open:be.bool.isRequired,slotProps:be.shape({backdrop:be.oneOfType([be.func,be.object]),root:be.oneOfType([be.func,be.object])}),slots:be.shape({backdrop:be.elementType,root:be.elementType}),sx:be.oneOfType([be.arrayOf(be.oneOfType([be.func,be.object,be.bool])),be.func,be.object])});function Itt(e){return hi("MuiPaper",e)}ni("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Rtt=["className","component","elevation","square","variant"],ztt=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Ci(o,Itt,i)},Btt=xn("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return Ke({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&Ke({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${xi("#fff",$9(t.elevation))}, ${xi("#fff",$9(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),aR=Dt(function(e,t){const n=ki({props:e,name:"MuiPaper"}),{className:r,component:i="div",elevation:o=1,square:a=!1,variant:s="elevation"}=n,c=Sn(n,Rtt),l=Ke({},n,{component:i,elevation:o,square:a,variant:s}),g=ztt(l);return process.env.NODE_ENV!=="production"&&Sk().shadows[o]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${o}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${o}]\` is defined.`].join(`
439
439
  `)),ye(Btt,Ke({as:i,ownerState:l,className:Jt(g.root,r),ref:t},c))});process.env.NODE_ENV!=="production"&&(aR.propTypes={children:be.node,classes:be.object,className:be.string,component:be.elementType,elevation:Th(Rc,e=>{const{elevation:t,variant:n}=e;return t>0&&n==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:be.bool,sx:be.oneOfType([be.arrayOf(be.oneOfType([be.func,be.object,be.bool])),be.func,be.object]),variant:be.oneOfType([be.oneOf(["elevation","outlined"]),be.string])});function Ftt(e){return hi("MuiPopover",e)}ni("MuiPopover",["root","paper"]);const Wtt=["onEntering"],Htt=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Utt=["slotProps"];function eH(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function tH(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function nH(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function kw(e){return typeof e=="function"?e():e}const Vtt=e=>{const{classes:t}=e;return Ci({root:["root"],paper:["paper"]},Ftt,t)},Ytt=xn(Sie,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Cie=xn(aR,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Ub=Dt(function(e,t){var n,r,i;const o=ki({props:e,name:"MuiPopover"}),{action:a,anchorEl:s,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:g="anchorEl",children:b,className:u,container:z,elevation:w=8,marginThreshold:x=16,open:C,PaperProps:H={},slots:G,slotProps:$,transformOrigin:U={vertical:"top",horizontal:"left"},TransitionComponent:B=T0,transitionDuration:T="auto",TransitionProps:{onEntering:P}={},disableScrollLock:f=!1}=o,y=Sn(o.TransitionProps,Wtt),d=Sn(o,Htt),h=(n=$==null?void 0:$.paper)!=null?n:H,m=Qe(),O=Ea(m,h.ref),M=Ke({},o,{anchorOrigin:c,anchorReference:g,elevation:w,marginThreshold:x,externalPaperSlotProps:h,transformOrigin:U,TransitionComponent:B,transitionDuration:T,TransitionProps:y}),D=Vtt(M),Y=jt(()=>{if(g==="anchorPosition")return process.env.NODE_ENV!=="production"&&(l||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),l;const Q=kw(s),W=Q&&Q.nodeType===1?Q:Lo(m.current).body,Z=W.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const J=W.getBoundingClientRect();process.env.NODE_ENV!=="test"&&J.top===0&&J.left===0&&J.right===0&&J.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
@@ -993,7 +993,7 @@ Use "options.replacer" or "options.ignoreUnknown"
993
993
  `)},_domwindow:function(){return y("domwindow")},_bigint:function(d){return y("bigint:"+d.toString())},_process:function(){return y("process")},_timer:function(){return y("timer")},_pipe:function(){return y("pipe")},_tcp:function(){return y("tcp")},_udp:function(){return y("udp")},_tty:function(){return y("tty")},_statwatcher:function(){return y("statwatcher")},_securecontext:function(){return y("securecontext")},_connection:function(){return y("connection")},_zlib:function(){return y("zlib")},_context:function(){return y("context")},_nodescript:function(){return y("nodescript")},_httpparser:function(){return y("httpparser")},_dataview:function(){return y("dataview")},_signal:function(){return y("signal")},_fsevent:function(){return y("fsevent")},_tlswrap:function(){return y("tlswrap")}}}function B(){return{buf:"",write:function(T){this.buf+=T},end:function(T){this.buf+=T},read:function(){return this.buf}}}i.writeToStream=function(T,P,f){return f===void 0&&(f=P,P={}),U(P=G(T,P),f).dispatch(T)}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){(function(w){var x=typeof Uint8Array<"u"?Uint8Array:Array,C=43,H=47,G=48,$=97,U=65,B=45,T=95;function P(f){return f=f.charCodeAt(0),f===C||f===B?62:f===H||f===T?63:f<G?-1:f<G+10?f-G+26+26:f<U+26?f-U:f<$+26?f-$+26:void 0}w.toByteArray=function(f){var y,d;if(0<f.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var h=f.length,h=f.charAt(h-2)==="="?2:f.charAt(h-1)==="="?1:0,m=new x(3*f.length/4-h),O=0<h?f.length-4:f.length,M=0;function D(Y){m[M++]=Y}for(y=0;y<O;y+=4,0)D((16711680&(d=P(f.charAt(y))<<18|P(f.charAt(y+1))<<12|P(f.charAt(y+2))<<6|P(f.charAt(y+3))))>>16),D((65280&d)>>8),D(255&d);return h==2?D(255&(d=P(f.charAt(y))<<2|P(f.charAt(y+1))>>4)):h==1&&(D((d=P(f.charAt(y))<<10|P(f.charAt(y+1))<<4|P(f.charAt(y+2))>>2)>>8&255),D(255&d)),m},w.fromByteArray=function(f){var y,d,h,m,O=f.length%3,M="";function D(Y){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(Y)}for(y=0,h=f.length-O;y<h;y+=3)d=(f[y]<<16)+(f[y+1]<<8)+f[y+2],M+=D((m=d)>>18&63)+D(m>>12&63)+D(m>>6&63)+D(63&m);switch(O){case 1:M=(M+=D((d=f[f.length-1])>>2))+D(d<<4&63)+"==";break;case 2:M=(M=(M+=D((d=(f[f.length-2]<<8)+f[f.length-1])>>10))+D(d>>4&63))+D(d<<2&63)+"="}return M}})(i===void 0?this.base64js={}:i)}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(n,r,i){(function(o,a,C,c,l,g,b,u,z){var w=n("base64-js"),x=n("ieee754");function C(p,N,q){if(!(this instanceof C))return new C(p,N,q);var Q,W,Z,J,ie=typeof p;if(N==="base64"&&ie=="string")for(p=(J=p).trim?J.trim():J.replace(/^\s+|\s+$/g,"");p.length%4!=0;)p+="=";if(ie=="number")Q=V(p);else if(ie=="string")Q=C.byteLength(p,N);else{if(ie!="object")throw new Error("First argument needs to be a number, array or string.");Q=V(p.length)}if(C._useTypedArrays?W=C._augment(new Uint8Array(Q)):((W=this).length=Q,W._isBuffer=!0),C._useTypedArrays&&typeof p.byteLength=="number")W._set(p);else if(R(J=p)||C.isBuffer(J)||J&&typeof J=="object"&&typeof J.length=="number")for(Z=0;Z<Q;Z++)C.isBuffer(p)?W[Z]=p.readUInt8(Z):W[Z]=p[Z];else if(ie=="string")W.write(p,0,N);else if(ie=="number"&&!C._useTypedArrays&&!q)for(Z=0;Z<Q;Z++)W[Z]=0;return W}function H(p,N,q,Q){return C._charsWritten=v(function(W){for(var Z=[],J=0;J<W.length;J++)Z.push(255&W.charCodeAt(J));return Z}(N),p,q,Q)}function G(p,N,q,Q){return C._charsWritten=v(function(W){for(var Z,J,ie=[],oe=0;oe<W.length;oe++)J=W.charCodeAt(oe),Z=J>>8,J=J%256,ie.push(J),ie.push(Z);return ie}(N),p,q,Q)}function $(p,N,q){var Q="";q=Math.min(p.length,q);for(var W=N;W<q;W++)Q+=String.fromCharCode(p[W]);return Q}function U(p,N,q,Z){Z||(j(typeof q=="boolean","missing or invalid endian"),j(N!=null,"missing offset"),j(N+1<p.length,"Trying to read beyond buffer length"));var W,Z=p.length;if(!(Z<=N))return q?(W=p[N],N+1<Z&&(W|=p[N+1]<<8)):(W=p[N]<<8,N+1<Z&&(W|=p[N+1])),W}function B(p,N,q,Z){Z||(j(typeof q=="boolean","missing or invalid endian"),j(N!=null,"missing offset"),j(N+3<p.length,"Trying to read beyond buffer length"));var W,Z=p.length;if(!(Z<=N))return q?(N+2<Z&&(W=p[N+2]<<16),N+1<Z&&(W|=p[N+1]<<8),W|=p[N],N+3<Z&&(W+=p[N+3]<<24>>>0)):(N+1<Z&&(W=p[N+1]<<16),N+2<Z&&(W|=p[N+2]<<8),N+3<Z&&(W|=p[N+3]),W+=p[N]<<24>>>0),W}function T(p,N,q,Q){if(Q||(j(typeof q=="boolean","missing or invalid endian"),j(N!=null,"missing offset"),j(N+1<p.length,"Trying to read beyond buffer length")),!(p.length<=N))return Q=U(p,N,q,!0),32768&Q?-1*(65535-Q+1):Q}function P(p,N,q,Q){if(Q||(j(typeof q=="boolean","missing or invalid endian"),j(N!=null,"missing offset"),j(N+3<p.length,"Trying to read beyond buffer length")),!(p.length<=N))return Q=B(p,N,q,!0),2147483648&Q?-1*(4294967295-Q+1):Q}function f(p,N,q,Q){return Q||(j(typeof q=="boolean","missing or invalid endian"),j(N+3<p.length,"Trying to read beyond buffer length")),x.read(p,N,q,23,4)}function y(p,N,q,Q){return Q||(j(typeof q=="boolean","missing or invalid endian"),j(N+7<p.length,"Trying to read beyond buffer length")),x.read(p,N,q,52,8)}function d(p,N,q,Q,W){if(W||(j(N!=null,"missing value"),j(typeof Q=="boolean","missing or invalid endian"),j(q!=null,"missing offset"),j(q+1<p.length,"trying to write beyond buffer length"),S(N,65535)),W=p.length,!(W<=q))for(var Z=0,J=Math.min(W-q,2);Z<J;Z++)p[q+Z]=(N&255<<8*(Q?Z:1-Z))>>>8*(Q?Z:1-Z)}function h(p,N,q,Q,W){if(W||(j(N!=null,"missing value"),j(typeof Q=="boolean","missing or invalid endian"),j(q!=null,"missing offset"),j(q+3<p.length,"trying to write beyond buffer length"),S(N,4294967295)),W=p.length,!(W<=q))for(var Z=0,J=Math.min(W-q,4);Z<J;Z++)p[q+Z]=N>>>8*(Q?Z:3-Z)&255}function m(p,N,q,Q,W){W||(j(N!=null,"missing value"),j(typeof Q=="boolean","missing or invalid endian"),j(q!=null,"missing offset"),j(q+1<p.length,"Trying to write beyond buffer length"),_(N,32767,-32768)),p.length<=q||d(p,0<=N?N:65535+N+1,q,Q,W)}function O(p,N,q,Q,W){W||(j(N!=null,"missing value"),j(typeof Q=="boolean","missing or invalid endian"),j(q!=null,"missing offset"),j(q+3<p.length,"Trying to write beyond buffer length"),_(N,2147483647,-2147483648)),p.length<=q||h(p,0<=N?N:4294967295+N+1,q,Q,W)}function M(p,N,q,Q,W){W||(j(N!=null,"missing value"),j(typeof Q=="boolean","missing or invalid endian"),j(q!=null,"missing offset"),j(q+3<p.length,"Trying to write beyond buffer length"),F(N,34028234663852886e22,-34028234663852886e22)),p.length<=q||x.write(p,N,q,Q,23,4)}function D(p,N,q,Q,W){W||(j(N!=null,"missing value"),j(typeof Q=="boolean","missing or invalid endian"),j(q!=null,"missing offset"),j(q+7<p.length,"Trying to write beyond buffer length"),F(N,17976931348623157e292,-17976931348623157e292)),p.length<=q||x.write(p,N,q,Q,52,8)}i.Buffer=C,i.SlowBuffer=C,i.INSPECT_MAX_BYTES=50,C.poolSize=8192,C._useTypedArrays=function(){try{var p=new ArrayBuffer(0),N=new Uint8Array(p);return N.foo=function(){return 42},N.foo()===42&&typeof N.subarray=="function"}catch{return!1}}(),C.isEncoding=function(p){switch(String(p).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},C.isBuffer=function(p){return!(p==null||!p._isBuffer)},C.byteLength=function(p,N){var q;switch(p+="",N||"utf8"){case"hex":q=p.length/2;break;case"utf8":case"utf-8":q=E(p).length;break;case"ascii":case"binary":case"raw":q=p.length;break;case"base64":q=A(p).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":q=2*p.length;break;default:throw new Error("Unknown encoding")}return q},C.concat=function(p,N){if(j(R(p),`Usage: Buffer.concat(list, [totalLength])
994
994
  list should be an Array.`),p.length===0)return new C(0);if(p.length===1)return p[0];if(typeof N!="number")for(W=N=0;W<p.length;W++)N+=p[W].length;for(var q=new C(N),Q=0,W=0;W<p.length;W++){var Z=p[W];Z.copy(q,Q),Q+=Z.length}return q},C.prototype.write=function(p,N,q,Q){isFinite(N)?isFinite(q)||(Q=q,q=void 0):(oe=Q,Q=N,N=q,q=oe),N=Number(N)||0;var W,Z,J,ie,oe=this.length-N;switch((!q||oe<(q=Number(q)))&&(q=oe),Q=String(Q||"utf8").toLowerCase()){case"hex":W=function(te,ne,re,ue){re=Number(re)||0;var ce=te.length-re;(!ue||ce<(ue=Number(ue)))&&(ue=ce),j((ce=ne.length)%2==0,"Invalid hex string"),ce/2<ue&&(ue=ce/2);for(var le=0;le<ue;le++){var he=parseInt(ne.substr(2*le,2),16);j(!isNaN(he),"Invalid hex string"),te[re+le]=he}return C._charsWritten=2*le,le}(this,p,N,q);break;case"utf8":case"utf-8":Z=this,J=N,ie=q,W=C._charsWritten=v(E(p),Z,J,ie);break;case"ascii":case"binary":W=H(this,p,N,q);break;case"base64":Z=this,J=N,ie=q,W=C._charsWritten=v(A(p),Z,J,ie);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":W=G(this,p,N,q);break;default:throw new Error("Unknown encoding")}return W},C.prototype.toString=function(p,N,q){var Q,W,Z,J,ie=this;if(p=String(p||"utf8").toLowerCase(),N=Number(N)||0,(q=q!==void 0?Number(q):ie.length)===N)return"";switch(p){case"hex":Q=function(oe,te,ne){var re=oe.length;(!te||te<0)&&(te=0),(!ne||ne<0||re<ne)&&(ne=re);for(var ue="",ce=te;ce<ne;ce++)ue+=I(oe[ce]);return ue}(ie,N,q);break;case"utf8":case"utf-8":Q=function(oe,te,ne){var re="",ue="";ne=Math.min(oe.length,ne);for(var ce=te;ce<ne;ce++)oe[ce]<=127?(re+=k(ue)+String.fromCharCode(oe[ce]),ue=""):ue+="%"+oe[ce].toString(16);return re+k(ue)}(ie,N,q);break;case"ascii":case"binary":Q=$(ie,N,q);break;case"base64":W=ie,J=q,Q=(Z=N)===0&&J===W.length?w.fromByteArray(W):w.fromByteArray(W.slice(Z,J));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":Q=function(oe,te,ne){for(var re=oe.slice(te,ne),ue="",ce=0;ce<re.length;ce+=2)ue+=String.fromCharCode(re[ce]+256*re[ce+1]);return ue}(ie,N,q);break;default:throw new Error("Unknown encoding")}return Q},C.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},C.prototype.copy=function(p,N,q,Q){if(N=N||0,(Q=Q||Q===0?Q:this.length)!==(q=q||0)&&p.length!==0&&this.length!==0){j(q<=Q,"sourceEnd < sourceStart"),j(0<=N&&N<p.length,"targetStart out of bounds"),j(0<=q&&q<this.length,"sourceStart out of bounds"),j(0<=Q&&Q<=this.length,"sourceEnd out of bounds"),Q>this.length&&(Q=this.length);var W=(Q=p.length-N<Q-q?p.length-N+q:Q)-q;if(W<100||!C._useTypedArrays)for(var Z=0;Z<W;Z++)p[Z+N]=this[Z+q];else p._set(this.subarray(q,q+W),N)}},C.prototype.slice=function(p,N){var q=this.length;if(p=X(p,q,0),N=X(N,q,q),C._useTypedArrays)return C._augment(this.subarray(p,N));for(var Q=N-p,W=new C(Q,void 0,!0),Z=0;Z<Q;Z++)W[Z]=this[Z+p];return W},C.prototype.get=function(p){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(p)},C.prototype.set=function(p,N){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(p,N)},C.prototype.readUInt8=function(p,N){if(N||(j(p!=null,"missing offset"),j(p<this.length,"Trying to read beyond buffer length")),!(p>=this.length))return this[p]},C.prototype.readUInt16LE=function(p,N){return U(this,p,!0,N)},C.prototype.readUInt16BE=function(p,N){return U(this,p,!1,N)},C.prototype.readUInt32LE=function(p,N){return B(this,p,!0,N)},C.prototype.readUInt32BE=function(p,N){return B(this,p,!1,N)},C.prototype.readInt8=function(p,N){if(N||(j(p!=null,"missing offset"),j(p<this.length,"Trying to read beyond buffer length")),!(p>=this.length))return 128&this[p]?-1*(255-this[p]+1):this[p]},C.prototype.readInt16LE=function(p,N){return T(this,p,!0,N)},C.prototype.readInt16BE=function(p,N){return T(this,p,!1,N)},C.prototype.readInt32LE=function(p,N){return P(this,p,!0,N)},C.prototype.readInt32BE=function(p,N){return P(this,p,!1,N)},C.prototype.readFloatLE=function(p,N){return f(this,p,!0,N)},C.prototype.readFloatBE=function(p,N){return f(this,p,!1,N)},C.prototype.readDoubleLE=function(p,N){return y(this,p,!0,N)},C.prototype.readDoubleBE=function(p,N){return y(this,p,!1,N)},C.prototype.writeUInt8=function(p,N,q){q||(j(p!=null,"missing value"),j(N!=null,"missing offset"),j(N<this.length,"trying to write beyond buffer length"),S(p,255)),N>=this.length||(this[N]=p)},C.prototype.writeUInt16LE=function(p,N,q){d(this,p,N,!0,q)},C.prototype.writeUInt16BE=function(p,N,q){d(this,p,N,!1,q)},C.prototype.writeUInt32LE=function(p,N,q){h(this,p,N,!0,q)},C.prototype.writeUInt32BE=function(p,N,q){h(this,p,N,!1,q)},C.prototype.writeInt8=function(p,N,q){q||(j(p!=null,"missing value"),j(N!=null,"missing offset"),j(N<this.length,"Trying to write beyond buffer length"),_(p,127,-128)),N>=this.length||(0<=p?this.writeUInt8(p,N,q):this.writeUInt8(255+p+1,N,q))},C.prototype.writeInt16LE=function(p,N,q){m(this,p,N,!0,q)},C.prototype.writeInt16BE=function(p,N,q){m(this,p,N,!1,q)},C.prototype.writeInt32LE=function(p,N,q){O(this,p,N,!0,q)},C.prototype.writeInt32BE=function(p,N,q){O(this,p,N,!1,q)},C.prototype.writeFloatLE=function(p,N,q){M(this,p,N,!0,q)},C.prototype.writeFloatBE=function(p,N,q){M(this,p,N,!1,q)},C.prototype.writeDoubleLE=function(p,N,q){D(this,p,N,!0,q)},C.prototype.writeDoubleBE=function(p,N,q){D(this,p,N,!1,q)},C.prototype.fill=function(p,N,q){if(N=N||0,q=q||this.length,j(typeof(p=typeof(p=p||0)=="string"?p.charCodeAt(0):p)=="number"&&!isNaN(p),"value is not a number"),j(N<=q,"end < start"),q!==N&&this.length!==0){j(0<=N&&N<this.length,"start out of bounds"),j(0<=q&&q<=this.length,"end out of bounds");for(var Q=N;Q<q;Q++)this[Q]=p}},C.prototype.inspect=function(){for(var p=[],N=this.length,q=0;q<N;q++)if(p[q]=I(this[q]),q===i.INSPECT_MAX_BYTES){p[q+1]="...";break}return"<Buffer "+p.join(" ")+">"},C.prototype.toArrayBuffer=function(){if(typeof Uint8Array>"u")throw new Error("Buffer.toArrayBuffer not supported in this browser");if(C._useTypedArrays)return new C(this).buffer;for(var p=new Uint8Array(this.length),N=0,q=p.length;N<q;N+=1)p[N]=this[N];return p.buffer};var Y=C.prototype;function X(p,N,q){return typeof p!="number"?q:N<=(p=~~p)?N:0<=p||0<=(p+=N)?p:0}function V(p){return(p=~~Math.ceil(+p))<0?0:p}function R(p){return(Array.isArray||function(N){return Object.prototype.toString.call(N)==="[object Array]"})(p)}function I(p){return p<16?"0"+p.toString(16):p.toString(16)}function E(p){for(var N=[],q=0;q<p.length;q++){var Q=p.charCodeAt(q);if(Q<=127)N.push(p.charCodeAt(q));else for(var W=q,Z=(55296<=Q&&Q<=57343&&q++,encodeURIComponent(p.slice(W,q+1)).substr(1).split("%")),J=0;J<Z.length;J++)N.push(parseInt(Z[J],16))}return N}function A(p){return w.toByteArray(p)}function v(p,N,q,Q){for(var W=0;W<Q&&!(W+q>=N.length||W>=p.length);W++)N[W+q]=p[W];return W}function k(p){try{return decodeURIComponent(p)}catch{return"�"}}function S(p,N){j(typeof p=="number","cannot write a non-number as a number"),j(0<=p,"specified a negative value for writing an unsigned value"),j(p<=N,"value is larger than maximum value for type"),j(Math.floor(p)===p,"value has a fractional component")}function _(p,N,q){j(typeof p=="number","cannot write a non-number as a number"),j(p<=N,"value larger than maximum allowed value"),j(q<=p,"value smaller than minimum allowed value"),j(Math.floor(p)===p,"value has a fractional component")}function F(p,N,q){j(typeof p=="number","cannot write a non-number as a number"),j(p<=N,"value larger than maximum allowed value"),j(q<=p,"value smaller than minimum allowed value")}function j(p,N){if(!p)throw new Error(N||"Failed assertion")}C._augment=function(p){return p._isBuffer=!0,p._get=p.get,p._set=p.set,p.get=Y.get,p.set=Y.set,p.write=Y.write,p.toString=Y.toString,p.toLocaleString=Y.toString,p.toJSON=Y.toJSON,p.copy=Y.copy,p.slice=Y.slice,p.readUInt8=Y.readUInt8,p.readUInt16LE=Y.readUInt16LE,p.readUInt16BE=Y.readUInt16BE,p.readUInt32LE=Y.readUInt32LE,p.readUInt32BE=Y.readUInt32BE,p.readInt8=Y.readInt8,p.readInt16LE=Y.readInt16LE,p.readInt16BE=Y.readInt16BE,p.readInt32LE=Y.readInt32LE,p.readInt32BE=Y.readInt32BE,p.readFloatLE=Y.readFloatLE,p.readFloatBE=Y.readFloatBE,p.readDoubleLE=Y.readDoubleLE,p.readDoubleBE=Y.readDoubleBE,p.writeUInt8=Y.writeUInt8,p.writeUInt16LE=Y.writeUInt16LE,p.writeUInt16BE=Y.writeUInt16BE,p.writeUInt32LE=Y.writeUInt32LE,p.writeUInt32BE=Y.writeUInt32BE,p.writeInt8=Y.writeInt8,p.writeInt16LE=Y.writeInt16LE,p.writeInt16BE=Y.writeInt16BE,p.writeInt32LE=Y.writeInt32LE,p.writeInt32BE=Y.writeInt32BE,p.writeFloatLE=Y.writeFloatLE,p.writeFloatBE=Y.writeFloatBE,p.writeDoubleLE=Y.writeDoubleLE,p.writeDoubleBE=Y.writeDoubleBE,p.fill=Y.fill,p.inspect=Y.inspect,p.toArrayBuffer=Y.toArrayBuffer,p}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(n,r,i){(function(o,a,w,c,l,g,b,u,z){var w=n("buffer").Buffer,x=4,C=new w(x);C.fill(0),r.exports={hash:function(H,G,$,U){for(var B=G(function(d,h){d.length%x!=0&&(m=d.length+(x-d.length%x),d=w.concat([d,C],m));for(var m,O=[],M=h?d.readInt32BE:d.readInt32LE,D=0;D<d.length;D+=x)O.push(M.call(d,D));return O}(H=w.isBuffer(H)?H:new w(H),U),8*H.length),G=U,T=new w($),P=G?T.writeInt32BE:T.writeInt32LE,f=0;f<B.length;f++)P.call(T,B[f],4*f,!0);return T}}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],5:[function(n,r,i){(function(o,a,w,c,l,g,b,u,z){var w=n("buffer").Buffer,x=n("./sha"),C=n("./sha256"),H=n("./rng"),G={sha1:x,sha256:C,md5:n("./md5")},$=64,U=new w($);function B(d,h){var m=G[d=d||"sha1"],O=[];return m||T("algorithm:",d,"is not yet supported"),{update:function(M){return w.isBuffer(M)||(M=new w(M)),O.push(M),this},digest:function(M){var D=w.concat(O),D=h?function(Y,X,V){w.isBuffer(X)||(X=new w(X)),w.isBuffer(V)||(V=new w(V)),X.length>$?X=Y(X):X.length<$&&(X=w.concat([X,U],$));for(var R=new w($),I=new w($),E=0;E<$;E++)R[E]=54^X[E],I[E]=92^X[E];return V=Y(w.concat([R,V])),Y(w.concat([I,V]))}(m,h,D):m(D);return O=null,M?D.toString(M):D}}}function T(){var d=[].slice.call(arguments).join(" ");throw new Error([d,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
995
995
  `))}U.fill(0),i.createHash=function(d){return B(d)},i.createHmac=B,i.randomBytes=function(d,h){if(!h||!h.call)return new w(H(d));try{h.call(this,void 0,new w(H(d)))}catch(m){h(m)}};var P,f=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],y=function(d){i[d]=function(){T("sorry,",d,"is not implemented yet")}};for(P in f)y(f[P])}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){var w=n("./helpers");function x(T,P){T[P>>5]|=128<<P%32,T[14+(P+64>>>9<<4)]=P;for(var f=1732584193,y=-271733879,d=-1732584194,h=271733878,m=0;m<T.length;m+=16){var O=f,M=y,D=d,Y=h,f=H(f,y,d,h,T[m+0],7,-680876936),h=H(h,f,y,d,T[m+1],12,-389564586),d=H(d,h,f,y,T[m+2],17,606105819),y=H(y,d,h,f,T[m+3],22,-1044525330);f=H(f,y,d,h,T[m+4],7,-176418897),h=H(h,f,y,d,T[m+5],12,1200080426),d=H(d,h,f,y,T[m+6],17,-1473231341),y=H(y,d,h,f,T[m+7],22,-45705983),f=H(f,y,d,h,T[m+8],7,1770035416),h=H(h,f,y,d,T[m+9],12,-1958414417),d=H(d,h,f,y,T[m+10],17,-42063),y=H(y,d,h,f,T[m+11],22,-1990404162),f=H(f,y,d,h,T[m+12],7,1804603682),h=H(h,f,y,d,T[m+13],12,-40341101),d=H(d,h,f,y,T[m+14],17,-1502002290),f=G(f,y=H(y,d,h,f,T[m+15],22,1236535329),d,h,T[m+1],5,-165796510),h=G(h,f,y,d,T[m+6],9,-1069501632),d=G(d,h,f,y,T[m+11],14,643717713),y=G(y,d,h,f,T[m+0],20,-373897302),f=G(f,y,d,h,T[m+5],5,-701558691),h=G(h,f,y,d,T[m+10],9,38016083),d=G(d,h,f,y,T[m+15],14,-660478335),y=G(y,d,h,f,T[m+4],20,-405537848),f=G(f,y,d,h,T[m+9],5,568446438),h=G(h,f,y,d,T[m+14],9,-1019803690),d=G(d,h,f,y,T[m+3],14,-187363961),y=G(y,d,h,f,T[m+8],20,1163531501),f=G(f,y,d,h,T[m+13],5,-1444681467),h=G(h,f,y,d,T[m+2],9,-51403784),d=G(d,h,f,y,T[m+7],14,1735328473),f=$(f,y=G(y,d,h,f,T[m+12],20,-1926607734),d,h,T[m+5],4,-378558),h=$(h,f,y,d,T[m+8],11,-2022574463),d=$(d,h,f,y,T[m+11],16,1839030562),y=$(y,d,h,f,T[m+14],23,-35309556),f=$(f,y,d,h,T[m+1],4,-1530992060),h=$(h,f,y,d,T[m+4],11,1272893353),d=$(d,h,f,y,T[m+7],16,-155497632),y=$(y,d,h,f,T[m+10],23,-1094730640),f=$(f,y,d,h,T[m+13],4,681279174),h=$(h,f,y,d,T[m+0],11,-358537222),d=$(d,h,f,y,T[m+3],16,-722521979),y=$(y,d,h,f,T[m+6],23,76029189),f=$(f,y,d,h,T[m+9],4,-640364487),h=$(h,f,y,d,T[m+12],11,-421815835),d=$(d,h,f,y,T[m+15],16,530742520),f=U(f,y=$(y,d,h,f,T[m+2],23,-995338651),d,h,T[m+0],6,-198630844),h=U(h,f,y,d,T[m+7],10,1126891415),d=U(d,h,f,y,T[m+14],15,-1416354905),y=U(y,d,h,f,T[m+5],21,-57434055),f=U(f,y,d,h,T[m+12],6,1700485571),h=U(h,f,y,d,T[m+3],10,-1894986606),d=U(d,h,f,y,T[m+10],15,-1051523),y=U(y,d,h,f,T[m+1],21,-2054922799),f=U(f,y,d,h,T[m+8],6,1873313359),h=U(h,f,y,d,T[m+15],10,-30611744),d=U(d,h,f,y,T[m+6],15,-1560198380),y=U(y,d,h,f,T[m+13],21,1309151649),f=U(f,y,d,h,T[m+4],6,-145523070),h=U(h,f,y,d,T[m+11],10,-1120210379),d=U(d,h,f,y,T[m+2],15,718787259),y=U(y,d,h,f,T[m+9],21,-343485551),f=B(f,O),y=B(y,M),d=B(d,D),h=B(h,Y)}return Array(f,y,d,h)}function C(T,P,f,y,d,h){return B((P=B(B(P,T),B(y,h)))<<d|P>>>32-d,f)}function H(T,P,f,y,d,h,m){return C(P&f|~P&y,T,P,d,h,m)}function G(T,P,f,y,d,h,m){return C(P&y|f&~y,T,P,d,h,m)}function $(T,P,f,y,d,h,m){return C(P^f^y,T,P,d,h,m)}function U(T,P,f,y,d,h,m){return C(f^(P|~y),T,P,d,h,m)}function B(T,P){var f=(65535&T)+(65535&P);return(T>>16)+(P>>16)+(f>>16)<<16|65535&f}r.exports=function(T){return w.hash(T,x,16)}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){r.exports=function(w){for(var x,C=new Array(w),H=0;H<w;H++)!(3&H)&&(x=4294967296*Math.random()),C[H]=x>>>((3&H)<<3)&255;return C}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){var w=n("./helpers");function x(G,$){G[$>>5]|=128<<24-$%32,G[15+($+64>>9<<4)]=$;for(var U,B,T,P=Array(80),f=1732584193,y=-271733879,d=-1732584194,h=271733878,m=-1009589776,O=0;O<G.length;O+=16){for(var M=f,D=y,Y=d,X=h,V=m,R=0;R<80;R++){P[R]=R<16?G[O+R]:H(P[R-3]^P[R-8]^P[R-14]^P[R-16],1);var I=C(C(H(f,5),(I=y,B=d,T=h,(U=R)<20?I&B|~I&T:!(U<40)&&U<60?I&B|I&T|B&T:I^B^T)),C(C(m,P[R]),(U=R)<20?1518500249:U<40?1859775393:U<60?-1894007588:-899497514)),m=h,h=d,d=H(y,30),y=f,f=I}f=C(f,M),y=C(y,D),d=C(d,Y),h=C(h,X),m=C(m,V)}return Array(f,y,d,h,m)}function C(G,$){var U=(65535&G)+(65535&$);return(G>>16)+($>>16)+(U>>16)<<16|65535&U}function H(G,$){return G<<$|G>>>32-$}r.exports=function(G){return w.hash(G,x,20,!0)}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){function w($,U){var B=(65535&$)+(65535&U);return($>>16)+(U>>16)+(B>>16)<<16|65535&B}function x($,U){var B,T=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),P=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),f=new Array(64);$[U>>5]|=128<<24-U%32,$[15+(U+64>>9<<4)]=U;for(var y,d,h=0;h<$.length;h+=16){for(var m=P[0],O=P[1],M=P[2],D=P[3],Y=P[4],X=P[5],V=P[6],R=P[7],I=0;I<64;I++)f[I]=I<16?$[I+h]:w(w(w((d=f[I-2],H(d,17)^H(d,19)^G(d,10)),f[I-7]),(d=f[I-15],H(d,7)^H(d,18)^G(d,3))),f[I-16]),B=w(w(w(w(R,H(d=Y,6)^H(d,11)^H(d,25)),Y&X^~Y&V),T[I]),f[I]),y=w(H(y=m,2)^H(y,13)^H(y,22),m&O^m&M^O&M),R=V,V=X,X=Y,Y=w(D,B),D=M,M=O,O=m,m=w(B,y);P[0]=w(m,P[0]),P[1]=w(O,P[1]),P[2]=w(M,P[2]),P[3]=w(D,P[3]),P[4]=w(Y,P[4]),P[5]=w(X,P[5]),P[6]=w(V,P[6]),P[7]=w(R,P[7])}return P}var C=n("./helpers"),H=function($,U){return $>>>U|$<<32-U},G=function($,U){return $>>>U};r.exports=function($){return C.hash($,x,32,!0)}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){i.read=function(w,x,C,H,h){var $,U,B=8*h-H-1,T=(1<<B)-1,P=T>>1,f=-7,y=C?h-1:0,d=C?-1:1,h=w[x+y];for(y+=d,$=h&(1<<-f)-1,h>>=-f,f+=B;0<f;$=256*$+w[x+y],y+=d,f-=8);for(U=$&(1<<-f)-1,$>>=-f,f+=H;0<f;U=256*U+w[x+y],y+=d,f-=8);if($===0)$=1-P;else{if($===T)return U?NaN:1/0*(h?-1:1);U+=Math.pow(2,H),$-=P}return(h?-1:1)*U*Math.pow(2,$-H)},i.write=function(w,x,C,H,G,m){var U,B,T=8*m-G-1,P=(1<<T)-1,f=P>>1,y=G===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=H?0:m-1,h=H?1:-1,m=x<0||x===0&&1/x<0?1:0;for(x=Math.abs(x),isNaN(x)||x===1/0?(B=isNaN(x)?1:0,U=P):(U=Math.floor(Math.log(x)/Math.LN2),x*(H=Math.pow(2,-U))<1&&(U--,H*=2),2<=(x+=1<=U+f?y/H:y*Math.pow(2,1-f))*H&&(U++,H/=2),P<=U+f?(B=0,U=P):1<=U+f?(B=(x*H-1)*Math.pow(2,G),U+=f):(B=x*Math.pow(2,f-1)*Math.pow(2,G),U=0));8<=G;w[C+d]=255&B,d+=h,B/=256,G-=8);for(U=U<<G|B,T+=G;0<T;w[C+d]=255&U,d+=h,U/=256,T-=8);w[C+d-h]|=128*m}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(n,r,i){(function(o,a,s,c,l,g,b,u,z){var w,x,C;function H(){}(o=r.exports={}).nextTick=(x=typeof window<"u"&&window.setImmediate,C=typeof window<"u"&&window.postMessage&&window.addEventListener,x?function(G){return window.setImmediate(G)}:C?(w=[],window.addEventListener("message",function(G){var $=G.source;$!==window&&$!==null||G.data!=="process-tick"||(G.stopPropagation(),0<w.length&&w.shift()())},!0),function(G){w.push(G),window.postMessage("process-tick","*")}):function(G){setTimeout(G,0)}),o.title="browser",o.browser=!0,o.env={},o.argv=[],o.on=H,o.addListener=H,o.once=H,o.off=H,o.removeListener=H,o.removeAllListeners=H,o.emit=H,o.binding=function(G){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(G){throw new Error("process.chdir is not supported")}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)})}(wSt)),h3}_St();var YP,uq;function SSt(){if(uq)return YP;uq=1;function e(t,n){for(var r=-1,i=t==null?0:t.length;++r<i&&n(t[r],r,t)!==!1;);return t}return YP=e,YP}var GP,dq;function gce(){if(dq)return GP;dq=1;var e=jz(),t=SR(),n=Object.prototype,r=n.hasOwnProperty;function i(o,a,s){var c=o[a];(!(r.call(o,a)&&t(c,s))||s===void 0&&!(a in o))&&e(o,a,s)}return GP=i,GP}var $P,hq;function j2(){if(hq)return $P;hq=1;var e=gce(),t=jz();function n(r,i,o,a){var s=!o;o||(o={});for(var c=-1,l=i.length;++c<l;){var g=i[c],b=a?a(o[g],r[g],g,o,r):void 0;b===void 0&&(b=r[g]),s?t(o,g,b):e(o,g,b)}return o}return $P=n,$P}var qP,pq;function CSt(){if(pq)return qP;pq=1;var e=j2(),t=qb();function n(r,i){return r&&e(i,t(i),r)}return qP=n,qP}var XP,fq;function kSt(){if(fq)return XP;fq=1;function e(t){var n=[];if(t!=null)for(var r in Object(t))n.push(r);return n}return XP=e,XP}var ZP,gq;function MSt(){if(gq)return ZP;gq=1;var e=Dh(),t=DR(),n=kSt(),r=Object.prototype,i=r.hasOwnProperty;function o(a){if(!e(a))return n(a);var s=t(a),c=[];for(var l in a)l=="constructor"&&(s||!i.call(a,l))||c.push(l);return c}return ZP=o,ZP}var KP,mq;function Rz(){if(mq)return KP;mq=1;var e=woe(),t=MSt(),n=Soe();function r(i){return n(i)?e(i,!0):t(i)}return KP=r,KP}var QP,vq;function TSt(){if(vq)return QP;vq=1;var e=j2(),t=Rz();function n(r,i){return r&&e(i,t(i),r)}return QP=n,QP}var NS={},ASt={get exports(){return NS},set exports(e){NS=e}},yq;function ESt(){return yq||(yq=1,function(e,t){var n=pc(),r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===r,a=o?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;function c(l,g){if(g)return l.slice();var b=l.length,u=s?s(b):new l.constructor(b);return l.copy(u),u}e.exports=c}(ASt,NS)),NS}var JP,bq;function OSt(){if(bq)return JP;bq=1;function e(t,n){var r=-1,i=t.length;for(n||(n=Array(i));++r<i;)n[r]=t[r];return n}return JP=e,JP}var eD,xq;function PSt(){if(xq)return eD;xq=1;var e=j2(),t=TR();function n(r,i){return e(r,t(r),i)}return eD=n,eD}var tD,wq;function mce(){if(wq)return tD;wq=1;var e=_oe(),t=e(Object.getPrototypeOf,Object);return tD=t,tD}var nD,_q;function vce(){if(_q)return nD;_q=1;var e=goe(),t=mce(),n=TR(),r=voe(),i=Object.getOwnPropertySymbols,o=i?function(a){for(var s=[];a;)e(s,n(a)),a=t(a);return s}:r;return nD=o,nD}var rD,Sq;function DSt(){if(Sq)return rD;Sq=1;var e=j2(),t=vce();function n(r,i){return e(r,t(r),i)}return rD=n,rD}var iD,Cq;function LSt(){if(Cq)return iD;Cq=1;var e=moe(),t=vce(),n=Rz();function r(i){return e(i,n,t)}return iD=r,iD}var oD,kq;function NSt(){if(kq)return oD;kq=1;var e=Object.prototype,t=e.hasOwnProperty;function n(r){var i=r.length,o=new r.constructor(i);return i&&typeof r[0]=="string"&&t.call(r,"index")&&(o.index=r.index,o.input=r.input),o}return oD=n,oD}var aD,Mq;function zz(){if(Mq)return aD;Mq=1;var e=foe();function t(n){var r=new n.constructor(n.byteLength);return new e(r).set(new e(n)),r}return aD=t,aD}var sD,Tq;function jSt(){if(Tq)return sD;Tq=1;var e=zz();function t(n,r){var i=r?e(n.buffer):n.buffer;return new n.constructor(i,n.byteOffset,n.byteLength)}return sD=t,sD}var lD,Aq;function ISt(){if(Aq)return lD;Aq=1;var e=/\w*$/;function t(n){var r=new n.constructor(n.source,e.exec(n));return r.lastIndex=n.lastIndex,r}return lD=t,lD}var cD,Eq;function RSt(){if(Eq)return cD;Eq=1;var e=Gb(),t=e?e.prototype:void 0,n=t?t.valueOf:void 0;function r(i){return n?Object(n.call(i)):{}}return cD=r,cD}var uD,Oq;function zSt(){if(Oq)return uD;Oq=1;var e=zz();function t(n,r){var i=r?e(n.buffer):n.buffer;return new n.constructor(i,n.byteOffset,n.length)}return uD=t,uD}var dD,Pq;function BSt(){if(Pq)return dD;Pq=1;var e=zz(),t=jSt(),n=ISt(),r=RSt(),i=zSt(),o="[object Boolean]",a="[object Date]",s="[object Map]",c="[object Number]",l="[object RegExp]",g="[object Set]",b="[object String]",u="[object Symbol]",z="[object ArrayBuffer]",w="[object DataView]",x="[object Float32Array]",C="[object Float64Array]",H="[object Int8Array]",G="[object Int16Array]",$="[object Int32Array]",U="[object Uint8Array]",B="[object Uint8ClampedArray]",T="[object Uint16Array]",P="[object Uint32Array]";function f(y,d,h){var m=y.constructor;switch(d){case z:return e(y);case o:case a:return new m(+y);case w:return t(y,h);case x:case C:case H:case G:case $:case U:case B:case T:case P:return i(y,h);case s:return new m;case c:case b:return new m(y);case l:return n(y);case g:return new m;case u:return r(y)}}return dD=f,dD}var hD,Dq;function FSt(){if(Dq)return hD;Dq=1;var e=Dh(),t=Object.create,n=function(){function r(){}return function(i){if(!e(i))return{};if(t)return t(i);r.prototype=i;var o=new r;return r.prototype=void 0,o}}();return hD=n,hD}var pD,Lq;function WSt(){if(Lq)return pD;Lq=1;var e=FSt(),t=mce(),n=DR();function r(i){return typeof i.constructor=="function"&&!n(i)?e(t(i)):{}}return pD=r,pD}var fD,Nq;function HSt(){if(Nq)return fD;Nq=1;var e=Hk(),t=_f(),n="[object Map]";function r(i){return t(i)&&e(i)==n}return fD=r,fD}var gD,jq;function USt(){if(jq)return gD;jq=1;var e=HSt(),t=OR(),n=PR(),r=n&&n.isMap,i=r?t(r):e;return gD=i,gD}var mD,Iq;function VSt(){if(Iq)return mD;Iq=1;var e=Hk(),t=_f(),n="[object Set]";function r(i){return t(i)&&e(i)==n}return mD=r,mD}var vD,Rq;function YSt(){if(Rq)return vD;Rq=1;var e=VSt(),t=OR(),n=PR(),r=n&&n.isSet,i=r?t(r):e;return vD=i,vD}var yD,zq;function GSt(){if(zq)return yD;zq=1;var e=MR(),t=SSt(),n=gce(),r=CSt(),i=TSt(),o=ESt(),a=OSt(),s=PSt(),c=DSt(),l=Coe(),g=LSt(),b=Hk(),u=NSt(),z=BSt(),w=WSt(),x=ld(),C=AR(),H=USt(),G=Dh(),$=YSt(),U=qb(),B=Rz(),T=1,P=2,f=4,y="[object Arguments]",d="[object Array]",h="[object Boolean]",m="[object Date]",O="[object Error]",M="[object Function]",D="[object GeneratorFunction]",Y="[object Map]",X="[object Number]",V="[object Object]",R="[object RegExp]",I="[object Set]",E="[object String]",A="[object Symbol]",v="[object WeakMap]",k="[object ArrayBuffer]",S="[object DataView]",_="[object Float32Array]",F="[object Float64Array]",j="[object Int8Array]",p="[object Int16Array]",N="[object Int32Array]",q="[object Uint8Array]",Q="[object Uint8ClampedArray]",W="[object Uint16Array]",Z="[object Uint32Array]",J={};J[y]=J[d]=J[k]=J[S]=J[h]=J[m]=J[_]=J[F]=J[j]=J[p]=J[N]=J[Y]=J[X]=J[V]=J[R]=J[I]=J[E]=J[A]=J[q]=J[Q]=J[W]=J[Z]=!0,J[O]=J[M]=J[v]=!1;function ie(oe,te,ne,re,ue,ce){var le,he=te&T,ge=te&P,fe=te&f;if(ne&&(le=ue?ne(oe,re,ue,ce):ne(oe)),le!==void 0)return le;if(!G(oe))return oe;var xe=x(oe);if(xe){if(le=u(oe),!he)return a(oe,le)}else{var we=b(oe),Te=we==M||we==D;if(C(oe))return o(oe,he);if(we==V||we==y||Te&&!ue){if(le=ge||Te?{}:w(oe),!he)return ge?c(oe,i(le,oe)):s(oe,r(le,oe))}else{if(!J[we])return ue?oe:{};le=z(oe,we,he)}}ce||(ce=new e);var Ae=ce.get(oe);if(Ae)return Ae;ce.set(oe,le),$(oe)?oe.forEach(function(Ce){le.add(ie(Ce,te,ne,Ce,oe,ce))}):H(oe)&&oe.forEach(function(Ce,ve){le.set(ve,ie(Ce,te,ne,ve,oe,ce))});var De=fe?ge?g:l:ge?B:U,Oe=xe?void 0:De(oe);return t(Oe||oe,function(Ce,ve){Oe&&(ve=Ce,Ce=oe[ve]),n(le,ve,ie(Ce,te,ne,ve,oe,ce))}),le}return yD=ie,yD}var bD,Bq;function $St(){if(Bq)return bD;Bq=1;var e=GSt(),t=1,n=4;function r(i){return e(i,t|n)}return bD=r,bD}$St();var zw;(function(e){e.INCLUDE_ALL="INCLUDE_ALL",e.ADVANCED="ADVANCED",e.INVALID="INVALID",e.CONDITION="CONDITION",e.SPECIFIC_ITEMS="SPECIFIC_ITEMS"})(zw=zw||(zw={}));var Bw;(function(e){e.PERIOD="PERIOD",e.DATE_RANGE="DATE_RANGE"})(Bw=Bw||(Bw={}));var Fw;(function(e){e.NUMERIC_RANGE="NUMERIC_RANGE"})(Fw=Fw||(Fw={}));var xD;(function(e){e.YEARS="years",e.QUARTERS="quarters",e.MONTHS="months",e.WEEKS="weeks",e.DAYS="days",e.HOURS="hours",e.MINUTES="minutes"})(xD=xD||(xD={}));var wD;(function(e){e.DATE_TIME="datetime",e.NUMERIC="numeric",e.TEXT="text"})(wD=wD||(wD={}));Object.assign(Object.assign(Object.assign({},zw),Bw),Fw);var _D;(function(e){e.IS="members",e.IS_NOT="exclude",e.IS_WITHIN="isWithin",e.TOP="top",e.BOTTOM="bottom",e.AFTER="after",e.BEFORE="before",e.STARTS_WITH="startsWith",e.DOESNT_START_WITH="doesntStartWith",e.ENDS_WITH="endsWith",e.DOESNT_END_WITH="doesntEndWith",e.CONTAINS="contains",e.DOESNT_CONTAIN="doesntContain",e.EQUALS="equals",e.DOESNT_EQUAL="doesntEqual",e.IS_EMPTY="isEmpty",e.IS_NOT_EMPTY="isNotEmpty",e.GREATER_THAN="fromNotEqual",e.GREATER_THAN_OR_EQUAL="from",e.LESS_THAN="toNotEqual",e.LESS_THAN_OR_EQUAL="to",e.BETWEEN="between",e.IS_NOT_BETWEEN="isNotBetween",e.MULTIPLE_CONDITION="multipleCondition",e.NONE="none"})(_D=_D||(_D={}));const Ep=e=>{if(Array.isArray(e)){const[t,...n]=e;return n.length===0?Ep(t):{operator:"AND",left:Ep(t),right:Ep(n)}}return e};var SD;(function(e){e.and=(t,n)=>({operator:"AND",left:Ep(t),right:Ep(n)}),e.or=(t,n)=>({operator:"OR",left:Ep(t),right:Ep(n)})})(SD=SD||(SD={}));class qSt{constructor(t){ze(this,"dataLoadService"),ze(this,"socket"),this.socket=t}destroy(){}prepareRequest(t){return Promise.resolve(t)}prepareLoadService(t,n=!1){return this.dataLoadService&&(n||this.dataLoadService.isFormattingChanges(t))?this.dataLoadService:new oce(this.socket)}prepareDataService(t){const n=new $a(t);return{loadData:(r,i,o)=>{if(!n)throw new Error('No DataService defined during "prepareDataService"');return n.loadData(r,{pageSize:i,isPaginated:o})}}}loadInitData(t,n=!0,r=100,i=!1){return coe(this,null,function*(){const o=n?r:void 0;try{const a=yield this.prepareRequest(t);this.dataLoadService=this.prepareLoadService(a,i);const{loadData:s}=this.prepareDataService(this.dataLoadService),{rowsTreeService:c,columnsTreeService:l,cornerTreeService:g,isLastPage:b}=yield s(i?void 0:a,o,n);return this.transformTreeStructuresToResultData({rowsTreeService:c,columnsTreeService:l,cornerTreeService:g,isLastPage:b})}catch(a){console.error('Error during loading initial page"',a)}return P$})}buildColumnsHelper(t,n,r,i){var o;const a=`${r}${r===""?"":" | "}${(o=i.value)==null?void 0:o.toString()}`;i.children?i.children.forEach(s=>{this.buildColumnsHelper(t,n,a,s)}):n.push({name:a,type:t})}transformGridToColumns(t,n){const r=[];return n==null||n[0].forEach(i=>{typeof i!="string"&&this.buildColumnsHelper(t,r,"",i)}),r||[]}transformTreeStructuresToResultData(t){const{rowsTreeService:n,columnsTreeService:r,cornerTreeService:i}=t;if(!n||!r||!i)return P$;let o=[];o=i.getGrid();let a=[];a=r.getGrid();let s=[];s=n.getGrid();const c=this.transformGridToColumns("string",o),l=this.transformGridToColumns("number",a),g=[...c,...l];let b=[];b=n.extractData(r);const u=b.length,z=g.length,w=[];let x=0,C=0;return Array.from(Array(u)).map((H,G)=>{const $=[];Array.from(Array(z)).map((U,B)=>{var T,P;let f;if(B<c.length){x=G,C=B;try{f=s[x][C]}catch{throw new Error(`Can't find data item for ${x}-${C}`)}}else{x=G,C=B-c.length;try{f=b[x][C]}catch{throw new Error(`Can't find data item for ${x}-${C}`)}}let y;if(typeof f=="string"){const d=f.split("-");if(d.length===2){const h=Number(d[0]),m=Number(d[1]);f=s[h][m],y=((T=f.value)==null?void 0:T.toString())||""}else y=""}else y=((P=f.value)==null?void 0:P.toString())||"";$.push({data:y,text:y})}),w.push($)}),{table:{columns:g,rows:w},grids:{corner:o,rows:s,columns:a,values:b}}}}const XSt={errorPrefix:"[request-error]",errors:{networkError:"Network error. Probably you forgot to add your domain to 'CORS Allowed Origins' in Sisense Admin Panel -> Security Settings.",ssoNotEnabled:"SSO is not enabled on target instance, please choose another authentication method.",ssoNoLoginUrl:"Can not fetch login URL on target instance. Check SSO settings.",passwordAuthFailed:"$t(errorPrefix) Username and password authentication was not successful. Check credentials.",tokenAuthFailed:"$t(errorPrefix) Token authentication was not successful. Check credentials.",responseError_onlyStatus:"$t(errorPrefix) Status: {{status}}",responseError_withStatusText:"$t(errorPrefix) Status: {{status}} - {{statusText}}"}},ZSt={errorPrefix:"[request-error]",errors:{networkError:"Помилка мережі. Можливо ви забули додати свій домен до «CORS Allowed Origins» в панелі адміністратора Sisense -> Security Settings.",ssoNotEnabled:"SSO не ввімкнено на цьому сервері, будь ласка, виберіть інший метод аутентифікації",ssoNoLoginUrl:"Неможливо отримати loginUrl з сервера. Перевірте налаштування SSO.",passwordAuthFailed:"$t(errorPrefix) Помилка автентифікації за допомогою імені користувача та пароля. Перевірте дані для входу.",tokenAuthFailed:"$t(errorPrefix) Помилка автентифікації за допомогою токена. Перевірте дані для входу.",responseError_onlyStatus:"$t(errorPrefix) Статус: {{status}}",responseError_withStatusText:"$t(errorPrefix) Статус: {{status}} - {{statusText}}"}},KSt="sdkRestClient",QSt={en:XSt,uk:ZSt};function JSt(){return uce({resource:QSt,language:"en",namespace:KSt})}JSt();function eCt(e){return e.type==="sso"}function tCt(e){return e.type==="bearer"}function nCt(e){return e.type==="wat"}var Po=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global||{},ya={searchParams:"URLSearchParams"in Po,iterable:"Symbol"in Po&&"iterator"in Symbol,blob:"FileReader"in Po&&"Blob"in Po&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in Po,arrayBuffer:"ArrayBuffer"in Po};function rCt(e){return e&&DataView.prototype.isPrototypeOf(e)}if(ya.arrayBuffer)var iCt=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],oCt=ArrayBuffer.isView||function(e){return e&&iCt.indexOf(Object.prototype.toString.call(e))>-1};function sv(e){if(typeof e!="string"&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||e==="")throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Bz(e){return typeof e!="string"&&(e=String(e)),e}function Fz(e){var t={next:function(){var n=e.shift();return{done:n===void 0,value:n}}};return ya.iterable&&(t[Symbol.iterator]=function(){return t}),t}function eo(e){this.map={},e instanceof eo?e.forEach(function(t,n){this.append(n,t)},this):Array.isArray(e)?e.forEach(function(t){if(t.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}eo.prototype.append=function(e,t){e=sv(e),t=Bz(t);var n=this.map[e];this.map[e]=n?n+", "+t:t};eo.prototype.delete=function(e){delete this.map[sv(e)]};eo.prototype.get=function(e){return e=sv(e),this.has(e)?this.map[e]:null};eo.prototype.has=function(e){return this.map.hasOwnProperty(sv(e))};eo.prototype.set=function(e,t){this.map[sv(e)]=Bz(t)};eo.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)};eo.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),Fz(e)};eo.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),Fz(e)};eo.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),Fz(e)};ya.iterable&&(eo.prototype[Symbol.iterator]=eo.prototype.entries);function CD(e){if(!e._noBody){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}}function yce(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function aCt(e){var t=new FileReader,n=yce(t);return t.readAsArrayBuffer(e),n}function sCt(e){var t=new FileReader,n=yce(t),r=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=r?r[1]:"utf-8";return t.readAsText(e,i),n}function lCt(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function Fq(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function bce(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?typeof e=="string"?this._bodyText=e:ya.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:ya.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ya.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ya.arrayBuffer&&ya.blob&&rCt(e)?(this._bodyArrayBuffer=Fq(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ya.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||oCt(e))?this._bodyArrayBuffer=Fq(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof e=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ya.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ya.blob&&(this.blob=function(){var e=CD(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=CD(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(ya.blob)return this.blob().then(aCt);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var e=CD(this);if(e)return e;if(this._bodyBlob)return sCt(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(lCt(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},ya.formData&&(this.formData=function(){return this.text().then(dCt)}),this.json=function(){return this.text().then(JSON.parse)},this}var cCt=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function uCt(e){var t=e.toUpperCase();return cCt.indexOf(t)>-1?t:e}function mh(e,t){if(!(this instanceof mh))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{};var n=t.body;if(e instanceof mh){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new eo(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,!n&&e._bodyInit!=null&&(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new eo(t.headers)),this.method=uCt(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in Po){var o=new AbortController;return o.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),(this.method==="GET"||this.method==="HEAD")&&(t.cache==="no-store"||t.cache==="no-cache")){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,"$1_="+new Date().getTime());else{var i=/\?/;this.url+=(i.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}mh.prototype.clone=function(){return new mh(this,{body:this._bodyInit})};function dCt(e){var t=new FormData;return e.trim().split("&").forEach(function(n){if(n){var r=n.split("="),i=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(o))}}),t}function hCt(e){var t=new eo,n=e.replace(/\r?\n[\t ]+/g," ");return n.split("\r").map(function(r){return r.indexOf(`
996
- `)===0?r.substr(1,r.length):r}).forEach(function(r){var i=r.split(":"),o=i.shift().trim();if(o){var a=i.join(":").trim();try{t.append(o,a)}catch(s){console.warn("Response "+s.message)}}}),t}bce.call(mh.prototype);function cc(e,t){if(!(this instanceof cc))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=t.status===void 0?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText===void 0?"":""+t.statusText,this.headers=new eo(t.headers),this.url=t.url||"",this._initBody(e)}bce.call(cc.prototype);cc.prototype.clone=function(){return new cc(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new eo(this.headers),url:this.url})};cc.error=function(){var e=new cc(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var pCt=[301,302,303,307,308];cc.redirect=function(e,t){if(pCt.indexOf(t)===-1)throw new RangeError("Invalid status code");return new cc(null,{status:t,headers:{location:e}})};var Ud=Po.DOMException;try{new Ud}catch{Ud=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},Ud.prototype=Object.create(Error.prototype),Ud.prototype.constructor=Ud}function Wz(e,t){return new Promise(function(n,r){var i=new mh(e,t);if(i.signal&&i.signal.aborted)return r(new Ud("Aborted","AbortError"));var o=new XMLHttpRequest;function a(){o.abort()}o.onload=function(){var l={statusText:o.statusText,headers:hCt(o.getAllResponseHeaders()||"")};i.url.indexOf("file://")===0&&(o.status<200||o.status>599)?l.status=200:l.status=o.status,l.url="responseURL"in o?o.responseURL:l.headers.get("X-Request-URL");var g="response"in o?o.response:o.responseText;setTimeout(function(){n(new cc(g,l))},0)},o.onerror=function(){setTimeout(function(){r(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){r(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){r(new Ud("Aborted","AbortError"))},0)};function s(l){try{return l===""&&Po.location.href?Po.location.href:l}catch{return l}}if(o.open(i.method,s(i.url),!0),i.credentials==="include"?o.withCredentials=!0:i.credentials==="omit"&&(o.withCredentials=!1),"responseType"in o&&(ya.blob?o.responseType="blob":ya.arrayBuffer&&(o.responseType="arraybuffer")),t&&typeof t.headers=="object"&&!(t.headers instanceof eo||Po.Headers&&t.headers instanceof Po.Headers)){var c=[];Object.getOwnPropertyNames(t.headers).forEach(function(l){c.push(sv(l)),o.setRequestHeader(l,Bz(t.headers[l]))}),i.headers.forEach(function(l,g){c.indexOf(g)===-1&&o.setRequestHeader(g,l)})}else i.headers.forEach(function(l,g){o.setRequestHeader(g,l)});i.signal&&(i.signal.addEventListener("abort",a),o.onreadystatechange=function(){o.readyState===4&&i.signal.removeEventListener("abort",a)}),o.send(typeof i._bodyInit>"u"?null:i._bodyInit)})}Wz.polyfill=!0;Po.fetch||(Po.fetch=Wz,Po.Headers=eo,Po.Request=mh,Po.Response=cc);const fCt=Object.freeze(Object.defineProperty({__proto__:null,get DOMException(){return Ud},Headers:eo,Request:mh,Response:cc,fetch:Wz},Symbol.toStringTag,{value:"Module"})),gCt=vu(fCt);var Wq,Hq;function mCt(){return Hq||(Hq=1,Wq=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){var r=n(1),i=typeof importScripts=="function";e.exports=r(i?self:window)},function(e,t,n){function r(a){if(Array.isArray(a)){for(var s=0,c=Array(a.length);s<a.length;s++)c[s]=a[s];return c}else return Array.from(a)}var i=[];function o(a){for(var s=arguments.length,c=Array(s>1?s-1:0),l=1;l<s;l++)c[l-1]=arguments[l];var g=i.reduce(function(u,z){return[z].concat(u)},[]),b=Promise.resolve(c);return g.forEach(function(u){var z=u.request,w=u.requestError;(z||w)&&(b=b.then(function(x){return z.apply(void 0,r(x))},w))}),b=b.then(function(u){var z=new(Function.prototype.bind.apply(Request,[null].concat(r(u))));return a(z).then(function(w){return w.request=z,w}).catch(function(w){return w.request=z,Promise.reject(w)})}),g.forEach(function(u){var z=u.response,w=u.responseError;(z||w)&&(b=b.then(z,w))}),b}e.exports=function(a){if(!a.fetch)try{n(2)}catch{throw Error("No fetch available. Unable to register fetch-intercept")}return a.fetch=function(s){return function(){for(var c=arguments.length,l=Array(c),g=0;g<c;g++)l[g]=arguments[g];return o.apply(void 0,[s].concat(l))}}(a.fetch),{register:function(s){return i.push(s),function(){var c=i.indexOf(s);c>=0&&i.splice(c,1)}},clear:function(){i=[]}}}},function(e,t){e.exports=gCt}])),Wq}mCt();class vCt{constructor(){ze(this,"events"),ze(this,"ready",!0),ze(this,"onMessageCallback"),this.events=new Yb,this.ready=!0}isReady(){return this.ready}on(t,n){this.events.on(t,n)}off(t,n){this.events.removeListener(t,n)}send(t,...n){const r=t||n;this.ready=!!r||!0}onMessage(t,n,r){this.onMessageCallback=r;const i=()=>{};return this.on("message",i),()=>{this.off("message",i)}}trigger(t,n){return new Promise(r=>{setTimeout(()=>{this.onMessageCallback&&this.onMessageCallback(t,n),r()},10)})}}const yCt="pivot2";class bCt{constructor(t,n=!1){ze(this,"_socket"),ze(this,"_httpClient"),ze(this,"_mockSocket"),this._httpClient=t,this._mockSocket=n}getQueryOptionsSso(t){return{}}getQueryOptionsBearer(t){const n=t.bearer;if(!n)throw new Error("Missing bearer token");return{token:n}}getQueryOptionsWat(t){const n=new Headers;t.applyHeader(n);const r=n.get("Authorization"),i=n.get("Initialiser");if(!r||!i)throw new Error("Missing auth header");return{authorization:r,initialiser:i}}get socket(){if(!this._socket){if(this._mockSocket)return this._socket=new vCt,this._socket;const t=this._httpClient.auth,n=this._httpClient.url;let r={};tCt(t)?r=this.getQueryOptionsBearer(t):nCt(t)?r=this.getQueryOptionsWat(t):eCt(t)&&(r=this.getQueryOptionsSso(t)),this._socket=new Dz(n+yCt,r)}return this._socket}}class xce{constructor(t,n=!1){ze(this,"socketBuilder"),this.socketBuilder=new bCt(t,n)}queryData(t,n,r,i){return coe(this,null,function*(){return new qSt(this.socketBuilder.socket).loadInitData(t,n,r,i)})}prepareDataService(){const t=new oce(this.socketBuilder.socket);return new $a(t)}preparePivotBuilder(){const t=this.prepareDataService();return new Awt(t)}}(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.multi-grid{position:relative;display:block;overflow:hidden}.table-grid{position:relative;direction:ltr;will-change:transform;-webkit-overflow-scrolling:touch;background:#fff;user-select:text;-webkit-touch-callout:text;overflow-x:hidden;overflow-y:hidden}.table-grid,.table-grid *{box-sizing:border-box}.table-grid--top.table-grid--left,.table-grid--top.table-grid--right,.table-grid--bottom.table-grid--left,.table-grid--bottom.table-grid--right{position:absolute}.table-grid--top.table-grid--left,.table-grid--top.table-grid--right,.table-grid--bottom.table-grid--left{overflow-x:hidden;overflow-y:hidden}.table-grid__table{position:relative;display:table;table-layout:fixed;border-spacing:0;border-collapse:collapse}.table-grid__tbody{border-style:inherit;border-color:inherit;border-width:inherit;display:table-row-group}.table-grid__colgroup{display:table-column-group}.table-grid__column{display:table-column}.table-grid__row{border-style:inherit;border-color:inherit;border-width:inherit;display:table-row}.table-grid__cell{position:static!important;display:table-cell;vertical-align:top;box-sizing:border-box;white-space:nowrap;font-size:0;line-height:0;max-width:100%;margin:0;padding:0;border:solid 0 black;border-color:inherit;border-top-color:transparent;border-left-color:transparent}.table-grid__cell--row-0{border-top-color:inherit}.table-grid__cell--col-0,.table-grid__cell--columns{border-left-color:inherit}.table-grid__cell--fixed-width{white-space:normal}.table-grid__cell--fixed-width .table-grid__content{text-overflow:ellipsis}.table-grid__cell--fixed-width .table-grid__content__inner{display:inline;margin-right:0}.table-grid__cell-corner{border-style:inherit;border-color:inherit;border-width:inherit;position:relative;top:0;left:0;border-width:0}.table-grid__content{display:inline-block;font-size:15px;line-height:16px;position:relative;z-index:1}.table-grid__content__wrapper{display:inline;position:relative;z-index:1}.table-grid__content__inner{display:inline;position:relative;margin-right:1px;z-index:1}.table-grid__cell-corner{position:relative}.table-grid__cell-anchor{border-width:0;line-height:0;font-size:0;margin:0;padding:0}.table-grid__cell-anchor-content{width:0;height:0;line-height:0;font-size:0;overflow:hidden}.table-grid__cell--sorted .table-grid__content__inner{margin-right:16px}.table-grid__cell--sorted.table-grid__cell--fixed-width .table-grid__content__inner{margin-right:15px}.table-grid__cell--sorted .table-grid__icon--sorted,.table-grid__cell--sorted .table-grid__sorting-settings-icon{z-index:2;top:4px;right:3px;outline:none;display:inline-block;position:absolute;width:16px;height:12px}.table-grid__cell--sorted .table-grid__icon--sorted:after,.table-grid__cell--sorted .table-grid__sorting-settings-icon:after{display:inline-block;position:absolute;left:20%;top:25%;font-size:15px}.table-grid__cell--sorted .table-grid__icon--sorted:hover,.table-grid__cell--sorted .table-grid__sorting-settings-icon:hover{cursor:pointer}.table-grid--data{left:0!important;overflow-x:visible!important;overflow-y:visible!important}.multi-grid--no-fixed-left .table-grid--fixed.table-grid--rows,.multi-grid--no-fixed-left .table-grid--fixed.table-grid--corner,.multi-grid--no-rows .table-grid--fixed.table-grid--rows,.multi-grid--no-columns .table-grid--fixed.table-grid--columns,.multi-grid--no-corner .table-grid--fixed.table-grid--corner{opacity:0;visibility:hidden}.table-grid--fixed{position:absolute;display:block;opacity:0;transition:opacity 0s ease;background:#fff;overflow:hidden;z-index:10}.table-grid--fixed.active{opacity:1}.table-grid--fixed.table-grid--rows{top:0;left:0;bottom:0}.table-grid--fixed.table-grid--columns{top:0;left:0;right:0}.table-grid--fixed.table-grid--corner{top:0;left:0}.sis-scope .sisense-pivot__pagination-panel .MuiTablePagination-root{background-color:initial;overflow:initial}.sis-scope .sisense-pivot__pagination-panel .MuiTablePagination-root .MuiTablePagination-select{background-color:initial}.sis-scope .sisense-pivot__pagination-panel .MuiTablePagination-root .MuiTablePagination-toolbar{min-height:0}.sis-scope .sisense-pivot__pagination-panel{display:block;transition:opacity .3s ease}.sis-scope .sisense-pivot__pagination-panel--hidden{display:none}.sis-scope .sisense-pivot__pagination-panel .sisense-pivot__pagination-panel-list-wrapper,.sis-scope .sisense-pivot__pagination-panel .sisense-pivot__pagination-panel-total-wrapper,.sis-scope .sisense-pivot__pagination-panel .sisense-pivot__pagination-panel-notification{visibility:hidden;opacity:0}.sis-scope .sisense-pivot__pagination-panel-wrapper{display:flex;justify-content:space-between;align-items:center}.sis-scope .sisense-pivot__pagination-panel-list-wrapper{flex:1}.sis-scope .sisense-pivot__pagination-panel-list{display:flex;align-items:center;margin:0;padding:0;list-style:none}.sis-scope .sisense-pivot__pagination-panel-notification{display:flex;align-items:center;overflow:hidden;white-space:nowrap;cursor:pointer}.sis-scope .sisense-pivot__pagination-panel-notification-more{outline:none;margin-left:5px;margin-right:5px}.sis-scope .sisense-pivot__pagination-panel-total-wrapper{display:flex;overflow:hidden;white-space:nowrap;justify-content:flex-end}.sis-scope .sisense-pivot__pagination-panel-rows-count{padding-left:10px;margin-right:10px;border-left:1px solid #d8d8d8;pointer-events:none;overflow:hidden;text-overflow:ellipsis}.sis-scope .sisense-pivot__pagination-panel--showed .sisense-pivot__pagination-panel-list-wrapper,.sis-scope .sisense-pivot__pagination-panel--showed .sisense-pivot__pagination-panel-total-wrapper,.sis-scope .sisense-pivot__pagination-panel--notification-only .sisense-pivot__pagination-panel-notification,.sis-scope .sisense-pivot__pagination-panel--limits-only .sisense-pivot__pagination-panel-total-wrapper{visibility:visible;opacity:1}.sis-scope .sisense-pivot__pagination-panel--limits-only .sisense-pivot__pagination-panel-rows-count{border-left:none}.sis-scope .pivot-scroller,.sis-scope .pivot-scroller__container{height:40px}.sisense-pivot__resize-control{position:absolute;top:0;right:0;width:4px;height:50px;margin-left:-4px;cursor:col-resize;z-index:4}.sisense-pivot__data-bar{position:absolute;top:8px;left:0;width:50%;height:10px;padding:0 8px;opacity:0}.sisense-pivot__data-bar--show{opacity:0;transition:opacity .3s ease}.sisense-pivot__data-bar--show-active{opacity:1}.sisense-pivot__data-bar-inner{position:relative;height:100%;overflow:hidden}.sisense-pivot__data-bar-bar{position:absolute;top:0;height:100%;min-width:8px;background:green}.sisense-pivot{position:relative;height:100%;-webkit-text-size-adjust:none}.sisense-pivot .table-grid__content{overflow:hidden;max-width:100%}.sisense-pivot>.scroll-elem__horizontal-track,.sisense-pivot>.scroll-elem__vertical-track{z-index:5;opacity:0;transition:opacity .3s ease}.sisense-pivot ::-webkit-scrollbar{display:none}.sisense-pivot .scroll-elem__horizontal-track,.sisense-pivot .scroll-elem__vertical-track{opacity:0;transition:opacity .3s ease}.sisense-pivot:hover .scroll-elem__horizontal-track,.sisense-pivot:hover .scroll-elem__vertical-track{opacity:1}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--left .table-grid__border-bottom{display:block}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--left .table-grid__cell--level-last:not(.table-grid__cell--sibling-last):not(.table-grid__cell--merged-columns){border-bottom-color:transparent}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--left .table-grid__cell--level-first.table-grid__cell--level-last:not(.table-grid__cell--merged-columns):not(.table-grid__cell--sibling-last){border-bottom-color:transparent}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--left .table-grid__cell--level-first.table-grid__cell--level-last.table-grid__cell--user-type-grandTotal{border-bottom-color:transparent}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--left .table-grid__cell--level-first.table-grid__cell--level-last.table-grid__cell--user-type-grandTotal .table-grid__cell-virtual-border{position:absolute;bottom:100%;left:0;display:block;width:2000px;height:1px;border-style:inherit;border-bottom-color:inherit;border-width:0}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--right .table-grid__border-bottom{display:block}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--right .table-grid__cell--row-level-last:not(.table-grid__cell--row-sibling-last):not(.table-grid__cell--row-user-type-subTotal):not(.table-grid__cell--col-user-type-subTotal):not(.table-grid__cell--col-user-type-grandTotal){border-bottom-color:transparent}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--right .table-grid__cell--row-user-type-grandTotal{border-bottom-color:transparent}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--right .table-grid__cell--row-user-type-grandTotal .table-grid__cell-virtual-border{position:absolute;bottom:100%;left:0;display:block;width:2000px;height:1px;border-style:inherit;border-bottom-color:inherit;border-width:0}.sisense-pivot__multi-grid--resize-in-progress{cursor:col-resize}.sisense-pivot__overlay{position:absolute;inset:0;z-index:1000000}@media print{div#root{margin:0!important;padding:0!important}.print-preview div.print-layout{margin:0!important;padding:0!important;background:none}.print-preview.print-layout div.print-layout__page{margin:0!important;padding:0!important;box-shadow:none;page-break-inside:avoid;page-break-after:always}}.print-preview.print-layout.print-layout__with-footer .page-footer{visibility:visible}.print-preview.print-layout .print-layout__page{display:flex;flex-flow:column;padding:0}.print-preview.print-layout .page-footer{flex-shrink:0;display:flex;flex-flow:column;justify-content:center;visibility:hidden;height:16px;clear:both;box-sizing:border-box;padding-top:10px;text-align:center}.print-preview.print-layout .page-footer>span,.print-preview.print-layout .page-footer div{flex-shrink:0;font-size:10px}.print-preview [contenteditable]:empty:before{content:attr(placeholder);display:block}.print-preview .title::-ms-clear{display:none}.print-preview .page-header{overflow:initial;height:40px;flex-shrink:0}.print-preview .page-header.page-header__content--show .page-header__title-container,.print-preview .page-header.page-header__content--show .page-header__header-divider,.print-preview .page-header.page-header__content--show .page-header__title{display:block}.print-preview .page-header .page-header__content,.print-preview .page-header .page-header__title-container,.print-preview .page-header .page-header__header-divider,.print-preview .page-header .page-header__title{display:none}.print-preview .page-header .page-header__content{height:34px;display:flex;flex-flow:row wrap;position:relative;z-index:3}.print-preview .page-header .page-header__content .page-header__title{text-overflow:ellipsis;overflow:hidden;word-wrap:normal;word-break:keep-all;white-space:nowrap;flex-grow:0;flex-shrink:0;order:1;background:rgba(0,0,0,0);border:none;outline:0;cursor:text;margin-right:10px;padding-left:5px;-webkit-user-select:text;user-select:text}.print-preview .page-header .page-header__content.page-header__title-container--focused .page-header__rename-controls{display:block}.print-preview .page-header .page-header__content.page-header__title-container--focused .page-header__editors{display:flex;align-items:center}.print-preview .page-header .page-header__content.page-header__title-container--focused .page-header__title{text-overflow:ellipsis;overflow:hidden;word-wrap:normal;word-break:keep-all;white-space:nowrap;flex-grow:0;flex-shrink:0;order:1;background:rgba(0,0,0,0);border:none;outline:0;cursor:text;margin-right:10px;padding-left:5px;-webkit-user-select:text;user-select:text}.print-preview .page-header .page-header__content .page-header__title-container,.print-preview .page-header .page-header__content .page-header__rename-controls{float:left}.print-preview .page-header .page-header__content .page-header__title-container{text-overflow:ellipsis;overflow:hidden;word-wrap:normal;word-break:keep-all;white-space:nowrap;font-size:16px;height:26px;width:100%;display:flex;flex-flow:row;justify-content:flex-start}.print-preview .page-header .page-header__content .page-header__rename-controls{display:none;flex-basis:32px;flex-grow:0;flex-shrink:0;order:1}.print-preview .page-header .page-header__content .page-header__rename-controls .page-header__rename-controls__action{float:left;cursor:pointer;vertical-align:middle;width:16px;height:16px}.print-preview .page-header .page-header__content .page-header__rename-controls .page-header__rename-controls__action--ok:after{content:"V";color:#adff2f}.print-preview .page-header .page-header__content .page-header__rename-controls .page-header__rename-controls__action--ok:hover:after{content:"V";color:green}.print-preview .page-header .page-header__content .page-header__rename-controls .page-header__rename-controls__action--cancel:after{content:"X";color:orchid}.print-preview .page-header .page-header__content .page-header__rename-controls .page-header__rename-controls__action--cancel:hover:after{content:"X";color:red}.print-preview .page-header .page-header__content .page-header__header-divider{margin-top:6px;bottom:5px;border:1px solid #e5e5e5;position:relative;width:100%}.print-preview .page-header .page-header__content .page-header__editors{padding-left:10px;padding-right:10px;display:none;position:relative;width:275px;height:34px;background-color:#fff;border:solid 1px #e5e5e5}.print-preview .page-header .page-header__content .page-header__editors .page-header__vertical-line{margin-left:10px;border-left:1px solid #e5e5e5;height:16px}.print-preview .page-header .page-header__content .page-header__editors div{background:none;border:none;margin-left:15px}.print-preview .page-header .page-header__content .page-header__editors .page-header__editors__left-text,.print-preview .page-header .page-header__content .page-header__editors .page-header__editors__center-text,.print-preview .page-header .page-header__content .page-header__editors .page-header__editors__end-text{width:17px;height:16px}.print-preview .page-header .page-header__content .page-header__editors .page-header__editors__left-text:after{content:"L"}.print-preview .page-header .page-header__content .page-header__editors .page-header__editors__center-text:after{content:"C"}.print-preview .page-header .page-header__content .page-header__editors .page-header__editors__end-text:after{content:"R"}.sis-scope .sorting-settings-header{flex-shrink:0;background-color:#f4f4f8;width:100%;height:42px;padding:10px 10px 10px 16px;border-top-left-radius:4px;border-top-right-radius:4px;display:flex;flex-direction:row;justify-content:space-between;font-size:15px}.sis-scope .header-text{display:flex;flex-flow:row nowrap;width:calc(100% - 24px)}.sis-scope .header-text__sort-by{font-weight:700;flex-shrink:0}.sis-scope .header-text__hierarchy-container{flex-grow:1;text-overflow:ellipsis;padding:0 .5em;display:inline-block;overflow:hidden;white-space:nowrap;vertical-align:top}.sis-scope .cross-icon{position:relative;top:-2px;color:#5b6372;border-radius:50%;min-width:24px}.sis-scope .cross-icon:hover{cursor:pointer;background-color:#d1d1d7}.sis-scope .direction-selector{margin-top:.2em;margin-left:2.4em;font-weight:400;min-width:152px;width:152px}.sis-scope.direction-selector__menu{background-color:#fff!important}.sis-scope .settings-item+.settings-item{margin-top:.9em}.sis-scope .checkbox-input{display:flex;align-items:center;padding-right:8px}.sis-scope .checkbox-input .wrapper-of-input-highlighted{background-color:#5b63721a;border-radius:50%}.sis-scope .checkbox-input .subtotals-caption{margin-left:.2em}.sis-scope .checkbox-input .custom-checkbox{width:28px;height:28px}.sis-scope .checkbox-input .custom-checkbox__label{cursor:pointer}.sis-scope .checkbox-input .checkbox-input__text-wrapper{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sis-scope .checkbox-input .checkbox-input__label{display:flex;align-items:center;height:28px;cursor:pointer;max-width:calc(100% - 28px)}.sis-scope .simple-sorting-settings{width:200px;box-shadow:0 0 5px #3a435633;border-radius:4px;display:flex;flex-direction:column;background-color:#fff}.sis-scope .simple-sorting-settings .header-text{width:100%}.sis-scope .simple-sorting-settings__actions{padding:10px 0;display:flex;flex-direction:column;align-items:flex-start}.sis-scope .simple-sorting-settings__actions>div{width:100%}.sis-scope .simple-sorting-settings__actions>div>div{width:100%;border-radius:0;padding:5px 16px;margin:0;height:auto;cursor:pointer}.sis-scope .simple-sorting-settings__actions>div>div:hover{background:rgba(91,99,114,.1)}.sis-scope .complex-sorting-settings{box-shadow:0 0 5px #3a435633;border-radius:4px;width:320px;height:100%;display:flex;justify-content:space-between;flex-direction:column;max-height:386px;background-color:#fff}.sis-scope .complex-sorting-settings__body{overflow:auto;flex-grow:1;padding:17px 17px 14px}.sis-scope .complex-sorting-settings__actions{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:8px 16px 14px}.sis-scope .complex-sorting-settings__actions .sp-buttons{margin:0 0 0 auto}.sis-scope .complex-sorting-settings__actions .sp-buttons button{min-width:74px}.sis-scope .complex-sorting-settings__actions .sp-buttons>button:first-child+button{margin-left:10px}.sis-scope .complex-sorting-settings .settings-checkboxes{margin-left:-3px;margin-top:15px}body .prism-widget-preview .sisense-pivot__pagination-panel-wrapper,div#idk .prism-widget-preview .sisense-pivot__pagination-panel-wrapper{padding-bottom:0}body .sisense-pivot__pagination-panel-list-wrapper,body .sisense-pivot__pagination-panel-rows-count,div#idk .sisense-pivot__pagination-panel-list-wrapper,div#idk .sisense-pivot__pagination-panel-rows-count{color:#acacac}body .sisense-pivot__pagination-panel-notification-more,div#idk .sisense-pivot__pagination-panel-notification-more{color:#1faff3}body .sisense-pivot__pagination-panel-notification-more:hover,div#idk .sisense-pivot__pagination-panel-notification-more:hover{cursor:pointer;text-decoration:underline}body .sisense-pivot__pagination-panel-page,div#idk .sisense-pivot__pagination-panel-page{margin:0}body .sisense-pivot__pagination-panel-page:hover,div#idk .sisense-pivot__pagination-panel-page:hover{text-decoration:none}body .sisense-pivot__pagination-panel-list--number .sisense-pivot__pagination-panel-page,div#idk .sisense-pivot__pagination-panel-list--number .sisense-pivot__pagination-panel-page{margin-right:6px}body .sisense-pivot__pagination-panel-list--number .sisense-pivot__pagination-panel-page:first-child,div#idk .sisense-pivot__pagination-panel-list--number .sisense-pivot__pagination-panel-page:first-child{margin-left:6px}body .sisense-pivot__pagination-panel-list--number .sisense-pivot__pagination-panel-page:not(.sisense-pivot__pagination-panel-page--disabled):hover,div#idk .sisense-pivot__pagination-panel-list--number .sisense-pivot__pagination-panel-page:not(.sisense-pivot__pagination-panel-page--disabled):hover{color:#272a34;text-decoration:underline}body .sisense-pivot__pagination-panel-page--active,div#idk .sisense-pivot__pagination-panel-page--active{font-weight:400;color:#272a34}body .sisense-pivot__pagination-panel-page--first.sisense-pivot__pagination-panel-page--disabled,body .sisense-pivot__pagination-panel-page--last.sisense-pivot__pagination-panel-page--disabled,body .sisense-pivot__pagination-panel-page--previous.sisense-pivot__pagination-panel-page--disabled,body .sisense-pivot__pagination-panel-page--next.sisense-pivot__pagination-panel-page--disabled,div#idk .sisense-pivot__pagination-panel-page--first.sisense-pivot__pagination-panel-page--disabled,div#idk .sisense-pivot__pagination-panel-page--last.sisense-pivot__pagination-panel-page--disabled,div#idk .sisense-pivot__pagination-panel-page--previous.sisense-pivot__pagination-panel-page--disabled,div#idk .sisense-pivot__pagination-panel-page--next.sisense-pivot__pagination-panel-page--disabled{opacity:.5}body .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button{display:block;width:16px;height:16px;text-indent:20px;overflow:hidden;background-repeat:no-repeat}body .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAABACAYAAAATffeWAAABSUlEQVR42u2VsYrCQBCGc1pZiYVwYuBAbJLKPQvL7D1EHiRNQgJJwMrOUhBbGzux8Bm0tfVhblZWCMNOdptEjPkgxQfzj0ncXy3rE7B75U7z5TK+cZl3JNwg/Mvv4+nCVnh1YcuZ8XVxGLt+AeM7+MTrYDLvq9yELryovcv+LjKEvfYl/EC42ZIfZz4q8Zbm9f8BHJQznP8V5VpE60T7niHsr1jiLVWu5XvKhvD8N2fmbVVuFBbtEwXCXl1Y/gaeisPYtci+dyhveUuCIOiVeem/dJ7nmyzLjoQbhe9hGNoKry5sweC6OIzdZMEOrmsURX2Va/F9vwu3vIfrIkLY618Ct39QufGSJElGlLc0sv8P4LCc4bCsKNciWifa9wxhr39JmqZLlWuJ43gIz3+D0FblRmHRPlEg7NWF5dd2Kg5j1yL73qG8gfwDYL8rrp3YiQAAAAAASUVORK5CYII=);background-position:0 -32px}body .sisense-pivot__pagination-panel-page--first:not(.sisense-pivot__pagination-panel-page--disabled):hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--first:not(.sisense-pivot__pagination-panel-page--disabled):hover .sisense-pivot__pagination-panel-button{background-position:0 0}body .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAABACAYAAAATffeWAAABSUlEQVR42u2VsYrCQBCGc1pZiYVwYuBAbJLKPQvL7D1EHiRNQgJJwMrOUhBbGzux8Bm0tfVhblZWCMNOdptEjPkgxQfzj0ncXy3rE7B75U7z5TK+cZl3JNwg/Mvv4+nCVnh1YcuZ8XVxGLt+AeM7+MTrYDLvq9yELryovcv+LjKEvfYl/EC42ZIfZz4q8Zbm9f8BHJQznP8V5VpE60T7niHsr1jiLVWu5XvKhvD8N2fmbVVuFBbtEwXCXl1Y/gaeisPYtci+dyhveUuCIOiVeem/dJ7nmyzLjoQbhe9hGNoKry5sweC6OIzdZMEOrmsURX2Va/F9vwu3vIfrIkLY618Ct39QufGSJElGlLc0sv8P4LCc4bCsKNciWifa9wxhr39JmqZLlWuJ43gIz3+D0FblRmHRPlEg7NWF5dd2Kg5j1yL73qG8gfwDYL8rrp3YiQAAAAAASUVORK5CYII=);background-position:0 -48px}body .sisense-pivot__pagination-panel-page--last:not(.sisense-pivot__pagination-panel-page--disabled):hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--last:not(.sisense-pivot__pagination-panel-page--disabled):hover .sisense-pivot__pagination-panel-button{background-position:0 -16px}body .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAABACAYAAAATffeWAAABBklEQVR42mNgGAXEAC4tQ7u94up6iqRrFVTi1zS0P65p4DCBZL28kmoiGgaOJ9UNHTrIcTajpoH9ZTU920py/U2xARR7gfJApE40joKRDpiAqe+JjIalLtkmaBpYeYMMUdCyMCfbEHUtKydNI/vnSvrmNmQboqJrZgkyRFraTJj+BlDkBUoDkfJoHAWjABn4+Phw1dbW7i0pKSG9YklLS+Ovq6s7XlNTM4EczSJAm08CNZPXPgDafBmomfz2AaUGUOwFygORKtE4CkbbB8DE86S8vJz8iqWqqsobZEhFRQX57QOgZidgXngOdAn57YPKykpLkCHZ2dnC9DeAIi9QGoiUR+MIAgDRRntRFUnDLQAAAABJRU5ErkJggg==);background-position:0 -32px}body .sisense-pivot__pagination-panel-page--previous:not(.sisense-pivot__pagination-panel-page--disabled):hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--previous:not(.sisense-pivot__pagination-panel-page--disabled):hover .sisense-pivot__pagination-panel-button{background-position:0 0}body .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAABACAYAAAATffeWAAABBklEQVR42mNgGAXEAC4tQ7u94up6iqRrFVTi1zS0P65p4DCBZL28kmoiGgaOJ9UNHTrIcTajpoH9ZTU920py/U2xARR7gfJApE40joKRDpiAqe+JjIalLtkmaBpYeYMMUdCyMCfbEHUtKydNI/vnSvrmNmQboqJrZgkyRFraTJj+BlDkBUoDkfJoHAWjABn4+Phw1dbW7i0pKSG9YklLS+Ovq6s7XlNTM4EczSJAm08CNZPXPgDafBmomfz2AaUGUOwFygORKtE4CkbbB8DE86S8vJz8iqWqqsobZEhFRQX57QOgZidgXngOdAn57YPKykpLkCHZ2dnC9DeAIi9QGoiUR+MIAgDRRntRFUnDLQAAAABJRU5ErkJggg==);background-position:0 -48px}body .sisense-pivot__pagination-panel-page--next:not(.sisense-pivot__pagination-panel-page--disabled):hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--next:not(.sisense-pivot__pagination-panel-page--disabled):hover .sisense-pivot__pagination-panel-button{background-position:0 -16px}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-wrapper,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-wrapper{padding:8px 0}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-list-wrapper:last-child .sisense-pivot__pagination-panel-page,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-list-wrapper:last-child .sisense-pivot__pagination-panel-page{margin-left:10px}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-list-wrapper:first-child .sisense-pivot__pagination-panel-page,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-list-wrapper:first-child .sisense-pivot__pagination-panel-page{margin-right:10px}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first.sisense-pivot__pagination-panel-page--disabled,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last.sisense-pivot__pagination-panel-page--disabled,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous.sisense-pivot__pagination-panel-page--disabled,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next.sisense-pivot__pagination-panel-page--disabled,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first.sisense-pivot__pagination-panel-page--disabled,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last.sisense-pivot__pagination-panel-page--disabled,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous.sisense-pivot__pagination-panel-page--disabled,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next.sisense-pivot__pagination-panel-page--disabled{opacity:.2}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button{text-indent:30px;width:24px;height:24px}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first:hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first:hover .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAABgCAYAAAAHBrJUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0YWZlODM2Ni1mMTA2LTQxYTctYjg1Yy05MDRiZWZkZDNjNTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzkyMzY4MDgwOTk4MTFFNEJEQzdFMDcyRTdGQTFBOTIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzkyMzY4MDcwOTk4MTFFNEJEQzdFMDcyRTdGQTFBOTIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6YWZhZDgxMmYtNjU4Ni00OGUxLThkZWUtOGZlOTRhMGE4YjNjIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRhZmU4MzY2LWYxMDYtNDFhNy1iODVjLTkwNGJlZmRkM2M1MiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pgh/ZNoAAAVtSURBVHja3JhfiFVVFMbvPd0enIeIHiuKECEIBLFSiQaRHuahP1rhRE1/wGQCQYYxUBLKB8XswXww6SkHSSlJpQlkHsQiiJICQSiCoEjmQd9CFIdMbr91+O7mdLhn77XHex/swGIzc9dea5+9v7PWt792t9ttDfVJJXhk9Qsj2Dls3BsT33XYvMXuJBzbDIdtHdiXzuDLGL7A3rG/Own/97A12OM//3BiwRH8boavsKP4fxxNoC15G3sS50uO4HcwHMcuYlO9/3canB9l+ASbIPh559YfwB7AVjPnZmMCgt/LMIvtwfGUc9/fYngFW8Wcv6q/deqIUfCvsb1exDDsx54m+G/134s+iPkH24RzNwMx0/if7efTGSRiGhMMCjGxN7AV7MpAzEvYKHZ/FTH9nt4ZfIBtZWX3OBPYV/07tiPl2EvwPnbB9pMkRWoSq77K8CI2if+GZAIh5jXsYWyn5xWY84slwGZIsrTJr20Vr91uV7/gb7FnCXDG+R18xPCEIZA51+uVuqit6ieGbdgxJt7nPI9p7G/sYPINKqv6lOEhbC1Jbzje4kGG8/rgZhrfoPLY3tqHtM95Hn9aYcQOkWx58g20KjvwH7HXCXDSeR57GDZiK5lzJfYGtqpfGd60+qSa43ne1dd9WLWtVSRe/XOGI1bQmLDEsVX2Vb+smjaVTKDHUGXwW+88j8vapu3hDIb5FK1hP/YGxmHUmby8Z1xcaSQVu/cGu3WQyzKqabeKllSxs35w1DqUOlXqIBd06GvUCV1nMCUMH1fHSiWxzvecdcIYrSxqGN4obnPACUmrP68ah1IljqNInOYZ4zjiOp4kxp2sRMyKU8VhKm5j3Wp/BrL2ikvN1pFVNKzqrOq8C1nqiJvEqf6DrFixGwiyUl/yLSOrcFbHUXEhL7J2iWu5atEOcSDvDce41VZxreQVaoPa5ypxoVTwQud2QVwresMxrmMNfFIcyPPsFLda2WPnTazCutf32Hc4bnFuzVO6W4yK/kRZxUFxnWlncONQx6z79YI3sgqc39CNZYXoSCr4nQzfYH/gP1HvB/UrlHGaQ1YqPMH17BOHmozecAh+F8MJ7EOCn3ZuzfMMm7HHmHOtsZpW7mcXxW28N3qbs1kcKnrDmVINWZG6sVRQZpe/I/h/5rlCbde+X3bu+3pxpW0px9ufFyUTzM3NjWDnMLdehO86bD5Z7HDK1ouYszi9aGxsbMERPNz+8Y/rRdqS8vaP8yVHcL9ehHPQiwierRcxp1kvInjQi3A85dz3oBcxp1kvMsTk6kWGmJ5eRPBmvaiCmFIvwrmbgZhp/P160WIR05hgUIhJ6kUZiAl6URUxSb2IlQ1fLyJJsj6x6qAX4Z/Wi4SYLL2IOUEvIslSVz/QF1zqRQQ44/wOgl7EnOvRco1D0IuYODi9qM+qgl5E0huOtwh6Ef4znoaTpRcRNOhFJFvu6sk4Br2IACed5xH0IuZcibZMHIJepJqTpReptsV7MkmCXsSEJY6tGr5eRJL/mV5U6PTn1Zm8vGdcXGnE+wa7dZDZelEPLaliF2716lSpg7w1vUgdK5Uk3OpjtLKoYThLL1IHLPUiVeJWqpoGvUhcx5Mk6EXiVHGYituUelEGsoJeVEdW0bCqoBd5kKWOGPSiKrJixW4gyHLrRYtFVuGsjm69SMganl4kbuXTi8R5JkXLrzqC+/UicZ1SLxIHytKLeuy8iVUEvQjHLc6tCXqR6E8URVl6kThUqRdVg/d9A5yDXiQ6kgoe9CL8J2IXkJY4TakXeYJn6UUED3oRwU87tyboRcy5FmuZ2XqRalSpF4lD+fSi1I2lgrJSL8LfrxeJ09xeetG/AgwAl90b0K18FOcAAAAASUVORK5CYII=);background-position:0 0}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last:hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last:hover .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAABgCAYAAAAHBrJUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0YWZlODM2Ni1mMTA2LTQxYTctYjg1Yy05MDRiZWZkZDNjNTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzkyMzY4MDgwOTk4MTFFNEJEQzdFMDcyRTdGQTFBOTIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzkyMzY4MDcwOTk4MTFFNEJEQzdFMDcyRTdGQTFBOTIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6YWZhZDgxMmYtNjU4Ni00OGUxLThkZWUtOGZlOTRhMGE4YjNjIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRhZmU4MzY2LWYxMDYtNDFhNy1iODVjLTkwNGJlZmRkM2M1MiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pgh/ZNoAAAVtSURBVHja3JhfiFVVFMbvPd0enIeIHiuKECEIBLFSiQaRHuahP1rhRE1/wGQCQYYxUBLKB8XswXww6SkHSSlJpQlkHsQiiJICQSiCoEjmQd9CFIdMbr91+O7mdLhn77XHex/swGIzc9dea5+9v7PWt792t9ttDfVJJXhk9Qsj2Dls3BsT33XYvMXuJBzbDIdtHdiXzuDLGL7A3rG/Own/97A12OM//3BiwRH8boavsKP4fxxNoC15G3sS50uO4HcwHMcuYlO9/3canB9l+ASbIPh559YfwB7AVjPnZmMCgt/LMIvtwfGUc9/fYngFW8Wcv6q/deqIUfCvsb1exDDsx54m+G/134s+iPkH24RzNwMx0/if7efTGSRiGhMMCjGxN7AV7MpAzEvYKHZ/FTH9nt4ZfIBtZWX3OBPYV/07tiPl2EvwPnbB9pMkRWoSq77K8CI2if+GZAIh5jXsYWyn5xWY84slwGZIsrTJr20Vr91uV7/gb7FnCXDG+R18xPCEIZA51+uVuqit6ieGbdgxJt7nPI9p7G/sYPINKqv6lOEhbC1Jbzje4kGG8/rgZhrfoPLY3tqHtM95Hn9aYcQOkWx58g20KjvwH7HXCXDSeR57GDZiK5lzJfYGtqpfGd60+qSa43ne1dd9WLWtVSRe/XOGI1bQmLDEsVX2Vb+smjaVTKDHUGXwW+88j8vapu3hDIb5FK1hP/YGxmHUmby8Z1xcaSQVu/cGu3WQyzKqabeKllSxs35w1DqUOlXqIBd06GvUCV1nMCUMH1fHSiWxzvecdcIYrSxqGN4obnPACUmrP68ah1IljqNInOYZ4zjiOp4kxp2sRMyKU8VhKm5j3Wp/BrL2ikvN1pFVNKzqrOq8C1nqiJvEqf6DrFixGwiyUl/yLSOrcFbHUXEhL7J2iWu5atEOcSDvDce41VZxreQVaoPa5ypxoVTwQud2QVwresMxrmMNfFIcyPPsFLda2WPnTazCutf32Hc4bnFuzVO6W4yK/kRZxUFxnWlncONQx6z79YI3sgqc39CNZYXoSCr4nQzfYH/gP1HvB/UrlHGaQ1YqPMH17BOHmozecAh+F8MJ7EOCn3ZuzfMMm7HHmHOtsZpW7mcXxW28N3qbs1kcKnrDmVINWZG6sVRQZpe/I/h/5rlCbde+X3bu+3pxpW0px9ufFyUTzM3NjWDnMLdehO86bD5Z7HDK1ouYszi9aGxsbMERPNz+8Y/rRdqS8vaP8yVHcL9ehHPQiwierRcxp1kvInjQi3A85dz3oBcxp1kvMsTk6kWGmJ5eRPBmvaiCmFIvwrmbgZhp/P160WIR05hgUIhJ6kUZiAl6URUxSb2IlQ1fLyJJsj6x6qAX4Z/Wi4SYLL2IOUEvIslSVz/QF1zqRQQ44/wOgl7EnOvRco1D0IuYODi9qM+qgl5E0huOtwh6Ef4znoaTpRcRNOhFJFvu6sk4Br2IACed5xH0IuZcibZMHIJepJqTpReptsV7MkmCXsSEJY6tGr5eRJL/mV5U6PTn1Zm8vGdcXGnE+wa7dZDZelEPLaliF2716lSpg7w1vUgdK5Uk3OpjtLKoYThLL1IHLPUiVeJWqpoGvUhcx5Mk6EXiVHGYituUelEGsoJeVEdW0bCqoBd5kKWOGPSiKrJixW4gyHLrRYtFVuGsjm69SMganl4kbuXTi8R5JkXLrzqC+/UicZ1SLxIHytKLeuy8iVUEvQjHLc6tCXqR6E8URVl6kThUqRdVg/d9A5yDXiQ6kgoe9CL8J2IXkJY4TakXeYJn6UUED3oRwU87tyboRcy5FmuZ2XqRalSpF4lD+fSi1I2lgrJSL8LfrxeJ09xeetG/AgwAl90b0K18FOcAAAAASUVORK5CYII=);background-position:0 -24px}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous:hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous:hover .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAABgCAYAAAAHBrJUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0YWZlODM2Ni1mMTA2LTQxYTctYjg1Yy05MDRiZWZkZDNjNTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzkyMzY4MDQwOTk4MTFFNEJEQzdFMDcyRTdGQTFBOTIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzkyMzY4MDMwOTk4MTFFNEJEQzdFMDcyRTdGQTFBOTIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6YTc4ODUzN2EtOTBiYi00YzkwLWE5MzYtZDE5YWIxMTNkMjM3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRhZmU4MzY2LWYxMDYtNDFhNy1iODVjLTkwNGJlZmRkM2M1MiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Ps2i47QAAANcSURBVHja7Jg/aNNREMeNVEE3l6BjByc71D8lOjh0UAISsK2oVFoUpEOhZDLglCWLUAoFp44WnLRLl1CHDA4qBV10cqhCQQfHYpFW4+d+nI8g+fN++d1JAwaOt/zyvbt379193zfXbDYPef4O9/ogl8t1tJFLNwrYdiYHnX5nLk6dZFnDHnUNsNcWSaRtwI+wNLCtD6+fz3TD6DeDJewYNtfrw6E+tuYuy23sAtHvmjoAfIzlMVYC/LPJKWoBz2tRq4A3Yv8XVWTAJdMX2BfAp//+phtG7BYtYiewa2lrNhSxNTMsYueJ/ru5Ay3qA8A/ubQKPfNlMjnu5aCGfcOWXRywNT9Z7mATZHHTIwNxIh3zHraCk+E0DlI1O8BlmwrYZZzuxdyDtM2ugh3VuthnoFmcZnmLTZHFhnUGUo+PLPPYqg4d2wxaMnnCIg6K7189+2U+MjWLYa2L/Uxmq3ZYbmELmbbInba4OxDeI/ynGz/KmoHwnrWYI5llZK7qiRlvbRGWrWJOedCSVzcV/jMpfEh5kVs3HWdZ163aNO+myoeqWvS8SzfVTJ6ynMKu4HTfg/zeV5606HKTlR9dF76kvMml2QlPeqi8yeWFIzyp3OtuZGl2y8qXaqYPEI1e+NEENqq8yfSFIz1pRQqsfMn0Jsvj7yX2BvCyBy+qKS+qWNL3P9Ff1UF/juh/mHZTHTYyE+aVF9l1U8alBFHHvgI+2+6brG+0ik6zyX6OdIyDBX0X77jM5MHnRd1+9Xq9gPnoRQDb6EUdwINeVCwWXQaOn15E9EEvIvpd02MK+JhuTQnwhukpAjzoRbHg0RkAHvQiwKetW4WvXkT0QS8iej+9CHBfvYhMBlQvYmuCXkQWqfWi6IsGeEnn8lmcbrkMHJwEvQgnex7zwF4vapNF0IvIYsN8ogEa9CIdOj5DH/CgF/EbQL2IqP/rRaGY28J/PDNI9KKYI5llZAa9KLZFHCy9SPlPohcpL/Kh74AHvQinm+bHVPlQVYueN8+gJZOgF+F03+Oi+epFyo8SvUh5k0uz89WLlCcNqF6k/CjRi5Q3mQ596UnvpMCAr1vf5KAXAV72GDh+ehHRB72I6G31Ih02iV6kvMiumwIe9CLAZz1eOP9GL1IedPD0ot8CDAAbfrXxtNlPTAAAAABJRU5ErkJggg==);background-position:0 0}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next:hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next:hover .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAABgCAYAAAAHBrJUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0YWZlODM2Ni1mMTA2LTQxYTctYjg1Yy05MDRiZWZkZDNjNTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzkyMzY4MDQwOTk4MTFFNEJEQzdFMDcyRTdGQTFBOTIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzkyMzY4MDMwOTk4MTFFNEJEQzdFMDcyRTdGQTFBOTIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6YTc4ODUzN2EtOTBiYi00YzkwLWE5MzYtZDE5YWIxMTNkMjM3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRhZmU4MzY2LWYxMDYtNDFhNy1iODVjLTkwNGJlZmRkM2M1MiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Ps2i47QAAANcSURBVHja7Jg/aNNREMeNVEE3l6BjByc71D8lOjh0UAISsK2oVFoUpEOhZDLglCWLUAoFp44WnLRLl1CHDA4qBV10cqhCQQfHYpFW4+d+nI8g+fN++d1JAwaOt/zyvbt379193zfXbDYPef4O9/ogl8t1tJFLNwrYdiYHnX5nLk6dZFnDHnUNsNcWSaRtwI+wNLCtD6+fz3TD6DeDJewYNtfrw6E+tuYuy23sAtHvmjoAfIzlMVYC/LPJKWoBz2tRq4A3Yv8XVWTAJdMX2BfAp//+phtG7BYtYiewa2lrNhSxNTMsYueJ/ru5Ay3qA8A/ubQKPfNlMjnu5aCGfcOWXRywNT9Z7mATZHHTIwNxIh3zHraCk+E0DlI1O8BlmwrYZZzuxdyDtM2ugh3VuthnoFmcZnmLTZHFhnUGUo+PLPPYqg4d2wxaMnnCIg6K7189+2U+MjWLYa2L/Uxmq3ZYbmELmbbInba4OxDeI/ynGz/KmoHwnrWYI5llZK7qiRlvbRGWrWJOedCSVzcV/jMpfEh5kVs3HWdZ163aNO+myoeqWvS8SzfVTJ6ynMKu4HTfg/zeV5606HKTlR9dF76kvMml2QlPeqi8yeWFIzyp3OtuZGl2y8qXaqYPEI1e+NEENqq8yfSFIz1pRQqsfMn0Jsvj7yX2BvCyBy+qKS+qWNL3P9Ff1UF/juh/mHZTHTYyE+aVF9l1U8alBFHHvgI+2+6brG+0ik6zyX6OdIyDBX0X77jM5MHnRd1+9Xq9gPnoRQDb6EUdwINeVCwWXQaOn15E9EEvIvpd02MK+JhuTQnwhukpAjzoRbHg0RkAHvQiwKetW4WvXkT0QS8iej+9CHBfvYhMBlQvYmuCXkQWqfWi6IsGeEnn8lmcbrkMHJwEvQgnex7zwF4vapNF0IvIYsN8ogEa9CIdOj5DH/CgF/EbQL2IqP/rRaGY28J/PDNI9KKYI5llZAa9KLZFHCy9SPlPohcpL/Kh74AHvQinm+bHVPlQVYueN8+gJZOgF+F03+Oi+epFyo8SvUh5k0uz89WLlCcNqF6k/CjRi5Q3mQ596UnvpMCAr1vf5KAXAV72GDh+ehHRB72I6G31Ih02iV6kvMiumwIe9CLAZz1eOP9GL1IedPD0ot8CDAAbfrXxtNlPTAAAAABJRU5ErkJggg==);background-position:0 -24px}@media only screen and (-webkit-min-device-pixel-ratio: 1.5),only screen and (min--moz-device-pixel-ratio: 1.5),only screen and (min-device-pixel-ratio: 1.5){body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button{background-size:24px 96px}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first:hover .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last:hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first:hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last:hover .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAADACAYAAABCkOCeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0YWZlODM2Ni1mMTA2LTQxYTctYjg1Yy05MDRiZWZkZDNjNTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzZGNjM3QzEwMkYyMTFFNEEwOUZGODEwMEM5N0VBRkQiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MzZGNjM3QzAwMkYyMTFFNEEwOUZGODEwMEM5N0VBRkQiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NmUxOTlmYWUtMGRhNS00MTllLWJiZGQtMTVkNDlmNTkwMjE5IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRhZmU4MzY2LWYxMDYtNDFhNy1iODVjLTkwNGJlZmRkM2M1MiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhFMKHUAAAzuSURBVHja7FxrjFbFGZ79iinYUHrR6GIlWtpfrdrWSyFFS9JI9xcgS9tVCNeQaNKIpmo0GKBeoylGSbSJjUCNIOJy/SOptumFBlor9rImbbSxxYKtEqu2ZTeRsj4v5znHmbPf5Zwz7/u5S75J3pw9sDsz75mZ58y873OeruHhYTeWS9cp40BXV1dURV+Y1jsNl72wXS8d2L7EorNo4zO4/Ar274H9/V+RfxunVPEU6ThsEuzTRp0/HZc9sPNgH0n/vaZQ8cdw2Q07C/YabIVB52V6PA77MmwQNk/FAVb8BOxLsGOwOZg+/zQYgDtgvfx5Kdr4ndYI3A2by58XouIXDZ7+1bjcztvvo42n/P+vRVS8AJfbeLsKFe806PxluGzg7TZxIP87tQjEeYy3W2D3GiGOrK3xsBc4dYajYZSI81su2t/AZqLiIQPE2cdF+zrsErRxxP+drN9lHCDi7OOiFcS5THvREhie5qIVxLnCX7R5B2pjCXHqldpYQpzKDowWxKnkQJsQZ3IRxCm9mcshzvNcUBaI80vYxY0Qp15piUI5xDkMuxQVv26AOFth326GOM0cqBVAHKl4tnbnWdaw84UQp8wa8BFnESo+aDDvv0MHCiNOIQdyiLMaFfcbdP4SXDaWRZyWDuQQR+bmXUaIIweTCWURpykKfXH6/DzifB0VD44GxCm6iHew84e5TRg0WLTr2fkUGI7EVug7MIXXAZjFHkfK+bzK0/+zRoW+A4tkZGDfhN1q5MC1sP/CPgv7kaoDGM693qK9C/N1pnbv0cbLsmh524c2vqs5Ao5w9hz/fSsa6DZwQmD5Id4+wE2cjgOo/P+4LOBCPotOjDOYSjfD9sNOk8ML2viU1giIE2/gIm/J47I3gd1jMArvcQtxlOCxmduXeAfYwK9xuSV9Wqh8joET/8DlGtgJWI93kFHZC0l5kO8GKZvgxFQDJ57lEVLKWrTxDTUH+HoXxHgF9gnO1fEG6+FO2E/YlyfRxjlaIyBOvMsD9hBDHOsNRuEEgUOiHGfCnoITp6k4wAb+iMt1vF2ByhcbOHGUi1oW99dg95XezLWKC6HjsktdxpDKNDT6J4Od6vXeO6IXbeyodCJrUOSt+QeY7Ci3o7GJBiOxnkEtKRvRxudUwiqsfJDrQdbF570QiHZZDvsL7ON8UBO0AlvixF9xWcLb+aj8BoNR+I/Uzal6IexhlTWQm6s/wOV7XHRy8NlvsB5kd/zjdFTQxobYNeCXWxlyEbjbhsbOMBgJSSk9ytuH0cZF0VPIq/w490uyb5I4/hY0UDNYDythBxmxk/UwScUBOiHHwau5l7lSIhgGozDE9fA2bCqRqUvFATbwM6/jq1H5LAMnXsUlfXleBbtRzQEW2W4/IzjAqXSugRN7vLfzfWhjhpoD3PQthP3dJUnuHxq9H1bBfuGS5PxmzREQJ97iXuYd2JsWvedpsQ/2N7+Nrg5bpeNAx4EsuCtvvE/CLueBW70A/ja5JO/QgzYOxNRVby8k+5nzYHsYRbYoArOyHdjF/Ft08R0QDs4gz76PV43TtCgrePaVoNlu5uF0HGB+Ko1b9nrhDk0sl6j3HO71Jf/2ROyDyocWJU+VpntuZ+Zc24kX+eZ2XA93qznAIg5s488bYoOvDZzYya2BlNuYl9NxwAtovcB9+G5yd7SLZPy38OfHmJ+rDqN1Et2SjJN1ISF2GfYZcO6YMqzKA/o57Kuwf7mEvnOoDIy2ohpIOlSSchIZ2A77VkxGsYETZ7skuSjb8N/zQf2vynug3lwd9chUJLQ4qpGp6Hlg1CJTrWDl9ZBp8mhAprKkPx+ZxJkrjJBJgOPSZshUibVYB5lkWvUZIJM8IKE7nNMImSpH5nLIJOfgNQbrQTL5s7m5bIpMVSNzPjKtIfdH2wk5nyxqhUwxUQkfmTZyamk70e8FzuoiU0xo0UemCTwIWSCT0B+2NkKm6E9Q2oRMExjUypBpYH//IZXAFoO86YITLpBFJnOQ242UArFDNTLnEu5Pymo83+g8LXumAf48RdsB4f4IB0i4QNcaOSBJFeEyDXvopPIRkGQv+3i7lJwg7XDMTOdxmchtineAm7oHePuQEUWzmygkfX3O5SiaMd/QCMdHcrqSJ5Mk380GnR/HzqdkxAWMUsc5wNf6Zi6mkzQBcoC0iyRPhLN0MidHLpPKi0y4PcLxkfzYNRahSHKU0lG9hRym+K0EOT1reXsHOT/anZeE3ibeCuY/GHsiSyuW7e2T/Dvh+Nxp0PnxXFvCUXrFtaAml/kISBar7EKF0/MaF9QJg3kvb3KJz0qKtZecJacxApIlFC7Pe1y0Rw2evqRT049JryNXKf5IiYrnMS4kZSVpMdqdvwAXyRlIaH8D2lgeHRdixcLZSbn+Txt1fiIfkHReOEmFGb21AttYqVi4O8LhWW60zxEminCQ3uW8H1RxwCVcnQsZNZtPLo/20xfO0XzeLiEnqXBpFtwVflz6Ncdi0l+0Oz+dBxVBuHVo46aif9vqK6aL3AdMqUeNOn8Gz9TS+X2uIuW/3kdAkzjv5YUikYGVBp2vMQIneYc3uM85Hu0AN2mCOPIqf5vzfshg0Uqk4UpvL1X5U5T8CAgX5ypv3r9q8PRneaES+czrpzH11byKZziPk0OOjnbnz+XUkZF+xilQ+/0RkP39OKLCKiO8Fy6RJLuFW7RQI6bqf53xJudkX/7Uo1ikjXe4l3pLo8IOW6XjQMeBSAf27s1iTJm+kPuAIN6y9PT0lGkr0xfC3+npCzG8YqovhM7b6AuhmOsLofM2+kKsOFD7cDZfwgZqH5g+NvpCLiGFaD/9QO0DndfRF0LFgdoHbKdB5230hVCxudoHESdQ+8DTH452ABWniPNRl+gLyUF/2AhxhIpzMmeMzh+LDWxJxXnEmcsImiXiSOePVI1KNEUcVNxWxIkdgQBxUHHbEaeyA3nEQcUfCuJUcqBNiDO5COKU3swRcQJ9IVQ81GAzV7WMUPtotmgLj0AOcQ5z0WqHWNIwzsVFEKewAznESSs21xdqhThlRiDQF0LFBw06H+gLFUGcQg7kEGc1Ku436LyNvlAOcUz0hVBG6AsVRZymDuT2OII4y2IqboI40vnuVnucKiOwI4c45vpCsI6+0KmjL4QpE+gLYU3MNHAg0BdyJbKRRWE00BeCE90GTgT6QtzE6TiAURihL4QGzPWF0IaevhCcMNcXcqQrOE9fiNuXeAfoRKAvhMrnGDjRXn0hODHVwIlAXwht6OkL8S0c6AuhAXN9IbShpy8EJ8z1hdDGCH0hOKGnL4QGAn0hVL7YwInK+kK1gg1s8g7cj8CJCwycEK5QypW4EW3MU3OAJdAXQgMTDZwI9IXQhp6+EHenbdcXghN6+kJwItAXQuU3GIxCKX2hWoUGJKi1jrf3w6YbODHgAcdSPKhlag6wBPpCLvkeX9uJQF8ITujpC6HyEfpCTu9bBL8E+kJwQk9fiAEoU30hBtICfaH8pq8W2UCgLwSbZeBEe/WFXPJhs7YTgb4QRmGGpgNjX18IxVxfiKfFjr5Qx4GOA40cADRl+kJYMIU/6imZYpJzxVwe4g9wcaoFtjJ9IWbKLUqmL+S87yG1HAj0harGaVqUQF/IJVwjHQeYnzJV8XBJ1DtQ8Yh9UPnQYqDiwcy5dmmvvlBs8LVBCVQ8mJfTccALaGUqHuTuaJdAxYP5OZURcMxbSQpIMilnGyHTMA/wwjmSvNwu5uniHfAOLLONkWmI6yBDJjIE4h1oFzKRc1QZmYqEFs2Ridyj9ukLWSATwzWlkalobLQeMk0eDchUajfKTgcqHpy7MU8+38YIfSH8ziGVwFYOmSTjvpGHee1Qiq/i0RSZqoQWzfWFyE0K9IUaIVPVyFygL+SSKJ22E+3VF3IJB0jbiUBfqB4yxYQWR+gLuYQLpF0CfaE8MsWGFv09UzedOF15FORBSXj9+Xp7Jo3Alrm+ELNDHX2hZmXs6gu5JHuZ6Qu5hBOkWshdyrhM5DbFO8BNXaYv5BIukHbnbfSFyPEx1RciVynQF2KUOs4BvtYDfSGX0AS0S6AvRC6Tyoss0BdyCfdH++kH+kLkMMVvJcjpWctbOWI+a9B5G30hcnlM9YV4Hgj0hZoxiMt8BDRCX4hcH+0S6AuRs+Q0RiDQFyLHR/vpB/pC5CrFn4nJ3UnzszeR26PdeeEgPZIGDshRij/Uk7OT6QuR06PdeRt9IXJ12q4vVIY5X0pfiFwe7acf6AuRk+SiHSBHZ6m3oAYMnrxwje7nz+uqfGDX6CumQF+I3B3tYqMvRE6Oqb4Q2w30hchBinOAm7RAX8jg4zfncvpCZT9+azYCgb4QuTraJdAXQhs6+kLk4GScHHJ0tMuppS/kFD5lr6svlD/1KJZMX8glHKPo0mGrfNjlfQEGADUIi1Oja/93AAAAAElFTkSuQmCC)}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous:hover .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next:hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous:hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next:hover .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAADACAYAAABCkOCeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0YWZlODM2Ni1mMTA2LTQxYTctYjg1Yy05MDRiZWZkZDNjNTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzJCNzMxMDgwMkIyMTFFNEEwOUZGODEwMEM5N0VBRkQiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzJCNzMxMDcwMkIyMTFFNEEwOUZGODEwMEM5N0VBRkQiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDU0YTA2YzQtN2E3ZC00Y2E0LTk2MTUtNDA1MjIxYjFhZjNhIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRhZmU4MzY2LWYxMDYtNDFhNy1iODVjLTkwNGJlZmRkM2M1MiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqAMdO4AAAeHSURBVHja7FxtaJVlGH5mCyQ2M4JBIAVigqbYD6UW9CuRQ1CUm3pshaGVGfrL+TEYbAvcv1L8+JG4OdfcJjjQP3H+RD8q1iqjD4uIjEFEJKJBZYuwdd0913k979l+5Dnv855zzXPDzbNH3Nlzvc97n+e+7/d6r7rp6WmnbPOcuNWX+wF1dXUl/+5Dj7bcg+F9+I2L42dXSe0AFm9/e9h+hN+reAv1wDPwv+EbpADg6j+LoZPTnV9/NDZe8i1c7rfQrcYAFr8cwwS8Ad6PxW+zfy91HfNSvvJ3YzjHxX8Mf03maxSLt616G/4g/Bf4elz9v5TOgS74UwzaViz+J5mDDFf/aQIw243Ff5DUZwcPYix+KYZP4Y3wU1j8i7P9v6oMYiy+kUHbSBCvyuRCDNpB+DL4ZQbtlFIyZwfVM5bnwLNY/I8y2Siu/pNMFczasfj3Ql2lxIMYi1+C4RP4QvgQFv/C//mcqghiLL6BQWuL/wz+ikxBw6AdYHp8Fd6Cq/+nUkW2zxYN/we+EYuflCkpcfXXYTjA6V4s/t208pOyg3hFc+tiHlJWHo5g8c+V8jmVDOIxLv4r+MuKXYlFHCdw9f9QBPBSfkQstMgBwFU/j+EopycA4gG1HTDbA/+CB9gIQNRLAWCWmYVbDDTDX1fbAQPxLYZdnO7HLqyVOAdmSeZOY7Cz4Gf4wwB2WSaZo1nVdQl+n5WQzJEkcqH8rfQbhk3sPljrcLcUAIK4YHHAaS92YY0UANpB+DvwO+GjALFACgB2waJyC4PZEr631HbAQFzB0MYaIYtd2CYFgCCsoO/l9DBALJMCQOuGfwi/C34GIOZLAcAuWG9oM/wafCX8TbUdcGxsbeV0B3ZhvRQAgrCWyzFO+wDifikAtHb4l0ml3qkDYOptqcZ1+GPuZgtSZgeKU+8O7MITUgAIot9uIcvILWst9XPqXWVtO79Wb1SsoKm0ybNVagAqbWUH8YrmVusH3QF/HN8s10r9nEoW9cb1sYcaw+QAyd1CGwoK+B45AOT67OS0k1yg1CyxxhYW3sd0+Xf4IwD2jUoM5M24P8YB+u9JZaguRDAA5P5YkWJcIOMEDYXuyiV+DpAD1MqgNm5Ql9xBRi5Qvp3YRa5Q9QdxsWHhA843tqxXuhrAvqv2IC4261LniU7nyB3SyYVYOlpQ2/MBa2YNhgjq0K1Fa6VkWbAYd6hTLhtla7Gd0x5yiao/iGcJauOMPg//Fb4GwL6v9iAuNuMOGYdoIYO6QaqgIXfInuRfZfo9kERQp91anMSw0fnnBQZmn1xJSS7RXk4PkGtU/UE8S1Db2xv5lvvqi+Nnf1Ar6o1bZBwj4xqNyXUlyC2a4HSRHAByiyKukRQAcopOcHqUnCMNAHygMcIDzXpKe6S+Rp3nEhmnyGIgWy6jPe2XgIxDlOdQ7OKDDplkrgnD587TcIax+DaZZI45zyku/pJL8E2OtG4hK/Lzrx1uIqdIAwC5QnmuxH5yiTQqMnbnRp3nDBl36KBaSWkcIeMKGWdoCzlEGgDIDcoy928jd0ijrUJO0GFOe0O+BDQvwOKNC3TGeW6QcYS6Q96jIXbAuEArWahsJldIAwA5QDs43Rrq5bcgAMj96eP0GLlBTgJAUYpsXKD2tBLEpHbAnk4a9+c6U4UpGQDk+nQkmSKnvQOWZVq2OUIOUKqWBF/oCr8yt1eivq7xhWoAbncAZQdxLpcr59cjfaFMJrNKbQdq+kKVBBDTF8LtM64EwPSFBvlzPxZ/XOlbSFdfiPlSTF8IrqsvBNfRF4LF9IXgiekLpQHA9IWGClLvI0qphK6+EIM2pi8E19UXguvoC8Fi+kJwndYizPSFTvMWsuA9pFQP6OoL8YoPuAJ9IbiuvhB8UqmkjOkLwVPTF0oCgD1CGuVnWX/0DbWifu7oCznPf5ADUMj5aVEEENMXguvrC7kUXzJNCoC+vhAspi8EX6sGwOyk8922fC3QpAbAuSJ9IYKRAqCvLwSL6QvB9fWF4AvUAOjrCzn/BDPSF4Lr6QuxoI/0hdhmkQJg1u0K9IXg89UA6OsLOd/YivSFnO/USQFwbLlE+kJwfX2hXC5XrwZAX1+oKPXuwC7o6QvBavpCZjW+UA3A7Q4gCb5QpC/EXOeWLJPJVHwHIn2hSuxoTV8IFtMXcp4LJBfEx3mymllDa7nit1BMXyhUFyIkgBn6Qi5wVy7EOaCvL+Q8FyjSF3KeKyR3Eh8pSJHtVlqqmErE9IU4SgGYoS8UIqhDH/36+kLOtxYjfSHnuURy6fShgnPBuERLFOuBmL4QT2wpADP0hZII6rTz90mnri/kPJco0hdCRbdODYCZcYpG+PdHAWKxYlGvrS/kPK9CV1+IQaypL+Q8pyjSF8pkMueVAMwtfSFc/SklADF9IecfdMgcZE0FNYF18U4q5UJzS1/IeU6RDICYvpDzXCKZgmZu6Qs5zyGSARDTF3KeOyTTVonpCzmxl4Dmlr6QK+MhdiUAxPSFXKCX30IBiOkLsXXiVADMLX0hF+Clz5AAYvpCSaTIaQOI9IXczSeVqZZ35VpNX0itJk7U/hVgAMJfpGlj0zW2AAAAAElFTkSuQmCC)}}body .narration-tooltip--pivot2-notification.narration-tooltip.bottom.show-add,div#idk .narration-tooltip--pivot2-notification.narration-tooltip.bottom.show-add{opacity:0;transform:translateY(5px);transition:opacity .3s,transform .3s}body .narration-tooltip--pivot2-notification.narration-tooltip.bottom.show-add-active,div#idk .narration-tooltip--pivot2-notification.narration-tooltip.bottom.show-add-active{opacity:1;transform:translate(0)}body .narration-tooltip--pivot2-notification.narration-tooltip.top.show-add,div#idk .narration-tooltip--pivot2-notification.narration-tooltip.top.show-add{opacity:0;transform:translateY(-5px);transition:opacity .3s,transform .3s}body .narration-tooltip--pivot2-notification.narration-tooltip.top.show-add-active,div#idk .narration-tooltip--pivot2-notification.narration-tooltip.top.show-add-active{opacity:1;transform:translate(0)}body .narration-tooltip--pivot2-notification.narration-tooltip.show-remove,div#idk .narration-tooltip--pivot2-notification.narration-tooltip.show-remove{visibility:visible;opacity:1;transition:opacity .3s}body .narration-tooltip--pivot2-notification.narration-tooltip.show-remove-active,div#idk .narration-tooltip--pivot2-notification.narration-tooltip.show-remove-active{opacity:0}body .narration-tooltip--pivot2-notification .narration-tooltip-host,div#idk .narration-tooltip--pivot2-notification .narration-tooltip-host{width:450px}body .narration-tooltip--pivot2-notification .narration-text,div#idk .narration-tooltip--pivot2-notification .narration-text{padding:7px 13px}body .new-widget-modal .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted,body .new-widget-modal .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon,div#idk .new-widget-modal .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted,div#idk .new-widget-modal .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon{display:none}body .pivot-container,div#idk .pivot-container{position:relative;height:100%;border-style:solid;border-width:8px;border-bottom-width:3px;z-index:1}body .sisense-pivot .table-grid--top.table-grid--left .table-grid__cell--level-first,body .sisense-pivot .table-grid--top.table-grid--right .table-grid__cell--level-first,body .sisense-pivot .table-grid--bottom.table-grid--left .table-grid__cell--level-first,div#idk .sisense-pivot .table-grid--top.table-grid--left .table-grid__cell--level-first,div#idk .sisense-pivot .table-grid--top.table-grid--right .table-grid__cell--level-first,div#idk .sisense-pivot .table-grid--bottom.table-grid--left .table-grid__cell--level-first,body .sisense-pivot .table-grid__cell--corner.table-grid__cell--level-first,body .sisense-pivot .table-grid__cell--columns.table-grid__cell--level-first,body .sisense-pivot .table-grid__cell--rows.table-grid__cell--level-first,div#idk .sisense-pivot .table-grid__cell--corner.table-grid__cell--level-first,div#idk .sisense-pivot .table-grid__cell--columns.table-grid__cell--level-first,div#idk .sisense-pivot .table-grid__cell--rows.table-grid__cell--level-first{font-weight:600}body .sisense-pivot .scroll-elem__horizontal-track,div#idk .sisense-pivot .scroll-elem__horizontal-track{margin-top:2px}body .sisense-pivot .scroll-elem__vertical-track,div#idk .sisense-pivot .scroll-elem__vertical-track{margin-left:2px;z-index:10000}body .sisense-pivot__multi-grid .table-grid,div#idk .sisense-pivot__multi-grid .table-grid{z-index:1}body .sisense-pivot__multi-grid .table-grid__cell,div#idk .sisense-pivot__multi-grid .table-grid__cell{text-align:left;transition:background-color ease .3s;font-weight:400}body .sisense-pivot__multi-grid .table-grid__cell.table-grid__cell--data,div#idk .sisense-pivot__multi-grid .table-grid__cell.table-grid__cell--data{text-align:right}body .sisense-pivot__multi-grid .table-grid__content,div#idk .sisense-pivot__multi-grid .table-grid__content{font-size:13px;line-height:normal;padding:3px 8px 4px}body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__content,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__content{padding-right:25px}body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted,body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon{display:block}body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted:after,body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon:after{display:block;top:0;left:0;background-repeat:no-repeat;background-position:center}body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted{top:4px;right:7px;width:16px;height:16px}body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted:after{width:16px;height:16px}body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon{top:1px;right:1px;width:22px;height:22px}body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon:hover,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon:hover{background-color:#f2f2f2;border-radius:50%}body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon:after{width:20px;height:20px;top:1px;left:1px}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent .table-grid__sorting-settings-icon,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent .table-grid__sorting-settings-icon{background-color:#f2f2f2;border-radius:50%}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent.table-grid__cell--default-sorted--asc .table-grid__sorting-settings-icon:after,body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent.table-grid__cell--default-sorted--desc .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent.table-grid__cell--default-sorted--asc .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent.table-grid__cell--default-sorted--desc .table-grid__sorting-settings-icon:after{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE5IDdINVY4SDE5VjdaIiBmaWxsPSIjNUI2MzcyIi8+CjxwYXRoIGQ9Ik0xNyAxMEg3VjExSDE3VjEwWiIgZmlsbD0iIzVCNjM3MiIvPgo8cGF0aCBkPSJNOSAxM0gxNVYxNEg5VjEzWiIgZmlsbD0iIzVCNjM3MiIvPgo8cGF0aCBkPSJNMTMgMTZIMTFWMTdIMTNWMTZaIiBmaWxsPSIjNUI2MzcyIi8+Cjwvc3ZnPgo=)}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent.table-grid__cell--sorted--asc .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent.table-grid__cell--sorted--asc .table-grid__sorting-settings-icon:after{content:"";background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAIVBMVEUAAABVVVVgYHVaY3NYYHBbYnFbZHJcZHJbY3JbY3L///8+n+SvAAAACXRSTlMAAxgfIEZrwN7K99ocAAAAAWJLR0QKaND0VgAAADFJREFUGNNjYKApmAkBhJSZO3DCVTF3tiAkNDIzFOAcUU5WAYRZnMgGoHNmYpehHgAAbUUKxkfTjB4AAAAASUVORK5CYII=)}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent.table-grid__cell--sorted--desc .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent.table-grid__cell--sorted--desc .table-grid__sorting-settings-icon:after{content:"";background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAJFBMVEUAAABVVVVgYHVYYHBbYnFbY3FbZHJcZHJbY3JbY3JbY3L///8jVOI/AAAACnRSTlMAAxggRmprwN7fVBJwpAAAAAFiS0dECx/XxMAAAAAySURBVBjTY2CgKVgFAYSUcTEgqeJClUHlwFWJcLEIwCU0siIV4BzmrskMCBvNDWjiMQDhxAw5ye8LaQAAAABJRU5ErkJggg==)}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--asc:hover .table-grid__sorting-settings-icon:after,body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--desc:hover .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--asc:hover .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--desc:hover .table-grid__sorting-settings-icon:after{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE5IDdINVY4SDE5VjdaIiBmaWxsPSIjNUI2MzcyIi8+CjxwYXRoIGQ9Ik0xNyAxMEg3VjExSDE3VjEwWiIgZmlsbD0iIzVCNjM3MiIvPgo8cGF0aCBkPSJNOSAxM0gxNVYxNEg5VjEzWiIgZmlsbD0iIzVCNjM3MiIvPgo8cGF0aCBkPSJNMTMgMTZIMTFWMTdIMTNWMTZaIiBmaWxsPSIjNUI2MzcyIi8+Cjwvc3ZnPgo=)}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--asc .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--asc .table-grid__sorting-settings-icon:after{content:"";background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAIVBMVEUAAABVVVVgYHVaY3NYYHBbYnFbZHJcZHJbY3JbY3L///8+n+SvAAAACXRSTlMAAxgfIEZrwN7K99ocAAAAAWJLR0QKaND0VgAAADFJREFUGNNjYKApmAkBhJSZO3DCVTF3tiAkNDIzFOAcUU5WAYRZnMgGoHNmYpehHgAAbUUKxkfTjB4AAAAASUVORK5CYII=)}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--desc .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--desc .table-grid__sorting-settings-icon:after{content:"";background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAJFBMVEUAAABVVVVgYHVYYHBbYnFbY3FbZHJcZHJbY3JbY3JbY3L///8jVOI/AAAACnRSTlMAAxggRmprwN7fVBJwpAAAAAFiS0dECx/XxMAAAAAySURBVBjTY2CgKVgFAYSUcTEgqeJClUHlwFWJcLEIwCU0siIV4BzmrskMCBvNDWjiMQDhxAw5ye8LaQAAAABJRU5ErkJggg==)}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--asc.table-grid__cell--sorted-inactive .table-grid__icon--sorted,body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--asc.table-grid__cell--sorted-inactive .table-grid__sorting-settings-icon,body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--desc.table-grid__cell--sorted-inactive .table-grid__icon--sorted,body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--desc.table-grid__cell--sorted-inactive .table-grid__sorting-settings-icon,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--asc.table-grid__cell--sorted-inactive .table-grid__icon--sorted,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--asc.table-grid__cell--sorted-inactive .table-grid__sorting-settings-icon,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--desc.table-grid__cell--sorted-inactive .table-grid__icon--sorted,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--desc.table-grid__cell--sorted-inactive .table-grid__sorting-settings-icon{display:none}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--asc.table-grid__cell--sorted-inactive .table-grid__icon--sorted:hover,body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--asc.table-grid__cell--sorted-inactive .table-grid__sorting-settings-icon:hover,body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--desc.table-grid__cell--sorted-inactive .table-grid__icon--sorted:hover,body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--desc.table-grid__cell--sorted-inactive .table-grid__sorting-settings-icon:hover,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--asc.table-grid__cell--sorted-inactive .table-grid__icon--sorted:hover,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--asc.table-grid__cell--sorted-inactive .table-grid__sorting-settings-icon:hover,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--desc.table-grid__cell--sorted-inactive .table-grid__icon--sorted:hover,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--desc.table-grid__cell--sorted-inactive .table-grid__sorting-settings-icon:hover{background-color:inherit;border-radius:inherit;pointer-events:none}body .sisense-pivot__multi-grid .table-grid__cell--user-type-measureTop,div#idk .sisense-pivot__multi-grid .table-grid__cell--user-type-measureTop{text-align:center}@supports (-ms-ime-align: auto){body .sisense-pivot__multi-grid .scroll-elem>div:first-child,div#idk .sisense-pivot__multi-grid .scroll-elem>div:first-child{overflow:auto!important}}body .sisense-pivot__multi-grid .sisense-pivot__data-bar,div#idk .sisense-pivot__multi-grid .sisense-pivot__data-bar{padding:0 8px}body .sisense-pivot__multi-grid .sisense-pivot__data-bar-bar,div#idk .sisense-pivot__multi-grid .sisense-pivot__data-bar-bar{background:#34cee6}body .sisense-css-module .pivot-container,div#idk .sisense-css-module .pivot-container{overflow:hidden}body .sisense-css-module .pivot-container ::-webkit-scrollbar,div#idk .sisense-css-module .pivot-container ::-webkit-scrollbar{width:initial;height:initial}body .print-layout .table-grid__cell--sorted .table-grid__cell-corner,div#idk .print-layout .table-grid__cell--sorted .table-grid__cell-corner{display:none}body .print-layout .sisense-pivot--sorting-by-subtotals .table-grid__cell--sorted .table-grid__cell-corner,div#idk .print-layout .sisense-pivot--sorting-by-subtotals .table-grid__cell--sorted .table-grid__cell-corner{display:block}body .print-layout .table-grid__cell--sorted .table-grid__content,div#idk .print-layout .table-grid__cell--sorted .table-grid__content{padding:2px 8px 3px}body .print-layout .table-grid__content__wrapper,div#idk .print-layout .table-grid__content__wrapper{overflow:hidden;width:100%;text-overflow:ellipsis;position:relative;display:block;min-width:8px}body .widget-to-image .scroll-elem__horizontal-track,body .widget-to-image .scroll-elem__vertical-track,div#idk .widget-to-image .scroll-elem__horizontal-track,div#idk .widget-to-image .scroll-elem__vertical-track{display:none}body .widget-to-image .table-grid__content__wrapper,div#idk .widget-to-image .table-grid__content__wrapper{text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}.subtotals-menu__host{width:254px;height:346px;background-color:#fff;border-radius:4px;box-shadow:0 0 5px #3a435633}.subtotals-menu__host .menu-item-host .menu-content{width:100%;max-width:100%;min-width:100%;border:none;box-shadow:none}.subtotals-menu__host .menu-item-host .menu-content .menu-item{width:100%;max-width:100%;min-width:100%;margin:1px 0;height:auto;min-height:29px}.subtotals-menu__host .menu-item-host .menu-content .menu-item .mi-icon{margin-left:12px}.subtotals-menu__host .menu-item-host .menu-content .menu-item .mi-caption__auto{margin-left:16px}.subtotals-menu__host .menu-item-host .menu-content .menu-item .menu-item-container{flex-flow:row wrap}.subtotals-menu__host .menu-item-host .menu-content .menu-item .break{flex-basis:100%;width:0px;height:0px;overflow:hidden}.subtotals-menu__host .menu-item-host .menu-content .menu-item.mi-separator{min-height:1px;margin:6px 0}.subtotals-menu__host .menu-item-host .menu-content .menu-item .mi-checker{margin:0 15px 0 0}.subtotals-menu__host .subtotals-menu__item-distinct{display:flex;justify-content:space-between;margin:7px 15px 7px 21px}.subtotals-menu__header{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:42px;background-color:#f4f4f8;border-radius:4px 4px 0 0;font-size:13px;font-weight:600;padding:12px 13px 12px 16px;line-height:18px;margin-bottom:7px}.subtotals-menu__header-tooltip .info{margin-left:0}.subtotals-menu__header-tooltip .info:hover{background-color:#dee1e7;border-radius:50%}.subtotals-menu__actions{margin-top:6px;padding:16px;display:flex;justify-content:flex-end;border-top:1px solid #edeef1}.subtotals-menu__actions button.btn{margin-left:8px}.totals-tooltip-host{width:433px;height:200px}.totals-tooltip__container{font-size:13px;margin:4px 8px;line-height:19px}:export{loginDarkColor:#2c3342;darkBtnHoverColor:#f4f4f8;greyHoverColor:#dee1e7;defaultBackgroundColor:#fff}:where(.sis-scope) html,:where(.sis-scope) body,:where(.sis-scope) applet,:where(.sis-scope) object,:where(.sis-scope) iframe,:where(.sis-scope) h1,:where(.sis-scope) h2,:where(.sis-scope) h3,:where(.sis-scope) h4,:where(.sis-scope) h5,:where(.sis-scope) h6,:where(.sis-scope) p,:where(.sis-scope) blockquote,:where(.sis-scope) pre,:where(.sis-scope) a,:where(.sis-scope) abbr,:where(.sis-scope) acronym,:where(.sis-scope) address,:where(.sis-scope) big,:where(.sis-scope) cite,:where(.sis-scope) code,:where(.sis-scope) del,:where(.sis-scope) dfn,:where(.sis-scope) em,:where(.sis-scope) img,:where(.sis-scope) ins,:where(.sis-scope) kbd,:where(.sis-scope) q,:where(.sis-scope) s,:where(.sis-scope) samp,:where(.sis-scope) small,:where(.sis-scope) strike,:where(.sis-scope) strong,:where(.sis-scope) sub,:where(.sis-scope) sup,:where(.sis-scope) tt,:where(.sis-scope) var,:where(.sis-scope) b,:where(.sis-scope) u,:where(.sis-scope) i,:where(.sis-scope) center,:where(.sis-scope) dl,:where(.sis-scope) dt,:where(.sis-scope) dd,:where(.sis-scope) ol,:where(.sis-scope) ul,:where(.sis-scope) li,:where(.sis-scope) fieldset,:where(.sis-scope) form,:where(.sis-scope) label,:where(.sis-scope) legend,:where(.sis-scope) table,:where(.sis-scope) caption,:where(.sis-scope) article,:where(.sis-scope) aside,:where(.sis-scope) canvas,:where(.sis-scope) details,:where(.sis-scope) embed,:where(.sis-scope) figure,:where(.sis-scope) figcaption,:where(.sis-scope) footer,:where(.sis-scope) header,:where(.sis-scope) hgroup,:where(.sis-scope) menu,:where(.sis-scope) nav,:where(.sis-scope) output,:where(.sis-scope) ruby,:where(.sis-scope) section,:where(.sis-scope) summary,:where(.sis-scope) time,:where(.sis-scope) mark,:where(.sis-scope) audio,:where(.sis-scope) video{margin:0;padding:0;vertical-align:baseline;border:0;outline:none}:where(.sis-scope) article,:where(.sis-scope) aside,:where(.sis-scope) details,:where(.sis-scope) figcaption,:where(.sis-scope) figure,:where(.sis-scope) footer,:where(.sis-scope) header,:where(.sis-scope) hgroup,:where(.sis-scope) menu,:where(.sis-scope) nav,:where(.sis-scope) section{display:block}:where(.sis-scope) body{margin:0}:where(.sis-scope) ol,:where(.sis-scope) ul{list-style:none}:where(.sis-scope) blockquote,:where(.sis-scope) q{quotes:none}:where(.sis-scope) blockquote:before,:where(.sis-scope) blockquote:after{content:none}:where(.sis-scope) q:before,:where(.sis-scope) q:after{content:none}:where(.sis-scope) table{border-spacing:0;border-collapse:collapse}:where(.sis-scope) textarea,:where(.sis-scope) select{outline:none}.sis-scope{font-size:13px;line-height:normal;cursor:default;padding:0;margin:0;background:inherit;font-family:Open Sans;color:#5b6372}.sis-scope .btn{background-color:#ffcb05;color:#3a4356}.sis-scope *,.sis-scope *:before,.sis-scope *:after{box-sizing:border-box}.sis-scope ::-webkit-input-placeholder{opacity:1}.sis-scope ::-moz-placeholder{opacity:1}.sis-scope ::-ms-placeholder{opacity:1}.sis-scope ::placeholder{opacity:1}.sis-scope .app-icon{position:relative;display:inline-block;vertical-align:middle;width:24px;height:24px;box-sizing:content-box;text-align:left}.sis-scope .app-icon:after{content:"";position:absolute;top:0;left:0;display:block;width:100%;height:100%}.sis-scope .app-icon__svg{position:relative;display:block;width:100%;height:100%}.sis-scope .app-icon--build-failed .app-icon__svg,.sis-scope .app-icon--build-stopped .app-icon__svg,.sis-scope .app-icon--build-exlamation-mark-error-cancel .app-icon__svg,.sis-scope .app-icon--general-relationship-error .app-icon__svg,.sis-scope .app-icon--placeholder-mark-x .app-icon__svg{fill:#fa5656}.sis-scope .app-icon--placeholder-mark-info .app-icon__svg,.sis-scope .app-icon--build-vi-apply-aprrove .app-icon__svg,.sis-scope .app-icon--general-status-running .app-icon__svg{fill:#35d7be}.sis-scope .app-icon--general-x-sign .app-icon__svg,.sis-scope .app-icon--general-vi-sign .app-icon__svg{fill:transparent}.sis-scope .app-icon--general-status-pending,.sis-scope .app-icon--general-status-running{color:#d1d1d7}.sis-scope .app-icon--general-relationship-tool-tip{width:36px}.sis-scope .app-icon--header-pulse{width:28px}.sis-scope .app-icon--general-update,.sis-scope .app-icon--popup-interval-selected,.sis-scope .app-icon--popup-week-selected,.sis-scope .app-icon--popup-disable-selected{width:50px;height:50px}.sis-scope .app-icon--general-yellow-round-add{width:27px;height:27px}.sis-scope .app-icon--general-sampling-sample-big,.sis-scope .app-icon--general-sampling-top-big,.sis-scope .app-icon--general-sampling-bottom-big{width:35px;height:35px}.sis-scope .app-icon--general-drag-edit-relation,.sis-scope .app-icon--general-drag-new-relation,.sis-scope .app-icon--general-drag{width:36px;height:36px}.sis-scope .app-icon--popup-public-selected{width:49px;height:42px}.sis-scope .app-icon--header-git,.sis-scope .app-icon--general-git-add-branch,.sis-scope .app-icon--header-git .app-icon__svg,.sis-scope .app-icon--general-git-add-branch .app-icon__svg{fill:none}.sis-scope .app-icon--header-git,.sis-scope .app-icon--header-alarm,.sis-scope .app-icon--header-user,.sis-scope .app-icon--header-user-filled{width:30px;height:30px}.sis-scope .app-icon--general-git-add-branch{width:18px;height:18px}.sis-scope .app-icon--popup-lshare-selected,.sis-scope .app-icon--popup-lock-selected,.sis-scope .app-icon--hint-question-mark,.sis-scope .app-icon--hint-x{width:42px;height:42px}.sis-scope .app-icon--resource-guide,.sis-scope .app-icon--resource-help,.sis-scope .app-icon--resource-learn{width:26px;height:37px}.sis-scope .app-icon--schema-arrow-close-left,.sis-scope .app-icon--schema-arrow-close-right,.sis-scope .app-icon--schema-version-history,.sis-scope .app-icon--schema-compass{width:26px;height:26px}.sis-scope .app-icon--wizard-add-folder,.sis-scope .app-icon--wizard-connect,.sis-scope .app-icon--wizard-database,.sis-scope .app-icon--wizard-files,.sis-scope .app-icon--wizard-new-page,.sis-scope .app-icon--wizard-recent,.sis-scope .app-icon--wizard-recent-circle,.sis-scope .app-icon--wizard-rest,.sis-scope .app-icon--wizard-view,.sis-scope .app-icon--wizard-web,.sis-scope .app-icon--wizard-certified{width:35px;height:35px}.sis-scope .app-icon--nodes-delete,.sis-scope .app-icon--nodes-rename,.sis-scope .app-icon--nodes-edit,.sis-scope .app-icon--nodes-more,.sis-scope .app-icon--nodes-preview,.sis-scope .app-icon--nodes-ignored,.sis-scope .app-icon--nodes-accumulated,.sis-scope .app-icon--nodes-accumulated-2{width:37px;height:37px}.sis-scope .app-icon--placeholder-database,.sis-scope .app-icon--placeholder-database-x,.sis-scope .app-icon--placeholder-connection,.sis-scope .app-icon--placeholder-git-graph,.sis-scope .app-icon--placeholder-parameters,.sis-scope .app-icon--placeholder-search-x,.sis-scope .app-icon--placeholder-search,.sis-scope .app-icon--placeholder-table,.sis-scope .app-icon--placeholder-table-x,.sis-scope .app-icon--placeholder-table-init,.sis-scope .app-icon--placeholder-tools,.sis-scope .app-icon--placeholder-preview,.sis-scope .app-icon--placeholder-database-plus-black-white,.sis-scope .app-icon--placeholder-preview-inspect-black-white,.sis-scope .app-icon--placeholder-preview-plus-black-white,.sis-scope .app-icon--placeholder-generate-token,.sis-scope .app-icon--placeholder-key,.sis-scope .app-icon--placeholder-presentation{width:110px;height:110px}.sis-scope .app-icon--placeholder-filter{width:110px;height:130px}.sis-scope .app-icon--placeholder-sheet{width:89px;height:93px}.sis-scope .app-icon--placeholder-mark-info,.sis-scope .app-icon--placeholder-mark-exclamation,.sis-scope .app-icon--placeholder-mark-vi,.sis-scope .app-icon--placeholder-mark-x{width:66px;height:66px}.sis-scope .app-icon--placeholder-place-file,.sis-scope .app-icon--placeholder-place-text-add{width:120px;height:70px}.sis-scope .app-icon--illustration-build-succeeded,.sis-scope .app-icon--illustration-build-failed{width:225px;height:210px}.sis-scope .app-icon--homepages-video,.sis-scope .app-icon--homepages-tutorials,.sis-scope .app-icon--homepages-documentation,.sis-scope .app-icon--homepages-sample{width:65px;height:56px}.sis-scope .app-icon--homepages-play{width:61px;height:61px}.sis-scope .app-icon--widget-area-chart,.sis-scope .app-icon--widget-area-map,.sis-scope .app-icon--widget-bar-chart,.sis-scope .app-icon--widget-box-whisker-plot,.sis-scope .app-icon--widget-calendar-heatmap,.sis-scope .app-icon--widget-column-char,.sis-scope .app-icon--widget-indicator,.sis-scope .app-icon--widget-line-chart,.sis-scope .app-icon--widget-pie-chart,.sis-scope .app-icon--widget-pivot,.sis-scope .app-icon--widget-polar-chart,.sis-scope .app-icon--widget-scatter-chart,.sis-scope .app-icon--widget-scatter-map,.sis-scope .app-icon--widget-sunburst,.sis-scope .app-icon--widget-table,.sis-scope .app-icon--widget-treemap,.sis-scope .app-icon--widget-no-sort{width:26px;height:26px}.sis-scope .app-icon--buildpanel-replace-all,.sis-scope .app-icon--buildpanel-by-table,.sis-scope .app-icon--buildpanel-changes-only{width:64px;height:64px}.sis-scope .app-icon--ai-group-similar-big{width:88px;height:83px}.sis-scope :export{loginDarkColor:#2c3342;darkBtnHoverColor:#f4f4f8;greyHoverColor:#dee1e7;defaultBackgroundColor:#fff}.sis-scope .btn{opacity:1;font-family:inherit;font-style:normal;font-size:13px;line-height:24px;display:inline-block;box-sizing:border-box;margin:0;padding:0;cursor:pointer;transition:all .3s ease;vertical-align:middle;text-decoration:none;border:0;border-radius:4px;outline:none;white-space:nowrap;appearance:none}.sis-scope .btn .btn__icon{display:inline-block;padding-left:9px}.sis-scope .btn .btn__icon+.btn__text{vertical-align:middle;margin-left:-3px;padding-left:0;padding-right:13px;max-width:calc(100% - 24px)}.sis-scope .btn:hover{text-decoration:none;opacity:1}.sis-scope .btn:focus{outline:none}.sis-scope .btn::-moz-focus-inner{border:0}.sis-scope .btn.btn--disabled,.sis-scope .btn[disabled=disabled]{cursor:default;opacity:.4}.sis-scope .btn__text{position:relative;display:inline-block;vertical-align:top;padding:2px 20px;max-width:100%}.sis-scope .btn__icon{display:inline-block;padding:0}.sis-scope .btn--warning,.sis-scope .btn--warning:hover{opacity:1}.sis-scope .btn--warning.btn--disabled,.sis-scope .btn--warning[disabled=disabled]{opacity:.4}.sis-scope .btn--danger{background:#edeef1;opacity:1}.sis-scope .btn--danger:hover{color:#fff;background:#fa5656;opacity:1}.sis-scope .btn--danger.btn--disabled,.sis-scope .btn--danger[disabled=disabled]{color:#5b6372;background:#edeef1;opacity:.6}.sis-scope .btn--transp{color:#9ea2ab;background:none;opacity:1;line-height:1}.sis-scope .btn--transp:hover{background:none;opacity:1}.sis-scope .btn--transp.btn--disabled,.sis-scope .btn--transp[disabled=disabled]{background:none;opacity:.4}.sis-scope .btn--transp .btn__icon{padding-left:0}.sis-scope .btn--transp .btn__text,.sis-scope .btn--transp .btn__icon+.btn__text{padding-left:0;padding-right:0}.sis-scope .btn--gray,.sis-scope .btn--smart,.sis-scope .btn--gray:hover,.sis-scope .btn--smart:hover{opacity:1}.sis-scope .btn--gray.btn--disabled,.sis-scope .btn--gray[disabled=disabled],.sis-scope .btn--smart.btn--disabled,.sis-scope .btn--smart[disabled=disabled]{opacity:.6}.sis-scope .btn--white{background:#fff;opacity:1}.sis-scope .btn--white:hover{background:#f2b900;opacity:1}.sis-scope .btn--white.btn--disabled,.sis-scope .btn--white[disabled=disabled]{background:#fff;opacity:.6}.sis-scope .btn--icon .btn__text{display:none}.sis-scope .btn--icon .btn__icon{padding-left:5px;padding-right:5px}.sis-scope .btn--icon.btn--transp .btn__icon,.sis-scope .btn--icon.btn--dark .btn__icon{padding-left:0;padding-right:0}.sis-scope .btn--limited .btn__text{white-space:normal}.sis-scope .btns-holder{display:flex;align-items:center}.sis-scope .btns-holder>*{margin:0 5px}.sis-scope .btns-holder>*:first-child{margin-left:0}.sis-scope .btns-holder>*:last-child{margin-right:0}.sis-scope .btns-holder .btn--offset-ml{margin-left:15px}.sis-scope .btns-holder .btn:not(.btn--transp)+.btn--transp{margin-left:15px}.sis-scope .btns-holder .btn--transp+.btn:not(.btn--transp){margin-left:15px}.sis-scope .btn-icon-link{display:inline-block;vertical-align:middle;margin:0;padding:0;background:none;border:none;outline:none;font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;color:inherit;cursor:pointer}.sis-scope .btn-icon-link:hover .btn-icon-link__icon.btn,.sis-scope .btn-icon-link:hover .btn-icon-link__icon.btn--warning{opacity:1}.sis-scope .btn-icon-link:hover .btn-icon-link__icon.btn--danger{color:#fff;background:#fa5656;opacity:1}.sis-scope .btn-icon-link:hover .btn-icon-link__icon.btn--transp{background:none;opacity:1}.sis-scope .btn-icon-link:hover .btn-icon-link__icon.btn--gray,.sis-scope .btn-icon-link:hover .btn-icon-link__icon.btn--smart{opacity:1}.sis-scope .btn-icon-link:hover .btn-icon-link__icon.btn--white{background:#f2b900;opacity:1}.sis-scope .btn-icon-link:hover .btn-icon-link__icon.confirm-btn{opacity:1}.sis-scope .btn-icon-link:hover .btn-icon-link__icon.confirm-btn.confirm-btn--apply{color:#fff;background:#35d7be;border-color:#35d7be}.sis-scope .btn-icon-link:hover .btn-icon-link__icon.confirm-btn.confirm-btn--cancel{color:#fff;background:#fa5656;border-color:#fa5656}.sis-scope .btn-icon-link.btn-icon-link--disabled,.sis-scope .btn-icon-link[disabled=disabled],.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon{cursor:default}.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.btn,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.btn,.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.btn--warning,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.btn--warning{opacity:.4}.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.btn--danger,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.btn--danger{color:#5b6372;background:#edeef1;opacity:.6}.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.btn--transp,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.btn--transp{background:none;opacity:.4}.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.btn--gray,.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.btn--smart,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.btn--gray,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.btn--smart{opacity:.6}.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.btn--white,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.btn--white{background:#fff;opacity:.6}.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.confirm-btn,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.confirm-btn{opacity:.4}.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.confirm-btn.confirm-btn--apply,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.confirm-btn.confirm-btn--apply{color:#35d7be;background:rgba(53,215,190,0);border-color:#35d7be}.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.confirm-btn.confirm-btn--cancel,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.confirm-btn.confirm-btn--cancel{color:#fa5656;background:rgba(250,86,86,0);border-color:#fa5656}.sis-scope .btn-icon-link__icon{width:28px;margin-right:5px;border-radius:50%}.sis-scope .btn-icon-link__icon .btn__icon{vertical-align:top;padding:1px 0}.sis-scope .btn-icon-link__icon .btn__icon.app-icon--general-plus{padding-left:2px}.sis-scope .btn-icon-link__text{display:inline-block;vertical-align:middle}.sis-scope .btn--more:hover .btn__text{margin-left:-9px}.sis-scope .btn--more:hover .btn__icon{width:10px}.sis-scope .btn--more.btn--danger:hover .btn__icon,.sis-scope .btn--more.btn--danger:hover .btn__icon:before{border-color:#fff}.sis-scope .btn--more.btn--more-open .btn__text{margin-left:-9px}.sis-scope .btn--more.btn--more-open .btn__icon{width:10px}.sis-scope .btn--more .btn__text{position:relative;margin-left:0;padding-right:5px;transition:margin-left .3s linear}.sis-scope .btn--more .btn__icon{position:relative;top:2px;width:1px;height:9px;margin:0 10px 0 0;padding:0;border:solid 1px #3a4356;border-width:1px 0 1px 0;transition:width .3s linear,border-color .3s}.sis-scope .btn--more .btn__icon:before{content:"";position:absolute;left:0;top:3px;width:100%;height:1px;border-bottom:solid 1px #3a4356;transition:border-color .3s}.sis-scope .confirm-btns{display:flex;font-size:0}.sis-scope .confirm-btns .confirm-btn{opacity:1;padding:0;width:17px;height:17px;margin:0 4px;font-size:0;line-height:15px;text-align:center;border:solid 1px transparent;border-radius:50%}.sis-scope .confirm-btns .confirm-btn.confirm-btn--apply{color:#35d7be;background:rgba(53,215,190,0);border-color:#35d7be}.sis-scope .confirm-btns .confirm-btn.confirm-btn--cancel{color:#fa5656;background:rgba(250,86,86,0);border-color:#fa5656}.sis-scope .confirm-btns .confirm-btn:hover{opacity:1}.sis-scope .confirm-btns .confirm-btn:hover.confirm-btn--apply{color:#fff;background:#35d7be;border-color:#35d7be}.sis-scope .confirm-btns .confirm-btn:hover.confirm-btn--cancel{color:#fff;background:#fa5656;border-color:#fa5656}.sis-scope .confirm-btns .confirm-btn.btn--disabled,.sis-scope .confirm-btns .confirm-btn[disabled=disabled]{cursor:default;opacity:.4}.sis-scope .confirm-btns .confirm-btn.btn--disabled.confirm-btn--apply,.sis-scope .confirm-btns .confirm-btn[disabled=disabled].confirm-btn--apply{color:#35d7be;background:rgba(53,215,190,0);border-color:#35d7be}.sis-scope .confirm-btns .confirm-btn.btn--disabled.confirm-btn--cancel,.sis-scope .confirm-btns .confirm-btn[disabled=disabled].confirm-btn--cancel{color:#fa5656;background:rgba(250,86,86,0);border-color:#fa5656}.sis-scope .confirm-btns .confirm-btn .btn__icon{width:9px;height:9px;margin:3px;padding:0}.sis-scope .btn--dark{background:none;color:#5b6372;border-radius:4px;padding:0;transition:unset;line-height:1}.sis-scope .btn--dark .btn__text{padding:0}.sis-scope .btn--dark.btn--icon{display:flex;align-items:center;justify-content:center;height:28px;width:28px;padding:0;border-radius:50%}.sis-scope .btn--dark.btn--icon.btn--small{height:24px;width:24px}.sis-scope .btn--dark:hover{background-color:#f4f4f8;color:inherit}.sis-scope .btn--dark:hover.btn--on-grey{background-color:#dee1e7}.sis-scope .btn--dark:hover.btn--no-hover{background:none}.sis-scope .btn--dark.btn--disabled,.sis-scope .btn--dark[disabled=disabled]{cursor:default;background:none;opacity:.4}@keyframes _rcToolTipZoomIn_1947o_1{0%{opacity:0;transform-origin:50% 50%;transform:scale(0)}to{opacity:1;transform-origin:50% 50%;transform:scale(1)}}@keyframes _rcToolTipZoomOut_1947o_1{0%{opacity:1;transform-origin:50% 50%;transform:scale(1)}to{opacity:0;transform-origin:50% 50%;transform:scale(0)}}.rc-tooltip-inner{padding:6px 12px;min-height:0;border:0;border-radius:4px;pointer-events:none;color:red;font-size:14px}.rc-tooltip-arrow{border-width:0!important;width:8px;height:8px;background-color:#000;z-index:-1;transform:rotate(45deg)}.rc-tooltip-content:before{content:"";position:absolute;width:8px;height:8px;background-color:#000;transform:rotate(45deg)}._breakLongWord_1947o_272{word-break:break-all}._popover_wakdx_1 .rc-tooltip-inner{pointer-events:auto;overflow:hidden}._popoverMask_wakdx_6{position:absolute;width:100%;top:0;bottom:0}.rc-tooltip.rc-tooltip-zoom-appear,.rc-tooltip.rc-tooltip-zoom-enter{opacity:0}.rc-tooltip.rc-tooltip-zoom-enter,.rc-tooltip.rc-tooltip-zoom-leave{display:block}.rc-tooltip-zoom-enter,.rc-tooltip-zoom-appear{opacity:0;animation-duration:.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.18,.89,.32,1.28);animation-play-state:paused}.rc-tooltip-zoom-leave{animation-duration:.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.6,-.3,.74,.05);animation-play-state:paused}.rc-tooltip-zoom-enter.rc-tooltip-zoom-enter-active,.rc-tooltip-zoom-appear.rc-tooltip-zoom-appear-active{animation-name:rcToolTipZoomIn;animation-play-state:running}.rc-tooltip-zoom-leave.rc-tooltip-zoom-leave-active{animation-name:rcToolTipZoomOut;animation-play-state:running}@keyframes _rcToolTipZoomIn_1dxah_1{0%{opacity:0;transform-origin:50% 50%;transform:scale(0)}to{opacity:1;transform-origin:50% 50%;transform:scale(1)}}@keyframes _rcToolTipZoomOut_1dxah_1{0%{opacity:1;transform-origin:50% 50%;transform:scale(1)}to{opacity:0;transform-origin:50% 50%;transform:scale(0)}}.rc-tooltip{position:absolute;z-index:1070;display:block;visibility:visible;line-height:1.5;font-size:12px;background-color:#0000000d;padding:1px;opacity:.9}.rc-tooltip-hidden{display:none}.rc-tooltip-inner{padding:8px 10px;color:#333;text-align:left;text-decoration:none;background-color:#fff;border-radius:3px;min-height:34px;border:1px solid #b1b1b1}.rc-tooltip-arrow,.rc-tooltip-arrow-inner{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.rc-tooltip-placement-top .rc-tooltip-arrow,.rc-tooltip-placement-topLeft .rc-tooltip-arrow,.rc-tooltip-placement-topRight .rc-tooltip-arrow{transform:translate(-50%,5px);margin-left:-6px;border-width:6px 6px 0;border-top-color:#b1b1b1}.rc-tooltip-placement-top .rc-tooltip-arrow-inner,.rc-tooltip-placement-topLeft .rc-tooltip-arrow-inner,.rc-tooltip-placement-topRight .rc-tooltip-arrow-inner{bottom:1px;margin-left:-6px;border-width:6px 6px 0;border-top-color:#fff}.rc-tooltip-placement-top .rc-tooltip-arrow{left:50%}.rc-tooltip-placement-topLeft .rc-tooltip-arrow{left:15%}.rc-tooltip-placement-topRight .rc-tooltip-arrow{right:15%}.rc-tooltip-placement-right .rc-tooltip-arrow,.rc-tooltip-placement-rightTop .rc-tooltip-arrow,.rc-tooltip-placement-rightBottom .rc-tooltip-arrow{left:-5px;margin-top:-6px;border-width:6px 6px 6px 0;border-right-color:#b1b1b1;transform:translate(calc(-100% + 1px))}.rc-tooltip-placement-right .rc-tooltip-arrow-inner,.rc-tooltip-placement-rightTop .rc-tooltip-arrow-inner,.rc-tooltip-placement-rightBottom .rc-tooltip-arrow-inner{left:1px;margin-top:-6px;border-width:6px 6px 6px 0;border-right-color:#fff}.rc-tooltip-placement-right .rc-tooltip-arrow{top:50%}.rc-tooltip-placement-rightTop .rc-tooltip-arrow{top:15%;margin-top:0}.rc-tooltip-placement-rightBottom .rc-tooltip-arrow{bottom:15%}.rc-tooltip-placement-left .rc-tooltip-arrow,.rc-tooltip-placement-leftTop .rc-tooltip-arrow,.rc-tooltip-placement-leftBottom .rc-tooltip-arrow{right:-5px;margin-top:-6px;border-width:6px 0 6px 6px;border-left-color:#b1b1b1;transform:translate(calc(100% - 1px))}.rc-tooltip-placement-left .rc-tooltip-arrow-inner,.rc-tooltip-placement-leftTop .rc-tooltip-arrow-inner,.rc-tooltip-placement-leftBottom .rc-tooltip-arrow-inner{right:1px;margin-top:-6px;border-width:6px 0 6px 6px;border-left-color:#fff}.rc-tooltip-placement-left .rc-tooltip-arrow{top:50%}.rc-tooltip-placement-leftTop .rc-tooltip-arrow{top:15%;margin-top:0}.rc-tooltip-placement-leftBottom .rc-tooltip-arrow{bottom:15%}.rc-tooltip-placement-bottom .rc-tooltip-arrow,.rc-tooltip-placement-bottomLeft .rc-tooltip-arrow,.rc-tooltip-placement-bottomRight .rc-tooltip-arrow{transform:translate(-50%,-5px);margin-left:-6px;border-width:0 6px 6px;border-bottom-color:#b1b1b1}.rc-tooltip-placement-bottom .rc-tooltip-arrow-inner,.rc-tooltip-placement-bottomLeft .rc-tooltip-arrow-inner,.rc-tooltip-placement-bottomRight .rc-tooltip-arrow-inner{top:1px;margin-left:-6px;border-width:0 6px 6px;border-bottom-color:#fff}.rc-tooltip-placement-bottom .rc-tooltip-arrow{left:50%}.rc-tooltip-placement-bottomLeft .rc-tooltip-arrow{left:15%}.rc-tooltip-placement-bottomRight .rc-tooltip-arrow{right:15%}.rc-tooltip{padding:0;background-color:transparent;opacity:1}.rc-tooltip.hide-arrow .rc-tooltip-arrow,.rc-tooltip.hide-arrow .rc-tooltip-content:before{display:none}.rc-tooltip.hide-arrow.rc-tooltip-placement-top,.rc-tooltip.hide-arrow.rc-tooltip-placement-bottom,.rc-tooltip.hide-arrow.rc-tooltip-placement-left,.rc-tooltip.hide-arrow.rc-tooltip-placement-right,.rc-tooltip.hide-arrow .rc-tooltip-inner{padding:0}.rc-tooltip-content{position:relative}.rc-tooltip-inner{padding:6px 12px;min-height:0;border:0;border-radius:4px;box-shadow:0 -1px 5px 1px #3a435633;pointer-events:none;color:#7f899c;font-size:13px}.rc-tooltip-arrow{border-width:0!important;width:8px;height:8px;background-color:#fff;box-shadow:0 -1px 5px 1px #3a435633;z-index:-1;transform:rotate(45deg)}.rc-tooltip-content:before{content:"";position:absolute;width:8px;height:8px;background-color:#fff;transform:rotate(45deg)}.rc-tooltip-placement-top{padding-bottom:6px}.rc-tooltip-placement-top .rc-tooltip-arrow,.rc-tooltip-placement-top .rc-tooltip-content:before{left:50%;margin-left:-4px;bottom:-4px}.rc-tooltip-placement-bottom{padding-top:6px}.rc-tooltip-placement-bottom .rc-tooltip-arrow,.rc-tooltip-placement-bottom .rc-tooltip-content:before{left:50%;margin-left:-4px;top:-4px}.rc-tooltip-placement-right{padding-left:6px}.rc-tooltip-placement-right .rc-tooltip-arrow,.rc-tooltip-placement-right .rc-tooltip-content:before{top:50%;margin-top:-4px;left:-4px}.rc-tooltip-placement-left{padding-right:6px}.rc-tooltip-placement-left .rc-tooltip-arrow,.rc-tooltip-placement-left .rc-tooltip-content:before{top:50%;margin-top:-4px;right:-4px}._breakLongWord_1dxah_307{word-break:break-all}._semanticText_1dxah_311{max-width:432px}.sis-scope._tooltip_1dxah_315{padding:12px 16px}._loader_1uppi_1{display:flex;align-content:center;justify-content:center;align-items:center}._loader_1uppi_1 ._caption_1uppi_7{margin-top:50%;word-break:break-word;text-align:center}._loader_1uppi_1 ._caption_1uppi_7 span{position:unset}._clickable_19yrx_1{cursor:pointer}._disabled_19yrx_5{pointer-events:none}._sharedComponentsInputRadioButton_195lt_1{width:28px;height:28px;padding:8px}._sharedComponentsInputRadioButton_195lt_1:hover{background-color:#5b63721a;border-radius:50%}.sis-scope .custom-radiobtn__text{padding-left:4px}._disabled_195lt_15{pointer-events:none}._disabled_195lt_15 .custom-radiobtn__text{color:#5b637266}.sis-scope .custom-checkbox__icon.app-icon._transparent_i81lr_1{background:transparent!important;color:transparent}.sis-scope .custom-checkbox__input:checked+.custom-checkbox__icon._transparent_i81lr_1{color:#3a4356}.sis-scope .custom-checkbox__text{padding-left:4px}._icon_i81lr_12{margin:0 -5px 0 0;cursor:pointer}._disabled_i81lr_17{pointer-events:none}._disabled_i81lr_17 .custom-checkbox__text{color:#5b637266}._disabled_i81lr_17 .app-icon{opacity:.4}._sharedComponentsInputCheckbox_i81lr_27{width:28px;height:28px;padding:8px}._sharedComponentsInputCheckbox_i81lr_27:hover{background-color:#5b63721a;border-radius:50%}._container_v8yrt_7{min-width:128px;position:absolute;cursor:pointer;padding:0;background:#fff;box-shadow:0 0 5px #3a435633;border-radius:4px}._container_v8yrt_7 li{list-style-type:none;line-height:22px;display:flex;justify-content:flex-start;align-items:center;padding:4px 5px;position:relative;transition:background-color .3s eaSe;cursor:pointer}._container_v8yrt_7 li._disabled_v8yrt_27{opacity:.5;cursor:default}._container_v8yrt_7 li._groupHeader_v8yrt_31{pointer-events:none;font-style:italic;font-weight:600}._container_v8yrt_7 li._isDrill_v8yrt_36:hover,._container_v8yrt_7 li._isDrill_v8yrt_36.fakeHover{background-color:#f4f4f8}._container_v8yrt_7 li:hover:not(._disabled_v8yrt_27){background-color:#f4f4f8}._container_v8yrt_7 li:hover:not(._disabled_v8yrt_27):after{opacity:1}._container_v8yrt_7 li._separator_v8yrt_45{border-top:1px solid #e1e1e1}._container_v8yrt_7 li._noIcon_v8yrt_48{padding-left:16px;padding-right:16px}._container_v8yrt_7 li._item_v8yrt_52._checked_v8yrt_52:after{content:"";display:block;position:absolute;top:0;left:0;height:100%;width:2px;background-color:#3a4356}._container_v8yrt_7 li._radio_v8yrt_62{padding-left:8px;padding-right:0;line-height:22px;align-items:stretch}._container_v8yrt_7 li._checkbox_v8yrt_68{padding-left:0;padding-right:0;line-height:22px;align-items:stretch}._container_v8yrt_7 li ._icon_v8yrt_74{margin:0 10px 0 7px}._container_v8yrt_7 li ._itemType_v8yrt_77{display:flex;width:100%;margin-right:1px;white-space:nowrap}._container_v8yrt_7 li ._itemType_v8yrt_77 :last-child{margin-left:auto}._container_v8yrt_7 li ._nestedType_v8yrt_86{display:flex;width:100%}._container_v8yrt_7 li ._nestedType_v8yrt_86 ._nestedIcon_v8yrt_90{position:static!important}._container_v8yrt_7 li ._menuItemText_v8yrt_93{flex-grow:1;display:flex;align-items:center}._separateGroup_v8yrt_99{min-width:fit-content}._itemCheckBox_v8yrt_103{padding:0 5px 0 16px;width:100%}._itemRadioButton_v8yrt_108{padding:0 5px 0 8px;width:100%}._scrollbar_v8yrt_113{cursor:default}._scrollbar_v8yrt_113>div:first-child{position:relative!important}._itemContainer_v8yrt_120{display:flex;flex-grow:1}._inlineConfirmation_v8yrt_125{font-weight:600}._menuItemTooltip_v8yrt_129{max-width:180px;overflow-wrap:break-word}._menuItemTooltip_v8yrt_129.rc-tooltip-placement-left{max-width:195px;padding-right:15px}._toggleButtonMenu_v8yrt_138{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);right:10px}._loader_v8yrt_146{height:25px;position:relative;margin:0 auto;width:90%}._container_v9uof_1{min-width:245px;max-width:350px;padding:12px 18px;font-size:13px;user-select:none}._message_v9uof_9{margin-top:10px;overflow:hidden;white-space:pre-line;text-overflow:ellipsis}._buttons_v9uof_16{margin-top:19px;width:100%;text-align:right}._button_v9uof_16{height:25px;width:auto;background:transparent;outline:none;cursor:pointer;border:none}._button_v9uof_16:hover{opacity:.7}._confirm_v9uof_34{color:green;margin-right:20px}._cancel_v9uof_39{color:red}._component_lx560_8{position:relative;display:flex;align-items:center}._component_lx560_8 ._searchIcon_lx560_13._searchIcon_lx560_13{position:absolute;left:8px;z-index:1;opacity:40%}._component_lx560_8 ._searchIcon_lx560_13._searchIcon_lx560_13._large_lx560_19{top:4px}._component_lx560_8 ._clearIcon_lx560_22._clearIcon_lx560_22{width:15px;height:15px;position:absolute;top:3px;right:4px;border-radius:20px;padding:4px}._component_lx560_8 ._clearIcon_lx560_22._clearIcon_lx560_22:hover{background-color:#d1d1d7}._component_lx560_8 ._clearIcon_lx560_22._clearIcon_lx560_22._clearIconHidden_lx560_34{display:none}._component_lx560_8 ._clearIcon_lx560_22._clearIcon_lx560_22._large_lx560_19{width:15px;height:15px;top:4px;padding:5px}._component_lx560_8 ._passwordVisibilityIcon_lx560_43._passwordVisibilityIcon_lx560_43{width:24px;height:24px;position:absolute;right:8px}._component_lx560_8 ._passwordVisibilityIcon_lx560_43._passwordVisibilityIcon_lx560_43._large_lx560_19{width:24px;height:24px;top:5px}._component_lx560_8 ._customIcon_lx560_54{position:absolute;top:3px;right:4px}._component_lx560_8 ._customIcon_lx560_54._isLeft_lx560_59{right:0;left:8px}._component_lx560_8 ._customIcon_lx560_54._large_lx560_19{top:5px}._component_lx560_8 ._input_lx560_66{border-radius:4px;outline:none;background:#f4f4f8;line-height:28px;height:28px;border:none;text-indent:8px;width:100%}._component_lx560_8 ._input_lx560_66._withLeftIcon_lx560_76{text-indent:32px}._component_lx560_8 ._input_lx560_66::placeholder{color:#b0b5bf}._component_lx560_8 ._input_lx560_66:focus{border:1px solid #5b6372}._component_lx560_8 ._input_lx560_66._large_lx560_19{height:34px;line-height:34px}._component_lx560_8 ._input_lx560_66::-ms-reveal{display:none}.sis-scope ._component_lx560_8{position:relative;display:flex;align-items:center}.sis-scope ._component_lx560_8 ._searchIcon_lx560_13._searchIcon_lx560_13{position:absolute;left:8px;z-index:1;opacity:40%}.sis-scope ._component_lx560_8 ._searchIcon_lx560_13._searchIcon_lx560_13._large_lx560_19{top:4px}.sis-scope ._component_lx560_8 ._clearIcon_lx560_22._clearIcon_lx560_22{width:15px;height:15px;position:absolute;top:3px;right:4px;border-radius:20px;padding:4px}.sis-scope ._component_lx560_8 ._clearIcon_lx560_22._clearIcon_lx560_22:hover{background-color:#d1d1d7}.sis-scope ._component_lx560_8 ._clearIcon_lx560_22._clearIcon_lx560_22._clearIconHidden_lx560_34{display:none}.sis-scope ._component_lx560_8 ._clearIcon_lx560_22._clearIcon_lx560_22._large_lx560_19{width:15px;height:15px;top:4px;padding:5px}.sis-scope ._component_lx560_8 ._passwordVisibilityIcon_lx560_43._passwordVisibilityIcon_lx560_43{width:24px;height:24px;position:absolute;right:8px}.sis-scope ._component_lx560_8 ._passwordVisibilityIcon_lx560_43._passwordVisibilityIcon_lx560_43._large_lx560_19{width:24px;height:24px;top:5px}.sis-scope ._component_lx560_8 ._customIcon_lx560_54{position:absolute;top:3px;right:4px}.sis-scope ._component_lx560_8 ._customIcon_lx560_54._isLeft_lx560_59{right:0;left:8px}.sis-scope ._component_lx560_8 ._customIcon_lx560_54._large_lx560_19{top:5px}.sis-scope ._component_lx560_8 ._input_lx560_66{border-radius:4px;outline:none;background:#f4f4f8;line-height:28px;height:28px;border:none;text-indent:8px;width:100%}.sis-scope ._component_lx560_8 ._input_lx560_66._withLeftIcon_lx560_76{text-indent:32px}.sis-scope ._component_lx560_8 ._input_lx560_66::placeholder{color:#b0b5bf}.sis-scope ._component_lx560_8 ._input_lx560_66:focus{border:1px solid #5b6372}.sis-scope ._component_lx560_8 ._input_lx560_66._large_lx560_19{height:34px;line-height:34px}.sis-scope ._component_lx560_8 ._input_lx560_66::-ms-reveal{display:none}._searchInputWrapper_otzmq_1 div{background:#f4f4f8;border-radius:4px;border:1px solid #5b6372}._searchInputWrapper_otzmq_1 div span{margin-left:-6px;z-index:1071!important}._searchInputWrapper_otzmq_1 div input{position:relative;z-index:1070;background:transparent;text-indent:0;border:none!important}._dropdownButton_xulrt_21{display:inline-flex;align-items:center;cursor:pointer;background:#f4f4f8;border-radius:4px;height:28px;min-width:192px}._dropdownButton_xulrt_21._inlineVariant_xulrt_30{background:none;height:18px;border:none;text-indent:0;min-width:initial}._dropdownButton_xulrt_21._inlineVariant_xulrt_30._open_xulrt_37{border:none}._dropdownButton_xulrt_21._open_xulrt_37{border:1px solid #5b6372}._dropdownButton_xulrt_21._disabled_xulrt_43{color:#bdc1c7;background:#f4f4f8;pointer-events:none}._dropdownButton_xulrt_21 ._selectedIcon_xulrt_48{flex-shrink:0}._dropdownButton_xulrt_21 ._chosenTitle_xulrt_51{margin-left:12px;flex-grow:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._dropdownButton_xulrt_21 ._clickIcon_xulrt_58{flex-shrink:0;margin-right:2px}._menu_1lxhu_1{margin:0;position:initial;box-shadow:none}._menu_1lxhu_1 li{padding:0 5px;height:28px}.sis-scope .btn--dark .btn__text{padding:5px 20px}.sis-scope .btn--gray{background:#f4f4f8}.sis-scope .btn--gray:disabled{background:#f4f4f8;opacity:1}.sis-scope .btn--gray:disabled:hover{background:#d1d1d7}.sis-scope .btn--gray:disabled .app-icon,.sis-scope .btn--gray:disabled .btn__text{opacity:.4}.sis-scope ._sharedComponentsButton_t1p0l_31{line-height:18px}.sis-scope ._sharedComponentsButtonText_t1p0l_34{padding:5px 20px}.sis-scope .btn._btnSecondary_t1p0l_37{border:1px solid #5b6372;background-color:#fff}.sis-scope .btn._btnSecondary_t1p0l_37:hover{background-color:#f4f4f8}.sis-scope .btn._btnSecondary_t1p0l_37:disabled{background-color:#fff}.sis-scope .btn._btnSecondary_t1p0l_37:disabled:hover{background-color:#fff}._item_fvqjc_1{margin-bottom:12px;cursor:pointer;height:18px;user-select:none}._item_fvqjc_1:last-child{margin-bottom:0}._item_fvqjc_1 ._icon_fvqjc_10{margin-top:-3px}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();var Uq=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function s(g){try{l(r.next(g))}catch(b){a(b)}}function c(g){try{l(r.throw(g))}catch(b){a(b)}}function l(g){g.done?o(g.value):i(g.value).then(s,c)}l((r=r.apply(e,t||[])).next())})};const xCt=2e4,kD="Unspecified reason";class wCt{constructor(t,n=new xce(t),r){SCt(t),this.queryApi=new _ot(t),this.taskManager=new vot(this.queryApi,n),this.shouldSkipHighlightsWithoutAttributes=r??!1}executeQuery(t,n){Vq(t);const r=new wH("SEND_JAQL_QUERY",t,Object.assign(Object.assign({},n||{}),{shouldSkipHighlightsWithoutAttributes:this.shouldSkipHighlightsWithoutAttributes||!1}));return{resultPromise:new Promise((i,o)=>{this.taskManager.executeQuerySending(r).then(a=>{a.status===ws.ExecutionResultStatus.SUCCESS?i(a.result):o(a.error)})}),cancel:i=>this.taskManager.cancel(r.taskId,i||kD)}}executeCsvQuery(t,n){Vq(t);const r=new wH("SEND_DOWNLOAD_CSV_QUERY",t,Object.assign(Object.assign({},n||{}),{shouldSkipHighlightsWithoutAttributes:this.shouldSkipHighlightsWithoutAttributes||!1}));return{resultPromise:new Promise((i,o)=>{this.taskManager.executeDownloadCsvSending(r).then(a=>{a.status===ws.ExecutionResultStatus.SUCCESS?i(a.result):o(a.error)})}),cancel:i=>this.taskManager.cancel(r.taskId,i||kD)}}executePivotQuery(t,n){_Ct(t);const r=new bot("SEND_JAQL_QUERY",t,Object.assign(Object.assign({},n||{}),{shouldSkipHighlightsWithoutAttributes:this.shouldSkipHighlightsWithoutAttributes||!1}));return{resultPromise:new Promise((i,o)=>{this.taskManager.executePivotQuerySending(r).then(a=>{a.status===ws.ExecutionResultStatus.SUCCESS?i(a.result):o(a.error)})}),cancel:i=>this.taskManager.cancel(r.taskId,i||kD)}}getDataSourceFields(t,n=9999,r=0){return Uq(this,void 0,void 0,function*(){return(yield this.queryApi.getDataSourceFields(t,n,r))||[]})}getDataSourceSchema(t){return this.queryApi.getDataSourceSchema(t)}getDataSourceList(){return Uq(this,void 0,void 0,function*(){return(yield this.queryApi.getDataSourceList())||[]})}}function Vq(e){const{attributes:t,measures:n,filters:r,highlights:i,count:o,offset:a}=e;if(o&&o<0)throw new Xa("errors.invalidCountNegative",{count:o.toString()});if(a&&a<0)throw new Xa("errors.invalidOffset",{offset:a.toString()});if(t.length+n.length===0)throw new Xa("errors.noDimensionsOrMeasures");t.forEach(s=>{if(!s.skipValidation&&!dn.isAttribute(s))throw new Xa("errors.invalidAttribute",{attributeName:s.name})}),n.forEach(s=>{if(!s.skipValidation&&!dn.isMeasure(s))throw new Xa("errors.invalidMeasure",{measureName:s.name})}),r.forEach(s=>{if(!s.skipValidation&&!dn.isFilter(s))throw new Xa("errors.invalidFilter",{filterName:s.name})}),i.forEach(s=>{if(!s.skipValidation&&!dn.isFilter(s))throw new Xa("errors.invalidHighlight",{highlightName:s.name})})}function _Ct(e){const{rowsAttributes:t,columnsAttributes:n,measures:r,filters:i,highlights:o,count:a,offset:s}=e;if(a&&a<0)throw new Xa("errors.invalidCountNegative",{count:a.toString()});if(s&&s<0)throw new Xa("errors.invalidOffset",{offset:s.toString()});if(t.length+n.length+r.length===0)throw new Xa("errors.noDimensionsOrMeasures");i.forEach(c=>{if(!c.skipValidation&&!dn.isFilter(c))throw new Xa("errors.invalidFilter",{filterName:c.name})}),o.forEach(c=>{if(!c.skipValidation&&!dn.isFilter(c))throw new Xa("errors.invalidHighlight",{highlightName:c.name})})}function SCt(e){if(!e)throw new Xa("errors.missingHttpClient");if(!e.post)throw new Xa("errors.missingPostMethod")}const CCt=2e4,kCt={enabled:!0,delay:500},MCt={locale:WI(),dateConfig:GI,loadingIndicatorConfig:kCt,language:"en",queryCacheConfig:{enabled:!1},queryLimit:CCt,accessibilityConfig:{enabled:!1},errorBoundaryConfig:{alwaysShowErrorText:!1}};function TCt(e,t,n){return Io(this,null,function*(){const r=yield ACt(t,n);return wi.withOptions({mergeArrays:!1},MCt,r,e)})}function ACt(e,t=!1){return Io(this,null,function*(){const n=yield e.get("api/globals");if(!n)throw new Error("Failed to load server settings");const r=t?{colors:Fp().palette.variantColors}:yield IJ(NJ(n.designSettings),e);return{serverThemeSettings:LJ(n.designSettings,r),serverLanguage:n.language,serverVersion:n.version}})}class ECt{constructor(t,n,r){Tt(this,"httpClient"),Tt(this,"pivotClient"),Tt(this,"queryClient"),Tt(this,"defaultDataSource"),Tt(this,"settings"),Tt(this,"queryCache"),window.addEventListener("unhandledrejection",i=>{i.reason instanceof Error?console.error(i.reason.message):console.error(i.reason)}),this.httpClient=new Cit(t,n,"sdk-ui-1.15.0"),this.pivotClient=new xce(this.httpClient),this.queryClient=new wCt(this.httpClient,this.pivotClient),this.queryCache={clear:BJ},r!==void 0&&(this.defaultDataSource=r)}}const OCt=e=>Io(void 0,[e],function*({defaultDataSource:t,url:n,token:r,wat:i,ssoEnabled:o,appConfig:a,enableSilentPreAuth:s}){if(n!==void 0){const c=tit({url:n,token:r,wat:i,ssoEnabled:o,enableSilentPreAuth:s});if(c){const l=new ECt(n,c,t),g=yield l.httpClient.login(),b=qie(c)||!g;return l.settings=yield TCt(a||{},l.httpClient,b),l}}throw new Fn("errors.sisenseContextNoAuthentication")}),PCt=e=>"levels"in e&&e.isCascading===!0;var q0=(e=>(e.HIGHLIGHT="highlight",e.FILTER="filter",e))(q0||{});const DCt=e=>({columns:e.columns.map(t=>({widthPercentage:t.width,rows:(t.cells||[]).map(n=>{const r=n.subcells.reduce((i,o)=>i+o.width,0);return{cells:n.subcells.map(i=>({widthPercentage:r<100?i.width/(r/100):i.width,height:i.elements[0].height,widgetId:i.elements[0].widgetid}))}})}))}),LCt=e=>{var t,n;const r=tm(e.jaql,e.instanceid);return r.disabled=(t=e.disabled)!=null?t:!1,r.locked=(n=e.locked)!=null?n:!1,r},NCt=e=>{var t,n;const r=e.levels.map(o=>tm(o)),i=new GQ(r);return i.disabled=(t=e.disabled)!=null?t:!1,i.locked=(n=e.locked)!=null?n:!1,i};function jCt(e){return e.map(t=>PCt(t)?NCt(t):LCt(t))}function ICt(e=[]){const t={};return e.forEach(n=>{var r,i,o,a;t[n.oid]={applyMode:((r=n.options)==null?void 0:r.dashboardFiltersMode)==="filter"?q0.FILTER:q0.HIGHLIGHT,shouldAffectFilters:(i=n.options)==null?void 0:i.selector,ignoreFilters:{all:(o=n.metadata.ignore)==null?void 0:o.all,ids:(a=n.metadata.ignore)==null?void 0:a.ids},forceApplyBackgroundFilters:!0}}),t}class wce{constructor(t,n){Tt(this,"oid"),Tt(this,"title"),Tt(this,"dataSource"),Tt(this,"widgets"),Tt(this,"layout"),Tt(this,"filters"),Tt(this,"widgetFilterOptions");const{oid:r,title:i,datasource:o,widgets:a,layout:s,filters:c}=t;this.oid=r,this.title=i,this.dataSource={title:o.title,type:o.live?"live":"elasticube"},this.widgets=(a==null?void 0:a.map(l=>Qkt(l,n)))||[],this.layout=s?DCt(s):{columns:[]},this.filters=jCt(c||[]),this.widgetFilterOptions=ICt(a)}getDashboardProps(){return{title:this.title,defaultDataSource:this.dataSource,widgets:this.widgets,layout:this.layout,filters:this.filters,widgetFilterOptions:this.widgetFilterOptions}}}function _ce(e,t){return Io(this,arguments,function*(n,r,i={},o){const{includeWidgets:a,includeFilters:s}=i,c=new Pb(n),l=["oid","title","datasource"];a&&l.push("layout"),s&&l.push("filters");const g=[c.getDashboard(r,{fields:l}),a?c.getDashboardWidgets(r):void 0],[b,u]=yield Promise.all(g);if(!b)throw new Error(`Dashboard with oid ${r} not found`);return u&&(b.widgets=u),new wce(b,o)})}function RCt(e){return Io(this,arguments,function*(t,n={}){const{includeWidgets:r,searchByTitle:i}=n,o=new Pb(t),a=[];let s=["oid","title","datasource"];r&&(s=[],a.push("widgets"));const c=yield o.getDashboards({fields:s,expand:a,searchByTitle:i});return(c==null?void 0:c.map(l=>new wce(l)))||[]})}function I2(e,t,n){const r=tk(e);return!r||t.some(i=>!Ch(r[i],e[i]))?!0:n?n(e,r):!1}function R2({enabled:e},t){const n=Qe(!1);return jt((r,i=!1)=>{const o=e===!1||!r,a=n.current;return n.current=o,!o&&(a||t||i)},[e,t])}function nd(e,t){switch(t.type){case"loading":return zCt(e);case"success":return BCt(t.data);case"error":return FCt(t.error)}}function zCt(e){return e.status==="loading"?e:xt(rt({},e),{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0})}function BCt(e){return{isLoading:!1,isError:!1,isSuccess:!0,data:e,status:"success",error:void 0}}function FCt(e){return{isLoading:!1,isError:!0,isSuccess:!1,data:void 0,status:"error",error:e}}const WCt=Yet("useGetDashboardModel")(HCt);function HCt(e){const t=I2(e,["dashboardOid"]),n=R2(e,t),[r,i]=id(nd,{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0,data:void 0}),{isInitialized:o,app:a}=ti(),{themeSettings:s}=sr();return pt(()=>{if(o||i({type:"error",error:new Fn("errors.sisenseContextNotFound")}),n(a)){i({type:"loading"});const{dashboardOid:c,includeWidgets:l,includeFilters:g}=e;_ce(a.httpClient,c,{includeWidgets:l,includeFilters:g},s).then(b=>{i({type:"success",data:b})}).catch(b=>{i({type:"error",error:b})})}},[a,o,e,n,s]),r.data&&t?p3(nd(r,{type:"loading"})):p3(r)}function p3(e){const t=e,{data:n}=t,r=os(t,["data"]);return xt(rt({},r),{dashboard:n})}function UCt(e){const t=e,{data:n}=t,r=os(t,["data"]);return xt(rt({},r),{dashboards:n})}function ef(e,t){return e===void 0&&t===void 0?!1:[e,t].some(n=>n===void 0)||e.length!==t.length?!0:e.length===0&&t.length===0?!1:e.some((n,r)=>!Zte(n,t[r],(i,o)=>{const a=Yq(i)?xt(rt({},i.toJSON()),{name:void 0}):i,s=Yq(o)?xt(rt({},o.toJSON()),{name:void 0}):o;return Ch(a,s)}))}function Yq(e){return"toJSON"in e&&typeof e.toJSON=="function"}function VCt(e,t,n,r){if(n===void 0&&r===void 0)return!1;if([n,r].some(o=>o===void 0))return!0;function i(o,a){const s=o,c=o,l=a,g=a;return o===void 0&&a===void 0?!0:[o,a].some(b=>b===void 0)||s.operator!==l.operator?!1:c.instanceid&&g.instanceid?!ef(e==null?void 0:e.filter(b=>b.guid===c.instanceid),t==null?void 0:t.filter(b=>b.guid===g.instanceid)):i(s.left,l.left)&&i(s.right,l.right)||i(s.left,l.right)&&i(s.right,l.left)}return!i(n,r)}function Gq(e,t){return nd(e,t)}function YCt(e){const t=$Ct(e),n=R2(e,t),[r,i]=id(Gq,{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0,data:void 0}),{isInitialized:o,app:a}=ti();return pt(()=>{if(o||i({type:"error",error:new Fn("errors.executeQueryNoSisenseContext")}),n(a)){i({type:"loading"});const{dataSource:s,rows:c,columns:l,values:g,grandTotals:b,filters:u,highlights:z,count:w,offset:x,onBeforeQuery:C}=e,{filters:H,relations:G}=$u(u);fRe({dataSource:s,rows:c,columns:l,values:g,grandTotals:b,filters:H,filterRelations:G,highlights:z,count:w,offset:x},a,{onBeforeQuery:C}).then($=>{i({type:"success",data:$})}).catch($=>{i({type:"error",error:$})})}},[a,o,e,n]),r.data&&t?Gq(r,{type:"loading"}):r}const GCt=["dataSource","rows","columns","values","grandTotals","count","offset","onBeforeQuery"];function $Ct(e){return I2(e,GCt,(t,n)=>{const{filters:r}=$u(n.filters),{filters:i}=$u(t.filters);return ef(r,i)||ef(n.highlights,t.highlights)})}var qCt=od,XCt=lo,ZCt=Hs,KCt="[object String]";function QCt(e){return typeof e=="string"||!XCt(e)&&ZCt(e)&&qCt(e)==KCt}var JCt=QCt;const ekt=On(JCt);function Sce(e){return ekt(e)?{direction:e}:e}function $q(e,t){return{valuesIndex:e.field-(t.rows||[]).length-(t.columns||[]).length,columnsMembersPath:Object.values(e.measurePath||{})}}function tkt({type:e,settings:t,sortDetails:n},r){return e==="simple"?n.field>=(r.rows||[]).length?[{rowIndex:0,sort:{direction:qy(t[0].direction),by:$q(n,r)}}]:[{rowIndex:n.field,sort:{direction:qy(t[0].direction)}}]:t.reduce((i,o,a)=>{var s;const c=(s=r.rows)==null?void 0:s[a],l=(c==null?void 0:c.sortType)&&Sce(c==null?void 0:c.sortType),g={direction:qy(o.direction),by:$q(n,r)};return!o.selected&&Ch(l==null?void 0:l.by,g.by)&&i.push({rowIndex:a,sort:null}),o.selected&&i.push({rowIndex:a,sort:g}),i},[])}const qq=e=>rt({attribute:GC(e),includeSubTotals:e.includeSubTotals||!1},e.sortType&&{sort:Sce(e.sortType)}),nkt=e=>({measure:Qee(e),totalsCalculation:e.totalsCalculation,dataBars:e.dataBars||!1}),Cce=e=>{const{rows:t=[],columns:n=[],values:r=[],grandTotals:i}=e,o=t.flatMap(qq),a=n.flatMap(qq),s=r.flatMap(nkt);return{rows:o,columns:a,values:s,grandTotals:i}},rkt=({dataSet:e,dataOptionsInternal:t,filters:n,highlights:r,refreshCounter:i})=>{const o=Qe(null),{rows:a,columns:s,values:c,grandTotals:l}=Cce(t),g=jt(C=>{o.current=C},[i]),b={dataSource:e,rows:a,columns:s,values:c,grandTotals:l,filters:n,highlights:r,onBeforeQuery:g},{isLoading:u,isSuccess:z,isError:w,error:x}=YCt(b);return{isLoading:u,isSuccess:z,isError:w,error:x,jaql:o.current}};var f3={exports:{}};/**
996
+ `)===0?r.substr(1,r.length):r}).forEach(function(r){var i=r.split(":"),o=i.shift().trim();if(o){var a=i.join(":").trim();try{t.append(o,a)}catch(s){console.warn("Response "+s.message)}}}),t}bce.call(mh.prototype);function cc(e,t){if(!(this instanceof cc))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=t.status===void 0?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText===void 0?"":""+t.statusText,this.headers=new eo(t.headers),this.url=t.url||"",this._initBody(e)}bce.call(cc.prototype);cc.prototype.clone=function(){return new cc(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new eo(this.headers),url:this.url})};cc.error=function(){var e=new cc(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var pCt=[301,302,303,307,308];cc.redirect=function(e,t){if(pCt.indexOf(t)===-1)throw new RangeError("Invalid status code");return new cc(null,{status:t,headers:{location:e}})};var Ud=Po.DOMException;try{new Ud}catch{Ud=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},Ud.prototype=Object.create(Error.prototype),Ud.prototype.constructor=Ud}function Wz(e,t){return new Promise(function(n,r){var i=new mh(e,t);if(i.signal&&i.signal.aborted)return r(new Ud("Aborted","AbortError"));var o=new XMLHttpRequest;function a(){o.abort()}o.onload=function(){var l={statusText:o.statusText,headers:hCt(o.getAllResponseHeaders()||"")};i.url.indexOf("file://")===0&&(o.status<200||o.status>599)?l.status=200:l.status=o.status,l.url="responseURL"in o?o.responseURL:l.headers.get("X-Request-URL");var g="response"in o?o.response:o.responseText;setTimeout(function(){n(new cc(g,l))},0)},o.onerror=function(){setTimeout(function(){r(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){r(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){r(new Ud("Aborted","AbortError"))},0)};function s(l){try{return l===""&&Po.location.href?Po.location.href:l}catch{return l}}if(o.open(i.method,s(i.url),!0),i.credentials==="include"?o.withCredentials=!0:i.credentials==="omit"&&(o.withCredentials=!1),"responseType"in o&&(ya.blob?o.responseType="blob":ya.arrayBuffer&&(o.responseType="arraybuffer")),t&&typeof t.headers=="object"&&!(t.headers instanceof eo||Po.Headers&&t.headers instanceof Po.Headers)){var c=[];Object.getOwnPropertyNames(t.headers).forEach(function(l){c.push(sv(l)),o.setRequestHeader(l,Bz(t.headers[l]))}),i.headers.forEach(function(l,g){c.indexOf(g)===-1&&o.setRequestHeader(g,l)})}else i.headers.forEach(function(l,g){o.setRequestHeader(g,l)});i.signal&&(i.signal.addEventListener("abort",a),o.onreadystatechange=function(){o.readyState===4&&i.signal.removeEventListener("abort",a)}),o.send(typeof i._bodyInit>"u"?null:i._bodyInit)})}Wz.polyfill=!0;Po.fetch||(Po.fetch=Wz,Po.Headers=eo,Po.Request=mh,Po.Response=cc);const fCt=Object.freeze(Object.defineProperty({__proto__:null,get DOMException(){return Ud},Headers:eo,Request:mh,Response:cc,fetch:Wz},Symbol.toStringTag,{value:"Module"})),gCt=vu(fCt);var Wq,Hq;function mCt(){return Hq||(Hq=1,Wq=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){var r=n(1),i=typeof importScripts=="function";e.exports=r(i?self:window)},function(e,t,n){function r(a){if(Array.isArray(a)){for(var s=0,c=Array(a.length);s<a.length;s++)c[s]=a[s];return c}else return Array.from(a)}var i=[];function o(a){for(var s=arguments.length,c=Array(s>1?s-1:0),l=1;l<s;l++)c[l-1]=arguments[l];var g=i.reduce(function(u,z){return[z].concat(u)},[]),b=Promise.resolve(c);return g.forEach(function(u){var z=u.request,w=u.requestError;(z||w)&&(b=b.then(function(x){return z.apply(void 0,r(x))},w))}),b=b.then(function(u){var z=new(Function.prototype.bind.apply(Request,[null].concat(r(u))));return a(z).then(function(w){return w.request=z,w}).catch(function(w){return w.request=z,Promise.reject(w)})}),g.forEach(function(u){var z=u.response,w=u.responseError;(z||w)&&(b=b.then(z,w))}),b}e.exports=function(a){if(!a.fetch)try{n(2)}catch{throw Error("No fetch available. Unable to register fetch-intercept")}return a.fetch=function(s){return function(){for(var c=arguments.length,l=Array(c),g=0;g<c;g++)l[g]=arguments[g];return o.apply(void 0,[s].concat(l))}}(a.fetch),{register:function(s){return i.push(s),function(){var c=i.indexOf(s);c>=0&&i.splice(c,1)}},clear:function(){i=[]}}}},function(e,t){e.exports=gCt}])),Wq}mCt();class vCt{constructor(){ze(this,"events"),ze(this,"ready",!0),ze(this,"onMessageCallback"),this.events=new Yb,this.ready=!0}isReady(){return this.ready}on(t,n){this.events.on(t,n)}off(t,n){this.events.removeListener(t,n)}send(t,...n){const r=t||n;this.ready=!!r||!0}onMessage(t,n,r){this.onMessageCallback=r;const i=()=>{};return this.on("message",i),()=>{this.off("message",i)}}trigger(t,n){return new Promise(r=>{setTimeout(()=>{this.onMessageCallback&&this.onMessageCallback(t,n),r()},10)})}}const yCt="pivot2";class bCt{constructor(t,n=!1){ze(this,"_socket"),ze(this,"_httpClient"),ze(this,"_mockSocket"),this._httpClient=t,this._mockSocket=n}getQueryOptionsSso(t){return{}}getQueryOptionsBearer(t){const n=t.bearer;if(!n)throw new Error("Missing bearer token");return{token:n}}getQueryOptionsWat(t){const n=new Headers;t.applyHeader(n);const r=n.get("Authorization"),i=n.get("Initialiser");if(!r||!i)throw new Error("Missing auth header");return{authorization:r,initialiser:i}}get socket(){if(!this._socket){if(this._mockSocket)return this._socket=new vCt,this._socket;const t=this._httpClient.auth,n=this._httpClient.url;let r={};tCt(t)?r=this.getQueryOptionsBearer(t):nCt(t)?r=this.getQueryOptionsWat(t):eCt(t)&&(r=this.getQueryOptionsSso(t)),this._socket=new Dz(n+yCt,r)}return this._socket}}class xce{constructor(t,n=!1){ze(this,"socketBuilder"),this.socketBuilder=new bCt(t,n)}queryData(t,n,r,i){return coe(this,null,function*(){return new qSt(this.socketBuilder.socket).loadInitData(t,n,r,i)})}prepareDataService(){const t=new oce(this.socketBuilder.socket);return new $a(t)}preparePivotBuilder(){const t=this.prepareDataService();return new Awt(t)}}(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.multi-grid{position:relative;display:block;overflow:hidden}.table-grid{position:relative;direction:ltr;will-change:transform;-webkit-overflow-scrolling:touch;background:#fff;user-select:text;-webkit-touch-callout:text;overflow-x:hidden;overflow-y:hidden}.table-grid,.table-grid *{box-sizing:border-box}.table-grid--top.table-grid--left,.table-grid--top.table-grid--right,.table-grid--bottom.table-grid--left,.table-grid--bottom.table-grid--right{position:absolute}.table-grid--top.table-grid--left,.table-grid--top.table-grid--right,.table-grid--bottom.table-grid--left{overflow-x:hidden;overflow-y:hidden}.table-grid__table{position:relative;display:table;table-layout:fixed;border-spacing:0;border-collapse:collapse}.table-grid__tbody{border-style:inherit;border-color:inherit;border-width:inherit;display:table-row-group}.table-grid__colgroup{display:table-column-group}.table-grid__column{display:table-column}.table-grid__row{border-style:inherit;border-color:inherit;border-width:inherit;display:table-row}.table-grid__cell{position:static!important;display:table-cell;vertical-align:top;box-sizing:border-box;white-space:nowrap;font-size:0;line-height:0;max-width:100%;margin:0;padding:0;border:solid 0 black;border-color:inherit;border-top-color:transparent;border-left-color:transparent}.table-grid__cell--row-0{border-top-color:inherit}.table-grid__cell--col-0,.table-grid__cell--columns{border-left-color:inherit}.table-grid__cell--fixed-width{white-space:normal}.table-grid__cell--fixed-width .table-grid__content{text-overflow:ellipsis}.table-grid__cell--fixed-width .table-grid__content__inner{display:inline;margin-right:0}.table-grid__cell-corner{border-style:inherit;border-color:inherit;border-width:inherit;position:relative;top:0;left:0;border-width:0}.table-grid__content{display:inline-block;font-size:15px;line-height:16px;position:relative;z-index:1}.table-grid__content__wrapper{display:inline;position:relative;z-index:1}.table-grid__content__inner{display:inline;position:relative;margin-right:1px;z-index:1}.table-grid__cell-corner{position:relative}.table-grid__cell-anchor{border-width:0;line-height:0;font-size:0;margin:0;padding:0}.table-grid__cell-anchor-content{width:0;height:0;line-height:0;font-size:0;overflow:hidden}.table-grid__cell--sorted .table-grid__content__inner{margin-right:16px}.table-grid__cell--sorted.table-grid__cell--fixed-width .table-grid__content__inner{margin-right:15px}.table-grid__cell--sorted .table-grid__icon--sorted,.table-grid__cell--sorted .table-grid__sorting-settings-icon{z-index:2;top:4px;right:3px;outline:none;display:inline-block;position:absolute;width:16px;height:12px}.table-grid__cell--sorted .table-grid__icon--sorted:after,.table-grid__cell--sorted .table-grid__sorting-settings-icon:after{display:inline-block;position:absolute;left:20%;top:25%;font-size:15px}.table-grid__cell--sorted .table-grid__icon--sorted:hover,.table-grid__cell--sorted .table-grid__sorting-settings-icon:hover{cursor:pointer}.table-grid--data{left:0!important;overflow-x:visible!important;overflow-y:visible!important}.multi-grid--no-fixed-left .table-grid--fixed.table-grid--rows,.multi-grid--no-fixed-left .table-grid--fixed.table-grid--corner,.multi-grid--no-rows .table-grid--fixed.table-grid--rows,.multi-grid--no-columns .table-grid--fixed.table-grid--columns,.multi-grid--no-corner .table-grid--fixed.table-grid--corner{opacity:0;visibility:hidden}.table-grid--fixed{position:absolute;display:block;opacity:0;transition:opacity 0s ease;background:#fff;overflow:hidden;z-index:10}.table-grid--fixed.active{opacity:1}.table-grid--fixed.table-grid--rows{top:0;left:0;bottom:0}.table-grid--fixed.table-grid--columns{top:0;left:0;right:0}.table-grid--fixed.table-grid--corner{top:0;left:0}.sis-scope .sisense-pivot__pagination-panel .MuiTablePagination-root{background-color:initial;overflow:initial}.sis-scope .sisense-pivot__pagination-panel .MuiTablePagination-root .MuiTablePagination-select{background-color:initial}.sis-scope .sisense-pivot__pagination-panel .MuiTablePagination-root .MuiTablePagination-toolbar{min-height:0}.sis-scope .sisense-pivot__pagination-panel{display:block;transition:opacity .3s ease}.sis-scope .sisense-pivot__pagination-panel--hidden{display:none}.sis-scope .sisense-pivot__pagination-panel .sisense-pivot__pagination-panel-list-wrapper,.sis-scope .sisense-pivot__pagination-panel .sisense-pivot__pagination-panel-total-wrapper,.sis-scope .sisense-pivot__pagination-panel .sisense-pivot__pagination-panel-notification{visibility:hidden;opacity:0}.sis-scope .sisense-pivot__pagination-panel-wrapper{display:flex;justify-content:space-between;align-items:center}.sis-scope .sisense-pivot__pagination-panel-list-wrapper{flex:1}.sis-scope .sisense-pivot__pagination-panel-list{display:flex;align-items:center;margin:0;padding:0;list-style:none}.sis-scope .sisense-pivot__pagination-panel-notification{display:flex;align-items:center;overflow:hidden;white-space:nowrap;cursor:pointer}.sis-scope .sisense-pivot__pagination-panel-notification-more{outline:none;margin-left:5px;margin-right:5px}.sis-scope .sisense-pivot__pagination-panel-total-wrapper{display:flex;overflow:hidden;white-space:nowrap;justify-content:flex-end}.sis-scope .sisense-pivot__pagination-panel-rows-count{padding-left:10px;margin-right:10px;border-left:1px solid #d8d8d8;pointer-events:none;overflow:hidden;text-overflow:ellipsis}.sis-scope .sisense-pivot__pagination-panel--showed .sisense-pivot__pagination-panel-list-wrapper,.sis-scope .sisense-pivot__pagination-panel--showed .sisense-pivot__pagination-panel-total-wrapper,.sis-scope .sisense-pivot__pagination-panel--notification-only .sisense-pivot__pagination-panel-notification,.sis-scope .sisense-pivot__pagination-panel--limits-only .sisense-pivot__pagination-panel-total-wrapper{visibility:visible;opacity:1}.sis-scope .sisense-pivot__pagination-panel--limits-only .sisense-pivot__pagination-panel-rows-count{border-left:none}.sis-scope .pivot-scroller,.sis-scope .pivot-scroller__container{height:40px}.sisense-pivot__resize-control{position:absolute;top:0;right:0;width:4px;height:50px;margin-left:-4px;cursor:col-resize;z-index:4}.sisense-pivot__data-bar{position:absolute;top:8px;left:0;width:50%;height:10px;padding:0 8px;opacity:0}.sisense-pivot__data-bar--show{opacity:0;transition:opacity .3s ease}.sisense-pivot__data-bar--show-active{opacity:1}.sisense-pivot__data-bar-inner{position:relative;height:100%;overflow:hidden}.sisense-pivot__data-bar-bar{position:absolute;top:0;height:100%;min-width:8px;background:green}.sisense-pivot{position:relative;height:100%;-webkit-text-size-adjust:none}.sisense-pivot .table-grid__content{overflow:hidden;max-width:100%}.sisense-pivot>.scroll-elem__horizontal-track,.sisense-pivot>.scroll-elem__vertical-track{z-index:5;opacity:0;transition:opacity .3s ease}.sisense-pivot ::-webkit-scrollbar{display:none}.sisense-pivot .scroll-elem__horizontal-track,.sisense-pivot .scroll-elem__vertical-track{opacity:0;transition:opacity .3s ease}.sisense-pivot:hover .scroll-elem__horizontal-track,.sisense-pivot:hover .scroll-elem__vertical-track{opacity:1}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--left .table-grid__border-bottom{display:block}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--left .table-grid__cell--level-last:not(.table-grid__cell--sibling-last):not(.table-grid__cell--merged-columns){border-bottom-color:transparent}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--left .table-grid__cell--level-first.table-grid__cell--level-last:not(.table-grid__cell--merged-columns):not(.table-grid__cell--sibling-last){border-bottom-color:transparent}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--left .table-grid__cell--level-first.table-grid__cell--level-last.table-grid__cell--user-type-grandTotal{border-bottom-color:transparent}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--left .table-grid__cell--level-first.table-grid__cell--level-last.table-grid__cell--user-type-grandTotal .table-grid__cell-virtual-border{position:absolute;bottom:100%;left:0;display:block;width:2000px;height:1px;border-style:inherit;border-bottom-color:inherit;border-width:0}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--right .table-grid__border-bottom{display:block}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--right .table-grid__cell--row-level-last:not(.table-grid__cell--row-sibling-last):not(.table-grid__cell--row-user-type-subTotal):not(.table-grid__cell--col-user-type-subTotal):not(.table-grid__cell--col-user-type-grandTotal){border-bottom-color:transparent}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--right .table-grid__cell--row-user-type-grandTotal{border-bottom-color:transparent}.sisense-pivot--merged-last-level-rows .table-grid--bottom.table-grid--right .table-grid__cell--row-user-type-grandTotal .table-grid__cell-virtual-border{position:absolute;bottom:100%;left:0;display:block;width:2000px;height:1px;border-style:inherit;border-bottom-color:inherit;border-width:0}.sisense-pivot__multi-grid--resize-in-progress{cursor:col-resize}.sisense-pivot__overlay{position:absolute;inset:0;z-index:1000000}@media print{div#root{margin:0!important;padding:0!important}.print-preview div.print-layout{margin:0!important;padding:0!important;background:none}.print-preview.print-layout div.print-layout__page{margin:0!important;padding:0!important;box-shadow:none;page-break-inside:avoid;page-break-after:always}}.print-preview.print-layout.print-layout__with-footer .page-footer{visibility:visible}.print-preview.print-layout .print-layout__page{display:flex;flex-flow:column;padding:0}.print-preview.print-layout .page-footer{flex-shrink:0;display:flex;flex-flow:column;justify-content:center;visibility:hidden;height:16px;clear:both;box-sizing:border-box;padding-top:10px;text-align:center}.print-preview.print-layout .page-footer>span,.print-preview.print-layout .page-footer div{flex-shrink:0;font-size:10px}.print-preview [contenteditable]:empty:before{content:attr(placeholder);display:block}.print-preview .title::-ms-clear{display:none}.print-preview .page-header{overflow:initial;height:40px;flex-shrink:0}.print-preview .page-header.page-header__content--show .page-header__title-container,.print-preview .page-header.page-header__content--show .page-header__header-divider,.print-preview .page-header.page-header__content--show .page-header__title{display:block}.print-preview .page-header .page-header__content,.print-preview .page-header .page-header__title-container,.print-preview .page-header .page-header__header-divider,.print-preview .page-header .page-header__title{display:none}.print-preview .page-header .page-header__content{height:34px;display:flex;flex-flow:row wrap;position:relative;z-index:3}.print-preview .page-header .page-header__content .page-header__title{text-overflow:ellipsis;overflow:hidden;word-wrap:normal;word-break:keep-all;white-space:nowrap;flex-grow:0;flex-shrink:0;order:1;background:rgba(0,0,0,0);border:none;outline:0;cursor:text;margin-right:10px;padding-left:5px;-webkit-user-select:text;user-select:text}.print-preview .page-header .page-header__content.page-header__title-container--focused .page-header__rename-controls{display:block}.print-preview .page-header .page-header__content.page-header__title-container--focused .page-header__editors{display:flex;align-items:center}.print-preview .page-header .page-header__content.page-header__title-container--focused .page-header__title{text-overflow:ellipsis;overflow:hidden;word-wrap:normal;word-break:keep-all;white-space:nowrap;flex-grow:0;flex-shrink:0;order:1;background:rgba(0,0,0,0);border:none;outline:0;cursor:text;margin-right:10px;padding-left:5px;-webkit-user-select:text;user-select:text}.print-preview .page-header .page-header__content .page-header__title-container,.print-preview .page-header .page-header__content .page-header__rename-controls{float:left}.print-preview .page-header .page-header__content .page-header__title-container{text-overflow:ellipsis;overflow:hidden;word-wrap:normal;word-break:keep-all;white-space:nowrap;font-size:16px;height:26px;width:100%;display:flex;flex-flow:row;justify-content:flex-start}.print-preview .page-header .page-header__content .page-header__rename-controls{display:none;flex-basis:32px;flex-grow:0;flex-shrink:0;order:1}.print-preview .page-header .page-header__content .page-header__rename-controls .page-header__rename-controls__action{float:left;cursor:pointer;vertical-align:middle;width:16px;height:16px}.print-preview .page-header .page-header__content .page-header__rename-controls .page-header__rename-controls__action--ok:after{content:"V";color:#adff2f}.print-preview .page-header .page-header__content .page-header__rename-controls .page-header__rename-controls__action--ok:hover:after{content:"V";color:green}.print-preview .page-header .page-header__content .page-header__rename-controls .page-header__rename-controls__action--cancel:after{content:"X";color:orchid}.print-preview .page-header .page-header__content .page-header__rename-controls .page-header__rename-controls__action--cancel:hover:after{content:"X";color:red}.print-preview .page-header .page-header__content .page-header__header-divider{margin-top:6px;bottom:5px;border:1px solid #e5e5e5;position:relative;width:100%}.print-preview .page-header .page-header__content .page-header__editors{padding-left:10px;padding-right:10px;display:none;position:relative;width:275px;height:34px;background-color:#fff;border:solid 1px #e5e5e5}.print-preview .page-header .page-header__content .page-header__editors .page-header__vertical-line{margin-left:10px;border-left:1px solid #e5e5e5;height:16px}.print-preview .page-header .page-header__content .page-header__editors div{background:none;border:none;margin-left:15px}.print-preview .page-header .page-header__content .page-header__editors .page-header__editors__left-text,.print-preview .page-header .page-header__content .page-header__editors .page-header__editors__center-text,.print-preview .page-header .page-header__content .page-header__editors .page-header__editors__end-text{width:17px;height:16px}.print-preview .page-header .page-header__content .page-header__editors .page-header__editors__left-text:after{content:"L"}.print-preview .page-header .page-header__content .page-header__editors .page-header__editors__center-text:after{content:"C"}.print-preview .page-header .page-header__content .page-header__editors .page-header__editors__end-text:after{content:"R"}.sis-scope .sorting-settings-header{flex-shrink:0;background-color:#f4f4f8;width:100%;height:42px;padding:10px 10px 10px 16px;border-top-left-radius:4px;border-top-right-radius:4px;display:flex;flex-direction:row;justify-content:space-between;font-size:15px}.sis-scope .header-text{display:flex;flex-flow:row nowrap;width:calc(100% - 24px)}.sis-scope .header-text__sort-by{font-weight:700;flex-shrink:0}.sis-scope .header-text__hierarchy-container{flex-grow:1;text-overflow:ellipsis;padding:0 .5em;display:inline-block;overflow:hidden;white-space:nowrap;vertical-align:top}.sis-scope .cross-icon{position:relative;top:-2px;color:#5b6372;border-radius:50%;min-width:24px}.sis-scope .cross-icon:hover{cursor:pointer;background-color:#d1d1d7}.sis-scope .direction-selector{margin-top:.2em;margin-left:2.4em;font-weight:400;min-width:152px;width:152px}.sis-scope.direction-selector__menu{background-color:#fff!important}.sis-scope .settings-item+.settings-item{margin-top:.9em}.sis-scope .checkbox-input{display:flex;align-items:center;padding-right:8px}.sis-scope .checkbox-input .wrapper-of-input-highlighted{background-color:#5b63721a;border-radius:50%}.sis-scope .checkbox-input .subtotals-caption{margin-left:.2em}.sis-scope .checkbox-input .custom-checkbox{width:28px;height:28px}.sis-scope .checkbox-input .custom-checkbox__label{cursor:pointer}.sis-scope .checkbox-input .checkbox-input__text-wrapper{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sis-scope .checkbox-input .checkbox-input__label{display:flex;align-items:center;height:28px;cursor:pointer;max-width:calc(100% - 28px)}.sis-scope .simple-sorting-settings{width:200px;box-shadow:0 0 5px #3a435633;border-radius:4px;display:flex;flex-direction:column;background-color:#fff}.sis-scope .simple-sorting-settings .header-text{width:100%}.sis-scope .simple-sorting-settings__actions{padding:10px 0;display:flex;flex-direction:column;align-items:flex-start}.sis-scope .simple-sorting-settings__actions>div{width:100%}.sis-scope .simple-sorting-settings__actions>div>div{width:100%;border-radius:0;padding:5px 16px;margin:0;height:auto;cursor:pointer}.sis-scope .simple-sorting-settings__actions>div>div:hover{background:rgba(91,99,114,.1)}.sis-scope .complex-sorting-settings{box-shadow:0 0 5px #3a435633;border-radius:4px;width:320px;height:100%;display:flex;justify-content:space-between;flex-direction:column;max-height:386px;background-color:#fff}.sis-scope .complex-sorting-settings__body{overflow:auto;flex-grow:1;padding:17px 17px 14px}.sis-scope .complex-sorting-settings__actions{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:8px 16px 14px}.sis-scope .complex-sorting-settings__actions .sp-buttons{margin:0 0 0 auto}.sis-scope .complex-sorting-settings__actions .sp-buttons button{min-width:74px}.sis-scope .complex-sorting-settings__actions .sp-buttons>button:first-child+button{margin-left:10px}.sis-scope .complex-sorting-settings .settings-checkboxes{margin-left:-3px;margin-top:15px}body .prism-widget-preview .sisense-pivot__pagination-panel-wrapper,div#idk .prism-widget-preview .sisense-pivot__pagination-panel-wrapper{padding-bottom:0}body .sisense-pivot__pagination-panel-list-wrapper,body .sisense-pivot__pagination-panel-rows-count,div#idk .sisense-pivot__pagination-panel-list-wrapper,div#idk .sisense-pivot__pagination-panel-rows-count{color:#acacac}body .sisense-pivot__pagination-panel-notification-more,div#idk .sisense-pivot__pagination-panel-notification-more{color:#1faff3}body .sisense-pivot__pagination-panel-notification-more:hover,div#idk .sisense-pivot__pagination-panel-notification-more:hover{cursor:pointer;text-decoration:underline}body .sisense-pivot__pagination-panel-page,div#idk .sisense-pivot__pagination-panel-page{margin:0}body .sisense-pivot__pagination-panel-page:hover,div#idk .sisense-pivot__pagination-panel-page:hover{text-decoration:none}body .sisense-pivot__pagination-panel-list--number .sisense-pivot__pagination-panel-page,div#idk .sisense-pivot__pagination-panel-list--number .sisense-pivot__pagination-panel-page{margin-right:6px}body .sisense-pivot__pagination-panel-list--number .sisense-pivot__pagination-panel-page:first-child,div#idk .sisense-pivot__pagination-panel-list--number .sisense-pivot__pagination-panel-page:first-child{margin-left:6px}body .sisense-pivot__pagination-panel-list--number .sisense-pivot__pagination-panel-page:not(.sisense-pivot__pagination-panel-page--disabled):hover,div#idk .sisense-pivot__pagination-panel-list--number .sisense-pivot__pagination-panel-page:not(.sisense-pivot__pagination-panel-page--disabled):hover{color:#272a34;text-decoration:underline}body .sisense-pivot__pagination-panel-page--active,div#idk .sisense-pivot__pagination-panel-page--active{font-weight:400;color:#272a34}body .sisense-pivot__pagination-panel-page--first.sisense-pivot__pagination-panel-page--disabled,body .sisense-pivot__pagination-panel-page--last.sisense-pivot__pagination-panel-page--disabled,body .sisense-pivot__pagination-panel-page--previous.sisense-pivot__pagination-panel-page--disabled,body .sisense-pivot__pagination-panel-page--next.sisense-pivot__pagination-panel-page--disabled,div#idk .sisense-pivot__pagination-panel-page--first.sisense-pivot__pagination-panel-page--disabled,div#idk .sisense-pivot__pagination-panel-page--last.sisense-pivot__pagination-panel-page--disabled,div#idk .sisense-pivot__pagination-panel-page--previous.sisense-pivot__pagination-panel-page--disabled,div#idk .sisense-pivot__pagination-panel-page--next.sisense-pivot__pagination-panel-page--disabled{opacity:.5}body .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button{display:block;width:16px;height:16px;text-indent:20px;overflow:hidden;background-repeat:no-repeat}body .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAABACAYAAAATffeWAAABSUlEQVR42u2VsYrCQBCGc1pZiYVwYuBAbJLKPQvL7D1EHiRNQgJJwMrOUhBbGzux8Bm0tfVhblZWCMNOdptEjPkgxQfzj0ncXy3rE7B75U7z5TK+cZl3JNwg/Mvv4+nCVnh1YcuZ8XVxGLt+AeM7+MTrYDLvq9yELryovcv+LjKEvfYl/EC42ZIfZz4q8Zbm9f8BHJQznP8V5VpE60T7niHsr1jiLVWu5XvKhvD8N2fmbVVuFBbtEwXCXl1Y/gaeisPYtci+dyhveUuCIOiVeem/dJ7nmyzLjoQbhe9hGNoKry5sweC6OIzdZMEOrmsURX2Va/F9vwu3vIfrIkLY618Ct39QufGSJElGlLc0sv8P4LCc4bCsKNciWifa9wxhr39JmqZLlWuJ43gIz3+D0FblRmHRPlEg7NWF5dd2Kg5j1yL73qG8gfwDYL8rrp3YiQAAAAAASUVORK5CYII=);background-position:0 -32px}body .sisense-pivot__pagination-panel-page--first:not(.sisense-pivot__pagination-panel-page--disabled):hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--first:not(.sisense-pivot__pagination-panel-page--disabled):hover .sisense-pivot__pagination-panel-button{background-position:0 0}body .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAABACAYAAAATffeWAAABSUlEQVR42u2VsYrCQBCGc1pZiYVwYuBAbJLKPQvL7D1EHiRNQgJJwMrOUhBbGzux8Bm0tfVhblZWCMNOdptEjPkgxQfzj0ncXy3rE7B75U7z5TK+cZl3JNwg/Mvv4+nCVnh1YcuZ8XVxGLt+AeM7+MTrYDLvq9yELryovcv+LjKEvfYl/EC42ZIfZz4q8Zbm9f8BHJQznP8V5VpE60T7niHsr1jiLVWu5XvKhvD8N2fmbVVuFBbtEwXCXl1Y/gaeisPYtci+dyhveUuCIOiVeem/dJ7nmyzLjoQbhe9hGNoKry5sweC6OIzdZMEOrmsURX2Va/F9vwu3vIfrIkLY618Ct39QufGSJElGlLc0sv8P4LCc4bCsKNciWifa9wxhr39JmqZLlWuJ43gIz3+D0FblRmHRPlEg7NWF5dd2Kg5j1yL73qG8gfwDYL8rrp3YiQAAAAAASUVORK5CYII=);background-position:0 -48px}body .sisense-pivot__pagination-panel-page--last:not(.sisense-pivot__pagination-panel-page--disabled):hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--last:not(.sisense-pivot__pagination-panel-page--disabled):hover .sisense-pivot__pagination-panel-button{background-position:0 -16px}body .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAABACAYAAAATffeWAAABBklEQVR42mNgGAXEAC4tQ7u94up6iqRrFVTi1zS0P65p4DCBZL28kmoiGgaOJ9UNHTrIcTajpoH9ZTU920py/U2xARR7gfJApE40joKRDpiAqe+JjIalLtkmaBpYeYMMUdCyMCfbEHUtKydNI/vnSvrmNmQboqJrZgkyRFraTJj+BlDkBUoDkfJoHAWjABn4+Phw1dbW7i0pKSG9YklLS+Ovq6s7XlNTM4EczSJAm08CNZPXPgDafBmomfz2AaUGUOwFygORKtE4CkbbB8DE86S8vJz8iqWqqsobZEhFRQX57QOgZidgXngOdAn57YPKykpLkCHZ2dnC9DeAIi9QGoiUR+MIAgDRRntRFUnDLQAAAABJRU5ErkJggg==);background-position:0 -32px}body .sisense-pivot__pagination-panel-page--previous:not(.sisense-pivot__pagination-panel-page--disabled):hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--previous:not(.sisense-pivot__pagination-panel-page--disabled):hover .sisense-pivot__pagination-panel-button{background-position:0 0}body .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAABACAYAAAATffeWAAABBklEQVR42mNgGAXEAC4tQ7u94up6iqRrFVTi1zS0P65p4DCBZL28kmoiGgaOJ9UNHTrIcTajpoH9ZTU920py/U2xARR7gfJApE40joKRDpiAqe+JjIalLtkmaBpYeYMMUdCyMCfbEHUtKydNI/vnSvrmNmQboqJrZgkyRFraTJj+BlDkBUoDkfJoHAWjABn4+Phw1dbW7i0pKSG9YklLS+Ovq6s7XlNTM4EczSJAm08CNZPXPgDafBmomfz2AaUGUOwFygORKtE4CkbbB8DE86S8vJz8iqWqqsobZEhFRQX57QOgZidgXngOdAn57YPKykpLkCHZ2dnC9DeAIi9QGoiUR+MIAgDRRntRFUnDLQAAAABJRU5ErkJggg==);background-position:0 -48px}body .sisense-pivot__pagination-panel-page--next:not(.sisense-pivot__pagination-panel-page--disabled):hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel-page--next:not(.sisense-pivot__pagination-panel-page--disabled):hover .sisense-pivot__pagination-panel-button{background-position:0 -16px}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-wrapper,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-wrapper{padding:8px 0}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-list-wrapper:last-child .sisense-pivot__pagination-panel-page,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-list-wrapper:last-child .sisense-pivot__pagination-panel-page{margin-left:10px}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-list-wrapper:first-child .sisense-pivot__pagination-panel-page,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-list-wrapper:first-child .sisense-pivot__pagination-panel-page{margin-right:10px}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first.sisense-pivot__pagination-panel-page--disabled,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last.sisense-pivot__pagination-panel-page--disabled,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous.sisense-pivot__pagination-panel-page--disabled,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next.sisense-pivot__pagination-panel-page--disabled,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first.sisense-pivot__pagination-panel-page--disabled,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last.sisense-pivot__pagination-panel-page--disabled,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous.sisense-pivot__pagination-panel-page--disabled,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next.sisense-pivot__pagination-panel-page--disabled{opacity:.2}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button{text-indent:30px;width:24px;height:24px}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first:hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first:hover .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAABgCAYAAAAHBrJUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0YWZlODM2Ni1mMTA2LTQxYTctYjg1Yy05MDRiZWZkZDNjNTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzkyMzY4MDgwOTk4MTFFNEJEQzdFMDcyRTdGQTFBOTIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzkyMzY4MDcwOTk4MTFFNEJEQzdFMDcyRTdGQTFBOTIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6YWZhZDgxMmYtNjU4Ni00OGUxLThkZWUtOGZlOTRhMGE4YjNjIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRhZmU4MzY2LWYxMDYtNDFhNy1iODVjLTkwNGJlZmRkM2M1MiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pgh/ZNoAAAVtSURBVHja3JhfiFVVFMbvPd0enIeIHiuKECEIBLFSiQaRHuahP1rhRE1/wGQCQYYxUBLKB8XswXww6SkHSSlJpQlkHsQiiJICQSiCoEjmQd9CFIdMbr91+O7mdLhn77XHex/swGIzc9dea5+9v7PWt792t9ttDfVJJXhk9Qsj2Dls3BsT33XYvMXuJBzbDIdtHdiXzuDLGL7A3rG/Own/97A12OM//3BiwRH8boavsKP4fxxNoC15G3sS50uO4HcwHMcuYlO9/3canB9l+ASbIPh559YfwB7AVjPnZmMCgt/LMIvtwfGUc9/fYngFW8Wcv6q/deqIUfCvsb1exDDsx54m+G/134s+iPkH24RzNwMx0/if7efTGSRiGhMMCjGxN7AV7MpAzEvYKHZ/FTH9nt4ZfIBtZWX3OBPYV/07tiPl2EvwPnbB9pMkRWoSq77K8CI2if+GZAIh5jXsYWyn5xWY84slwGZIsrTJr20Vr91uV7/gb7FnCXDG+R18xPCEIZA51+uVuqit6ieGbdgxJt7nPI9p7G/sYPINKqv6lOEhbC1Jbzje4kGG8/rgZhrfoPLY3tqHtM95Hn9aYcQOkWx58g20KjvwH7HXCXDSeR57GDZiK5lzJfYGtqpfGd60+qSa43ne1dd9WLWtVSRe/XOGI1bQmLDEsVX2Vb+smjaVTKDHUGXwW+88j8vapu3hDIb5FK1hP/YGxmHUmby8Z1xcaSQVu/cGu3WQyzKqabeKllSxs35w1DqUOlXqIBd06GvUCV1nMCUMH1fHSiWxzvecdcIYrSxqGN4obnPACUmrP68ah1IljqNInOYZ4zjiOp4kxp2sRMyKU8VhKm5j3Wp/BrL2ikvN1pFVNKzqrOq8C1nqiJvEqf6DrFixGwiyUl/yLSOrcFbHUXEhL7J2iWu5atEOcSDvDce41VZxreQVaoPa5ypxoVTwQud2QVwresMxrmMNfFIcyPPsFLda2WPnTazCutf32Hc4bnFuzVO6W4yK/kRZxUFxnWlncONQx6z79YI3sgqc39CNZYXoSCr4nQzfYH/gP1HvB/UrlHGaQ1YqPMH17BOHmozecAh+F8MJ7EOCn3ZuzfMMm7HHmHOtsZpW7mcXxW28N3qbs1kcKnrDmVINWZG6sVRQZpe/I/h/5rlCbde+X3bu+3pxpW0px9ufFyUTzM3NjWDnMLdehO86bD5Z7HDK1ouYszi9aGxsbMERPNz+8Y/rRdqS8vaP8yVHcL9ehHPQiwierRcxp1kvInjQi3A85dz3oBcxp1kvMsTk6kWGmJ5eRPBmvaiCmFIvwrmbgZhp/P160WIR05hgUIhJ6kUZiAl6URUxSb2IlQ1fLyJJsj6x6qAX4Z/Wi4SYLL2IOUEvIslSVz/QF1zqRQQ44/wOgl7EnOvRco1D0IuYODi9qM+qgl5E0huOtwh6Ef4znoaTpRcRNOhFJFvu6sk4Br2IACed5xH0IuZcibZMHIJepJqTpReptsV7MkmCXsSEJY6tGr5eRJL/mV5U6PTn1Zm8vGdcXGnE+wa7dZDZelEPLaliF2716lSpg7w1vUgdK5Uk3OpjtLKoYThLL1IHLPUiVeJWqpoGvUhcx5Mk6EXiVHGYituUelEGsoJeVEdW0bCqoBd5kKWOGPSiKrJixW4gyHLrRYtFVuGsjm69SMganl4kbuXTi8R5JkXLrzqC+/UicZ1SLxIHytKLeuy8iVUEvQjHLc6tCXqR6E8URVl6kThUqRdVg/d9A5yDXiQ6kgoe9CL8J2IXkJY4TakXeYJn6UUED3oRwU87tyboRcy5FmuZ2XqRalSpF4lD+fSi1I2lgrJSL8LfrxeJ09xeetG/AgwAl90b0K18FOcAAAAASUVORK5CYII=);background-position:0 0}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last:hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last:hover .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAABgCAYAAAAHBrJUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0YWZlODM2Ni1mMTA2LTQxYTctYjg1Yy05MDRiZWZkZDNjNTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzkyMzY4MDgwOTk4MTFFNEJEQzdFMDcyRTdGQTFBOTIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzkyMzY4MDcwOTk4MTFFNEJEQzdFMDcyRTdGQTFBOTIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6YWZhZDgxMmYtNjU4Ni00OGUxLThkZWUtOGZlOTRhMGE4YjNjIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRhZmU4MzY2LWYxMDYtNDFhNy1iODVjLTkwNGJlZmRkM2M1MiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pgh/ZNoAAAVtSURBVHja3JhfiFVVFMbvPd0enIeIHiuKECEIBLFSiQaRHuahP1rhRE1/wGQCQYYxUBLKB8XswXww6SkHSSlJpQlkHsQiiJICQSiCoEjmQd9CFIdMbr91+O7mdLhn77XHex/swGIzc9dea5+9v7PWt792t9ttDfVJJXhk9Qsj2Dls3BsT33XYvMXuJBzbDIdtHdiXzuDLGL7A3rG/Own/97A12OM//3BiwRH8boavsKP4fxxNoC15G3sS50uO4HcwHMcuYlO9/3canB9l+ASbIPh559YfwB7AVjPnZmMCgt/LMIvtwfGUc9/fYngFW8Wcv6q/deqIUfCvsb1exDDsx54m+G/134s+iPkH24RzNwMx0/if7efTGSRiGhMMCjGxN7AV7MpAzEvYKHZ/FTH9nt4ZfIBtZWX3OBPYV/07tiPl2EvwPnbB9pMkRWoSq77K8CI2if+GZAIh5jXsYWyn5xWY84slwGZIsrTJr20Vr91uV7/gb7FnCXDG+R18xPCEIZA51+uVuqit6ieGbdgxJt7nPI9p7G/sYPINKqv6lOEhbC1Jbzje4kGG8/rgZhrfoPLY3tqHtM95Hn9aYcQOkWx58g20KjvwH7HXCXDSeR57GDZiK5lzJfYGtqpfGd60+qSa43ne1dd9WLWtVSRe/XOGI1bQmLDEsVX2Vb+smjaVTKDHUGXwW+88j8vapu3hDIb5FK1hP/YGxmHUmby8Z1xcaSQVu/cGu3WQyzKqabeKllSxs35w1DqUOlXqIBd06GvUCV1nMCUMH1fHSiWxzvecdcIYrSxqGN4obnPACUmrP68ah1IljqNInOYZ4zjiOp4kxp2sRMyKU8VhKm5j3Wp/BrL2ikvN1pFVNKzqrOq8C1nqiJvEqf6DrFixGwiyUl/yLSOrcFbHUXEhL7J2iWu5atEOcSDvDce41VZxreQVaoPa5ypxoVTwQud2QVwresMxrmMNfFIcyPPsFLda2WPnTazCutf32Hc4bnFuzVO6W4yK/kRZxUFxnWlncONQx6z79YI3sgqc39CNZYXoSCr4nQzfYH/gP1HvB/UrlHGaQ1YqPMH17BOHmozecAh+F8MJ7EOCn3ZuzfMMm7HHmHOtsZpW7mcXxW28N3qbs1kcKnrDmVINWZG6sVRQZpe/I/h/5rlCbde+X3bu+3pxpW0px9ufFyUTzM3NjWDnMLdehO86bD5Z7HDK1ouYszi9aGxsbMERPNz+8Y/rRdqS8vaP8yVHcL9ehHPQiwierRcxp1kvInjQi3A85dz3oBcxp1kvMsTk6kWGmJ5eRPBmvaiCmFIvwrmbgZhp/P160WIR05hgUIhJ6kUZiAl6URUxSb2IlQ1fLyJJsj6x6qAX4Z/Wi4SYLL2IOUEvIslSVz/QF1zqRQQ44/wOgl7EnOvRco1D0IuYODi9qM+qgl5E0huOtwh6Ef4znoaTpRcRNOhFJFvu6sk4Br2IACed5xH0IuZcibZMHIJepJqTpReptsV7MkmCXsSEJY6tGr5eRJL/mV5U6PTn1Zm8vGdcXGnE+wa7dZDZelEPLaliF2716lSpg7w1vUgdK5Uk3OpjtLKoYThLL1IHLPUiVeJWqpoGvUhcx5Mk6EXiVHGYituUelEGsoJeVEdW0bCqoBd5kKWOGPSiKrJixW4gyHLrRYtFVuGsjm69SMganl4kbuXTi8R5JkXLrzqC+/UicZ1SLxIHytKLeuy8iVUEvQjHLc6tCXqR6E8URVl6kThUqRdVg/d9A5yDXiQ6kgoe9CL8J2IXkJY4TakXeYJn6UUED3oRwU87tyboRcy5FmuZ2XqRalSpF4lD+fSi1I2lgrJSL8LfrxeJ09xeetG/AgwAl90b0K18FOcAAAAASUVORK5CYII=);background-position:0 -24px}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous:hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous:hover .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAABgCAYAAAAHBrJUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0YWZlODM2Ni1mMTA2LTQxYTctYjg1Yy05MDRiZWZkZDNjNTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzkyMzY4MDQwOTk4MTFFNEJEQzdFMDcyRTdGQTFBOTIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzkyMzY4MDMwOTk4MTFFNEJEQzdFMDcyRTdGQTFBOTIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6YTc4ODUzN2EtOTBiYi00YzkwLWE5MzYtZDE5YWIxMTNkMjM3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRhZmU4MzY2LWYxMDYtNDFhNy1iODVjLTkwNGJlZmRkM2M1MiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Ps2i47QAAANcSURBVHja7Jg/aNNREMeNVEE3l6BjByc71D8lOjh0UAISsK2oVFoUpEOhZDLglCWLUAoFp44WnLRLl1CHDA4qBV10cqhCQQfHYpFW4+d+nI8g+fN++d1JAwaOt/zyvbt379193zfXbDYPef4O9/ogl8t1tJFLNwrYdiYHnX5nLk6dZFnDHnUNsNcWSaRtwI+wNLCtD6+fz3TD6DeDJewYNtfrw6E+tuYuy23sAtHvmjoAfIzlMVYC/LPJKWoBz2tRq4A3Yv8XVWTAJdMX2BfAp//+phtG7BYtYiewa2lrNhSxNTMsYueJ/ru5Ay3qA8A/ubQKPfNlMjnu5aCGfcOWXRywNT9Z7mATZHHTIwNxIh3zHraCk+E0DlI1O8BlmwrYZZzuxdyDtM2ugh3VuthnoFmcZnmLTZHFhnUGUo+PLPPYqg4d2wxaMnnCIg6K7189+2U+MjWLYa2L/Uxmq3ZYbmELmbbInba4OxDeI/ynGz/KmoHwnrWYI5llZK7qiRlvbRGWrWJOedCSVzcV/jMpfEh5kVs3HWdZ163aNO+myoeqWvS8SzfVTJ6ynMKu4HTfg/zeV5606HKTlR9dF76kvMml2QlPeqi8yeWFIzyp3OtuZGl2y8qXaqYPEI1e+NEENqq8yfSFIz1pRQqsfMn0Jsvj7yX2BvCyBy+qKS+qWNL3P9Ff1UF/juh/mHZTHTYyE+aVF9l1U8alBFHHvgI+2+6brG+0ik6zyX6OdIyDBX0X77jM5MHnRd1+9Xq9gPnoRQDb6EUdwINeVCwWXQaOn15E9EEvIvpd02MK+JhuTQnwhukpAjzoRbHg0RkAHvQiwKetW4WvXkT0QS8iej+9CHBfvYhMBlQvYmuCXkQWqfWi6IsGeEnn8lmcbrkMHJwEvQgnex7zwF4vapNF0IvIYsN8ogEa9CIdOj5DH/CgF/EbQL2IqP/rRaGY28J/PDNI9KKYI5llZAa9KLZFHCy9SPlPohcpL/Kh74AHvQinm+bHVPlQVYueN8+gJZOgF+F03+Oi+epFyo8SvUh5k0uz89WLlCcNqF6k/CjRi5Q3mQ596UnvpMCAr1vf5KAXAV72GDh+ehHRB72I6G31Ih02iV6kvMiumwIe9CLAZz1eOP9GL1IedPD0ot8CDAAbfrXxtNlPTAAAAABJRU5ErkJggg==);background-position:0 0}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next:hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next:hover .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAABgCAYAAAAHBrJUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0YWZlODM2Ni1mMTA2LTQxYTctYjg1Yy05MDRiZWZkZDNjNTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzkyMzY4MDQwOTk4MTFFNEJEQzdFMDcyRTdGQTFBOTIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzkyMzY4MDMwOTk4MTFFNEJEQzdFMDcyRTdGQTFBOTIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6YTc4ODUzN2EtOTBiYi00YzkwLWE5MzYtZDE5YWIxMTNkMjM3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRhZmU4MzY2LWYxMDYtNDFhNy1iODVjLTkwNGJlZmRkM2M1MiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Ps2i47QAAANcSURBVHja7Jg/aNNREMeNVEE3l6BjByc71D8lOjh0UAISsK2oVFoUpEOhZDLglCWLUAoFp44WnLRLl1CHDA4qBV10cqhCQQfHYpFW4+d+nI8g+fN++d1JAwaOt/zyvbt379193zfXbDYPef4O9/ogl8t1tJFLNwrYdiYHnX5nLk6dZFnDHnUNsNcWSaRtwI+wNLCtD6+fz3TD6DeDJewYNtfrw6E+tuYuy23sAtHvmjoAfIzlMVYC/LPJKWoBz2tRq4A3Yv8XVWTAJdMX2BfAp//+phtG7BYtYiewa2lrNhSxNTMsYueJ/ru5Ay3qA8A/ubQKPfNlMjnu5aCGfcOWXRywNT9Z7mATZHHTIwNxIh3zHraCk+E0DlI1O8BlmwrYZZzuxdyDtM2ugh3VuthnoFmcZnmLTZHFhnUGUo+PLPPYqg4d2wxaMnnCIg6K7189+2U+MjWLYa2L/Uxmq3ZYbmELmbbInba4OxDeI/ynGz/KmoHwnrWYI5llZK7qiRlvbRGWrWJOedCSVzcV/jMpfEh5kVs3HWdZ163aNO+myoeqWvS8SzfVTJ6ynMKu4HTfg/zeV5606HKTlR9dF76kvMml2QlPeqi8yeWFIzyp3OtuZGl2y8qXaqYPEI1e+NEENqq8yfSFIz1pRQqsfMn0Jsvj7yX2BvCyBy+qKS+qWNL3P9Ff1UF/juh/mHZTHTYyE+aVF9l1U8alBFHHvgI+2+6brG+0ik6zyX6OdIyDBX0X77jM5MHnRd1+9Xq9gPnoRQDb6EUdwINeVCwWXQaOn15E9EEvIvpd02MK+JhuTQnwhukpAjzoRbHg0RkAHvQiwKetW4WvXkT0QS8iej+9CHBfvYhMBlQvYmuCXkQWqfWi6IsGeEnn8lmcbrkMHJwEvQgnex7zwF4vapNF0IvIYsN8ogEa9CIdOj5DH/CgF/EbQL2IqP/rRaGY28J/PDNI9KKYI5llZAa9KLZFHCy9SPlPohcpL/Kh74AHvQinm+bHVPlQVYueN8+gJZOgF+F03+Oi+epFyo8SvUh5k0uz89WLlCcNqF6k/CjRi5Q3mQ596UnvpMCAr1vf5KAXAV72GDh+ehHRB72I6G31Ih02iV6kvMiumwIe9CLAZz1eOP9GL1IedPD0ot8CDAAbfrXxtNlPTAAAAABJRU5ErkJggg==);background-position:0 -24px}@media only screen and (-webkit-min-device-pixel-ratio: 1.5),only screen and (min--moz-device-pixel-ratio: 1.5),only screen and (min-device-pixel-ratio: 1.5){body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button{background-size:24px 96px}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first:hover .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last:hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--first:hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--last:hover .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAADACAYAAABCkOCeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0YWZlODM2Ni1mMTA2LTQxYTctYjg1Yy05MDRiZWZkZDNjNTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzZGNjM3QzEwMkYyMTFFNEEwOUZGODEwMEM5N0VBRkQiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MzZGNjM3QzAwMkYyMTFFNEEwOUZGODEwMEM5N0VBRkQiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NmUxOTlmYWUtMGRhNS00MTllLWJiZGQtMTVkNDlmNTkwMjE5IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRhZmU4MzY2LWYxMDYtNDFhNy1iODVjLTkwNGJlZmRkM2M1MiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhFMKHUAAAzuSURBVHja7FxrjFbFGZ79iinYUHrR6GIlWtpfrdrWSyFFS9JI9xcgS9tVCNeQaNKIpmo0GKBeoylGSbSJjUCNIOJy/SOptumFBlor9rImbbSxxYKtEqu2ZTeRsj4v5znHmbPf5Zwz7/u5S75J3pw9sDsz75mZ58y873OeruHhYTeWS9cp40BXV1dURV+Y1jsNl72wXS8d2L7EorNo4zO4/Ar274H9/V+RfxunVPEU6ThsEuzTRp0/HZc9sPNgH0n/vaZQ8cdw2Q07C/YabIVB52V6PA77MmwQNk/FAVb8BOxLsGOwOZg+/zQYgDtgvfx5Kdr4ndYI3A2by58XouIXDZ7+1bjcztvvo42n/P+vRVS8AJfbeLsKFe806PxluGzg7TZxIP87tQjEeYy3W2D3GiGOrK3xsBc4dYajYZSI81su2t/AZqLiIQPE2cdF+zrsErRxxP+drN9lHCDi7OOiFcS5THvREhie5qIVxLnCX7R5B2pjCXHqldpYQpzKDowWxKnkQJsQZ3IRxCm9mcshzvNcUBaI80vYxY0Qp15piUI5xDkMuxQVv26AOFth326GOM0cqBVAHKl4tnbnWdaw84UQp8wa8BFnESo+aDDvv0MHCiNOIQdyiLMaFfcbdP4SXDaWRZyWDuQQR+bmXUaIIweTCWURpykKfXH6/DzifB0VD44GxCm6iHew84e5TRg0WLTr2fkUGI7EVug7MIXXAZjFHkfK+bzK0/+zRoW+A4tkZGDfhN1q5MC1sP/CPgv7kaoDGM693qK9C/N1pnbv0cbLsmh524c2vqs5Ao5w9hz/fSsa6DZwQmD5Id4+wE2cjgOo/P+4LOBCPotOjDOYSjfD9sNOk8ML2viU1giIE2/gIm/J47I3gd1jMArvcQtxlOCxmduXeAfYwK9xuSV9Wqh8joET/8DlGtgJWI93kFHZC0l5kO8GKZvgxFQDJ57lEVLKWrTxDTUH+HoXxHgF9gnO1fEG6+FO2E/YlyfRxjlaIyBOvMsD9hBDHOsNRuEEgUOiHGfCnoITp6k4wAb+iMt1vF2ByhcbOHGUi1oW99dg95XezLWKC6HjsktdxpDKNDT6J4Od6vXeO6IXbeyodCJrUOSt+QeY7Ci3o7GJBiOxnkEtKRvRxudUwiqsfJDrQdbF570QiHZZDvsL7ON8UBO0AlvixF9xWcLb+aj8BoNR+I/Uzal6IexhlTWQm6s/wOV7XHRy8NlvsB5kd/zjdFTQxobYNeCXWxlyEbjbhsbOMBgJSSk9ytuH0cZF0VPIq/w490uyb5I4/hY0UDNYDythBxmxk/UwScUBOiHHwau5l7lSIhgGozDE9fA2bCqRqUvFATbwM6/jq1H5LAMnXsUlfXleBbtRzQEW2W4/IzjAqXSugRN7vLfzfWhjhpoD3PQthP3dJUnuHxq9H1bBfuGS5PxmzREQJ97iXuYd2JsWvedpsQ/2N7+Nrg5bpeNAx4EsuCtvvE/CLueBW70A/ja5JO/QgzYOxNRVby8k+5nzYHsYRbYoArOyHdjF/Ft08R0QDs4gz76PV43TtCgrePaVoNlu5uF0HGB+Ko1b9nrhDk0sl6j3HO71Jf/2ROyDyocWJU+VpntuZ+Zc24kX+eZ2XA93qznAIg5s488bYoOvDZzYya2BlNuYl9NxwAtovcB9+G5yd7SLZPy38OfHmJ+rDqN1Et2SjJN1ISF2GfYZcO6YMqzKA/o57Kuwf7mEvnOoDIy2ohpIOlSSchIZ2A77VkxGsYETZ7skuSjb8N/zQf2vynug3lwd9chUJLQ4qpGp6Hlg1CJTrWDl9ZBp8mhAprKkPx+ZxJkrjJBJgOPSZshUibVYB5lkWvUZIJM8IKE7nNMImSpH5nLIJOfgNQbrQTL5s7m5bIpMVSNzPjKtIfdH2wk5nyxqhUwxUQkfmTZyamk70e8FzuoiU0xo0UemCTwIWSCT0B+2NkKm6E9Q2oRMExjUypBpYH//IZXAFoO86YITLpBFJnOQ242UArFDNTLnEu5Pymo83+g8LXumAf48RdsB4f4IB0i4QNcaOSBJFeEyDXvopPIRkGQv+3i7lJwg7XDMTOdxmchtineAm7oHePuQEUWzmygkfX3O5SiaMd/QCMdHcrqSJ5Mk380GnR/HzqdkxAWMUsc5wNf6Zi6mkzQBcoC0iyRPhLN0MidHLpPKi0y4PcLxkfzYNRahSHKU0lG9hRym+K0EOT1reXsHOT/anZeE3ibeCuY/GHsiSyuW7e2T/Dvh+Nxp0PnxXFvCUXrFtaAml/kISBar7EKF0/MaF9QJg3kvb3KJz0qKtZecJacxApIlFC7Pe1y0Rw2evqRT049JryNXKf5IiYrnMS4kZSVpMdqdvwAXyRlIaH8D2lgeHRdixcLZSbn+Txt1fiIfkHReOEmFGb21AttYqVi4O8LhWW60zxEminCQ3uW8H1RxwCVcnQsZNZtPLo/20xfO0XzeLiEnqXBpFtwVflz6Ncdi0l+0Oz+dBxVBuHVo46aif9vqK6aL3AdMqUeNOn8Gz9TS+X2uIuW/3kdAkzjv5YUikYGVBp2vMQIneYc3uM85Hu0AN2mCOPIqf5vzfshg0Uqk4UpvL1X5U5T8CAgX5ypv3r9q8PRneaES+czrpzH11byKZziPk0OOjnbnz+XUkZF+xilQ+/0RkP39OKLCKiO8Fy6RJLuFW7RQI6bqf53xJudkX/7Uo1ikjXe4l3pLo8IOW6XjQMeBSAf27s1iTJm+kPuAIN6y9PT0lGkr0xfC3+npCzG8YqovhM7b6AuhmOsLofM2+kKsOFD7cDZfwgZqH5g+NvpCLiGFaD/9QO0DndfRF0LFgdoHbKdB5230hVCxudoHESdQ+8DTH452ABWniPNRl+gLyUF/2AhxhIpzMmeMzh+LDWxJxXnEmcsImiXiSOePVI1KNEUcVNxWxIkdgQBxUHHbEaeyA3nEQcUfCuJUcqBNiDO5COKU3swRcQJ9IVQ81GAzV7WMUPtotmgLj0AOcQ5z0WqHWNIwzsVFEKewAznESSs21xdqhThlRiDQF0LFBw06H+gLFUGcQg7kEGc1Ku436LyNvlAOcUz0hVBG6AsVRZymDuT2OII4y2IqboI40vnuVnucKiOwI4c45vpCsI6+0KmjL4QpE+gLYU3MNHAg0BdyJbKRRWE00BeCE90GTgT6QtzE6TiAURihL4QGzPWF0IaevhCcMNcXcqQrOE9fiNuXeAfoRKAvhMrnGDjRXn0hODHVwIlAXwht6OkL8S0c6AuhAXN9IbShpy8EJ8z1hdDGCH0hOKGnL4QGAn0hVL7YwInK+kK1gg1s8g7cj8CJCwycEK5QypW4EW3MU3OAJdAXQgMTDZwI9IXQhp6+EHenbdcXghN6+kJwItAXQuU3GIxCKX2hWoUGJKi1jrf3w6YbODHgAcdSPKhlag6wBPpCLvkeX9uJQF8ITujpC6HyEfpCTu9bBL8E+kJwQk9fiAEoU30hBtICfaH8pq8W2UCgLwSbZeBEe/WFXPJhs7YTgb4QRmGGpgNjX18IxVxfiKfFjr5Qx4GOA40cADRl+kJYMIU/6imZYpJzxVwe4g9wcaoFtjJ9IWbKLUqmL+S87yG1HAj0harGaVqUQF/IJVwjHQeYnzJV8XBJ1DtQ8Yh9UPnQYqDiwcy5dmmvvlBs8LVBCVQ8mJfTccALaGUqHuTuaJdAxYP5OZURcMxbSQpIMilnGyHTMA/wwjmSvNwu5uniHfAOLLONkWmI6yBDJjIE4h1oFzKRc1QZmYqEFs2Ridyj9ukLWSATwzWlkalobLQeMk0eDchUajfKTgcqHpy7MU8+38YIfSH8ziGVwFYOmSTjvpGHee1Qiq/i0RSZqoQWzfWFyE0K9IUaIVPVyFygL+SSKJ22E+3VF3IJB0jbiUBfqB4yxYQWR+gLuYQLpF0CfaE8MsWGFv09UzedOF15FORBSXj9+Xp7Jo3Alrm+ELNDHX2hZmXs6gu5JHuZ6Qu5hBOkWshdyrhM5DbFO8BNXaYv5BIukHbnbfSFyPEx1RciVynQF2KUOs4BvtYDfSGX0AS0S6AvRC6Tyoss0BdyCfdH++kH+kLkMMVvJcjpWctbOWI+a9B5G30hcnlM9YV4Hgj0hZoxiMt8BDRCX4hcH+0S6AuRs+Q0RiDQFyLHR/vpB/pC5CrFn4nJ3UnzszeR26PdeeEgPZIGDshRij/Uk7OT6QuR06PdeRt9IXJ12q4vVIY5X0pfiFwe7acf6AuRk+SiHSBHZ6m3oAYMnrxwje7nz+uqfGDX6CumQF+I3B3tYqMvRE6Oqb4Q2w30hchBinOAm7RAX8jg4zfncvpCZT9+azYCgb4QuTraJdAXQhs6+kLk4GScHHJ0tMuppS/kFD5lr6svlD/1KJZMX8glHKPo0mGrfNjlfQEGADUIi1Oja/93AAAAAElFTkSuQmCC)}body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous:hover .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button,body .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next:hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--previous:hover .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next .sisense-pivot__pagination-panel-button,div#idk .sisense-pivot__pagination-panel--mobile .sisense-pivot__pagination-panel-page--next:hover .sisense-pivot__pagination-panel-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAADACAYAAABCkOCeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0YWZlODM2Ni1mMTA2LTQxYTctYjg1Yy05MDRiZWZkZDNjNTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzJCNzMxMDgwMkIyMTFFNEEwOUZGODEwMEM5N0VBRkQiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzJCNzMxMDcwMkIyMTFFNEEwOUZGODEwMEM5N0VBRkQiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDU0YTA2YzQtN2E3ZC00Y2E0LTk2MTUtNDA1MjIxYjFhZjNhIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRhZmU4MzY2LWYxMDYtNDFhNy1iODVjLTkwNGJlZmRkM2M1MiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqAMdO4AAAeHSURBVHja7FxtaJVlGH5mCyQ2M4JBIAVigqbYD6UW9CuRQ1CUm3pshaGVGfrL+TEYbAvcv1L8+JG4OdfcJjjQP3H+RD8q1iqjD4uIjEFEJKJBZYuwdd0913k979l+5Dnv855zzXPDzbNH3Nlzvc97n+e+7/d6r7rp6WmnbPOcuNWX+wF1dXUl/+5Dj7bcg+F9+I2L42dXSe0AFm9/e9h+hN+reAv1wDPwv+EbpADg6j+LoZPTnV9/NDZe8i1c7rfQrcYAFr8cwwS8Ad6PxW+zfy91HfNSvvJ3YzjHxX8Mf03maxSLt616G/4g/Bf4elz9v5TOgS74UwzaViz+J5mDDFf/aQIw243Ff5DUZwcPYix+KYZP4Y3wU1j8i7P9v6oMYiy+kUHbSBCvyuRCDNpB+DL4ZQbtlFIyZwfVM5bnwLNY/I8y2Siu/pNMFczasfj3Ql2lxIMYi1+C4RP4QvgQFv/C//mcqghiLL6BQWuL/wz+ikxBw6AdYHp8Fd6Cq/+nUkW2zxYN/we+EYuflCkpcfXXYTjA6V4s/t208pOyg3hFc+tiHlJWHo5g8c+V8jmVDOIxLv4r+MuKXYlFHCdw9f9QBPBSfkQstMgBwFU/j+EopycA4gG1HTDbA/+CB9gIQNRLAWCWmYVbDDTDX1fbAQPxLYZdnO7HLqyVOAdmSeZOY7Cz4Gf4wwB2WSaZo1nVdQl+n5WQzJEkcqH8rfQbhk3sPljrcLcUAIK4YHHAaS92YY0UANpB+DvwO+GjALFACgB2waJyC4PZEr631HbAQFzB0MYaIYtd2CYFgCCsoO/l9DBALJMCQOuGfwi/C34GIOZLAcAuWG9oM/wafCX8TbUdcGxsbeV0B3ZhvRQAgrCWyzFO+wDifikAtHb4l0ml3qkDYOptqcZ1+GPuZgtSZgeKU+8O7MITUgAIot9uIcvILWst9XPqXWVtO79Wb1SsoKm0ybNVagAqbWUH8YrmVusH3QF/HN8s10r9nEoW9cb1sYcaw+QAyd1CGwoK+B45AOT67OS0k1yg1CyxxhYW3sd0+Xf4IwD2jUoM5M24P8YB+u9JZaguRDAA5P5YkWJcIOMEDYXuyiV+DpAD1MqgNm5Ql9xBRi5Qvp3YRa5Q9QdxsWHhA843tqxXuhrAvqv2IC4261LniU7nyB3SyYVYOlpQ2/MBa2YNhgjq0K1Fa6VkWbAYd6hTLhtla7Gd0x5yiao/iGcJauOMPg//Fb4GwL6v9iAuNuMOGYdoIYO6QaqgIXfInuRfZfo9kERQp91anMSw0fnnBQZmn1xJSS7RXk4PkGtU/UE8S1Db2xv5lvvqi+Nnf1Ar6o1bZBwj4xqNyXUlyC2a4HSRHAByiyKukRQAcopOcHqUnCMNAHygMcIDzXpKe6S+Rp3nEhmnyGIgWy6jPe2XgIxDlOdQ7OKDDplkrgnD587TcIax+DaZZI45zyku/pJL8E2OtG4hK/Lzrx1uIqdIAwC5QnmuxH5yiTQqMnbnRp3nDBl36KBaSWkcIeMKGWdoCzlEGgDIDcoy928jd0ijrUJO0GFOe0O+BDQvwOKNC3TGeW6QcYS6Q96jIXbAuEArWahsJldIAwA5QDs43Rrq5bcgAMj96eP0GLlBTgJAUYpsXKD2tBLEpHbAnk4a9+c6U4UpGQDk+nQkmSKnvQOWZVq2OUIOUKqWBF/oCr8yt1eivq7xhWoAbncAZQdxLpcr59cjfaFMJrNKbQdq+kKVBBDTF8LtM64EwPSFBvlzPxZ/XOlbSFdfiPlSTF8IrqsvBNfRF4LF9IXgiekLpQHA9IWGClLvI0qphK6+EIM2pi8E19UXguvoC8Fi+kJwndYizPSFTvMWsuA9pFQP6OoL8YoPuAJ9IbiuvhB8UqmkjOkLwVPTF0oCgD1CGuVnWX/0DbWifu7oCznPf5ADUMj5aVEEENMXguvrC7kUXzJNCoC+vhAspi8EX6sGwOyk8922fC3QpAbAuSJ9IYKRAqCvLwSL6QvB9fWF4AvUAOjrCzn/BDPSF4Lr6QuxoI/0hdhmkQJg1u0K9IXg89UA6OsLOd/YivSFnO/USQFwbLlE+kJwfX2hXC5XrwZAX1+oKPXuwC7o6QvBavpCZjW+UA3A7Q4gCb5QpC/EXOeWLJPJVHwHIn2hSuxoTV8IFtMXcp4LJBfEx3mymllDa7nit1BMXyhUFyIkgBn6Qi5wVy7EOaCvL+Q8FyjSF3KeKyR3Eh8pSJHtVlqqmErE9IU4SgGYoS8UIqhDH/36+kLOtxYjfSHnuURy6fShgnPBuERLFOuBmL4QT2wpADP0hZII6rTz90mnri/kPJco0hdCRbdODYCZcYpG+PdHAWKxYlGvrS/kPK9CV1+IQaypL+Q8pyjSF8pkMueVAMwtfSFc/SklADF9IecfdMgcZE0FNYF18U4q5UJzS1/IeU6RDICYvpDzXCKZgmZu6Qs5zyGSARDTF3KeOyTTVonpCzmxl4Dmlr6QK+MhdiUAxPSFXKCX30IBiOkLsXXiVADMLX0hF+Clz5AAYvpCSaTIaQOI9IXczSeVqZZ35VpNX0itJk7U/hVgAMJfpGlj0zW2AAAAAElFTkSuQmCC)}}body .narration-tooltip--pivot2-notification.narration-tooltip.bottom.show-add,div#idk .narration-tooltip--pivot2-notification.narration-tooltip.bottom.show-add{opacity:0;transform:translateY(5px);transition:opacity .3s,transform .3s}body .narration-tooltip--pivot2-notification.narration-tooltip.bottom.show-add-active,div#idk .narration-tooltip--pivot2-notification.narration-tooltip.bottom.show-add-active{opacity:1;transform:translate(0)}body .narration-tooltip--pivot2-notification.narration-tooltip.top.show-add,div#idk .narration-tooltip--pivot2-notification.narration-tooltip.top.show-add{opacity:0;transform:translateY(-5px);transition:opacity .3s,transform .3s}body .narration-tooltip--pivot2-notification.narration-tooltip.top.show-add-active,div#idk .narration-tooltip--pivot2-notification.narration-tooltip.top.show-add-active{opacity:1;transform:translate(0)}body .narration-tooltip--pivot2-notification.narration-tooltip.show-remove,div#idk .narration-tooltip--pivot2-notification.narration-tooltip.show-remove{visibility:visible;opacity:1;transition:opacity .3s}body .narration-tooltip--pivot2-notification.narration-tooltip.show-remove-active,div#idk .narration-tooltip--pivot2-notification.narration-tooltip.show-remove-active{opacity:0}body .narration-tooltip--pivot2-notification .narration-tooltip-host,div#idk .narration-tooltip--pivot2-notification .narration-tooltip-host{width:450px}body .narration-tooltip--pivot2-notification .narration-text,div#idk .narration-tooltip--pivot2-notification .narration-text{padding:7px 13px}body .new-widget-modal .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted,body .new-widget-modal .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon,div#idk .new-widget-modal .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted,div#idk .new-widget-modal .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon{display:none}body .pivot-container,div#idk .pivot-container{position:relative;height:100%;border-style:solid;border-width:8px;border-bottom-width:3px;z-index:1}body .sisense-pivot .table-grid--top.table-grid--left .table-grid__cell--level-first,body .sisense-pivot .table-grid--top.table-grid--right .table-grid__cell--level-first,body .sisense-pivot .table-grid--bottom.table-grid--left .table-grid__cell--level-first,div#idk .sisense-pivot .table-grid--top.table-grid--left .table-grid__cell--level-first,div#idk .sisense-pivot .table-grid--top.table-grid--right .table-grid__cell--level-first,div#idk .sisense-pivot .table-grid--bottom.table-grid--left .table-grid__cell--level-first,body .sisense-pivot .table-grid__cell--corner.table-grid__cell--level-first,body .sisense-pivot .table-grid__cell--columns.table-grid__cell--level-first,body .sisense-pivot .table-grid__cell--rows.table-grid__cell--level-first,div#idk .sisense-pivot .table-grid__cell--corner.table-grid__cell--level-first,div#idk .sisense-pivot .table-grid__cell--columns.table-grid__cell--level-first,div#idk .sisense-pivot .table-grid__cell--rows.table-grid__cell--level-first{font-weight:600}body .sisense-pivot .scroll-elem__horizontal-track,div#idk .sisense-pivot .scroll-elem__horizontal-track{margin-top:2px}body .sisense-pivot .scroll-elem__vertical-track,div#idk .sisense-pivot .scroll-elem__vertical-track{margin-left:2px;z-index:10000}body .sisense-pivot__multi-grid .table-grid,div#idk .sisense-pivot__multi-grid .table-grid{z-index:1}body .sisense-pivot__multi-grid .table-grid__cell,div#idk .sisense-pivot__multi-grid .table-grid__cell{text-align:left;transition:background-color ease .3s;font-weight:400}body .sisense-pivot__multi-grid .table-grid__cell.table-grid__cell--data,div#idk .sisense-pivot__multi-grid .table-grid__cell.table-grid__cell--data{text-align:right}body .sisense-pivot__multi-grid .table-grid__content,div#idk .sisense-pivot__multi-grid .table-grid__content{font-size:13px;line-height:normal;padding:3px 8px 4px}body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__content,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__content{padding-right:25px}body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted,body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon{display:block}body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted:after,body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon:after{display:block;top:0;left:0;background-repeat:no-repeat;background-position:center}body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted{top:4px;right:7px;width:16px;height:16px}body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__icon--sorted:after{width:16px;height:16px}body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon{top:1px;right:1px;width:22px;height:22px}body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon:hover,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon:hover{background-color:#f2f2f2;border-radius:50%}body .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted .table-grid__sorting-settings-icon:after{width:20px;height:20px;top:1px;left:1px}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent .table-grid__sorting-settings-icon,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent .table-grid__sorting-settings-icon{background-color:#f2f2f2;border-radius:50%}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent.table-grid__cell--default-sorted--asc .table-grid__sorting-settings-icon:after,body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent.table-grid__cell--default-sorted--desc .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent.table-grid__cell--default-sorted--asc .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent.table-grid__cell--default-sorted--desc .table-grid__sorting-settings-icon:after{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE5IDdINVY4SDE5VjdaIiBmaWxsPSIjNUI2MzcyIi8+CjxwYXRoIGQ9Ik0xNyAxMEg3VjExSDE3VjEwWiIgZmlsbD0iIzVCNjM3MiIvPgo8cGF0aCBkPSJNOSAxM0gxNVYxNEg5VjEzWiIgZmlsbD0iIzVCNjM3MiIvPgo8cGF0aCBkPSJNMTMgMTZIMTFWMTdIMTNWMTZaIiBmaWxsPSIjNUI2MzcyIi8+Cjwvc3ZnPgo=)}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent.table-grid__cell--sorted--asc .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent.table-grid__cell--sorted--asc .table-grid__sorting-settings-icon:after{content:"";background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAIVBMVEUAAABVVVVgYHVaY3NYYHBbYnFbZHJcZHJbY3JbY3L///8+n+SvAAAACXRSTlMAAxgfIEZrwN7K99ocAAAAAWJLR0QKaND0VgAAADFJREFUGNNjYKApmAkBhJSZO3DCVTF3tiAkNDIzFOAcUU5WAYRZnMgGoHNmYpehHgAAbUUKxkfTjB4AAAAASUVORK5CYII=)}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent.table-grid__cell--sorted--desc .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sort-icon-persistent.table-grid__cell--sorted--desc .table-grid__sorting-settings-icon:after{content:"";background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAJFBMVEUAAABVVVVgYHVYYHBbYnFbY3FbZHJcZHJbY3JbY3JbY3L///8jVOI/AAAACnRSTlMAAxggRmprwN7fVBJwpAAAAAFiS0dECx/XxMAAAAAySURBVBjTY2CgKVgFAYSUcTEgqeJClUHlwFWJcLEIwCU0siIV4BzmrskMCBvNDWjiMQDhxAw5ye8LaQAAAABJRU5ErkJggg==)}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--asc:hover .table-grid__sorting-settings-icon:after,body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--desc:hover .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--asc:hover .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--desc:hover .table-grid__sorting-settings-icon:after{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE5IDdINVY4SDE5VjdaIiBmaWxsPSIjNUI2MzcyIi8+CjxwYXRoIGQ9Ik0xNyAxMEg3VjExSDE3VjEwWiIgZmlsbD0iIzVCNjM3MiIvPgo8cGF0aCBkPSJNOSAxM0gxNVYxNEg5VjEzWiIgZmlsbD0iIzVCNjM3MiIvPgo8cGF0aCBkPSJNMTMgMTZIMTFWMTdIMTNWMTZaIiBmaWxsPSIjNUI2MzcyIi8+Cjwvc3ZnPgo=)}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--asc .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--asc .table-grid__sorting-settings-icon:after{content:"";background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAIVBMVEUAAABVVVVgYHVaY3NYYHBbYnFbZHJcZHJbY3JbY3L///8+n+SvAAAACXRSTlMAAxgfIEZrwN7K99ocAAAAAWJLR0QKaND0VgAAADFJREFUGNNjYKApmAkBhJSZO3DCVTF3tiAkNDIzFOAcUU5WAYRZnMgGoHNmYpehHgAAbUUKxkfTjB4AAAAASUVORK5CYII=)}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--desc .table-grid__sorting-settings-icon:after,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--desc .table-grid__sorting-settings-icon:after{content:"";background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAJFBMVEUAAABVVVVgYHVYYHBbYnFbY3FbZHJcZHJbY3JbY3JbY3L///8jVOI/AAAACnRSTlMAAxggRmprwN7fVBJwpAAAAAFiS0dECx/XxMAAAAAySURBVBjTY2CgKVgFAYSUcTEgqeJClUHlwFWJcLEIwCU0siIV4BzmrskMCBvNDWjiMQDhxAw5ye8LaQAAAABJRU5ErkJggg==)}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--asc.table-grid__cell--sorted-inactive .table-grid__icon--sorted,body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--asc.table-grid__cell--sorted-inactive .table-grid__sorting-settings-icon,body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--desc.table-grid__cell--sorted-inactive .table-grid__icon--sorted,body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--desc.table-grid__cell--sorted-inactive .table-grid__sorting-settings-icon,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--asc.table-grid__cell--sorted-inactive .table-grid__icon--sorted,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--asc.table-grid__cell--sorted-inactive .table-grid__sorting-settings-icon,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--desc.table-grid__cell--sorted-inactive .table-grid__icon--sorted,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--default-sorted--desc.table-grid__cell--sorted-inactive .table-grid__sorting-settings-icon{display:none}body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--asc.table-grid__cell--sorted-inactive .table-grid__icon--sorted:hover,body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--asc.table-grid__cell--sorted-inactive .table-grid__sorting-settings-icon:hover,body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--desc.table-grid__cell--sorted-inactive .table-grid__icon--sorted:hover,body .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--desc.table-grid__cell--sorted-inactive .table-grid__sorting-settings-icon:hover,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--asc.table-grid__cell--sorted-inactive .table-grid__icon--sorted:hover,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--asc.table-grid__cell--sorted-inactive .table-grid__sorting-settings-icon:hover,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--desc.table-grid__cell--sorted-inactive .table-grid__icon--sorted:hover,div#idk .sisense-pivot__multi-grid .table-grid__cell--sorted.table-grid__cell--sorted--desc.table-grid__cell--sorted-inactive .table-grid__sorting-settings-icon:hover{background-color:inherit;border-radius:inherit;pointer-events:none}body .sisense-pivot__multi-grid .table-grid__cell--user-type-measureTop,div#idk .sisense-pivot__multi-grid .table-grid__cell--user-type-measureTop{text-align:center}@supports (-ms-ime-align: auto){body .sisense-pivot__multi-grid .scroll-elem>div:first-child,div#idk .sisense-pivot__multi-grid .scroll-elem>div:first-child{overflow:auto!important}}body .sisense-pivot__multi-grid .sisense-pivot__data-bar,div#idk .sisense-pivot__multi-grid .sisense-pivot__data-bar{padding:0 8px}body .sisense-pivot__multi-grid .sisense-pivot__data-bar-bar,div#idk .sisense-pivot__multi-grid .sisense-pivot__data-bar-bar{background:#34cee6}body .sisense-css-module .pivot-container,div#idk .sisense-css-module .pivot-container{overflow:hidden}body .sisense-css-module .pivot-container ::-webkit-scrollbar,div#idk .sisense-css-module .pivot-container ::-webkit-scrollbar{width:initial;height:initial}body .print-layout .table-grid__cell--sorted .table-grid__cell-corner,div#idk .print-layout .table-grid__cell--sorted .table-grid__cell-corner{display:none}body .print-layout .sisense-pivot--sorting-by-subtotals .table-grid__cell--sorted .table-grid__cell-corner,div#idk .print-layout .sisense-pivot--sorting-by-subtotals .table-grid__cell--sorted .table-grid__cell-corner{display:block}body .print-layout .table-grid__cell--sorted .table-grid__content,div#idk .print-layout .table-grid__cell--sorted .table-grid__content{padding:2px 8px 3px}body .print-layout .table-grid__content__wrapper,div#idk .print-layout .table-grid__content__wrapper{overflow:hidden;width:100%;text-overflow:ellipsis;position:relative;display:block;min-width:8px}body .widget-to-image .scroll-elem__horizontal-track,body .widget-to-image .scroll-elem__vertical-track,div#idk .widget-to-image .scroll-elem__horizontal-track,div#idk .widget-to-image .scroll-elem__vertical-track{display:none}body .widget-to-image .table-grid__content__wrapper,div#idk .widget-to-image .table-grid__content__wrapper{text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}.subtotals-menu__host{width:254px;height:346px;background-color:#fff;border-radius:4px;box-shadow:0 0 5px #3a435633}.subtotals-menu__host .menu-item-host .menu-content{width:100%;max-width:100%;min-width:100%;border:none;box-shadow:none}.subtotals-menu__host .menu-item-host .menu-content .menu-item{width:100%;max-width:100%;min-width:100%;margin:1px 0;height:auto;min-height:29px}.subtotals-menu__host .menu-item-host .menu-content .menu-item .mi-icon{margin-left:12px}.subtotals-menu__host .menu-item-host .menu-content .menu-item .mi-caption__auto{margin-left:16px}.subtotals-menu__host .menu-item-host .menu-content .menu-item .menu-item-container{flex-flow:row wrap}.subtotals-menu__host .menu-item-host .menu-content .menu-item .break{flex-basis:100%;width:0px;height:0px;overflow:hidden}.subtotals-menu__host .menu-item-host .menu-content .menu-item.mi-separator{min-height:1px;margin:6px 0}.subtotals-menu__host .menu-item-host .menu-content .menu-item .mi-checker{margin:0 15px 0 0}.subtotals-menu__host .subtotals-menu__item-distinct{display:flex;justify-content:space-between;margin:7px 15px 7px 21px}.subtotals-menu__header{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:42px;background-color:#f4f4f8;border-radius:4px 4px 0 0;font-size:13px;font-weight:600;padding:12px 13px 12px 16px;line-height:18px;margin-bottom:7px}.subtotals-menu__header-tooltip .info{margin-left:0}.subtotals-menu__header-tooltip .info:hover{background-color:#dee1e7;border-radius:50%}.subtotals-menu__actions{margin-top:6px;padding:16px;display:flex;justify-content:flex-end;border-top:1px solid #edeef1}.subtotals-menu__actions button.btn{margin-left:8px}.totals-tooltip-host{width:433px;height:200px}.totals-tooltip__container{font-size:13px;margin:4px 8px;line-height:19px}:export{loginDarkColor:#2c3342;darkBtnHoverColor:#f4f4f8;greyHoverColor:#dee1e7;defaultBackgroundColor:#fff}:where(.sis-scope) html,:where(.sis-scope) body,:where(.sis-scope) applet,:where(.sis-scope) object,:where(.sis-scope) iframe,:where(.sis-scope) h1,:where(.sis-scope) h2,:where(.sis-scope) h3,:where(.sis-scope) h4,:where(.sis-scope) h5,:where(.sis-scope) h6,:where(.sis-scope) p,:where(.sis-scope) blockquote,:where(.sis-scope) pre,:where(.sis-scope) a,:where(.sis-scope) abbr,:where(.sis-scope) acronym,:where(.sis-scope) address,:where(.sis-scope) big,:where(.sis-scope) cite,:where(.sis-scope) code,:where(.sis-scope) del,:where(.sis-scope) dfn,:where(.sis-scope) em,:where(.sis-scope) img,:where(.sis-scope) ins,:where(.sis-scope) kbd,:where(.sis-scope) q,:where(.sis-scope) s,:where(.sis-scope) samp,:where(.sis-scope) small,:where(.sis-scope) strike,:where(.sis-scope) strong,:where(.sis-scope) sub,:where(.sis-scope) sup,:where(.sis-scope) tt,:where(.sis-scope) var,:where(.sis-scope) b,:where(.sis-scope) u,:where(.sis-scope) i,:where(.sis-scope) center,:where(.sis-scope) dl,:where(.sis-scope) dt,:where(.sis-scope) dd,:where(.sis-scope) ol,:where(.sis-scope) ul,:where(.sis-scope) li,:where(.sis-scope) fieldset,:where(.sis-scope) form,:where(.sis-scope) label,:where(.sis-scope) legend,:where(.sis-scope) table,:where(.sis-scope) caption,:where(.sis-scope) article,:where(.sis-scope) aside,:where(.sis-scope) canvas,:where(.sis-scope) details,:where(.sis-scope) embed,:where(.sis-scope) figure,:where(.sis-scope) figcaption,:where(.sis-scope) footer,:where(.sis-scope) header,:where(.sis-scope) hgroup,:where(.sis-scope) menu,:where(.sis-scope) nav,:where(.sis-scope) output,:where(.sis-scope) ruby,:where(.sis-scope) section,:where(.sis-scope) summary,:where(.sis-scope) time,:where(.sis-scope) mark,:where(.sis-scope) audio,:where(.sis-scope) video{margin:0;padding:0;vertical-align:baseline;border:0;outline:none}:where(.sis-scope) article,:where(.sis-scope) aside,:where(.sis-scope) details,:where(.sis-scope) figcaption,:where(.sis-scope) figure,:where(.sis-scope) footer,:where(.sis-scope) header,:where(.sis-scope) hgroup,:where(.sis-scope) menu,:where(.sis-scope) nav,:where(.sis-scope) section{display:block}:where(.sis-scope) body{margin:0}:where(.sis-scope) ol,:where(.sis-scope) ul{list-style:none}:where(.sis-scope) blockquote,:where(.sis-scope) q{quotes:none}:where(.sis-scope) blockquote:before,:where(.sis-scope) blockquote:after{content:none}:where(.sis-scope) q:before,:where(.sis-scope) q:after{content:none}:where(.sis-scope) table{border-spacing:0;border-collapse:collapse}:where(.sis-scope) textarea,:where(.sis-scope) select{outline:none}.sis-scope{font-size:13px;line-height:normal;cursor:default;padding:0;margin:0;background:inherit;font-family:Open Sans;color:#5b6372}.sis-scope .btn{background-color:#ffcb05;color:#3a4356}.sis-scope *,.sis-scope *:before,.sis-scope *:after{box-sizing:border-box}.sis-scope ::-webkit-input-placeholder{opacity:1}.sis-scope ::-moz-placeholder{opacity:1}.sis-scope ::-ms-placeholder{opacity:1}.sis-scope ::placeholder{opacity:1}.sis-scope .app-icon{position:relative;display:inline-block;vertical-align:middle;width:24px;height:24px;box-sizing:content-box;text-align:left}.sis-scope .app-icon:after{content:"";position:absolute;top:0;left:0;display:block;width:100%;height:100%}.sis-scope .app-icon__svg{position:relative;display:block;width:100%;height:100%}.sis-scope .app-icon--build-failed .app-icon__svg,.sis-scope .app-icon--build-stopped .app-icon__svg,.sis-scope .app-icon--build-exlamation-mark-error-cancel .app-icon__svg,.sis-scope .app-icon--general-relationship-error .app-icon__svg,.sis-scope .app-icon--placeholder-mark-x .app-icon__svg{fill:#fa5656}.sis-scope .app-icon--placeholder-mark-info .app-icon__svg,.sis-scope .app-icon--build-vi-apply-aprrove .app-icon__svg,.sis-scope .app-icon--general-status-running .app-icon__svg{fill:#35d7be}.sis-scope .app-icon--general-x-sign .app-icon__svg,.sis-scope .app-icon--general-vi-sign .app-icon__svg{fill:transparent}.sis-scope .app-icon--general-status-pending,.sis-scope .app-icon--general-status-running{color:#d1d1d7}.sis-scope .app-icon--general-relationship-tool-tip{width:36px}.sis-scope .app-icon--header-pulse{width:28px}.sis-scope .app-icon--general-update,.sis-scope .app-icon--popup-interval-selected,.sis-scope .app-icon--popup-week-selected,.sis-scope .app-icon--popup-disable-selected{width:50px;height:50px}.sis-scope .app-icon--general-yellow-round-add{width:27px;height:27px}.sis-scope .app-icon--general-sampling-sample-big,.sis-scope .app-icon--general-sampling-top-big,.sis-scope .app-icon--general-sampling-bottom-big{width:35px;height:35px}.sis-scope .app-icon--general-drag-edit-relation,.sis-scope .app-icon--general-drag-new-relation,.sis-scope .app-icon--general-drag{width:36px;height:36px}.sis-scope .app-icon--popup-public-selected{width:49px;height:42px}.sis-scope .app-icon--header-git,.sis-scope .app-icon--general-git-add-branch,.sis-scope .app-icon--header-git .app-icon__svg,.sis-scope .app-icon--general-git-add-branch .app-icon__svg{fill:none}.sis-scope .app-icon--header-git,.sis-scope .app-icon--header-alarm,.sis-scope .app-icon--header-user,.sis-scope .app-icon--header-user-filled{width:30px;height:30px}.sis-scope .app-icon--general-git-add-branch{width:18px;height:18px}.sis-scope .app-icon--popup-lshare-selected,.sis-scope .app-icon--popup-lock-selected,.sis-scope .app-icon--hint-question-mark,.sis-scope .app-icon--hint-x{width:42px;height:42px}.sis-scope .app-icon--resource-guide,.sis-scope .app-icon--resource-help,.sis-scope .app-icon--resource-learn{width:26px;height:37px}.sis-scope .app-icon--schema-arrow-close-left,.sis-scope .app-icon--schema-arrow-close-right,.sis-scope .app-icon--schema-version-history,.sis-scope .app-icon--schema-compass{width:26px;height:26px}.sis-scope .app-icon--wizard-add-folder,.sis-scope .app-icon--wizard-connect,.sis-scope .app-icon--wizard-database,.sis-scope .app-icon--wizard-files,.sis-scope .app-icon--wizard-new-page,.sis-scope .app-icon--wizard-recent,.sis-scope .app-icon--wizard-recent-circle,.sis-scope .app-icon--wizard-rest,.sis-scope .app-icon--wizard-view,.sis-scope .app-icon--wizard-web,.sis-scope .app-icon--wizard-certified{width:35px;height:35px}.sis-scope .app-icon--nodes-delete,.sis-scope .app-icon--nodes-rename,.sis-scope .app-icon--nodes-edit,.sis-scope .app-icon--nodes-more,.sis-scope .app-icon--nodes-preview,.sis-scope .app-icon--nodes-ignored,.sis-scope .app-icon--nodes-accumulated,.sis-scope .app-icon--nodes-accumulated-2{width:37px;height:37px}.sis-scope .app-icon--placeholder-database,.sis-scope .app-icon--placeholder-database-x,.sis-scope .app-icon--placeholder-connection,.sis-scope .app-icon--placeholder-git-graph,.sis-scope .app-icon--placeholder-parameters,.sis-scope .app-icon--placeholder-search-x,.sis-scope .app-icon--placeholder-search,.sis-scope .app-icon--placeholder-table,.sis-scope .app-icon--placeholder-table-x,.sis-scope .app-icon--placeholder-table-init,.sis-scope .app-icon--placeholder-tools,.sis-scope .app-icon--placeholder-preview,.sis-scope .app-icon--placeholder-database-plus-black-white,.sis-scope .app-icon--placeholder-preview-inspect-black-white,.sis-scope .app-icon--placeholder-preview-plus-black-white,.sis-scope .app-icon--placeholder-generate-token,.sis-scope .app-icon--placeholder-key,.sis-scope .app-icon--placeholder-presentation{width:110px;height:110px}.sis-scope .app-icon--placeholder-filter{width:110px;height:130px}.sis-scope .app-icon--placeholder-sheet{width:89px;height:93px}.sis-scope .app-icon--placeholder-mark-info,.sis-scope .app-icon--placeholder-mark-exclamation,.sis-scope .app-icon--placeholder-mark-vi,.sis-scope .app-icon--placeholder-mark-x{width:66px;height:66px}.sis-scope .app-icon--placeholder-place-file,.sis-scope .app-icon--placeholder-place-text-add{width:120px;height:70px}.sis-scope .app-icon--illustration-build-succeeded,.sis-scope .app-icon--illustration-build-failed{width:225px;height:210px}.sis-scope .app-icon--homepages-video,.sis-scope .app-icon--homepages-tutorials,.sis-scope .app-icon--homepages-documentation,.sis-scope .app-icon--homepages-sample{width:65px;height:56px}.sis-scope .app-icon--homepages-play{width:61px;height:61px}.sis-scope .app-icon--widget-area-chart,.sis-scope .app-icon--widget-area-map,.sis-scope .app-icon--widget-bar-chart,.sis-scope .app-icon--widget-box-whisker-plot,.sis-scope .app-icon--widget-calendar-heatmap,.sis-scope .app-icon--widget-column-char,.sis-scope .app-icon--widget-indicator,.sis-scope .app-icon--widget-line-chart,.sis-scope .app-icon--widget-pie-chart,.sis-scope .app-icon--widget-pivot,.sis-scope .app-icon--widget-polar-chart,.sis-scope .app-icon--widget-scatter-chart,.sis-scope .app-icon--widget-scatter-map,.sis-scope .app-icon--widget-sunburst,.sis-scope .app-icon--widget-table,.sis-scope .app-icon--widget-treemap,.sis-scope .app-icon--widget-no-sort{width:26px;height:26px}.sis-scope .app-icon--buildpanel-replace-all,.sis-scope .app-icon--buildpanel-by-table,.sis-scope .app-icon--buildpanel-changes-only{width:64px;height:64px}.sis-scope .app-icon--ai-group-similar-big{width:88px;height:83px}.sis-scope :export{loginDarkColor:#2c3342;darkBtnHoverColor:#f4f4f8;greyHoverColor:#dee1e7;defaultBackgroundColor:#fff}.sis-scope .btn{opacity:1;font-family:inherit;font-style:normal;font-size:13px;line-height:24px;display:inline-block;box-sizing:border-box;margin:0;padding:0;cursor:pointer;transition:all .3s ease;vertical-align:middle;text-decoration:none;border:0;border-radius:4px;outline:none;white-space:nowrap;appearance:none}.sis-scope .btn .btn__icon{display:inline-block;padding-left:9px}.sis-scope .btn .btn__icon+.btn__text{vertical-align:middle;margin-left:-3px;padding-left:0;padding-right:13px;max-width:calc(100% - 24px)}.sis-scope .btn:hover{text-decoration:none;opacity:1}.sis-scope .btn:focus{outline:none}.sis-scope .btn::-moz-focus-inner{border:0}.sis-scope .btn.btn--disabled,.sis-scope .btn[disabled=disabled]{cursor:default;opacity:.4}.sis-scope .btn__text{position:relative;display:inline-block;vertical-align:top;padding:2px 20px;max-width:100%}.sis-scope .btn__icon{display:inline-block;padding:0}.sis-scope .btn--warning,.sis-scope .btn--warning:hover{opacity:1}.sis-scope .btn--warning.btn--disabled,.sis-scope .btn--warning[disabled=disabled]{opacity:.4}.sis-scope .btn--danger{background:#edeef1;opacity:1}.sis-scope .btn--danger:hover{color:#fff;background:#fa5656;opacity:1}.sis-scope .btn--danger.btn--disabled,.sis-scope .btn--danger[disabled=disabled]{color:#5b6372;background:#edeef1;opacity:.6}.sis-scope .btn--transp{color:#9ea2ab;background:none;opacity:1;line-height:1}.sis-scope .btn--transp:hover{background:none;opacity:1}.sis-scope .btn--transp.btn--disabled,.sis-scope .btn--transp[disabled=disabled]{background:none;opacity:.4}.sis-scope .btn--transp .btn__icon{padding-left:0}.sis-scope .btn--transp .btn__text,.sis-scope .btn--transp .btn__icon+.btn__text{padding-left:0;padding-right:0}.sis-scope .btn--gray,.sis-scope .btn--smart,.sis-scope .btn--gray:hover,.sis-scope .btn--smart:hover{opacity:1}.sis-scope .btn--gray.btn--disabled,.sis-scope .btn--gray[disabled=disabled],.sis-scope .btn--smart.btn--disabled,.sis-scope .btn--smart[disabled=disabled]{opacity:.6}.sis-scope .btn--white{background:#fff;opacity:1}.sis-scope .btn--white:hover{background:#f2b900;opacity:1}.sis-scope .btn--white.btn--disabled,.sis-scope .btn--white[disabled=disabled]{background:#fff;opacity:.6}.sis-scope .btn--icon .btn__text{display:none}.sis-scope .btn--icon .btn__icon{padding-left:5px;padding-right:5px}.sis-scope .btn--icon.btn--transp .btn__icon,.sis-scope .btn--icon.btn--dark .btn__icon{padding-left:0;padding-right:0}.sis-scope .btn--limited .btn__text{white-space:normal}.sis-scope .btns-holder{display:flex;align-items:center}.sis-scope .btns-holder>*{margin:0 5px}.sis-scope .btns-holder>*:first-child{margin-left:0}.sis-scope .btns-holder>*:last-child{margin-right:0}.sis-scope .btns-holder .btn--offset-ml{margin-left:15px}.sis-scope .btns-holder .btn:not(.btn--transp)+.btn--transp{margin-left:15px}.sis-scope .btns-holder .btn--transp+.btn:not(.btn--transp){margin-left:15px}.sis-scope .btn-icon-link{display:inline-block;vertical-align:middle;margin:0;padding:0;background:none;border:none;outline:none;font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;color:inherit;cursor:pointer}.sis-scope .btn-icon-link:hover .btn-icon-link__icon.btn,.sis-scope .btn-icon-link:hover .btn-icon-link__icon.btn--warning{opacity:1}.sis-scope .btn-icon-link:hover .btn-icon-link__icon.btn--danger{color:#fff;background:#fa5656;opacity:1}.sis-scope .btn-icon-link:hover .btn-icon-link__icon.btn--transp{background:none;opacity:1}.sis-scope .btn-icon-link:hover .btn-icon-link__icon.btn--gray,.sis-scope .btn-icon-link:hover .btn-icon-link__icon.btn--smart{opacity:1}.sis-scope .btn-icon-link:hover .btn-icon-link__icon.btn--white{background:#f2b900;opacity:1}.sis-scope .btn-icon-link:hover .btn-icon-link__icon.confirm-btn{opacity:1}.sis-scope .btn-icon-link:hover .btn-icon-link__icon.confirm-btn.confirm-btn--apply{color:#fff;background:#35d7be;border-color:#35d7be}.sis-scope .btn-icon-link:hover .btn-icon-link__icon.confirm-btn.confirm-btn--cancel{color:#fff;background:#fa5656;border-color:#fa5656}.sis-scope .btn-icon-link.btn-icon-link--disabled,.sis-scope .btn-icon-link[disabled=disabled],.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon{cursor:default}.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.btn,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.btn,.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.btn--warning,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.btn--warning{opacity:.4}.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.btn--danger,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.btn--danger{color:#5b6372;background:#edeef1;opacity:.6}.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.btn--transp,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.btn--transp{background:none;opacity:.4}.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.btn--gray,.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.btn--smart,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.btn--gray,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.btn--smart{opacity:.6}.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.btn--white,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.btn--white{background:#fff;opacity:.6}.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.confirm-btn,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.confirm-btn{opacity:.4}.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.confirm-btn.confirm-btn--apply,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.confirm-btn.confirm-btn--apply{color:#35d7be;background:rgba(53,215,190,0);border-color:#35d7be}.sis-scope .btn-icon-link.btn-icon-link--disabled .btn-icon-link__icon.confirm-btn.confirm-btn--cancel,.sis-scope .btn-icon-link[disabled=disabled] .btn-icon-link__icon.confirm-btn.confirm-btn--cancel{color:#fa5656;background:rgba(250,86,86,0);border-color:#fa5656}.sis-scope .btn-icon-link__icon{width:28px;margin-right:5px;border-radius:50%}.sis-scope .btn-icon-link__icon .btn__icon{vertical-align:top;padding:1px 0}.sis-scope .btn-icon-link__icon .btn__icon.app-icon--general-plus{padding-left:2px}.sis-scope .btn-icon-link__text{display:inline-block;vertical-align:middle}.sis-scope .btn--more:hover .btn__text{margin-left:-9px}.sis-scope .btn--more:hover .btn__icon{width:10px}.sis-scope .btn--more.btn--danger:hover .btn__icon,.sis-scope .btn--more.btn--danger:hover .btn__icon:before{border-color:#fff}.sis-scope .btn--more.btn--more-open .btn__text{margin-left:-9px}.sis-scope .btn--more.btn--more-open .btn__icon{width:10px}.sis-scope .btn--more .btn__text{position:relative;margin-left:0;padding-right:5px;transition:margin-left .3s linear}.sis-scope .btn--more .btn__icon{position:relative;top:2px;width:1px;height:9px;margin:0 10px 0 0;padding:0;border:solid 1px #3a4356;border-width:1px 0 1px 0;transition:width .3s linear,border-color .3s}.sis-scope .btn--more .btn__icon:before{content:"";position:absolute;left:0;top:3px;width:100%;height:1px;border-bottom:solid 1px #3a4356;transition:border-color .3s}.sis-scope .confirm-btns{display:flex;font-size:0}.sis-scope .confirm-btns .confirm-btn{opacity:1;padding:0;width:17px;height:17px;margin:0 4px;font-size:0;line-height:15px;text-align:center;border:solid 1px transparent;border-radius:50%}.sis-scope .confirm-btns .confirm-btn.confirm-btn--apply{color:#35d7be;background:rgba(53,215,190,0);border-color:#35d7be}.sis-scope .confirm-btns .confirm-btn.confirm-btn--cancel{color:#fa5656;background:rgba(250,86,86,0);border-color:#fa5656}.sis-scope .confirm-btns .confirm-btn:hover{opacity:1}.sis-scope .confirm-btns .confirm-btn:hover.confirm-btn--apply{color:#fff;background:#35d7be;border-color:#35d7be}.sis-scope .confirm-btns .confirm-btn:hover.confirm-btn--cancel{color:#fff;background:#fa5656;border-color:#fa5656}.sis-scope .confirm-btns .confirm-btn.btn--disabled,.sis-scope .confirm-btns .confirm-btn[disabled=disabled]{cursor:default;opacity:.4}.sis-scope .confirm-btns .confirm-btn.btn--disabled.confirm-btn--apply,.sis-scope .confirm-btns .confirm-btn[disabled=disabled].confirm-btn--apply{color:#35d7be;background:rgba(53,215,190,0);border-color:#35d7be}.sis-scope .confirm-btns .confirm-btn.btn--disabled.confirm-btn--cancel,.sis-scope .confirm-btns .confirm-btn[disabled=disabled].confirm-btn--cancel{color:#fa5656;background:rgba(250,86,86,0);border-color:#fa5656}.sis-scope .confirm-btns .confirm-btn .btn__icon{width:9px;height:9px;margin:3px;padding:0}.sis-scope .btn--dark{background:none;color:#5b6372;border-radius:4px;padding:0;transition:unset;line-height:1}.sis-scope .btn--dark .btn__text{padding:0}.sis-scope .btn--dark.btn--icon{display:flex;align-items:center;justify-content:center;height:28px;width:28px;padding:0;border-radius:50%}.sis-scope .btn--dark.btn--icon.btn--small{height:24px;width:24px}.sis-scope .btn--dark:hover{background-color:#f4f4f8;color:inherit}.sis-scope .btn--dark:hover.btn--on-grey{background-color:#dee1e7}.sis-scope .btn--dark:hover.btn--no-hover{background:none}.sis-scope .btn--dark.btn--disabled,.sis-scope .btn--dark[disabled=disabled]{cursor:default;background:none;opacity:.4}@keyframes _rcToolTipZoomIn_1947o_1{0%{opacity:0;transform-origin:50% 50%;transform:scale(0)}to{opacity:1;transform-origin:50% 50%;transform:scale(1)}}@keyframes _rcToolTipZoomOut_1947o_1{0%{opacity:1;transform-origin:50% 50%;transform:scale(1)}to{opacity:0;transform-origin:50% 50%;transform:scale(0)}}.rc-tooltip-inner{padding:6px 12px;min-height:0;border:0;border-radius:4px;pointer-events:none;color:red;font-size:14px}.rc-tooltip-arrow{border-width:0!important;width:8px;height:8px;background-color:#000;z-index:-1;transform:rotate(45deg)}.rc-tooltip-content:before{content:"";position:absolute;width:8px;height:8px;background-color:#000;transform:rotate(45deg)}._breakLongWord_1947o_272{word-break:break-all}._popover_wakdx_1 .rc-tooltip-inner{pointer-events:auto;overflow:hidden}._popoverMask_wakdx_6{position:absolute;width:100%;top:0;bottom:0}.rc-tooltip.rc-tooltip-zoom-appear,.rc-tooltip.rc-tooltip-zoom-enter{opacity:0}.rc-tooltip.rc-tooltip-zoom-enter,.rc-tooltip.rc-tooltip-zoom-leave{display:block}.rc-tooltip-zoom-enter,.rc-tooltip-zoom-appear{opacity:0;animation-duration:.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.18,.89,.32,1.28);animation-play-state:paused}.rc-tooltip-zoom-leave{animation-duration:.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.6,-.3,.74,.05);animation-play-state:paused}.rc-tooltip-zoom-enter.rc-tooltip-zoom-enter-active,.rc-tooltip-zoom-appear.rc-tooltip-zoom-appear-active{animation-name:rcToolTipZoomIn;animation-play-state:running}.rc-tooltip-zoom-leave.rc-tooltip-zoom-leave-active{animation-name:rcToolTipZoomOut;animation-play-state:running}@keyframes _rcToolTipZoomIn_1dxah_1{0%{opacity:0;transform-origin:50% 50%;transform:scale(0)}to{opacity:1;transform-origin:50% 50%;transform:scale(1)}}@keyframes _rcToolTipZoomOut_1dxah_1{0%{opacity:1;transform-origin:50% 50%;transform:scale(1)}to{opacity:0;transform-origin:50% 50%;transform:scale(0)}}.rc-tooltip{position:absolute;z-index:1070;display:block;visibility:visible;line-height:1.5;font-size:12px;background-color:#0000000d;padding:1px;opacity:.9}.rc-tooltip-hidden{display:none}.rc-tooltip-inner{padding:8px 10px;color:#333;text-align:left;text-decoration:none;background-color:#fff;border-radius:3px;min-height:34px;border:1px solid #b1b1b1}.rc-tooltip-arrow,.rc-tooltip-arrow-inner{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.rc-tooltip-placement-top .rc-tooltip-arrow,.rc-tooltip-placement-topLeft .rc-tooltip-arrow,.rc-tooltip-placement-topRight .rc-tooltip-arrow{transform:translate(-50%,5px);margin-left:-6px;border-width:6px 6px 0;border-top-color:#b1b1b1}.rc-tooltip-placement-top .rc-tooltip-arrow-inner,.rc-tooltip-placement-topLeft .rc-tooltip-arrow-inner,.rc-tooltip-placement-topRight .rc-tooltip-arrow-inner{bottom:1px;margin-left:-6px;border-width:6px 6px 0;border-top-color:#fff}.rc-tooltip-placement-top .rc-tooltip-arrow{left:50%}.rc-tooltip-placement-topLeft .rc-tooltip-arrow{left:15%}.rc-tooltip-placement-topRight .rc-tooltip-arrow{right:15%}.rc-tooltip-placement-right .rc-tooltip-arrow,.rc-tooltip-placement-rightTop .rc-tooltip-arrow,.rc-tooltip-placement-rightBottom .rc-tooltip-arrow{left:-5px;margin-top:-6px;border-width:6px 6px 6px 0;border-right-color:#b1b1b1;transform:translate(calc(-100% + 1px))}.rc-tooltip-placement-right .rc-tooltip-arrow-inner,.rc-tooltip-placement-rightTop .rc-tooltip-arrow-inner,.rc-tooltip-placement-rightBottom .rc-tooltip-arrow-inner{left:1px;margin-top:-6px;border-width:6px 6px 6px 0;border-right-color:#fff}.rc-tooltip-placement-right .rc-tooltip-arrow{top:50%}.rc-tooltip-placement-rightTop .rc-tooltip-arrow{top:15%;margin-top:0}.rc-tooltip-placement-rightBottom .rc-tooltip-arrow{bottom:15%}.rc-tooltip-placement-left .rc-tooltip-arrow,.rc-tooltip-placement-leftTop .rc-tooltip-arrow,.rc-tooltip-placement-leftBottom .rc-tooltip-arrow{right:-5px;margin-top:-6px;border-width:6px 0 6px 6px;border-left-color:#b1b1b1;transform:translate(calc(100% - 1px))}.rc-tooltip-placement-left .rc-tooltip-arrow-inner,.rc-tooltip-placement-leftTop .rc-tooltip-arrow-inner,.rc-tooltip-placement-leftBottom .rc-tooltip-arrow-inner{right:1px;margin-top:-6px;border-width:6px 0 6px 6px;border-left-color:#fff}.rc-tooltip-placement-left .rc-tooltip-arrow{top:50%}.rc-tooltip-placement-leftTop .rc-tooltip-arrow{top:15%;margin-top:0}.rc-tooltip-placement-leftBottom .rc-tooltip-arrow{bottom:15%}.rc-tooltip-placement-bottom .rc-tooltip-arrow,.rc-tooltip-placement-bottomLeft .rc-tooltip-arrow,.rc-tooltip-placement-bottomRight .rc-tooltip-arrow{transform:translate(-50%,-5px);margin-left:-6px;border-width:0 6px 6px;border-bottom-color:#b1b1b1}.rc-tooltip-placement-bottom .rc-tooltip-arrow-inner,.rc-tooltip-placement-bottomLeft .rc-tooltip-arrow-inner,.rc-tooltip-placement-bottomRight .rc-tooltip-arrow-inner{top:1px;margin-left:-6px;border-width:0 6px 6px;border-bottom-color:#fff}.rc-tooltip-placement-bottom .rc-tooltip-arrow{left:50%}.rc-tooltip-placement-bottomLeft .rc-tooltip-arrow{left:15%}.rc-tooltip-placement-bottomRight .rc-tooltip-arrow{right:15%}.rc-tooltip{padding:0;background-color:transparent;opacity:1}.rc-tooltip.hide-arrow .rc-tooltip-arrow,.rc-tooltip.hide-arrow .rc-tooltip-content:before{display:none}.rc-tooltip.hide-arrow.rc-tooltip-placement-top,.rc-tooltip.hide-arrow.rc-tooltip-placement-bottom,.rc-tooltip.hide-arrow.rc-tooltip-placement-left,.rc-tooltip.hide-arrow.rc-tooltip-placement-right,.rc-tooltip.hide-arrow .rc-tooltip-inner{padding:0}.rc-tooltip-content{position:relative}.rc-tooltip-inner{padding:6px 12px;min-height:0;border:0;border-radius:4px;box-shadow:0 -1px 5px 1px #3a435633;pointer-events:none;color:#7f899c;font-size:13px}.rc-tooltip-arrow{border-width:0!important;width:8px;height:8px;background-color:#fff;box-shadow:0 -1px 5px 1px #3a435633;z-index:-1;transform:rotate(45deg)}.rc-tooltip-content:before{content:"";position:absolute;width:8px;height:8px;background-color:#fff;transform:rotate(45deg)}.rc-tooltip-placement-top{padding-bottom:6px}.rc-tooltip-placement-top .rc-tooltip-arrow,.rc-tooltip-placement-top .rc-tooltip-content:before{left:50%;margin-left:-4px;bottom:-4px}.rc-tooltip-placement-bottom{padding-top:6px}.rc-tooltip-placement-bottom .rc-tooltip-arrow,.rc-tooltip-placement-bottom .rc-tooltip-content:before{left:50%;margin-left:-4px;top:-4px}.rc-tooltip-placement-right{padding-left:6px}.rc-tooltip-placement-right .rc-tooltip-arrow,.rc-tooltip-placement-right .rc-tooltip-content:before{top:50%;margin-top:-4px;left:-4px}.rc-tooltip-placement-left{padding-right:6px}.rc-tooltip-placement-left .rc-tooltip-arrow,.rc-tooltip-placement-left .rc-tooltip-content:before{top:50%;margin-top:-4px;right:-4px}._breakLongWord_1dxah_307{word-break:break-all}._semanticText_1dxah_311{max-width:432px}.sis-scope._tooltip_1dxah_315{padding:12px 16px}._loader_1uppi_1{display:flex;align-content:center;justify-content:center;align-items:center}._loader_1uppi_1 ._caption_1uppi_7{margin-top:50%;word-break:break-word;text-align:center}._loader_1uppi_1 ._caption_1uppi_7 span{position:unset}._clickable_19yrx_1{cursor:pointer}._disabled_19yrx_5{pointer-events:none}._sharedComponentsInputRadioButton_195lt_1{width:28px;height:28px;padding:8px}._sharedComponentsInputRadioButton_195lt_1:hover{background-color:#5b63721a;border-radius:50%}.sis-scope .custom-radiobtn__text{padding-left:4px}._disabled_195lt_15{pointer-events:none}._disabled_195lt_15 .custom-radiobtn__text{color:#5b637266}.sis-scope .custom-checkbox__icon.app-icon._transparent_i81lr_1{background:transparent!important;color:transparent}.sis-scope .custom-checkbox__input:checked+.custom-checkbox__icon._transparent_i81lr_1{color:#3a4356}.sis-scope .custom-checkbox__text{padding-left:4px}._icon_i81lr_12{margin:0 -5px 0 0;cursor:pointer}._disabled_i81lr_17{pointer-events:none}._disabled_i81lr_17 .custom-checkbox__text{color:#5b637266}._disabled_i81lr_17 .app-icon{opacity:.4}._sharedComponentsInputCheckbox_i81lr_27{width:28px;height:28px;padding:8px}._sharedComponentsInputCheckbox_i81lr_27:hover{background-color:#5b63721a;border-radius:50%}._container_v8yrt_7{min-width:128px;position:absolute;cursor:pointer;padding:0;background:#fff;box-shadow:0 0 5px #3a435633;border-radius:4px}._container_v8yrt_7 li{list-style-type:none;line-height:22px;display:flex;justify-content:flex-start;align-items:center;padding:4px 5px;position:relative;transition:background-color .3s eaSe;cursor:pointer}._container_v8yrt_7 li._disabled_v8yrt_27{opacity:.5;cursor:default}._container_v8yrt_7 li._groupHeader_v8yrt_31{pointer-events:none;font-style:italic;font-weight:600}._container_v8yrt_7 li._isDrill_v8yrt_36:hover,._container_v8yrt_7 li._isDrill_v8yrt_36.fakeHover{background-color:#f4f4f8}._container_v8yrt_7 li:hover:not(._disabled_v8yrt_27){background-color:#f4f4f8}._container_v8yrt_7 li:hover:not(._disabled_v8yrt_27):after{opacity:1}._container_v8yrt_7 li._separator_v8yrt_45{border-top:1px solid #e1e1e1}._container_v8yrt_7 li._noIcon_v8yrt_48{padding-left:16px;padding-right:16px}._container_v8yrt_7 li._item_v8yrt_52._checked_v8yrt_52:after{content:"";display:block;position:absolute;top:0;left:0;height:100%;width:2px;background-color:#3a4356}._container_v8yrt_7 li._radio_v8yrt_62{padding-left:8px;padding-right:0;line-height:22px;align-items:stretch}._container_v8yrt_7 li._checkbox_v8yrt_68{padding-left:0;padding-right:0;line-height:22px;align-items:stretch}._container_v8yrt_7 li ._icon_v8yrt_74{margin:0 10px 0 7px}._container_v8yrt_7 li ._itemType_v8yrt_77{display:flex;width:100%;margin-right:1px;white-space:nowrap}._container_v8yrt_7 li ._itemType_v8yrt_77 :last-child{margin-left:auto}._container_v8yrt_7 li ._nestedType_v8yrt_86{display:flex;width:100%}._container_v8yrt_7 li ._nestedType_v8yrt_86 ._nestedIcon_v8yrt_90{position:static!important}._container_v8yrt_7 li ._menuItemText_v8yrt_93{flex-grow:1;display:flex;align-items:center}._separateGroup_v8yrt_99{min-width:fit-content}._itemCheckBox_v8yrt_103{padding:0 5px 0 16px;width:100%}._itemRadioButton_v8yrt_108{padding:0 5px 0 8px;width:100%}._scrollbar_v8yrt_113{cursor:default}._scrollbar_v8yrt_113>div:first-child{position:relative!important}._itemContainer_v8yrt_120{display:flex;flex-grow:1}._inlineConfirmation_v8yrt_125{font-weight:600}._menuItemTooltip_v8yrt_129{max-width:180px;overflow-wrap:break-word}._menuItemTooltip_v8yrt_129.rc-tooltip-placement-left{max-width:195px;padding-right:15px}._toggleButtonMenu_v8yrt_138{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);right:10px}._loader_v8yrt_146{height:25px;position:relative;margin:0 auto;width:90%}._container_v9uof_1{min-width:245px;max-width:350px;padding:12px 18px;font-size:13px;user-select:none}._message_v9uof_9{margin-top:10px;overflow:hidden;white-space:pre-line;text-overflow:ellipsis}._buttons_v9uof_16{margin-top:19px;width:100%;text-align:right}._button_v9uof_16{height:25px;width:auto;background:transparent;outline:none;cursor:pointer;border:none}._button_v9uof_16:hover{opacity:.7}._confirm_v9uof_34{color:green;margin-right:20px}._cancel_v9uof_39{color:red}._component_lx560_8{position:relative;display:flex;align-items:center}._component_lx560_8 ._searchIcon_lx560_13._searchIcon_lx560_13{position:absolute;left:8px;z-index:1;opacity:40%}._component_lx560_8 ._searchIcon_lx560_13._searchIcon_lx560_13._large_lx560_19{top:4px}._component_lx560_8 ._clearIcon_lx560_22._clearIcon_lx560_22{width:15px;height:15px;position:absolute;top:3px;right:4px;border-radius:20px;padding:4px}._component_lx560_8 ._clearIcon_lx560_22._clearIcon_lx560_22:hover{background-color:#d1d1d7}._component_lx560_8 ._clearIcon_lx560_22._clearIcon_lx560_22._clearIconHidden_lx560_34{display:none}._component_lx560_8 ._clearIcon_lx560_22._clearIcon_lx560_22._large_lx560_19{width:15px;height:15px;top:4px;padding:5px}._component_lx560_8 ._passwordVisibilityIcon_lx560_43._passwordVisibilityIcon_lx560_43{width:24px;height:24px;position:absolute;right:8px}._component_lx560_8 ._passwordVisibilityIcon_lx560_43._passwordVisibilityIcon_lx560_43._large_lx560_19{width:24px;height:24px;top:5px}._component_lx560_8 ._customIcon_lx560_54{position:absolute;top:3px;right:4px}._component_lx560_8 ._customIcon_lx560_54._isLeft_lx560_59{right:0;left:8px}._component_lx560_8 ._customIcon_lx560_54._large_lx560_19{top:5px}._component_lx560_8 ._input_lx560_66{border-radius:4px;outline:none;background:#f4f4f8;line-height:28px;height:28px;border:none;text-indent:8px;width:100%}._component_lx560_8 ._input_lx560_66._withLeftIcon_lx560_76{text-indent:32px}._component_lx560_8 ._input_lx560_66::placeholder{color:#b0b5bf}._component_lx560_8 ._input_lx560_66:focus{border:1px solid #5b6372}._component_lx560_8 ._input_lx560_66._large_lx560_19{height:34px;line-height:34px}._component_lx560_8 ._input_lx560_66::-ms-reveal{display:none}.sis-scope ._component_lx560_8{position:relative;display:flex;align-items:center}.sis-scope ._component_lx560_8 ._searchIcon_lx560_13._searchIcon_lx560_13{position:absolute;left:8px;z-index:1;opacity:40%}.sis-scope ._component_lx560_8 ._searchIcon_lx560_13._searchIcon_lx560_13._large_lx560_19{top:4px}.sis-scope ._component_lx560_8 ._clearIcon_lx560_22._clearIcon_lx560_22{width:15px;height:15px;position:absolute;top:3px;right:4px;border-radius:20px;padding:4px}.sis-scope ._component_lx560_8 ._clearIcon_lx560_22._clearIcon_lx560_22:hover{background-color:#d1d1d7}.sis-scope ._component_lx560_8 ._clearIcon_lx560_22._clearIcon_lx560_22._clearIconHidden_lx560_34{display:none}.sis-scope ._component_lx560_8 ._clearIcon_lx560_22._clearIcon_lx560_22._large_lx560_19{width:15px;height:15px;top:4px;padding:5px}.sis-scope ._component_lx560_8 ._passwordVisibilityIcon_lx560_43._passwordVisibilityIcon_lx560_43{width:24px;height:24px;position:absolute;right:8px}.sis-scope ._component_lx560_8 ._passwordVisibilityIcon_lx560_43._passwordVisibilityIcon_lx560_43._large_lx560_19{width:24px;height:24px;top:5px}.sis-scope ._component_lx560_8 ._customIcon_lx560_54{position:absolute;top:3px;right:4px}.sis-scope ._component_lx560_8 ._customIcon_lx560_54._isLeft_lx560_59{right:0;left:8px}.sis-scope ._component_lx560_8 ._customIcon_lx560_54._large_lx560_19{top:5px}.sis-scope ._component_lx560_8 ._input_lx560_66{border-radius:4px;outline:none;background:#f4f4f8;line-height:28px;height:28px;border:none;text-indent:8px;width:100%}.sis-scope ._component_lx560_8 ._input_lx560_66._withLeftIcon_lx560_76{text-indent:32px}.sis-scope ._component_lx560_8 ._input_lx560_66::placeholder{color:#b0b5bf}.sis-scope ._component_lx560_8 ._input_lx560_66:focus{border:1px solid #5b6372}.sis-scope ._component_lx560_8 ._input_lx560_66._large_lx560_19{height:34px;line-height:34px}.sis-scope ._component_lx560_8 ._input_lx560_66::-ms-reveal{display:none}._searchInputWrapper_otzmq_1 div{background:#f4f4f8;border-radius:4px;border:1px solid #5b6372}._searchInputWrapper_otzmq_1 div span{margin-left:-6px;z-index:1071!important}._searchInputWrapper_otzmq_1 div input{position:relative;z-index:1070;background:transparent;text-indent:0;border:none!important}._dropdownButton_xulrt_21{display:inline-flex;align-items:center;cursor:pointer;background:#f4f4f8;border-radius:4px;height:28px;min-width:192px}._dropdownButton_xulrt_21._inlineVariant_xulrt_30{background:none;height:18px;border:none;text-indent:0;min-width:initial}._dropdownButton_xulrt_21._inlineVariant_xulrt_30._open_xulrt_37{border:none}._dropdownButton_xulrt_21._open_xulrt_37{border:1px solid #5b6372}._dropdownButton_xulrt_21._disabled_xulrt_43{color:#bdc1c7;background:#f4f4f8;pointer-events:none}._dropdownButton_xulrt_21 ._selectedIcon_xulrt_48{flex-shrink:0}._dropdownButton_xulrt_21 ._chosenTitle_xulrt_51{margin-left:12px;flex-grow:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._dropdownButton_xulrt_21 ._clickIcon_xulrt_58{flex-shrink:0;margin-right:2px}._menu_1lxhu_1{margin:0;position:initial;box-shadow:none}._menu_1lxhu_1 li{padding:0 5px;height:28px}.sis-scope .btn--dark .btn__text{padding:5px 20px}.sis-scope .btn--gray{background:#f4f4f8}.sis-scope .btn--gray:disabled{background:#f4f4f8;opacity:1}.sis-scope .btn--gray:disabled:hover{background:#d1d1d7}.sis-scope .btn--gray:disabled .app-icon,.sis-scope .btn--gray:disabled .btn__text{opacity:.4}.sis-scope ._sharedComponentsButton_t1p0l_31{line-height:18px}.sis-scope ._sharedComponentsButtonText_t1p0l_34{padding:5px 20px}.sis-scope .btn._btnSecondary_t1p0l_37{border:1px solid #5b6372;background-color:#fff}.sis-scope .btn._btnSecondary_t1p0l_37:hover{background-color:#f4f4f8}.sis-scope .btn._btnSecondary_t1p0l_37:disabled{background-color:#fff}.sis-scope .btn._btnSecondary_t1p0l_37:disabled:hover{background-color:#fff}._item_fvqjc_1{margin-bottom:12px;cursor:pointer;height:18px;user-select:none}._item_fvqjc_1:last-child{margin-bottom:0}._item_fvqjc_1 ._icon_fvqjc_10{margin-top:-3px}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();var Uq=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function s(g){try{l(r.next(g))}catch(b){a(b)}}function c(g){try{l(r.throw(g))}catch(b){a(b)}}function l(g){g.done?o(g.value):i(g.value).then(s,c)}l((r=r.apply(e,t||[])).next())})};const xCt=2e4,kD="Unspecified reason";class wCt{constructor(t,n=new xce(t),r){SCt(t),this.queryApi=new _ot(t),this.taskManager=new vot(this.queryApi,n),this.shouldSkipHighlightsWithoutAttributes=r??!1}executeQuery(t,n){Vq(t);const r=new wH("SEND_JAQL_QUERY",t,Object.assign(Object.assign({},n||{}),{shouldSkipHighlightsWithoutAttributes:this.shouldSkipHighlightsWithoutAttributes||!1}));return{resultPromise:new Promise((i,o)=>{this.taskManager.executeQuerySending(r).then(a=>{a.status===ws.ExecutionResultStatus.SUCCESS?i(a.result):o(a.error)})}),cancel:i=>this.taskManager.cancel(r.taskId,i||kD)}}executeCsvQuery(t,n){Vq(t);const r=new wH("SEND_DOWNLOAD_CSV_QUERY",t,Object.assign(Object.assign({},n||{}),{shouldSkipHighlightsWithoutAttributes:this.shouldSkipHighlightsWithoutAttributes||!1}));return{resultPromise:new Promise((i,o)=>{this.taskManager.executeDownloadCsvSending(r).then(a=>{a.status===ws.ExecutionResultStatus.SUCCESS?i(a.result):o(a.error)})}),cancel:i=>this.taskManager.cancel(r.taskId,i||kD)}}executePivotQuery(t,n){_Ct(t);const r=new bot("SEND_JAQL_QUERY",t,Object.assign(Object.assign({},n||{}),{shouldSkipHighlightsWithoutAttributes:this.shouldSkipHighlightsWithoutAttributes||!1}));return{resultPromise:new Promise((i,o)=>{this.taskManager.executePivotQuerySending(r).then(a=>{a.status===ws.ExecutionResultStatus.SUCCESS?i(a.result):o(a.error)})}),cancel:i=>this.taskManager.cancel(r.taskId,i||kD)}}getDataSourceFields(t,n=9999,r=0){return Uq(this,void 0,void 0,function*(){return(yield this.queryApi.getDataSourceFields(t,n,r))||[]})}getDataSourceSchema(t){return this.queryApi.getDataSourceSchema(t)}getDataSourceList(){return Uq(this,void 0,void 0,function*(){return(yield this.queryApi.getDataSourceList())||[]})}}function Vq(e){const{attributes:t,measures:n,filters:r,highlights:i,count:o,offset:a}=e;if(o&&o<0)throw new Xa("errors.invalidCountNegative",{count:o.toString()});if(a&&a<0)throw new Xa("errors.invalidOffset",{offset:a.toString()});if(t.length+n.length===0)throw new Xa("errors.noDimensionsOrMeasures");t.forEach(s=>{if(!s.skipValidation&&!dn.isAttribute(s))throw new Xa("errors.invalidAttribute",{attributeName:s.name})}),n.forEach(s=>{if(!s.skipValidation&&!dn.isMeasure(s))throw new Xa("errors.invalidMeasure",{measureName:s.name})}),r.forEach(s=>{if(!s.skipValidation&&!dn.isFilter(s))throw new Xa("errors.invalidFilter",{filterName:s.name})}),i.forEach(s=>{if(!s.skipValidation&&!dn.isFilter(s))throw new Xa("errors.invalidHighlight",{highlightName:s.name})})}function _Ct(e){const{rowsAttributes:t,columnsAttributes:n,measures:r,filters:i,highlights:o,count:a,offset:s}=e;if(a&&a<0)throw new Xa("errors.invalidCountNegative",{count:a.toString()});if(s&&s<0)throw new Xa("errors.invalidOffset",{offset:s.toString()});if(t.length+n.length+r.length===0)throw new Xa("errors.noDimensionsOrMeasures");i.forEach(c=>{if(!c.skipValidation&&!dn.isFilter(c))throw new Xa("errors.invalidFilter",{filterName:c.name})}),o.forEach(c=>{if(!c.skipValidation&&!dn.isFilter(c))throw new Xa("errors.invalidHighlight",{highlightName:c.name})})}function SCt(e){if(!e)throw new Xa("errors.missingHttpClient");if(!e.post)throw new Xa("errors.missingPostMethod")}const CCt=2e4,kCt={enabled:!0,delay:500},MCt={locale:WI(),dateConfig:GI,loadingIndicatorConfig:kCt,language:"en",queryCacheConfig:{enabled:!1},queryLimit:CCt,accessibilityConfig:{enabled:!1},errorBoundaryConfig:{alwaysShowErrorText:!1}};function TCt(e,t,n){return Io(this,null,function*(){const r=yield ACt(t,n);return wi.withOptions({mergeArrays:!1},MCt,r,e)})}function ACt(e,t=!1){return Io(this,null,function*(){const n=yield e.get("api/globals");if(!n)throw new Error("Failed to load server settings");const r=t?{colors:Fp().palette.variantColors}:yield IJ(NJ(n.designSettings),e);return{serverThemeSettings:LJ(n.designSettings,r),serverLanguage:n.language,serverVersion:n.version}})}class ECt{constructor(t,n,r){Tt(this,"httpClient"),Tt(this,"pivotClient"),Tt(this,"queryClient"),Tt(this,"defaultDataSource"),Tt(this,"settings"),Tt(this,"queryCache"),window.addEventListener("unhandledrejection",i=>{i.reason instanceof Error?console.error(i.reason.message):console.error(i.reason)}),this.httpClient=new Cit(t,n,"sdk-ui-1.15.1"),this.pivotClient=new xce(this.httpClient),this.queryClient=new wCt(this.httpClient,this.pivotClient),this.queryCache={clear:BJ},r!==void 0&&(this.defaultDataSource=r)}}const OCt=e=>Io(void 0,[e],function*({defaultDataSource:t,url:n,token:r,wat:i,ssoEnabled:o,appConfig:a,enableSilentPreAuth:s}){if(n!==void 0){const c=tit({url:n,token:r,wat:i,ssoEnabled:o,enableSilentPreAuth:s});if(c){const l=new ECt(n,c,t),g=yield l.httpClient.login(),b=qie(c)||!g;return l.settings=yield TCt(a||{},l.httpClient,b),l}}throw new Fn("errors.sisenseContextNoAuthentication")}),PCt=e=>"levels"in e&&e.isCascading===!0;var q0=(e=>(e.HIGHLIGHT="highlight",e.FILTER="filter",e))(q0||{});const DCt=e=>({columns:e.columns.map(t=>({widthPercentage:t.width,rows:(t.cells||[]).map(n=>{const r=n.subcells.reduce((i,o)=>i+o.width,0);return{cells:n.subcells.map(i=>({widthPercentage:r<100?i.width/(r/100):i.width,height:i.elements[0].height,widgetId:i.elements[0].widgetid}))}})}))}),LCt=e=>{var t,n;const r=tm(e.jaql,e.instanceid);return r.disabled=(t=e.disabled)!=null?t:!1,r.locked=(n=e.locked)!=null?n:!1,r},NCt=e=>{var t,n;const r=e.levels.map(o=>tm(o)),i=new GQ(r);return i.disabled=(t=e.disabled)!=null?t:!1,i.locked=(n=e.locked)!=null?n:!1,i};function jCt(e){return e.map(t=>PCt(t)?NCt(t):LCt(t))}function ICt(e=[]){const t={};return e.forEach(n=>{var r,i,o,a;t[n.oid]={applyMode:((r=n.options)==null?void 0:r.dashboardFiltersMode)==="filter"?q0.FILTER:q0.HIGHLIGHT,shouldAffectFilters:(i=n.options)==null?void 0:i.selector,ignoreFilters:{all:(o=n.metadata.ignore)==null?void 0:o.all,ids:(a=n.metadata.ignore)==null?void 0:a.ids},forceApplyBackgroundFilters:!0}}),t}class wce{constructor(t,n){Tt(this,"oid"),Tt(this,"title"),Tt(this,"dataSource"),Tt(this,"widgets"),Tt(this,"layout"),Tt(this,"filters"),Tt(this,"widgetFilterOptions");const{oid:r,title:i,datasource:o,widgets:a,layout:s,filters:c}=t;this.oid=r,this.title=i,this.dataSource={title:o.title,type:o.live?"live":"elasticube"},this.widgets=(a==null?void 0:a.map(l=>Qkt(l,n)))||[],this.layout=s?DCt(s):{columns:[]},this.filters=jCt(c||[]),this.widgetFilterOptions=ICt(a)}getDashboardProps(){return{title:this.title,defaultDataSource:this.dataSource,widgets:this.widgets,layout:this.layout,filters:this.filters,widgetFilterOptions:this.widgetFilterOptions}}}function _ce(e,t){return Io(this,arguments,function*(n,r,i={},o){const{includeWidgets:a,includeFilters:s}=i,c=new Pb(n),l=["oid","title","datasource"];a&&l.push("layout"),s&&l.push("filters");const g=[c.getDashboard(r,{fields:l}),a?c.getDashboardWidgets(r):void 0],[b,u]=yield Promise.all(g);if(!b)throw new Error(`Dashboard with oid ${r} not found`);return u&&(b.widgets=u),new wce(b,o)})}function RCt(e){return Io(this,arguments,function*(t,n={}){const{includeWidgets:r,searchByTitle:i}=n,o=new Pb(t),a=[];let s=["oid","title","datasource"];r&&(s=[],a.push("widgets"));const c=yield o.getDashboards({fields:s,expand:a,searchByTitle:i});return(c==null?void 0:c.map(l=>new wce(l)))||[]})}function I2(e,t,n){const r=tk(e);return!r||t.some(i=>!Ch(r[i],e[i]))?!0:n?n(e,r):!1}function R2({enabled:e},t){const n=Qe(!1);return jt((r,i=!1)=>{const o=e===!1||!r,a=n.current;return n.current=o,!o&&(a||t||i)},[e,t])}function nd(e,t){switch(t.type){case"loading":return zCt(e);case"success":return BCt(t.data);case"error":return FCt(t.error)}}function zCt(e){return e.status==="loading"?e:xt(rt({},e),{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0})}function BCt(e){return{isLoading:!1,isError:!1,isSuccess:!0,data:e,status:"success",error:void 0}}function FCt(e){return{isLoading:!1,isError:!0,isSuccess:!1,data:void 0,status:"error",error:e}}const WCt=Yet("useGetDashboardModel")(HCt);function HCt(e){const t=I2(e,["dashboardOid"]),n=R2(e,t),[r,i]=id(nd,{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0,data:void 0}),{isInitialized:o,app:a}=ti(),{themeSettings:s}=sr();return pt(()=>{if(o||i({type:"error",error:new Fn("errors.sisenseContextNotFound")}),n(a)){i({type:"loading"});const{dashboardOid:c,includeWidgets:l,includeFilters:g}=e;_ce(a.httpClient,c,{includeWidgets:l,includeFilters:g},s).then(b=>{i({type:"success",data:b})}).catch(b=>{i({type:"error",error:b})})}},[a,o,e,n,s]),r.data&&t?p3(nd(r,{type:"loading"})):p3(r)}function p3(e){const t=e,{data:n}=t,r=os(t,["data"]);return xt(rt({},r),{dashboard:n})}function UCt(e){const t=e,{data:n}=t,r=os(t,["data"]);return xt(rt({},r),{dashboards:n})}function ef(e,t){return e===void 0&&t===void 0?!1:[e,t].some(n=>n===void 0)||e.length!==t.length?!0:e.length===0&&t.length===0?!1:e.some((n,r)=>!Zte(n,t[r],(i,o)=>{const a=Yq(i)?xt(rt({},i.toJSON()),{name:void 0}):i,s=Yq(o)?xt(rt({},o.toJSON()),{name:void 0}):o;return Ch(a,s)}))}function Yq(e){return"toJSON"in e&&typeof e.toJSON=="function"}function VCt(e,t,n,r){if(n===void 0&&r===void 0)return!1;if([n,r].some(o=>o===void 0))return!0;function i(o,a){const s=o,c=o,l=a,g=a;return o===void 0&&a===void 0?!0:[o,a].some(b=>b===void 0)||s.operator!==l.operator?!1:c.instanceid&&g.instanceid?!ef(e==null?void 0:e.filter(b=>b.guid===c.instanceid),t==null?void 0:t.filter(b=>b.guid===g.instanceid)):i(s.left,l.left)&&i(s.right,l.right)||i(s.left,l.right)&&i(s.right,l.left)}return!i(n,r)}function Gq(e,t){return nd(e,t)}function YCt(e){const t=$Ct(e),n=R2(e,t),[r,i]=id(Gq,{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0,data:void 0}),{isInitialized:o,app:a}=ti();return pt(()=>{if(o||i({type:"error",error:new Fn("errors.executeQueryNoSisenseContext")}),n(a)){i({type:"loading"});const{dataSource:s,rows:c,columns:l,values:g,grandTotals:b,filters:u,highlights:z,count:w,offset:x,onBeforeQuery:C}=e,{filters:H,relations:G}=$u(u);fRe({dataSource:s,rows:c,columns:l,values:g,grandTotals:b,filters:H,filterRelations:G,highlights:z,count:w,offset:x},a,{onBeforeQuery:C}).then($=>{i({type:"success",data:$})}).catch($=>{i({type:"error",error:$})})}},[a,o,e,n]),r.data&&t?Gq(r,{type:"loading"}):r}const GCt=["dataSource","rows","columns","values","grandTotals","count","offset","onBeforeQuery"];function $Ct(e){return I2(e,GCt,(t,n)=>{const{filters:r}=$u(n.filters),{filters:i}=$u(t.filters);return ef(r,i)||ef(n.highlights,t.highlights)})}var qCt=od,XCt=lo,ZCt=Hs,KCt="[object String]";function QCt(e){return typeof e=="string"||!XCt(e)&&ZCt(e)&&qCt(e)==KCt}var JCt=QCt;const ekt=On(JCt);function Sce(e){return ekt(e)?{direction:e}:e}function $q(e,t){return{valuesIndex:e.field-(t.rows||[]).length-(t.columns||[]).length,columnsMembersPath:Object.values(e.measurePath||{})}}function tkt({type:e,settings:t,sortDetails:n},r){return e==="simple"?n.field>=(r.rows||[]).length?[{rowIndex:0,sort:{direction:qy(t[0].direction),by:$q(n,r)}}]:[{rowIndex:n.field,sort:{direction:qy(t[0].direction)}}]:t.reduce((i,o,a)=>{var s;const c=(s=r.rows)==null?void 0:s[a],l=(c==null?void 0:c.sortType)&&Sce(c==null?void 0:c.sortType),g={direction:qy(o.direction),by:$q(n,r)};return!o.selected&&Ch(l==null?void 0:l.by,g.by)&&i.push({rowIndex:a,sort:null}),o.selected&&i.push({rowIndex:a,sort:g}),i},[])}const qq=e=>rt({attribute:GC(e),includeSubTotals:e.includeSubTotals||!1},e.sortType&&{sort:Sce(e.sortType)}),nkt=e=>({measure:Qee(e),totalsCalculation:e.totalsCalculation,dataBars:e.dataBars||!1}),Cce=e=>{const{rows:t=[],columns:n=[],values:r=[],grandTotals:i}=e,o=t.flatMap(qq),a=n.flatMap(qq),s=r.flatMap(nkt);return{rows:o,columns:a,values:s,grandTotals:i}},rkt=({dataSet:e,dataOptionsInternal:t,filters:n,highlights:r,refreshCounter:i})=>{const o=Qe(null),{rows:a,columns:s,values:c,grandTotals:l}=Cce(t),g=jt(C=>{o.current=C},[i]),b={dataSource:e,rows:a,columns:s,values:c,grandTotals:l,filters:n,highlights:r,onBeforeQuery:g},{isLoading:u,isSuccess:z,isError:w,error:x}=YCt(b);return{isLoading:u,isSuccess:z,isError:w,error:x,jaql:o.current}};var f3={exports:{}};/**
997
997
  * @license
998
998
  * Lodash <https://lodash.com/>
999
999
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>