@sisense/sdk-ui-preact 1.15.0 → 1.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -3,7 +3,7 @@
3
3
  Use "options.replacer" or "options.ignoreUnknown"
4
4
  `)},_domwindow:function(){return C("domwindow")},_bigint:function(p){return C("bigint:"+p.toString())},_process:function(){return C("process")},_timer:function(){return C("timer")},_pipe:function(){return C("pipe")},_tcp:function(){return C("tcp")},_udp:function(){return C("udp")},_tty:function(){return C("tty")},_statwatcher:function(){return C("statwatcher")},_securecontext:function(){return C("securecontext")},_connection:function(){return C("connection")},_zlib:function(){return C("zlib")},_context:function(){return C("context")},_nodescript:function(){return C("nodescript")},_httpparser:function(){return C("httpparser")},_dataview:function(){return C("dataview")},_signal:function(){return C("signal")},_fsevent:function(){return C("fsevent")},_tlswrap:function(){return C("tlswrap")}}}function $(){return{buf:"",write:function(O){this.buf+=O},end:function(O){this.buf+=O},read:function(){return this.buf}}}i.writeToStream=function(O,D,m){return m===void 0&&(m=D,D={}),U(D=G(O,D),m).dispatch(O)}}).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,f,w,u,j){(function(S){var b=typeof Uint8Array<"u"?Uint8Array:Array,T=43,W=47,G=48,Y=97,U=65,$=45,O=95;function D(m){return m=m.charCodeAt(0),m===T||m===$?62:m===W||m===O?63:m<G?-1:m<G+10?m-G+26+26:m<U+26?m-U:m<Y+26?m-Y+26:void 0}S.toByteArray=function(m){var C,p;if(0<m.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var d=m.length,d=m.charAt(d-2)==="="?2:m.charAt(d-1)==="="?1:0,g=new b(3*m.length/4-d),E=0<d?m.length-4:m.length,M=0;function P(V){g[M++]=V}for(C=0;C<E;C+=4,0)P((16711680&(p=D(m.charAt(C))<<18|D(m.charAt(C+1))<<12|D(m.charAt(C+2))<<6|D(m.charAt(C+3))))>>16),P((65280&p)>>8),P(255&p);return d==2?P(255&(p=D(m.charAt(C))<<2|D(m.charAt(C+1))>>4)):d==1&&(P((p=D(m.charAt(C))<<10|D(m.charAt(C+1))<<4|D(m.charAt(C+2))>>2)>>8&255),P(255&p)),g},S.fromByteArray=function(m){var C,p,d,g,E=m.length%3,M="";function P(V){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(V)}for(C=0,d=m.length-E;C<d;C+=3)p=(m[C]<<16)+(m[C+1]<<8)+m[C+2],M+=P((g=p)>>18&63)+P(g>>12&63)+P(g>>6&63)+P(63&g);switch(E){case 1:M=(M+=P((p=m[m.length-1])>>2))+P(p<<4&63)+"==";break;case 2:M=(M=(M+=P((p=(m[m.length-2]<<8)+m[m.length-1])>>10))+P(p>>4&63))+P(p<<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,T,c,l,f,w,u,j){var S=n("base64-js"),b=n("ieee754");function T(x,B,Z){if(!(this instanceof T))return new T(x,B,Z);var K,F,X,Q,it=typeof x;if(B==="base64"&&it=="string")for(x=(Q=x).trim?Q.trim():Q.replace(/^\s+|\s+$/g,"");x.length%4!=0;)x+="=";if(it=="number")K=H(x);else if(it=="string")K=T.byteLength(x,B);else{if(it!="object")throw new Error("First argument needs to be a number, array or string.");K=H(x.length)}if(T._useTypedArrays?F=T._augment(new Uint8Array(K)):((F=this).length=K,F._isBuffer=!0),T._useTypedArrays&&typeof x.byteLength=="number")F._set(x);else if(R(Q=x)||T.isBuffer(Q)||Q&&typeof Q=="object"&&typeof Q.length=="number")for(X=0;X<K;X++)T.isBuffer(x)?F[X]=x.readUInt8(X):F[X]=x[X];else if(it=="string")F.write(x,0,B);else if(it=="number"&&!T._useTypedArrays&&!Z)for(X=0;X<K;X++)F[X]=0;return F}function W(x,B,Z,K){return T._charsWritten=h(function(F){for(var X=[],Q=0;Q<F.length;Q++)X.push(255&F.charCodeAt(Q));return X}(B),x,Z,K)}function G(x,B,Z,K){return T._charsWritten=h(function(F){for(var X,Q,it=[],ot=0;ot<F.length;ot++)Q=F.charCodeAt(ot),X=Q>>8,Q=Q%256,it.push(Q),it.push(X);return it}(B),x,Z,K)}function Y(x,B,Z){var K="";Z=Math.min(x.length,Z);for(var F=B;F<Z;F++)K+=String.fromCharCode(x[F]);return K}function U(x,B,Z,X){X||(N(typeof Z=="boolean","missing or invalid endian"),N(B!=null,"missing offset"),N(B+1<x.length,"Trying to read beyond buffer length"));var F,X=x.length;if(!(X<=B))return Z?(F=x[B],B+1<X&&(F|=x[B+1]<<8)):(F=x[B]<<8,B+1<X&&(F|=x[B+1])),F}function $(x,B,Z,X){X||(N(typeof Z=="boolean","missing or invalid endian"),N(B!=null,"missing offset"),N(B+3<x.length,"Trying to read beyond buffer length"));var F,X=x.length;if(!(X<=B))return Z?(B+2<X&&(F=x[B+2]<<16),B+1<X&&(F|=x[B+1]<<8),F|=x[B],B+3<X&&(F+=x[B+3]<<24>>>0)):(B+1<X&&(F=x[B+1]<<16),B+2<X&&(F|=x[B+2]<<8),B+3<X&&(F|=x[B+3]),F+=x[B]<<24>>>0),F}function O(x,B,Z,K){if(K||(N(typeof Z=="boolean","missing or invalid endian"),N(B!=null,"missing offset"),N(B+1<x.length,"Trying to read beyond buffer length")),!(x.length<=B))return K=U(x,B,Z,!0),32768&K?-1*(65535-K+1):K}function D(x,B,Z,K){if(K||(N(typeof Z=="boolean","missing or invalid endian"),N(B!=null,"missing offset"),N(B+3<x.length,"Trying to read beyond buffer length")),!(x.length<=B))return K=$(x,B,Z,!0),2147483648&K?-1*(4294967295-K+1):K}function m(x,B,Z,K){return K||(N(typeof Z=="boolean","missing or invalid endian"),N(B+3<x.length,"Trying to read beyond buffer length")),b.read(x,B,Z,23,4)}function C(x,B,Z,K){return K||(N(typeof Z=="boolean","missing or invalid endian"),N(B+7<x.length,"Trying to read beyond buffer length")),b.read(x,B,Z,52,8)}function p(x,B,Z,K,F){if(F||(N(B!=null,"missing value"),N(typeof K=="boolean","missing or invalid endian"),N(Z!=null,"missing offset"),N(Z+1<x.length,"trying to write beyond buffer length"),y(B,65535)),F=x.length,!(F<=Z))for(var X=0,Q=Math.min(F-Z,2);X<Q;X++)x[Z+X]=(B&255<<8*(K?X:1-X))>>>8*(K?X:1-X)}function d(x,B,Z,K,F){if(F||(N(B!=null,"missing value"),N(typeof K=="boolean","missing or invalid endian"),N(Z!=null,"missing offset"),N(Z+3<x.length,"trying to write beyond buffer length"),y(B,4294967295)),F=x.length,!(F<=Z))for(var X=0,Q=Math.min(F-Z,4);X<Q;X++)x[Z+X]=B>>>8*(K?X:3-X)&255}function g(x,B,Z,K,F){F||(N(B!=null,"missing value"),N(typeof K=="boolean","missing or invalid endian"),N(Z!=null,"missing offset"),N(Z+1<x.length,"Trying to write beyond buffer length"),v(B,32767,-32768)),x.length<=Z||p(x,0<=B?B:65535+B+1,Z,K,F)}function E(x,B,Z,K,F){F||(N(B!=null,"missing value"),N(typeof K=="boolean","missing or invalid endian"),N(Z!=null,"missing offset"),N(Z+3<x.length,"Trying to write beyond buffer length"),v(B,2147483647,-2147483648)),x.length<=Z||d(x,0<=B?B:4294967295+B+1,Z,K,F)}function M(x,B,Z,K,F){F||(N(B!=null,"missing value"),N(typeof K=="boolean","missing or invalid endian"),N(Z!=null,"missing offset"),N(Z+3<x.length,"Trying to write beyond buffer length"),z(B,34028234663852886e22,-34028234663852886e22)),x.length<=Z||b.write(x,B,Z,K,23,4)}function P(x,B,Z,K,F){F||(N(B!=null,"missing value"),N(typeof K=="boolean","missing or invalid endian"),N(Z!=null,"missing offset"),N(Z+7<x.length,"Trying to write beyond buffer length"),z(B,17976931348623157e292,-17976931348623157e292)),x.length<=Z||b.write(x,B,Z,K,52,8)}i.Buffer=T,i.SlowBuffer=T,i.INSPECT_MAX_BYTES=50,T.poolSize=8192,T._useTypedArrays=function(){try{var x=new ArrayBuffer(0),B=new Uint8Array(x);return B.foo=function(){return 42},B.foo()===42&&typeof B.subarray=="function"}catch{return!1}}(),T.isEncoding=function(x){switch(String(x).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}},T.isBuffer=function(x){return!(x==null||!x._isBuffer)},T.byteLength=function(x,B){var Z;switch(x+="",B||"utf8"){case"hex":Z=x.length/2;break;case"utf8":case"utf-8":Z=A(x).length;break;case"ascii":case"binary":case"raw":Z=x.length;break;case"base64":Z=k(x).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":Z=2*x.length;break;default:throw new Error("Unknown encoding")}return Z},T.concat=function(x,B){if(N(R(x),`Usage: Buffer.concat(list, [totalLength])
5
5
  list should be an Array.`),x.length===0)return new T(0);if(x.length===1)return x[0];if(typeof B!="number")for(F=B=0;F<x.length;F++)B+=x[F].length;for(var Z=new T(B),K=0,F=0;F<x.length;F++){var X=x[F];X.copy(Z,K),K+=X.length}return Z},T.prototype.write=function(x,B,Z,K){isFinite(B)?isFinite(Z)||(K=Z,Z=void 0):(ot=K,K=B,B=Z,Z=ot),B=Number(B)||0;var F,X,Q,it,ot=this.length-B;switch((!Z||ot<(Z=Number(Z)))&&(Z=ot),K=String(K||"utf8").toLowerCase()){case"hex":F=function(et,nt,rt,ut){rt=Number(rt)||0;var ct=et.length-rt;(!ut||ct<(ut=Number(ut)))&&(ut=ct),N((ct=nt.length)%2==0,"Invalid hex string"),ct/2<ut&&(ut=ct/2);for(var lt=0;lt<ut;lt++){var ht=parseInt(nt.substr(2*lt,2),16);N(!isNaN(ht),"Invalid hex string"),et[rt+lt]=ht}return T._charsWritten=2*lt,lt}(this,x,B,Z);break;case"utf8":case"utf-8":X=this,Q=B,it=Z,F=T._charsWritten=h(A(x),X,Q,it);break;case"ascii":case"binary":F=W(this,x,B,Z);break;case"base64":X=this,Q=B,it=Z,F=T._charsWritten=h(k(x),X,Q,it);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":F=G(this,x,B,Z);break;default:throw new Error("Unknown encoding")}return F},T.prototype.toString=function(x,B,Z){var K,F,X,Q,it=this;if(x=String(x||"utf8").toLowerCase(),B=Number(B)||0,(Z=Z!==void 0?Number(Z):it.length)===B)return"";switch(x){case"hex":K=function(ot,et,nt){var rt=ot.length;(!et||et<0)&&(et=0),(!nt||nt<0||rt<nt)&&(nt=rt);for(var ut="",ct=et;ct<nt;ct++)ut+=I(ot[ct]);return ut}(it,B,Z);break;case"utf8":case"utf-8":K=function(ot,et,nt){var rt="",ut="";nt=Math.min(ot.length,nt);for(var ct=et;ct<nt;ct++)ot[ct]<=127?(rt+=_(ut)+String.fromCharCode(ot[ct]),ut=""):ut+="%"+ot[ct].toString(16);return rt+_(ut)}(it,B,Z);break;case"ascii":case"binary":K=Y(it,B,Z);break;case"base64":F=it,Q=Z,K=(X=B)===0&&Q===F.length?S.fromByteArray(F):S.fromByteArray(F.slice(X,Q));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":K=function(ot,et,nt){for(var rt=ot.slice(et,nt),ut="",ct=0;ct<rt.length;ct+=2)ut+=String.fromCharCode(rt[ct]+256*rt[ct+1]);return ut}(it,B,Z);break;default:throw new Error("Unknown encoding")}return K},T.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},T.prototype.copy=function(x,B,Z,K){if(B=B||0,(K=K||K===0?K:this.length)!==(Z=Z||0)&&x.length!==0&&this.length!==0){N(Z<=K,"sourceEnd < sourceStart"),N(0<=B&&B<x.length,"targetStart out of bounds"),N(0<=Z&&Z<this.length,"sourceStart out of bounds"),N(0<=K&&K<=this.length,"sourceEnd out of bounds"),K>this.length&&(K=this.length);var F=(K=x.length-B<K-Z?x.length-B+Z:K)-Z;if(F<100||!T._useTypedArrays)for(var X=0;X<F;X++)x[X+B]=this[X+Z];else x._set(this.subarray(Z,Z+F),B)}},T.prototype.slice=function(x,B){var Z=this.length;if(x=q(x,Z,0),B=q(B,Z,Z),T._useTypedArrays)return T._augment(this.subarray(x,B));for(var K=B-x,F=new T(K,void 0,!0),X=0;X<K;X++)F[X]=this[X+x];return F},T.prototype.get=function(x){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(x)},T.prototype.set=function(x,B){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(x,B)},T.prototype.readUInt8=function(x,B){if(B||(N(x!=null,"missing offset"),N(x<this.length,"Trying to read beyond buffer length")),!(x>=this.length))return this[x]},T.prototype.readUInt16LE=function(x,B){return U(this,x,!0,B)},T.prototype.readUInt16BE=function(x,B){return U(this,x,!1,B)},T.prototype.readUInt32LE=function(x,B){return $(this,x,!0,B)},T.prototype.readUInt32BE=function(x,B){return $(this,x,!1,B)},T.prototype.readInt8=function(x,B){if(B||(N(x!=null,"missing offset"),N(x<this.length,"Trying to read beyond buffer length")),!(x>=this.length))return 128&this[x]?-1*(255-this[x]+1):this[x]},T.prototype.readInt16LE=function(x,B){return O(this,x,!0,B)},T.prototype.readInt16BE=function(x,B){return O(this,x,!1,B)},T.prototype.readInt32LE=function(x,B){return D(this,x,!0,B)},T.prototype.readInt32BE=function(x,B){return D(this,x,!1,B)},T.prototype.readFloatLE=function(x,B){return m(this,x,!0,B)},T.prototype.readFloatBE=function(x,B){return m(this,x,!1,B)},T.prototype.readDoubleLE=function(x,B){return C(this,x,!0,B)},T.prototype.readDoubleBE=function(x,B){return C(this,x,!1,B)},T.prototype.writeUInt8=function(x,B,Z){Z||(N(x!=null,"missing value"),N(B!=null,"missing offset"),N(B<this.length,"trying to write beyond buffer length"),y(x,255)),B>=this.length||(this[B]=x)},T.prototype.writeUInt16LE=function(x,B,Z){p(this,x,B,!0,Z)},T.prototype.writeUInt16BE=function(x,B,Z){p(this,x,B,!1,Z)},T.prototype.writeUInt32LE=function(x,B,Z){d(this,x,B,!0,Z)},T.prototype.writeUInt32BE=function(x,B,Z){d(this,x,B,!1,Z)},T.prototype.writeInt8=function(x,B,Z){Z||(N(x!=null,"missing value"),N(B!=null,"missing offset"),N(B<this.length,"Trying to write beyond buffer length"),v(x,127,-128)),B>=this.length||(0<=x?this.writeUInt8(x,B,Z):this.writeUInt8(255+x+1,B,Z))},T.prototype.writeInt16LE=function(x,B,Z){g(this,x,B,!0,Z)},T.prototype.writeInt16BE=function(x,B,Z){g(this,x,B,!1,Z)},T.prototype.writeInt32LE=function(x,B,Z){E(this,x,B,!0,Z)},T.prototype.writeInt32BE=function(x,B,Z){E(this,x,B,!1,Z)},T.prototype.writeFloatLE=function(x,B,Z){M(this,x,B,!0,Z)},T.prototype.writeFloatBE=function(x,B,Z){M(this,x,B,!1,Z)},T.prototype.writeDoubleLE=function(x,B,Z){P(this,x,B,!0,Z)},T.prototype.writeDoubleBE=function(x,B,Z){P(this,x,B,!1,Z)},T.prototype.fill=function(x,B,Z){if(B=B||0,Z=Z||this.length,N(typeof(x=typeof(x=x||0)=="string"?x.charCodeAt(0):x)=="number"&&!isNaN(x),"value is not a number"),N(B<=Z,"end < start"),Z!==B&&this.length!==0){N(0<=B&&B<this.length,"start out of bounds"),N(0<=Z&&Z<=this.length,"end out of bounds");for(var K=B;K<Z;K++)this[K]=x}},T.prototype.inspect=function(){for(var x=[],B=this.length,Z=0;Z<B;Z++)if(x[Z]=I(this[Z]),Z===i.INSPECT_MAX_BYTES){x[Z+1]="...";break}return"<Buffer "+x.join(" ")+">"},T.prototype.toArrayBuffer=function(){if(typeof Uint8Array>"u")throw new Error("Buffer.toArrayBuffer not supported in this browser");if(T._useTypedArrays)return new T(this).buffer;for(var x=new Uint8Array(this.length),B=0,Z=x.length;B<Z;B+=1)x[B]=this[B];return x.buffer};var V=T.prototype;function q(x,B,Z){return typeof x!="number"?Z:B<=(x=~~x)?B:0<=x||0<=(x+=B)?x:0}function H(x){return(x=~~Math.ceil(+x))<0?0:x}function R(x){return(Array.isArray||function(B){return Object.prototype.toString.call(B)==="[object Array]"})(x)}function I(x){return x<16?"0"+x.toString(16):x.toString(16)}function A(x){for(var B=[],Z=0;Z<x.length;Z++){var K=x.charCodeAt(Z);if(K<=127)B.push(x.charCodeAt(Z));else for(var F=Z,X=(55296<=K&&K<=57343&&Z++,encodeURIComponent(x.slice(F,Z+1)).substr(1).split("%")),Q=0;Q<X.length;Q++)B.push(parseInt(X[Q],16))}return B}function k(x){return S.toByteArray(x)}function h(x,B,Z,K){for(var F=0;F<K&&!(F+Z>=B.length||F>=x.length);F++)B[F+Z]=x[F];return F}function _(x){try{return decodeURIComponent(x)}catch{return"�"}}function y(x,B){N(typeof x=="number","cannot write a non-number as a number"),N(0<=x,"specified a negative value for writing an unsigned value"),N(x<=B,"value is larger than maximum value for type"),N(Math.floor(x)===x,"value has a fractional component")}function v(x,B,Z){N(typeof x=="number","cannot write a non-number as a number"),N(x<=B,"value larger than maximum allowed value"),N(Z<=x,"value smaller than minimum allowed value"),N(Math.floor(x)===x,"value has a fractional component")}function z(x,B,Z){N(typeof x=="number","cannot write a non-number as a number"),N(x<=B,"value larger than maximum allowed value"),N(Z<=x,"value smaller than minimum allowed value")}function N(x,B){if(!x)throw new Error(B||"Failed assertion")}T._augment=function(x){return x._isBuffer=!0,x._get=x.get,x._set=x.set,x.get=V.get,x.set=V.set,x.write=V.write,x.toString=V.toString,x.toLocaleString=V.toString,x.toJSON=V.toJSON,x.copy=V.copy,x.slice=V.slice,x.readUInt8=V.readUInt8,x.readUInt16LE=V.readUInt16LE,x.readUInt16BE=V.readUInt16BE,x.readUInt32LE=V.readUInt32LE,x.readUInt32BE=V.readUInt32BE,x.readInt8=V.readInt8,x.readInt16LE=V.readInt16LE,x.readInt16BE=V.readInt16BE,x.readInt32LE=V.readInt32LE,x.readInt32BE=V.readInt32BE,x.readFloatLE=V.readFloatLE,x.readFloatBE=V.readFloatBE,x.readDoubleLE=V.readDoubleLE,x.readDoubleBE=V.readDoubleBE,x.writeUInt8=V.writeUInt8,x.writeUInt16LE=V.writeUInt16LE,x.writeUInt16BE=V.writeUInt16BE,x.writeUInt32LE=V.writeUInt32LE,x.writeUInt32BE=V.writeUInt32BE,x.writeInt8=V.writeInt8,x.writeInt16LE=V.writeInt16LE,x.writeInt16BE=V.writeInt16BE,x.writeInt32LE=V.writeInt32LE,x.writeInt32BE=V.writeInt32BE,x.writeFloatLE=V.writeFloatLE,x.writeFloatBE=V.writeFloatBE,x.writeDoubleLE=V.writeDoubleLE,x.writeDoubleBE=V.writeDoubleBE,x.fill=V.fill,x.inspect=V.inspect,x.toArrayBuffer=V.toArrayBuffer,x}}).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,S,c,l,f,w,u,j){var S=n("buffer").Buffer,b=4,T=new S(b);T.fill(0),r.exports={hash:function(W,G,Y,U){for(var $=G(function(p,d){p.length%b!=0&&(g=p.length+(b-p.length%b),p=S.concat([p,T],g));for(var g,E=[],M=d?p.readInt32BE:p.readInt32LE,P=0;P<p.length;P+=b)E.push(M.call(p,P));return E}(W=S.isBuffer(W)?W:new S(W),U),8*W.length),G=U,O=new S(Y),D=G?O.writeInt32BE:O.writeInt32LE,m=0;m<$.length;m++)D.call(O,$[m],4*m,!0);return O}}}).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,S,c,l,f,w,u,j){var S=n("buffer").Buffer,b=n("./sha"),T=n("./sha256"),W=n("./rng"),G={sha1:b,sha256:T,md5:n("./md5")},Y=64,U=new S(Y);function $(p,d){var g=G[p=p||"sha1"],E=[];return g||O("algorithm:",p,"is not yet supported"),{update:function(M){return S.isBuffer(M)||(M=new S(M)),E.push(M),this},digest:function(M){var P=S.concat(E),P=d?function(V,q,H){S.isBuffer(q)||(q=new S(q)),S.isBuffer(H)||(H=new S(H)),q.length>Y?q=V(q):q.length<Y&&(q=S.concat([q,U],Y));for(var R=new S(Y),I=new S(Y),A=0;A<Y;A++)R[A]=54^q[A],I[A]=92^q[A];return H=V(S.concat([R,H])),V(S.concat([I,H]))}(g,d,P):g(P);return E=null,M?P.toString(M):P}}}function O(){var p=[].slice.call(arguments).join(" ");throw new Error([p,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
6
- `))}U.fill(0),i.createHash=function(p){return $(p)},i.createHmac=$,i.randomBytes=function(p,d){if(!d||!d.call)return new S(W(p));try{d.call(this,void 0,new S(W(p)))}catch(g){d(g)}};var D,m=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],C=function(p){i[p]=function(){O("sorry,",p,"is not implemented yet")}};for(D in m)C(m[D])}).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,f,w,u,j){var S=n("./helpers");function b(O,D){O[D>>5]|=128<<D%32,O[14+(D+64>>>9<<4)]=D;for(var m=1732584193,C=-271733879,p=-1732584194,d=271733878,g=0;g<O.length;g+=16){var E=m,M=C,P=p,V=d,m=W(m,C,p,d,O[g+0],7,-680876936),d=W(d,m,C,p,O[g+1],12,-389564586),p=W(p,d,m,C,O[g+2],17,606105819),C=W(C,p,d,m,O[g+3],22,-1044525330);m=W(m,C,p,d,O[g+4],7,-176418897),d=W(d,m,C,p,O[g+5],12,1200080426),p=W(p,d,m,C,O[g+6],17,-1473231341),C=W(C,p,d,m,O[g+7],22,-45705983),m=W(m,C,p,d,O[g+8],7,1770035416),d=W(d,m,C,p,O[g+9],12,-1958414417),p=W(p,d,m,C,O[g+10],17,-42063),C=W(C,p,d,m,O[g+11],22,-1990404162),m=W(m,C,p,d,O[g+12],7,1804603682),d=W(d,m,C,p,O[g+13],12,-40341101),p=W(p,d,m,C,O[g+14],17,-1502002290),m=G(m,C=W(C,p,d,m,O[g+15],22,1236535329),p,d,O[g+1],5,-165796510),d=G(d,m,C,p,O[g+6],9,-1069501632),p=G(p,d,m,C,O[g+11],14,643717713),C=G(C,p,d,m,O[g+0],20,-373897302),m=G(m,C,p,d,O[g+5],5,-701558691),d=G(d,m,C,p,O[g+10],9,38016083),p=G(p,d,m,C,O[g+15],14,-660478335),C=G(C,p,d,m,O[g+4],20,-405537848),m=G(m,C,p,d,O[g+9],5,568446438),d=G(d,m,C,p,O[g+14],9,-1019803690),p=G(p,d,m,C,O[g+3],14,-187363961),C=G(C,p,d,m,O[g+8],20,1163531501),m=G(m,C,p,d,O[g+13],5,-1444681467),d=G(d,m,C,p,O[g+2],9,-51403784),p=G(p,d,m,C,O[g+7],14,1735328473),m=Y(m,C=G(C,p,d,m,O[g+12],20,-1926607734),p,d,O[g+5],4,-378558),d=Y(d,m,C,p,O[g+8],11,-2022574463),p=Y(p,d,m,C,O[g+11],16,1839030562),C=Y(C,p,d,m,O[g+14],23,-35309556),m=Y(m,C,p,d,O[g+1],4,-1530992060),d=Y(d,m,C,p,O[g+4],11,1272893353),p=Y(p,d,m,C,O[g+7],16,-155497632),C=Y(C,p,d,m,O[g+10],23,-1094730640),m=Y(m,C,p,d,O[g+13],4,681279174),d=Y(d,m,C,p,O[g+0],11,-358537222),p=Y(p,d,m,C,O[g+3],16,-722521979),C=Y(C,p,d,m,O[g+6],23,76029189),m=Y(m,C,p,d,O[g+9],4,-640364487),d=Y(d,m,C,p,O[g+12],11,-421815835),p=Y(p,d,m,C,O[g+15],16,530742520),m=U(m,C=Y(C,p,d,m,O[g+2],23,-995338651),p,d,O[g+0],6,-198630844),d=U(d,m,C,p,O[g+7],10,1126891415),p=U(p,d,m,C,O[g+14],15,-1416354905),C=U(C,p,d,m,O[g+5],21,-57434055),m=U(m,C,p,d,O[g+12],6,1700485571),d=U(d,m,C,p,O[g+3],10,-1894986606),p=U(p,d,m,C,O[g+10],15,-1051523),C=U(C,p,d,m,O[g+1],21,-2054922799),m=U(m,C,p,d,O[g+8],6,1873313359),d=U(d,m,C,p,O[g+15],10,-30611744),p=U(p,d,m,C,O[g+6],15,-1560198380),C=U(C,p,d,m,O[g+13],21,1309151649),m=U(m,C,p,d,O[g+4],6,-145523070),d=U(d,m,C,p,O[g+11],10,-1120210379),p=U(p,d,m,C,O[g+2],15,718787259),C=U(C,p,d,m,O[g+9],21,-343485551),m=$(m,E),C=$(C,M),p=$(p,P),d=$(d,V)}return Array(m,C,p,d)}function T(O,D,m,C,p,d){return $((D=$($(D,O),$(C,d)))<<p|D>>>32-p,m)}function W(O,D,m,C,p,d,g){return T(D&m|~D&C,O,D,p,d,g)}function G(O,D,m,C,p,d,g){return T(D&C|m&~C,O,D,p,d,g)}function Y(O,D,m,C,p,d,g){return T(D^m^C,O,D,p,d,g)}function U(O,D,m,C,p,d,g){return T(m^(D|~C),O,D,p,d,g)}function $(O,D){var m=(65535&O)+(65535&D);return(O>>16)+(D>>16)+(m>>16)<<16|65535&m}r.exports=function(O){return S.hash(O,b,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,f,w,u,j){r.exports=function(S){for(var b,T=new Array(S),W=0;W<S;W++)!(3&W)&&(b=4294967296*Math.random()),T[W]=b>>>((3&W)<<3)&255;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/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,f,w,u,j){var S=n("./helpers");function b(G,Y){G[Y>>5]|=128<<24-Y%32,G[15+(Y+64>>9<<4)]=Y;for(var U,$,O,D=Array(80),m=1732584193,C=-271733879,p=-1732584194,d=271733878,g=-1009589776,E=0;E<G.length;E+=16){for(var M=m,P=C,V=p,q=d,H=g,R=0;R<80;R++){D[R]=R<16?G[E+R]:W(D[R-3]^D[R-8]^D[R-14]^D[R-16],1);var I=T(T(W(m,5),(I=C,$=p,O=d,(U=R)<20?I&$|~I&O:!(U<40)&&U<60?I&$|I&O|$&O:I^$^O)),T(T(g,D[R]),(U=R)<20?1518500249:U<40?1859775393:U<60?-1894007588:-899497514)),g=d,d=p,p=W(C,30),C=m,m=I}m=T(m,M),C=T(C,P),p=T(p,V),d=T(d,q),g=T(g,H)}return Array(m,C,p,d,g)}function T(G,Y){var U=(65535&G)+(65535&Y);return(G>>16)+(Y>>16)+(U>>16)<<16|65535&U}function W(G,Y){return G<<Y|G>>>32-Y}r.exports=function(G){return S.hash(G,b,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,f,w,u,j){function S(Y,U){var $=(65535&Y)+(65535&U);return(Y>>16)+(U>>16)+($>>16)<<16|65535&$}function b(Y,U){var $,O=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),D=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),m=new Array(64);Y[U>>5]|=128<<24-U%32,Y[15+(U+64>>9<<4)]=U;for(var C,p,d=0;d<Y.length;d+=16){for(var g=D[0],E=D[1],M=D[2],P=D[3],V=D[4],q=D[5],H=D[6],R=D[7],I=0;I<64;I++)m[I]=I<16?Y[I+d]:S(S(S((p=m[I-2],W(p,17)^W(p,19)^G(p,10)),m[I-7]),(p=m[I-15],W(p,7)^W(p,18)^G(p,3))),m[I-16]),$=S(S(S(S(R,W(p=V,6)^W(p,11)^W(p,25)),V&q^~V&H),O[I]),m[I]),C=S(W(C=g,2)^W(C,13)^W(C,22),g&E^g&M^E&M),R=H,H=q,q=V,V=S(P,$),P=M,M=E,E=g,g=S($,C);D[0]=S(g,D[0]),D[1]=S(E,D[1]),D[2]=S(M,D[2]),D[3]=S(P,D[3]),D[4]=S(V,D[4]),D[5]=S(q,D[5]),D[6]=S(H,D[6]),D[7]=S(R,D[7])}return D}var T=n("./helpers"),W=function(Y,U){return Y>>>U|Y<<32-U},G=function(Y,U){return Y>>>U};r.exports=function(Y){return T.hash(Y,b,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,f,w,u,j){i.read=function(S,b,T,W,d){var Y,U,$=8*d-W-1,O=(1<<$)-1,D=O>>1,m=-7,C=T?d-1:0,p=T?-1:1,d=S[b+C];for(C+=p,Y=d&(1<<-m)-1,d>>=-m,m+=$;0<m;Y=256*Y+S[b+C],C+=p,m-=8);for(U=Y&(1<<-m)-1,Y>>=-m,m+=W;0<m;U=256*U+S[b+C],C+=p,m-=8);if(Y===0)Y=1-D;else{if(Y===O)return U?NaN:1/0*(d?-1:1);U+=Math.pow(2,W),Y-=D}return(d?-1:1)*U*Math.pow(2,Y-W)},i.write=function(S,b,T,W,G,g){var U,$,O=8*g-G-1,D=(1<<O)-1,m=D>>1,C=G===23?Math.pow(2,-24)-Math.pow(2,-77):0,p=W?0:g-1,d=W?1:-1,g=b<0||b===0&&1/b<0?1:0;for(b=Math.abs(b),isNaN(b)||b===1/0?($=isNaN(b)?1:0,U=D):(U=Math.floor(Math.log(b)/Math.LN2),b*(W=Math.pow(2,-U))<1&&(U--,W*=2),2<=(b+=1<=U+m?C/W:C*Math.pow(2,1-m))*W&&(U++,W/=2),D<=U+m?($=0,U=D):1<=U+m?($=(b*W-1)*Math.pow(2,G),U+=m):($=b*Math.pow(2,m-1)*Math.pow(2,G),U=0));8<=G;S[T+p]=255&$,p+=d,$/=256,G-=8);for(U=U<<G|$,O+=G;0<O;S[T+p]=255&U,p+=d,U/=256,O-=8);S[T+p-d]|=128*g}}).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,f,w,u,j){var S,b,T;function W(){}(o=r.exports={}).nextTick=(b=typeof window<"u"&&window.setImmediate,T=typeof window<"u"&&window.postMessage&&window.addEventListener,b?function(G){return window.setImmediate(G)}:T?(S=[],window.addEventListener("message",function(G){var Y=G.source;Y!==window&&Y!==null||G.data!=="process-tick"||(G.stopPropagation(),0<S.length&&S.shift()())},!0),function(G){S.push(G),window.postMessage("process-tick","*")}):function(G){setTimeout(G,0)}),o.title="browser",o.browser=!0,o.env={},o.argv=[],o.on=W,o.addListener=W,o.once=W,o.off=W,o.removeListener=W,o.removeAllListeners=W,o.emit=W,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)})})(WB);var Jyt=WB.exports;const Kyt=An(Jyt);function Qyt(t,e){for(var n=-1,r=t==null?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}var VB=Qyt,t0t=i1,e0t=cv,n0t=Object.prototype,r0t=n0t.hasOwnProperty;function i0t(t,e,n){var r=t[e];(!(r0t.call(t,e)&&e0t(r,n))||n===void 0&&!(e in t))&&t0t(t,e,n)}var dT=i0t,o0t=dT,a0t=i1;function s0t(t,e,n,r){var i=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var s=e[o],c=r?r(n[s],t[s],s,n,t):void 0;c===void 0&&(c=t[s]),i?a0t(n,s,c):o0t(n,s,c)}return n}var hv=s0t,l0t=hv,c0t=lv;function u0t(t,e){return t&&l0t(e,c0t(e),t)}var d0t=u0t;function h0t(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}var p0t=h0t,f0t=cs,g0t=l1,m0t=p0t,v0t=Object.prototype,y0t=v0t.hasOwnProperty;function b0t(t){if(!f0t(t))return m0t(t);var e=g0t(t),n=[];for(var r in t)r=="constructor"&&(e||!y0t.call(t,r))||n.push(r);return n}var x0t=b0t,w0t=Uz,_0t=x0t,S0t=Rh;function C0t(t){return S0t(t)?w0t(t,!0):_0t(t)}var pv=C0t,k0t=hv,M0t=pv;function T0t(t,e){return t&&k0t(e,M0t(e),t)}var A0t=T0t,hT={exports:{}};(function(t,e){var n=zs,r=e&&!e.nodeType&&e,i=r&&!0&&t&&!t.nodeType&&t,o=i&&i.exports===r,a=o?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;function c(l,f){if(f)return l.slice();var w=l.length,u=s?s(w):new l.constructor(w);return l.copy(u),u}t.exports=c})(hT,hT.exports);var UB=hT.exports;function E0t(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}var pT=E0t,O0t=hv,P0t=KM;function D0t(t,e){return O0t(t,P0t(t),e)}var L0t=D0t,N0t=Gz,I0t=N0t(Object.getPrototypeOf,Object),fT=I0t,R0t=JM,j0t=fT,$0t=KM,z0t=iB,B0t=Object.getOwnPropertySymbols,F0t=B0t?function(t){for(var e=[];t;)R0t(e,$0t(t)),t=j0t(t);return e}:z0t,GB=F0t,H0t=hv,W0t=GB;function V0t(t,e){return H0t(t,W0t(t),e)}var U0t=V0t,G0t=rB,Y0t=GB,q0t=pv;function X0t(t){return G0t(t,q0t,Y0t)}var Z0t=X0t,J0t=Object.prototype,K0t=J0t.hasOwnProperty;function Q0t(t){var e=t.length,n=new t.constructor(e);return e&&typeof t[0]=="string"&&K0t.call(t,"index")&&(n.index=t.index,n.input=t.input),n}var tbt=Q0t,YB=Qz;function ebt(t){var e=new t.constructor(t.byteLength);return new YB(e).set(new YB(t)),e}var gT=ebt,nbt=gT;function rbt(t,e){var n=e?nbt(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}var ibt=rbt,obt=/\w*$/;function abt(t){var e=new t.constructor(t.source,obt.exec(t));return e.lastIndex=t.lastIndex,e}var sbt=abt,qB=Mf,XB=qB?qB.prototype:void 0,ZB=XB?XB.valueOf:void 0;function lbt(t){return ZB?Object(ZB.call(t)):{}}var cbt=lbt,ubt=gT;function dbt(t,e){var n=e?ubt(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var JB=dbt,hbt=gT,pbt=ibt,fbt=sbt,gbt=cbt,mbt=JB,vbt="[object Boolean]",ybt="[object Date]",bbt="[object Map]",xbt="[object Number]",wbt="[object RegExp]",_bt="[object Set]",Sbt="[object String]",Cbt="[object Symbol]",kbt="[object ArrayBuffer]",Mbt="[object DataView]",Tbt="[object Float32Array]",Abt="[object Float64Array]",Ebt="[object Int8Array]",Obt="[object Int16Array]",Pbt="[object Int32Array]",Dbt="[object Uint8Array]",Lbt="[object Uint8ClampedArray]",Nbt="[object Uint16Array]",Ibt="[object Uint32Array]";function Rbt(t,e,n){var r=t.constructor;switch(e){case kbt:return hbt(t);case vbt:case ybt:return new r(+t);case Mbt:return pbt(t,n);case Tbt:case Abt:case Ebt:case Obt:case Pbt:case Dbt:case Lbt:case Nbt:case Ibt:return mbt(t,n);case bbt:return new r;case xbt:case Sbt:return new r(t);case wbt:return fbt(t);case _bt:return new r;case Cbt:return gbt(t)}}var jbt=Rbt,$bt=cs,KB=Object.create,zbt=function(){function t(){}return function(e){if(!$bt(e))return{};if(KB)return KB(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}(),mT=zbt,Bbt=mT,Fbt=fT,Hbt=l1;function Wbt(t){return typeof t.constructor=="function"&&!Hbt(t)?Bbt(Fbt(t)):{}}var QB=Wbt,Vbt=uv,Ubt=us,Gbt="[object Map]";function Ybt(t){return Ubt(t)&&Vbt(t)==Gbt}var qbt=Ybt,Xbt=qbt,Zbt=a1,t4=UM,e4=t4&&t4.isMap,Jbt=e4?Zbt(e4):Xbt,Kbt=Jbt,Qbt=uv,t1t=us,e1t="[object Set]";function n1t(t){return t1t(t)&&Qbt(t)==e1t}var r1t=n1t,i1t=r1t,o1t=a1,n4=UM,r4=n4&&n4.isSet,a1t=r4?o1t(r4):i1t,s1t=a1t,l1t=p1,c1t=VB,u1t=dT,d1t=d0t,h1t=A0t,p1t=UB,f1t=pT,g1t=L0t,m1t=U0t,v1t=aB,y1t=Z0t,b1t=uv,x1t=tbt,w1t=jbt,_1t=QB,S1t=no,C1t=sv,k1t=Kbt,M1t=cs,T1t=s1t,A1t=lv,E1t=pv,O1t=1,P1t=2,D1t=4,i4="[object Arguments]",L1t="[object Array]",N1t="[object Boolean]",I1t="[object Date]",R1t="[object Error]",o4="[object Function]",j1t="[object GeneratorFunction]",$1t="[object Map]",z1t="[object Number]",a4="[object Object]",B1t="[object RegExp]",F1t="[object Set]",H1t="[object String]",W1t="[object Symbol]",V1t="[object WeakMap]",U1t="[object ArrayBuffer]",G1t="[object DataView]",Y1t="[object Float32Array]",q1t="[object Float64Array]",X1t="[object Int8Array]",Z1t="[object Int16Array]",J1t="[object Int32Array]",K1t="[object Uint8Array]",Q1t="[object Uint8ClampedArray]",txt="[object Uint16Array]",ext="[object Uint32Array]",Fr={};Fr[i4]=Fr[L1t]=Fr[U1t]=Fr[G1t]=Fr[N1t]=Fr[I1t]=Fr[Y1t]=Fr[q1t]=Fr[X1t]=Fr[Z1t]=Fr[J1t]=Fr[$1t]=Fr[z1t]=Fr[a4]=Fr[B1t]=Fr[F1t]=Fr[H1t]=Fr[W1t]=Fr[K1t]=Fr[Q1t]=Fr[txt]=Fr[ext]=!0,Fr[R1t]=Fr[o4]=Fr[V1t]=!1;function S1(t,e,n,r,i,o){var a,s=e&O1t,c=e&P1t,l=e&D1t;if(n&&(a=i?n(t,r,i,o):n(t)),a!==void 0)return a;if(!M1t(t))return t;var f=S1t(t);if(f){if(a=x1t(t),!s)return f1t(t,a)}else{var w=b1t(t),u=w==o4||w==j1t;if(C1t(t))return p1t(t,s);if(w==a4||w==i4||u&&!i){if(a=c||u?{}:_1t(t),!s)return c?m1t(t,h1t(a,t)):g1t(t,d1t(a,t))}else{if(!Fr[w])return i?t:{};a=w1t(t,w,s)}}o||(o=new l1t);var j=o.get(t);if(j)return j;o.set(t,a),T1t(t)?t.forEach(function(T){a.add(S1(T,e,n,T,t,o))}):k1t(t)&&t.forEach(function(T,W){a.set(W,S1(T,e,n,W,t,o))});var S=l?c?y1t:v1t:c?E1t:A1t,b=f?void 0:S(t);return c1t(b||t,function(T,W){b&&(W=T,T=t[W]),u1t(a,W,S1(T,e,n,W,t,o))}),a}var nxt=S1,rxt=nxt,ixt=1,oxt=4;function axt(t){return rxt(t,ixt|oxt)}var sxt=axt;const Ea=An(sxt);var C1;(function(t){t.INCLUDE_ALL="INCLUDE_ALL",t.ADVANCED="ADVANCED",t.INVALID="INVALID",t.CONDITION="CONDITION",t.SPECIFIC_ITEMS="SPECIFIC_ITEMS"})(C1=C1||(C1={}));var k1;(function(t){t.PERIOD="PERIOD",t.DATE_RANGE="DATE_RANGE"})(k1=k1||(k1={}));var M1;(function(t){t.NUMERIC_RANGE="NUMERIC_RANGE"})(M1=M1||(M1={}));var sd;(function(t){t.YEARS="years",t.QUARTERS="quarters",t.MONTHS="months",t.WEEKS="weeks",t.DAYS="days",t.HOURS="hours",t.MINUTES="minutes"})(sd=sd||(sd={}));var Lf;(function(t){t.DATE_TIME="datetime",t.NUMERIC="numeric",t.TEXT="text"})(Lf=Lf||(Lf={}));const lxt=["1","30"],Cr=Object.assign(Object.assign(Object.assign({},C1),k1),M1),cxt={[Cr.INCLUDE_ALL]:{all:!0,filterType:Cr.INCLUDE_ALL},[Cr.PERIOD]:{last:{count:1,offset:1},isNotCurrentPeriod:!0,filterType:Cr.PERIOD},[Cr.DATE_RANGE]:{filterType:Cr.DATE_RANGE},[Cr.NUMERIC_RANGE]:{filterType:Cr.NUMERIC_RANGE},[Cr.CONDITION]:{explicit:!1,multiSelection:!0,exclude:{members:[]},filterType:Cr.CONDITION},[Cr.SPECIFIC_ITEMS]:{explicit:!0,multiSelection:!0,members:[],filterType:Cr.SPECIFIC_ITEMS}},uxt={filter:cxt.INCLUDE_ALL,level:sd.YEARS};var Le;(function(t){t.IS="members",t.IS_NOT="exclude",t.IS_WITHIN="isWithin",t.TOP="top",t.BOTTOM="bottom",t.AFTER="after",t.BEFORE="before",t.STARTS_WITH="startsWith",t.DOESNT_START_WITH="doesntStartWith",t.ENDS_WITH="endsWith",t.DOESNT_END_WITH="doesntEndWith",t.CONTAINS="contains",t.DOESNT_CONTAIN="doesntContain",t.EQUALS="equals",t.DOESNT_EQUAL="doesntEqual",t.IS_EMPTY="isEmpty",t.IS_NOT_EMPTY="isNotEmpty",t.GREATER_THAN="fromNotEqual",t.GREATER_THAN_OR_EQUAL="from",t.LESS_THAN="toNotEqual",t.LESS_THAN_OR_EQUAL="to",t.BETWEEN="between",t.IS_NOT_BETWEEN="isNotBetween",t.MULTIPLE_CONDITION="multipleCondition",t.NONE="none"})(Le=Le||(Le={}));function dxt(t,e){return new R4(t,I4.Union,e)}function hxt(t,e){return new R4(t,I4.Intersection,e)}function s4(t,e,n){return new fwt(t,e,n)}function l4(t,e,n){return new Ll(t,so.DoesntContain,e,n)}function c4(t,e,n){return new Ll(t,so.DoesntEndWith,e,n)}function u4(t,e,n){return new Ll(t,so.DoesntStartWith,e,n)}function d4(t,e,n){return new Ll(t,so.Contains,e,n)}function h4(t,e,n){return new Ll(t,so.EndsWith,e,n)}function p4(t,e,n){return new Ll(t,so.StartsWith,e,n)}function pxt(t,e,n){return new Ll(t,so.Like,e,n)}function f4(t,e,n){return typeof e=="string"?new Ll(t,so.DoesntEqual,e,n):$h(t,Ur.DoesntEqual,e,void 0,void 0,n)}function vT(t,e,n){return typeof e=="string"?new Ll(t,so.Equals,e,n):$h(t,Ur.Equals,e,void 0,void 0,n)}function g4(t,e,n){return $h(t,Ur.FromNotEqual,e,void 0,void 0,n)}function m4(t,e,n){return $h(t,Ur.From,e,void 0,void 0,n)}function v4(t,e,n){return $h(t,Ur.ToNotEqual,e,void 0,void 0,n)}function y4(t,e,n){return $h(t,Ur.To,e,void 0,void 0,n)}function fv(t,e,n,r){return $h(t,Ur.From,e,Ur.To,n,r)}function $h(t,e,n,r,i,o){return new wT(t,e,n,r,i,o)}function ld(t,e,n,r,i,o){return new gv(t,e,n,r,i,o)}function b4(t,e,n,r){return new _T(t,e,n,r)}function x4(t,e,n,r,i){return new O1(t,e,n,xu.Next,r,i)}function w4(t,e,n,r,i){return new O1(t,e,n,xu.Last,r,i)}function Nf(t,e,n,r,i,o,a){return new xT(t,e,n,r,i,o,a)}function fxt(t,e,n){return Nf(t.attribute,t,Ur.Equals,e,void 0,void 0,n)}function gxt(t,e,n){return Nf(t.attribute,t,Ur.FromNotEqual,e,void 0,void 0,n)}function mxt(t,e,n){return Nf(t.attribute,t,Ur.From,e,void 0,void 0,n)}function vxt(t,e,n){return Nf(t.attribute,t,Ur.To,e,void 0,void 0,n)}function yxt(t,e,n){return Nf(t.attribute,t,Ur.ToNotEqual,e,void 0,void 0,n)}function bxt(t,e,n,r){return Nf(t.attribute,t,Ur.From,e,Ur.To,n,r)}function _4(t,e,n,r){return new E1(t,e,T1.Top,n,r)}function S4(t,e,n,r){return new E1(t,e,T1.Bottom,n,r)}const zh=t=>{if(Array.isArray(t)){const[e,...n]=t;return n.length===0?zh(e):{operator:"AND",left:zh(e),right:zh(n)}}return t};var yT;(function(t){t.and=(e,n)=>({operator:"AND",left:zh(e),right:zh(n)}),t.or=(e,n)=>({operator:"OR",left:zh(e),right:zh(n)})})(yT=yT||(yT={}));function xxt(t,e,n){return new ST(t,e,n)}function C4(t){try{if(t==null)return JSON.stringify(t);if(t===Object(t)&&"composeCode"in t)return t.composeCode;if(Array.isArray(t))return"["+t.map(e=>C4(e)).join(", ")+"]";if(typeof t=="string")return`'${t}'`;if(typeof t=="number"||!isNaN(t))return t}catch(e){console.error(e)}return JSON.stringify(t)}function lr(t){return function(...e){const n=e.map(C4).join(", ").replace(/(,\s*)+$/,""),r=`filterFactory.${t.name}(${n})`,i=t(...e);return i.composeCode=r,i}}const k4="DM",M4=(t,e,n,r,i)=>{const o=e??t.slice(1,-1).split(".")[0];if(r){const c=hc.translateJaqlToGranularity({level:r}),l=hc.getDefaultFormatForGranularity(c),f=new hc(n,t,c,l);return f.composeCode=$B(o,n,r,k4),f}const a=hi(i)?un.NumericAttribute:un.TextAttribute,s=new w1(n,t,a);return s.composeCode=$B(o,n,void 0,k4),s},wxt=t=>M4(t.dim,t.table,t.column,t.level,t.datatype),T4=(t,e,n,r,i,o)=>{const a=M4(t,e,n,r,i),s=uT(a,o);return s.composeCode=`measureFactory.${o}(${a.composeCode})`,s},_xt=t=>{const{dim:e,table:n,column:r,level:i,datatype:o,agg:a}=t;if(a)return T4(e,n,r,i,o,a)},A4=t=>{const{dim:e,table:n,column:r,level:i,datatype:o,agg:a}=t;return T4(e,n,r,i,o,a)},Sxt=t=>t.top!==void 0,Cxt=t=>t.bottom!==void 0,kxt=t=>{var e;return!!(!((e=t.exclude)===null||e===void 0)&&e.members)},Mxt=t=>!!t.members&&!!t.isCondition,Txt=t=>{var e,n;return((e=t.last)===null||e===void 0?void 0:e.anchor)!==void 0||((n=t.next)===null||n===void 0?void 0:n.anchor)!==void 0},Axt=t=>t.fromNotEqual!==void 0,Ext=t=>t.from!==void 0&&!t.isBetween,Oxt=t=>t.toNotEqual!==void 0,Pxt=t=>t.to!==void 0&&!t.isBetween,Dxt=t=>t.equals!==void 0,Lxt=t=>t.doesntEqual!==void 0,Nxt=t=>!!(t.equals===""&&t.isEmpty),Ixt=t=>!!(t.doesntEqual===""&&t.isEmpty),Rxt=t=>t.contains!==void 0,jxt=t=>t.doesntContain!==void 0,$xt=t=>t.startsWith!==void 0,zxt=t=>t.doesntStartWith!==void 0,Bxt=t=>t.endsWith!==void 0,Fxt=t=>t.doesntEndWith!==void 0,Hxt=t=>t.from!==void 0&&t.to!==void 0,Wxt=t=>{var e,n;return((e=t.exclude)===null||e===void 0?void 0:e.from)!==void 0&&((n=t.exclude)===null||n===void 0?void 0:n.to)!==void 0},Vxt=t=>!!(t.or||t.and),If=t=>Cxt(t)?Le.BOTTOM:Sxt(t)?Le.TOP:kxt(t)?Le.IS_NOT:Txt(t)?Le.IS_WITHIN:Axt(t)?Le.GREATER_THAN:Oxt(t)?Le.LESS_THAN:Dxt(t)?Le.EQUALS:Lxt(t)?Le.DOESNT_EQUAL:Nxt(t)?Le.IS_EMPTY:Ixt(t)?Le.IS_NOT_EMPTY:Rxt(t)?Le.CONTAINS:jxt(t)?Le.DOESNT_CONTAIN:Fxt(t)?Le.DOESNT_END_WITH:zxt(t)?Le.DOESNT_START_WITH:Bxt(t)?Le.ENDS_WITH:$xt(t)?Le.STARTS_WITH:Wxt(t)?Le.IS_NOT_BETWEEN:Mxt(t)?Le.IS:Vxt(t)?Le.MULTIPLE_CONDITION:Hxt(t)?Le.BETWEEN:Ext(t)?Le.GREATER_THAN_OR_EQUAL:Pxt(t)?Le.LESS_THAN_OR_EQUAL:Le.NONE,bT=(t,e,n)=>{var r,i,o;switch(If(e)){case Le.BOTTOM:if(e.by&&"agg"in e.by)return lr(S4)(t,A4(e.by),e[Le.BOTTOM],n);break;case Le.EQUALS:return lr(vT)(t,e[Le.EQUALS],n);case Le.GREATER_THAN:return lr(g4)(t,e[Le.GREATER_THAN],n);case Le.GREATER_THAN_OR_EQUAL:return lr(m4)(t,e[Le.GREATER_THAN_OR_EQUAL],n);case Le.TOP:if(e.by)return lr(_4)(t,A4(e.by),e[Le.TOP],n);break;case Le.STARTS_WITH:return lr(p4)(t,e[Le.STARTS_WITH],n);case Le.DOESNT_START_WITH:return lr(u4)(t,e[Le.DOESNT_START_WITH],n);case Le.ENDS_WITH:return lr(h4)(t,e[Le.ENDS_WITH],n);case Le.DOESNT_END_WITH:return lr(c4)(t,e[Le.DOESNT_END_WITH],n);case Le.CONTAINS:return lr(d4)(t,e[Le.CONTAINS],n);case Le.DOESNT_CONTAIN:return lr(l4)(t,e[Le.DOESNT_CONTAIN],n);case Le.LESS_THAN:return lr(v4)(t,e[Le.LESS_THAN],n);case Le.LESS_THAN_OR_EQUAL:return lr(y4)(t,e[Le.LESS_THAN_OR_EQUAL],n);case Le.BETWEEN:return lr(fv)(t,e.from,e.to,n);case Le.IS_NOT_BETWEEN:return lr(s4)(lr(fv)(t,(r=e.exclude)===null||r===void 0?void 0:r.from,(i=e.exclude)===null||i===void 0?void 0:i.to,n),void 0,n);case Le.MULTIPLE_CONDITION:if(e.and)return lr(hxt)(e.and.map(a=>bT(t,a,n)),n);if(e.or)return lr(dxt)(e.or.map(a=>bT(t,a,n)),n);break;case Le.IS_NOT:return lr(ld)(t,((o=e.exclude)===null||o===void 0?void 0:o.members)||[],!0,n)}throw"Jaql contains unsupported condition filter: "+JSON.stringify(e)},Uxt=(t,e,n)=>{switch(If(e)){case Le.EQUALS:return lr(fxt)(t,e[Le.EQUALS],n);case Le.GREATER_THAN:return lr(gxt)(t,e[Le.GREATER_THAN],n);case Le.GREATER_THAN_OR_EQUAL:return lr(mxt)(t,e[Le.GREATER_THAN_OR_EQUAL],n);case Le.LESS_THAN:return lr(yxt)(t,e[Le.LESS_THAN],n);case Le.LESS_THAN_OR_EQUAL:return lr(vxt)(t,e[Le.LESS_THAN_OR_EQUAL],n);case Le.BETWEEN:return lr(bxt)(t,e.from,e.to,n)}throw"Jaql contains unsupported condition filter: "+JSON.stringify(e)},Gxt=(t,e)=>{let n=t?t.toLocaleLowerCase():sd.YEARS;return n===sd.MINUTES&&e==="60"&&(n=sd.HOURS),n},Yxt=t=>t==null?void 0:t.all,qxt=t=>t.last?t.last:t.next,Xxt=t=>{var e;return((e=qxt(t))===null||e===void 0?void 0:e.offset)<2},E4=t=>{var e;return((e=t==null?void 0:t.members)===null||e===void 0?void 0:e.length)>=0},Zxt=(t,e)=>t&&typeof t=="string"||e&&typeof e=="string",Jxt=(t,e)=>t===""&&e==="",Kxt=(t,e)=>{const{from:n,to:r}=t;return e!==Lf.DATE_TIME?!1:Zxt(n,r)?!0:Jxt(n,r)},Qxt=t=>{const{from:e,to:n}=t;return e!==void 0&&n!==void 0&&!t.isBetween},O4=t=>If(t)!==Le.NONE,twt=t=>Object.keys(t).includes("isAdvanced"),ewt=t=>!!(t.level&&t.bucket&&t.level===sd.MINUTES&&lxt.includes(t.bucket)),nwt=t=>t.filterType===Cr.INVALID,P4=(t,e=Lf.DATE_TIME,n)=>n&&ewt(n)||twt(t)?Cr.ADVANCED:Yxt(t)?Cr.INCLUDE_ALL:Xxt(t)?Cr.PERIOD:E4(t)?Cr.SPECIFIC_ITEMS:Kxt(t,e)?Cr.DATE_RANGE:Qxt(t)?Cr.NUMERIC_RANGE:O4(t)?Cr.CONDITION:(nwt(t),Cr.INVALID),rwt=(t,e)=>{const{level:n,filter:r,bucket:i}=t,o=r||uxt.filter,a={filter:Object.assign(Object.assign({},o),{filterType:P4(o,e)})};if(e===Lf.DATE_TIME){const s=o,c=(s==null?void 0:s.level)||n;a.level=Gxt(c,i),a.filter.filterType=P4(o,e,{level:c,bucket:i})}return a},D4=(t,e)=>({guid:e||N4(13),jaql:n=>n?t:{jaql:t,panel:"scope"},attribute:{id:t.dim},type:"filter",serializable(){return Object.assign(Object.assign({},this),{jaql:this.jaql()})},toJSON(){return this.serializable()}}),iwt=(t,e)=>lr(ld)(t,[],!0,e),owt=(t,e,n)=>{const r=awt(e),i=swt(e,r);return lr(ld)(t,i,void 0,n,r)};function awt(t){var e,n,r;return!((e=t.filter)===null||e===void 0)&&e.turnedOff?(r=(n=t.filter)===null||n===void 0?void 0:n.exclude)===null||r===void 0?void 0:r.members:void 0}function swt(t,e){const n=t.members;return e?n.filter(r=>!e.includes(r)):n}const lwt=(t,e,n)=>lr(b4)(t,e.from,e.to,n),cwt=(t,e,n)=>lr(fv)(t,e.from,e.to,n),uwt=(t,e,n)=>e.last?lr(w4)(t,e.last.offset,e.last.count,e.last.anchor,n):lr(x4)(t,e.next.offset,e.next.count,e.next.anchor,n),dwt=(t,e,n,r)=>n?Uxt(n,e,r):bT(t,e,r),hwt=(t,e,n)=>lr(xxt)(t,e,n),L4=(t,e)=>{try{if("formula"in t)throw"Formula-based filter not supported yet: "+JSON.stringify(t);const n=rwt(t,t.datatype),{filter:r}=n,{filterType:i}=r,o=wxt(t),a=_xt(t);switch(i){case Cr.INCLUDE_ALL:return iwt(o,e);case Cr.SPECIFIC_ITEMS:return owt(o,r,e);case Cr.CONDITION:return dwt(o,r,a,e);case Cr.DATE_RANGE:return lwt(o,r,e);case Cr.PERIOD:return uwt(o,r,e);case Cr.NUMERIC_RANGE:return cwt(o,r,e);case Cr.ADVANCED:return hwt(o,r,e);case Cr.INVALID:return D4(t,e)}}catch{}return D4(t,e)},N4=function(t){const e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=new Array(t);let r=0,i;for(let o=0;o<t;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]=e[o==19?i&3|8:i]}return n.join("")},fc=t=>{if(!t)return{filters:void 0,relations:void 0};if(Array.isArray(t))return{filters:t,relations:void 0};const e=new Set;function n(o){return o&&("guid"in o?(e.add(o),{instanceid:o.guid}):("left"in o&&(o.left=n(o.left)),"right"in o&&(o.right=n(o.right)),o))}const r=Ea(t),i=n(r);return{filters:Array.from(e),relations:i}};function bu(t){return typeof t=="string"?t:t.title}function pwt(t){return typeof t=="object"&&"type"in t&&"title"in t}const Rf=(t,e)=>{const n=t.filter.filter&&!("turnedOff"in t.filter.filter),r=L4(t,e);return n&&(r.backgroundFilter=L4(Object.assign(Object.assign({},t),{filter:t.filter.filter}),`${e}-bg`)),r},so={Contains:"contains",StartsWith:"startsWith",EndsWith:"endsWith",Equals:"equals",DoesntEqual:"doesntEqual",DoesntStartWith:"doesntStartWith",DoesntContain:"doesntContain",DoesntEndWith:"doesntEndWith",Like:"like"},Ur={Equals:"equals",DoesntEqual:"doesntEqual",From:"from",FromNotEqual:"fromNotEqual",To:"to",ToNotEqual:"toNotEqual"},xu={From:"from",To:"to",Last:"last",Next:"next",Anchor:"Anchor"},I4={Union:"or",Intersection:"and",Exclude:"exclude"},T1={Top:"top",Bottom:"bottom"},Ge={logicalAttribute:"logicalAttribute",members:"members",exclude:"exclude",measure:"measure",ranking:"ranking",text:"text",numeric:"numeric",date:"date",relativeDate:"relativeDate",cascading:"cascading",advanced:"advanced"};let gc=class o$ extends BM{constructor(e,n,r){super("filter",un.Filter),this.filterType=n,o$.checkAttributeSupport(e),this.attribute=e,this.guid=r||N4(13),this.disabled=!1,this.locked=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=e}get locked(){return this._locked}set locked(e){this._locked=e}get name(){return Kyt(this.jaql())}serializable(){const e=super.serializable();return e.filterType=this.filterType,e.attribute=this.attribute.serializable(),e}jaql(e){if(this.disabled)return o$.disabledJaql(e);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"),e===!0?n.jaql:n}static checkAttributeSupport(e){const{granularity:n}=e;if(n===Oe.Hours||n===Oe.MinutesRoundTo30||n===Oe.MinutesRoundTo15||n===Oe.Minutes||n===Oe.Seconds)throw new BB("errors.filter.unsupportedDatetimeLevel")}static disabledJaql(e){return e?{filter:{}}:{jaql:{filter:{}}}}},R4=class extends gc{constructor(e,n,r){super(e[0].attribute,Ge.logicalAttribute,r),this.operator=n,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(n=>n.serializable()),e}filterJaql(){const e={};return e[this.operator]=this.filters.map(n=>n.filterJaql()),e}},gv=class extends gc{constructor(e,n,r,i,o,a){if(super(e,Ge.members,i),this.members=n??[],this.excludeMembers=r??!1,this.deactivatedMembers=o??[],this.backgroundFilter=a,this.members.filter(s=>s==null).length>0)throw new BB("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(r=>r.toString())},n=this.excludeMembers?{exclude:e}:e;return this.backgroundFilter?{and:[n,this.backgroundFilter.filterJaql()]}:n}},j4=class extends gc{constructor(e,n){super(e[0].attribute,Ge.cascading,n),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(n=>{n.disabled=e})}get locked(){return super.locked}set locked(e){super.locked=e,this.filters&&this.filters.forEach(n=>{n.locked=e})}serializable(){const e=super.serializable();return e.filters=this.filters.map(n=>n.serializable()),e}filterJaql(){return{}}jaql(e){return this.disabled?gc.disabledJaql(e):this.filters.map(n=>(n.isScope=!0,n.jaql(e)))}},fwt=class extends gc{constructor(e,n,r){super(e.attribute,Ge.exclude,r),this.input=n,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={},n=this.filter.filterJaql();return this.input?(e.filter=this.input.filterJaql(),e.filter.filter={exclude:n}):e.exclude=n,e}},A1=class extends gc{constructor(e,n,r,i,o,a,s){super(e,n,s),r&&i!==void 0&&(this.valueA=i,this.operatorA=r),o&&a!==void 0&&(this.operatorB=o,this.valueB=a)}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}},xT=class extends A1{constructor(e,n,r,i,o,a,s){super(e,Ge.measure,r,i,o,a,s),this.measure=n}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 gc.disabledJaql(e);const n=super.jaql(e);return this.measure instanceof pc&&Object.entries(this.measure.jaql().jaql).forEach(([r,i])=>{n.jaql[r]=i}),n}},E1=class extends gc{constructor(e,n,r,i,o){super(e,Ge.ranking,o),this.count=i,this.operator=r,this.measure=n}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}},wT=class extends A1{constructor(e,n,r,i,o,a){super(e,Ge.numeric,n,r,i,o,a)}};class Ll extends A1{constructor(e,n,r,i){super(e,Ge.text,n,r,void 0,void 0,i)}}let _T=class extends A1{constructor(e,n,r,i){super(e,Ge.date,xu.From,n,xu.To,r,i),typeof n=="object"&&(this.valueA=n.toISOString()),typeof r=="object"&&(this.valueB=r.toISOString())}get level(){return this.attribute}get from(){return this.valueA}get to(){return this.valueB}filterJaql(){return super.filterJaql()}},O1=class extends gc{constructor(e,n,r,i,o,a){super(e,Ge.relativeDate,a),i||(i=xu.Next),this.anchor=o,this.operator=i,this.offset=n,this.count=r}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}},ST=class extends gc{constructor(e,n,r){super(e,Ge.advanced,r),delete n.filterType,this.jaqlExpression=n}get id(){return`custom_${this.attribute.id}_${this.guid}`}filterJaql(){return this.jaqlExpression}};const ea={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 CT(t){return[ta(ea.BOX_MIN_VALUE_NAME,"QUARTILE([Attr], 1)",{Attr:t}),ta(ea.BOX_MEDIAN_VALUE_NAME,"MEDIAN([Attr])",{Attr:t}),ta(ea.BOX_MAX_VALUE_NAME,"QUARTILE([Attr], 3)",{Attr:t})]}function gwt(t){return[...CT(t),ta(ea.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_IQR([Attr])",{Attr:t}),ta(ea.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_IQR([Attr])",{Attr:t}),ta(ea.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_IQR([Attr])",{Attr:t})]}function mwt(t){return[...CT(t),ta(ea.WHISKER_MIN_VALUE_NAME,"MIN([Attr])",{Attr:t}),ta(ea.WHISKER_MAX_VALUE_NAME,"MAX([Attr])",{Attr:t})]}function vwt(t){return[...CT(t),ta(ea.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_STDEVP([Attr])",{Attr:t}),ta(ea.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_STDEVP([Attr])",{Attr:t}),ta(ea.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_STDEVP([Attr])",{Attr:t})]}const ywt=t=>{const e=Ea(t),n=ta(ea.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_IQR([Attr]), all([Attr]))",{Attr:t}),r=ta(ea.OUTLIER_MIN_VALUE_NAME,"(LOWERWHISKERMAX_IQR([Attr]), all([Attr]))",{Attr:t});return e.name=`${e.name} (Outliers)`,e.jaql=i=>{const o=Object.assign(Object.assign({},t.jaql(!0)),{filter:{or:[{fromNotEqual:n.jaql(!0)},{toNotEqual:r.jaql(!0)}]}});return i?o:{jaql:o}},e},bwt=t=>{const e=Ea(t),n=ta(ea.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_STDEVP([Attr]), all([Attr]))",{Attr:t}),r=ta(ea.OUTLIER_MIN_VALUE_NAME,"(LOWERWHISKERMAX_STDEVP([Attr]), all([Attr]))",{Attr:t});return e.jaql=i=>{const o=Object.assign(Object.assign({},t.jaql(!0)),{filter:{or:[{fromNotEqual:n.jaql(!0)},{toNotEqual:r.jaql(!0)}]}});return i?o:{jaql:o}},e};function xwt(t,e){const n=e==null?void 0:e.find(r=>$4(t)===r.attribute.id);return n&&!n.disabled&&(n.isScope&&(n.isScope=!1),t.jaql.in={selected:n.jaql()}),t}function wwt(t,e){const n=[],r=[];return e.forEach(i=>{t.some(o=>$4(o)===i.attribute.id)?n.push(i):r.push(i)}),[n,r]}function $4(t){const{dim:e,level:n,dateTimeLevel:r,bucket:i}=t.jaql;let o=`${e}`;return(n||r)&&(o+=`_${n||r}`),i&&(o+=`_${i}`),o}var _wt=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function Swt(t,e,n){return{rowsCount:t.length,columnsCount:e.length,measuresCount:n.length}}function Cwt(t){switch(t){case"sortAsc":return"asc";case"sortDesc":return"desc";default:return"none"}}function kwt(t,e,n){const r=Cwt(t.direction),i=e===n.rowsCount-1,o={dir:r,initialized:!0,field:t.by&&"valuesIndex"in t.by?n.rowsCount+n.columnsCount+t.by.valuesIndex:e};return i&&(o.sortingLastDimension=!0),t.by&&(o.measurePath=(t.by.columnsMembersPath||[]).reduce((a,s,c)=>Object.assign(Object.assign({},a),{[n.rowsCount+c]:s}),{})),{sort:r,sortDetails:o}}function Mwt(t,e){const n=t[e.rowsCount-1];if(n.jaql.sortDetails&&n.jaql.sortDetails.field!==e.rowsCount-1){const r=t[n.jaql.sortDetails.field],i=n.jaql,{sortDetails:o,sort:a}=i,s=_wt(i,["sortDetails","sort"]);r.jaql.sortDetails=o,r.jaql.sort=a,n.jaql=s}}const P1="ComposeSDK";function z4(t,e){const{attributes:n,measures:r,filters:i,filterRelations:o,highlights:a,dataSource:s,count:c,offset:l,ungroup:f}=t,w=f&&r.length===0,u=Object.assign({metadata:Twt({attributes:n,measures:r,filters:i,filterRelations:o,highlights:a},e)},Awt(s,c,l,w));return o?Object.assign(Object.assign({},u),{filterRelations:o}):u}function B4(t,e,n,r,i){const[o,a]=wwt(t,r);t.forEach(l=>xwt(l,o));const s=l=>{const f=l.jaql();return n?Array.isArray(f)?f.map(w=>Object.assign(Object.assign({},w),{instanceid:l.guid})):Object.assign(Object.assign({},f),{instanceid:l.guid}):f},c=(i?e.flatMap(l=>s(l)):[...e,...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 Twt(t,e){const{attributes:n,measures:r,filters:i,filterRelations:o,highlights:a}=t,s=n.map(f=>f.jaql()),c=r.map(f=>f.jaql()),l=B4(s,i,o,a,e);return[...s,...c,...l]}function Awt(t,e,n,r){return Object.assign(Object.assign(Object.assign({datasource:H4(t),by:P1,queryGuid:Tz()},r?{ungroup:!0}:{}),e?{count:e}:{}),n?{offset:n}:{})}function Ewt(t,e){const{rowsAttributes:n,columnsAttributes:r,measures:i,filters:o,filterRelations:a,grandTotals:s,highlights:c,dataSource:l,count:f,offset:w}=t,u=Object.assign({metadata:Pwt({rowsAttributes:n,columnsAttributes:r,measures:i,filters:o,highlights:c},e)},Dwt(l,s,f,w));return a?Object.assign(Object.assign({},u),{filterRelations:a}):u}function F4(t,e,n,r){const i=e==="rows"&&zM(t)&&t.sort&&t.sort.direction!=="sortNone",o=Object.assign(Object.assign({},zM(t)?t.attribute.jaql(!0):t.jaql(!0)),i&&kwt(t.sort,n,r));return Object.assign(Object.assign({jaql:o},zM(t)&&t.includeSubTotals?{format:{subtotal:!0}}:{}),{panel:e,field:{index:n,id:`${e}-${n}`}})}function Owt(t,e,n){return Object.assign(Object.assign({},jut(t)?di(t.measure.jaql(),{jaql:{subtotalAgg:t.totalsCalculation},format:{databars:t.dataBars||!1}}):t.jaql()),{panel:e,field:{index:n,id:`${e}-${n}`}})}function Pwt(t,e){const{rowsAttributes:n,columnsAttributes:r,measures:i,filters:o,filterRelations:a,highlights:s}=t,c=Swt(n,r,i);let l=0;const f=n.map((T,W)=>F4(T,"rows",W+l,c));l=l+n.length;const w=r.map((T,W)=>F4(T,"columns",W+l,c));l=l+r.length;const u=[...f,...w],j=i.map((T,W)=>Owt(T,"measures",W+l)),S=B4(u,o,a,s,e),b=[...u,...j,...S];return Mwt(b,c),b}function Dwt(t,e,n,r){return Object.assign(Object.assign(Object.assign({datasource:H4(t),by:P1,queryGuid:Tz(),dashboard:P1,widget:P1,format:"pivot"},n?{count:n}:{}),r?{offset:r}:{}),{grandTotals:Object.assign(Object.assign({},$ut),e)})}function H4(t){return pwt(t)?{title:t.title,live:t.type==="live"}:t}function Lwt(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Nwt(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var Iwt=function(){function t(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 e=t.prototype;return e.hydrate=function(n){n.forEach(this._insertTag)},e.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Nwt(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(p){return $(p)},i.createHmac=$,i.randomBytes=function(p,d){if(!d||!d.call)return new S(W(p));try{d.call(this,void 0,new S(W(p)))}catch(g){d(g)}};var D,m=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],C=function(p){i[p]=function(){O("sorry,",p,"is not implemented yet")}};for(D in m)C(m[D])}).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,f,w,u,j){var S=n("./helpers");function b(O,D){O[D>>5]|=128<<D%32,O[14+(D+64>>>9<<4)]=D;for(var m=1732584193,C=-271733879,p=-1732584194,d=271733878,g=0;g<O.length;g+=16){var E=m,M=C,P=p,V=d,m=W(m,C,p,d,O[g+0],7,-680876936),d=W(d,m,C,p,O[g+1],12,-389564586),p=W(p,d,m,C,O[g+2],17,606105819),C=W(C,p,d,m,O[g+3],22,-1044525330);m=W(m,C,p,d,O[g+4],7,-176418897),d=W(d,m,C,p,O[g+5],12,1200080426),p=W(p,d,m,C,O[g+6],17,-1473231341),C=W(C,p,d,m,O[g+7],22,-45705983),m=W(m,C,p,d,O[g+8],7,1770035416),d=W(d,m,C,p,O[g+9],12,-1958414417),p=W(p,d,m,C,O[g+10],17,-42063),C=W(C,p,d,m,O[g+11],22,-1990404162),m=W(m,C,p,d,O[g+12],7,1804603682),d=W(d,m,C,p,O[g+13],12,-40341101),p=W(p,d,m,C,O[g+14],17,-1502002290),m=G(m,C=W(C,p,d,m,O[g+15],22,1236535329),p,d,O[g+1],5,-165796510),d=G(d,m,C,p,O[g+6],9,-1069501632),p=G(p,d,m,C,O[g+11],14,643717713),C=G(C,p,d,m,O[g+0],20,-373897302),m=G(m,C,p,d,O[g+5],5,-701558691),d=G(d,m,C,p,O[g+10],9,38016083),p=G(p,d,m,C,O[g+15],14,-660478335),C=G(C,p,d,m,O[g+4],20,-405537848),m=G(m,C,p,d,O[g+9],5,568446438),d=G(d,m,C,p,O[g+14],9,-1019803690),p=G(p,d,m,C,O[g+3],14,-187363961),C=G(C,p,d,m,O[g+8],20,1163531501),m=G(m,C,p,d,O[g+13],5,-1444681467),d=G(d,m,C,p,O[g+2],9,-51403784),p=G(p,d,m,C,O[g+7],14,1735328473),m=Y(m,C=G(C,p,d,m,O[g+12],20,-1926607734),p,d,O[g+5],4,-378558),d=Y(d,m,C,p,O[g+8],11,-2022574463),p=Y(p,d,m,C,O[g+11],16,1839030562),C=Y(C,p,d,m,O[g+14],23,-35309556),m=Y(m,C,p,d,O[g+1],4,-1530992060),d=Y(d,m,C,p,O[g+4],11,1272893353),p=Y(p,d,m,C,O[g+7],16,-155497632),C=Y(C,p,d,m,O[g+10],23,-1094730640),m=Y(m,C,p,d,O[g+13],4,681279174),d=Y(d,m,C,p,O[g+0],11,-358537222),p=Y(p,d,m,C,O[g+3],16,-722521979),C=Y(C,p,d,m,O[g+6],23,76029189),m=Y(m,C,p,d,O[g+9],4,-640364487),d=Y(d,m,C,p,O[g+12],11,-421815835),p=Y(p,d,m,C,O[g+15],16,530742520),m=U(m,C=Y(C,p,d,m,O[g+2],23,-995338651),p,d,O[g+0],6,-198630844),d=U(d,m,C,p,O[g+7],10,1126891415),p=U(p,d,m,C,O[g+14],15,-1416354905),C=U(C,p,d,m,O[g+5],21,-57434055),m=U(m,C,p,d,O[g+12],6,1700485571),d=U(d,m,C,p,O[g+3],10,-1894986606),p=U(p,d,m,C,O[g+10],15,-1051523),C=U(C,p,d,m,O[g+1],21,-2054922799),m=U(m,C,p,d,O[g+8],6,1873313359),d=U(d,m,C,p,O[g+15],10,-30611744),p=U(p,d,m,C,O[g+6],15,-1560198380),C=U(C,p,d,m,O[g+13],21,1309151649),m=U(m,C,p,d,O[g+4],6,-145523070),d=U(d,m,C,p,O[g+11],10,-1120210379),p=U(p,d,m,C,O[g+2],15,718787259),C=U(C,p,d,m,O[g+9],21,-343485551),m=$(m,E),C=$(C,M),p=$(p,P),d=$(d,V)}return Array(m,C,p,d)}function T(O,D,m,C,p,d){return $((D=$($(D,O),$(C,d)))<<p|D>>>32-p,m)}function W(O,D,m,C,p,d,g){return T(D&m|~D&C,O,D,p,d,g)}function G(O,D,m,C,p,d,g){return T(D&C|m&~C,O,D,p,d,g)}function Y(O,D,m,C,p,d,g){return T(D^m^C,O,D,p,d,g)}function U(O,D,m,C,p,d,g){return T(m^(D|~C),O,D,p,d,g)}function $(O,D){var m=(65535&O)+(65535&D);return(O>>16)+(D>>16)+(m>>16)<<16|65535&m}r.exports=function(O){return S.hash(O,b,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,f,w,u,j){r.exports=function(S){for(var b,T=new Array(S),W=0;W<S;W++)!(3&W)&&(b=4294967296*Math.random()),T[W]=b>>>((3&W)<<3)&255;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/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,f,w,u,j){var S=n("./helpers");function b(G,Y){G[Y>>5]|=128<<24-Y%32,G[15+(Y+64>>9<<4)]=Y;for(var U,$,O,D=Array(80),m=1732584193,C=-271733879,p=-1732584194,d=271733878,g=-1009589776,E=0;E<G.length;E+=16){for(var M=m,P=C,V=p,q=d,H=g,R=0;R<80;R++){D[R]=R<16?G[E+R]:W(D[R-3]^D[R-8]^D[R-14]^D[R-16],1);var I=T(T(W(m,5),(I=C,$=p,O=d,(U=R)<20?I&$|~I&O:!(U<40)&&U<60?I&$|I&O|$&O:I^$^O)),T(T(g,D[R]),(U=R)<20?1518500249:U<40?1859775393:U<60?-1894007588:-899497514)),g=d,d=p,p=W(C,30),C=m,m=I}m=T(m,M),C=T(C,P),p=T(p,V),d=T(d,q),g=T(g,H)}return Array(m,C,p,d,g)}function T(G,Y){var U=(65535&G)+(65535&Y);return(G>>16)+(Y>>16)+(U>>16)<<16|65535&U}function W(G,Y){return G<<Y|G>>>32-Y}r.exports=function(G){return S.hash(G,b,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,f,w,u,j){function S(Y,U){var $=(65535&Y)+(65535&U);return(Y>>16)+(U>>16)+($>>16)<<16|65535&$}function b(Y,U){var $,O=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),D=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),m=new Array(64);Y[U>>5]|=128<<24-U%32,Y[15+(U+64>>9<<4)]=U;for(var C,p,d=0;d<Y.length;d+=16){for(var g=D[0],E=D[1],M=D[2],P=D[3],V=D[4],q=D[5],H=D[6],R=D[7],I=0;I<64;I++)m[I]=I<16?Y[I+d]:S(S(S((p=m[I-2],W(p,17)^W(p,19)^G(p,10)),m[I-7]),(p=m[I-15],W(p,7)^W(p,18)^G(p,3))),m[I-16]),$=S(S(S(S(R,W(p=V,6)^W(p,11)^W(p,25)),V&q^~V&H),O[I]),m[I]),C=S(W(C=g,2)^W(C,13)^W(C,22),g&E^g&M^E&M),R=H,H=q,q=V,V=S(P,$),P=M,M=E,E=g,g=S($,C);D[0]=S(g,D[0]),D[1]=S(E,D[1]),D[2]=S(M,D[2]),D[3]=S(P,D[3]),D[4]=S(V,D[4]),D[5]=S(q,D[5]),D[6]=S(H,D[6]),D[7]=S(R,D[7])}return D}var T=n("./helpers"),W=function(Y,U){return Y>>>U|Y<<32-U},G=function(Y,U){return Y>>>U};r.exports=function(Y){return T.hash(Y,b,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,f,w,u,j){i.read=function(S,b,T,W,d){var Y,U,$=8*d-W-1,O=(1<<$)-1,D=O>>1,m=-7,C=T?d-1:0,p=T?-1:1,d=S[b+C];for(C+=p,Y=d&(1<<-m)-1,d>>=-m,m+=$;0<m;Y=256*Y+S[b+C],C+=p,m-=8);for(U=Y&(1<<-m)-1,Y>>=-m,m+=W;0<m;U=256*U+S[b+C],C+=p,m-=8);if(Y===0)Y=1-D;else{if(Y===O)return U?NaN:1/0*(d?-1:1);U+=Math.pow(2,W),Y-=D}return(d?-1:1)*U*Math.pow(2,Y-W)},i.write=function(S,b,T,W,G,g){var U,$,O=8*g-G-1,D=(1<<O)-1,m=D>>1,C=G===23?Math.pow(2,-24)-Math.pow(2,-77):0,p=W?0:g-1,d=W?1:-1,g=b<0||b===0&&1/b<0?1:0;for(b=Math.abs(b),isNaN(b)||b===1/0?($=isNaN(b)?1:0,U=D):(U=Math.floor(Math.log(b)/Math.LN2),b*(W=Math.pow(2,-U))<1&&(U--,W*=2),2<=(b+=1<=U+m?C/W:C*Math.pow(2,1-m))*W&&(U++,W/=2),D<=U+m?($=0,U=D):1<=U+m?($=(b*W-1)*Math.pow(2,G),U+=m):($=b*Math.pow(2,m-1)*Math.pow(2,G),U=0));8<=G;S[T+p]=255&$,p+=d,$/=256,G-=8);for(U=U<<G|$,O+=G;0<O;S[T+p]=255&U,p+=d,U/=256,O-=8);S[T+p-d]|=128*g}}).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,f,w,u,j){var S,b,T;function W(){}(o=r.exports={}).nextTick=(b=typeof window<"u"&&window.setImmediate,T=typeof window<"u"&&window.postMessage&&window.addEventListener,b?function(G){return window.setImmediate(G)}:T?(S=[],window.addEventListener("message",function(G){var Y=G.source;Y!==window&&Y!==null||G.data!=="process-tick"||(G.stopPropagation(),0<S.length&&S.shift()())},!0),function(G){S.push(G),window.postMessage("process-tick","*")}):function(G){setTimeout(G,0)}),o.title="browser",o.browser=!0,o.env={},o.argv=[],o.on=W,o.addListener=W,o.once=W,o.off=W,o.removeListener=W,o.removeAllListeners=W,o.emit=W,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)})})(WB);var Jyt=WB.exports;const Kyt=An(Jyt);function Qyt(t,e){for(var n=-1,r=t==null?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}var VB=Qyt,t0t=i1,e0t=cv,n0t=Object.prototype,r0t=n0t.hasOwnProperty;function i0t(t,e,n){var r=t[e];(!(r0t.call(t,e)&&e0t(r,n))||n===void 0&&!(e in t))&&t0t(t,e,n)}var dT=i0t,o0t=dT,a0t=i1;function s0t(t,e,n,r){var i=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var s=e[o],c=r?r(n[s],t[s],s,n,t):void 0;c===void 0&&(c=t[s]),i?a0t(n,s,c):o0t(n,s,c)}return n}var hv=s0t,l0t=hv,c0t=lv;function u0t(t,e){return t&&l0t(e,c0t(e),t)}var d0t=u0t;function h0t(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}var p0t=h0t,f0t=cs,g0t=l1,m0t=p0t,v0t=Object.prototype,y0t=v0t.hasOwnProperty;function b0t(t){if(!f0t(t))return m0t(t);var e=g0t(t),n=[];for(var r in t)r=="constructor"&&(e||!y0t.call(t,r))||n.push(r);return n}var x0t=b0t,w0t=Uz,_0t=x0t,S0t=Rh;function C0t(t){return S0t(t)?w0t(t,!0):_0t(t)}var pv=C0t,k0t=hv,M0t=pv;function T0t(t,e){return t&&k0t(e,M0t(e),t)}var A0t=T0t,hT={exports:{}};(function(t,e){var n=zs,r=e&&!e.nodeType&&e,i=r&&!0&&t&&!t.nodeType&&t,o=i&&i.exports===r,a=o?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;function c(l,f){if(f)return l.slice();var w=l.length,u=s?s(w):new l.constructor(w);return l.copy(u),u}t.exports=c})(hT,hT.exports);var UB=hT.exports;function E0t(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}var pT=E0t,O0t=hv,P0t=KM;function D0t(t,e){return O0t(t,P0t(t),e)}var L0t=D0t,N0t=Gz,I0t=N0t(Object.getPrototypeOf,Object),fT=I0t,R0t=JM,j0t=fT,$0t=KM,z0t=iB,B0t=Object.getOwnPropertySymbols,F0t=B0t?function(t){for(var e=[];t;)R0t(e,$0t(t)),t=j0t(t);return e}:z0t,GB=F0t,H0t=hv,W0t=GB;function V0t(t,e){return H0t(t,W0t(t),e)}var U0t=V0t,G0t=rB,Y0t=GB,q0t=pv;function X0t(t){return G0t(t,q0t,Y0t)}var Z0t=X0t,J0t=Object.prototype,K0t=J0t.hasOwnProperty;function Q0t(t){var e=t.length,n=new t.constructor(e);return e&&typeof t[0]=="string"&&K0t.call(t,"index")&&(n.index=t.index,n.input=t.input),n}var tbt=Q0t,YB=Qz;function ebt(t){var e=new t.constructor(t.byteLength);return new YB(e).set(new YB(t)),e}var gT=ebt,nbt=gT;function rbt(t,e){var n=e?nbt(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}var ibt=rbt,obt=/\w*$/;function abt(t){var e=new t.constructor(t.source,obt.exec(t));return e.lastIndex=t.lastIndex,e}var sbt=abt,qB=Mf,XB=qB?qB.prototype:void 0,ZB=XB?XB.valueOf:void 0;function lbt(t){return ZB?Object(ZB.call(t)):{}}var cbt=lbt,ubt=gT;function dbt(t,e){var n=e?ubt(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var JB=dbt,hbt=gT,pbt=ibt,fbt=sbt,gbt=cbt,mbt=JB,vbt="[object Boolean]",ybt="[object Date]",bbt="[object Map]",xbt="[object Number]",wbt="[object RegExp]",_bt="[object Set]",Sbt="[object String]",Cbt="[object Symbol]",kbt="[object ArrayBuffer]",Mbt="[object DataView]",Tbt="[object Float32Array]",Abt="[object Float64Array]",Ebt="[object Int8Array]",Obt="[object Int16Array]",Pbt="[object Int32Array]",Dbt="[object Uint8Array]",Lbt="[object Uint8ClampedArray]",Nbt="[object Uint16Array]",Ibt="[object Uint32Array]";function Rbt(t,e,n){var r=t.constructor;switch(e){case kbt:return hbt(t);case vbt:case ybt:return new r(+t);case Mbt:return pbt(t,n);case Tbt:case Abt:case Ebt:case Obt:case Pbt:case Dbt:case Lbt:case Nbt:case Ibt:return mbt(t,n);case bbt:return new r;case xbt:case Sbt:return new r(t);case wbt:return fbt(t);case _bt:return new r;case Cbt:return gbt(t)}}var jbt=Rbt,$bt=cs,KB=Object.create,zbt=function(){function t(){}return function(e){if(!$bt(e))return{};if(KB)return KB(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}(),mT=zbt,Bbt=mT,Fbt=fT,Hbt=l1;function Wbt(t){return typeof t.constructor=="function"&&!Hbt(t)?Bbt(Fbt(t)):{}}var QB=Wbt,Vbt=uv,Ubt=us,Gbt="[object Map]";function Ybt(t){return Ubt(t)&&Vbt(t)==Gbt}var qbt=Ybt,Xbt=qbt,Zbt=a1,t4=UM,e4=t4&&t4.isMap,Jbt=e4?Zbt(e4):Xbt,Kbt=Jbt,Qbt=uv,t1t=us,e1t="[object Set]";function n1t(t){return t1t(t)&&Qbt(t)==e1t}var r1t=n1t,i1t=r1t,o1t=a1,n4=UM,r4=n4&&n4.isSet,a1t=r4?o1t(r4):i1t,s1t=a1t,l1t=p1,c1t=VB,u1t=dT,d1t=d0t,h1t=A0t,p1t=UB,f1t=pT,g1t=L0t,m1t=U0t,v1t=aB,y1t=Z0t,b1t=uv,x1t=tbt,w1t=jbt,_1t=QB,S1t=no,C1t=sv,k1t=Kbt,M1t=cs,T1t=s1t,A1t=lv,E1t=pv,O1t=1,P1t=2,D1t=4,i4="[object Arguments]",L1t="[object Array]",N1t="[object Boolean]",I1t="[object Date]",R1t="[object Error]",o4="[object Function]",j1t="[object GeneratorFunction]",$1t="[object Map]",z1t="[object Number]",a4="[object Object]",B1t="[object RegExp]",F1t="[object Set]",H1t="[object String]",W1t="[object Symbol]",V1t="[object WeakMap]",U1t="[object ArrayBuffer]",G1t="[object DataView]",Y1t="[object Float32Array]",q1t="[object Float64Array]",X1t="[object Int8Array]",Z1t="[object Int16Array]",J1t="[object Int32Array]",K1t="[object Uint8Array]",Q1t="[object Uint8ClampedArray]",txt="[object Uint16Array]",ext="[object Uint32Array]",Fr={};Fr[i4]=Fr[L1t]=Fr[U1t]=Fr[G1t]=Fr[N1t]=Fr[I1t]=Fr[Y1t]=Fr[q1t]=Fr[X1t]=Fr[Z1t]=Fr[J1t]=Fr[$1t]=Fr[z1t]=Fr[a4]=Fr[B1t]=Fr[F1t]=Fr[H1t]=Fr[W1t]=Fr[K1t]=Fr[Q1t]=Fr[txt]=Fr[ext]=!0,Fr[R1t]=Fr[o4]=Fr[V1t]=!1;function S1(t,e,n,r,i,o){var a,s=e&O1t,c=e&P1t,l=e&D1t;if(n&&(a=i?n(t,r,i,o):n(t)),a!==void 0)return a;if(!M1t(t))return t;var f=S1t(t);if(f){if(a=x1t(t),!s)return f1t(t,a)}else{var w=b1t(t),u=w==o4||w==j1t;if(C1t(t))return p1t(t,s);if(w==a4||w==i4||u&&!i){if(a=c||u?{}:_1t(t),!s)return c?m1t(t,h1t(a,t)):g1t(t,d1t(a,t))}else{if(!Fr[w])return i?t:{};a=w1t(t,w,s)}}o||(o=new l1t);var j=o.get(t);if(j)return j;o.set(t,a),T1t(t)?t.forEach(function(T){a.add(S1(T,e,n,T,t,o))}):k1t(t)&&t.forEach(function(T,W){a.set(W,S1(T,e,n,W,t,o))});var S=l?c?y1t:v1t:c?E1t:A1t,b=f?void 0:S(t);return c1t(b||t,function(T,W){b&&(W=T,T=t[W]),u1t(a,W,S1(T,e,n,W,t,o))}),a}var nxt=S1,rxt=nxt,ixt=1,oxt=4;function axt(t){return rxt(t,ixt|oxt)}var sxt=axt;const Ea=An(sxt);var C1;(function(t){t.INCLUDE_ALL="INCLUDE_ALL",t.ADVANCED="ADVANCED",t.INVALID="INVALID",t.CONDITION="CONDITION",t.SPECIFIC_ITEMS="SPECIFIC_ITEMS"})(C1=C1||(C1={}));var k1;(function(t){t.PERIOD="PERIOD",t.DATE_RANGE="DATE_RANGE"})(k1=k1||(k1={}));var M1;(function(t){t.NUMERIC_RANGE="NUMERIC_RANGE"})(M1=M1||(M1={}));var sd;(function(t){t.YEARS="years",t.QUARTERS="quarters",t.MONTHS="months",t.WEEKS="weeks",t.DAYS="days",t.HOURS="hours",t.MINUTES="minutes"})(sd=sd||(sd={}));var Lf;(function(t){t.DATE_TIME="datetime",t.NUMERIC="numeric",t.TEXT="text"})(Lf=Lf||(Lf={}));const lxt=["1","30"],Cr=Object.assign(Object.assign(Object.assign({},C1),k1),M1),cxt={[Cr.INCLUDE_ALL]:{all:!0,filterType:Cr.INCLUDE_ALL},[Cr.PERIOD]:{last:{count:1,offset:1},isNotCurrentPeriod:!0,filterType:Cr.PERIOD},[Cr.DATE_RANGE]:{filterType:Cr.DATE_RANGE},[Cr.NUMERIC_RANGE]:{filterType:Cr.NUMERIC_RANGE},[Cr.CONDITION]:{explicit:!1,multiSelection:!0,exclude:{members:[]},filterType:Cr.CONDITION},[Cr.SPECIFIC_ITEMS]:{explicit:!0,multiSelection:!0,members:[],filterType:Cr.SPECIFIC_ITEMS}},uxt={filter:cxt.INCLUDE_ALL,level:sd.YEARS};var Le;(function(t){t.IS="members",t.IS_NOT="exclude",t.IS_WITHIN="isWithin",t.TOP="top",t.BOTTOM="bottom",t.AFTER="after",t.BEFORE="before",t.STARTS_WITH="startsWith",t.DOESNT_START_WITH="doesntStartWith",t.ENDS_WITH="endsWith",t.DOESNT_END_WITH="doesntEndWith",t.CONTAINS="contains",t.DOESNT_CONTAIN="doesntContain",t.EQUALS="equals",t.DOESNT_EQUAL="doesntEqual",t.IS_EMPTY="isEmpty",t.IS_NOT_EMPTY="isNotEmpty",t.GREATER_THAN="fromNotEqual",t.GREATER_THAN_OR_EQUAL="from",t.LESS_THAN="toNotEqual",t.LESS_THAN_OR_EQUAL="to",t.BETWEEN="between",t.IS_NOT_BETWEEN="isNotBetween",t.MULTIPLE_CONDITION="multipleCondition",t.NONE="none"})(Le=Le||(Le={}));function dxt(t,e){return new R4(t,I4.Union,e)}function hxt(t,e){return new R4(t,I4.Intersection,e)}function s4(t,e,n){return new fwt(t,e,n)}function l4(t,e,n){return new Ll(t,so.DoesntContain,e,n)}function c4(t,e,n){return new Ll(t,so.DoesntEndWith,e,n)}function u4(t,e,n){return new Ll(t,so.DoesntStartWith,e,n)}function d4(t,e,n){return new Ll(t,so.Contains,e,n)}function h4(t,e,n){return new Ll(t,so.EndsWith,e,n)}function p4(t,e,n){return new Ll(t,so.StartsWith,e,n)}function pxt(t,e,n){return new Ll(t,so.Like,e,n)}function f4(t,e,n){return typeof e=="string"?new Ll(t,so.DoesntEqual,e,n):$h(t,Ur.DoesntEqual,e,void 0,void 0,n)}function vT(t,e,n){return typeof e=="string"?new Ll(t,so.Equals,e,n):$h(t,Ur.Equals,e,void 0,void 0,n)}function g4(t,e,n){return $h(t,Ur.FromNotEqual,e,void 0,void 0,n)}function m4(t,e,n){return $h(t,Ur.From,e,void 0,void 0,n)}function v4(t,e,n){return $h(t,Ur.ToNotEqual,e,void 0,void 0,n)}function y4(t,e,n){return $h(t,Ur.To,e,void 0,void 0,n)}function fv(t,e,n,r){return $h(t,Ur.From,e,Ur.To,n,r)}function $h(t,e,n,r,i,o){return new wT(t,e,n,r,i,o)}function ld(t,e,n,r,i,o){return new gv(t,e,n,r,i,o)}function b4(t,e,n,r){return new _T(t,e,n,r)}function x4(t,e,n,r,i){return new O1(t,e,n,xu.Next,r,i)}function w4(t,e,n,r,i){return new O1(t,e,n,xu.Last,r,i)}function Nf(t,e,n,r,i,o,a){return new xT(t,e,n,r,i,o,a)}function fxt(t,e,n){return Nf(t.attribute,t,Ur.Equals,e,void 0,void 0,n)}function gxt(t,e,n){return Nf(t.attribute,t,Ur.FromNotEqual,e,void 0,void 0,n)}function mxt(t,e,n){return Nf(t.attribute,t,Ur.From,e,void 0,void 0,n)}function vxt(t,e,n){return Nf(t.attribute,t,Ur.To,e,void 0,void 0,n)}function yxt(t,e,n){return Nf(t.attribute,t,Ur.ToNotEqual,e,void 0,void 0,n)}function bxt(t,e,n,r){return Nf(t.attribute,t,Ur.From,e,Ur.To,n,r)}function _4(t,e,n,r){return new E1(t,e,T1.Top,n,r)}function S4(t,e,n,r){return new E1(t,e,T1.Bottom,n,r)}const zh=t=>{if(Array.isArray(t)){const[e,...n]=t;return n.length===0?zh(e):{operator:"AND",left:zh(e),right:zh(n)}}return t};var yT;(function(t){t.and=(e,n)=>({operator:"AND",left:zh(e),right:zh(n)}),t.or=(e,n)=>({operator:"OR",left:zh(e),right:zh(n)})})(yT=yT||(yT={}));function xxt(t,e,n){return new ST(t,e,n)}function C4(t){try{if(t==null)return JSON.stringify(t);if(t===Object(t)&&"composeCode"in t)return t.composeCode;if(Array.isArray(t))return"["+t.map(e=>C4(e)).join(", ")+"]";if(typeof t=="string")return`'${t}'`;if(typeof t=="number"||!isNaN(t))return t}catch(e){console.error(e)}return JSON.stringify(t)}function lr(t){return function(...e){const n=e.map(C4).join(", ").replace(/(,\s*)+$/,""),r=`filterFactory.${t.name}(${n})`,i=t(...e);return i.composeCode=r,i}}const k4="DM",M4=(t,e,n,r,i)=>{const o=e??t.slice(1,-1).split(".")[0];if(r){const c=hc.translateJaqlToGranularity({level:r}),l=hc.getDefaultFormatForGranularity(c),f=new hc(n,t,c,l);return f.composeCode=$B(o,n,r,k4),f}const a=hi(i)?un.NumericAttribute:un.TextAttribute,s=new w1(n,t,a);return s.composeCode=$B(o,n,void 0,k4),s},wxt=t=>M4(t.dim,t.table,t.column,t.level,t.datatype),T4=(t,e,n,r,i,o)=>{const a=M4(t,e,n,r,i),s=uT(a,o);return s.composeCode=`measureFactory.${o}(${a.composeCode})`,s},_xt=t=>{const{dim:e,table:n,column:r,level:i,datatype:o,agg:a}=t;if(a)return T4(e,n,r,i,o,a)},A4=t=>{const{dim:e,table:n,column:r,level:i,datatype:o,agg:a}=t;return T4(e,n,r,i,o,a)},Sxt=t=>t.top!==void 0,Cxt=t=>t.bottom!==void 0,kxt=t=>{var e;return!!(!((e=t.exclude)===null||e===void 0)&&e.members)},Mxt=t=>!!t.members&&!!t.isCondition,Txt=t=>{var e,n;return((e=t.last)===null||e===void 0?void 0:e.anchor)!==void 0||((n=t.next)===null||n===void 0?void 0:n.anchor)!==void 0},Axt=t=>t.fromNotEqual!==void 0,Ext=t=>t.from!==void 0&&!t.isBetween,Oxt=t=>t.toNotEqual!==void 0,Pxt=t=>t.to!==void 0&&!t.isBetween,Dxt=t=>t.equals!==void 0,Lxt=t=>t.doesntEqual!==void 0,Nxt=t=>!!(t.equals===""&&t.isEmpty),Ixt=t=>!!(t.doesntEqual===""&&t.isEmpty),Rxt=t=>t.contains!==void 0,jxt=t=>t.doesntContain!==void 0,$xt=t=>t.startsWith!==void 0,zxt=t=>t.doesntStartWith!==void 0,Bxt=t=>t.endsWith!==void 0,Fxt=t=>t.doesntEndWith!==void 0,Hxt=t=>t.from!==void 0&&t.to!==void 0,Wxt=t=>{var e,n;return((e=t.exclude)===null||e===void 0?void 0:e.from)!==void 0&&((n=t.exclude)===null||n===void 0?void 0:n.to)!==void 0},Vxt=t=>!!(t.or||t.and),If=t=>Cxt(t)?Le.BOTTOM:Sxt(t)?Le.TOP:kxt(t)?Le.IS_NOT:Txt(t)?Le.IS_WITHIN:Axt(t)?Le.GREATER_THAN:Oxt(t)?Le.LESS_THAN:Dxt(t)?Le.EQUALS:Lxt(t)?Le.DOESNT_EQUAL:Nxt(t)?Le.IS_EMPTY:Ixt(t)?Le.IS_NOT_EMPTY:Rxt(t)?Le.CONTAINS:jxt(t)?Le.DOESNT_CONTAIN:Fxt(t)?Le.DOESNT_END_WITH:zxt(t)?Le.DOESNT_START_WITH:Bxt(t)?Le.ENDS_WITH:$xt(t)?Le.STARTS_WITH:Wxt(t)?Le.IS_NOT_BETWEEN:Mxt(t)?Le.IS:Vxt(t)?Le.MULTIPLE_CONDITION:Hxt(t)?Le.BETWEEN:Ext(t)?Le.GREATER_THAN_OR_EQUAL:Pxt(t)?Le.LESS_THAN_OR_EQUAL:Le.NONE,bT=(t,e,n)=>{var r,i,o;switch(If(e)){case Le.BOTTOM:if(e.by&&"agg"in e.by)return lr(S4)(t,A4(e.by),e[Le.BOTTOM],n);break;case Le.EQUALS:return lr(vT)(t,e[Le.EQUALS],n);case Le.GREATER_THAN:return lr(g4)(t,e[Le.GREATER_THAN],n);case Le.GREATER_THAN_OR_EQUAL:return lr(m4)(t,e[Le.GREATER_THAN_OR_EQUAL],n);case Le.TOP:if(e.by)return lr(_4)(t,A4(e.by),e[Le.TOP],n);break;case Le.STARTS_WITH:return lr(p4)(t,e[Le.STARTS_WITH],n);case Le.DOESNT_START_WITH:return lr(u4)(t,e[Le.DOESNT_START_WITH],n);case Le.ENDS_WITH:return lr(h4)(t,e[Le.ENDS_WITH],n);case Le.DOESNT_END_WITH:return lr(c4)(t,e[Le.DOESNT_END_WITH],n);case Le.CONTAINS:return lr(d4)(t,e[Le.CONTAINS],n);case Le.DOESNT_CONTAIN:return lr(l4)(t,e[Le.DOESNT_CONTAIN],n);case Le.LESS_THAN:return lr(v4)(t,e[Le.LESS_THAN],n);case Le.LESS_THAN_OR_EQUAL:return lr(y4)(t,e[Le.LESS_THAN_OR_EQUAL],n);case Le.BETWEEN:return lr(fv)(t,e.from,e.to,n);case Le.IS_NOT_BETWEEN:return lr(s4)(lr(fv)(t,(r=e.exclude)===null||r===void 0?void 0:r.from,(i=e.exclude)===null||i===void 0?void 0:i.to,n),void 0,n);case Le.MULTIPLE_CONDITION:if(e.and)return lr(hxt)(e.and.map(a=>bT(t,a,n)),n);if(e.or)return lr(dxt)(e.or.map(a=>bT(t,a,n)),n);break;case Le.IS_NOT:return lr(ld)(t,((o=e.exclude)===null||o===void 0?void 0:o.members)||[],!0,n)}throw"Jaql contains unsupported condition filter: "+JSON.stringify(e)},Uxt=(t,e,n)=>{switch(If(e)){case Le.EQUALS:return lr(fxt)(t,e[Le.EQUALS],n);case Le.GREATER_THAN:return lr(gxt)(t,e[Le.GREATER_THAN],n);case Le.GREATER_THAN_OR_EQUAL:return lr(mxt)(t,e[Le.GREATER_THAN_OR_EQUAL],n);case Le.LESS_THAN:return lr(yxt)(t,e[Le.LESS_THAN],n);case Le.LESS_THAN_OR_EQUAL:return lr(vxt)(t,e[Le.LESS_THAN_OR_EQUAL],n);case Le.BETWEEN:return lr(bxt)(t,e.from,e.to,n)}throw"Jaql contains unsupported condition filter: "+JSON.stringify(e)},Gxt=(t,e)=>{let n=t?t.toLocaleLowerCase():sd.YEARS;return n===sd.MINUTES&&e==="60"&&(n=sd.HOURS),n},Yxt=t=>t==null?void 0:t.all,qxt=t=>t.last?t.last:t.next,Xxt=t=>{var e;return((e=qxt(t))===null||e===void 0?void 0:e.offset)<2},E4=t=>{var e;return((e=t==null?void 0:t.members)===null||e===void 0?void 0:e.length)>=0},Zxt=(t,e)=>t&&typeof t=="string"||e&&typeof e=="string",Jxt=(t,e)=>t===""&&e==="",Kxt=(t,e)=>{const{from:n,to:r}=t;return e!==Lf.DATE_TIME?!1:Zxt(n,r)?!0:Jxt(n,r)},Qxt=t=>{const{from:e,to:n}=t;return e!==void 0&&n!==void 0&&!t.isBetween},O4=t=>If(t)!==Le.NONE,twt=t=>Object.keys(t).includes("isAdvanced"),ewt=t=>!!(t.level&&t.bucket&&t.level===sd.MINUTES&&lxt.includes(t.bucket)),nwt=t=>t.filterType===Cr.INVALID,P4=(t,e=Lf.DATE_TIME,n)=>n&&ewt(n)||twt(t)?Cr.ADVANCED:Yxt(t)?Cr.INCLUDE_ALL:Xxt(t)?Cr.PERIOD:E4(t)?Cr.SPECIFIC_ITEMS:Kxt(t,e)?Cr.DATE_RANGE:Qxt(t)?Cr.NUMERIC_RANGE:O4(t)?Cr.CONDITION:(nwt(t),Cr.INVALID),rwt=(t,e)=>{const{level:n,filter:r,bucket:i}=t,o=r||uxt.filter,a={filter:Object.assign(Object.assign({},o),{filterType:P4(o,e)})};if(e===Lf.DATE_TIME){const s=o,c=(s==null?void 0:s.level)||n;a.level=Gxt(c,i),a.filter.filterType=P4(o,e,{level:c,bucket:i})}return a},D4=(t,e)=>({guid:e||N4(13),jaql:n=>n?t:{jaql:t,panel:"scope"},attribute:{id:t.dim},type:"filter",serializable(){return Object.assign(Object.assign({},this),{jaql:this.jaql()})},toJSON(){return this.serializable()}}),iwt=(t,e)=>lr(ld)(t,[],!0,e),owt=(t,e,n)=>{const r=awt(e),i=swt(e,r);return lr(ld)(t,i,void 0,n,r)};function awt(t){var e,n,r;return!((e=t.filter)===null||e===void 0)&&e.turnedOff?(r=(n=t.filter)===null||n===void 0?void 0:n.exclude)===null||r===void 0?void 0:r.members:void 0}function swt(t,e){const n=t.members;return e?n.filter(r=>!e.includes(r)):n}const lwt=(t,e,n)=>lr(b4)(t,e.from,e.to,n),cwt=(t,e,n)=>lr(fv)(t,e.from,e.to,n),uwt=(t,e,n)=>e.last?lr(w4)(t,e.last.offset,e.last.count,e.last.anchor,n):lr(x4)(t,e.next.offset,e.next.count,e.next.anchor,n),dwt=(t,e,n,r)=>n?Uxt(n,e,r):bT(t,e,r),hwt=(t,e,n)=>lr(xxt)(t,e,n),L4=(t,e)=>{try{if("formula"in t)throw"Formula-based filter not supported yet: "+JSON.stringify(t);const n=rwt(t,t.datatype),{filter:r}=n,{filterType:i}=r,o=wxt(t),a=_xt(t);switch(i){case Cr.INCLUDE_ALL:return iwt(o,e);case Cr.SPECIFIC_ITEMS:return owt(o,r,e);case Cr.CONDITION:return dwt(o,r,a,e);case Cr.DATE_RANGE:return lwt(o,r,e);case Cr.PERIOD:return uwt(o,r,e);case Cr.NUMERIC_RANGE:return cwt(o,r,e);case Cr.ADVANCED:return hwt(o,r,e);case Cr.INVALID:return D4(t,e)}}catch{}return D4(t,e)},N4=function(t){const e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=new Array(t);let r=0,i;for(let o=0;o<t;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]=e[o==19?i&3|8:i]}return n.join("")},fc=t=>{if(!t)return{filters:void 0,relations:void 0};if(Array.isArray(t))return{filters:t,relations:void 0};const e=new Set;function n(o){return o&&("guid"in o?(e.add(o),{instanceid:o.guid}):("left"in o&&(o.left=n(o.left)),"right"in o&&(o.right=n(o.right)),o))}const r=Ea(t),i=n(r);return{filters:Array.from(e),relations:i}};function bu(t){return typeof t=="string"?t:t.title}function pwt(t){return typeof t=="object"&&"type"in t&&"title"in t}const Rf=(t,e)=>{const n=t.filter.filter&&!("turnedOff"in t.filter.filter),r=L4(t,e);return n&&(r.backgroundFilter=L4(Object.assign(Object.assign({},t),{filter:t.filter.filter}),`${e}-bg`)),r},so={Contains:"contains",StartsWith:"startsWith",EndsWith:"endsWith",Equals:"equals",DoesntEqual:"doesntEqual",DoesntStartWith:"doesntStartWith",DoesntContain:"doesntContain",DoesntEndWith:"doesntEndWith",Like:"like"},Ur={Equals:"equals",DoesntEqual:"doesntEqual",From:"from",FromNotEqual:"fromNotEqual",To:"to",ToNotEqual:"toNotEqual"},xu={From:"from",To:"to",Last:"last",Next:"next",Anchor:"Anchor"},I4={Union:"or",Intersection:"and",Exclude:"exclude"},T1={Top:"top",Bottom:"bottom"},Ge={logicalAttribute:"logicalAttribute",members:"members",exclude:"exclude",measure:"measure",ranking:"ranking",text:"text",numeric:"numeric",date:"date",relativeDate:"relativeDate",cascading:"cascading",advanced:"advanced"};let gc=class o$ extends BM{constructor(e,n,r){super("filter",un.Filter),this.filterType=n,o$.checkAttributeSupport(e),this.attribute=e,this.guid=r||N4(13),this.disabled=!1,this.locked=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=e}get locked(){return this._locked}set locked(e){this._locked=e}get name(){return Kyt(this.jaql())}serializable(){const e=super.serializable();return e.filterType=this.filterType,e.attribute=this.attribute.serializable(),e}jaql(e){if(this.disabled)return o$.disabledJaql(e);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"),e===!0?n.jaql:n}static checkAttributeSupport(e){const{granularity:n}=e;if(n===Oe.Hours||n===Oe.MinutesRoundTo30||n===Oe.MinutesRoundTo15||n===Oe.Minutes||n===Oe.Seconds)throw new BB("errors.filter.unsupportedDatetimeLevel")}static disabledJaql(e){return e?{filter:{}}:{jaql:{filter:{}}}}},R4=class extends gc{constructor(e,n,r){super(e[0].attribute,Ge.logicalAttribute,r),this.operator=n,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(n=>n.serializable()),e}filterJaql(){const e={};return e[this.operator]=this.filters.map(n=>n.filterJaql()),e}},gv=class extends gc{constructor(e,n,r,i,o,a){if(super(e,Ge.members,i),this.members=n??[],this.excludeMembers=r??!1,this.deactivatedMembers=o??[],this.backgroundFilter=a,this.members.filter(s=>s==null).length>0)throw new BB("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(r=>r.toString())},n=this.excludeMembers&&this.members.length?{exclude:e}:e;return this.backgroundFilter?{and:[n,this.backgroundFilter.filterJaql()]}:n}},j4=class extends gc{constructor(e,n){super(e[0].attribute,Ge.cascading,n),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(n=>{n.disabled=e})}get locked(){return super.locked}set locked(e){super.locked=e,this.filters&&this.filters.forEach(n=>{n.locked=e})}serializable(){const e=super.serializable();return e.filters=this.filters.map(n=>n.serializable()),e}filterJaql(){return{}}jaql(e){return this.disabled?gc.disabledJaql(e):this.filters.map(n=>(n.isScope=!0,n.jaql(e)))}},fwt=class extends gc{constructor(e,n,r){super(e.attribute,Ge.exclude,r),this.input=n,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={},n=this.filter.filterJaql();return this.input?(e.filter=this.input.filterJaql(),e.filter.filter={exclude:n}):e.exclude=n,e}},A1=class extends gc{constructor(e,n,r,i,o,a,s){super(e,n,s),r&&i!==void 0&&(this.valueA=i,this.operatorA=r),o&&a!==void 0&&(this.operatorB=o,this.valueB=a)}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}},xT=class extends A1{constructor(e,n,r,i,o,a,s){super(e,Ge.measure,r,i,o,a,s),this.measure=n}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 gc.disabledJaql(e);const n=super.jaql(e);return this.measure instanceof pc&&Object.entries(this.measure.jaql().jaql).forEach(([r,i])=>{n.jaql[r]=i}),n}},E1=class extends gc{constructor(e,n,r,i,o){super(e,Ge.ranking,o),this.count=i,this.operator=r,this.measure=n}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}},wT=class extends A1{constructor(e,n,r,i,o,a){super(e,Ge.numeric,n,r,i,o,a)}};class Ll extends A1{constructor(e,n,r,i){super(e,Ge.text,n,r,void 0,void 0,i)}}let _T=class extends A1{constructor(e,n,r,i){super(e,Ge.date,xu.From,n,xu.To,r,i),typeof n=="object"&&(this.valueA=n.toISOString()),typeof r=="object"&&(this.valueB=r.toISOString())}get level(){return this.attribute}get from(){return this.valueA}get to(){return this.valueB}filterJaql(){return super.filterJaql()}},O1=class extends gc{constructor(e,n,r,i,o,a){super(e,Ge.relativeDate,a),i||(i=xu.Next),this.anchor=o,this.operator=i,this.offset=n,this.count=r}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}},ST=class extends gc{constructor(e,n,r){super(e,Ge.advanced,r),delete n.filterType,this.jaqlExpression=n}get id(){return`custom_${this.attribute.id}_${this.guid}`}filterJaql(){return this.jaqlExpression}};const ea={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 CT(t){return[ta(ea.BOX_MIN_VALUE_NAME,"QUARTILE([Attr], 1)",{Attr:t}),ta(ea.BOX_MEDIAN_VALUE_NAME,"MEDIAN([Attr])",{Attr:t}),ta(ea.BOX_MAX_VALUE_NAME,"QUARTILE([Attr], 3)",{Attr:t})]}function gwt(t){return[...CT(t),ta(ea.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_IQR([Attr])",{Attr:t}),ta(ea.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_IQR([Attr])",{Attr:t}),ta(ea.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_IQR([Attr])",{Attr:t})]}function mwt(t){return[...CT(t),ta(ea.WHISKER_MIN_VALUE_NAME,"MIN([Attr])",{Attr:t}),ta(ea.WHISKER_MAX_VALUE_NAME,"MAX([Attr])",{Attr:t})]}function vwt(t){return[...CT(t),ta(ea.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_STDEVP([Attr])",{Attr:t}),ta(ea.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_STDEVP([Attr])",{Attr:t}),ta(ea.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_STDEVP([Attr])",{Attr:t})]}const ywt=t=>{const e=Ea(t),n=ta(ea.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_IQR([Attr]), all([Attr]))",{Attr:t}),r=ta(ea.OUTLIER_MIN_VALUE_NAME,"(LOWERWHISKERMAX_IQR([Attr]), all([Attr]))",{Attr:t});return e.name=`${e.name} (Outliers)`,e.jaql=i=>{const o=Object.assign(Object.assign({},t.jaql(!0)),{filter:{or:[{fromNotEqual:n.jaql(!0)},{toNotEqual:r.jaql(!0)}]}});return i?o:{jaql:o}},e},bwt=t=>{const e=Ea(t),n=ta(ea.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_STDEVP([Attr]), all([Attr]))",{Attr:t}),r=ta(ea.OUTLIER_MIN_VALUE_NAME,"(LOWERWHISKERMAX_STDEVP([Attr]), all([Attr]))",{Attr:t});return e.jaql=i=>{const o=Object.assign(Object.assign({},t.jaql(!0)),{filter:{or:[{fromNotEqual:n.jaql(!0)},{toNotEqual:r.jaql(!0)}]}});return i?o:{jaql:o}},e};function xwt(t,e){const n=e==null?void 0:e.find(r=>$4(t)===r.attribute.id);return n&&!n.disabled&&(n.isScope&&(n.isScope=!1),t.jaql.in={selected:n.jaql()}),t}function wwt(t,e){const n=[],r=[];return e.forEach(i=>{t.some(o=>$4(o)===i.attribute.id)?n.push(i):r.push(i)}),[n,r]}function $4(t){const{dim:e,level:n,dateTimeLevel:r,bucket:i}=t.jaql;let o=`${e}`;return(n||r)&&(o+=`_${n||r}`),i&&(o+=`_${i}`),o}var _wt=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};function Swt(t,e,n){return{rowsCount:t.length,columnsCount:e.length,measuresCount:n.length}}function Cwt(t){switch(t){case"sortAsc":return"asc";case"sortDesc":return"desc";default:return"none"}}function kwt(t,e,n){const r=Cwt(t.direction),i=e===n.rowsCount-1,o={dir:r,initialized:!0,field:t.by&&"valuesIndex"in t.by?n.rowsCount+n.columnsCount+t.by.valuesIndex:e};return i&&(o.sortingLastDimension=!0),t.by&&(o.measurePath=(t.by.columnsMembersPath||[]).reduce((a,s,c)=>Object.assign(Object.assign({},a),{[n.rowsCount+c]:s}),{})),{sort:r,sortDetails:o}}function Mwt(t,e){const n=t[e.rowsCount-1];if(n.jaql.sortDetails&&n.jaql.sortDetails.field!==e.rowsCount-1){const r=t[n.jaql.sortDetails.field],i=n.jaql,{sortDetails:o,sort:a}=i,s=_wt(i,["sortDetails","sort"]);r.jaql.sortDetails=o,r.jaql.sort=a,n.jaql=s}}const P1="ComposeSDK";function z4(t,e){const{attributes:n,measures:r,filters:i,filterRelations:o,highlights:a,dataSource:s,count:c,offset:l,ungroup:f}=t,w=f&&r.length===0,u=Object.assign({metadata:Twt({attributes:n,measures:r,filters:i,filterRelations:o,highlights:a},e)},Awt(s,c,l,w));return o?Object.assign(Object.assign({},u),{filterRelations:o}):u}function B4(t,e,n,r,i){const[o,a]=wwt(t,r);t.forEach(l=>xwt(l,o));const s=l=>{const f=l.jaql();return n?Array.isArray(f)?f.map(w=>Object.assign(Object.assign({},w),{instanceid:l.guid})):Object.assign(Object.assign({},f),{instanceid:l.guid}):f},c=(i?e.flatMap(l=>s(l)):[...e,...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 Twt(t,e){const{attributes:n,measures:r,filters:i,filterRelations:o,highlights:a}=t,s=n.map(f=>f.jaql()),c=r.map(f=>f.jaql()),l=B4(s,i,o,a,e);return[...s,...c,...l]}function Awt(t,e,n,r){return Object.assign(Object.assign(Object.assign({datasource:H4(t),by:P1,queryGuid:Tz()},r?{ungroup:!0}:{}),e?{count:e}:{}),n?{offset:n}:{})}function Ewt(t,e){const{rowsAttributes:n,columnsAttributes:r,measures:i,filters:o,filterRelations:a,grandTotals:s,highlights:c,dataSource:l,count:f,offset:w}=t,u=Object.assign({metadata:Pwt({rowsAttributes:n,columnsAttributes:r,measures:i,filters:o,highlights:c},e)},Dwt(l,s,f,w));return a?Object.assign(Object.assign({},u),{filterRelations:a}):u}function F4(t,e,n,r){const i=e==="rows"&&zM(t)&&t.sort&&t.sort.direction!=="sortNone",o=Object.assign(Object.assign({},zM(t)?t.attribute.jaql(!0):t.jaql(!0)),i&&kwt(t.sort,n,r));return Object.assign(Object.assign({jaql:o},zM(t)&&t.includeSubTotals?{format:{subtotal:!0}}:{}),{panel:e,field:{index:n,id:`${e}-${n}`}})}function Owt(t,e,n){return Object.assign(Object.assign({},jut(t)?di(t.measure.jaql(),{jaql:{subtotalAgg:t.totalsCalculation},format:{databars:t.dataBars||!1}}):t.jaql()),{panel:e,field:{index:n,id:`${e}-${n}`}})}function Pwt(t,e){const{rowsAttributes:n,columnsAttributes:r,measures:i,filters:o,filterRelations:a,highlights:s}=t,c=Swt(n,r,i);let l=0;const f=n.map((T,W)=>F4(T,"rows",W+l,c));l=l+n.length;const w=r.map((T,W)=>F4(T,"columns",W+l,c));l=l+r.length;const u=[...f,...w],j=i.map((T,W)=>Owt(T,"measures",W+l)),S=B4(u,o,a,s,e),b=[...u,...j,...S];return Mwt(b,c),b}function Dwt(t,e,n,r){return Object.assign(Object.assign(Object.assign({datasource:H4(t),by:P1,queryGuid:Tz(),dashboard:P1,widget:P1,format:"pivot"},n?{count:n}:{}),r?{offset:r}:{}),{grandTotals:Object.assign(Object.assign({},$ut),e)})}function H4(t){return pwt(t)?{title:t.title,live:t.type==="live"}:t}function Lwt(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Nwt(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var Iwt=function(){function t(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 e=t.prototype;return e.hydrate=function(n){n.forEach(this._insertTag)},e.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Nwt(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=Lwt(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++},e.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)},t}(),Io="-ms-",D1="-moz-",ur="-webkit-",kT="comm",MT="rule",TT="decl",Rwt="@import",W4="@keyframes",jwt="@layer",$wt=Math.abs,L1=String.fromCharCode,zwt=Object.assign;function Bwt(t,e){return bo(t,0)^45?(((e<<2^bo(t,0))<<2^bo(t,1))<<2^bo(t,2))<<2^bo(t,3):0}function V4(t){return t.trim()}function Fwt(t,e){return(t=e.exec(t))?t[0]:t}function dr(t,e,n){return t.replace(e,n)}function AT(t,e){return t.indexOf(e)}function bo(t,e){return t.charCodeAt(e)|0}function mv(t,e,n){return t.slice(e,n)}function mc(t){return t.length}function ET(t){return t.length}function N1(t,e){return e.push(t),t}function Hwt(t,e){return t.map(e).join("")}var I1=1,jf=1,U4=0,Oa=0,Ui=0,$f="";function R1(t,e,n,r,i,o,a){return{value:t,root:e,parent:n,type:r,props:i,children:o,line:I1,column:jf,length:a,return:""}}function vv(t,e){return zwt(R1("",null,null,"",null,null,0),t,{length:-t.length},e)}function Wwt(){return Ui}function Vwt(){return Ui=Oa>0?bo($f,--Oa):0,jf--,Ui===10&&(jf=1,I1--),Ui}function ds(){return Ui=Oa<U4?bo($f,Oa++):0,jf++,Ui===10&&(jf=1,I1++),Ui}function vc(){return bo($f,Oa)}function j1(){return Oa}function yv(t,e){return mv($f,t,e)}function bv(t){switch(t){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 G4(t){return I1=jf=1,U4=mc($f=t),Oa=0,[]}function Y4(t){return $f="",t}function $1(t){return V4(yv(Oa-1,OT(t===91?t+2:t===40?t+1:t)))}function Uwt(t){for(;(Ui=vc())&&Ui<33;)ds();return bv(t)>2||bv(Ui)>3?"":" "}function Gwt(t,e){for(;--e&&ds()&&!(Ui<48||Ui>102||Ui>57&&Ui<65||Ui>70&&Ui<97););return yv(t,j1()+(e<6&&vc()==32&&ds()==32))}function OT(t){for(;ds();)switch(Ui){case t:return Oa;case 34:case 39:t!==34&&t!==39&&OT(Ui);break;case 40:t===41&&OT(t);break;case 92:ds();break}return Oa}function Ywt(t,e){for(;ds()&&t+Ui!==57&&!(t+Ui===84&&vc()===47););return"/*"+yv(e,Oa-1)+"*"+L1(t===47?t:ds())}function qwt(t){for(;!bv(vc());)ds();return yv(t,Oa)}function Xwt(t){return Y4(z1("",null,null,null,[""],t=G4(t),0,[0],t))}function z1(t,e,n,r,i,o,a,s,c){for(var l=0,f=0,w=a,u=0,j=0,S=0,b=1,T=1,W=1,G=0,Y="",U=i,$=o,O=r,D=Y;T;)switch(S=G,G=ds()){case 40:if(S!=108&&bo(D,w-1)==58){AT(D+=dr($1(G),"&","&\f"),"&\f")!=-1&&(W=-1);break}case 34:case 39:case 91:D+=$1(G);break;case 9:case 10:case 13:case 32:D+=Uwt(S);break;case 92:D+=Gwt(j1()-1,7);continue;case 47:switch(vc()){case 42:case 47:N1(Zwt(Ywt(ds(),j1()),e,n),c);break;default:D+="/"}break;case 123*b:s[l++]=mc(D)*W;case 125*b:case 59:case 0:switch(G){case 0:case 125:T=0;case 59+f:W==-1&&(D=dr(D,/\f/g,"")),j>0&&mc(D)-w&&N1(j>32?X4(D+";",r,n,w-1):X4(dr(D," ","")+";",r,n,w-2),c);break;case 59:D+=";";default:if(N1(O=q4(D,e,n,l,f,i,s,Y,U=[],$=[],w),o),G===123)if(f===0)z1(D,e,O,O,U,o,w,s,$);else switch(u===99&&bo(D,3)===110?100:u){case 100:case 108:case 109:case 115:z1(t,O,O,r&&N1(q4(t,O,O,0,0,i,s,Y,i,U=[],w),$),i,$,w,s,r?U:$);break;default:z1(D,O,O,O,[""],$,0,s,$)}}l=f=j=0,b=W=1,Y=D="",w=a;break;case 58:w=1+mc(D),j=S;default:if(b<1){if(G==123)--b;else if(G==125&&b++==0&&Vwt()==125)continue}switch(D+=L1(G),G*b){case 38:W=f>0?1:(D+="\f",-1);break;case 44:s[l++]=(mc(D)-1)*W,W=1;break;case 64:vc()===45&&(D+=$1(ds())),u=vc(),f=w=mc(Y=D+=qwt(j1())),G++;break;case 45:S===45&&mc(D)==2&&(b=0)}}return o}function q4(t,e,n,r,i,o,a,s,c,l,f){for(var w=i-1,u=i===0?o:[""],j=ET(u),S=0,b=0,T=0;S<r;++S)for(var W=0,G=mv(t,w+1,w=$wt(b=a[S])),Y=t;W<j;++W)(Y=V4(b>0?u[W]+" "+G:dr(G,/&\f/g,u[W])))&&(c[T++]=Y);return R1(t,e,n,i===0?MT:s,c,l,f)}function Zwt(t,e,n){return R1(t,e,n,kT,L1(Wwt()),mv(t,2,-2),0)}function X4(t,e,n,r){return R1(t,e,n,TT,mv(t,0,r),mv(t,r+1,-1),r)}function zf(t,e){for(var n="",r=ET(t),i=0;i<r;i++)n+=e(t[i],i,t,e)||"";return n}function Jwt(t,e,n,r){switch(t.type){case jwt:if(t.children.length)break;case Rwt:case TT:return t.return=t.return||t.value;case kT:return"";case W4:return t.return=t.value+"{"+zf(t.children,r)+"}";case MT:t.value=t.props.join(",")}return mc(n=zf(t.children,r))?t.return=t.value+"{"+n+"}":""}function Kwt(t){var e=ET(t);return function(n,r,i,o){for(var a="",s=0;s<e;s++)a+=t[s](n,r,i,o)||"";return a}}function Qwt(t){return function(e){e.root||(e=e.return)&&t(e)}}function Z4(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var t_t=function(t,e,n){for(var r=0,i=0;r=i,i=vc(),r===38&&i===12&&(e[n]=1),!bv(i);)ds();return yv(t,Oa)},e_t=function(t,e){var n=-1,r=44;do switch(bv(r)){case 0:r===38&&vc()===12&&(e[n]=1),t[n]+=t_t(Oa-1,e,n);break;case 2:t[n]+=$1(r);break;case 4:if(r===44){t[++n]=vc()===58?"&\f":"",e[n]=t[n].length;break}default:t[n]+=L1(r)}while(r=ds());return t},n_t=function(t,e){return Y4(e_t(G4(t),e))},J4=new WeakMap,r_t=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var e=t.value,n=t.parent,r=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&e.charCodeAt(0)!==58&&!J4.get(n))&&!r){J4.set(t,!0);for(var i=[],o=n_t(e,i),a=n.props,s=0,c=0;s<o.length;s++)for(var l=0;l<a.length;l++,c++)t.props[c]=i[s]?o[s].replace(/&\f/g,a[l]):a[l]+" "+o[s]}}},i_t=function(t){if(t.type==="decl"){var e=t.value;e.charCodeAt(0)===108&&e.charCodeAt(2)===98&&(t.return="",t.value="")}},o_t="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",a_t=function(t){return t.type==="comm"&&t.children.indexOf(o_t)>-1},s_t=function(t){return function(e,n,r){if(!(e.type!=="rule"||t.compat)){var i=e.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var o=!!e.parent,a=o?e.parent.children:r,s=a.length-1;s>=0;s--){var c=a[s];if(c.line<e.line)break;if(c.column<e.column){if(a_t(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".')})}}}},K4=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},l_t=function(t,e){for(var n=t-1;n>=0;n--)if(!K4(e[n]))return!0;return!1},Q4=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},c_t=function(t,e,n){K4(t)&&(t.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."),Q4(t)):l_t(e,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Q4(t)))};function t6(t,e){switch(Bwt(t,e)){case 5103:return ur+"print-"+t+t;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 ur+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return ur+t+D1+t+Io+t+t;case 6828:case 4268:return ur+t+Io+t+t;case 6165:return ur+t+Io+"flex-"+t+t;case 5187:return ur+t+dr(t,/(\w+).+(:[^]+)/,ur+"box-$1$2"+Io+"flex-$1$2")+t;case 5443:return ur+t+Io+"flex-item-"+dr(t,/flex-|-self/,"")+t;case 4675:return ur+t+Io+"flex-line-pack"+dr(t,/align-content|flex-|-self/,"")+t;case 5548:return ur+t+Io+dr(t,"shrink","negative")+t;case 5292:return ur+t+Io+dr(t,"basis","preferred-size")+t;case 6060:return ur+"box-"+dr(t,"-grow","")+ur+t+Io+dr(t,"grow","positive")+t;case 4554:return ur+dr(t,/([^-])(transform)/g,"$1"+ur+"$2")+t;case 6187:return dr(dr(dr(t,/(zoom-|grab)/,ur+"$1"),/(image-set)/,ur+"$1"),t,"")+t;case 5495:case 3959:return dr(t,/(image-set\([^]*)/,ur+"$1$`$1");case 4968:return dr(dr(t,/(.+:)(flex-)?(.*)/,ur+"box-pack:$3"+Io+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ur+t+t;case 4095:case 3583:case 4068:case 2532:return dr(t,/(.+)-inline(.+)/,ur+"$1$2")+t;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(mc(t)-1-e>6)switch(bo(t,e+1)){case 109:if(bo(t,e+4)!==45)break;case 102:return dr(t,/(.+:)(.+)-([^]+)/,"$1"+ur+"$2-$3$1"+D1+(bo(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~AT(t,"stretch")?t6(dr(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(bo(t,e+1)!==115)break;case 6444:switch(bo(t,mc(t)-3-(~AT(t,"!important")&&10))){case 107:return dr(t,":",":"+ur)+t;case 101:return dr(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ur+(bo(t,14)===45?"inline-":"")+"box$3$1"+ur+"$2$3$1"+Io+"$2box$3")+t}break;case 5936:switch(bo(t,e+11)){case 114:return ur+t+Io+dr(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return ur+t+Io+dr(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return ur+t+Io+dr(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return ur+t+Io+t+t}return t}var u_t=function(t,e,n,r){if(t.length>-1&&!t.return)switch(t.type){case TT:t.return=t6(t.value,t.length);break;case W4:return zf([vv(t,{value:dr(t.value,"@","@"+ur)})],r);case MT:if(t.length)return Hwt(t.props,function(i){switch(Fwt(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return zf([vv(t,{props:[dr(i,/:(read-\w+)/,":"+D1+"$1")]})],r);case"::placeholder":return zf([vv(t,{props:[dr(i,/:(plac\w+)/,":"+ur+"input-$1")]}),vv(t,{props:[dr(i,/:(plac\w+)/,":"+D1+"$1")]}),vv(t,{props:[dr(i,/:(plac\w+)/,Io+"input-$1")]})],r)}return""})}},d_t=[u_t],e6=function(t){var e=t.key;if(process.env.NODE_ENV!=="production"&&!e)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(e==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(S){var b=S.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(S),S.setAttribute("data-s",""))})}var r=t.stylisPlugins||d_t;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(e))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+e+'" was passed');var i={},o,a=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),function(S){for(var b=S.getAttribute("data-emotion").split(" "),T=1;T<b.length;T++)i[b[T]]=!0;a.push(S)});var s,c=[r_t,i_t];process.env.NODE_ENV!=="production"&&c.push(s_t({get compat(){return j.compat}}),c_t);{var l,f=[Jwt,process.env.NODE_ENV!=="production"?function(S){S.root||(S.return?l.insert(S.return):S.value&&S.type!==kT&&l.insert(S.value+"{}"))}:Qwt(function(S){l.insert(S)})],w=Kwt(c.concat(r,f)),u=function(S){return zf(Xwt(S),w)};s=function(S,b,T,W){l=T,process.env.NODE_ENV!=="production"&&b.map!==void 0&&(l={insert:function(G){T.insert(G+b.map)}}),u(S?S+"{"+b.styles+"}":b.styles),W&&(j.inserted[b.name]=!0)}}var j={key:e,sheet:new Iwt({key:e,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:s};return j.sheet.hydrate(a),j},h_t=!0;function PT(t,e,n){var r="";return n.split(" ").forEach(function(i){t[i]!==void 0?e.push(t[i]+";"):r+=i+" "}),r}var B1=function(t,e,n){var r=t.key+"-"+e.name;(n===!1||h_t===!1)&&t.registered[r]===void 0&&(t.registered[r]=e.styles)},F1=function(t,e,n){B1(t,e,n);var r=t.key+"-"+e.name;if(t.inserted[e.name]===void 0){var i=e;do t.insert(e===i?"."+r:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function p_t(t){for(var e=0,n,r=0,i=t.length;i>=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var f_t={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},n6=`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`,j_t=function(t){var e=t.cache,n=t.serialized,r=t.isStringTag;return B1(e,n,r),NT(function(){return F1(e,n,r)}),null},$_t=function t(e,n){if(process.env.NODE_ENV!=="production"&&e===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=e.__emotion_real===e,i=r&&e.__emotion_base||e,o,a;n!==void 0&&(o=n.label,a=n.target);var s=b6(e,n,r),c=s||y6(i),l=!c("as");return function(){var f=arguments,w=r&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(o!==void 0&&w.push("label:"+o+";"),f[0]==null||f[0].raw===void 0)w.push.apply(w,f);else{process.env.NODE_ENV!=="production"&&f[0][0]===void 0&&console.error(x6),w.push(f[0][0]);for(var u=f.length,j=1;j<u;j++)process.env.NODE_ENV!=="production"&&f[0][j]===void 0&&console.error(x6),w.push(f[j],f[0][j])}var S=W1(function(b,T,W){var G=l&&b.as||i,Y="",U=[],$=b;if(b.theme==null){$={};for(var O in b)$[O]=b[O];$.theme=Rn(yc)}typeof b.className=="string"?Y=PT(T.registered,U,b.className):b.className!=null&&(Y=b.className+" ");var D=Bf(w.concat(U),T.registered,$);Y+=T.key+"-"+D.name,a!==void 0&&(Y+=" "+a);var m=l&&s===void 0?y6(G):c,C={};for(var p in b)l&&p==="as"||m(p)&&(C[p]=b[p]);return C.className=Y,C.ref=W,Ye(cn,null,Ye(j_t,{cache:T,serialized:D,isStringTag:typeof G=="string"}),Ye(G,C))});return S.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",S.defaultProps=e.defaultProps,S.__emotion_real=S,S.__emotion_base=i,S.__emotion_styles=w,S.__emotion_forwardProp=s,Object.defineProperty(S,"toString",{value:function(){return a===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+a}}),S.withComponent=function(b,T){return t(b,Kt({},n,T,{shouldForwardProp:b6(S,T,!0)})).apply(void 0,w)},S}},z_t=["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"],wn=$_t.bind();z_t.forEach(function(t){wn[t]=wn(t)});function Bh(t){if(t===null||t===!0||t===!1)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function Ff(t){return Ff=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ff(t)}function bc(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function wv(t){bc(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||Ff(t)==="object"&&e==="[object Date]"?new Date(t.getTime()):typeof t=="number"||e==="[object Number]"?new Date(t):((typeof t=="string"||e==="[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 B_t(t,e){bc(2,arguments);var n=wv(t),r=Bh(e);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 F_t={};function H_t(){return F_t}function w6(t,e){var n,r,i,o,a,s,c,l;bc(1,arguments);var f=H_t(),w=Bh((n=(r=(i=(o=e==null?void 0:e.weekStartsOn)!==null&&o!==void 0?o:e==null||(a=e.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&r!==void 0?r:(c=f.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:0);if(!(w>=0&&w<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=wv(t),j=u.getUTCDay(),S=(j<w?7:0)+j-w;return u.setUTCDate(u.getUTCDate()-S),u.setUTCHours(0,0,0,0),u}var W_t={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"}},V_t=function(t,e,n){var r,i=W_t[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Un(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}var U_t={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},G_t={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Y_t={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},q_t={date:Un({formats:U_t,defaultWidth:"full"}),time:Un({formats:G_t,defaultWidth:"full"}),dateTime:Un({formats:Y_t,defaultWidth:"full"})},X_t={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Z_t=function(t,e,n,r){return X_t[t]};function Xe(t){return function(e,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,a=n!=null&&n.width?String(n.width):o;i=t.formattingValues[a]||t.formattingValues[o]}else{var s=t.defaultWidth,c=n!=null&&n.width?String(n.width):t.defaultWidth;i=t.values[c]||t.values[s]}var l=t.argumentCallback?t.argumentCallback(e):e;return i[l]}}var J_t={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},K_t={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Q_t={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"]},tSt={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"]},eSt={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"}},nSt={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"}},rSt=function(t,e){var n=Number(t),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"},iSt={ordinalNumber:rSt,era:Xe({values:J_t,defaultWidth:"wide"}),quarter:Xe({values:K_t,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:Q_t,defaultWidth:"wide"}),day:Xe({values:tSt,defaultWidth:"wide"}),dayPeriod:Xe({values:eSt,defaultWidth:"wide",formattingValues:nSt,defaultFormattingWidth:"wide"})};function Ze(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;var a=o[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(s)?aSt(s,function(w){return w.test(a)}):oSt(s,function(w){return w.test(a)}),l;l=t.valueCallback?t.valueCallback(c):c,l=n.valueCallback?n.valueCallback(l):l;var f=e.slice(a.length);return{value:l,rest:f}}}function oSt(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function aSt(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n}function Bs(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;var i=r[0],o=e.match(t.parsePattern);if(!o)return null;var a=t.valueCallback?t.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;var s=e.slice(i.length);return{value:a,rest:s}}}var sSt=/^(\d+)(th|st|nd|rd)?/i,lSt=/\d+/i,cSt={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},uSt={any:[/^b/i,/^(a|c)/i]},dSt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},hSt={any:[/1/i,/2/i,/3/i,/4/i]},pSt={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},fSt={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]},gSt={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},mSt={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]},vSt={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},ySt={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}},bSt={ordinalNumber:Bs({matchPattern:sSt,parsePattern:lSt,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:cSt,defaultMatchWidth:"wide",parsePatterns:uSt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:dSt,defaultMatchWidth:"wide",parsePatterns:hSt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:pSt,defaultMatchWidth:"wide",parsePatterns:fSt,defaultParseWidth:"any"}),day:Ze({matchPatterns:gSt,defaultMatchWidth:"wide",parsePatterns:mSt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:vSt,defaultMatchWidth:"any",parsePatterns:ySt,defaultParseWidth:"any"})},xSt={code:"en-US",formatDistance:V_t,formatLong:q_t,formatRelative:Z_t,localize:iSt,match:bSt,options:{weekStartsOn:0,firstWeekContainsDate:1}};function _6(t,e){bc(2,arguments);var n=Bh(e);return B_t(t,n*12)}var S6=6e4,C6=36e5;function _v(t,e){var n;bc(1,arguments);var r=Bh((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 t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var i=CSt(t),o;if(i.date){var a=kSt(i.date,r);o=MSt(a.restDateString,a.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var s=o.getTime(),c=0,l;if(i.time&&(c=TSt(i.time),isNaN(c)))return new Date(NaN);if(i.timezone){if(l=ASt(i.timezone),isNaN(l))return new Date(NaN)}else{var f=new Date(s+c),w=new Date(0);return w.setFullYear(f.getUTCFullYear(),f.getUTCMonth(),f.getUTCDate()),w.setHours(f.getUTCHours(),f.getUTCMinutes(),f.getUTCSeconds(),f.getUTCMilliseconds()),w}return new Date(s+c+l)}var V1={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},wSt=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,_St=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,SSt=/^([+-])(\d{2})(?::?(\d{2}))?$/;function CSt(t){var e={},n=t.split(V1.dateTimeDelimiter),r;if(n.length>2)return e;if(/:/.test(n[0])?r=n[0]:(e.date=n[0],r=n[1],V1.timeZoneDelimiter.test(e.date)&&(e.date=t.split(V1.timeZoneDelimiter)[0],r=t.substr(e.date.length,t.length))),r){var i=V1.timezone.exec(r);i?(e.time=r.replace(i[1],""),e.timezone=i[1]):e.time=r}return e}function kSt(t,e){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),r=t.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:t.slice((r[1]||r[2]).length)}}function MSt(t,e){if(e===null)return new Date(NaN);var n=t.match(wSt);if(!n)return new Date(NaN);var r=!!n[4],i=Sv(n[1]),o=Sv(n[2])-1,a=Sv(n[3]),s=Sv(n[4]),c=Sv(n[5])-1;if(r)return LSt(e,s,c)?ESt(e,s,c):new Date(NaN);var l=new Date(0);return!PSt(e,o,a)||!DSt(e,i)?new Date(NaN):(l.setUTCFullYear(e,o,Math.max(i,a)),l)}function Sv(t){return t?parseInt(t):1}function TSt(t){var e=t.match(_St);if(!e)return NaN;var n=jT(e[1]),r=jT(e[2]),i=jT(e[3]);return NSt(n,r,i)?n*C6+r*S6+i*1e3:NaN}function jT(t){return t&&parseFloat(t.replace(",","."))||0}function ASt(t){if(t==="Z")return 0;var e=t.match(SSt);if(!e)return 0;var n=e[1]==="+"?-1:1,r=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;return ISt(r,i)?n*(r*C6+i*S6):NaN}function ESt(t,e,n){var r=new Date(0);r.setUTCFullYear(t,0,4);var i=r.getUTCDay()||7,o=(e-1)*7+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}var OSt=[31,null,31,30,31,30,31,31,30,31,30,31];function k6(t){return t%400===0||t%4===0&&t%100!==0}function PSt(t,e,n){return e>=0&&e<=11&&n>=1&&n<=(OSt[e]||(k6(t)?29:28))}function DSt(t,e){return e>=1&&e<=(k6(t)?366:365)}function LSt(t,e,n){return e>=1&&e<=53&&n>=0&&n<=6}function NSt(t,e,n){return t===24?e===0&&n===0:n>=0&&n<60&&e>=0&&e<60&&t>=0&&t<25}function ISt(t,e){return e>=0&&e<=59}function M6(t,e){bc(2,arguments);var n=Bh(e);return _6(t,-n)}function RSt(t){bc(1,arguments);var e=wv(t),n=e.getFullYear(),r=e.getMonth(),i=new Date(0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.getDate()}function jSt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $T(t,e){return $T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},$T(t,e)}function $St(t,e){if(Ff(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(Ff(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function zSt(t){var e=$St(t,"string");return Ff(e)=="symbol"?e:e+""}function BSt(t,e,n){return e=zSt(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function FSt(t,e){bc(2,arguments);var n=wv(t),r=Bh(e),i=n.getFullYear(),o=n.getDate(),a=new Date(0);a.setFullYear(i,r,15),a.setHours(0,0,0,0);var s=RSt(a);return n.setMonth(r,Math.min(o,s)),n}function HSt(t,e){bc(2,arguments);var n=wv(t),r=Bh(e);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(r),n)}function Cv(t,e,n){bc(2,arguments);var r=w6(t,n),i=w6(e,n);return r.getTime()===i.getTime()}var T6={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"}}},WSt=function(t,e,n){var r,i=n!=null&&n.addSuffix?T6[t].withPreposition:T6[t].standalone;return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",String(e)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:"vor "+r:r},VSt={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},USt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},GSt={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},YSt={date:Un({formats:VSt,defaultWidth:"full"}),time:Un({formats:USt,defaultWidth:"full"}),dateTime:Un({formats:GSt,defaultWidth:"full"})},qSt={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},XSt=function(t,e,n,r){return qSt[t]},ZSt={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},JSt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},zT={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"]},KSt={narrow:zT.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:zT.wide},QSt={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"]},tCt={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"}},eCt={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"}},nCt=function(t){var e=Number(t);return e+"."},rCt={ordinalNumber:nCt,era:Xe({values:ZSt,defaultWidth:"wide"}),quarter:Xe({values:JSt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:zT,formattingValues:KSt,defaultWidth:"wide"}),day:Xe({values:QSt,defaultWidth:"wide"}),dayPeriod:Xe({values:tCt,defaultWidth:"wide",formattingValues:eCt,defaultFormattingWidth:"wide"})},iCt=/^(\d+)(\.)?/i,oCt=/\d+/i,aCt={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},sCt={any:[/^v/i,/^n/i]},lCt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},cCt={any:[/1/i,/2/i,/3/i,/4/i]},uCt={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},dCt={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]},hCt={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},pCt={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},fCt={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},gCt={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}},mCt={ordinalNumber:Bs({matchPattern:iCt,parsePattern:oCt,valueCallback:function(t){return parseInt(t)}}),era:Ze({matchPatterns:aCt,defaultMatchWidth:"wide",parsePatterns:sCt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:lCt,defaultMatchWidth:"wide",parsePatterns:cCt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:uCt,defaultMatchWidth:"wide",parsePatterns:dCt,defaultParseWidth:"any"}),day:Ze({matchPatterns:hCt,defaultMatchWidth:"wide",parsePatterns:pCt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:fCt,defaultMatchWidth:"wide",parsePatterns:gCt,defaultParseWidth:"any"})},vCt={code:"de",formatDistance:WSt,formatLong:YSt,formatRelative:XSt,localize:rCt,match:mCt,options:{weekStartsOn:1,firstWeekContainsDate:4}},yCt={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"}},bCt=function(t,e,n){var r,i=yCt[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"en "+r:"hace "+r:r},xCt={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},wCt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},_Ct={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},SCt={date:Un({formats:xCt,defaultWidth:"full"}),time:Un({formats:wCt,defaultWidth:"full"}),dateTime:Un({formats:_Ct,defaultWidth:"full"})},CCt={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"},kCt={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"},MCt=function(t,e,n,r){return e.getUTCHours()!==1?kCt[t]:CCt[t]},TCt={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},ACt={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},ECt={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"]},OCt={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"]},PCt={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"}},DCt={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"}},LCt=function(t,e){var n=Number(t);return n+"º"},NCt={ordinalNumber:LCt,era:Xe({values:TCt,defaultWidth:"wide"}),quarter:Xe({values:ACt,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Xe({values:ECt,defaultWidth:"wide"}),day:Xe({values:OCt,defaultWidth:"wide"}),dayPeriod:Xe({values:PCt,defaultWidth:"wide",formattingValues:DCt,defaultFormattingWidth:"wide"})},ICt=/^(\d+)(º)?/i,RCt=/\d+/i,jCt={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},$Ct={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]},zCt={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},BCt={any:[/1/i,/2/i,/3/i,/4/i]},FCt={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},HCt={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]},WCt={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},VCt={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]},UCt={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},GCt={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}},YCt={ordinalNumber:Bs({matchPattern:ICt,parsePattern:RCt,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:jCt,defaultMatchWidth:"wide",parsePatterns:$Ct,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:zCt,defaultMatchWidth:"wide",parsePatterns:BCt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:FCt,defaultMatchWidth:"wide",parsePatterns:HCt,defaultParseWidth:"any"}),day:Ze({matchPatterns:WCt,defaultMatchWidth:"wide",parsePatterns:VCt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:UCt,defaultMatchWidth:"any",parsePatterns:GCt,defaultParseWidth:"any"})},qCt={code:"es",formatDistance:bCt,formatLong:SCt,formatRelative:MCt,localize:NCt,match:YCt,options:{weekStartsOn:1,firstWeekContainsDate:1}},XCt={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"}},ZCt=function(t,e,n){var r,i=XCt[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",String(e)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"dans "+r:"il y a "+r:r},JCt={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},KCt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},QCt={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},tkt={date:Un({formats:JCt,defaultWidth:"full"}),time:Un({formats:KCt,defaultWidth:"full"}),dateTime:Un({formats:QCt,defaultWidth:"full"})},ekt={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},nkt=function(t,e,n,r){return ekt[t]},rkt={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},ikt={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"]},okt={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"]},akt={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"]},skt={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"}},lkt=function(t,e){var n=Number(t),r=e==null?void 0:e.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},ckt={ordinalNumber:lkt,era:Xe({values:rkt,defaultWidth:"wide"}),quarter:Xe({values:ikt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:okt,defaultWidth:"wide"}),day:Xe({values:akt,defaultWidth:"wide"}),dayPeriod:Xe({values:skt,defaultWidth:"wide"})},ukt=/^(\d+)(ième|ère|ème|er|e)?/i,dkt=/\d+/i,hkt={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},pkt={any:[/^av/i,/^ap/i]},fkt={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},gkt={any:[/1/i,/2/i,/3/i,/4/i]},mkt={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},vkt={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]},ykt={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},bkt={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]},xkt={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},wkt={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}},_kt={ordinalNumber:Bs({matchPattern:ukt,parsePattern:dkt,valueCallback:function(t){return parseInt(t)}}),era:Ze({matchPatterns:hkt,defaultMatchWidth:"wide",parsePatterns:pkt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:fkt,defaultMatchWidth:"wide",parsePatterns:gkt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:mkt,defaultMatchWidth:"wide",parsePatterns:vkt,defaultParseWidth:"any"}),day:Ze({matchPatterns:ykt,defaultMatchWidth:"wide",parsePatterns:bkt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:xkt,defaultMatchWidth:"any",parsePatterns:wkt,defaultParseWidth:"any"})},Skt={code:"fr",formatDistance:ZCt,formatLong:tkt,formatRelative:nkt,localize:ckt,match:_kt,options:{weekStartsOn:1,firstWeekContainsDate:4}},Ckt={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"}},kkt=function(t,e,n){var r,i=Ckt[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"tra "+r:r+" fa":r},Mkt={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},Tkt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Akt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Ekt={date:Un({formats:Mkt,defaultWidth:"full"}),time:Un({formats:Tkt,defaultWidth:"full"}),dateTime:Un({formats:Akt,defaultWidth:"full"})},BT=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function Okt(t){switch(t){case 0:return"'domenica scorsa alle' p";default:return"'"+BT[t]+" scorso alle' p"}}function A6(t){return"'"+BT[t]+" alle' p"}function Pkt(t){switch(t){case 0:return"'domenica prossima alle' p";default:return"'"+BT[t]+" prossimo alle' p"}}var Dkt={lastWeek:function(t,e,n){var r=t.getUTCDay();return Cv(t,e,n)?A6(r):Okt(r)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:function(t,e,n){var r=t.getUTCDay();return Cv(t,e,n)?A6(r):Pkt(r)},other:"P"},Lkt=function(t,e,n,r){var i=Dkt[t];return typeof i=="function"?i(e,n,r):i},Nkt={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},Ikt={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},Rkt={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"]},jkt={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"]},$kt={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"}},zkt={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"}},Bkt=function(t,e){var n=Number(t);return String(n)},Fkt={ordinalNumber:Bkt,era:Xe({values:Nkt,defaultWidth:"wide"}),quarter:Xe({values:Ikt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:Rkt,defaultWidth:"wide"}),day:Xe({values:jkt,defaultWidth:"wide"}),dayPeriod:Xe({values:$kt,defaultWidth:"wide",formattingValues:zkt,defaultFormattingWidth:"wide"})},Hkt=/^(\d+)(º)?/i,Wkt=/\d+/i,Vkt={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},Ukt={any:[/^a/i,/^(d|e)/i]},Gkt={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},Ykt={any:[/1/i,/2/i,/3/i,/4/i]},qkt={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},Xkt={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]},Zkt={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},Jkt={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]},Kkt={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},Qkt={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}},tMt={ordinalNumber:Bs({matchPattern:Hkt,parsePattern:Wkt,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:Vkt,defaultMatchWidth:"wide",parsePatterns:Ukt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:Gkt,defaultMatchWidth:"wide",parsePatterns:Ykt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:qkt,defaultMatchWidth:"wide",parsePatterns:Xkt,defaultParseWidth:"any"}),day:Ze({matchPatterns:Zkt,defaultMatchWidth:"wide",parsePatterns:Jkt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:Kkt,defaultMatchWidth:"any",parsePatterns:Qkt,defaultParseWidth:"any"})},eMt={code:"it",formatDistance:kkt,formatLong:Ekt,formatRelative:Lkt,localize:Fkt,match:tMt,options:{weekStartsOn:1,firstWeekContainsDate:4}},nMt={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}}年近く"}},rMt=function(t,e,n){n=n||{};var r,i=nMt[t];return typeof i=="string"?r=i:e===1?n.addSuffix&&i.oneWithSuffix?r=i.oneWithSuffix:r=i.one:n.addSuffix&&i.otherWithSuffix?r=i.otherWithSuffix.replace("{{count}}",String(e)):r=i.other.replace("{{count}}",String(e)),n.addSuffix?n.comparison&&n.comparison>0?r+"後":r+"前":r},iMt={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},oMt={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},aMt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},sMt={date:Un({formats:iMt,defaultWidth:"full"}),time:Un({formats:oMt,defaultWidth:"full"}),dateTime:Un({formats:aMt,defaultWidth:"full"})},lMt={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},cMt=function(t,e,n,r){return lMt[t]},uMt={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},dMt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},hMt={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月"]},pMt={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},fMt={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:"深夜"}},gMt={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:"深夜"}},mMt=function(t,e){var n=Number(t),r=String(e==null?void 0:e.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)}},vMt={ordinalNumber:mMt,era:Xe({values:uMt,defaultWidth:"wide"}),quarter:Xe({values:dMt,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Xe({values:hMt,defaultWidth:"wide"}),day:Xe({values:pMt,defaultWidth:"wide"}),dayPeriod:Xe({values:fMt,defaultWidth:"wide",formattingValues:gMt,defaultFormattingWidth:"wide"})},yMt=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,bMt=/\d+/i,xMt={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},wMt={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},_Mt={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},SMt={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},CMt={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},kMt={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},MMt={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},TMt={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},AMt={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},EMt={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},OMt={ordinalNumber:Bs({matchPattern:yMt,parsePattern:bMt,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:xMt,defaultMatchWidth:"wide",parsePatterns:wMt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:_Mt,defaultMatchWidth:"wide",parsePatterns:SMt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:CMt,defaultMatchWidth:"wide",parsePatterns:kMt,defaultParseWidth:"any"}),day:Ze({matchPatterns:MMt,defaultMatchWidth:"wide",parsePatterns:TMt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:AMt,defaultMatchWidth:"any",parsePatterns:EMt,defaultParseWidth:"any"})},PMt={code:"ja",formatDistance:rMt,formatLong:sMt,formatRelative:cMt,localize:vMt,match:OMt,options:{weekStartsOn:0,firstWeekContainsDate:1}},DMt={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}}년"}},LMt=function(t,e,n){var r,i=DMt[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?r+" 후":r+" 전":r},NMt={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},IMt={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},RMt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},jMt={date:Un({formats:NMt,defaultWidth:"full"}),time:Un({formats:IMt,defaultWidth:"full"}),dateTime:Un({formats:RMt,defaultWidth:"full"})},$Mt={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},zMt=function(t,e,n,r){return $Mt[t]},BMt={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},FMt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},HMt={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월"]},WMt={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},VMt={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:"밤"}},UMt={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:"밤"}},GMt=function(t,e){var n=Number(t),r=String(e==null?void 0:e.unit);switch(r){case"minute":case"second":return String(n);case"date":return n+"일";default:return n+"번째"}},YMt={ordinalNumber:GMt,era:Xe({values:BMt,defaultWidth:"wide"}),quarter:Xe({values:FMt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:HMt,defaultWidth:"wide"}),day:Xe({values:WMt,defaultWidth:"wide"}),dayPeriod:Xe({values:VMt,defaultWidth:"wide",formattingValues:UMt,defaultFormattingWidth:"wide"})},qMt=/^(\d+)(일|번째)?/i,XMt=/\d+/i,ZMt={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},JMt={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},KMt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},QMt={any:[/1/i,/2/i,/3/i,/4/i]},tTt={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},eTt={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},nTt={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},rTt={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},iTt={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},oTt={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},aTt={ordinalNumber:Bs({matchPattern:qMt,parsePattern:XMt,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:ZMt,defaultMatchWidth:"wide",parsePatterns:JMt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:KMt,defaultMatchWidth:"wide",parsePatterns:QMt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:tTt,defaultMatchWidth:"wide",parsePatterns:eTt,defaultParseWidth:"any"}),day:Ze({matchPatterns:nTt,defaultMatchWidth:"wide",parsePatterns:rTt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:iTt,defaultMatchWidth:"any",parsePatterns:oTt,defaultParseWidth:"any"})},sTt={code:"ko",formatDistance:LMt,formatLong:jMt,formatRelative:zMt,localize:YMt,match:aTt,options:{weekStartsOn:0,firstWeekContainsDate:1}},lTt={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"}},cTt=function(t,e,n){var r,i=lTt[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",String(e)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"over "+r:r+" geleden":r},uTt={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},dTt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},hTt={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},pTt={date:Un({formats:uTt,defaultWidth:"full"}),time:Un({formats:dTt,defaultWidth:"full"}),dateTime:Un({formats:hTt,defaultWidth:"full"})},fTt={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},gTt=function(t,e,n,r){return fTt[t]},mTt={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},vTt={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},yTt={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"]},bTt={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"]},xTt={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"}},wTt=function(t,e){var n=Number(t);return n+"e"},_Tt={ordinalNumber:wTt,era:Xe({values:mTt,defaultWidth:"wide"}),quarter:Xe({values:vTt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:yTt,defaultWidth:"wide"}),day:Xe({values:bTt,defaultWidth:"wide"}),dayPeriod:Xe({values:xTt,defaultWidth:"wide"})},STt=/^(\d+)e?/i,CTt=/\d+/i,kTt={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},MTt={any:[/^v/,/^n/]},TTt={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},ATt={any:[/1/i,/2/i,/3/i,/4/i]},ETt={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},OTt={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]},PTt={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},DTt={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]},LTt={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},NTt={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}},ITt={ordinalNumber:Bs({matchPattern:STt,parsePattern:CTt,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:kTt,defaultMatchWidth:"wide",parsePatterns:MTt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:TTt,defaultMatchWidth:"wide",parsePatterns:ATt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:ETt,defaultMatchWidth:"wide",parsePatterns:OTt,defaultParseWidth:"any"}),day:Ze({matchPatterns:PTt,defaultMatchWidth:"wide",parsePatterns:DTt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:LTt,defaultMatchWidth:"any",parsePatterns:NTt,defaultParseWidth:"any"})},RTt={code:"nl",formatDistance:cTt,formatLong:pTt,formatRelative:gTt,localize:_Tt,match:ITt,options:{weekStartsOn:1,firstWeekContainsDate:4}},jTt={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"}},$Tt=function(t,e,n){var r,i=jTt[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",String(e)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"daqui a "+r:"há "+r:r},zTt={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},BTt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},FTt={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},HTt={date:Un({formats:zTt,defaultWidth:"full"}),time:Un({formats:BTt,defaultWidth:"full"}),dateTime:Un({formats:FTt,defaultWidth:"full"})},WTt={lastWeek:function(t){var e=t.getUTCDay(),n=e===0||e===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"},VTt=function(t,e,n,r){var i=WTt[t];return typeof i=="function"?i(e):i},UTt={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},GTt={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},YTt={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"]},qTt={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"]},XTt={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"}},ZTt={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"}},JTt=function(t,e){var n=Number(t);return n+"º"},KTt={ordinalNumber:JTt,era:Xe({values:UTt,defaultWidth:"wide"}),quarter:Xe({values:GTt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:YTt,defaultWidth:"wide"}),day:Xe({values:qTt,defaultWidth:"wide"}),dayPeriod:Xe({values:XTt,defaultWidth:"wide",formattingValues:ZTt,defaultFormattingWidth:"wide"})},QTt=/^(\d+)(º|ª)?/i,t2t=/\d+/i,e2t={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},n2t={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},r2t={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},i2t={any:[/1/i,/2/i,/3/i,/4/i]},o2t={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},a2t={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]},s2t={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},l2t={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]},c2t={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},u2t={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}},d2t={ordinalNumber:Bs({matchPattern:QTt,parsePattern:t2t,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:e2t,defaultMatchWidth:"wide",parsePatterns:n2t,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:r2t,defaultMatchWidth:"wide",parsePatterns:i2t,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:o2t,defaultMatchWidth:"wide",parsePatterns:a2t,defaultParseWidth:"any"}),day:Ze({matchPatterns:s2t,defaultMatchWidth:"wide",parsePatterns:l2t,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:c2t,defaultMatchWidth:"any",parsePatterns:u2t,defaultParseWidth:"any"})},h2t={code:"pt",formatDistance:$Tt,formatLong:HTt,formatRelative:VTt,localize:KTt,match:d2t,options:{weekStartsOn:1,firstWeekContainsDate:4}};function kv(t,e){if(t.one!==void 0&&e===1)return t.one;var n=e%10,r=e%100;return n===1&&r!==11?t.singularNominative.replace("{{count}}",String(e)):n>=2&&n<=4&&(r<10||r>20)?t.singularGenitive.replace("{{count}}",String(e)):t.pluralGenitive.replace("{{count}}",String(e))}function na(t){return function(e,n){return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?t.future?kv(t.future,e):"через "+kv(t.regular,e):t.past?kv(t.past,e):kv(t.regular,e)+" назад":kv(t.regular,e)}}var p2t={lessThanXSeconds:na({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:na({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:function(t,e){return e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:na({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:na({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:na({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:na({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:na({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:na({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:na({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:na({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:na({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:na({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:na({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:na({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:na({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},f2t=function(t,e,n){return p2t[t](e,n)},g2t={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},m2t={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},v2t={any:"{{date}}, {{time}}"},y2t={date:Un({formats:g2t,defaultWidth:"full"}),time:Un({formats:m2t,defaultWidth:"full"}),dateTime:Un({formats:v2t,defaultWidth:"any"})},FT=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function b2t(t){var e=FT[t];switch(t){case 0:return"'в прошлое "+e+" в' p";case 1:case 2:case 4:return"'в прошлый "+e+" в' p";case 3:case 5:case 6:return"'в прошлую "+e+" в' p"}}function E6(t){var e=FT[t];return t===2?"'во "+e+" в' p":"'в "+e+" в' p"}function x2t(t){var e=FT[t];switch(t){case 0:return"'в следующее "+e+" в' p";case 1:case 2:case 4:return"'в следующий "+e+" в' p";case 3:case 5:case 6:return"'в следующую "+e+" в' p"}}var w2t={lastWeek:function(t,e,n){var r=t.getUTCDay();return Cv(t,e,n)?E6(r):b2t(r)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:function(t,e,n){var r=t.getUTCDay();return Cv(t,e,n)?E6(r):x2t(r)},other:"P"},_2t=function(t,e,n,r){var i=w2t[t];return typeof i=="function"?i(e,n,r):i},S2t={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},C2t={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},k2t={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},M2t={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},T2t={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},A2t={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:"ночь"}},E2t={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:"ночи"}},O2t=function(t,e){var n=Number(t),r=e==null?void 0:e.unit,i;return r==="date"?i="-е":r==="week"||r==="minute"||r==="second"?i="-я":i="-й",n+i},P2t={ordinalNumber:O2t,era:Xe({values:S2t,defaultWidth:"wide"}),quarter:Xe({values:C2t,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:k2t,defaultWidth:"wide",formattingValues:M2t,defaultFormattingWidth:"wide"}),day:Xe({values:T2t,defaultWidth:"wide"}),dayPeriod:Xe({values:A2t,defaultWidth:"any",formattingValues:E2t,defaultFormattingWidth:"wide"})},D2t=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,L2t=/\d+/i,N2t={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},I2t={any:[/^д/i,/^н/i]},R2t={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},j2t={any:[/1/i,/2/i,/3/i,/4/i]},$2t={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},z2t={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]},B2t={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},F2t={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},H2t={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},W2t={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},V2t={ordinalNumber:Bs({matchPattern:D2t,parsePattern:L2t,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:N2t,defaultMatchWidth:"wide",parsePatterns:I2t,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:R2t,defaultMatchWidth:"wide",parsePatterns:j2t,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:$2t,defaultMatchWidth:"wide",parsePatterns:z2t,defaultParseWidth:"any"}),day:Ze({matchPatterns:B2t,defaultMatchWidth:"wide",parsePatterns:F2t,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:H2t,defaultMatchWidth:"wide",parsePatterns:W2t,defaultParseWidth:"any"})},U2t={code:"ru",formatDistance:f2t,formatLong:y2t,formatRelative:_2t,localize:P2t,match:V2t,options:{weekStartsOn:1,firstWeekContainsDate:1}},G2t={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"}},Y2t=function(t,e,n){var r,i=G2t[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?r+" sonra":r+" önce":r},q2t={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},X2t={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Z2t={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},J2t={date:Un({formats:q2t,defaultWidth:"full"}),time:Un({formats:X2t,defaultWidth:"full"}),dateTime:Un({formats:Z2t,defaultWidth:"full"})},K2t={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"},Q2t=function(t,e,n,r){return K2t[t]},tAt={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},eAt={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},nAt={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"]},rAt={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"]},iAt={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"}},oAt={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"}},aAt=function(t,e){var n=Number(t);return n+"."},sAt={ordinalNumber:aAt,era:Xe({values:tAt,defaultWidth:"wide"}),quarter:Xe({values:eAt,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Xe({values:nAt,defaultWidth:"wide"}),day:Xe({values:rAt,defaultWidth:"wide"}),dayPeriod:Xe({values:iAt,defaultWidth:"wide",formattingValues:oAt,defaultFormattingWidth:"wide"})},lAt=/^(\d+)(\.)?/i,cAt=/\d+/i,uAt={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},dAt={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},hAt={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},pAt={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]},fAt={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},gAt={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]},mAt={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},vAt={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]},yAt={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},bAt={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}},xAt={ordinalNumber:Bs({matchPattern:lAt,parsePattern:cAt,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:uAt,defaultMatchWidth:"wide",parsePatterns:dAt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:hAt,defaultMatchWidth:"wide",parsePatterns:pAt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:fAt,defaultMatchWidth:"wide",parsePatterns:gAt,defaultParseWidth:"any"}),day:Ze({matchPatterns:mAt,defaultMatchWidth:"wide",parsePatterns:vAt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:yAt,defaultMatchWidth:"any",parsePatterns:bAt,defaultParseWidth:"any"})},wAt={code:"tr",formatDistance:Y2t,formatLong:J2t,formatRelative:Q2t,localize:sAt,match:xAt,options:{weekStartsOn:1,firstWeekContainsDate:1}},_At={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}} 年"}},SAt=function(t,e,n){var r,i=_At[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",String(e)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?r+"内":r+"前":r},CAt={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},kAt={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},MAt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},TAt={date:Un({formats:CAt,defaultWidth:"full"}),time:Un({formats:kAt,defaultWidth:"full"}),dateTime:Un({formats:MAt,defaultWidth:"full"})};function O6(t,e,n){var r="eeee p";return Cv(t,e,n)?r:t.getTime()>e.getTime()?"'下个'"+r:"'上个'"+r}var AAt={lastWeek:O6,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:O6,other:"PP p"},EAt=function(t,e,n,r){var i=AAt[t];return typeof i=="function"?i(e,n,r):i},OAt={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},PAt={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},DAt={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},LAt={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},NAt={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:"夜间"}},IAt={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:"夜间"}},RAt=function(t,e){var n=Number(t);switch(e==null?void 0:e.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()}},jAt={ordinalNumber:RAt,era:Xe({values:OAt,defaultWidth:"wide"}),quarter:Xe({values:PAt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:DAt,defaultWidth:"wide"}),day:Xe({values:LAt,defaultWidth:"wide"}),dayPeriod:Xe({values:NAt,defaultWidth:"wide",formattingValues:IAt,defaultFormattingWidth:"wide"})},$At=/^(第\s*)?\d+(日|时|分|秒)?/i,zAt=/\d+/i,BAt={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},FAt={any:[/^(前)/i,/^(公元)/i]},HAt={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},WAt={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},VAt={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},UAt={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]},GAt={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},YAt={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},qAt={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},XAt={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},ZAt={ordinalNumber:Bs({matchPattern:$At,parsePattern:zAt,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:BAt,defaultMatchWidth:"wide",parsePatterns:FAt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:HAt,defaultMatchWidth:"wide",parsePatterns:WAt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:VAt,defaultMatchWidth:"wide",parsePatterns:UAt,defaultParseWidth:"any"}),day:Ze({matchPatterns:GAt,defaultMatchWidth:"wide",parsePatterns:YAt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:qAt,defaultMatchWidth:"any",parsePatterns:XAt,defaultParseWidth:"any"})},JAt={code:"zh-CN",formatDistance:SAt,formatLong:TAt,formatRelative:EAt,localize:jAt,match:ZAt,options:{weekStartsOn:1,firstWeekContainsDate:4}},KAt=Math.ceil,QAt=Math.max;function tEt(t,e,n,r){for(var i=-1,o=QAt(KAt((e-t)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=t,t+=n;return a}var eEt=tEt,nEt=cv,rEt=Rh,iEt=o1,oEt=cs;function aEt(t,e,n){if(!oEt(n))return!1;var r=typeof e;return(r=="number"?rEt(n)&&iEt(e,n.length):r=="string"&&e in n)?nEt(n[e],t):!1}var P6=aEt,sEt=/\s/;function lEt(t){for(var e=t.length;e--&&sEt.test(t.charAt(e)););return e}var cEt=lEt,uEt=cEt,dEt=/^\s+/;function hEt(t){return t&&t.slice(0,uEt(t)+1).replace(dEt,"")}var D6=hEt,pEt=D6,L6=cs,fEt=v1,N6=NaN,gEt=/^[-+]0x[0-9a-f]+$/i,mEt=/^0b[01]+$/i,vEt=/^0o[0-7]+$/i,yEt=parseInt;function bEt(t){if(typeof t=="number")return t;if(fEt(t))return N6;if(L6(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=L6(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=pEt(t);var n=mEt.test(t);return n||vEt.test(t)?yEt(t.slice(2),n?2:8):gEt.test(t)?N6:+t}var Hf=bEt,xEt=Hf,I6=1/0,wEt=17976931348623157e292;function _Et(t){if(!t)return t===0?t:0;if(t=xEt(t),t===I6||t===-I6){var e=t<0?-1:1;return e*wEt}return t===t?t:0}var HT=_Et,SEt=eEt,CEt=P6,WT=HT;function kEt(t){return function(e,n,r){return r&&typeof r!="number"&&CEt(e,n,r)&&(n=r=void 0),e=WT(e),n===void 0?(n=e,e=0):n=WT(n),r=r===void 0?e<n?1:-1:WT(r),SEt(e,n,r,t)}}var MEt=kEt,TEt=MEt,AEt=TEt(),EEt=AEt;const U1=An(EEt),VT=t=>{var e;switch((e=t==null?void 0:t.language)==null?void 0:e.split("-")[0]){case"de":return vCt;case"fr":return Skt;case"es":return qCt;case"it":return eMt;case"ja":return PMt;case"ko":return sTt;case"nl":return RTt;case"pt":return h2t;case"ru":return U2t;case"tr":return wAt;case"zh":return JAt;default:return xSt}};U1(4),U1(12),U1(7),U1(24);var UT={exports:{}},R6={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(R6);var Gr=R6.exports,GT={exports:{}},YT={exports:{}},j6={exports:{}};(function(t){function e(n){return t.exports=e=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},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(j6);var $6=j6.exports,qT={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;function n(r,i){if(i.length<r)throw new TypeError(r+" argument"+(r>1?"s":"")+" required, but only "+i.length+" present")}t.exports=e.default})(qT,qT.exports);var ra=qT.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var r=n($6),i=n(ra);function o(a){return(0,i.default)(1,arguments),a instanceof Date||(0,r.default)(a)==="object"&&Object.prototype.toString.call(a)==="[object Date]"}t.exports=e.default})(YT,YT.exports);var OEt=YT.exports,XT={exports:{}};(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var r=n($6),i=n(ra);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))}t.exports=e.default})(XT,XT.exports);var xc=XT.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=n(OEt),i=n(xc),o=n(ra);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))}t.exports=e.default})(GT,GT.exports);var PEt=GT.exports,ZT={exports:{}},JT={exports:{}},KT={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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)}t.exports=e.default})(KT,KT.exports);var Fh=KT.exports;const DEt=An(Fh);(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=n(Fh),i=n(xc),o=n(ra);function a(s,c){(0,o.default)(2,arguments);var l=(0,i.default)(s).getTime(),f=(0,r.default)(c);return new Date(l+f)}t.exports=e.default})(JT,JT.exports);var LEt=JT.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=n(LEt),i=n(ra),o=n(Fh);function a(s,c){(0,i.default)(2,arguments);var l=(0,o.default)(c);return(0,r.default)(s,-l)}t.exports=e.default})(ZT,ZT.exports);var NEt=ZT.exports,QT={exports:{}},t2={exports:{}};(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=n(xc),i=n(ra),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 f=c.getTime(),w=l-f;return Math.floor(w/o)+1}t.exports=e.default})(t2,t2.exports);var IEt=t2.exports,e2={exports:{}},n2={exports:{}};(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var r=n(xc),i=n(ra);function o(a){(0,i.default)(1,arguments);var s=1,c=(0,r.default)(a),l=c.getUTCDay(),f=(l<s?7:0)+l-s;return c.setUTCDate(c.getUTCDate()-f),c.setUTCHours(0,0,0,0),c}t.exports=e.default})(n2,n2.exports);var r2=n2.exports,i2={exports:{}},o2={exports:{}};(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=n(xc),i=n(ra),o=n(r2);function a(s){(0,i.default)(1,arguments);var c=(0,r.default)(s),l=c.getUTCFullYear(),f=new Date(0);f.setUTCFullYear(l+1,0,4),f.setUTCHours(0,0,0,0);var w=(0,o.default)(f),u=new Date(0);u.setUTCFullYear(l,0,4),u.setUTCHours(0,0,0,0);var j=(0,o.default)(u);return c.getTime()>=w.getTime()?l+1:c.getTime()>=j.getTime()?l:l-1}t.exports=e.default})(o2,o2.exports);var z6=o2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=n(z6),i=n(r2),o=n(ra);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 f=(0,i.default)(l);return f}t.exports=e.default})(i2,i2.exports);var REt=i2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var r=n(xc),i=n(r2),o=n(REt),a=n(ra),s=6048e5;function c(l){(0,a.default)(1,arguments);var f=(0,r.default)(l),w=(0,i.default)(f).getTime()-(0,o.default)(f).getTime();return Math.round(w/s)+1}t.exports=e.default})(e2,e2.exports);var jEt=e2.exports,a2={exports:{}},s2={exports:{}},Hh={};Object.defineProperty(Hh,"__esModule",{value:!0}),Hh.getDefaultOptions=$Et,Hh.setDefaultOptions=zEt;var B6={};function $Et(){return B6}function zEt(t){B6=t}(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=n(xc),i=n(ra),o=n(Fh),a=Hh;function s(c,l){var f,w,u,j,S,b,T,W;(0,i.default)(1,arguments);var G=(0,a.getDefaultOptions)(),Y=(0,o.default)((f=(w=(u=(j=l==null?void 0:l.weekStartsOn)!==null&&j!==void 0?j:l==null||(S=l.locale)===null||S===void 0||(b=S.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&u!==void 0?u:G.weekStartsOn)!==null&&w!==void 0?w:(T=G.locale)===null||T===void 0||(W=T.options)===null||W===void 0?void 0:W.weekStartsOn)!==null&&f!==void 0?f:0);if(!(Y>=0&&Y<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var U=(0,r.default)(c),$=U.getUTCDay(),O=($<Y?7:0)+$-Y;return U.setUTCDate(U.getUTCDate()-O),U.setUTCHours(0,0,0,0),U}t.exports=e.default})(s2,s2.exports);var l2=s2.exports,c2={exports:{}},u2={exports:{}};(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var r=n(xc),i=n(ra),o=n(l2),a=n(Fh),s=Hh;function c(l,f){var w,u,j,S,b,T,W,G;(0,i.default)(1,arguments);var Y=(0,r.default)(l),U=Y.getUTCFullYear(),$=(0,s.getDefaultOptions)(),O=(0,a.default)((w=(u=(j=(S=f==null?void 0:f.firstWeekContainsDate)!==null&&S!==void 0?S:f==null||(b=f.locale)===null||b===void 0||(T=b.options)===null||T===void 0?void 0:T.firstWeekContainsDate)!==null&&j!==void 0?j:$.firstWeekContainsDate)!==null&&u!==void 0?u:(W=$.locale)===null||W===void 0||(G=W.options)===null||G===void 0?void 0:G.firstWeekContainsDate)!==null&&w!==void 0?w:1);if(!(O>=1&&O<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var D=new Date(0);D.setUTCFullYear(U+1,0,O),D.setUTCHours(0,0,0,0);var m=(0,o.default)(D,f),C=new Date(0);C.setUTCFullYear(U,0,O),C.setUTCHours(0,0,0,0);var p=(0,o.default)(C,f);return Y.getTime()>=m.getTime()?U+1:Y.getTime()>=p.getTime()?U:U-1}t.exports=e.default})(u2,u2.exports);var F6=u2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var r=n(F6),i=n(ra),o=n(l2),a=n(Fh),s=Hh;function c(l,f){var w,u,j,S,b,T,W,G;(0,i.default)(1,arguments);var Y=(0,s.getDefaultOptions)(),U=(0,a.default)((w=(u=(j=(S=f==null?void 0:f.firstWeekContainsDate)!==null&&S!==void 0?S:f==null||(b=f.locale)===null||b===void 0||(T=b.options)===null||T===void 0?void 0:T.firstWeekContainsDate)!==null&&j!==void 0?j:Y.firstWeekContainsDate)!==null&&u!==void 0?u:(W=Y.locale)===null||W===void 0||(G=W.options)===null||G===void 0?void 0:G.firstWeekContainsDate)!==null&&w!==void 0?w:1),$=(0,r.default)(l,f),O=new Date(0);O.setUTCFullYear($,0,U),O.setUTCHours(0,0,0,0);var D=(0,o.default)(O,f);return D}t.exports=e.default})(c2,c2.exports);var BEt=c2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var r=n(xc),i=n(l2),o=n(BEt),a=n(ra),s=6048e5;function c(l,f){(0,a.default)(1,arguments);var w=(0,r.default)(l),u=(0,i.default)(w,f).getTime()-(0,o.default)(w,f).getTime();return Math.round(u/s)+1}t.exports=e.default})(a2,a2.exports);var FEt=a2.exports,d2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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}t.exports=e.default})(d2,d2.exports);var H6=d2.exports,h2={exports:{}};(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(H6),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(),f=Math.floor(l*Math.pow(10,c-3));return(0,r.default)(f,s.length)}},o=i;e.default=o,t.exports=e.default})(h2,h2.exports);var HEt=h2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(IEt),i=n(jEt),o=n(z6),a=n(FEt),s=n(F6),c=n(H6),l=n(HEt),f={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},w={G:function(T,W,G){var Y=T.getUTCFullYear()>0?1:0;switch(W){case"G":case"GG":case"GGG":return G.era(Y,{width:"abbreviated"});case"GGGGG":return G.era(Y,{width:"narrow"});case"GGGG":default:return G.era(Y,{width:"wide"})}},y:function(T,W,G){if(W==="yo"){var Y=T.getUTCFullYear(),U=Y>0?Y:1-Y;return G.ordinalNumber(U,{unit:"year"})}return l.default.y(T,W)},Y:function(T,W,G,Y){var U=(0,s.default)(T,Y),$=U>0?U:1-U;if(W==="YY"){var O=$%100;return(0,c.default)(O,2)}return W==="Yo"?G.ordinalNumber($,{unit:"year"}):(0,c.default)($,W.length)},R:function(T,W){var G=(0,o.default)(T);return(0,c.default)(G,W.length)},u:function(T,W){var G=T.getUTCFullYear();return(0,c.default)(G,W.length)},Q:function(T,W,G){var Y=Math.ceil((T.getUTCMonth()+1)/3);switch(W){case"Q":return String(Y);case"QQ":return(0,c.default)(Y,2);case"Qo":return G.ordinalNumber(Y,{unit:"quarter"});case"QQQ":return G.quarter(Y,{width:"abbreviated",context:"formatting"});case"QQQQQ":return G.quarter(Y,{width:"narrow",context:"formatting"});case"QQQQ":default:return G.quarter(Y,{width:"wide",context:"formatting"})}},q:function(T,W,G){var Y=Math.ceil((T.getUTCMonth()+1)/3);switch(W){case"q":return String(Y);case"qq":return(0,c.default)(Y,2);case"qo":return G.ordinalNumber(Y,{unit:"quarter"});case"qqq":return G.quarter(Y,{width:"abbreviated",context:"standalone"});case"qqqqq":return G.quarter(Y,{width:"narrow",context:"standalone"});case"qqqq":default:return G.quarter(Y,{width:"wide",context:"standalone"})}},M:function(T,W,G){var Y=T.getUTCMonth();switch(W){case"M":case"MM":return l.default.M(T,W);case"Mo":return G.ordinalNumber(Y+1,{unit:"month"});case"MMM":return G.month(Y,{width:"abbreviated",context:"formatting"});case"MMMMM":return G.month(Y,{width:"narrow",context:"formatting"});case"MMMM":default:return G.month(Y,{width:"wide",context:"formatting"})}},L:function(T,W,G){var Y=T.getUTCMonth();switch(W){case"L":return String(Y+1);case"LL":return(0,c.default)(Y+1,2);case"Lo":return G.ordinalNumber(Y+1,{unit:"month"});case"LLL":return G.month(Y,{width:"abbreviated",context:"standalone"});case"LLLLL":return G.month(Y,{width:"narrow",context:"standalone"});case"LLLL":default:return G.month(Y,{width:"wide",context:"standalone"})}},w:function(T,W,G,Y){var U=(0,a.default)(T,Y);return W==="wo"?G.ordinalNumber(U,{unit:"week"}):(0,c.default)(U,W.length)},I:function(T,W,G){var Y=(0,i.default)(T);return W==="Io"?G.ordinalNumber(Y,{unit:"week"}):(0,c.default)(Y,W.length)},d:function(T,W,G){return W==="do"?G.ordinalNumber(T.getUTCDate(),{unit:"date"}):l.default.d(T,W)},D:function(T,W,G){var Y=(0,r.default)(T);return W==="Do"?G.ordinalNumber(Y,{unit:"dayOfYear"}):(0,c.default)(Y,W.length)},E:function(T,W,G){var Y=T.getUTCDay();switch(W){case"E":case"EE":case"EEE":return G.day(Y,{width:"abbreviated",context:"formatting"});case"EEEEE":return G.day(Y,{width:"narrow",context:"formatting"});case"EEEEEE":return G.day(Y,{width:"short",context:"formatting"});case"EEEE":default:return G.day(Y,{width:"wide",context:"formatting"})}},e:function(T,W,G,Y){var U=T.getUTCDay(),$=(U-Y.weekStartsOn+8)%7||7;switch(W){case"e":return String($);case"ee":return(0,c.default)($,2);case"eo":return G.ordinalNumber($,{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(T,W,G,Y){var U=T.getUTCDay(),$=(U-Y.weekStartsOn+8)%7||7;switch(W){case"c":return String($);case"cc":return(0,c.default)($,W.length);case"co":return G.ordinalNumber($,{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(T,W,G){var Y=T.getUTCDay(),U=Y===0?7:Y;switch(W){case"i":return String(U);case"ii":return(0,c.default)(U,W.length);case"io":return G.ordinalNumber(U,{unit:"day"});case"iii":return G.day(Y,{width:"abbreviated",context:"formatting"});case"iiiii":return G.day(Y,{width:"narrow",context:"formatting"});case"iiiiii":return G.day(Y,{width:"short",context:"formatting"});case"iiii":default:return G.day(Y,{width:"wide",context:"formatting"})}},a:function(T,W,G){var Y=T.getUTCHours(),U=Y/12>=1?"pm":"am";switch(W){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(T,W,G){var Y=T.getUTCHours(),U;switch(Y===12?U=f.noon:Y===0?U=f.midnight:U=Y/12>=1?"pm":"am",W){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(T,W,G){var Y=T.getUTCHours(),U;switch(Y>=17?U=f.evening:Y>=12?U=f.afternoon:Y>=4?U=f.morning:U=f.night,W){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(T,W,G){if(W==="ho"){var Y=T.getUTCHours()%12;return Y===0&&(Y=12),G.ordinalNumber(Y,{unit:"hour"})}return l.default.h(T,W)},H:function(T,W,G){return W==="Ho"?G.ordinalNumber(T.getUTCHours(),{unit:"hour"}):l.default.H(T,W)},K:function(T,W,G){var Y=T.getUTCHours()%12;return W==="Ko"?G.ordinalNumber(Y,{unit:"hour"}):(0,c.default)(Y,W.length)},k:function(T,W,G){var Y=T.getUTCHours();return Y===0&&(Y=24),W==="ko"?G.ordinalNumber(Y,{unit:"hour"}):(0,c.default)(Y,W.length)},m:function(T,W,G){return W==="mo"?G.ordinalNumber(T.getUTCMinutes(),{unit:"minute"}):l.default.m(T,W)},s:function(T,W,G){return W==="so"?G.ordinalNumber(T.getUTCSeconds(),{unit:"second"}):l.default.s(T,W)},S:function(T,W){return l.default.S(T,W)},X:function(T,W,G,Y){var U=Y._originalDate||T,$=U.getTimezoneOffset();if($===0)return"Z";switch(W){case"X":return j($);case"XXXX":case"XX":return S($);case"XXXXX":case"XXX":default:return S($,":")}},x:function(T,W,G,Y){var U=Y._originalDate||T,$=U.getTimezoneOffset();switch(W){case"x":return j($);case"xxxx":case"xx":return S($);case"xxxxx":case"xxx":default:return S($,":")}},O:function(T,W,G,Y){var U=Y._originalDate||T,$=U.getTimezoneOffset();switch(W){case"O":case"OO":case"OOO":return"GMT"+u($,":");case"OOOO":default:return"GMT"+S($,":")}},z:function(T,W,G,Y){var U=Y._originalDate||T,$=U.getTimezoneOffset();switch(W){case"z":case"zz":case"zzz":return"GMT"+u($,":");case"zzzz":default:return"GMT"+S($,":")}},t:function(T,W,G,Y){var U=Y._originalDate||T,$=Math.floor(U.getTime()/1e3);return(0,c.default)($,W.length)},T:function(T,W,G,Y){var U=Y._originalDate||T,$=U.getTime();return(0,c.default)($,W.length)}};function u(T,W){var G=T>0?"-":"+",Y=Math.abs(T),U=Math.floor(Y/60),$=Y%60;if($===0)return G+String(U);var O=W;return G+String(U)+O+(0,c.default)($,2)}function j(T,W){if(T%60===0){var G=T>0?"-":"+";return G+(0,c.default)(Math.abs(T)/60,2)}return S(T,W)}function S(T,W){var G=W||"",Y=T>0?"-":"+",U=Math.abs(T),$=(0,c.default)(Math.floor(U/60),2),O=(0,c.default)(U%60,2);return Y+$+G+O}var b=w;e.default=b,t.exports=e.default})(QT,QT.exports);var WEt=QT.exports,p2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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+)?/)||[],f=l[1],w=l[2];if(!w)return n(s,c);var u;switch(f){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(f,c)).replace("{{time}}",r(w,c))},o={p:r,P:i},a=o;e.default=a,t.exports=e.default})(p2,p2.exports);var VEt=p2.exports,f2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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()}t.exports=e.default})(f2,f2.exports);var W6=f2.exports;const V6=An(W6);var Mv={};Object.defineProperty(Mv,"__esModule",{value:!0}),Mv.isProtectedDayOfYearToken=YEt,Mv.isProtectedWeekYearToken=qEt,Mv.throwProtectedError=XEt;var UEt=["D","DD"],GEt=["YY","YYYY"];function YEt(t){return UEt.indexOf(t)!==-1}function qEt(t){return GEt.indexOf(t)!==-1}function XEt(t,e,n){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) 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(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) 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 g2={exports:{}},m2={exports:{}},v2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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;e.default=i,t.exports=e.default})(v2,v2.exports);var ZEt=v2.exports,y2={exports:{}},b2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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}}t.exports=e.default})(b2,b2.exports);var JEt=b2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(JEt),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;e.default=c,t.exports=e.default})(y2,y2.exports);var KEt=y2.exports,x2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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;e.default=i,t.exports=e.default})(x2,x2.exports);var QEt=x2.exports,w2={exports:{}},_2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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 f=r.defaultWidth,w=o!=null&&o.width?String(o.width):r.defaultWidth;s=r.values[w]||r.values[f]}var u=r.argumentCallback?r.argumentCallback(i):i;return s[u]}}t.exports=e.default})(_2,_2.exports);var tOt=_2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(tOt),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"}},f=function(j,S){var b=Number(j),T=b%100;if(T>20||T<10)switch(T%10){case 1:return b+"st";case 2:return b+"nd";case 3:return b+"rd"}return b+"th"},w={ordinalNumber:f,era:(0,r.default)({values:i,defaultWidth:"wide"}),quarter:(0,r.default)({values:o,defaultWidth:"wide",argumentCallback:function(j){return j-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=w;e.default=u,t.exports=e.default})(w2,w2.exports);var eOt=w2.exports,S2={exports:{}},C2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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],f=a.match(l);if(!f)return null;var w=f[0],u=c&&o.parsePatterns[c]||o.parsePatterns[o.defaultParseWidth],j=Array.isArray(u)?i(u,function(T){return T.test(w)}):r(u,function(T){return T.test(w)}),S;S=o.valueCallback?o.valueCallback(j):j,S=s.valueCallback?s.valueCallback(S):S;var b=a.slice(w.length);return{value:S,rest:b}}}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}t.exports=e.default})(C2,C2.exports);var nOt=C2.exports,k2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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 f=i.slice(s.length);return{value:l,rest:f}}}t.exports=e.default})(k2,k2.exports);var rOt=k2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(nOt),i=n(rOt),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},f={any:[/1/i,/2/i,/3/i,/4/i]},w={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]},j={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},S={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]},b={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},T={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}},W={ordinalNumber:(0,i.default)({matchPattern:o,parsePattern:a,valueCallback:function(Y){return parseInt(Y,10)}}),era:(0,r.default)({matchPatterns:s,defaultMatchWidth:"wide",parsePatterns:c,defaultParseWidth:"any"}),quarter:(0,r.default)({matchPatterns:l,defaultMatchWidth:"wide",parsePatterns:f,defaultParseWidth:"any",valueCallback:function(Y){return Y+1}}),month:(0,r.default)({matchPatterns:w,defaultMatchWidth:"wide",parsePatterns:u,defaultParseWidth:"any"}),day:(0,r.default)({matchPatterns:j,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),dayPeriod:(0,r.default)({matchPatterns:b,defaultMatchWidth:"any",parsePatterns:T,defaultParseWidth:"any"})},G=W;e.default=G,t.exports=e.default})(S2,S2.exports);var iOt=S2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(ZEt),i=n(KEt),o=n(QEt),a=n(eOt),s=n(iOt),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;e.default=l,t.exports=e.default})(m2,m2.exports);var oOt=m2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(oOt),i=r.default;e.default=i,t.exports=e.default})(g2,g2.exports);var aOt=g2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=Y;var r=n(PEt),i=n(NEt),o=n(xc),a=n(WEt),s=n(VEt),c=n(W6),l=Mv,f=n(Fh),w=n(ra),u=Hh,j=n(aOt),S=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,b=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,T=/^'([^]*?)'?$/,W=/''/g,G=/[a-zA-Z]/;function Y($,O,D){var m,C,p,d,g,E,M,P,V,q,H,R,I,A,k,h,_,y;(0,w.default)(2,arguments);var v=String(O),z=(0,u.getDefaultOptions)(),N=(m=(C=D==null?void 0:D.locale)!==null&&C!==void 0?C:z.locale)!==null&&m!==void 0?m:j.default,x=(0,f.default)((p=(d=(g=(E=D==null?void 0:D.firstWeekContainsDate)!==null&&E!==void 0?E:D==null||(M=D.locale)===null||M===void 0||(P=M.options)===null||P===void 0?void 0:P.firstWeekContainsDate)!==null&&g!==void 0?g:z.firstWeekContainsDate)!==null&&d!==void 0?d:(V=z.locale)===null||V===void 0||(q=V.options)===null||q===void 0?void 0:q.firstWeekContainsDate)!==null&&p!==void 0?p:1);if(!(x>=1&&x<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var B=(0,f.default)((H=(R=(I=(A=D==null?void 0:D.weekStartsOn)!==null&&A!==void 0?A:D==null||(k=D.locale)===null||k===void 0||(h=k.options)===null||h===void 0?void 0:h.weekStartsOn)!==null&&I!==void 0?I:z.weekStartsOn)!==null&&R!==void 0?R:(_=z.locale)===null||_===void 0||(y=_.options)===null||y===void 0?void 0:y.weekStartsOn)!==null&&H!==void 0?H:0);if(!(B>=0&&B<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!N.localize)throw new RangeError("locale must contain localize property");if(!N.formatLong)throw new RangeError("locale must contain formatLong property");var Z=(0,o.default)($);if(!(0,r.default)(Z))throw new RangeError("Invalid time value");var K=(0,c.default)(Z),F=(0,i.default)(Z,K),X={firstWeekContainsDate:x,weekStartsOn:B,locale:N,_originalDate:Z},Q=v.match(b).map(function(it){var ot=it[0];if(ot==="p"||ot==="P"){var et=s.default[ot];return et(it,N.formatLong)}return it}).join("").match(S).map(function(it){if(it==="''")return"'";var ot=it[0];if(ot==="'")return U(it);var et=a.default[ot];if(et)return!(D!=null&&D.useAdditionalWeekYearTokens)&&(0,l.isProtectedWeekYearToken)(it)&&(0,l.throwProtectedError)(it,O,String($)),!(D!=null&&D.useAdditionalDayOfYearTokens)&&(0,l.isProtectedDayOfYearToken)(it)&&(0,l.throwProtectedError)(it,O,String($)),et(F,it,N.localize,X);if(ot.match(G))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ot+"`");return it}).join("");return Q}function U($){var O=$.match(T);return O?O[1].replace(W,"'"):$}t.exports=e.default})(UT,UT.exports);var sOt=UT.exports;const lOt=An(sOt);function U6(t,e,n){var r=dOt(t,n.timeZone,n.locale);return r.formatToParts?cOt(r,e):uOt(r,e)}function cOt(t,e){for(var n=t.formatToParts(e),r=n.length-1;r>=0;--r)if(n[r].type==="timeZoneName")return n[r].value}function uOt(t,e){var n=t.format(e).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}function dOt(t,e,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:e,timeZoneName:t})}function hOt(t,e){var n=mOt(e);return n.formatToParts?fOt(n,t):gOt(n,t)}var pOt={year:0,month:1,day:2,hour:3,minute:4,second:5};function fOt(t,e){try{for(var n=t.formatToParts(e),r=[],i=0;i<n.length;i++){var o=pOt[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 gOt(t,e){var n=t.format(e),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}var M2={};function mOt(t){if(!M2[t]){var e=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=e==="06/25/2014, 00:00:00"||e==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";M2[t]=n?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:t,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return M2[t]}function G6(t,e,n,r,i,o,a){var s=new Date(0);return s.setUTCFullYear(t,e,n),s.setUTCHours(r,i,o,a),s}var Y6=36e5,vOt=6e4,T2={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function A2(t,e,n){var r,i;if(!t||(r=T2.timezoneZ.exec(t),r))return 0;var o;if(r=T2.timezoneHH.exec(t),r)return o=parseInt(r[1],10),q6(o)?-(o*Y6):NaN;if(r=T2.timezoneHHMM.exec(t),r){o=parseInt(r[2],10);var a=parseInt(r[3],10);return q6(o,a)?(i=Math.abs(o)*Y6+a*vOt,r[1]==="+"?-i:i):NaN}if(xOt(t)){e=new Date(e||Date.now());var s=n?e:yOt(e),c=E2(s,t),l=n?c:bOt(e,c,t);return-l}return NaN}function yOt(t){return G6(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())}function E2(t,e){var n=hOt(t,e),r=G6(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),i=t.getTime(),o=i%1e3;return i-=o>=0?o:1e3+o,r-i}function bOt(t,e,n){var r=t.getTime(),i=r-e,o=E2(new Date(i),n);if(e===o)return e;i-=o-e;var a=E2(new Date(i),n);return o===a?o:Math.max(o,a)}function q6(t,e){return-23<=t&&t<=23&&(e==null||0<=e&&e<=59)}var X6={};function xOt(t){if(X6[t])return!0;try{return X6[t]=!0,!0}catch{return!1}}var wOt=60*1e3,_Ot={X:function(t,e,n,r){var i=O2(r.timeZone,t);if(i===0)return"Z";switch(e){case"X":return Z6(i);case"XXXX":case"XX":return Wf(i);case"XXXXX":case"XXX":default:return Wf(i,":")}},x:function(t,e,n,r){var i=O2(r.timeZone,t);switch(e){case"x":return Z6(i);case"xxxx":case"xx":return Wf(i);case"xxxxx":case"xxx":default:return Wf(i,":")}},O:function(t,e,n,r){var i=O2(r.timeZone,t);switch(e){case"O":case"OO":case"OOO":return"GMT"+SOt(i,":");case"OOOO":default:return"GMT"+Wf(i,":")}},z:function(t,e,n,r){switch(e){case"z":case"zz":case"zzz":return U6("short",t,r);case"zzzz":default:return U6("long",t,r)}}};function O2(t,e){var n=t?A2(t,e,!0)/wOt:e.getTimezoneOffset();if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+t);return n}function G1(t,e){for(var n=t<0?"-":"",r=Math.abs(t).toString();r.length<e;)r="0"+r;return n+r}function Wf(t,e){var n=e||"",r=t>0?"-":"+",i=Math.abs(t),o=G1(Math.floor(i/60),2),a=G1(Math.floor(i%60),2);return r+o+n+a}function Z6(t,e){if(t%60===0){var n=t>0?"-":"+";return n+G1(Math.abs(t)/60,2)}return Wf(t,e)}function SOt(t,e){var n=t>0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),o=r%60;if(o===0)return n+String(i);var a=e;return n+String(i)+a+G1(o,2)}var COt=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,P2=36e5,J6=6e4,kOt=2,ia={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:COt};function K6(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(t===null)return new Date(NaN);var n=e||{},r=n.additionalDigits==null?kOt:DEt(n.additionalDigits);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]")return new Date(t.getTime());if(typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]")return new Date(t);if(!(typeof t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var i=MOt(t),o=TOt(i.date,r),a=o.year,s=o.restDateString,c=AOt(s,a);if(isNaN(c))return new Date(NaN);if(c){var l=c.getTime(),f=0,w;if(i.time&&(f=EOt(i.time),isNaN(f)))return new Date(NaN);if(i.timeZone||n.timeZone){if(w=A2(i.timeZone||n.timeZone,new Date(l+f)),isNaN(w))return new Date(NaN)}else w=V6(new Date(l+f)),w=V6(new Date(l+f+w));return new Date(l+f+w)}else return new Date(NaN)}function MOt(t){var e={},n=ia.dateTimePattern.exec(t),r;if(n?(e.date=n[1],r=n[3]):(n=ia.datePattern.exec(t),n?(e.date=n[1],r=n[2]):(e.date=null,r=t)),r){var i=ia.timeZone.exec(r);i?(e.time=r.replace(i[1],""),e.timeZone=i[1].trim()):e.time=r}return e}function TOt(t,e){var n=ia.YYY[e],r=ia.YYYYY[e],i;if(i=ia.YYYY.exec(t)||r.exec(t),i){var o=i[1];return{year:parseInt(o,10),restDateString:t.slice(o.length)}}if(i=ia.YY.exec(t)||n.exec(t),i){var a=i[1];return{year:parseInt(a,10)*100,restDateString:t.slice(a.length)}}return{year:null}}function AOt(t,e){if(e===null)return null;var n,r,i,o;if(t.length===0)return r=new Date(0),r.setUTCFullYear(e),r;if(n=ia.MM.exec(t),n)return r=new Date(0),i=parseInt(n[1],10)-1,eF(e,i)?(r.setUTCFullYear(e,i),r):new Date(NaN);if(n=ia.DDD.exec(t),n){r=new Date(0);var a=parseInt(n[1],10);return DOt(e,a)?(r.setUTCFullYear(e,0,a),r):new Date(NaN)}if(n=ia.MMDD.exec(t),n){r=new Date(0),i=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return eF(e,i,s)?(r.setUTCFullYear(e,i,s),r):new Date(NaN)}if(n=ia.Www.exec(t),n)return o=parseInt(n[1],10)-1,nF(e,o)?Q6(e,o):new Date(NaN);if(n=ia.WwwD.exec(t),n){o=parseInt(n[1],10)-1;var c=parseInt(n[2],10)-1;return nF(e,o,c)?Q6(e,o,c):new Date(NaN)}return null}function EOt(t){var e,n,r;if(e=ia.HH.exec(t),e)return n=parseFloat(e[1].replace(",",".")),D2(n)?n%24*P2:NaN;if(e=ia.HHMM.exec(t),e)return n=parseInt(e[1],10),r=parseFloat(e[2].replace(",",".")),D2(n,r)?n%24*P2+r*J6:NaN;if(e=ia.HHMMSS.exec(t),e){n=parseInt(e[1],10),r=parseInt(e[2],10);var i=parseFloat(e[3].replace(",","."));return D2(n,r,i)?n%24*P2+r*J6+i*1e3:NaN}return null}function Q6(t,e,n){e=e||0,n=n||0;var r=new Date(0);r.setUTCFullYear(t,0,4);var i=r.getUTCDay()||7,o=e*7+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}var OOt=[31,28,31,30,31,30,31,31,30,31,30,31],POt=[31,29,31,30,31,30,31,31,30,31,30,31];function tF(t){return t%400===0||t%4===0&&t%100!==0}function eF(t,e,n){if(e<0||e>11)return!1;if(n!=null){if(n<1)return!1;var r=tF(t);if(r&&n>POt[e]||!r&&n>OOt[e])return!1}return!0}function DOt(t,e){if(e<1)return!1;var n=tF(t);return!(n&&e>366||!n&&e>365)}function nF(t,e,n){return!(e<0||e>52||n!=null&&(n<0||n>6))}function D2(t,e,n){return!(t!=null&&(t<0||t>=25)||e!=null&&(e<0||e>=60)||n!=null&&(n<0||n>=60))}var LOt=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function rF(t,e,n){var r=String(e),i=n||{},o=r.match(LOt);if(o){var a=K6(i.originalDate||t,i);r=o.reduce(function(s,c){if(c[0]==="'")return s;var l=s.indexOf(c),f=s[l-1]==="'",w=s.replace(c,"'"+_Ot[c[0]](a,c,null,i)+"'");return f?w.substring(0,l-1)+w.substring(l+1):w},r)}return lOt(t,r,i)}function ud(t,e,n){const r=new RegExp("'[^']+'|("+e+")","g");return t.replace(r,function(i,o){return o?n(i):i})}const NOt=["shortDate","shortTime","short","mediumDate","mediumTime","medium","longDate","fullDate"],IOt=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"}),iF=Object.freeze({"en-US":IOt});function ROt(t,e){var n;if(!(t.includes("short")||t.includes("medium")||t.includes("long")||t.includes("full")))return t;let r=t,i=iF[(n=e.code)!=null?n:""];return i||(i=iF["en-US"]),NOt.forEach(o=>{const a=i[o];r=ud(r,o,function(){return a})}),r}var L2={exports:{}},N2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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}t.exports=e.default})(N2,N2.exports);var jOt=N2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=n(jOt);function i(o){return(0,r.default)({},o)}t.exports=e.default})(L2,L2.exports);var $Ot=L2.exports;const zOt=An($Ot);function BOt(t,e,n){var r=K6(t,n),i=A2(e,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 Tv(t,e,n,r){var i=zOt(r);return i.timeZone=e,i.originalDate=t,rF(BOt(t,e),n,i)}function FOt(t){return t.includes("sss")?ud(t,"sss",function(){return"SSS"}):t}function HOt(t,e,n){if(!(t.includes("a")||t.includes("A")))return t;let r=ud(t,"a",function(){return`\0${Tv(e,n,"a").toLowerCase()}\0`});return r=ud(r,"A",function(){return`\0${Tv(e,n,"a").toUpperCase()}\0`}),r=r.replace(/\0\0/g,""),r=r.replace(/\0/g,"'"),r}function WOt(t,e,n,r){return t.includes("Z")?ud(t,"Z",function(){return Tv(e,n,"xx",{locale:r})}):t}function VOt(t,e,n){return oF(t,e,n)?M6(t,1):t}function UOt(t,e){return e<=t.getMonth()}function oF(t,e,n){const r=![ZOt,I2].includes(e);return n>sF&&r&&UOt(t,n)}function GOt(t,e,n,r){return!r&&oF(t,e,n)?_6(t,1):t}function YOt(t,e){if(e>0){const n=(t.getMonth()+e)%12;return FSt(t,n)}return t}function qOt(t,e,n,r,i,o){if(!t.includes("y"))return t;const a=GOt(e,r,o,i);let s=t;if(["yyyy","yy","y","yp","yyyp"].includes(t)&&(n="Etc/GMT-14"),t.includes("yp")){const c=M6(a,1);s=ud(t,"yp|yyyp",function(l){const f="y".repeat(l.length);return Tv(c,n,f)})}return ud(s,"yyyy|yy|y",function(c){return Tv(a,n,c)})}function XOt(t,e,n,r){if(!t.includes("Q"))return t;let i=e.getMonth();r&&[I2,JOt,KOt,aF].includes(n)&&(i-=r>i?r-12:r);const o=parseInt(String(i/3))+1;return ud(t,"QQ|Q",function(a){return`${a.length===2?"'Quarter '":"'Q'"}${o}`})}const ZOt="years",I2="quarters",JOt="months",KOt="weeks",aF="days",sF=0,QOt=1,R2=Object.freeze({weekFirstDay:QOt,isFiscalOn:!1,fiscalMonth:sF,selectedDateLevel:aF,timeZone:"UTC"});function Y1(t,e,n=VT(),r=R2){return t.getFullYear()<100&&(t=HSt(t,1900+t.getFullYear())),r.isFiscalOn||(t=VOt(t,r.selectedDateLevel,r.fiscalMonth)),e=ROt(e,n),e=FOt(e),e=HOt(e,t,r.timeZone),e=WOt(e,t,r.timeZone,n),e=qOt(e,t,r.timeZone,r.selectedDateLevel,r.isFiscalOn,r.fiscalMonth),!r.isFiscalOn&&r.selectedDateLevel===I2&&(t=YOt(t,r.fiscalMonth)),e=XOt(e,t,r.selectedDateLevel,r.fiscalMonth),rF(t,e,{locale:n,weekStartsOn:r.weekFirstDay})}const tPt={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)"}}},ePt={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)"}}},Av=(t=!1)=>Ea(t?ePt:tPt);function lF(t,e){const n={chart:{textColor:t.dashboards.widgetTextColor,backgroundColor:t.dashboards.widgetBackgroundColor,secondaryTextColor:t.dashboards.widgetSecondaryTextColor,panelBackgroundColor:t.dashboards.panelBackgroundColor},typography:{fontFamily:t.typography.fontFamily,primaryTextColor:t.typography.primaryTextColor,secondaryTextColor:t.typography.secondaryTextColor},palette:{variantColors:e.colors},general:{brandColor:t.general.brandColor,backgroundColor:t.general.backgroundColor,primaryButtonTextColor:t.general.primaryButtonTextColor,primaryButtonHoverColor:t.general.primaryButtonHoverColor}};return di.withOptions({mergeArrays:!1},Av(),n)}function cF(t){return t.dashboards.colorPaletteName}class Cn extends nv{constructor(e,n){super(Cz,{key:e,interpolationOptions:n},Tut.t)}}function uF(t,e){return cc(this,null,function*(){const n=yield nPt(t,e);if(!n)throw new Cn("errors.themeNotFound",{themeOid:t});const r=cF(n),i=yield dF(r,e);return lF(n,i)})}function nPt(t,e){return cc(this,null,function*(){return e.get(`api/v1/themes/${t}`).catch(()=>{throw new Cn("errors.themeNotFound",{themeOid:t})})})}function dF(t,e){return cc(this,null,function*(){const n=yield e.get(`api/palettes/${t}`);if(n&&"status"in n&&n.status==="error")throw new Cn("errors.paletteNotFound",{paletteName:t});return n})}function rPt(t){return"value"in t}function iPt(t){return"valuePromise"in t}const oPt=(t,e)=>{const n=new Map;return{withCache:r=>(...i)=>cc(void 0,null,function*(){const o=t(...i);if(n.has(o)){const a=n.get(o);if(rPt(a))return a.value;if(iPt(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}),e!=null&&e.cacheMaxSize&&n.size>e.cacheMaxSize&&aPt(n),s))}}),clearCache:r=>{if(r){n.delete(r);return}n.clear()}}};function aPt(t){const e=Array.from(t.keys()),n=e.reduce((r,i)=>{const o=t.get(i),a=t.get(r);return o.createdAt<a.createdAt?i:r},e[0]);t.delete(n)}const j2=(t,e)=>{const{dataSource:n,dimensions:r=[],measures:i=[],filters:o=[],filterRelations:a,highlights:s=[],count:c,offset:l,ungroup:f}=t;o&&o.forEach(u=>u.isScope=!0),s&&s.forEach(u=>u.isScope=!0);const w=n||e;if(!w)throw new Cn("errors.executeQueryNoDataSource");return{dataSource:w,attributes:r,measures:i,filters:o,filterRelations:a,highlights:s,count:c,offset:l,ungroup:f}};function dd(t,e,n){const r=j2(t,e==null?void 0:e.defaultDataSource);return e.queryClient.executeQuery(r,n).resultPromise.catch(i=>{throw i.message.includes("SecondsLevelIsNotSupportedException")?new Cn("errors.secondsDateTimeLevelSupportedOnlyForLive"):i})}const sPt=(t,e,n)=>{const r=j2(t,e==null?void 0:e.defaultDataSource);return e.queryClient.executeCsvQuery(r,n).resultPromise},lPt=(t,e,n)=>{const{dataSource:r,rows:i=[],columns:o=[],values:a=[],grandTotals:s={},filters:c=[],filterRelations:l,highlights:f=[],count:w,offset:u}=t;c&&c.forEach(S=>S.isScope=!0),f&&f.forEach(S=>S.isScope=!0);const j=r||(e==null?void 0:e.defaultDataSource);if(!j)throw new Cn("errors.executeQueryNoDataSource");return e.queryClient.executePivotQuery({dataSource:j,rowsAttributes:i,columnsAttributes:o,measures:a,grandTotals:s,filters:c,filterRelations:l,highlights:f,count:w,offset:u},n).resultPromise},cPt=t=>JSON.stringify(ne(zt({},z4(t,!1)),{queryGuid:""})),hF=(t,e)=>{const n=j2(t,e==null?void 0:e.defaultDataSource);return cPt(n)},uPt=250,{withCache:dPt,clearCache:hPt}=oPt(hF,{cacheMaxSize:uPt}),$2=dPt(dd),pF=hPt;function Fs(t){const e="column"in t?t.column:t;return"context"in e||"aggregation"in e?!0:!("type"in e)}const wu=t=>"aggregation"in t||"context"in t||"formula"in t,_u=t=>!wu(t);function pPt(){}var z2=pPt,fPt=mT,gPt=z2;function q1(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}q1.prototype=fPt(gPt.prototype),q1.prototype.constructor=q1;var B2=q1,fF=Mf,mPt=av,vPt=no,gF=fF?fF.isConcatSpreadable:void 0;function yPt(t){return vPt(t)||mPt(t)||!!(gF&&t&&t[gF])}var bPt=yPt,xPt=JM,wPt=bPt;function mF(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=wPt),i||(i=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?mF(s,e-1,n,r,i):xPt(i,s):r||(i[i.length]=s)}return i}var vF=mF,_Pt=vF;function SPt(t){var e=t==null?0:t.length;return e?_Pt(t,1):[]}var CPt=SPt;function kPt(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var yF=kPt,MPt=yF,bF=Math.max;function TPt(t,e,n){return e=bF(e===void 0?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=bF(r.length-e,0),a=Array(o);++i<o;)a[i]=r[e+i];i=-1;for(var s=Array(e+1);++i<e;)s[i]=r[i];return s[e]=n(a),MPt(t,this,s)}}var xF=TPt;function APt(t){return function(){return t}}var EPt=APt,OPt=EPt,wF=$z,PPt=x1,DPt=wF?function(t,e){return wF(t,"toString",{configurable:!0,enumerable:!1,value:OPt(e),writable:!0})}:PPt,LPt=DPt,NPt=800,IPt=16,RPt=Date.now;function jPt(t){var e=0,n=0;return function(){var r=RPt(),i=IPt-(r-n);if(n=r,i>0){if(++e>=NPt)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var $Pt=jPt,zPt=LPt,BPt=$Pt,FPt=BPt(zPt),_F=FPt,HPt=CPt,WPt=xF,VPt=_F;function UPt(t){return VPt(WPt(t,void 0,HPt),t+"")}var F2=UPt,SF=cB,GPt=SF&&new SF,YPt=GPt;function qPt(){}var CF=qPt,kF=YPt,XPt=CF,ZPt=kF?function(t){return kF.get(t)}:XPt,MF=ZPt,JPt={},KPt=JPt,TF=KPt,QPt=Object.prototype,tDt=QPt.hasOwnProperty;function eDt(t){for(var e=t.name+"",n=TF[e],r=tDt.call(TF,e)?n.length:0;r--;){var i=n[r],o=i.func;if(o==null||o==t)return i.name}return e}var AF=eDt,nDt=mT,rDt=z2,iDt=4294967295;function X1(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=iDt,this.__views__=[]}X1.prototype=nDt(rDt.prototype),X1.prototype.constructor=X1;var H2=X1,oDt=H2,aDt=B2,sDt=pT;function lDt(t){if(t instanceof oDt)return t.clone();var e=new aDt(t.__wrapped__,t.__chain__);return e.__actions__=sDt(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var cDt=lDt,uDt=H2,EF=B2,dDt=z2,hDt=no,pDt=us,fDt=cDt,gDt=Object.prototype,mDt=gDt.hasOwnProperty;function Z1(t){if(pDt(t)&&!hDt(t)&&!(t instanceof uDt)){if(t instanceof EF)return t;if(mDt.call(t,"__wrapped__"))return fDt(t)}return new EF(t)}Z1.prototype=dDt.prototype,Z1.prototype.constructor=Z1;var vDt=Z1,yDt=H2,bDt=MF,xDt=AF,wDt=vDt;function _Dt(t){var e=xDt(t),n=wDt[e];if(typeof n!="function"||!(e in yDt.prototype))return!1;if(t===n)return!0;var r=bDt(n);return!!r&&t===r[0]}var SDt=_Dt,OF=B2,CDt=F2,kDt=MF,W2=AF,MDt=no,PF=SDt,TDt="Expected a function",ADt=8,EDt=32,ODt=128,PDt=256;function DDt(t){return CDt(function(e){var n=e.length,r=n,i=OF.prototype.thru;for(t&&e.reverse();r--;){var o=e[r];if(typeof o!="function")throw new TypeError(TDt);if(i&&!a&&W2(o)=="wrapper")var a=new OF([],!0)}for(r=a?r:n;++r<n;){o=e[r];var s=W2(o),c=s=="wrapper"?kDt(o):void 0;c&&PF(c[0])&&c[1]==(ODt|ADt|EDt|PDt)&&!c[4].length&&c[9]==1?a=a[W2(c[0])].apply(a,c[3]):a=o.length==1&&PF(o)?a[s]():a.thru(o)}return function(){var l=arguments,f=l[0];if(a&&l.length==1&&MDt(f))return a.plant(f).value();for(var w=0,u=n?e[w].apply(this,l):f;++w<n;)u=e[w].call(this,u);return u}})}var LDt=DDt,NDt=LDt,IDt=NDt(),RDt=IDt;const jDt=An(RDt),DF="composesdk",J1=(t,e,n,r=!1)=>{const i=Object.assign({action:t,cat:DF,eventType:"product",direct:!0},e);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=${t}, category=${DF}`,o)})},$Dt=(t,e)=>{const{packageName:n,packageVersion:r,component:i,error:o}=t;let a="";return typeof o=="string"?a=o:o instanceof Error&&(a=o.message||o.toString()),J1("sdkError",{packageName:n,packageVersion:r,component:i,error:a},e)},zDt=(t,e)=>$Dt(Object.assign(Object.assign({},t),{packageName:"sdk-ui"}),e),K1=sr({isInitialized:!1,tracking:{enabled:!0,packageName:"sdk-ui"}}),hr=()=>Rn(K1),BDt="sdkComponentInit",LF=sr(!1),FDt=({skipNested:t=!0,children:e})=>yt(LF.Provider,{value:t,children:e}),HDt=(t,e)=>{const{app:n,tracking:r}=hr(),i=Rn(LF),o=Jt(!1);he(()=>{if(n!=null&&n.httpClient&&!o.current&&!i){const a={packageName:r.packageName,packageVersion:"1.15.0",componentName:t,attributesUsed:Object.entries(e).filter(([,s])=>!!s).map(([s])=>s).join(", ")};J1(BDt,a,n.httpClient,!r.enabled).finally(()=>o.current=!0)}},[t,e,n,r,i])};var WDt=yu,VDt=us,UDt="[object Boolean]";function GDt(t){return t===!0||t===!1||VDt(t)&&WDt(t)==UDt}var YDt=GDt;const NF=An(YDt);let IF=class extends Dn{constructor(e){super(e),zr(this,"componentName"),zr(this,"context"),zr(this,"httpClient"),zr(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,n){zDt({packageVersion:"1.15.0",component:this.componentName,error:e},n).catch(r=>console.log("Failed to send tracking error event: ",r))}render(){return this.httpClient&&this.postponedErrors.length>0&&this.postponedErrors.forEach(e=>this.sendErrorTracking(e,this.httpClient)),this.postponedErrors=[],this.props.children}};zr(IF,"contextType",K1);const qDt=({componentName:t,config:e})=>{const{skip:n,transparent:r}=e||{};return i=>function(o){return NF(n)&&n||r1(n)&&n(o)?yt(i,zt({},o)):(HDt(t,o),yt(FDt,{skipNested:!r,children:yt(IF,{componentName:t,children:yt(i,zt({},o))})}))}},XDt="_container_1wquj_1",ZDt="_card_1wquj_11",JDt="_text_1wquj_19",V2={container:XDt,card:ZDt,text:JDt};function KDt({color:t="#FFCB05"}){return yt("svg",{width:"53px",height:"53px",viewBox:"0 0 53 53",children:yt("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:yt("g",{children:[yt("polygon",{points:"26.4996 -0.000100000005 -0.000400000001 26.5009 26.4996 52.9999 53.0006 26.5009",fill:t}),yt("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 U2=sr({themeSettings:Av()}),Kn=()=>Rn(U2),QDt=({error:t=new Cn("errors.componentRenderError")})=>{var e,n,r,i,o,a;const{themeSettings:s}=Kn(),{app:c}=hr(),{t:l}=ls(),[f,w]=ce(!1),u=()=>{w(!0)},j=()=>{w(!1)},S=yt("div",{className:"csdk-flex csdk-justify-center csdk-mb-[10px]",children:yt(KDt,{color:(e=s==null?void 0:s.general)==null?void 0:e.brandColor})}),b=t instanceof nv?l(t.key,zt({},t.interpolationOptions)):l(t instanceof Error?t.message:t),T=l("errorBoxText",{errorMessage:b,interpolation:{escapeValue:!1}}),W=(r=(n=c==null?void 0:c.settings)==null?void 0:n.errorBoundaryConfig)==null?void 0:r.alwaysShowErrorText;return yt("div",{onMouseEnter:W?void 0:u,onMouseLeave:W?void 0:j,className:V2.container,"aria-label":"error-box",children:yt("div",{className:V2.card,style:{backgroundColor:((i=s==null?void 0:s.general)==null?void 0:i.backgroundColor)||"rgba(255,255,255,0.5)"},children:[S,(W||f)&&yt("div",{className:V2.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:T})]})})};let Q1=class extends Dn{constructor(e){var n;super(e),zr(this,"showErrorBox",!0),zr(this,"context"),this.showErrorBox=(n=e.showErrorBox)!=null?n:!0,this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e){this.setState({error:e})}componentDidUpdate(e,n){n.error!==null&&tLt(e.resetKeys,this.props.resetKeys)&&this.setState({error:null})}render(){const e=this.state.error||this.props.error;return e?this.showErrorBox?yt(QDt,{error:e}):yt("div",{}):this.props.children}};function tLt(t=[],e=[]){return t.length!==e.length||t.some((n,r)=>!Object.is(n,e[r]))}const eLt=()=>t=>function(e){return yt(Q1,{resetKeys:Object.values(e),children:yt(t,zt({},e))})},nLt=({shouldSkipSisenseContextWaiting:t,customContextErrorMessageKey:e})=>n=>function(r){if(rLt(t,r))return yt(n,zt({},r));const{app:i,isInitialized:o}=hr();if(!o){const a=e||"errors.noSisenseContext";throw new Cn(a)}return i?yt(n,zt({},r)):yt(iLt,{})};function rLt(t,e){return NF(t)&&t||r1(t)&&t(e)}function iLt(){return null}function oLt(){const[t,e]=ce(null);return he(()=>{kz().initPromise.then(n=>e(n))},[]),t}const tx=({children:t,userLanguage:e})=>{const n=oLt();return he(()=>{e&&(n==null?void 0:n.language)!==e&&(n==null||n.changeLanguage(e))},[n,e]),n&&yt(Sut,{i18n:n,children:t})},aLt=()=>t=>function(e){const{isInitialized:n}=hr();return n?yt(t,zt({},e)):yt(tx,{children:yt(t,zt({},e))})},sLt=t=>e=>(e.displayName=t,e),Qn=t=>{const{componentName:e,shouldSkipSisenseContextWaiting:n,trackingConfig:r={},customContextErrorMessageKey:i}=t;return o=>jDt(sLt(e),nLt({shouldSkipSisenseContextWaiting:n,customContextErrorMessageKey:i}),qDt({componentName:e,config:r}),eLt(),aLt())(o)},Vf=(t,e)=>{const n=!t||t==="";let r,i,o;return hi(e)?(r=parseFloat(t),i=isNaN(r)):Dl(e)?(r=_v(t).valueOf(),i=isNaN(r)):(r=t,o=t==null?void 0:t.toLowerCase(),i=!1),zt({value:r,valueUndefined:n,valueIsNaN:i},o&&{lowercaseValue:o})};function RF(t,e){const n=odt(t)?t:{displayValue:t==null?void 0:t.toString()};return n.compareValue||(n.compareValue=Vf(n.displayValue,e)),n}var jF=(t=>(t[t.ASC=1]="ASC",t[t.DESC=-1]="DESC",t[t.NONE=0]="NONE",t))(jF||{});function $F(t,e,n=1,r="string"){const i=RF(t,r),o=RF(e,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 zF=class{constructor(e){zr(this,"columns",[]),this.columns=e}compare(e,n){for(let r=0;r<this.columns.length;r++){const i=this.columns[r],o=e[i.index],a=n[i.index],s=i.direction||1,c=$F(o,a,s,i.type);if(c!==0)return c}return 0}};const BF=t=>t instanceof Object&&"data"in t,lLt=t=>t.rows.length===0,Uf="$rownum",FF=t=>{let e=0;const n=t.rows.map(i=>{const o=t.columns.map((a,s)=>{var c;const l=i[s];if(BF(l)){let u=l.data.toString();if(Dl(a.type)){const j="1111-11-11T";u.startsWith(j)&&(u=u.replace(j,"1970-01-01T"))}return zt(zt({rawValue:l.data,displayValue:(c=l.text)!=null?c:u,compareValue:Vf(u,a.type)},l.blur?{blur:l.blur}:{}),l.color?{color:l.color}:{})}let f,w;return Dl(a.type)&&(f=Vf(`${l}`,a.type),w=new Date(f.value).toISOString()),{rawValue:w??l,displayValue:`${l??""}`,compareValue:f}});return e++,o.push({displayValue:`${e}`,rawValue:e}),o}),r=t.columns.map((i,o)=>({name:i.name,type:i.type,index:o,direction:0}));return r.push({name:Uf,type:"number",index:r.length,direction:0}),{columns:r,rows:n}},HF=["polar"],WF=["line","area","bar","column",...HF],VF=["pie","funnel","treemap","sunburst"],UF=["scatter"],cLt=["table"],uLt=["indicator"],GF=["boxplot"],dLt=["areamap"],hLt=["scattermap"],YF=["arearange"],Su=t=>WF.find(e=>e===t)!==void 0,Gf=t=>VF.find(e=>e===t)!==void 0,Wh=t=>UF.find(e=>e===t)!==void 0,Vh=t=>hLt.find(e=>e===t)!==void 0,Ev=t=>uLt.find(e=>e===t)!==void 0,qF=t=>HF.find(e=>e===t)!==void 0,pLt=t=>cLt.find(e=>e===t)!==void 0,Uh=t=>GF.find(e=>e===t)!==void 0,Gh=t=>dLt.find(e=>e===t)!==void 0,ex=t=>YF.find(e=>e===t)!==void 0;let XF=class{constructor(e){zr(this,"data"),zr(this,"sum"),zr(this,"max"),zr(this,"min"),zr(this,"avg"),zr(this,"variance"),zr(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,n,r)=>r.indexOf(e)===n).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((n,r)=>n.concat(Ee(r-e,2)),[]).reduce((n,r)=>n+r,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)}},fLt=class{constructor(e){zr(this,"data"),zr(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,n,r)=>r.indexOf(e)===n).length}};const ZF=(t,e)=>t.slice(0).sort((n,r)=>e.compare(n,r)),G2=(t,e)=>{if(!(t&&t.length>0))return[];const n=new zF(e),r=ZF(t,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},gLt=(t,e)=>{var n,r;const i=[];for(const o of e){let a;const s=o.column,{aggFunc:c}=o,l=t.filter(u=>!!u[s.index]&&u[s.index].displayValue!==""),f=(r=(n=l.find(u=>{var j;return u!==void 0&&((j=u==null?void 0:u[s.index])==null?void 0:j.color)}))==null?void 0:n[s.index])==null?void 0:r.color,w=l.some(u=>u[s.index].blur);if(Dl(s.type)){const u=l.map(j=>_v(j[s.index].displayValue).valueOf());a=new XF(u).getStat(c)}else if(hi(s.type)){const u=l.map(j=>parseFloat(j[s.index].displayValue));a=new XF(u).getStat(c)}else{const u=l.map(j=>j[s.index].displayValue);a=new fLt(u).getStat(c)}i.push(zt(zt({displayValue:`${a}`},f&&{color:f}),w&&{blur:w}))}return i},Y2=(t,e)=>{if(rx(t))return{columns:[],rows:[]};const n=new zF(e);return{columns:t.columns,rows:ZF(t.rows,n)}},JF=(t,e,n)=>{if(rx(t))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:Ci(t,l.column)||r})).filter(l=>l.column.index!==-1),o=G2(t.rows,e),a=i.map(l=>l.aggName),s=[];for(const l of o){const f=Ov(l[0],e),w=gLt(l,i),u=f.slice(0).concat(w);s.push(u)}const c=e.slice(0).concat(a.map(l=>({name:l,type:"number",index:0,direction:0})));return{rows:s,columns:c.map((l,f)=>ne(zt({},l),{index:f}))}},Ci=(t,e)=>t.columns.find(n=>n.name===e),Yh=(t,e)=>{const n={name:"foo",type:"string",index:-1,direction:0};return e.map(r=>Ci(t,r)||n).filter(r=>r!==n)},KF=(t,e)=>{const n=t.rows.map(r=>e.map(i=>r[i.index]));return{columns:e.map((r,i)=>ne(zt({},r),{index:i})),rows:n}},xo=(t,e)=>{if(!(t&&e.index<t.length))return;const n=t[e.index];return n.compareValue||(n.compareValue=Vf(n.displayValue,e.type)),n.compareValue.value},nx=(t,e)=>{var n;return!!((n=t[e.index])!=null&&n.blur)},Ov=(t,e)=>{const n=[];for(const r of e)n.push(t[r.index]);return n},mLt=(t,e)=>Ov(t,e).map(n=>n.rawValue||n.displayValue).join(","),q2=(t,e)=>{if(!(t&&t.length>0))return{};const n=G2(t,e),r={};for(const i of n){const o=mLt(i[0],e);r[o]=i}return r},rx=t=>!(t.rows&&t.columns&&t.rows.length>0&&t.columns.length>0),QF=({x:t,y:e,breakBy:n})=>eH(e)&&tH(t)&&n.length===0,vLt=({x:t,y:e,breakBy:n})=>tH(t)&&eH(e)&&n.length>0,tH=t=>t.length===0,eH=t=>t.length>0,yLt=(t,e)=>t*(e/100),bLt=(t,e)=>t===0?0:Math.abs(e)/Math.abs(t)*100,ix=t=>`${t}%`;var nH;(function(t){t.event="event",t.props="prop"})(nH||(nH={}));function xLt(t){switch(t){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 wLt(t,e,n){var r=xLt(n),i=t.search(/[1-9]/);return i=i===-1?t.length:i,t.substring(0,i)+t.substring(i,t.length).replace(r,"$1"+e)}function _Lt(t,e){e===void 0&&(e=!0);var n=t[0]==="-",r=n&&e;t=t.replace("-","");var i=t.split("."),o=i[0],a=i[1]||"";return{beforeDecimal:o,afterDecimal:a,hasNegation:n,addNegation:r}}function SLt(t,e,n){for(var r="",i=n?"0":"",o=0;o<=e-1;o++)r+=t[o]||i;return r}function CLt(t,e){var n=e.decimalScale,r=e.fixedDecimalScale,i=e.prefix;i===void 0&&(i="");var o=e.suffix;o===void 0&&(o="");var a=e.allowNegative,s=e.thousandsGroupStyle;if(s===void 0&&(s="thousand"),t===""||t==="-")return t;var c=kLt(e),l=c.thousandSeparator,f=c.decimalSeparator,w=n!==0&&t.indexOf(".")!==-1||n&&r,u=_Lt(t,a),j=u.beforeDecimal,S=u.afterDecimal,b=u.addNegation;return n!==void 0&&(S=SLt(S,n,!!r)),l&&(j=wLt(j,l,s)),i&&(j=i+j),o&&(S=S+o),b&&(j="-"+j),t=j+(w&&f||"")+S,t}function kLt(t){var e=t.decimalSeparator;e===void 0&&(e=".");var n=t.thousandSeparator,r=t.allowedDecimalSeparators;return n===!0&&(n=","),r||(r=[e,"."]),{decimalSeparator:e,thousandSeparator:n,allowedDecimalSeparators:r}}var MLt=HT;function TLt(t){var e=MLt(t),n=e%1;return e===e?n?e-n:e:0}var ALt=TLt,ELt=zs,OLt=ALt,PLt=Hf,rH=sT,DLt=ELt.isFinite,LLt=Math.min;function NLt(t){var e=Math[t];return function(n,r){if(n=PLt(n),r=r==null?0:LLt(OLt(r),292),r&&DLt(n)){var i=(rH(n)+"e").split("e"),o=e(i[0]+"e"+(+i[1]+r));return i=(rH(o)+"e").split("e"),+(i[0]+"e"+(+i[1]-r))}return e(n)}}var ILt=NLt,RLt=ILt,jLt=RLt("round"),$Lt=jLt;const zLt=An($Lt),X2=1e3,Z2=X2*1e3,J2=Z2*1e3,iH=J2*1e3,oH=1000.1 .toLocaleString().replace(/\d/g,""),BLt=oH[0],FLt=oH[1],HLt={name:"Numbers",decimalScale:"auto",trillion:!0,billion:!0,million:!0,kilo:!0,thousandSeparator:!0,prefix:!0,symbol:"$"},Yr=t=>zt(zt({},HLt),t||{}),WLt=(t,e)=>isNaN(e)?"":`<span>${Yf(t,e)}</span>`,VLt=(t,e)=>Math.sign(t)*zLt(Math.abs(t),e),Yf=(t,e)=>{const n=t.decimalScale!==0&&t.decimalScale!=="auto",r=t.decimalScale==="auto"?2:t.decimalScale;let i=!0;t.name==="Numbers"&&!t.thousandSeparator&&(i=void 0);let o,a,s=e;return t.name==="Percent"&&(a="%",s=e*100),(t.name==="Numbers"||t.name==="Currency")&&(t.trillion&&Math.abs(e)/iH>=1?(s=e/iH,a="T"):t.billion&&Math.abs(e)/J2>=1?(s=e/J2,a="B"):t.million&&Math.abs(e)/Z2>=1?(s=e/Z2,a="M"):t.kilo&&Math.abs(e)/X2>=1&&(s=e/X2,a="K")),t.name==="Currency"&&(t.prefix?o=t.symbol:a?a=`${a}${t.symbol}`:a=t.symbol),CLt(`${VLt(s,r)}`,{displayType:"text",thousandSeparator:i?BLt:void 0,fixedDecimalScale:n,decimalScale:r,decimalSeparator:FLt,prefix:o,suffix:a})},ni=(t,e)=>{let n=WLt(t,e);return n=n.replace("<span>",""),n=n.replace("</span>",""),n},Pv="#dcdcdc",qh="#CCCCCC",hd="#FFFFFF",ULt=["#00cee6","#9b9bd7","#6eda55","#fc7570","#fbb755","#218a8c","#08e5ff","#b3b3f7","#7efb62","#ff8a87","#ffc26a","#279fa1"],K2=t=>({type:"uniform",color:t});function GLt(t){return()=>t.color}const aH=t=>{if(t!==void 0)return typeof t=="string"?K2(t).color:t.type==="uniform"?t.color:Pv};function YLt(t){var e;const n=((e=t.conditions)!=null?e:[]).map(r=>({match:qLt(r),color:r.color}));return r=>{const i=n.find(o=>o.match(r));return i?i.color:t.defaultColor}}function qLt(t){const e=Number(t.expression);switch(t.operator){case"<":return n=>n<e;case">":return n=>n>e;case"≤":case"<=":return n=>n<=e;case"≥":case">=":return n=>n>=e;case"=":return n=>n==e;case"≠":case"!=":return n=>n!=e;default:return()=>!0}}function Gi(t,e){let n=t.length;Array.isArray(t[0])||(t=[t]),Array.isArray(e[0])||(e=e.map(a=>[a]));let r=e[0].length,i=e[0].map((a,s)=>e.map(c=>c[s])),o=t.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 Dv(t){return pd(t)==="string"}function pd(t){return(Object.prototype.toString.call(t).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function ox(t,e){t=+t,e=+e;let n=(Math.floor(t)+"").length;if(e>n)return+t.toFixed(e-n);{let r=Ee(10,n-e);return Math.round(t/r)*r}}function sH(t){if(!t)return;t=t.trim();const e=/^([a-z]+)\((.+?)\)$/i,n=/^-?[\d.]+$/;let r=t.match(e);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 lH(t){return t[t.length-1]}function ax(t,e,n){return isNaN(t)?e:isNaN(e)?t:t+(e-t)*n}function cH(t,e,n){return(n-t)/(e-t)}function Q2(t,e,n){return ax(e[0],e[1],cH(t[0],t[1],n))}function uH(t){return t.map(e=>e.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 XLt=Object.freeze({__proto__:null,interpolate:ax,interpolateInv:cH,isString:Dv,last:lH,mapRange:Q2,multiplyMatrices:Gi,parseCoordGrammar:uH,parseFunction:sH,toPrecision:ox,type:pd});let ZLt=class{add(e,n,r){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(i){this[i]=this[i]||[],n&&this[i][r?"unshift":"push"](n)},this)}run(e,n){this[e]=this[e]||[],this[e].forEach(function(r){r.call(n&&n.context?n.context:n,n)})}};const fd=new ZLt;var wc={gamut_mapping:"lch.c",precision:5,deltaE:"76"};const Rl={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function tA(t){return Array.isArray(t)?t:Rl[t]}function sx(t,e,n,r={}){if(t=tA(t),e=tA(e),!t||!e)throw new TypeError(`Missing white point to convert ${t?"":"from"}${!t&&!e?"/":""}${e?"":"to"}`);if(t===e)return n;let i={W1:t,W2:e,XYZ:n,options:r};if(fd.run("chromatic-adaptation-start",i),i.M||(i.W1===Rl.D65&&i.W2===Rl.D50?i.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:i.W1===Rl.D50&&i.W2===Rl.D65&&(i.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),fd.run("chromatic-adaptation-end",i),i.M)return Gi(i.M,i.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}const JLt=75e-6,eA=class hu{constructor(e){var n,r,i,o,a,s,c;this.id=e.id,this.name=e.name,this.base=e.base?hu.get(e.base):null,this.aliases=e.aliases,this.base&&(this.fromBase=e.fromBase,this.toBase=e.toBase);let l=(n=e.coords)!=null?n:this.base.coords;for(let w in l)"name"in l[w]||(l[w].name=w);this.coords=l;let f=(i=(r=e.white)!=null?r:this.base.white)!=null?i:"D65";this.white=tA(f),this.formats=(o=e.formats)!=null?o:{};for(let w in this.formats){let u=this.formats[w];u.type||(u.type="function"),u.name||(u.name=w)}e.cssId&&!((a=this.formats.functions)!=null&&a.color)?(this.formats.color={id:e.cssId},Object.defineProperty(this,"cssId",{value:e.cssId})):(s=this.formats)!=null&&s.color&&!((c=this.formats)!=null&&c.color.id)&&(this.formats.color.id=this.id),this.referred=e.referred,Object.defineProperty(this,"path",{value:KLt(this).reverse(),writable:!1,enumerable:!0,configurable:!0}),fd.run("colorspace-init-end",this)}inGamut(e,{epsilon:n=JLt}={}){if(this.isPolar)return e=this.toBase(e),this.base.inGamut(e,{epsilon:n});let r=Object.values(this.coords);return e.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 e,n;return((n=(e=this.formats.functions)==null?void 0:e.color)==null?void 0:n.id)||this.id}get isPolar(){for(let e in this.coords)if(this.coords[e].type==="angle")return!0;return!1}getFormat(e){if(typeof e=="object")return e=dH(e,this),e;let n;return e==="default"?n=Object.values(this.formats)[0]:n=this.formats[e],n?(n=dH(n,this),n):null}equals(e){return e?this===e||this.id===e.id:!1}to(e,n){if(arguments.length===1&&([e,n]=[e.space,e.coords]),e=hu.get(e),this.equals(e))return n;n=n.map(s=>Number.isNaN(s)?0:s);let r=this.path,i=e.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 ${e}: 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(e,n){return arguments.length===1&&([e,n]=[e.space,e.coords]),e=hu.get(e),e.to(this,n)}toString(){return`${this.name} (${this.id})`}getMinCoords(){var e;let n=[];for(let r in this.coords){let i=this.coords[r],o=i.range||i.refRange;n.push((e=o==null?void 0:o.min)!=null?e:0)}return n}static get all(){return[...new Set(Object.values(hu.registry))]}static register(e,n){if(arguments.length===1&&(n=arguments[0],e=n.id),n=this.get(n),this.registry[e]&&this.registry[e]!==n)throw new Error(`Duplicate color space registration: '${e}'`);if(this.registry[e]=n,arguments.length===1&&n.aliases)for(let r of n.aliases)this.register(r,n);return n}static get(e,...n){if(!e||e instanceof hu)return e;if(pd(e)==="string"){let r=hu.registry[e.toLowerCase()];if(!r)throw new TypeError(`No color space found with id = "${e}"`);return r}if(n.length)return hu.get(...n);throw new TypeError(`${e} is not a valid color space`)}static resolveCoord(e,n){var r;let i=pd(e),o,a;if(i==="string"?e.includes(".")?[o,a]=e.split("."):[o,a]=[,e]:Array.isArray(e)?[o,a]=e:(o=e.space,a=e.coordId),o=hu.get(o),o||(o=n),!o)throw new TypeError(`Cannot resolve coordinate reference ${e}: No color space specified and relative references are not allowed here`);if(i=pd(a),i==="number"||i==="string"&&a>=0){let l=Object.entries(o.coords)[a];if(l)return zt({space:o,id:l[0],index:a},l[1])}o=hu.get(o);let s=a.toLowerCase(),c=0;for(let l in o.coords){let f=o.coords[l];if(l.toLowerCase()===s||((r=f.name)==null?void 0:r.toLowerCase())===s)return zt({space:o,id:l,index:c},f);c++}throw new TypeError(`No "${a}" coordinate found in ${o.name}. Its coordinates are: ${Object.keys(o.coords).join(", ")}`)}};zr(eA,"registry",{}),zr(eA,"DEFAULT_FORMAT",{type:"functions",name:"color"});let fn=eA;function KLt(t){let e=[t];for(let n=t;n=n.base;)e.push(n);return e}function dH(t,{coords:e}={}){if(t.coords&&!t.coordGrammar){t.type||(t.type="function"),t.name||(t.name="color"),t.coordGrammar=uH(t.coords);let n=Object.entries(e).map(([r,i],o)=>{let a=t.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}});t.serializeCoords=(r,i)=>r.map((o,a)=>{let{fromRange:s,toRange:c,suffix:l}=n[a];return s&&c&&(o=Q2(s,c,o)),o=ox(o,i),l&&(o+=l),o})}return t}var Hs=new fn({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 Pa=class extends fn{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=Hs),e.toXYZ_M&&e.fromXYZ_M&&(e.toBase!=null||(e.toBase=n=>{let r=Gi(e.toXYZ_M,n);return this.white!==this.base.white&&(r=sx(this.white,this.base.white,r)),r}),e.fromBase!=null||(e.fromBase=n=>(n=sx(this.base.white,this.white,n),Gi(e.fromXYZ_M,n)))),e.referred!=null||(e.referred="display"),super(e)}};function hH(t,{meta:e}={}){var n,r,i,o,a;let s={str:(n=String(t))==null?void 0:n.trim()};if(fd.run("parse-start",s),s.color)return s.color;if(s.parsed=sH(s.str),s.parsed){let c=s.parsed.name;if(c==="color"){let l=s.parsed.args.shift(),f=s.parsed.rawArgs.indexOf("/")>0?s.parsed.args.pop():1;for(let u of fn.all){let j=u.getFormat("color");if(j&&(l===j.id||(r=j.ids)!=null&&r.includes(l))){const S=Object.keys(u.coords).map((b,T)=>s.parsed.args[T]||0);return e&&(e.formatId="color"),{spaceId:u.id,coords:S,alpha:f}}}let w="";if(l in fn.registry){let u=(a=(o=(i=fn.registry[l].formats)==null?void 0:i.functions)==null?void 0:o.color)==null?void 0:a.id;u&&(w=`Did you mean color(${u})?`)}throw new TypeError(`Cannot parse color(${l}). `+(w||"Missing a plugin?"))}else for(let l of fn.all){let f=l.getFormat(c);if(f&&f.type==="function"){let w=1;(f.lastAlpha||lH(s.parsed.args).alpha)&&(w=s.parsed.args.pop());let u=s.parsed.args,j;return f.coordGrammar&&(j=Object.entries(l.coords).map(([S,b],T)=>{var W;let G=f.coordGrammar[T],Y=(W=u[T])==null?void 0:W.type,U=G.find(D=>D==Y);if(!U){let D=b.name||S;throw new TypeError(`${Y} not allowed for ${D} in ${c}()`)}let $=U.range;Y==="<percentage>"&&($||($=[0,1]));let O=b.range||b.refRange;return $&&O&&(u[T]=Q2($,O,u[T])),U})),e&&Object.assign(e,{formatId:f.name,types:j}),{spaceId:l.id,coords:u,alpha:w}}}}else for(let c of fn.all)for(let l in c.formats){let f=c.formats[l];if(f.type!=="custom"||f.test&&!f.test(s.str))continue;let w=f.parse(s.str);if(w)return w.alpha!=null||(w.alpha=1),e&&(e.formatId=l),w}throw new TypeError(`Could not parse ${t} as a color. Missing a plugin?`)}function mr(t){if(!t)throw new TypeError("Empty color reference");Dv(t)&&(t=hH(t));let e=t.space||t.spaceId;return e instanceof fn||(t.space=fn.get(e)),t.alpha===void 0&&(t.alpha=1),t}function Lv(t,e){return e=fn.get(e),e.from(t)}function Ws(t,e){let{space:n,index:r}=fn.resolveCoord(e,t.space);return Lv(t,n)[r]}function pH(t,e,n){return e=fn.get(e),t.coords=e.to(t.space,n),t}function gd(t,e,n){if(t=mr(t),arguments.length===2&&pd(arguments[1])==="object"){let r=arguments[1];for(let i in r)gd(t,i,r[i])}else{typeof n=="function"&&(n=n(Ws(t,e)));let{space:r,index:i}=fn.resolveCoord(e,t.space),o=Lv(t,r);o[i]=n,pH(t,r,o)}return t}var nA=new fn({id:"xyz-d50",name:"XYZ D50",white:"D50",base:Hs,fromBase:t=>sx(Hs.white,"D50",t),toBase:t=>sx("D50",Hs.white,t),formats:{color:{}}});const QLt=216/24389,fH=24/116,lx=24389/27;let rA=Rl.D50;var hs=new fn({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:rA,base:nA,fromBase(t){let e=t.map((n,r)=>n/rA[r]).map(n=>n>QLt?Math.cbrt(n):(lx*n+16)/116);return[116*e[1]-16,500*(e[0]-e[1]),200*(e[1]-e[2])]},toBase(t){let e=[];return e[1]=(t[0]+16)/116,e[0]=t[1]/500+e[1],e[2]=e[1]-t[2]/200,[e[0]>fH?Math.pow(e[0],3):(116*e[0]-16)/lx,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/lx,e[2]>fH?Math.pow(e[2],3):(116*e[2]-16)/lx].map((n,r)=>n*rA[r])},formats:{lab:{coords:["<number> | <percentage>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}});function cx(t){return(t%360+360)%360}function tNt(t,e){if(t==="raw")return e;let[n,r]=e.map(cx),i=r-n;return t==="increasing"?i<0&&(r+=360):t==="decreasing"?i>0&&(n+=360):t==="longer"?-180<i&&i<180&&(i>0?n+=360:r+=360):t==="shorter"&&(i>180?n+=360:i<-180&&(r+=360)),[n,r]}var Nv=new fn({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:hs,fromBase(t){let[e,n,r]=t,i;const o=.02;return Math.abs(n)<o&&Math.abs(r)<o?i=NaN:i=Math.atan2(r,n)*180/Math.PI,[e,Math.sqrt(Ee(n,2)+Ee(r,2)),cx(i)]},toBase(t){let[e,n,r]=t;return n<0&&(n=0),isNaN(r)&&(r=0),[e,n*Math.cos(r*Math.PI/180),n*Math.sin(r*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number> | <percentage>","<number> | <angle>"]}}});const gH=Ee(25,7),ux=Math.PI,mH=180/ux,qf=ux/180;function iA(t,e,{kL:n=1,kC:r=1,kH:i=1}={}){let[o,a,s]=hs.from(t),c=Nv.from(hs,[o,a,s])[1],[l,f,w]=hs.from(e),u=Nv.from(hs,[l,f,w])[1];c<0&&(c=0),u<0&&(u=0);let j=(c+u)/2,S=Ee(j,7),b=.5*(1-Math.sqrt(S/(S+gH))),T=(1+b)*a,W=(1+b)*f,G=Math.sqrt(Ee(T,2)+Ee(s,2)),Y=Math.sqrt(Ee(W,2)+Ee(w,2)),U=T===0&&s===0?0:Math.atan2(s,T),$=W===0&&w===0?0:Math.atan2(w,W);U<0&&(U+=2*ux),$<0&&($+=2*ux),U*=mH,$*=mH;let O=l-o,D=Y-G,m=$-U,C=U+$,p=Math.abs(m),d;G*Y===0?d=0:p<=180?d=m:m>180?d=m-360:m<-180?d=m+360:console.log("the unthinkable has happened");let g=2*Math.sqrt(Y*G)*Math.sin(d*qf/2),E=(o+l)/2,M=(G+Y)/2,P=Math.pow(M,7),V;G*Y===0?V=C:p<=180?V=C/2:C<360?V=(C+360)/2:V=(C-360)/2;let q=Ee(E-50,2),H=1+.015*q/Math.sqrt(20+q),R=1+.045*M,I=1;I-=.17*Math.cos((V-30)*qf),I+=.24*Math.cos(2*V*qf),I+=.32*Math.cos((3*V+6)*qf),I-=.2*Math.cos((4*V-63)*qf);let A=1+.015*M*I,k=30*Math.exp(-1*Ee((V-275)/25,2)),h=2*Math.sqrt(P/(P+gH)),_=-1*Math.sin(2*k*qf)*h,y=Ee(O/(n*H),2);return y+=Ee(D/(r*R),2),y+=Ee(g/(i*A),2),y+=_*(D/(r*R))*(g/(i*A)),Math.sqrt(y)}const eNt=75e-6;function Iv(t,e=t.space,{epsilon:n=eNt}={}){t=mr(t),e=fn.get(e);let r=t.coords;return e!==t.space&&(r=e.from(t)),e.inGamut(r,{epsilon:n})}function Rv(t){return{space:t.space,coords:t.coords.slice(),alpha:t.alpha}}function md(t,{method:e=wc.gamut_mapping,space:n=t.space}={}){if(Dv(arguments[1])&&(n=arguments[1]),n=fn.get(n),Iv(t,n,{epsilon:0}))return mr(t);let r=Vs(t,n);if(e!=="clip"&&!Iv(t,n)){let i=md(Rv(r),{method:"clip",space:n});if(iA(t,i)>2){let o=fn.resolveCoord(e),a=o.space,s=o.id,c=Vs(r,a),l=(o.range||o.refRange)[0],f=.01,w=l,u=Ws(c,s);for(;u-w>f;){let j=Rv(c);j=md(j,{space:n,method:"clip"}),iA(c,j)-2<f?w=Ws(c,s):u=Ws(c,s),gd(c,s,(w+u)/2)}r=Vs(c,n)}else r=i}if(e==="clip"||!Iv(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!==t.space&&(r=Vs(r,t.space)),t.coords=r.coords,t}md.returns="color";function Vs(t,e,{inGamut:n}={}){t=mr(t),e=fn.get(e);let r=e.from(t),i={space:e,coords:r,alpha:t.alpha};return n&&(i=md(i)),i}Vs.returns="color";function dx(t,e={}){var n=e,{precision:r=wc.precision,format:i="default",inGamut:o=!0}=n,a=Vi(n,["precision","format","inGamut"]),s,c,l;let f;t=mr(t);let w=i;i=(c=(s=t.space.getFormat(i))!=null?s:t.space.getFormat("default"))!=null?c:fn.DEFAULT_FORMAT,o||(o=i.toGamut);let u=t.coords;if(u=u.map(j=>j||0),o&&!Iv(t)&&(u=md(Rv(t),o===!0?void 0:o).coords),i.type==="custom")if(a.precision=r,i.serialize)f=i.serialize(u,t.alpha,a);else throw new TypeError(`format ${w} can only be used to parse colors, not for serialization`);else{let j=i.name||"color";i.serializeCoords?u=i.serializeCoords(u,r):r!==null&&(u=u.map(W=>ox(W,r)));let S=[...u];if(j==="color"){let W=i.id||((l=i.ids)==null?void 0:l[0])||t.space.id;S.unshift(W)}let b=t.alpha;r!==null&&(b=ox(b,r));let T=t.alpha<1&&!i.noAlpha?`${i.commas?",":" /"} ${b}`:"";f=`${j}(${S.join(i.commas?", ":" ")}${T})`}return f}const nNt=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],rNt=[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]];var hx=new Pa({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:nNt,fromXYZ_M:rNt,formats:{color:{}}});const px=1.09929682680944,vH=.018053968510807;var yH=new Pa({id:"rec2020",name:"REC.2020",base:hx,toBase(t){return t.map(function(e){return e<vH*4.5?e/4.5:Math.pow((e+px-1)/px,1/.45)})},fromBase(t){return t.map(function(e){return e>=vH?px*Math.pow(e,.45)-(px-1):4.5*e})},formats:{color:{}}});const iNt=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],oNt=[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]];var bH=new Pa({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:iNt,fromXYZ_M:oNt});const aNt=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],sNt=[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]];var xH=new Pa({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:aNt,fromXYZ_M:sNt,formats:{color:{}}}),wH={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 _H=Array(3).fill("<percentage> | <number>[0, 255]"),SH=Array(3).fill("<number>[0, 255]");var jv=new Pa({id:"srgb",name:"sRGB",base:xH,fromBase:t=>t.map(e=>{let n=e<0?-1:1,r=e*n;return r>.0031308?n*(1.055*Ee(r,1/2.4)-.055):12.92*e}),toBase:t=>t.map(e=>{let n=e<0?-1:1,r=e*n;return r<.04045?e/12.92:n*Ee((r+.055)/1.055,2.4)}),formats:{rgb:{coords:_H},rgb_number:{name:"rgb",commas:!0,coords:SH,noAlpha:!0},color:{},rgba:{coords:_H,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:SH},hex:{type:"custom",toGamut:!0,test:t=>/^#([a-f0-9]{3,4}){1,2}$/i.test(t),parse(t){t.length<=5&&(t=t.replace(/[a-f0-9]/gi,"$&$&"));let e=[];return t.replace(/[a-f0-9]{2}/gi,n=>{e.push(parseInt(n,16)/255)}),{spaceId:"srgb",coords:e.slice(0,3),alpha:e.slice(3)[0]}},serialize:(t,e,{collapse:n=!0}={})=>{e<1&&t.push(e),t=t.map(i=>Math.round(i*255));let r=n&&t.every(i=>i%17===0);return"#"+t.map(i=>r?(i/17).toString(16):i.toString(16).padStart(2,"0")).join("")}},keyword:{type:"custom",test:t=>/^[a-z]+$/i.test(t),parse(t){t=t.toLowerCase();let e={spaceId:"srgb",coords:null,alpha:1};if(t==="transparent"?(e.coords=wH.black,e.alpha=0):e.coords=wH[t],e.coords)return e}}}}),CH=new Pa({id:"p3",name:"P3",base:bH,fromBase:jv.fromBase,toBase:jv.toBase,formats:{color:{id:"display-p3"}}});if(wc.display_space=jv,typeof CSS<"u"&&CSS.supports)for(let t of[hs,yH,CH]){let e=t.getMinCoords(),n=dx({space:t,coords:e,alpha:1});if(CSS.supports("color",n)){wc.display_space=t;break}}function lNt(t,e={}){var n=e,{space:r=wc.display_space}=n,i=Vi(n,["space"]);let o=dx(t,i);if(typeof CSS>"u"||CSS.supports("color",o)||!wc.display_space)o=new String(o),o.color=t;else{let a=Vs(t,r);o=new String(dx(a,i)),o.color=a}return o}function kH(t,e,n="lab"){n=fn.get(n);let r=n.from(t),i=n.from(e);return Math.sqrt(r.reduce((o,a,s)=>{let c=i[s];return isNaN(a)||isNaN(c)?o:o+Ee(c-a,2)},0))}function cNt(t,e){return t=mr(t),e=mr(e),t.space===e.space&&t.alpha===e.alpha&&t.coords.every((n,r)=>n===e.coords[r])}function vd(t){return Ws(t,[Hs,"y"])}function MH(t,e){gd(t,[Hs,"y"],e)}function uNt(t){Object.defineProperty(t.prototype,"luminance",{get(){return vd(this)},set(e){MH(this,e)}})}var dNt=Object.freeze({__proto__:null,getLuminance:vd,register:uNt,setLuminance:MH});function hNt(t,e){t=mr(t),e=mr(e);let n=Math.max(vd(t),0),r=Math.max(vd(e),0);return r>n&&([n,r]=[r,n]),(n+.05)/(r+.05)}const pNt=.56,fNt=.57,gNt=.62,mNt=.65,TH=.022,vNt=1.414,yNt=.1,bNt=5e-4,xNt=1.14,AH=.027,wNt=1.14;function EH(t){return t>=TH?t:t+Ee(TH-t,vNt)}function Xf(t){let e=t<0?-1:1,n=Math.abs(t);return e*Math.pow(n,2.4)}function _Nt(t,e){e=mr(e),t=mr(t);let n,r,i,o,a,s;e=Vs(e,"srgb"),[o,a,s]=e.coords;let c=Xf(o)*.2126729+Xf(a)*.7151522+Xf(s)*.072175;t=Vs(t,"srgb"),[o,a,s]=t.coords;let l=Xf(o)*.2126729+Xf(a)*.7151522+Xf(s)*.072175,f=EH(c),w=EH(l),u=w>f;return Math.abs(w-f)<bNt?r=0:u?(n=Ee(w,pNt)-Ee(f,fNt),r=n*xNt):(n=Ee(w,mNt)-Ee(f,gNt),r=n*wNt),Math.abs(r)<yNt?i=0:r>0?i=r-AH:i=r+AH,i*100}function SNt(t,e){t=mr(t),e=mr(e);let n=Math.max(vd(t),0),r=Math.max(vd(e),0);r>n&&([n,r]=[r,n]);let i=n+r;return i===0?0:(n-r)/i}const CNt=5e4;function kNt(t,e){t=mr(t),e=mr(e);let n=Math.max(vd(t),0),r=Math.max(vd(e),0);return r>n&&([n,r]=[r,n]),r===0?CNt:(n-r)/r}function MNt(t,e){t=mr(t),e=mr(e);let n=Ws(t,[hs,"l"]),r=Ws(e,[hs,"l"]);return Math.abs(n-r)}const TNt=216/24389,OH=24/116,fx=24389/27;let oA=Rl.D65;var aA=new fn({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:oA,base:Hs,fromBase(t){let e=t.map((n,r)=>n/oA[r]).map(n=>n>TNt?Math.cbrt(n):(fx*n+16)/116);return[116*e[1]-16,500*(e[0]-e[1]),200*(e[1]-e[2])]},toBase(t){let e=[];return e[1]=(t[0]+16)/116,e[0]=t[1]/500+e[1],e[2]=e[1]-t[2]/200,[e[0]>OH?Math.pow(e[0],3):(116*e[0]-16)/fx,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/fx,e[2]>OH?Math.pow(e[2],3):(116*e[2]-16)/fx].map((n,r)=>n*oA[r])},formats:{"lab-d65":{coords:["<number> | <percentage>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}});const sA=Math.pow(5,.5)*.5+.5;function ANt(t,e){t=mr(t),e=mr(e);let n=Ws(t,[aA,"l"]),r=Ws(e,[aA,"l"]),i=Math.abs(Math.pow(n,sA)-Math.pow(r,sA)),o=Math.pow(i,1/sA)*Math.SQRT2-40;return o<7.5?0:o}var gx=Object.freeze({__proto__:null,contrastAPCA:_Nt,contrastDeltaPhi:ANt,contrastLstar:MNt,contrastMichelson:SNt,contrastWCAG21:hNt,contrastWeber:kNt});function ENt(t,e,n={}){Dv(n)&&(n={algorithm:n});let r=n,{algorithm:i}=r,o=Vi(r,["algorithm"]);if(!i){let a=Object.keys(gx).map(s=>s.replace(/^contrast/,"")).join(", ");throw new TypeError(`contrast() function needs a contrast algorithm. Please specify one of: ${a}`)}t=mr(t),e=mr(e);for(let a in gx)if("contrast"+i.toLowerCase()===a.toLowerCase())return gx[a](t,e,o);throw new TypeError(`Unknown contrast algorithm: ${i}`)}function PH(t){let[e,n,r]=Lv(t,Hs),i=e+15*n+3*r;return[4*e/i,9*n/i]}function DH(t){let[e,n,r]=Lv(t,Hs),i=e+n+r;return[e/i,n/i]}function ONt(t){Object.defineProperty(t.prototype,"uv",{get(){return PH(this)}}),Object.defineProperty(t.prototype,"xy",{get(){return DH(this)}})}var PNt=Object.freeze({__proto__:null,register:ONt,uv:PH,xy:DH});function DNt(t,e){return kH(t,e,"lab")}const LNt=Math.PI,LH=LNt/180;function NNt(t,e,{l:n=2,c:r=1}={}){let[i,o,a]=hs.from(t),[,s,c]=Nv.from(hs,[i,o,a]),[l,f,w]=hs.from(e),u=Nv.from(hs,[l,f,w])[1];s<0&&(s=0),u<0&&(u=0);let j=i-l,S=s-u,b=o-f,T=a-w,W=Ee(b,2)+Ee(T,2)-Ee(S,2),G=.511;i>=16&&(G=.040975*i/(1+.01765*i));let Y=.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)*LH)):U=.36+Math.abs(.4*Math.cos((c+35)*LH));let $=Math.pow(s,4),O=Math.sqrt($/($+1900)),D=Y*(O*U+1-O),m=Ee(j/(n*G),2);return m+=Ee(S/(r*Y),2),m+=W/Ee(D,2),Math.sqrt(m)}const NH=203;var lA=new fn({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:Hs,fromBase(t){return t.map(e=>Math.max(e*NH,0))},toBase(t){return t.map(e=>Math.max(e/NH,0))}});const mx=1.15,vx=.66,IH=2610/Ee(2,14),INt=Ee(2,14)/2610,RH=3424/Ee(2,12),jH=2413/Ee(2,7),$H=2392/Ee(2,7),RNt=1.7*2523/Ee(2,5),zH=Ee(2,5)/(1.7*2523),yx=-.56,cA=16295499532821565e-27,jNt=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],$Nt=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],zNt=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],BNt=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]];var BH=new fn({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:lA,fromBase(t){let[e,n,r]=t,i=mx*e-(mx-1)*r,o=vx*n-(vx-1)*e,a=Gi(jNt,[i,o,r]).map(function(f){let w=RH+jH*Ee(f/1e4,IH),u=1+$H*Ee(f/1e4,IH);return Ee(w/u,RNt)}),[s,c,l]=Gi(zNt,a);return[(1+yx)*s/(1+yx*s)-cA,c,l]},toBase(t){let[e,n,r]=t,i=(e+cA)/(1+yx-yx*(e+cA)),o=Gi(BNt,[i,n,r]).map(function(w){let u=RH-Ee(w,zH),j=$H*Ee(w,zH)-jH;return 1e4*Ee(u/j,INt)}),[a,s,c]=Gi($Nt,o),l=(a+(mx-1)*c)/mx,f=(s+(vx-1)*l)/vx;return[l,f,c]},formats:{color:{}}}),uA=new fn({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:BH,fromBase(t){let[e,n,r]=t,i;const o=2e-4;return Math.abs(n)<o&&Math.abs(r)<o?i=NaN:i=Math.atan2(r,n)*180/Math.PI,[e,Math.sqrt(Ee(n,2)+Ee(r,2)),cx(i)]},toBase(t){return[t[0],t[1]*Math.cos(t[2]*Math.PI/180),t[1]*Math.sin(t[2]*Math.PI/180)]},formats:{color:{}}});function FNt(t,e){let[n,r,i]=uA.from(t),[o,a,s]=uA.from(e),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 f=i-s,w=2*Math.sqrt(r*a)*Math.sin(f/2*(Math.PI/180));return Math.sqrt(Ee(c,2)+Ee(l,2)+Ee(w,2))}const FH=3424/4096,HH=2413/128,WH=2392/128,VH=2610/16384,HNt=2523/32,WNt=16384/2610,UH=32/2523,VNt=[[.3592,.6976,-.0358],[-.1922,1.1004,.0755],[.007,.0749,.8434]],UNt=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],GNt=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-.008605050147287059,-.11103437159861648],[1.0000320633910054,.56004913547279,-.3206339100541203]],YNt=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-.04542175307585323],[-.04959554223893211,-.04942116118675749,1.1879959417328034]];var dA=new fn({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:lA,fromBase(t){let e=Gi(VNt,t);return qNt(e)},toBase(t){let e=XNt(t);return Gi(YNt,e)},formats:{color:{}}});function qNt(t){let e=t.map(function(n){let r=FH+HH*Ee(n/1e4,VH),i=1+WH*Ee(n/1e4,VH);return Ee(r/i,HNt)});return Gi(UNt,e)}function XNt(t){return Gi(GNt,t).map(function(e){let n=Math.max(Ee(e,UH)-FH,0),r=HH-WH*Ee(e,UH);return 1e4*Ee(n/r,WNt)})}function ZNt(t,e){let[n,r,i]=dA.from(t),[o,a,s]=dA.from(e);return 720*Math.sqrt(Ee(n-o,2)+.25*Ee(r-a,2)+Ee(i-s,2))}const JNt=[[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],KNt=[[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],QNt=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],tIt=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]];var bx=new fn({id:"oklab",name:"Oklab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:Hs,fromBase(t){let e=Gi(JNt,t).map(n=>Math.cbrt(n));return Gi(QNt,e)},toBase(t){let e=Gi(tIt,t).map(n=>Ee(n,3));return Gi(KNt,e)},formats:{oklab:{coords:["<percentage> | <number>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}});function eIt(t,e){let[n,r,i]=bx.from(t),[o,a,s]=bx.from(e),c=n-o,l=r-a,f=i-s;return Math.sqrt(Ee(c,2)+Ee(l,2)+Ee(f,2))}var xx={deltaE76:DNt,deltaECMC:NNt,deltaE2000:iA,deltaEJz:FNt,deltaEITP:ZNt,deltaEOK:eIt};function $v(t,e,n={}){Dv(n)&&(n={method:n});let r=n,{method:i=wc.deltaE}=r,o=Vi(r,["method"]);t=mr(t),e=mr(e);for(let a in xx)if("deltae"+i.toLowerCase()===a.toLowerCase())return xx[a](t,e,o);throw new TypeError(`Unknown deltaE method: ${i}`)}function nIt(t,e=.25){let n=[fn.get("oklch","lch"),"l"];return gd(t,n,r=>r*(1+e))}function rIt(t,e=.25){let n=[fn.get("oklch","lch"),"l"];return gd(t,n,r=>r*(1-e))}var iIt=Object.freeze({__proto__:null,darken:rIt,lighten:nIt});function GH(t,e,n=.5,r={}){[t,e]=[mr(t),mr(e)],pd(n)==="object"&&([n,r]=[.5,n]);let{space:i,outputSpace:o,premultiplied:a}=r;return zv(t,e,{space:i,outputSpace:o,premultiplied:a})(n)}function YH(t,e,n={}){let r;hA(t)&&([r,n]=[t,e],[t,e]=r.rangeArgs.colors);let i=n,{maxDeltaE:o,deltaEMethod:a,steps:s=2,maxSteps:c=1e3}=i,l=Vi(i,["maxDeltaE","deltaEMethod","steps","maxSteps"]);r||([t,e]=[mr(t),mr(e)],r=zv(t,e,l));let f=$v(t,e),w=o>0?Math.max(s,Math.ceil(f/o)+1):s,u=[];if(c!==void 0&&(w=Math.min(w,c)),w===1)u=[{p:.5,color:r(.5)}];else{let j=1/(w-1);u=Array.from({length:w},(S,b)=>{let T=b*j;return{p:T,color:r(T)}})}if(o>0){let j=u.reduce((S,b,T)=>{if(T===0)return 0;let W=$v(b.color,u[T-1].color,a);return Math.max(S,W)},0);for(;j>o;){j=0;for(let S=1;S<u.length&&u.length<c;S++){let b=u[S-1],T=u[S],W=(T.p+b.p)/2,G=r(W);j=Math.max(j,$v(G,b.color),$v(G,T.color)),u.splice(S,0,{p:W,color:r(W)}),S++}}}return u=u.map(j=>j.color),u}function zv(t,e,n={}){if(hA(t)){let[c,l]=[t,e];return zv(...c.rangeArgs.colors,zt(zt({},c.rangeArgs.options),l))}let{space:r,outputSpace:i,progression:o,premultiplied:a}=n;t=mr(t),e=mr(e),t=Rv(t),e=Rv(e);let s={colors:[t,e],options:n};if(r?r=fn.get(r):r=fn.registry[wc.interpolationSpace]||t.space,i=i?fn.get(i):r,t=Vs(t,r),e=Vs(e,r),t=md(t),e=md(e),r.coords.h&&r.coords.h.type==="angle"){let c=n.hue=n.hue||"shorter",l=[r,"h"],[f,w]=[Ws(t,l),Ws(e,l)];[f,w]=tNt(c,[f,w]),gd(t,l,f),gd(e,l,w)}return a&&(t.coords=t.coords.map(c=>c*t.alpha),e.coords=e.coords.map(c=>c*e.alpha)),Object.assign(c=>{c=o?o(c):c;let l=t.coords.map((u,j)=>{let S=e.coords[j];return ax(u,S,c)}),f=ax(t.alpha,e.alpha,c),w={space:r,coords:l,alpha:f};return a&&(w.coords=w.coords.map(u=>u/f)),i!==r&&(w=Vs(w,i)),w},{rangeArgs:s})}function hA(t){return pd(t)==="function"&&!!t.rangeArgs}wc.interpolationSpace="lab";function oIt(t){t.defineFunction("mix",GH,{returns:"color"}),t.defineFunction("range",zv,{returns:"function<color>"}),t.defineFunction("steps",YH,{returns:"array<color>"})}var aIt=Object.freeze({__proto__:null,isRange:hA,mix:GH,range:zv,register:oIt,steps:YH}),qH=new fn({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:jv,fromBase:t=>{let e=Math.max(...t),n=Math.min(...t),[r,i,o]=t,[a,s,c]=[NaN,0,(n+e)/2],l=e-n;if(l!==0){switch(s=c===0||c===1?0:(e-c)/Math.min(c,1-c),e){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:t=>{let[e,n,r]=t;e=e%360,e<0&&(e+=360),n/=100,r/=100;function i(o){let a=(o+e/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}}}),XH=new fn({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:qH,fromBase(t){let[e,n,r]=t;n/=100,r/=100;let i=r+n*Math.min(r,1-r);return[e,i===0?0:200*(1-r/i),100*i]},toBase(t){let[e,n,r]=t;n/=100,r/=100;let i=r*(1-n/2);return[e,i===0||i===1?0:(r-i)/Math.min(i,1-i)*100,i*100]},formats:{color:{toGamut:!0}}}),sIt=new fn({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:XH,fromBase(t){let[e,n,r]=t;return[e,r*(100-n)/100,100-r]},toBase(t){let[e,n,r]=t;n/=100,r/=100;let i=n+r;if(i>=1){let s=n/i;return[e,0,s*100]}let o=1-r,a=o===0?0:1-n/o;return[e,a*100,o*100]},formats:{hwb:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]}}});const lIt=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],cIt=[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]];var ZH=new Pa({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:lIt,fromXYZ_M:cIt}),uIt=new Pa({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:ZH,toBase:t=>t.map(e=>Math.pow(Math.abs(e),563/256)*Math.sign(e)),fromBase:t=>t.map(e=>Math.pow(Math.abs(e),256/563)*Math.sign(e)),formats:{color:{id:"a98-rgb"}}});const dIt=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],hIt=[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]];var JH=new Pa({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:nA,toXYZ_M:dIt,fromXYZ_M:hIt});const pIt=1/512,fIt=16/512;var gIt=new Pa({id:"prophoto",name:"ProPhoto",base:JH,toBase(t){return t.map(e=>e<fIt?e/16:Ee(e,1.8))},fromBase(t){return t.map(e=>e>=pIt?Ee(e,1/1.8):16*e)},formats:{color:{id:"prophoto-rgb"}}}),mIt=new fn({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:bx,fromBase(t){let[e,n,r]=t,i;const o=2e-4;return Math.abs(n)<o&&Math.abs(r)<o?i=NaN:i=Math.atan2(r,n)*180/Math.PI,[e,Math.sqrt(Ee(n,2)+Ee(r,2)),cx(i)]},toBase(t){let[e,n,r]=t,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)),[e,i,o]},formats:{oklch:{coords:["<number> | <percentage>","<number> | <percentage>[0,1]","<number> | <angle>"]}}});const KH=203,QH=2610/Ee(2,14),vIt=Ee(2,14)/2610,yIt=2523/Ee(2,5),t8=Ee(2,5)/2523,e8=3424/Ee(2,12),n8=2413/Ee(2,7),r8=2392/Ee(2,7);var bIt=new Pa({id:"rec2100pq",name:"REC.2100-PQ",base:hx,toBase(t){return t.map(function(e){return Ee(Math.max(Ee(e,t8)-e8,0)/(n8-r8*Ee(e,t8)),vIt)*1e4/KH})},fromBase(t){return t.map(function(e){let n=Math.max(e*KH/1e4,0),r=e8+n8*Ee(n,QH),i=1+r8*Ee(n,QH);return Ee(r/i,yIt)})},formats:{color:{id:"rec2100-pq"}}});const i8=.17883277,o8=.28466892,a8=.55991073,pA=3.7743;var xIt=new Pa({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:hx,toBase(t){return t.map(function(e){return e<=.5?Ee(e,2)/3*pA:(Math.exp((e-a8)/i8)+o8)/12*pA})},fromBase(t){return t.map(function(e){return e/=pA,e<=1/12?Math.sqrt(3*e):i8*Math.log(12*e-o8)+a8})},formats:{color:{id:"rec2100-hlg"}}});const s8={};fd.add("chromatic-adaptation-start",t=>{t.options.method&&(t.M=l8(t.W1,t.W2,t.options.method))}),fd.add("chromatic-adaptation-end",t=>{t.M||(t.M=l8(t.W1,t.W2,t.options.method))});function wx({id:t,toCone_M:e,fromCone_M:n}){s8[t]=arguments[0]}function l8(t,e,n="Bradford"){let r=s8[n],[i,o,a]=Gi(r.toCone_M,t),[s,c,l]=Gi(r.toCone_M,e),f=[[s/i,0,0],[0,c/o,0],[0,0,l/a]],w=Gi(f,r.toCone_M);return Gi(r.fromCone_M,w)}wx({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]]}),wx({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]]}),wx({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]]}),wx({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(Rl,{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]}),Rl.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];const wIt=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],_It=[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]];var c8=new Pa({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:Rl.ACES,toXYZ_M:wIt,fromXYZ_M:_It,formats:{color:{}}});const _x=Ee(2,-16),fA=-.35828683,Sx=(Math.log2(65504)+9.72)/17.52;var SIt=new Pa({id:"acescc",name:"ACEScc",coords:{r:{range:[fA,Sx],name:"Red"},g:{range:[fA,Sx],name:"Green"},b:{range:[fA,Sx],name:"Blue"}},referred:"scene",base:c8,toBase(t){const e=-.3013698630136986;return t.map(function(n){return n<=e?(Ee(2,n*17.52-9.72)-_x)*2:n<Sx?Ee(2,n*17.52-9.72):65504})},fromBase(t){return t.map(function(e){return e<=0?(Math.log2(_x)+9.72)/17.52:e<_x?(Math.log2(_x+e*.5)+9.72)/17.52:(Math.log2(e)+9.72)/17.52})},formats:{color:{}}}),u8=Object.freeze({__proto__:null,A98RGB:uIt,A98RGB_Linear:ZH,ACEScc:SIt,ACEScg:c8,HSL:qH,HSV:XH,HWB:sIt,ICTCP:dA,JzCzHz:uA,Jzazbz:BH,LCH:Nv,Lab:hs,Lab_D65:aA,OKLCH:mIt,OKLab:bx,P3:CH,P3_Linear:bH,ProPhoto:gIt,ProPhoto_Linear:JH,REC_2020:yH,REC_2020_Linear:hx,REC_2100_HLG:xIt,REC_2100_PQ:bIt,XYZ_ABS_D65:lA,XYZ_D50:nA,XYZ_D65:Hs,sRGB:jv,sRGB_Linear:xH});let oa=class os{constructor(...e){let n;e.length===1&&(n=mr(e[0]));let r,i,o;n?(r=n.space||n.spaceId,i=n.coords,o=n.alpha):[r,i,o]=e,Object.defineProperty(this,"space",{value:fn.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 os(this.space,this.coords,this.alpha)}toJSON(){return{spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}display(...e){let n=lNt(this,...e);return n.color=new os(n.color),n}static get(e,...n){return e instanceof os?e:new os(e,...n)}static defineFunction(e,n,r=n){let{instance:i=!0,returns:o}=r,a=function(...s){let c=n(...s);if(o==="color")c=os.get(c);else if(o==="function<color>"){let l=c;c=function(...f){let w=l(...f);return os.get(w)},Object.assign(c,l)}else o==="array<color>"&&(c=c.map(l=>os.get(l)));return c};e in os||(os[e]=a),i&&(os.prototype[e]=function(...s){return a(this,...s)})}static defineFunctions(e){for(let n in e)os.defineFunction(n,e[n],e[n])}static extend(e){if(e.register)e.register(os);else for(let n in e)os.defineFunction(n,e[n])}};oa.defineFunctions({get:Ws,getAll:Lv,set:gd,setAll:pH,to:Vs,equals:cNt,inGamut:Iv,toGamut:md,distance:kH,toString:dx}),Object.assign(oa,{util:XLt,hooks:fd,WHITES:Rl,Space:fn,spaces:fn.registry,parse:hH,defaults:wc});for(let t of Object.keys(u8))fn.register(u8[t]);for(let t in fn.registry)gA(t,fn.registry[t]);fd.add("colorspace-init-end",t=>{var e;gA(t.id,t),(e=t.aliases)==null||e.forEach(n=>{gA(n,t)})});function gA(t,e){Object.values(e.coords).map(r=>r.name);let n=t.replace(/-/g,"_");Object.defineProperty(oa.prototype,n,{get(){let r=this.getAll(t);return typeof Proxy>"u"?r:new Proxy(r,{has:(i,o)=>{try{return fn.resolveCoord([e,o]),!0}catch{}return Reflect.has(i,o)},get:(i,o,a)=>{if(o&&typeof o!="symbol"&&!(o in i)){let{index:s}=fn.resolveCoord([e,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}=fn.resolveCoord([e,o]);if(c>=0)return i[c]=a,this.setAll(t,i),!0}return Reflect.set(i,o,a,s)}})},set(r){this.setAll(t,r)},configurable:!0,enumerable:!0})}oa.extend(xx),oa.extend({deltaE:$v}),Object.assign(oa,{deltaEMethods:xx}),oa.extend(iIt),oa.extend({contrast:ENt}),oa.extend(PNt),oa.extend(dNt),oa.extend(aIt),oa.extend(gx);const d8=.15,jl=t=>typeof t=="string"?new oa(t):t,Cu=t=>t.toString({format:"hex"}),h8=(...t)=>{const e=t.map(jl);if(e.length<2)return()=>Cu(e[0]);const n=e.slice(0,-1).map((r,i)=>[r,e[i+1]]).map(([r,i])=>{const o=oa.range(r,i,{outputSpace:"srgb"});return a=>Cu(o(a))});return r=>{if(r<=0)return Cu(e[0]);if(r>=1)return Cu(e[e.length-1]);const i=Math.floor(r*n.length);return n[i](r*n.length-i)}},CIt=(t,...e)=>{const n=e.map(jl);if(n.length<2)return Array(t).fill(Cu(n[0]));const r=h8(...n);return Array(t).fill(0).map((i,o)=>r(o/(t-1)))},p8=t=>Cu(jl(t).set("hsl.s",0)),kIt=(t,e)=>Cu(oa.mix(t,e,.5,{outputSpace:"srgb"})),MIt=(t,e)=>Math.abs(jl(e).hsl.h-jl(t).hsl.h),Bv=(t,e)=>{const n=jl(t);return n.hsv.v=n.hsv.v+n.hsv.v*e,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)),Cu(n)},f8=t=>({R:t.srgb[0]*255,G:t.srgb[1]*255,B:t.srgb[2]*255}),Fv=t=>{const{R:e,G:n,B:r}=f8(t);return 1-(.299*e+.587*n+.114*r)/255};function TIt(t){return Fv(t)<.9}const Us=(t,e=.05,n=1)=>{const r=jl(t),{R:i,G:o,B:a}=f8(r),s=Fv(r);let c=e;TIt(r)&&(c*=-.6),c*=Math.exp(s*1.2);const l=Math.min(Math.max(Math.round(255*c)+i,0),255),f=Math.min(Math.max(Math.round(255*c)+o,0),255),w=Math.min(Math.max(Math.round(255*c)+a,0),255);return`rgba(${l}, ${f}, ${w}, ${n})`},$l=(t,e)=>{const n=jl(t);return n.alpha=e,Cu(n)};function AIt(t){return e=>{var n,r,i;const{steps:o,minColor:a,maxColor:s}=t,c=(n=t.minValue)!=null?n:Math.min(...e),l=(r=t.maxValue)!=null?r:Math.max(...e),f=(i=t.midValue)!=null?i:c<0&&l>0?0:(c+l)/2,w=EIt(a??Pv,s??Pv,c,f,l,o);return u=>w(u)}}const EIt=(t,e,n,r,i,o=0)=>{const a=DIt(n,r,i),s=MIt(t,e)>90?[t,p8(kIt(t,e)),e]:[t,e];return o<=0?OIt(a,s):PIt(a,o,s)},OIt=(t,e)=>{const n=h8(...e);return r=>n(t(r))},PIt=(t,e,n)=>{const r=CIt(e,...n);return i=>{const o=Math.floor(t(i)*e);return r[Math.min(Math.max(o,0),e-1)]}},DIt=(t,e,n)=>r=>r==t&&r==n?.5:r<e?.5*((r-t)/(e-t)):.5+.5*(r-e)/(n-e);function mA(t){let e;switch(typeof t=="string"?e=K2(t):e=t,e.type){case"uniform":return{type:"Static",getColor:GLt(e)};case"conditional":return{type:"Absolute",getColor:YLt(e)};case"range":return{type:"Relative",getColor:AIt(e)}}}const Cx=t=>{const{getValueFromDataStructure:e,applyColorToDataStructure:n}=t;return(r,i)=>{const o=mA(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(e),c=o.getColor(s);a=l=>c(l);break}}return r.map(s=>{const c=e(s),l=a(c);return n(s,l)})}},LIt=Cx({getValueFromDataStructure:t=>t.value,applyColorToDataStructure:(t,e)=>ne(zt({},t),{color:e})});var NIt=Yz,IIt=uv,RIt=av,jIt=no,$It=Rh,zIt=sv,BIt=l1,FIt=s1,HIt="[object Map]",WIt="[object Set]",VIt=Object.prototype,UIt=VIt.hasOwnProperty;function GIt(t){if(t==null)return!0;if($It(t)&&(jIt(t)||typeof t=="string"||typeof t.splice=="function"||zIt(t)||FIt(t)||RIt(t)))return!t.length;var e=IIt(t);if(e==HIt||e==WIt)return!t.size;if(BIt(t))return!NIt(t).length;for(var n in t)if(UIt.call(t,n))return!1;return!0}var g8=GIt;const YIt=An(g8),m8=(t,e)=>Object.assign(Object.create(t),e),v8=(t,e)=>Object.assign(Object.create(Object.getPrototypeOf(t)),t,e),y8=t=>{const e="column"in t;let n=t,r;if(e){const i=t,{column:o}=i,a=Vi(i,["column"]);n=o,YIt(a)||(r=a)}return{column:n,style:r}},Ro=t=>{var e;const{column:n,style:r}=y8(t),i=Dl(n.type)?(e=n==null?void 0:n.getFormat)==null?void 0:e.call(n):void 0,o=ne(zt({},r),{dateFormat:(r==null?void 0:r.dateFormat)||i});return m8(n,o)},Yi=t=>{var e,n;const r="column"in t,i=r?t.column:t,o=m8(i,ne(zt({},r?t:{}),{title:(n=(e=t.title)!=null?e:i.title)!=null?n:i.name,enabled:!0}));return o.aggregation=o.aggregation||"sum",o},Xh=t=>Fs(t)?Yi(t):Ro(t),b8=t=>t,qIt=t=>t,x8=t=>t,kx=t=>t,ps=t=>{var e;return(e=t.title)!=null?e:t.name},Gs=t=>kx(Ro(t)),Mx=(t,e)=>{var n;if(e.rows.length===0)return{type:"cartesian",series:[],xValues:[],xAxisCount:0};const r=t,i=r.x.length;let o=Yh(e,r.x.map(u=>u.name));o=o.map((u,j)=>ne(zt({},u),{direction:w8(r.x[j].sortType)}));const a=Yh(e,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=_8(e,s,o,((n=o[c])==null?void 0:n.direction)===0?Uf:void 0),f=r.y.map(u=>u.name),w=r.breakBy.length>0?KIt(e,l,o,f[0],a,r.breakBy):XIt(e,l,o,f,r.y);return ne(zt({},w),{xAxisCount:i,type:"cartesian"})},w8=t=>{switch(t){case"sortNone":return 0;case"sortDesc":return-1;case"sortAsc":default:return 1}},_8=(t,e,n,r)=>{if(n.length===0)return[{key:"",xValues:[""],rawValues:[]}];const i=e.map(w=>({column:w.name,agg:"sum",title:w.name}));if(r){const w={column:r,title:r,agg:"min"};i.push(w)}const o=JF(t,n,i),a=[];let s=0;if(n.length===2){s=1;const w=Ci(o,n[0].name);w&&a.push(w)}if(e.map(w=>{const u=Ci(o,w.name);return u&&a.push(ne(zt({},u),{direction:w.sortType==="sortAsc"?1:-1})),w}),r){const w=Ci(o,r);w&&a.push(w)}if(n.length>0){const w=Ci(o,n[s].name);w&&a.push(w)}const c=Y2(o,a),l=Yh(c,n.map(w=>w.name)),f=KF(c,l);return f.rows.map(w=>{const u=Ov(w,f.columns),j=u.map(T=>T.displayValue),S=u.map(T=>{var W;return(W=T.rawValue)!=null?W:T.displayValue}),b=u.map(T=>{var W;return(W=T==null?void 0:T.compareValue)==null?void 0:W.value});return{key:S.join(","),xValues:j,rawValues:S,compareValues:b}})},XIt=(t,e,n,r,i)=>{const o=Yh(t,r),a=i.reduce((l,f)=>(l[f.name]=f,l),{});if(o.length===0)return{type:"cartesian",series:[],xValues:[]};const s=q2(t.rows,n),c=o.map(l=>{let f=e.map(u=>{var j;const S=s[u.key],b=S?S[0]:[],T=xo(b,l),{color:W,rawValue:G}=(j=b[l.index])!=null?j:{};return zt({rawValue:G,xValue:u.rawValues,xDisplayValue:u.xValues,xCompareValue:u.compareValues,value:T===void 0?NaN:T,blur:nx(b,l)},W&&{color:W})});const w=a[l.name].color;return w&&(f=LIt(f,w)),{name:l.name,title:ps(a[l.name]),data:f}});return{xValues:e,series:c}},ZIt=(t,e,n)=>Ov(t,e).map((r,i)=>{const o=Yr(n[i].numberFormatConfig);return hi(e[i].type)?ni(o,parseFloat(r.displayValue)):r.displayValue}).join(","),JIt=(t,e)=>Ov(t,e).map(({rawValue:n})=>n),KIt=(t,e,n,r,i,o)=>{const a=Ci(t,r);if(!a)return{type:"cartesian",series:[],xValues:[]};const s=G2(t.rows,i).map(c=>{const l=c[0];return{seriesName:ZIt(l,i,o),seriesValues:JIt(l,i),rowsByXColumns:q2(c,n)}}).map(c=>{const l=e.map(f=>{var w;const u=c.rowsByXColumns[f.key],j=u?u[0]:[],S=xo(j,a),{color:b,rawValue:T}=(w=j[a.index])!=null?w:{};return zt({rawValue:T,value:S===void 0?NaN:S,xValue:f.rawValues,xDisplayValue:f.xValues,xCompareValue:f.compareValues,blur:nx(j,a)},b&&{color:b})});return{name:c.seriesName,data:l,custom:{rawValue:c.seriesValues}}});return{xValues:e,series:s}},QIt=(t,e)=>{const n=ne(zt({},t),{x:t.breakBy,breakBy:[]});let r=Mx(n,e);if(t.breakBy.some(i=>hi(i.type)&&(i==null?void 0:i.numberFormatConfig))){const i=r.xValues.map(o=>{const a=[];return t.breakBy.forEach((s,c)=>{const l=Yr(s==null?void 0:s.numberFormatConfig),f=o.xValues[c];hi(s.type)?a.push(ni(l,parseFloat(f))):a.push(o.xValues[c])}),ne(zt({},o),{xValues:a})});r=ne(zt({},r),{xValues:i})}return ne(zt({},r),{type:"categorical"})},t3t={displayValue:"0"},Hv=(t,e)=>{if(e){for(let n=0;n<t.columns.length;n++)if(t.columns[n].name===e.name)return n}return-1},e3t=(t,e)=>({x:Hv(e,t.x),y:Hv(e,t.y),breakByPoint:Hv(e,t.breakByPoint),breakByColor:Hv(e,t.breakByColor),size:Hv(e,t.size)}),S8=(t,e)=>e[t]||t3t,n3t=(t,e)=>{const n=new Set;return t.forEach(r=>{n.add(r[e].displayValue)}),Array.from(n.values())},C8=(t,e,n)=>{if(n&&_u(n))return n3t(t,e)},k8=(t,e)=>[t,e],r3t=(t,e)=>{const n=new Map(t==null?void 0:t.map(k8)),r=new Map(e==null?void 0:e.map(k8));return{xCategoriesMap:n,yCategoriesMap:r}},i3t=(t,e)=>{var n,r;const i=e3t(t,e),o=t!=null&&t.breakByPoint&&hi(t.breakByPoint.type)?Yr((n=t.breakByPoint)==null?void 0:n.numberFormatConfig):void 0,a=t!=null&&t.breakByColor&&(!_u(t.breakByColor)||hi(t.breakByColor.type))?Yr((r=t.breakByColor)==null?void 0:r.numberFormatConfig):void 0;return e.rows.map(s=>{const c=zt({},s[i.breakByPoint]);o&&(c.displayValue=ni(o,c.compareValue?c.compareValue.value:parseFloat(c.displayValue)));const l=zt({},s[i.breakByColor]);return a&&(l.displayValue=ni(a,l.compareValue?l.compareValue.value:parseFloat(l.displayValue))),{xAxis:S8(i.x,s),yAxis:S8(i.y,s),breakByPoint:c,breakByColor:l,size:s[i.size]}})},o3t=(t,e)=>{const n=i3t(t,e),{x:r,y:i}=t,o=C8(n,"xAxis",r),a=C8(n,"yAxis",i);return{type:"scatter",scatterDataTable:n,xCategories:o,yCategories:a}},Tx=(t,e)=>{if(!e||e.length!==1)return[void 0,void 0];const n=Ci(t,e[0].name);return n?[xo(t.rows[0],n),e[0].name]:[void 0,void 0]},a3t=(t,e)=>{const n={type:"indicator"};if(!t.value||e.rows.length===0)return n;const[r]=Tx(e,t.value);if(r===void 0)return n;const[i]=Tx(e,t.secondary),[o]=Tx(e,t.min),[a]=Tx(e,t.max);return{type:"indicator",value:r,secondary:i,min:o,max:a}},s3t=(t,e)=>{const n=t.category&&Ci(e,t.category.name);n&&(n.direction=w8(t.category.sortType));const r=_8(e,[],n?[n]:[],(n==null?void 0:n.direction)===0?Uf:void 0),i=q2(e.rows,n?[n]:[]),o=Ci(e,t.boxMin.name),a=Ci(e,t.boxMedian.name),s=Ci(e,t.boxMax.name),c=Ci(e,t.whiskerMin.name),l=Ci(e,t.whiskerMax.name),f=t.outliers&&Ci(e,t.outliers.name),w=[],u=[];r.forEach((S,b)=>{const T=i[S.key],W=T?T[0]:[],G=n&&nx(W,n);w.push({q1:o?xo(W,o):0,median:a?xo(W,a):0,q3:s?xo(W,s):0,low:c?xo(W,c):0,high:l?xo(W,l):0,blur:G});const Y=f?W[f.index].rawValue.split(",").map(U=>parseFloat(U)):[];u.push(...Y.map(U=>({x:b,y:U,blur:G})))});const j=[{name:t.valueTitle,title:t.valueTitle,data:w}];return u.length>0&&j.push({name:t.valueTitle,title:t.valueTitle,data:u}),{type:"boxplot",xValues:r,series:j}},fs=(t,e)=>{var n;const r=t==null?void 0:t.filter(i=>i);return(n=r&&r[e%r.length])!=null?n:ULt[e%10]},l3t=(t,e)=>{let n={type:"range",steps:t.steps};if(t.rangeMode!=="auto"){const a=parseFloat(`${t.minvalue}`),s=parseFloat(`${t.midvalue}`),c=parseFloat(`${t.maxvalue}`);n=zt(zt(zt(zt({},n),a&&{minValue:a}),s&&{midValue:s}),c&&{maxValue:c})}const r=fs(e,0),i=Bv(r,.2),o=Bv(r,-.2);switch(t.rangeMode){case"auto":return ne(zt({},n),{minColor:p8(r),maxColor:o});case"both":return ne(zt({},n),{minColor:t.min||i,maxColor:t.max||o});case"min":return ne(zt({},n),{minColor:t.min||i,maxColor:Pv});case"max":return ne(zt({},n),{minColor:Pv,maxColor:t.max||o})}},M8=(t,e)=>{if(t!==void 0)switch(t.type){case"color":return{type:"uniform",color:t.color||fs(e,t.colorIndex||0)};case"range":return l3t(t,e);case"condition":return{type:"conditional",conditions:t.conditions.filter(n=>typeof n.expression=="string"),defaultColor:fs(e,0)};default:return K2(fs(e,0))}},Ax=t=>Object.entries(t).reduce((e,[n,{color:r}])=>(e[n]=r,e),{}),c3t=t=>t.reduce((e,n)=>{var r,i;return(r=n.format)!=null&&r.members&&(e[e1(n.jaql.title)]=Ax((i=n.format)==null?void 0:i.members)),e},{}),u3t=Cx({getValueFromDataStructure:t=>t.originalValue,applyColorToDataStructure:(t,e)=>ne(zt({},t),{color:e})}),d3t=M8({type:"range",steps:5,rangeMode:"auto"}),h3t=(t,e)=>{const n=Ci(e,t.geo.name),r=Ci(e,t.color.name);if(!n||!r)throw new Error("Missing required column");const i=e.rows.map(o=>{const a=xo(o,r),s=Yr(t.color.numberFormatConfig),c=ni(s,a);return{geoName:xo(o,n),originalValue:a,formattedOriginalValue:c}});return{type:"areamap",geoData:u3t(i,t.color.color||d3t)}};function p3t(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}var f3t=p3t,g3t=f3t;function m3t(t,e,n){var r=t.length;return n=n===void 0?r:n,!e&&n>=r?t:g3t(t,e,n)}var v3t=m3t;function y3t(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}var b3t=y3t;function x3t(t){return t!==t}var w3t=x3t;function _3t(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}var S3t=_3t,C3t=b3t,k3t=w3t,M3t=S3t;function T3t(t,e,n){return e===e?M3t(t,e,n):C3t(t,k3t,n)}var vA=T3t,A3t=vA;function E3t(t,e){for(var n=t.length;n--&&A3t(e,t[n],0)>-1;);return n}var O3t=E3t,P3t=vA;function D3t(t,e){for(var n=-1,r=t.length;++n<r&&P3t(e,t[n],0)>-1;);return n}var L3t=D3t;function N3t(t){return t.split("")}var I3t=N3t,R3t="\\ud800-\\udfff",j3t="\\u0300-\\u036f",$3t="\\ufe20-\\ufe2f",z3t="\\u20d0-\\u20ff",B3t=j3t+$3t+z3t,F3t="\\ufe0e\\ufe0f",H3t="\\u200d",W3t=RegExp("["+H3t+R3t+B3t+F3t+"]");function V3t(t){return W3t.test(t)}var U3t=V3t,T8="\\ud800-\\udfff",G3t="\\u0300-\\u036f",Y3t="\\ufe20-\\ufe2f",q3t="\\u20d0-\\u20ff",X3t=G3t+Y3t+q3t,Z3t="\\ufe0e\\ufe0f",J3t="["+T8+"]",yA="["+X3t+"]",bA="\\ud83c[\\udffb-\\udfff]",K3t="(?:"+yA+"|"+bA+")",A8="[^"+T8+"]",E8="(?:\\ud83c[\\udde6-\\uddff]){2}",O8="[\\ud800-\\udbff][\\udc00-\\udfff]",Q3t="\\u200d",P8=K3t+"?",D8="["+Z3t+"]?",t5t="(?:"+Q3t+"(?:"+[A8,E8,O8].join("|")+")"+D8+P8+")*",e5t=D8+P8+t5t,n5t="(?:"+[A8+yA+"?",yA,E8,O8,J3t].join("|")+")",r5t=RegExp(bA+"(?="+bA+")|"+n5t+e5t,"g");function i5t(t){return t.match(r5t)||[]}var o5t=i5t,a5t=I3t,s5t=U3t,l5t=o5t;function c5t(t){return s5t(t)?l5t(t):a5t(t)}var u5t=c5t,d5t=PB,h5t=D6,p5t=v3t,f5t=O3t,g5t=L3t,L8=u5t,m5t=sT;function v5t(t,e,n){if(t=m5t(t),t&&(n||e===void 0))return h5t(t);if(!t||!(e=d5t(e)))return t;var r=L8(t),i=L8(e),o=g5t(r,i),a=f5t(r,i)+1;return p5t(r,o,a).join("")}var y5t=v5t;const b5t=An(y5t),N8=",";function x5t(t){return t.join(`${N8} `)}function w5t(t){return t.split(N8).map(b5t)}function _5t(t){switch(t){case"city":return"city";case"state":return"adm";case"country":return"country"}}function S5t(t){const{name:e,rawName:n,coordinates:r,value:i}=t;return{categories:n,displayName:e,coordinates:{lat:r.lat,lng:r.lng},value:i}}const C5t="N\\A",k5t=1,M5t=(t,e)=>{const n=T5t(t),r=t.locations&&Yh(e,t.locations.map(({name:s})=>s)),i=t.size&&Ci(e,t.size.name),o=t.colorBy&&Ci(e,t.colorBy.name),a=t.details&&Ci(e,t.details.name);return{type:"scattermap",locations:e.rows.filter(s=>r.some(c=>xo(s,c)!==C5t)).map(s=>{const c=r.map(u=>xo(s,u)),l=x5t(c);let f;n&&(f={lat:xo(s,r[0]),lng:xo(s,r[1])});const w=r[0]&&nx(s,r[0]);return zt(ne(zt(zt({name:l,rawName:c,value:i?xo(s,i):k5t},o&&{colorValue:xo(s,o)}),a&&{details:xo(s,a)}),{blur:w}),f?{coordinates:f}:null)})}};function T5t(t){return t.locations.length===2&&t.locations.filter(e=>hi(e.type)).length===2}const A5t=(t,e)=>{const n=()=>ne(zt({},t),{y:[]}),r=n(),i=n(),o=1,a=0;t.rangeValues.forEach(l=>{const f=l[o],w=l[a];r.y.push(f),i.y.push(w)});const s=Mx(r,e),c=Mx(i,e);return ne(zt({},s),{type:"range",seriesOther:c})},E5t=(t,e,n)=>{if(Su(t))return Mx(e,n);if(Gf(t))return QIt(e,n);if(Wh(t))return o3t(e,n);if(Vh(t))return M5t(e,n);if(Ev(t))return a3t(e,n);if(Uh(t))return s3t(e,n);if(Gh(t))return h3t(e,n);if(ex(t))return A5t(e,n);throw new Error(`Unexpected chart type: ${t}`)};var O5t=x1,P5t=xF,D5t=_F;function L5t(t,e){return D5t(P5t(t,e,O5t),t+"")}var Ex=L5t,N5t=vA;function I5t(t,e){var n=t==null?0:t.length;return!!n&&N5t(t,e,0)>-1}var R5t=I5t;function j5t(t,e,n){for(var r=-1,i=t==null?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}var $5t=j5t,xA=lB,z5t=CF,B5t=XM,F5t=1/0,H5t=xA&&1/B5t(new xA([,-0]))[1]==F5t?function(t){return new xA(t)}:z5t,W5t=H5t,V5t=Zz,U5t=R5t,G5t=$5t,Y5t=Jz,q5t=W5t,X5t=XM,Z5t=200;function J5t(t,e,n){var r=-1,i=U5t,o=t.length,a=!0,s=[],c=s;if(n)a=!1,i=G5t;else if(o>=Z5t){var l=e?null:q5t(t);if(l)return X5t(l);a=!1,i=Y5t,c=new V5t}else c=e?[]:s;t:for(;++r<o;){var f=t[r],w=e?e(f):f;if(f=n||f!==0?f:0,a&&w===w){for(var u=c.length;u--;)if(c[u]===w)continue t;e&&c.push(w),s.push(f)}else i(c,w,n)||(c!==s&&c.push(w),s.push(f))}return s}var I8=J5t,K5t=Rh,Q5t=us;function tRt(t){return Q5t(t)&&K5t(t)}var R8=tRt,eRt=vF,nRt=Ex,rRt=I8,iRt=R8,oRt=nRt(function(t){return rRt(eRt(t,1,iRt,!0))}),aRt=oRt;const sRt=An(aRt),j8=(t,e,n,r={})=>{if(rx(t))return{rows:[],columns:[]};const i=sRt(Yh(t,e.map(l=>l.name))),o=t,a=[...n.map(l=>{var f,w;return{column:(f=r[l.name])!=null?f:l.name,title:l.name,agg:(w=l.aggregation)!=null?w:"sum"}}),{column:Uf,title:Uf,agg:"min"}],s=JF(o,i,a),c=Ci(s,Uf);if(!c)throw new Error("Unexpected data has no row num column");return Y2(s,[c])};let Wv=class{degToRad(e){return e*Math.PI/180}getFitStringMeasure(e,n,r,i){e.font=i;let o=this.getStringWidth(e,n);const a="…",s=this.getStringWidth(e,a);if(o<=r)return{string:n,width:o};if(s>=r)return{string:a,width:s};do n=n.slice(0,n.length-1),o=this.getStringWidth(e,n);while(o+s>r);return{string:n+a,width:o+s}}getStringWidth(e,n){return Math.ceil(e.measureText(n).width)}floor(e,n){n=typeof n=="number"?n:0;const r=Math.pow(10,n);return Math.round(e*r)/r}setCanvasSizes(e,n,r,i){const o=window.devicePixelRatio||1;e.width=r*o,e.height=i*o,e.style.width=r+"px",e.style.height=i+"px",n.scale(o,o)}};const Zf=new Wv,Zh=function(t,e){return Zf.floor(t*e.value,e.decimals)};function lRt(t,e){const n={};return t.forEach(r=>{e.some(function(i){return i.key===r?(n[r]=i,!0):!1})}),n}function cRt(t,e,n){const{showTitle:r,showSecondary:i,skin:o,maxHeight:a,maxWidth:s,borderWidth:c}=n;for(let l=0;l<e.length;l++){const f=e[l],w=f.value,u=Zh(w,t.valueSectionMarginBottom),j=Zh(w,t.indicatorVerticalMargin)*2;let S=w+u+j;if(r&&o==="vertical"){const b=Zh(w,t.titleSectionHeight);S+=b}if(i){const b=Zh(w,t.secSectionHeight),T=Zh(w,t.secSectionMarginTop);S+=b+T+(c||0)}if(S<=a){const b=Zh(w,t.numericMinWidth),T=Zh(w,t.indicatorHorizontalMargin)*2;if(b+T<=s)return ne(zt({},f),{maxWidth:s-T,maxHeight:a-j})}}return null}let uRt=class{getBaseMeasure(e,n,r){const i=n,o="sizes"in i?i.sizes:[],a=i.relativeSizes,s=i.measureKeys.concat(),c=Math.floor(r.clientWidth),l=Math.floor(r.clientHeight),f=lRt(s,a);return cRt(f,o,{maxWidth:c,maxHeight:l,showTitle:e.showTitle,showSecondary:e.showSecondary,skin:e.skin,borderWidth:"borderWidth"in i?i.borderWidth:0})}render(e,n,r,i){const o=e.getContext("2d");let a;r.height=i.value,r.maxWidth=i.maxWidth,r.maxHeight=i.maxHeight,a=r.height,r.fitValueMeasure=this.getFitValueMeasure(o,n,r),n.showTitle&&(r.fitTitleMeasure=this.getFitTitleMeasure(o,n,r),a+=n.skin==="vertical"?r.titleSectionHeight:0),n.showSecondary&&(r.fitSecondaryMeasure=this.getFitSecondaryMeasure(o,n,r),a+=r.valueSectionMarginBottom+r.secSectionHeight+r.secSectionMarginTop+r.borderWidth);const s=this.getCanvasWidth(n,r);r.width=s,r.height=a,Zf.setCanvasSizes(e,o,s,a),this.draw(o,n,r)}getFitTitleMeasure(e,n,r){const i=n.skin==="horizontal",o=r.maxWidth-(i?r.fitValueMeasure.width+r.valueSectionMarginRight:0);if(i&&o+r.titleSectionMinWidth<=0)return;const a=Zf.getFitStringMeasure(e,n.title.text,o,r.titleFont);return a.width+=i?r.valueSectionMarginRight:0,a.key="title",a}getFitValueMeasure(e,n,r){const i=Zf.getFitStringMeasure(e,n.value.text,r.maxWidth,r.valueFont);return i.key="value",i}getFitSecondaryMeasure(e,n,r){const i=r.secDividerWidth,o=r.maxWidth-i,a=o-r.secTitleMinWidth,s=Zf.getFitStringMeasure(e,n.secondary.text,a,r.secondaryValueFont),c=o-s.width,l=Zf.getFitStringMeasure(e,n.secondaryTitle.text,c,r.secondaryTitleFont);return{width:l.width+s.width+i,titleString:l.string,valueString:s.string,key:"secondary"}}getCanvasWidth(e,n){let r;const i=n.fitTitleMeasure,o=n.fitValueMeasure,a=n.fitSecondaryMeasure;if(n.fitMeasures.some(s=>{const c=n[s.key],l=e[s.dataKey];return!!(c&&l&&c[s.prop]!==l.text)}))return n.maxWidth;if(e.skin==="vertical"){let s=i&&i.width>o.width?i:o;s=a&&a.width>s.width?a:s,r=s.width}else r=o.width,i&&(r+=i.width),a&&a.width>r&&(r=a.width);return r}draw(e,n,r){this.clearCanvas(e,r),this.drawValue(e,n,r),n.showTitle&&this.drawTitle(e,n,r),n.showSecondary&&this.drawSecondary(e,r)}clearCanvas(e,n){e.fillStyle=n.backgroundColor,e.fillRect(0,0,n.width,n.height)}drawTitle(e,n,r){!r.fitTitleMeasure||n.skin==="horizontal"&&r.fitValueMeasure.string!==n[r.fitValueMeasure.key].text||(e.font=r.titleFont,e.fillStyle=r.titleColor,n.skin==="vertical"?(e.textAlign="center",e.textBaseline="middle",e.fillText(r.fitTitleMeasure.string,r.width/2,r.titleSectionHeight/2)):(e.textAlign="left",e.textBaseline="top",e.fillText(r.fitTitleMeasure.string,r.fitValueMeasure.width+r.valueSectionMarginRight,r.titleSectionMarginTop)))}drawValue(e,n,r){const i=n.skin==="vertical";e.fillStyle=r.valueColor||n.color,e.font=r.valueFont,e.textAlign=i?"center":"left",e.textBaseline="middle",e.fillText(r.fitValueMeasure.string,i?r.width/2:0,(n.showTitle&&i?r.titleSectionHeight:0)+r.valueSectionHeight/2)}drawSecondary(e,n){let r=n.height-n.secSectionHeight/2;e.font=n.secondaryTitleFont,e.fillStyle=n.secondaryTitleColor,e.textAlign="left",e.textBaseline="middle",e.fillText(n.fitSecondaryMeasure.titleString,0,r),e.font=n.secondaryValueFont,e.fillStyle=n.secondaryValueColor,e.textAlign="right",e.fillText(n.fitSecondaryMeasure.valueString,n.width,r),e.strokeStyle=n.borderColor,e.beginPath(),r=n.height-n.secSectionHeight-n.secSectionMarginTop-n.borderWidth,e.moveTo(0,r),e.lineTo(n.width,r),e.stroke()}};const Jf=new Wv,Ox=function(t,e){return Jf.floor(t*e.value,e.decimals)};function dRt(t,e){const n={};return t.forEach(r=>{e.some(function(i){return i.key===r?(n[r]=i,!0):!1})}),n}function hRt(t,e,n){const{showTitle:r,showSecondary:i,maxHeight:o,maxWidth:a,bracketThickness:s}=n;for(let c=0;c<e.length;c++){const l=e[c],f=l.value,w=Ox(f,t.indicatorMargin);let u=f+w;if(r){const j=Ox(f,t.titleSectionHeight);u+=j}if(i){const j=Ox(f,t.secSectionHeight);u+=j}if(u<=o){const j=Ox(f,t.numericMinWidth),S=w*2;if(j+s*2+S<=a)return ne(zt({},l),{maxWidth:a-S,maxHeight:o-w})}}return null}let pRt=class{getBaseMeasure(e,n,r){const i=n,o="sizes"in i?i.sizes:[],a=i.relativeSizes,s=i.measureKeys.concat(),c=Math.floor(r.clientWidth),l=Math.floor(r.clientHeight),f=dRt(s,a);return hRt(f,o,{maxWidth:c,maxHeight:l,showTitle:e.showTitle,showSecondary:e.showSecondary,bracketThickness:i.bracketThickness})}render(e,n,r,i){const o=e.getContext("2d");let a;r.height=i.value,r.maxWidth=i.maxWidth,r.maxHeight=i.maxHeight,r.offsetY=0,a=r.height,n.showTitle&&(r.fitTitleMeasure=this.getFitTitleMeasure(o,n,r),a+=r.titleSectionHeight),r.fitValueMeasure=this.getFitValueMeasure(o,n,r),n.showSecondary&&(r.fitSecondaryMeasure=this.getFitSecondaryMeasure(o,n,r),a+=r.secSectionHeight);const s=this.getCanvasWidth(n,r);r.width=s,r.height=a,Jf.setCanvasSizes(e,o,s,a),this.draw(o,n,r)}getFitTitleMeasure(e,n,r){const i=r.bracketWidth*2+r.titleHorizontalMargin*2,o=r.maxWidth-i,a=Jf.getFitStringMeasure(e,n.title.text,o,r.titleFont);return a.width+=i,a.key="title",a}getFitValueMeasure(e,n,r){const i=r.bracketThickness*2,o=r.maxWidth-i,a=Jf.getFitStringMeasure(e,n.value.text,o,r.valueFont);return a.width+=i,a.key="value",a}getFitSecondaryMeasure(e,n,r){const i=r.bracketWidth*2+r.secDividerWidth,o=r.maxWidth-i,a=o-r.secTitleMinWidth,s=Jf.getFitStringMeasure(e,n.secondary.text,a,r.secondaryValueFont),c=o-s.width,l=Jf.getFitStringMeasure(e,n.secondaryTitle.text,c,r.secondaryTitleFont);return{width:l.width+s.width+i,titleString:l.string,valueString:s.string,key:"secondary"}}getCanvasWidth(e,n){let r=n.numericMinWidth+n.bracketThickness*2;const i=n.fitTitleMeasure,o=n.fitValueMeasure;let a=i&&i.width>o.width?i:o;const s=n.fitSecondaryMeasure,c=s&&s.width>a.width;let l;return a=c?s:a,c?l=a.titleString!==e.secondaryTitle.text||a.valueString!==e.secondary.text:l=a.string!==e[a.key].text,l?r=n.maxWidth:a.width>r&&(r=a.width),r}draw(e,n,r){this.clearCanvas(e,r),n.showTitle&&this.drawTitle(e,r),this.drawValue(e,n,r),n.showSecondary&&this.drawSecondary(e,r),(n.showTitle||n.showSecondary)&&this.drawBrackets(e,n,r)}clearCanvas(e,n){e.fillStyle=n.backgroundColor,e.fillRect(0,0,n.width,n.height)}drawTitle(e,n){e.font=n.titleFont,e.fillStyle=n.titleColor,e.textAlign="center",e.textBaseline="middle",e.fillText(n.fitTitleMeasure.string,n.width/2,n.titleSectionHeight/2),n.offsetY+=n.titleSectionHeight}drawValue(e,n,r){const i=r.offsetY;e.fillStyle=r.valueColor,e.fillRect(1,i,r.width-r.bracketThickness*2,r.valueSectionHeight),e.font=r.valueFont,e.fillStyle="white",e.textAlign="center",e.textBaseline="middle",e.fillText(r.fitValueMeasure.string,r.width/2,i+r.valueSectionHeight/2)}drawSecondary(e,n){const r=n.height-n.secBottomMargin;e.font=n.secondaryTitleFont,e.fillStyle=n.secondaryTitleColor,e.textAlign="left",e.textBaseline="bottom",e.fillText(n.fitSecondaryMeasure.titleString,n.bracketWidth,r),e.font=n.secondaryValueFont,e.fillStyle=n.secondaryValueColor,e.textAlign="right",e.textBaseline="bottom",e.fillText(n.fitSecondaryMeasure.valueString,n.width-n.bracketWidth,r)}drawBrackets(e,n,r){e.strokeStyle=r.bracketColor,e.beginPath(),n.showTitle?(e.moveTo(r.bracketWidth+.5,.5),e.lineTo(.5,.5)):e.moveTo(.5,.5),e.lineTo(.5,r.height-.5),n.showSecondary&&e.lineTo(r.bracketWidth+.5,r.height-.5),e.stroke(),n.showTitle?(e.moveTo(r.width-(r.bracketWidth+.5),.5),e.lineTo(r.width-.5,.5)):e.moveTo(r.width-.5,.5),e.lineTo(r.width-.5,r.height-.5),n.showSecondary&&e.lineTo(r.width-(r.bracketWidth+.5),r.height-.5),e.stroke(),e.closePath()}};const pi=new Wv,Kf=function(t,e){return pi.floor(t*e.value,e.decimals)};function fRt(t,e){const n={};return t.forEach(r=>{e.some(function(i){return i.key===r?(n[r]=i,!0):!1})}),n}function gRt(t,e,n){const{maxWidth:r,maxHeight:i,showTitle:o,showSecondary:a}=n;for(let s=0;s<e.length;s++){const c=e[s],l=c.value,f=Kf(l,t.valueSectionHeight),w=Kf(l,t.indicatorMargin),u=Math.ceil(w*1.5);let j=l+f+u;if(o){const S=Kf(l,t.titleSectionHeight);j+=S}if(a){const S=Kf(l,t.secSectionHeight);j+=S}if(j<=i){const S=Kf(l,t.gaugeWidth),b=Kf(l,t.bracketWidth),T=w*2;if(S+b*2+T<=r)return ne(zt({},c),{maxWidth:r-T,maxHeight:i-u})}}return null}let mRt=class{getBaseMeasure(e,n,r){const i=n,o="gaugeHeights"in i?i.gaugeHeights:void 0;if(!o)return null;const a=i.relativeSizes,s=i.measureKeys.concat(),c=Math.floor(r.clientWidth),l=Math.floor(r.clientHeight),f=fRt(s,a);return gRt(f,o,{maxWidth:c,maxHeight:l,showTitle:e.showTitle,showSecondary:e.showSecondary})}render(e,n,r,i){const o=e.getContext("2d");let a=0,s;r.gaugeHeight=i.value,r.size=i.size,r.maxWidth=i.maxWidth,r.maxHeight=i.maxHeight,r.offsetY=0,s=r.gaugeHeight+r.valueSectionHeight,n.showTitle&&(r.fitTitleMeasure=this.getFitTitleMeasure(o,n,r),s+=r.titleSectionHeight),r.fitValueMeasure=this.getFitValueMeasure(o,n,r),n.showSecondary&&(r.fitSecondaryMeasure=this.getFitSecondaryMeasure(o,n,r),s+=r.secSectionHeight),a=this.getCanvasWidth(n,r),r.width=a,r.height=s,pi.setCanvasSizes(e,o,a,s),this.draw(o,n,r)}getFitTitleMeasure(e,n,r){const i=r.bracketWidth*2+r.titleHorizontalMargin*2,o=r.maxWidth-i,a=pi.getFitStringMeasure(e,n.title.text,o,r.titleFont);return a.width+=i,a.key="title",a}getFitValueMeasure(e,n,r){const i=r.bracketThickness*2,o=r.maxWidth-i,a=pi.getFitStringMeasure(e,n.value.text,o,r.valueFont);return a.width+=i,a.key="value",a}getFitSecondaryMeasure(e,n,r){const i=r.bracketWidth*2+r.secDividerWidth,o=r.maxWidth-i,a=o-r.secTitleMinWidth,s=pi.getFitStringMeasure(e,n.secondary.text,a,r.secondaryValueFont),c=o-s.width,l=pi.getFitStringMeasure(e,n.secondaryTitle.text,c,r.secondaryTitleFont);return{width:l.width+s.width+i,titleString:l.string,valueString:s.string,key:"secondary"}}getCanvasWidth(e,n){let r=n.gaugeWidth+n.bracketWidth*2;const i=n.fitTitleMeasure,o=n.fitValueMeasure;let a=i&&i.width>o.width?i:o;const s=n.fitSecondaryMeasure,c=s&&s.width>a.width;let l;return a=c?s:a,c?l=a.titleString!==e.secondaryTitle.text||a.valueString!==e.secondary.text:l=a.string!==e[a.key].text,l?r=n.maxWidth:a.width>r&&(r=a.width),r}draw(e,n,r){this.clearCanvas(e,r),n.showTitle&&this.drawTitle(e,r),this.drawGauge(e,n,r),this.drawValue(e,n,r),n.showSecondary&&this.drawSecondary(e,r),this.drawBrackets(e,n,r)}clearCanvas(e,n){e.fillStyle=n.backgroundColor,e.fillRect(0,0,n.width,n.height)}drawTitle(e,n){e.font=n.titleFont,e.fillStyle=n.titleColor,e.textAlign="center",e.textBaseline="middle",e.fillText(n.fitTitleMeasure.string,n.width/2,(n.titleSectionHeight-n.titleBottomMargin)/2),n.offsetY+=n.titleSectionHeight}drawGauge(e,n,r){r.gaugeCenterX=r.width/2,r.gaugeCenterY=r.offsetY+r.gaugeHeight-r.gaugeBottomMargin,r.needleAngle=this.getNeedleAngle(n,r),n.skin===2&&n.conditions&&n.conditions.length?this.drawConditionalDial(e,n,r):this.drawSimpleDial(e,n,r),n.showTicks&&r.size!=="micro"&&this.drawTicks(e,n,r),this.drawNeedle(e,r),n.showLabels&&r.size!=="micro"&&this.drawLabels(e,n,r),r.offsetY+=r.gaugeHeight}drawValue(e,n,r){e.fillStyle=r.valueColor,e.fillRect(1,r.offsetY,r.width-r.bracketThickness*2,r.valueSectionHeight),e.font=r.valueFont,e.fillStyle="white",e.textAlign="center",e.textBaseline="middle",e.fillText(r.fitValueMeasure.string,r.width/2,r.offsetY+r.valueSectionHeight/2)}drawSecondary(e,n){const r=n.height-n.secBottomMargin;e.font=n.secondaryTitleFont,e.fillStyle=n.secondaryTitleColor,e.textAlign="left",e.textBaseline="bottom",e.fillText(n.fitSecondaryMeasure.titleString,n.bracketWidth,r),e.font=n.secondaryValueFont,e.fillStyle=n.secondaryValueColor,e.textAlign="right",e.textBaseline="bottom",e.fillText(n.fitSecondaryMeasure.valueString,n.width-n.bracketWidth,r)}drawBrackets(e,n,r){const i=n.showTitle?(r.titleSectionHeight-r.titleBottomMargin)/2:0;e.strokeStyle=r.bracketColor,e.beginPath(),e.moveTo(r.bracketWidth+.5,i+.5),e.lineTo(.5,i+.5),e.lineTo(.5,r.height-.5),n.showSecondary&&e.lineTo(r.bracketWidth+.5,r.height-.5),e.stroke(),e.moveTo(r.width-(r.bracketWidth+.5),i+.5),e.lineTo(r.width-.5,i+.5),e.lineTo(r.width-.5,r.height-.5),n.showSecondary&&e.lineTo(r.width-(r.bracketWidth+.5),r.height-.5),e.stroke(),e.closePath()}getNeedleAngle(e,n){const r=+e.min.data,i=+e.max.data,o=+(e.value.data||0);return o<r?n.startAngle-n.overDegrees:o>i?n.endAngle+n.overDegrees:this.getAngle(n,o,r,i)}getAngle(e,n,r,i){const o=(e.endAngle-e.startAngle)/(i-r);return(n-r)*o+e.startAngle}drawConditionalDial(e,n,r){const i=n.conditions,o=+n.min.data,a=+n.max.data,s=pi.degToRad(r.startAngle+180),c=pi.degToRad(r.endAngle+180);let l;const f=w=>this.getAngle(r,w,o,a);for(this.drawArc(e,r,s,c,r.defaultDialColor),l=i.length-1;l>=0;l--){const w=i[l];let u=+w.data,j,S=NaN,b=NaN,T=NaN,W=NaN;const G=.25;switch(w.operator){case"<":if(u<=o)break;u=u>a?a:u,j=f(u),S=s,b=pi.degToRad(j+180);break;case">":if(u>=a)break;u=u<o?o:u,j=f(u),S=pi.degToRad(j+180),b=c;break;case"≤":if(u<o)break;u=u>a?a:u,j=f(u),S=s,b=pi.degToRad(j+(j+G<=r.endAngle?G:0)+180);break;case"≥":if(u>a)break;u=u<o?o:u,j=f(u),S=pi.degToRad(j-(j-G>=r.startAngle?G:0)+180),b=c;break;case"=":if(u<o||u>a)break;j=f(u),S=pi.degToRad(j-(j-G>=r.startAngle?G:0)+180),b=pi.degToRad(j+(j+G<=r.endAngle?G:0)+180);break;case"≠":if(u<o||u>a)S=s,b=c;else if(u===o||u===a){const Y=u===o;S=pi.degToRad(r.startAngle+(Y?G:0)+180),b=pi.degToRad(r.endAngle-(Y?0:G)+180)}else j=f(u),S=s,b=pi.degToRad(j-(j-G>=r.startAngle?G:0)+180),T=pi.degToRad(j+(j+G<=r.endAngle?G:0)+180),W=c}!isNaN(S)&&!isNaN(b)&&this.drawArc(e,r,S,b,w.color),!isNaN(T)&&!isNaN(W)&&this.drawArc(e,r,T,W,w.color)}}drawSimpleDial(e,n,r){const i=pi.degToRad(r.startAngle+180),o=pi.degToRad(r.needleAngle+180),a=pi.degToRad(r.endAngle+180);r.needleAngle>r.startAngle&&r.needleAngle<r.endAngle?(this.drawArc(e,r,i,o,r.valueColor),e.globalAlpha=r.gaugeOpacity,this.drawArc(e,r,o,a,r.valueColor)):(r.needleAngle<=r.startAngle&&(e.globalAlpha=r.gaugeOpacity),this.drawArc(e,r,i,a,r.valueColor)),e.globalAlpha=1}drawArc(e,n,r,i,o){e.fillStyle=o,e.beginPath(),e.arc(n.gaugeCenterX,n.gaugeCenterY,n.outerArcRadius,r,i),e.arc(n.gaugeCenterX,n.gaugeCenterY,n.innerArcRadius,i,r,!0),e.fill()}drawTicks(e,n,r){const i=r.startAngle,o=r.endAngle,a=r.tickDegreesIncrement,s=r.needleAngle;let c;for(c=i;c<=o;c+=a){const l=pi.degToRad(c),f=r.gaugeCenterX-r.lengthToTick*Math.cos(l),w=r.gaugeCenterY-r.lengthToTick*Math.sin(l),u=s<i,j=s>=c-a/2&&s<c+a/2,S=c===o&&s>=c;e.fillStyle=!u&&j||S?n.color:r.tickColor,e.beginPath(),e.arc(f,w,r.tickRadius,0,2*Math.PI),e.fill()}}drawNeedle(e,n){const r=pi.degToRad(n.needleAngle);e.fillStyle=n.needleColor,e.save(),e.translate(n.gaugeCenterX,n.gaugeCenterY),e.rotate(r),e.translate(-n.gaugeCenterX,-n.gaugeCenterY),e.beginPath(),e.arc(n.gaugeCenterX,n.gaugeCenterY,n.needleBaseRadius,.5*Math.PI,1.5*Math.PI,!0),e.lineTo(n.gaugeCenterX-n.needleLength,n.gaugeCenterY),e.fill(),e.restore()}drawLabels(e,n,r){e.font=r.labelFont,e.fillStyle=r.labelColor,e.textAlign="right",e.textBaseline="middle",e.fillText(n.min.text,r.gaugeCenterX-r.labelMargin,r.gaugeCenterY),e.textAlign="left",e.fillText(n.max.text,r.gaugeCenterX+r.labelMargin,r.gaugeCenterY)}};const _c=new Wv;let vRt=class{render(e,n,r,i){const o=e.getContext("2d"),a=Math.floor(i.clientWidth)-r.horizontalMargin*2,s=r.sectionMinWidth;let c=0,l=0,f=0,w=0,u=0,j=0,S=0,b=0,T;if(o.font=r.valueFont,T=_c.getStringWidth(o,n.value.text),r.offsetX=0,n.title.text+=":",n.secondaryTitle&&(n.secondaryTitle.text+=":"),n.showTitle&&(o.font=r.titleFont,j=_c.getStringWidth(o,n.value.text),u=_c.getStringWidth(o,n.title.text),l=u<s?u:s,T+=l+r.textPadding),n.showSecondary&&(o.font=r.secondaryValueFont,b=_c.getStringWidth(o,n.secondary.text),w=b<s?b:s,T+=w,o.font=r.secondaryTitleFont||"",S=_c.getStringWidth(o,n.secondaryTitle.text),f=S<s?S:s,T+=f+r.horizontalPadding*2+r.dividerWidth+r.textPadding),n.type==="gauge"){const G=r.horizontalPadding*2+r.dividerWidth;if(r.forceTickerView){const U=j+u+S+b+r.textPadding*4+G,$=a-G-U;r.barWidth=Math.max($,r.barWidth)}const Y=r.barWidth+G;T+=Y,r.showTickerBar=T<=a||!0,c+=r.showTickerBar?Y:0}c+=n.showTitle?r.textPadding:0,c+=n.showSecondary?r.horizontalPadding*2+r.dividerWidth+r.textPadding:0;const W=a-c-l-f-w;if(r.fitValueMeasure=_c.getFitStringMeasure(o,n.value.text,W,r.valueFont),c+=r.fitValueMeasure.width,n.showSecondary){const G=a-c-l-f;let Y;r.fitSecValueMeasure=_c.getFitStringMeasure(o,n.secondary.text,G,r.secondaryValueFont),c+=r.fitSecValueMeasure.width;const U=a-c,$=U/2;n.showTitle?u+S>U?u>$&&S>$?Y=$:S>$&&u<=$?Y=U-u:Y=S:Y=S:Y=U,r.fitSecTitleMeasure=_c.getFitStringMeasure(o,n.secondaryTitle.text,Y,r.secondaryTitleFont),c+=r.fitSecTitleMeasure.width}if(n.showTitle){const G=a-c;r.fitTitleMeasure=_c.getFitStringMeasure(o,n.title.text,G,r.titleFont),c+=r.fitTitleMeasure.width}r.width=c,_c.setCanvasSizes(e,o,c,r.height),this.draw(o,n,r)}draw(e,n,r){this.clearCanvas(e,r),n.type==="gauge"&&r.showTickerBar&&(this.drawTickerBar(e,n,r),this.drawDivider(e,r)),e.textBaseline="middle",n.showTitle&&this.drawTitle(e,r),this.drawValue(e,n,r),n.showSecondary&&(this.drawDivider(e,r),this.drawSecondary(e,r))}clearCanvas(e,n){e.fillStyle=n.backgroundColor,e.fillRect(0,0,n.width,n.height)}drawTickerBar(e,n,r){var i;const o=+n.min.data,a=+n.max.data,s=+(((i=n.value)==null?void 0:i.data)||0),c=Math.round((r.height-r.barHeight)/2);let l;if(e.fillStyle=r.valueColor,s<=o)e.globalAlpha=r.barOpacity,e.fillRect(r.offsetX,c,r.barWidth,r.barHeight),l=0;else if(s>=a)e.fillRect(r.offsetX,c,r.barWidth,r.barHeight),l=r.barWidth-r.tickerBarWidth;else{const f=(s-Math.abs(o))/(a-o),w=r.barWidth*f;e.fillRect(r.offsetX,c,w,r.barHeight),e.globalAlpha=r.barOpacity,e.fillRect(r.offsetX+w,c,r.barWidth-w,r.barHeight),w>r.barWidth-r.tickerBarWidth?l=r.barWidth-r.tickerBarWidth:w<r.tickerBarWidth?l=0:l=w-1}e.globalAlpha=1,e.fillStyle=r.barHandleColor,e.fillRect(r.offsetX+l,Math.round((r.height-r.tickerBarHeight)/2),r.tickerBarWidth,r.tickerBarHeight),r.offsetX+=r.barWidth}drawDivider(e,n){e.fillStyle=n.dividerColor,e.fillRect(n.offsetX+n.horizontalPadding,Math.round((n.height-n.dividerHeight)/2),n.dividerWidth,n.dividerHeight),n.offsetX+=n.horizontalPadding*2+n.dividerWidth}drawTitle(e,n){e.font=n.titleFont,e.fillStyle=n.titleColor,e.fillText(n.fitTitleMeasure.string,n.offsetX,Math.floor(n.height/2)),n.offsetX+=n.fitTitleMeasure.width+n.textPadding}drawValue(e,n,r){e.font=r.valueFont,e.fillStyle=r.valueColor||n.color,e.fillText(r.fitValueMeasure.string,r.offsetX,Math.floor(r.height/2)),r.offsetX+=r.fitValueMeasure.width}drawSecondary(e,n){e.font=n.secondaryTitleFont,e.fillStyle=n.secondaryTitleColor,e.fillText(n.fitSecTitleMeasure.string,n.offsetX,Math.floor(n.height/2)),n.offsetX+=n.fitSecTitleMeasure.width+n.textPadding,e.font=n.secondaryValueFont,e.fillStyle=n.secondaryValueColor,e.fillText(n.fitSecValueMeasure.string,n.offsetX,Math.floor(n.height/2))}};const $8={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"}]},yRt={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}]},bRt={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"]},xRt={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 wRt(t,e){const n=Ea(xRt);if(n.forceTickerView=e.forceTickerView,n.fontFamily=e.fontFamily,n.backgroundColor=e.backgroundColor,n.value.color=e.value.color,n.title.color=e.title.color,n.secondaryTitle.color=e.secondaryTitle.color,n.secondaryValue.color=e.secondaryTitle.color,e.tickerBarHeight){const r=e.tickerBarHeight;n.barHeight=r,n.tickerBarHeight=r+2}return n.forceTickerView&&(n.height=t.offsetHeight),n}const _Rt=new Wv,SRt=new uRt,CRt=new pRt,kRt=new mRt,MRt=new vRt;let TRt=class{getService(e){switch(e){case"numericSimple":return SRt;case"numericBar":return CRt;case"gauge":return kRt;case"ticker":return MRt}}render(e,n,r,i){let o=this.getService(n.type);const a="getBaseMeasure"in o?o.getBaseMeasure(n,r,i):void 0;if(!a||r.forceTickerView){o=this.getService("ticker");const s=wRt(e,r);this.setTextOptions(s),o.render(e,n,s,i);return}this.calculateRelativeSizes(n,r,a.value),this.setTextOptions(r,a.size),o.render(e,n,r,a)}calculateRelativeSizes(e,n,r){const{relativeSizes:i}=n;i.forEach(function(o){let a;if("dataKey"in o&&"values"in o&&o.dataKey in e)a=o.values[e[o.dataKey]];else if("value"in o)a=o.value;else throw new Error("Invalid relative size options");const s=a*r;n[o.key]=_Rt.floor(s,o.decimals)})}setTextOptions(e,n){e.textKeys.forEach(function(r){const i=e[r],o=i.fontStyle?`${i.fontStyle} `:"",a=i.fontVariant?`${i.fontVariant} `:"",s=i.fontWeight?`${i.fontWeight} `:"",c=`${Number.parseFloat(i.fontSizes&&i.fontSizes[n]||i.fontSize||e.fontSize)}px `,l=i.fontFamily||e.fontFamily,{color:f}=i;e[`${r}Font`]=o+a+s+c+l,e[`${r}Color`]=f})}};function z8(t){var e;const n=(e=t.value)==null?void 0:e[0];if(n&&"color"in n)return n.color}function ARt(t,e,n){if(!ERt(t))return n;const r=mA(t).getColor(e);return r?ne(zt({},n),{value:ne(zt({},n.value),{color:r})}):n}function ERt(t){return typeof t=="string"||t.type==="uniform"||t.type==="conditional"}var ORt=yu,PRt=us,DRt="[object Number]";function LRt(t){return typeof t=="number"||PRt(t)&&ORt(t)==DRt}var B8=LRt;const Qf=An(B8),NRt=(t,e)=>{const n=z8(e);return n&&t.value?mA(n).getColor(Qf(t.value)?t.value:0):null},IRt=(t,e,n)=>{var r,i,o,a,s,c,l,f,w,u,j,S;const b=Qf(t.min)?t.min:0,T=Qf(t.max)?t.max:100,W=Px(n,"value"),G=Px(n,"secondary"),Y=Px(n,"min"),U=Px(n,"max"),$=NRt(t,n),O=e.indicatorType==="gauge"?1:"vertical";return ne(zt(zt({},jRt),$?{color:$}:null),{type:RRt(e.indicatorType,"numericSubtype"in e?e.numericSubtype:void 0)||"numericSimple",skin:e.skin||O,title:{text:(o=(i=(r=e.indicatorComponents)==null?void 0:r.title)==null?void 0:i.text)!=null?o:""},min:{data:b,text:ni(Y,b)},max:{data:T,text:ni(U,T)},value:{data:t.value,text:F8(t.value,W)},secondary:{data:t.secondary,text:F8(t.secondary,G)},secondaryTitle:{text:(c=(s=(a=e.indicatorComponents)==null?void 0:a.secondaryTitle)==null?void 0:s.text)!=null?c:""},showSecondary:t.secondary!==void 0,showTitle:!!((f=(l=e.indicatorComponents)==null?void 0:l.title)!=null&&f.shouldBeShown),showLabels:!!((u=(w=e.indicatorComponents)==null?void 0:w.labels)!=null&&u.shouldBeShown),showTicks:!!((S=(j=e.indicatorComponents)==null?void 0:j.ticks)!=null&&S.shouldBeShown)})};function RRt(t,e){return t==="numeric"?e:t}function Px(t,e){var n;const r=(n=t[e])==null?void 0:n[0];return Yr(r&&"numberFormatConfig"in r?r.numberFormatConfig:{})}const jRt={color:"#00cee6",showSecondary:!1};function F8(t,e){return t===void 0?"":isNaN(t)?"#N/A":ni(e,t)}function $Rt(t,e,n){const r=Ea(n);for(const i in e){const o=e[i],a=zRt(t,o);a&&H8(r,i,a)}return r}function H8(t,e,n){const r=e.split(".");if(r.length===1)if(r[0]in t)t[r[0]]=n;else return;else{const[i,...o]=r;if(!(i in t))return;const a=t[i];if(!W8(a))return;H8(a,o.join("."),n)}}function zRt(t,e){const n=e.split(".");let r=t;for(const i of n){if(!W8(r)||!(i in r))return;r=r[i]}return r}function W8(t){return typeof t=="object"&&t!==null}function BRt(t,e,n){return $Rt(t,e,n)}const FRt={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"},HRt=(t,e)=>{const{chartData:n,dataOptions:r,themeSettings:i}=e,{type:o}=t;let a;switch(o){case"gauge":a=bRt;break;case"numeric":t.numericSubtype==="numericBar"?a=yRt:a=$8;break;default:a=$8}i&&(a=BRt(i,FRt,a));const s=z8(r);return s&&n.value&&Qf(n.value)&&(a=ARt(s,n.value,a)),zt(ne(zt({},a),{forceTickerView:t.forceTickerView}),t.type==="gauge"&&t.tickerBarHeight?{tickerBarHeight:t.tickerBarHeight}:null)};var WRt=m1;function VRt(t,e){return WRt(t,e)}var URt=VRt;const yd=An(URt);function V8(t){return typeof t=="string"}function GRt(t){var e;const n=Kn().themeSettings,[r,i]=ce(Av()),[o,a]=ce(null),s=(e=hr().app)==null?void 0:e.httpClient;return he(()=>{t&&(V8(t)?s&&uF(t,s).then(i).catch(a):i(t))},[t,s]),o?[null,o]:yd(n,r)?[n,null]:[di.withOptions({mergeArrays:!1},n,r),null]}const tg=Qn({componentName:"ThemeProvider",trackingConfig:{skip:t=>!!t.skipTracking,transparent:!0},shouldSkipSisenseContextWaiting:!0})(t=>{const{theme:e,children:n}=t,[r,i]=GRt(e);if(i)throw i;return yt(cn,{children:r&&yt(U2.Provider,{value:{themeSettings:r},children:n})})}),YRt=({chartData:t,dataOptions:e,designOptions:n})=>{var r;const i=Jt(null),o=Jt(null),{themeSettings:a}=Kn();return he(()=>{if(!o.current||!i.current)return;const s=new TRt,c=IRt(t,n,e),l=HRt({type:n.indicatorType,numericSubtype:"numericSubtype"in n?n.numericSubtype:void 0,forceTickerView:n.forceTickerView,tickerBarHeight:n.tickerBarHeight},{chartData:t,dataOptions:e,themeSettings:a});s.render(o.current,c,l,i.current)},[t,e,n,a]),yt("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:yt("canvas",{ref:o})})},qRt=t=>t.type==="indicator",XRt=t=>"min"in t,ZRt=t=>"indicatorComponents"in t,JRt=t=>!!t.chartData&&qRt(t.chartData)&&XRt(t.dataOptions)&&ZRt(t.designOptions);var wA={exports:{}};/* @preserve
20
+ You may have forgotten to import it.`);var r=e.__emotion_real===e,i=r&&e.__emotion_base||e,o,a;n!==void 0&&(o=n.label,a=n.target);var s=b6(e,n,r),c=s||y6(i),l=!c("as");return function(){var f=arguments,w=r&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(o!==void 0&&w.push("label:"+o+";"),f[0]==null||f[0].raw===void 0)w.push.apply(w,f);else{process.env.NODE_ENV!=="production"&&f[0][0]===void 0&&console.error(x6),w.push(f[0][0]);for(var u=f.length,j=1;j<u;j++)process.env.NODE_ENV!=="production"&&f[0][j]===void 0&&console.error(x6),w.push(f[j],f[0][j])}var S=W1(function(b,T,W){var G=l&&b.as||i,Y="",U=[],$=b;if(b.theme==null){$={};for(var O in b)$[O]=b[O];$.theme=Rn(yc)}typeof b.className=="string"?Y=PT(T.registered,U,b.className):b.className!=null&&(Y=b.className+" ");var D=Bf(w.concat(U),T.registered,$);Y+=T.key+"-"+D.name,a!==void 0&&(Y+=" "+a);var m=l&&s===void 0?y6(G):c,C={};for(var p in b)l&&p==="as"||m(p)&&(C[p]=b[p]);return C.className=Y,C.ref=W,Ye(cn,null,Ye(j_t,{cache:T,serialized:D,isStringTag:typeof G=="string"}),Ye(G,C))});return S.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",S.defaultProps=e.defaultProps,S.__emotion_real=S,S.__emotion_base=i,S.__emotion_styles=w,S.__emotion_forwardProp=s,Object.defineProperty(S,"toString",{value:function(){return a===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+a}}),S.withComponent=function(b,T){return t(b,Kt({},n,T,{shouldForwardProp:b6(S,T,!0)})).apply(void 0,w)},S}},z_t=["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"],wn=$_t.bind();z_t.forEach(function(t){wn[t]=wn(t)});function Bh(t){if(t===null||t===!0||t===!1)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function Ff(t){return Ff=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ff(t)}function bc(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function wv(t){bc(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||Ff(t)==="object"&&e==="[object Date]"?new Date(t.getTime()):typeof t=="number"||e==="[object Number]"?new Date(t):((typeof t=="string"||e==="[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 B_t(t,e){bc(2,arguments);var n=wv(t),r=Bh(e);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 F_t={};function H_t(){return F_t}function w6(t,e){var n,r,i,o,a,s,c,l;bc(1,arguments);var f=H_t(),w=Bh((n=(r=(i=(o=e==null?void 0:e.weekStartsOn)!==null&&o!==void 0?o:e==null||(a=e.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&r!==void 0?r:(c=f.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:0);if(!(w>=0&&w<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=wv(t),j=u.getUTCDay(),S=(j<w?7:0)+j-w;return u.setUTCDate(u.getUTCDate()-S),u.setUTCHours(0,0,0,0),u}var W_t={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"}},V_t=function(t,e,n){var r,i=W_t[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Un(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}var U_t={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},G_t={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Y_t={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},q_t={date:Un({formats:U_t,defaultWidth:"full"}),time:Un({formats:G_t,defaultWidth:"full"}),dateTime:Un({formats:Y_t,defaultWidth:"full"})},X_t={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Z_t=function(t,e,n,r){return X_t[t]};function Xe(t){return function(e,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,a=n!=null&&n.width?String(n.width):o;i=t.formattingValues[a]||t.formattingValues[o]}else{var s=t.defaultWidth,c=n!=null&&n.width?String(n.width):t.defaultWidth;i=t.values[c]||t.values[s]}var l=t.argumentCallback?t.argumentCallback(e):e;return i[l]}}var J_t={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},K_t={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Q_t={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"]},tSt={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"]},eSt={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"}},nSt={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"}},rSt=function(t,e){var n=Number(t),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"},iSt={ordinalNumber:rSt,era:Xe({values:J_t,defaultWidth:"wide"}),quarter:Xe({values:K_t,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:Q_t,defaultWidth:"wide"}),day:Xe({values:tSt,defaultWidth:"wide"}),dayPeriod:Xe({values:eSt,defaultWidth:"wide",formattingValues:nSt,defaultFormattingWidth:"wide"})};function Ze(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;var a=o[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(s)?aSt(s,function(w){return w.test(a)}):oSt(s,function(w){return w.test(a)}),l;l=t.valueCallback?t.valueCallback(c):c,l=n.valueCallback?n.valueCallback(l):l;var f=e.slice(a.length);return{value:l,rest:f}}}function oSt(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function aSt(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n}function Bs(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;var i=r[0],o=e.match(t.parsePattern);if(!o)return null;var a=t.valueCallback?t.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;var s=e.slice(i.length);return{value:a,rest:s}}}var sSt=/^(\d+)(th|st|nd|rd)?/i,lSt=/\d+/i,cSt={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},uSt={any:[/^b/i,/^(a|c)/i]},dSt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},hSt={any:[/1/i,/2/i,/3/i,/4/i]},pSt={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},fSt={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]},gSt={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},mSt={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]},vSt={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},ySt={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}},bSt={ordinalNumber:Bs({matchPattern:sSt,parsePattern:lSt,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:cSt,defaultMatchWidth:"wide",parsePatterns:uSt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:dSt,defaultMatchWidth:"wide",parsePatterns:hSt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:pSt,defaultMatchWidth:"wide",parsePatterns:fSt,defaultParseWidth:"any"}),day:Ze({matchPatterns:gSt,defaultMatchWidth:"wide",parsePatterns:mSt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:vSt,defaultMatchWidth:"any",parsePatterns:ySt,defaultParseWidth:"any"})},xSt={code:"en-US",formatDistance:V_t,formatLong:q_t,formatRelative:Z_t,localize:iSt,match:bSt,options:{weekStartsOn:0,firstWeekContainsDate:1}};function _6(t,e){bc(2,arguments);var n=Bh(e);return B_t(t,n*12)}var S6=6e4,C6=36e5;function _v(t,e){var n;bc(1,arguments);var r=Bh((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 t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var i=CSt(t),o;if(i.date){var a=kSt(i.date,r);o=MSt(a.restDateString,a.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var s=o.getTime(),c=0,l;if(i.time&&(c=TSt(i.time),isNaN(c)))return new Date(NaN);if(i.timezone){if(l=ASt(i.timezone),isNaN(l))return new Date(NaN)}else{var f=new Date(s+c),w=new Date(0);return w.setFullYear(f.getUTCFullYear(),f.getUTCMonth(),f.getUTCDate()),w.setHours(f.getUTCHours(),f.getUTCMinutes(),f.getUTCSeconds(),f.getUTCMilliseconds()),w}return new Date(s+c+l)}var V1={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},wSt=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,_St=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,SSt=/^([+-])(\d{2})(?::?(\d{2}))?$/;function CSt(t){var e={},n=t.split(V1.dateTimeDelimiter),r;if(n.length>2)return e;if(/:/.test(n[0])?r=n[0]:(e.date=n[0],r=n[1],V1.timeZoneDelimiter.test(e.date)&&(e.date=t.split(V1.timeZoneDelimiter)[0],r=t.substr(e.date.length,t.length))),r){var i=V1.timezone.exec(r);i?(e.time=r.replace(i[1],""),e.timezone=i[1]):e.time=r}return e}function kSt(t,e){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),r=t.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:t.slice((r[1]||r[2]).length)}}function MSt(t,e){if(e===null)return new Date(NaN);var n=t.match(wSt);if(!n)return new Date(NaN);var r=!!n[4],i=Sv(n[1]),o=Sv(n[2])-1,a=Sv(n[3]),s=Sv(n[4]),c=Sv(n[5])-1;if(r)return LSt(e,s,c)?ESt(e,s,c):new Date(NaN);var l=new Date(0);return!PSt(e,o,a)||!DSt(e,i)?new Date(NaN):(l.setUTCFullYear(e,o,Math.max(i,a)),l)}function Sv(t){return t?parseInt(t):1}function TSt(t){var e=t.match(_St);if(!e)return NaN;var n=jT(e[1]),r=jT(e[2]),i=jT(e[3]);return NSt(n,r,i)?n*C6+r*S6+i*1e3:NaN}function jT(t){return t&&parseFloat(t.replace(",","."))||0}function ASt(t){if(t==="Z")return 0;var e=t.match(SSt);if(!e)return 0;var n=e[1]==="+"?-1:1,r=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;return ISt(r,i)?n*(r*C6+i*S6):NaN}function ESt(t,e,n){var r=new Date(0);r.setUTCFullYear(t,0,4);var i=r.getUTCDay()||7,o=(e-1)*7+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}var OSt=[31,null,31,30,31,30,31,31,30,31,30,31];function k6(t){return t%400===0||t%4===0&&t%100!==0}function PSt(t,e,n){return e>=0&&e<=11&&n>=1&&n<=(OSt[e]||(k6(t)?29:28))}function DSt(t,e){return e>=1&&e<=(k6(t)?366:365)}function LSt(t,e,n){return e>=1&&e<=53&&n>=0&&n<=6}function NSt(t,e,n){return t===24?e===0&&n===0:n>=0&&n<60&&e>=0&&e<60&&t>=0&&t<25}function ISt(t,e){return e>=0&&e<=59}function M6(t,e){bc(2,arguments);var n=Bh(e);return _6(t,-n)}function RSt(t){bc(1,arguments);var e=wv(t),n=e.getFullYear(),r=e.getMonth(),i=new Date(0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.getDate()}function jSt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $T(t,e){return $T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},$T(t,e)}function $St(t,e){if(Ff(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(Ff(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function zSt(t){var e=$St(t,"string");return Ff(e)=="symbol"?e:e+""}function BSt(t,e,n){return e=zSt(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function FSt(t,e){bc(2,arguments);var n=wv(t),r=Bh(e),i=n.getFullYear(),o=n.getDate(),a=new Date(0);a.setFullYear(i,r,15),a.setHours(0,0,0,0);var s=RSt(a);return n.setMonth(r,Math.min(o,s)),n}function HSt(t,e){bc(2,arguments);var n=wv(t),r=Bh(e);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(r),n)}function Cv(t,e,n){bc(2,arguments);var r=w6(t,n),i=w6(e,n);return r.getTime()===i.getTime()}var T6={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"}}},WSt=function(t,e,n){var r,i=n!=null&&n.addSuffix?T6[t].withPreposition:T6[t].standalone;return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",String(e)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:"vor "+r:r},VSt={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},USt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},GSt={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},YSt={date:Un({formats:VSt,defaultWidth:"full"}),time:Un({formats:USt,defaultWidth:"full"}),dateTime:Un({formats:GSt,defaultWidth:"full"})},qSt={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},XSt=function(t,e,n,r){return qSt[t]},ZSt={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},JSt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},zT={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"]},KSt={narrow:zT.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:zT.wide},QSt={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"]},tCt={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"}},eCt={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"}},nCt=function(t){var e=Number(t);return e+"."},rCt={ordinalNumber:nCt,era:Xe({values:ZSt,defaultWidth:"wide"}),quarter:Xe({values:JSt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:zT,formattingValues:KSt,defaultWidth:"wide"}),day:Xe({values:QSt,defaultWidth:"wide"}),dayPeriod:Xe({values:tCt,defaultWidth:"wide",formattingValues:eCt,defaultFormattingWidth:"wide"})},iCt=/^(\d+)(\.)?/i,oCt=/\d+/i,aCt={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},sCt={any:[/^v/i,/^n/i]},lCt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},cCt={any:[/1/i,/2/i,/3/i,/4/i]},uCt={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},dCt={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]},hCt={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},pCt={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},fCt={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},gCt={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}},mCt={ordinalNumber:Bs({matchPattern:iCt,parsePattern:oCt,valueCallback:function(t){return parseInt(t)}}),era:Ze({matchPatterns:aCt,defaultMatchWidth:"wide",parsePatterns:sCt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:lCt,defaultMatchWidth:"wide",parsePatterns:cCt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:uCt,defaultMatchWidth:"wide",parsePatterns:dCt,defaultParseWidth:"any"}),day:Ze({matchPatterns:hCt,defaultMatchWidth:"wide",parsePatterns:pCt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:fCt,defaultMatchWidth:"wide",parsePatterns:gCt,defaultParseWidth:"any"})},vCt={code:"de",formatDistance:WSt,formatLong:YSt,formatRelative:XSt,localize:rCt,match:mCt,options:{weekStartsOn:1,firstWeekContainsDate:4}},yCt={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"}},bCt=function(t,e,n){var r,i=yCt[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"en "+r:"hace "+r:r},xCt={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},wCt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},_Ct={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},SCt={date:Un({formats:xCt,defaultWidth:"full"}),time:Un({formats:wCt,defaultWidth:"full"}),dateTime:Un({formats:_Ct,defaultWidth:"full"})},CCt={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"},kCt={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"},MCt=function(t,e,n,r){return e.getUTCHours()!==1?kCt[t]:CCt[t]},TCt={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},ACt={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},ECt={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"]},OCt={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"]},PCt={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"}},DCt={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"}},LCt=function(t,e){var n=Number(t);return n+"º"},NCt={ordinalNumber:LCt,era:Xe({values:TCt,defaultWidth:"wide"}),quarter:Xe({values:ACt,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Xe({values:ECt,defaultWidth:"wide"}),day:Xe({values:OCt,defaultWidth:"wide"}),dayPeriod:Xe({values:PCt,defaultWidth:"wide",formattingValues:DCt,defaultFormattingWidth:"wide"})},ICt=/^(\d+)(º)?/i,RCt=/\d+/i,jCt={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},$Ct={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]},zCt={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},BCt={any:[/1/i,/2/i,/3/i,/4/i]},FCt={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},HCt={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]},WCt={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},VCt={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]},UCt={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},GCt={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}},YCt={ordinalNumber:Bs({matchPattern:ICt,parsePattern:RCt,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:jCt,defaultMatchWidth:"wide",parsePatterns:$Ct,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:zCt,defaultMatchWidth:"wide",parsePatterns:BCt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:FCt,defaultMatchWidth:"wide",parsePatterns:HCt,defaultParseWidth:"any"}),day:Ze({matchPatterns:WCt,defaultMatchWidth:"wide",parsePatterns:VCt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:UCt,defaultMatchWidth:"any",parsePatterns:GCt,defaultParseWidth:"any"})},qCt={code:"es",formatDistance:bCt,formatLong:SCt,formatRelative:MCt,localize:NCt,match:YCt,options:{weekStartsOn:1,firstWeekContainsDate:1}},XCt={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"}},ZCt=function(t,e,n){var r,i=XCt[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",String(e)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"dans "+r:"il y a "+r:r},JCt={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},KCt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},QCt={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},tkt={date:Un({formats:JCt,defaultWidth:"full"}),time:Un({formats:KCt,defaultWidth:"full"}),dateTime:Un({formats:QCt,defaultWidth:"full"})},ekt={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},nkt=function(t,e,n,r){return ekt[t]},rkt={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},ikt={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"]},okt={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"]},akt={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"]},skt={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"}},lkt=function(t,e){var n=Number(t),r=e==null?void 0:e.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},ckt={ordinalNumber:lkt,era:Xe({values:rkt,defaultWidth:"wide"}),quarter:Xe({values:ikt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:okt,defaultWidth:"wide"}),day:Xe({values:akt,defaultWidth:"wide"}),dayPeriod:Xe({values:skt,defaultWidth:"wide"})},ukt=/^(\d+)(ième|ère|ème|er|e)?/i,dkt=/\d+/i,hkt={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},pkt={any:[/^av/i,/^ap/i]},fkt={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},gkt={any:[/1/i,/2/i,/3/i,/4/i]},mkt={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},vkt={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]},ykt={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},bkt={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]},xkt={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},wkt={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}},_kt={ordinalNumber:Bs({matchPattern:ukt,parsePattern:dkt,valueCallback:function(t){return parseInt(t)}}),era:Ze({matchPatterns:hkt,defaultMatchWidth:"wide",parsePatterns:pkt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:fkt,defaultMatchWidth:"wide",parsePatterns:gkt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:mkt,defaultMatchWidth:"wide",parsePatterns:vkt,defaultParseWidth:"any"}),day:Ze({matchPatterns:ykt,defaultMatchWidth:"wide",parsePatterns:bkt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:xkt,defaultMatchWidth:"any",parsePatterns:wkt,defaultParseWidth:"any"})},Skt={code:"fr",formatDistance:ZCt,formatLong:tkt,formatRelative:nkt,localize:ckt,match:_kt,options:{weekStartsOn:1,firstWeekContainsDate:4}},Ckt={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"}},kkt=function(t,e,n){var r,i=Ckt[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"tra "+r:r+" fa":r},Mkt={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},Tkt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Akt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Ekt={date:Un({formats:Mkt,defaultWidth:"full"}),time:Un({formats:Tkt,defaultWidth:"full"}),dateTime:Un({formats:Akt,defaultWidth:"full"})},BT=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function Okt(t){switch(t){case 0:return"'domenica scorsa alle' p";default:return"'"+BT[t]+" scorso alle' p"}}function A6(t){return"'"+BT[t]+" alle' p"}function Pkt(t){switch(t){case 0:return"'domenica prossima alle' p";default:return"'"+BT[t]+" prossimo alle' p"}}var Dkt={lastWeek:function(t,e,n){var r=t.getUTCDay();return Cv(t,e,n)?A6(r):Okt(r)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:function(t,e,n){var r=t.getUTCDay();return Cv(t,e,n)?A6(r):Pkt(r)},other:"P"},Lkt=function(t,e,n,r){var i=Dkt[t];return typeof i=="function"?i(e,n,r):i},Nkt={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},Ikt={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},Rkt={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"]},jkt={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"]},$kt={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"}},zkt={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"}},Bkt=function(t,e){var n=Number(t);return String(n)},Fkt={ordinalNumber:Bkt,era:Xe({values:Nkt,defaultWidth:"wide"}),quarter:Xe({values:Ikt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:Rkt,defaultWidth:"wide"}),day:Xe({values:jkt,defaultWidth:"wide"}),dayPeriod:Xe({values:$kt,defaultWidth:"wide",formattingValues:zkt,defaultFormattingWidth:"wide"})},Hkt=/^(\d+)(º)?/i,Wkt=/\d+/i,Vkt={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},Ukt={any:[/^a/i,/^(d|e)/i]},Gkt={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},Ykt={any:[/1/i,/2/i,/3/i,/4/i]},qkt={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},Xkt={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]},Zkt={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},Jkt={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]},Kkt={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},Qkt={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}},tMt={ordinalNumber:Bs({matchPattern:Hkt,parsePattern:Wkt,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:Vkt,defaultMatchWidth:"wide",parsePatterns:Ukt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:Gkt,defaultMatchWidth:"wide",parsePatterns:Ykt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:qkt,defaultMatchWidth:"wide",parsePatterns:Xkt,defaultParseWidth:"any"}),day:Ze({matchPatterns:Zkt,defaultMatchWidth:"wide",parsePatterns:Jkt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:Kkt,defaultMatchWidth:"any",parsePatterns:Qkt,defaultParseWidth:"any"})},eMt={code:"it",formatDistance:kkt,formatLong:Ekt,formatRelative:Lkt,localize:Fkt,match:tMt,options:{weekStartsOn:1,firstWeekContainsDate:4}},nMt={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}}年近く"}},rMt=function(t,e,n){n=n||{};var r,i=nMt[t];return typeof i=="string"?r=i:e===1?n.addSuffix&&i.oneWithSuffix?r=i.oneWithSuffix:r=i.one:n.addSuffix&&i.otherWithSuffix?r=i.otherWithSuffix.replace("{{count}}",String(e)):r=i.other.replace("{{count}}",String(e)),n.addSuffix?n.comparison&&n.comparison>0?r+"後":r+"前":r},iMt={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},oMt={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},aMt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},sMt={date:Un({formats:iMt,defaultWidth:"full"}),time:Un({formats:oMt,defaultWidth:"full"}),dateTime:Un({formats:aMt,defaultWidth:"full"})},lMt={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},cMt=function(t,e,n,r){return lMt[t]},uMt={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},dMt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},hMt={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月"]},pMt={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},fMt={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:"深夜"}},gMt={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:"深夜"}},mMt=function(t,e){var n=Number(t),r=String(e==null?void 0:e.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)}},vMt={ordinalNumber:mMt,era:Xe({values:uMt,defaultWidth:"wide"}),quarter:Xe({values:dMt,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Xe({values:hMt,defaultWidth:"wide"}),day:Xe({values:pMt,defaultWidth:"wide"}),dayPeriod:Xe({values:fMt,defaultWidth:"wide",formattingValues:gMt,defaultFormattingWidth:"wide"})},yMt=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,bMt=/\d+/i,xMt={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},wMt={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},_Mt={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},SMt={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},CMt={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},kMt={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},MMt={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},TMt={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},AMt={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},EMt={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},OMt={ordinalNumber:Bs({matchPattern:yMt,parsePattern:bMt,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:xMt,defaultMatchWidth:"wide",parsePatterns:wMt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:_Mt,defaultMatchWidth:"wide",parsePatterns:SMt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:CMt,defaultMatchWidth:"wide",parsePatterns:kMt,defaultParseWidth:"any"}),day:Ze({matchPatterns:MMt,defaultMatchWidth:"wide",parsePatterns:TMt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:AMt,defaultMatchWidth:"any",parsePatterns:EMt,defaultParseWidth:"any"})},PMt={code:"ja",formatDistance:rMt,formatLong:sMt,formatRelative:cMt,localize:vMt,match:OMt,options:{weekStartsOn:0,firstWeekContainsDate:1}},DMt={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}}년"}},LMt=function(t,e,n){var r,i=DMt[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?r+" 후":r+" 전":r},NMt={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},IMt={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},RMt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},jMt={date:Un({formats:NMt,defaultWidth:"full"}),time:Un({formats:IMt,defaultWidth:"full"}),dateTime:Un({formats:RMt,defaultWidth:"full"})},$Mt={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},zMt=function(t,e,n,r){return $Mt[t]},BMt={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},FMt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},HMt={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월"]},WMt={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},VMt={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:"밤"}},UMt={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:"밤"}},GMt=function(t,e){var n=Number(t),r=String(e==null?void 0:e.unit);switch(r){case"minute":case"second":return String(n);case"date":return n+"일";default:return n+"번째"}},YMt={ordinalNumber:GMt,era:Xe({values:BMt,defaultWidth:"wide"}),quarter:Xe({values:FMt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:HMt,defaultWidth:"wide"}),day:Xe({values:WMt,defaultWidth:"wide"}),dayPeriod:Xe({values:VMt,defaultWidth:"wide",formattingValues:UMt,defaultFormattingWidth:"wide"})},qMt=/^(\d+)(일|번째)?/i,XMt=/\d+/i,ZMt={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},JMt={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},KMt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},QMt={any:[/1/i,/2/i,/3/i,/4/i]},tTt={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},eTt={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},nTt={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},rTt={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},iTt={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},oTt={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},aTt={ordinalNumber:Bs({matchPattern:qMt,parsePattern:XMt,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:ZMt,defaultMatchWidth:"wide",parsePatterns:JMt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:KMt,defaultMatchWidth:"wide",parsePatterns:QMt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:tTt,defaultMatchWidth:"wide",parsePatterns:eTt,defaultParseWidth:"any"}),day:Ze({matchPatterns:nTt,defaultMatchWidth:"wide",parsePatterns:rTt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:iTt,defaultMatchWidth:"any",parsePatterns:oTt,defaultParseWidth:"any"})},sTt={code:"ko",formatDistance:LMt,formatLong:jMt,formatRelative:zMt,localize:YMt,match:aTt,options:{weekStartsOn:0,firstWeekContainsDate:1}},lTt={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"}},cTt=function(t,e,n){var r,i=lTt[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",String(e)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"over "+r:r+" geleden":r},uTt={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},dTt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},hTt={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},pTt={date:Un({formats:uTt,defaultWidth:"full"}),time:Un({formats:dTt,defaultWidth:"full"}),dateTime:Un({formats:hTt,defaultWidth:"full"})},fTt={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},gTt=function(t,e,n,r){return fTt[t]},mTt={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},vTt={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},yTt={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"]},bTt={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"]},xTt={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"}},wTt=function(t,e){var n=Number(t);return n+"e"},_Tt={ordinalNumber:wTt,era:Xe({values:mTt,defaultWidth:"wide"}),quarter:Xe({values:vTt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:yTt,defaultWidth:"wide"}),day:Xe({values:bTt,defaultWidth:"wide"}),dayPeriod:Xe({values:xTt,defaultWidth:"wide"})},STt=/^(\d+)e?/i,CTt=/\d+/i,kTt={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},MTt={any:[/^v/,/^n/]},TTt={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},ATt={any:[/1/i,/2/i,/3/i,/4/i]},ETt={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},OTt={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]},PTt={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},DTt={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]},LTt={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},NTt={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}},ITt={ordinalNumber:Bs({matchPattern:STt,parsePattern:CTt,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:kTt,defaultMatchWidth:"wide",parsePatterns:MTt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:TTt,defaultMatchWidth:"wide",parsePatterns:ATt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:ETt,defaultMatchWidth:"wide",parsePatterns:OTt,defaultParseWidth:"any"}),day:Ze({matchPatterns:PTt,defaultMatchWidth:"wide",parsePatterns:DTt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:LTt,defaultMatchWidth:"any",parsePatterns:NTt,defaultParseWidth:"any"})},RTt={code:"nl",formatDistance:cTt,formatLong:pTt,formatRelative:gTt,localize:_Tt,match:ITt,options:{weekStartsOn:1,firstWeekContainsDate:4}},jTt={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"}},$Tt=function(t,e,n){var r,i=jTt[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",String(e)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"daqui a "+r:"há "+r:r},zTt={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},BTt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},FTt={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},HTt={date:Un({formats:zTt,defaultWidth:"full"}),time:Un({formats:BTt,defaultWidth:"full"}),dateTime:Un({formats:FTt,defaultWidth:"full"})},WTt={lastWeek:function(t){var e=t.getUTCDay(),n=e===0||e===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"},VTt=function(t,e,n,r){var i=WTt[t];return typeof i=="function"?i(e):i},UTt={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},GTt={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},YTt={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"]},qTt={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"]},XTt={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"}},ZTt={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"}},JTt=function(t,e){var n=Number(t);return n+"º"},KTt={ordinalNumber:JTt,era:Xe({values:UTt,defaultWidth:"wide"}),quarter:Xe({values:GTt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:YTt,defaultWidth:"wide"}),day:Xe({values:qTt,defaultWidth:"wide"}),dayPeriod:Xe({values:XTt,defaultWidth:"wide",formattingValues:ZTt,defaultFormattingWidth:"wide"})},QTt=/^(\d+)(º|ª)?/i,t2t=/\d+/i,e2t={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},n2t={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},r2t={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},i2t={any:[/1/i,/2/i,/3/i,/4/i]},o2t={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},a2t={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]},s2t={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},l2t={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]},c2t={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},u2t={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}},d2t={ordinalNumber:Bs({matchPattern:QTt,parsePattern:t2t,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:e2t,defaultMatchWidth:"wide",parsePatterns:n2t,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:r2t,defaultMatchWidth:"wide",parsePatterns:i2t,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:o2t,defaultMatchWidth:"wide",parsePatterns:a2t,defaultParseWidth:"any"}),day:Ze({matchPatterns:s2t,defaultMatchWidth:"wide",parsePatterns:l2t,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:c2t,defaultMatchWidth:"any",parsePatterns:u2t,defaultParseWidth:"any"})},h2t={code:"pt",formatDistance:$Tt,formatLong:HTt,formatRelative:VTt,localize:KTt,match:d2t,options:{weekStartsOn:1,firstWeekContainsDate:4}};function kv(t,e){if(t.one!==void 0&&e===1)return t.one;var n=e%10,r=e%100;return n===1&&r!==11?t.singularNominative.replace("{{count}}",String(e)):n>=2&&n<=4&&(r<10||r>20)?t.singularGenitive.replace("{{count}}",String(e)):t.pluralGenitive.replace("{{count}}",String(e))}function na(t){return function(e,n){return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?t.future?kv(t.future,e):"через "+kv(t.regular,e):t.past?kv(t.past,e):kv(t.regular,e)+" назад":kv(t.regular,e)}}var p2t={lessThanXSeconds:na({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:na({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:function(t,e){return e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:na({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:na({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:na({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:na({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:na({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:na({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:na({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:na({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:na({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:na({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:na({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:na({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:na({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},f2t=function(t,e,n){return p2t[t](e,n)},g2t={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},m2t={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},v2t={any:"{{date}}, {{time}}"},y2t={date:Un({formats:g2t,defaultWidth:"full"}),time:Un({formats:m2t,defaultWidth:"full"}),dateTime:Un({formats:v2t,defaultWidth:"any"})},FT=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function b2t(t){var e=FT[t];switch(t){case 0:return"'в прошлое "+e+" в' p";case 1:case 2:case 4:return"'в прошлый "+e+" в' p";case 3:case 5:case 6:return"'в прошлую "+e+" в' p"}}function E6(t){var e=FT[t];return t===2?"'во "+e+" в' p":"'в "+e+" в' p"}function x2t(t){var e=FT[t];switch(t){case 0:return"'в следующее "+e+" в' p";case 1:case 2:case 4:return"'в следующий "+e+" в' p";case 3:case 5:case 6:return"'в следующую "+e+" в' p"}}var w2t={lastWeek:function(t,e,n){var r=t.getUTCDay();return Cv(t,e,n)?E6(r):b2t(r)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:function(t,e,n){var r=t.getUTCDay();return Cv(t,e,n)?E6(r):x2t(r)},other:"P"},_2t=function(t,e,n,r){var i=w2t[t];return typeof i=="function"?i(e,n,r):i},S2t={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},C2t={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},k2t={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},M2t={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},T2t={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},A2t={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:"ночь"}},E2t={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:"ночи"}},O2t=function(t,e){var n=Number(t),r=e==null?void 0:e.unit,i;return r==="date"?i="-е":r==="week"||r==="minute"||r==="second"?i="-я":i="-й",n+i},P2t={ordinalNumber:O2t,era:Xe({values:S2t,defaultWidth:"wide"}),quarter:Xe({values:C2t,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:k2t,defaultWidth:"wide",formattingValues:M2t,defaultFormattingWidth:"wide"}),day:Xe({values:T2t,defaultWidth:"wide"}),dayPeriod:Xe({values:A2t,defaultWidth:"any",formattingValues:E2t,defaultFormattingWidth:"wide"})},D2t=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,L2t=/\d+/i,N2t={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},I2t={any:[/^д/i,/^н/i]},R2t={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},j2t={any:[/1/i,/2/i,/3/i,/4/i]},$2t={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},z2t={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]},B2t={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},F2t={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},H2t={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},W2t={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},V2t={ordinalNumber:Bs({matchPattern:D2t,parsePattern:L2t,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:N2t,defaultMatchWidth:"wide",parsePatterns:I2t,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:R2t,defaultMatchWidth:"wide",parsePatterns:j2t,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:$2t,defaultMatchWidth:"wide",parsePatterns:z2t,defaultParseWidth:"any"}),day:Ze({matchPatterns:B2t,defaultMatchWidth:"wide",parsePatterns:F2t,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:H2t,defaultMatchWidth:"wide",parsePatterns:W2t,defaultParseWidth:"any"})},U2t={code:"ru",formatDistance:f2t,formatLong:y2t,formatRelative:_2t,localize:P2t,match:V2t,options:{weekStartsOn:1,firstWeekContainsDate:1}},G2t={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"}},Y2t=function(t,e,n){var r,i=G2t[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?r+" sonra":r+" önce":r},q2t={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},X2t={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Z2t={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},J2t={date:Un({formats:q2t,defaultWidth:"full"}),time:Un({formats:X2t,defaultWidth:"full"}),dateTime:Un({formats:Z2t,defaultWidth:"full"})},K2t={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"},Q2t=function(t,e,n,r){return K2t[t]},tAt={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},eAt={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},nAt={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"]},rAt={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"]},iAt={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"}},oAt={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"}},aAt=function(t,e){var n=Number(t);return n+"."},sAt={ordinalNumber:aAt,era:Xe({values:tAt,defaultWidth:"wide"}),quarter:Xe({values:eAt,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Xe({values:nAt,defaultWidth:"wide"}),day:Xe({values:rAt,defaultWidth:"wide"}),dayPeriod:Xe({values:iAt,defaultWidth:"wide",formattingValues:oAt,defaultFormattingWidth:"wide"})},lAt=/^(\d+)(\.)?/i,cAt=/\d+/i,uAt={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},dAt={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},hAt={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},pAt={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]},fAt={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},gAt={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]},mAt={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},vAt={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]},yAt={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},bAt={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}},xAt={ordinalNumber:Bs({matchPattern:lAt,parsePattern:cAt,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:uAt,defaultMatchWidth:"wide",parsePatterns:dAt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:hAt,defaultMatchWidth:"wide",parsePatterns:pAt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:fAt,defaultMatchWidth:"wide",parsePatterns:gAt,defaultParseWidth:"any"}),day:Ze({matchPatterns:mAt,defaultMatchWidth:"wide",parsePatterns:vAt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:yAt,defaultMatchWidth:"any",parsePatterns:bAt,defaultParseWidth:"any"})},wAt={code:"tr",formatDistance:Y2t,formatLong:J2t,formatRelative:Q2t,localize:sAt,match:xAt,options:{weekStartsOn:1,firstWeekContainsDate:1}},_At={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}} 年"}},SAt=function(t,e,n){var r,i=_At[t];return typeof i=="string"?r=i:e===1?r=i.one:r=i.other.replace("{{count}}",String(e)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?r+"内":r+"前":r},CAt={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},kAt={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},MAt={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},TAt={date:Un({formats:CAt,defaultWidth:"full"}),time:Un({formats:kAt,defaultWidth:"full"}),dateTime:Un({formats:MAt,defaultWidth:"full"})};function O6(t,e,n){var r="eeee p";return Cv(t,e,n)?r:t.getTime()>e.getTime()?"'下个'"+r:"'上个'"+r}var AAt={lastWeek:O6,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:O6,other:"PP p"},EAt=function(t,e,n,r){var i=AAt[t];return typeof i=="function"?i(e,n,r):i},OAt={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},PAt={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},DAt={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},LAt={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},NAt={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:"夜间"}},IAt={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:"夜间"}},RAt=function(t,e){var n=Number(t);switch(e==null?void 0:e.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()}},jAt={ordinalNumber:RAt,era:Xe({values:OAt,defaultWidth:"wide"}),quarter:Xe({values:PAt,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Xe({values:DAt,defaultWidth:"wide"}),day:Xe({values:LAt,defaultWidth:"wide"}),dayPeriod:Xe({values:NAt,defaultWidth:"wide",formattingValues:IAt,defaultFormattingWidth:"wide"})},$At=/^(第\s*)?\d+(日|时|分|秒)?/i,zAt=/\d+/i,BAt={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},FAt={any:[/^(前)/i,/^(公元)/i]},HAt={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},WAt={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},VAt={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},UAt={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]},GAt={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},YAt={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},qAt={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},XAt={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},ZAt={ordinalNumber:Bs({matchPattern:$At,parsePattern:zAt,valueCallback:function(t){return parseInt(t,10)}}),era:Ze({matchPatterns:BAt,defaultMatchWidth:"wide",parsePatterns:FAt,defaultParseWidth:"any"}),quarter:Ze({matchPatterns:HAt,defaultMatchWidth:"wide",parsePatterns:WAt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ze({matchPatterns:VAt,defaultMatchWidth:"wide",parsePatterns:UAt,defaultParseWidth:"any"}),day:Ze({matchPatterns:GAt,defaultMatchWidth:"wide",parsePatterns:YAt,defaultParseWidth:"any"}),dayPeriod:Ze({matchPatterns:qAt,defaultMatchWidth:"any",parsePatterns:XAt,defaultParseWidth:"any"})},JAt={code:"zh-CN",formatDistance:SAt,formatLong:TAt,formatRelative:EAt,localize:jAt,match:ZAt,options:{weekStartsOn:1,firstWeekContainsDate:4}},KAt=Math.ceil,QAt=Math.max;function tEt(t,e,n,r){for(var i=-1,o=QAt(KAt((e-t)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=t,t+=n;return a}var eEt=tEt,nEt=cv,rEt=Rh,iEt=o1,oEt=cs;function aEt(t,e,n){if(!oEt(n))return!1;var r=typeof e;return(r=="number"?rEt(n)&&iEt(e,n.length):r=="string"&&e in n)?nEt(n[e],t):!1}var P6=aEt,sEt=/\s/;function lEt(t){for(var e=t.length;e--&&sEt.test(t.charAt(e)););return e}var cEt=lEt,uEt=cEt,dEt=/^\s+/;function hEt(t){return t&&t.slice(0,uEt(t)+1).replace(dEt,"")}var D6=hEt,pEt=D6,L6=cs,fEt=v1,N6=NaN,gEt=/^[-+]0x[0-9a-f]+$/i,mEt=/^0b[01]+$/i,vEt=/^0o[0-7]+$/i,yEt=parseInt;function bEt(t){if(typeof t=="number")return t;if(fEt(t))return N6;if(L6(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=L6(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=pEt(t);var n=mEt.test(t);return n||vEt.test(t)?yEt(t.slice(2),n?2:8):gEt.test(t)?N6:+t}var Hf=bEt,xEt=Hf,I6=1/0,wEt=17976931348623157e292;function _Et(t){if(!t)return t===0?t:0;if(t=xEt(t),t===I6||t===-I6){var e=t<0?-1:1;return e*wEt}return t===t?t:0}var HT=_Et,SEt=eEt,CEt=P6,WT=HT;function kEt(t){return function(e,n,r){return r&&typeof r!="number"&&CEt(e,n,r)&&(n=r=void 0),e=WT(e),n===void 0?(n=e,e=0):n=WT(n),r=r===void 0?e<n?1:-1:WT(r),SEt(e,n,r,t)}}var MEt=kEt,TEt=MEt,AEt=TEt(),EEt=AEt;const U1=An(EEt),VT=t=>{var e;switch((e=t==null?void 0:t.language)==null?void 0:e.split("-")[0]){case"de":return vCt;case"fr":return Skt;case"es":return qCt;case"it":return eMt;case"ja":return PMt;case"ko":return sTt;case"nl":return RTt;case"pt":return h2t;case"ru":return U2t;case"tr":return wAt;case"zh":return JAt;default:return xSt}};U1(4),U1(12),U1(7),U1(24);var UT={exports:{}},R6={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(R6);var Gr=R6.exports,GT={exports:{}},YT={exports:{}},j6={exports:{}};(function(t){function e(n){return t.exports=e=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},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(j6);var $6=j6.exports,qT={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;function n(r,i){if(i.length<r)throw new TypeError(r+" argument"+(r>1?"s":"")+" required, but only "+i.length+" present")}t.exports=e.default})(qT,qT.exports);var ra=qT.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var r=n($6),i=n(ra);function o(a){return(0,i.default)(1,arguments),a instanceof Date||(0,r.default)(a)==="object"&&Object.prototype.toString.call(a)==="[object Date]"}t.exports=e.default})(YT,YT.exports);var OEt=YT.exports,XT={exports:{}};(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var r=n($6),i=n(ra);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))}t.exports=e.default})(XT,XT.exports);var xc=XT.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=n(OEt),i=n(xc),o=n(ra);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))}t.exports=e.default})(GT,GT.exports);var PEt=GT.exports,ZT={exports:{}},JT={exports:{}},KT={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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)}t.exports=e.default})(KT,KT.exports);var Fh=KT.exports;const DEt=An(Fh);(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=n(Fh),i=n(xc),o=n(ra);function a(s,c){(0,o.default)(2,arguments);var l=(0,i.default)(s).getTime(),f=(0,r.default)(c);return new Date(l+f)}t.exports=e.default})(JT,JT.exports);var LEt=JT.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=n(LEt),i=n(ra),o=n(Fh);function a(s,c){(0,i.default)(2,arguments);var l=(0,o.default)(c);return(0,r.default)(s,-l)}t.exports=e.default})(ZT,ZT.exports);var NEt=ZT.exports,QT={exports:{}},t2={exports:{}};(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=n(xc),i=n(ra),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 f=c.getTime(),w=l-f;return Math.floor(w/o)+1}t.exports=e.default})(t2,t2.exports);var IEt=t2.exports,e2={exports:{}},n2={exports:{}};(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var r=n(xc),i=n(ra);function o(a){(0,i.default)(1,arguments);var s=1,c=(0,r.default)(a),l=c.getUTCDay(),f=(l<s?7:0)+l-s;return c.setUTCDate(c.getUTCDate()-f),c.setUTCHours(0,0,0,0),c}t.exports=e.default})(n2,n2.exports);var r2=n2.exports,i2={exports:{}},o2={exports:{}};(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=n(xc),i=n(ra),o=n(r2);function a(s){(0,i.default)(1,arguments);var c=(0,r.default)(s),l=c.getUTCFullYear(),f=new Date(0);f.setUTCFullYear(l+1,0,4),f.setUTCHours(0,0,0,0);var w=(0,o.default)(f),u=new Date(0);u.setUTCFullYear(l,0,4),u.setUTCHours(0,0,0,0);var j=(0,o.default)(u);return c.getTime()>=w.getTime()?l+1:c.getTime()>=j.getTime()?l:l-1}t.exports=e.default})(o2,o2.exports);var z6=o2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=n(z6),i=n(r2),o=n(ra);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 f=(0,i.default)(l);return f}t.exports=e.default})(i2,i2.exports);var REt=i2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var r=n(xc),i=n(r2),o=n(REt),a=n(ra),s=6048e5;function c(l){(0,a.default)(1,arguments);var f=(0,r.default)(l),w=(0,i.default)(f).getTime()-(0,o.default)(f).getTime();return Math.round(w/s)+1}t.exports=e.default})(e2,e2.exports);var jEt=e2.exports,a2={exports:{}},s2={exports:{}},Hh={};Object.defineProperty(Hh,"__esModule",{value:!0}),Hh.getDefaultOptions=$Et,Hh.setDefaultOptions=zEt;var B6={};function $Et(){return B6}function zEt(t){B6=t}(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=n(xc),i=n(ra),o=n(Fh),a=Hh;function s(c,l){var f,w,u,j,S,b,T,W;(0,i.default)(1,arguments);var G=(0,a.getDefaultOptions)(),Y=(0,o.default)((f=(w=(u=(j=l==null?void 0:l.weekStartsOn)!==null&&j!==void 0?j:l==null||(S=l.locale)===null||S===void 0||(b=S.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&u!==void 0?u:G.weekStartsOn)!==null&&w!==void 0?w:(T=G.locale)===null||T===void 0||(W=T.options)===null||W===void 0?void 0:W.weekStartsOn)!==null&&f!==void 0?f:0);if(!(Y>=0&&Y<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var U=(0,r.default)(c),$=U.getUTCDay(),O=($<Y?7:0)+$-Y;return U.setUTCDate(U.getUTCDate()-O),U.setUTCHours(0,0,0,0),U}t.exports=e.default})(s2,s2.exports);var l2=s2.exports,c2={exports:{}},u2={exports:{}};(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var r=n(xc),i=n(ra),o=n(l2),a=n(Fh),s=Hh;function c(l,f){var w,u,j,S,b,T,W,G;(0,i.default)(1,arguments);var Y=(0,r.default)(l),U=Y.getUTCFullYear(),$=(0,s.getDefaultOptions)(),O=(0,a.default)((w=(u=(j=(S=f==null?void 0:f.firstWeekContainsDate)!==null&&S!==void 0?S:f==null||(b=f.locale)===null||b===void 0||(T=b.options)===null||T===void 0?void 0:T.firstWeekContainsDate)!==null&&j!==void 0?j:$.firstWeekContainsDate)!==null&&u!==void 0?u:(W=$.locale)===null||W===void 0||(G=W.options)===null||G===void 0?void 0:G.firstWeekContainsDate)!==null&&w!==void 0?w:1);if(!(O>=1&&O<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var D=new Date(0);D.setUTCFullYear(U+1,0,O),D.setUTCHours(0,0,0,0);var m=(0,o.default)(D,f),C=new Date(0);C.setUTCFullYear(U,0,O),C.setUTCHours(0,0,0,0);var p=(0,o.default)(C,f);return Y.getTime()>=m.getTime()?U+1:Y.getTime()>=p.getTime()?U:U-1}t.exports=e.default})(u2,u2.exports);var F6=u2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var r=n(F6),i=n(ra),o=n(l2),a=n(Fh),s=Hh;function c(l,f){var w,u,j,S,b,T,W,G;(0,i.default)(1,arguments);var Y=(0,s.getDefaultOptions)(),U=(0,a.default)((w=(u=(j=(S=f==null?void 0:f.firstWeekContainsDate)!==null&&S!==void 0?S:f==null||(b=f.locale)===null||b===void 0||(T=b.options)===null||T===void 0?void 0:T.firstWeekContainsDate)!==null&&j!==void 0?j:Y.firstWeekContainsDate)!==null&&u!==void 0?u:(W=Y.locale)===null||W===void 0||(G=W.options)===null||G===void 0?void 0:G.firstWeekContainsDate)!==null&&w!==void 0?w:1),$=(0,r.default)(l,f),O=new Date(0);O.setUTCFullYear($,0,U),O.setUTCHours(0,0,0,0);var D=(0,o.default)(O,f);return D}t.exports=e.default})(c2,c2.exports);var BEt=c2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var r=n(xc),i=n(l2),o=n(BEt),a=n(ra),s=6048e5;function c(l,f){(0,a.default)(1,arguments);var w=(0,r.default)(l),u=(0,i.default)(w,f).getTime()-(0,o.default)(w,f).getTime();return Math.round(u/s)+1}t.exports=e.default})(a2,a2.exports);var FEt=a2.exports,d2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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}t.exports=e.default})(d2,d2.exports);var H6=d2.exports,h2={exports:{}};(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(H6),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(),f=Math.floor(l*Math.pow(10,c-3));return(0,r.default)(f,s.length)}},o=i;e.default=o,t.exports=e.default})(h2,h2.exports);var HEt=h2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(IEt),i=n(jEt),o=n(z6),a=n(FEt),s=n(F6),c=n(H6),l=n(HEt),f={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},w={G:function(T,W,G){var Y=T.getUTCFullYear()>0?1:0;switch(W){case"G":case"GG":case"GGG":return G.era(Y,{width:"abbreviated"});case"GGGGG":return G.era(Y,{width:"narrow"});case"GGGG":default:return G.era(Y,{width:"wide"})}},y:function(T,W,G){if(W==="yo"){var Y=T.getUTCFullYear(),U=Y>0?Y:1-Y;return G.ordinalNumber(U,{unit:"year"})}return l.default.y(T,W)},Y:function(T,W,G,Y){var U=(0,s.default)(T,Y),$=U>0?U:1-U;if(W==="YY"){var O=$%100;return(0,c.default)(O,2)}return W==="Yo"?G.ordinalNumber($,{unit:"year"}):(0,c.default)($,W.length)},R:function(T,W){var G=(0,o.default)(T);return(0,c.default)(G,W.length)},u:function(T,W){var G=T.getUTCFullYear();return(0,c.default)(G,W.length)},Q:function(T,W,G){var Y=Math.ceil((T.getUTCMonth()+1)/3);switch(W){case"Q":return String(Y);case"QQ":return(0,c.default)(Y,2);case"Qo":return G.ordinalNumber(Y,{unit:"quarter"});case"QQQ":return G.quarter(Y,{width:"abbreviated",context:"formatting"});case"QQQQQ":return G.quarter(Y,{width:"narrow",context:"formatting"});case"QQQQ":default:return G.quarter(Y,{width:"wide",context:"formatting"})}},q:function(T,W,G){var Y=Math.ceil((T.getUTCMonth()+1)/3);switch(W){case"q":return String(Y);case"qq":return(0,c.default)(Y,2);case"qo":return G.ordinalNumber(Y,{unit:"quarter"});case"qqq":return G.quarter(Y,{width:"abbreviated",context:"standalone"});case"qqqqq":return G.quarter(Y,{width:"narrow",context:"standalone"});case"qqqq":default:return G.quarter(Y,{width:"wide",context:"standalone"})}},M:function(T,W,G){var Y=T.getUTCMonth();switch(W){case"M":case"MM":return l.default.M(T,W);case"Mo":return G.ordinalNumber(Y+1,{unit:"month"});case"MMM":return G.month(Y,{width:"abbreviated",context:"formatting"});case"MMMMM":return G.month(Y,{width:"narrow",context:"formatting"});case"MMMM":default:return G.month(Y,{width:"wide",context:"formatting"})}},L:function(T,W,G){var Y=T.getUTCMonth();switch(W){case"L":return String(Y+1);case"LL":return(0,c.default)(Y+1,2);case"Lo":return G.ordinalNumber(Y+1,{unit:"month"});case"LLL":return G.month(Y,{width:"abbreviated",context:"standalone"});case"LLLLL":return G.month(Y,{width:"narrow",context:"standalone"});case"LLLL":default:return G.month(Y,{width:"wide",context:"standalone"})}},w:function(T,W,G,Y){var U=(0,a.default)(T,Y);return W==="wo"?G.ordinalNumber(U,{unit:"week"}):(0,c.default)(U,W.length)},I:function(T,W,G){var Y=(0,i.default)(T);return W==="Io"?G.ordinalNumber(Y,{unit:"week"}):(0,c.default)(Y,W.length)},d:function(T,W,G){return W==="do"?G.ordinalNumber(T.getUTCDate(),{unit:"date"}):l.default.d(T,W)},D:function(T,W,G){var Y=(0,r.default)(T);return W==="Do"?G.ordinalNumber(Y,{unit:"dayOfYear"}):(0,c.default)(Y,W.length)},E:function(T,W,G){var Y=T.getUTCDay();switch(W){case"E":case"EE":case"EEE":return G.day(Y,{width:"abbreviated",context:"formatting"});case"EEEEE":return G.day(Y,{width:"narrow",context:"formatting"});case"EEEEEE":return G.day(Y,{width:"short",context:"formatting"});case"EEEE":default:return G.day(Y,{width:"wide",context:"formatting"})}},e:function(T,W,G,Y){var U=T.getUTCDay(),$=(U-Y.weekStartsOn+8)%7||7;switch(W){case"e":return String($);case"ee":return(0,c.default)($,2);case"eo":return G.ordinalNumber($,{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(T,W,G,Y){var U=T.getUTCDay(),$=(U-Y.weekStartsOn+8)%7||7;switch(W){case"c":return String($);case"cc":return(0,c.default)($,W.length);case"co":return G.ordinalNumber($,{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(T,W,G){var Y=T.getUTCDay(),U=Y===0?7:Y;switch(W){case"i":return String(U);case"ii":return(0,c.default)(U,W.length);case"io":return G.ordinalNumber(U,{unit:"day"});case"iii":return G.day(Y,{width:"abbreviated",context:"formatting"});case"iiiii":return G.day(Y,{width:"narrow",context:"formatting"});case"iiiiii":return G.day(Y,{width:"short",context:"formatting"});case"iiii":default:return G.day(Y,{width:"wide",context:"formatting"})}},a:function(T,W,G){var Y=T.getUTCHours(),U=Y/12>=1?"pm":"am";switch(W){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(T,W,G){var Y=T.getUTCHours(),U;switch(Y===12?U=f.noon:Y===0?U=f.midnight:U=Y/12>=1?"pm":"am",W){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(T,W,G){var Y=T.getUTCHours(),U;switch(Y>=17?U=f.evening:Y>=12?U=f.afternoon:Y>=4?U=f.morning:U=f.night,W){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(T,W,G){if(W==="ho"){var Y=T.getUTCHours()%12;return Y===0&&(Y=12),G.ordinalNumber(Y,{unit:"hour"})}return l.default.h(T,W)},H:function(T,W,G){return W==="Ho"?G.ordinalNumber(T.getUTCHours(),{unit:"hour"}):l.default.H(T,W)},K:function(T,W,G){var Y=T.getUTCHours()%12;return W==="Ko"?G.ordinalNumber(Y,{unit:"hour"}):(0,c.default)(Y,W.length)},k:function(T,W,G){var Y=T.getUTCHours();return Y===0&&(Y=24),W==="ko"?G.ordinalNumber(Y,{unit:"hour"}):(0,c.default)(Y,W.length)},m:function(T,W,G){return W==="mo"?G.ordinalNumber(T.getUTCMinutes(),{unit:"minute"}):l.default.m(T,W)},s:function(T,W,G){return W==="so"?G.ordinalNumber(T.getUTCSeconds(),{unit:"second"}):l.default.s(T,W)},S:function(T,W){return l.default.S(T,W)},X:function(T,W,G,Y){var U=Y._originalDate||T,$=U.getTimezoneOffset();if($===0)return"Z";switch(W){case"X":return j($);case"XXXX":case"XX":return S($);case"XXXXX":case"XXX":default:return S($,":")}},x:function(T,W,G,Y){var U=Y._originalDate||T,$=U.getTimezoneOffset();switch(W){case"x":return j($);case"xxxx":case"xx":return S($);case"xxxxx":case"xxx":default:return S($,":")}},O:function(T,W,G,Y){var U=Y._originalDate||T,$=U.getTimezoneOffset();switch(W){case"O":case"OO":case"OOO":return"GMT"+u($,":");case"OOOO":default:return"GMT"+S($,":")}},z:function(T,W,G,Y){var U=Y._originalDate||T,$=U.getTimezoneOffset();switch(W){case"z":case"zz":case"zzz":return"GMT"+u($,":");case"zzzz":default:return"GMT"+S($,":")}},t:function(T,W,G,Y){var U=Y._originalDate||T,$=Math.floor(U.getTime()/1e3);return(0,c.default)($,W.length)},T:function(T,W,G,Y){var U=Y._originalDate||T,$=U.getTime();return(0,c.default)($,W.length)}};function u(T,W){var G=T>0?"-":"+",Y=Math.abs(T),U=Math.floor(Y/60),$=Y%60;if($===0)return G+String(U);var O=W;return G+String(U)+O+(0,c.default)($,2)}function j(T,W){if(T%60===0){var G=T>0?"-":"+";return G+(0,c.default)(Math.abs(T)/60,2)}return S(T,W)}function S(T,W){var G=W||"",Y=T>0?"-":"+",U=Math.abs(T),$=(0,c.default)(Math.floor(U/60),2),O=(0,c.default)(U%60,2);return Y+$+G+O}var b=w;e.default=b,t.exports=e.default})(QT,QT.exports);var WEt=QT.exports,p2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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+)?/)||[],f=l[1],w=l[2];if(!w)return n(s,c);var u;switch(f){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(f,c)).replace("{{time}}",r(w,c))},o={p:r,P:i},a=o;e.default=a,t.exports=e.default})(p2,p2.exports);var VEt=p2.exports,f2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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()}t.exports=e.default})(f2,f2.exports);var W6=f2.exports;const V6=An(W6);var Mv={};Object.defineProperty(Mv,"__esModule",{value:!0}),Mv.isProtectedDayOfYearToken=YEt,Mv.isProtectedWeekYearToken=qEt,Mv.throwProtectedError=XEt;var UEt=["D","DD"],GEt=["YY","YYYY"];function YEt(t){return UEt.indexOf(t)!==-1}function qEt(t){return GEt.indexOf(t)!==-1}function XEt(t,e,n){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) 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(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) 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 g2={exports:{}},m2={exports:{}},v2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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;e.default=i,t.exports=e.default})(v2,v2.exports);var ZEt=v2.exports,y2={exports:{}},b2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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}}t.exports=e.default})(b2,b2.exports);var JEt=b2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(JEt),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;e.default=c,t.exports=e.default})(y2,y2.exports);var KEt=y2.exports,x2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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;e.default=i,t.exports=e.default})(x2,x2.exports);var QEt=x2.exports,w2={exports:{}},_2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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 f=r.defaultWidth,w=o!=null&&o.width?String(o.width):r.defaultWidth;s=r.values[w]||r.values[f]}var u=r.argumentCallback?r.argumentCallback(i):i;return s[u]}}t.exports=e.default})(_2,_2.exports);var tOt=_2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(tOt),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"}},f=function(j,S){var b=Number(j),T=b%100;if(T>20||T<10)switch(T%10){case 1:return b+"st";case 2:return b+"nd";case 3:return b+"rd"}return b+"th"},w={ordinalNumber:f,era:(0,r.default)({values:i,defaultWidth:"wide"}),quarter:(0,r.default)({values:o,defaultWidth:"wide",argumentCallback:function(j){return j-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=w;e.default=u,t.exports=e.default})(w2,w2.exports);var eOt=w2.exports,S2={exports:{}},C2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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],f=a.match(l);if(!f)return null;var w=f[0],u=c&&o.parsePatterns[c]||o.parsePatterns[o.defaultParseWidth],j=Array.isArray(u)?i(u,function(T){return T.test(w)}):r(u,function(T){return T.test(w)}),S;S=o.valueCallback?o.valueCallback(j):j,S=s.valueCallback?s.valueCallback(S):S;var b=a.slice(w.length);return{value:S,rest:b}}}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}t.exports=e.default})(C2,C2.exports);var nOt=C2.exports,k2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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 f=i.slice(s.length);return{value:l,rest:f}}}t.exports=e.default})(k2,k2.exports);var rOt=k2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(nOt),i=n(rOt),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},f={any:[/1/i,/2/i,/3/i,/4/i]},w={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]},j={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},S={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]},b={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},T={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}},W={ordinalNumber:(0,i.default)({matchPattern:o,parsePattern:a,valueCallback:function(Y){return parseInt(Y,10)}}),era:(0,r.default)({matchPatterns:s,defaultMatchWidth:"wide",parsePatterns:c,defaultParseWidth:"any"}),quarter:(0,r.default)({matchPatterns:l,defaultMatchWidth:"wide",parsePatterns:f,defaultParseWidth:"any",valueCallback:function(Y){return Y+1}}),month:(0,r.default)({matchPatterns:w,defaultMatchWidth:"wide",parsePatterns:u,defaultParseWidth:"any"}),day:(0,r.default)({matchPatterns:j,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),dayPeriod:(0,r.default)({matchPatterns:b,defaultMatchWidth:"any",parsePatterns:T,defaultParseWidth:"any"})},G=W;e.default=G,t.exports=e.default})(S2,S2.exports);var iOt=S2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(ZEt),i=n(KEt),o=n(QEt),a=n(eOt),s=n(iOt),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;e.default=l,t.exports=e.default})(m2,m2.exports);var oOt=m2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(oOt),i=r.default;e.default=i,t.exports=e.default})(g2,g2.exports);var aOt=g2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=Y;var r=n(PEt),i=n(NEt),o=n(xc),a=n(WEt),s=n(VEt),c=n(W6),l=Mv,f=n(Fh),w=n(ra),u=Hh,j=n(aOt),S=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,b=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,T=/^'([^]*?)'?$/,W=/''/g,G=/[a-zA-Z]/;function Y($,O,D){var m,C,p,d,g,E,M,P,V,q,H,R,I,A,k,h,_,y;(0,w.default)(2,arguments);var v=String(O),z=(0,u.getDefaultOptions)(),N=(m=(C=D==null?void 0:D.locale)!==null&&C!==void 0?C:z.locale)!==null&&m!==void 0?m:j.default,x=(0,f.default)((p=(d=(g=(E=D==null?void 0:D.firstWeekContainsDate)!==null&&E!==void 0?E:D==null||(M=D.locale)===null||M===void 0||(P=M.options)===null||P===void 0?void 0:P.firstWeekContainsDate)!==null&&g!==void 0?g:z.firstWeekContainsDate)!==null&&d!==void 0?d:(V=z.locale)===null||V===void 0||(q=V.options)===null||q===void 0?void 0:q.firstWeekContainsDate)!==null&&p!==void 0?p:1);if(!(x>=1&&x<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var B=(0,f.default)((H=(R=(I=(A=D==null?void 0:D.weekStartsOn)!==null&&A!==void 0?A:D==null||(k=D.locale)===null||k===void 0||(h=k.options)===null||h===void 0?void 0:h.weekStartsOn)!==null&&I!==void 0?I:z.weekStartsOn)!==null&&R!==void 0?R:(_=z.locale)===null||_===void 0||(y=_.options)===null||y===void 0?void 0:y.weekStartsOn)!==null&&H!==void 0?H:0);if(!(B>=0&&B<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!N.localize)throw new RangeError("locale must contain localize property");if(!N.formatLong)throw new RangeError("locale must contain formatLong property");var Z=(0,o.default)($);if(!(0,r.default)(Z))throw new RangeError("Invalid time value");var K=(0,c.default)(Z),F=(0,i.default)(Z,K),X={firstWeekContainsDate:x,weekStartsOn:B,locale:N,_originalDate:Z},Q=v.match(b).map(function(it){var ot=it[0];if(ot==="p"||ot==="P"){var et=s.default[ot];return et(it,N.formatLong)}return it}).join("").match(S).map(function(it){if(it==="''")return"'";var ot=it[0];if(ot==="'")return U(it);var et=a.default[ot];if(et)return!(D!=null&&D.useAdditionalWeekYearTokens)&&(0,l.isProtectedWeekYearToken)(it)&&(0,l.throwProtectedError)(it,O,String($)),!(D!=null&&D.useAdditionalDayOfYearTokens)&&(0,l.isProtectedDayOfYearToken)(it)&&(0,l.throwProtectedError)(it,O,String($)),et(F,it,N.localize,X);if(ot.match(G))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ot+"`");return it}).join("");return Q}function U($){var O=$.match(T);return O?O[1].replace(W,"'"):$}t.exports=e.default})(UT,UT.exports);var sOt=UT.exports;const lOt=An(sOt);function U6(t,e,n){var r=dOt(t,n.timeZone,n.locale);return r.formatToParts?cOt(r,e):uOt(r,e)}function cOt(t,e){for(var n=t.formatToParts(e),r=n.length-1;r>=0;--r)if(n[r].type==="timeZoneName")return n[r].value}function uOt(t,e){var n=t.format(e).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}function dOt(t,e,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:e,timeZoneName:t})}function hOt(t,e){var n=mOt(e);return n.formatToParts?fOt(n,t):gOt(n,t)}var pOt={year:0,month:1,day:2,hour:3,minute:4,second:5};function fOt(t,e){try{for(var n=t.formatToParts(e),r=[],i=0;i<n.length;i++){var o=pOt[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 gOt(t,e){var n=t.format(e),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}var M2={};function mOt(t){if(!M2[t]){var e=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=e==="06/25/2014, 00:00:00"||e==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";M2[t]=n?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:t,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return M2[t]}function G6(t,e,n,r,i,o,a){var s=new Date(0);return s.setUTCFullYear(t,e,n),s.setUTCHours(r,i,o,a),s}var Y6=36e5,vOt=6e4,T2={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function A2(t,e,n){var r,i;if(!t||(r=T2.timezoneZ.exec(t),r))return 0;var o;if(r=T2.timezoneHH.exec(t),r)return o=parseInt(r[1],10),q6(o)?-(o*Y6):NaN;if(r=T2.timezoneHHMM.exec(t),r){o=parseInt(r[2],10);var a=parseInt(r[3],10);return q6(o,a)?(i=Math.abs(o)*Y6+a*vOt,r[1]==="+"?-i:i):NaN}if(xOt(t)){e=new Date(e||Date.now());var s=n?e:yOt(e),c=E2(s,t),l=n?c:bOt(e,c,t);return-l}return NaN}function yOt(t){return G6(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())}function E2(t,e){var n=hOt(t,e),r=G6(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),i=t.getTime(),o=i%1e3;return i-=o>=0?o:1e3+o,r-i}function bOt(t,e,n){var r=t.getTime(),i=r-e,o=E2(new Date(i),n);if(e===o)return e;i-=o-e;var a=E2(new Date(i),n);return o===a?o:Math.max(o,a)}function q6(t,e){return-23<=t&&t<=23&&(e==null||0<=e&&e<=59)}var X6={};function xOt(t){if(X6[t])return!0;try{return X6[t]=!0,!0}catch{return!1}}var wOt=60*1e3,_Ot={X:function(t,e,n,r){var i=O2(r.timeZone,t);if(i===0)return"Z";switch(e){case"X":return Z6(i);case"XXXX":case"XX":return Wf(i);case"XXXXX":case"XXX":default:return Wf(i,":")}},x:function(t,e,n,r){var i=O2(r.timeZone,t);switch(e){case"x":return Z6(i);case"xxxx":case"xx":return Wf(i);case"xxxxx":case"xxx":default:return Wf(i,":")}},O:function(t,e,n,r){var i=O2(r.timeZone,t);switch(e){case"O":case"OO":case"OOO":return"GMT"+SOt(i,":");case"OOOO":default:return"GMT"+Wf(i,":")}},z:function(t,e,n,r){switch(e){case"z":case"zz":case"zzz":return U6("short",t,r);case"zzzz":default:return U6("long",t,r)}}};function O2(t,e){var n=t?A2(t,e,!0)/wOt:e.getTimezoneOffset();if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+t);return n}function G1(t,e){for(var n=t<0?"-":"",r=Math.abs(t).toString();r.length<e;)r="0"+r;return n+r}function Wf(t,e){var n=e||"",r=t>0?"-":"+",i=Math.abs(t),o=G1(Math.floor(i/60),2),a=G1(Math.floor(i%60),2);return r+o+n+a}function Z6(t,e){if(t%60===0){var n=t>0?"-":"+";return n+G1(Math.abs(t)/60,2)}return Wf(t,e)}function SOt(t,e){var n=t>0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),o=r%60;if(o===0)return n+String(i);var a=e;return n+String(i)+a+G1(o,2)}var COt=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,P2=36e5,J6=6e4,kOt=2,ia={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:COt};function K6(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(t===null)return new Date(NaN);var n=e||{},r=n.additionalDigits==null?kOt:DEt(n.additionalDigits);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]")return new Date(t.getTime());if(typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]")return new Date(t);if(!(typeof t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var i=MOt(t),o=TOt(i.date,r),a=o.year,s=o.restDateString,c=AOt(s,a);if(isNaN(c))return new Date(NaN);if(c){var l=c.getTime(),f=0,w;if(i.time&&(f=EOt(i.time),isNaN(f)))return new Date(NaN);if(i.timeZone||n.timeZone){if(w=A2(i.timeZone||n.timeZone,new Date(l+f)),isNaN(w))return new Date(NaN)}else w=V6(new Date(l+f)),w=V6(new Date(l+f+w));return new Date(l+f+w)}else return new Date(NaN)}function MOt(t){var e={},n=ia.dateTimePattern.exec(t),r;if(n?(e.date=n[1],r=n[3]):(n=ia.datePattern.exec(t),n?(e.date=n[1],r=n[2]):(e.date=null,r=t)),r){var i=ia.timeZone.exec(r);i?(e.time=r.replace(i[1],""),e.timeZone=i[1].trim()):e.time=r}return e}function TOt(t,e){var n=ia.YYY[e],r=ia.YYYYY[e],i;if(i=ia.YYYY.exec(t)||r.exec(t),i){var o=i[1];return{year:parseInt(o,10),restDateString:t.slice(o.length)}}if(i=ia.YY.exec(t)||n.exec(t),i){var a=i[1];return{year:parseInt(a,10)*100,restDateString:t.slice(a.length)}}return{year:null}}function AOt(t,e){if(e===null)return null;var n,r,i,o;if(t.length===0)return r=new Date(0),r.setUTCFullYear(e),r;if(n=ia.MM.exec(t),n)return r=new Date(0),i=parseInt(n[1],10)-1,eF(e,i)?(r.setUTCFullYear(e,i),r):new Date(NaN);if(n=ia.DDD.exec(t),n){r=new Date(0);var a=parseInt(n[1],10);return DOt(e,a)?(r.setUTCFullYear(e,0,a),r):new Date(NaN)}if(n=ia.MMDD.exec(t),n){r=new Date(0),i=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return eF(e,i,s)?(r.setUTCFullYear(e,i,s),r):new Date(NaN)}if(n=ia.Www.exec(t),n)return o=parseInt(n[1],10)-1,nF(e,o)?Q6(e,o):new Date(NaN);if(n=ia.WwwD.exec(t),n){o=parseInt(n[1],10)-1;var c=parseInt(n[2],10)-1;return nF(e,o,c)?Q6(e,o,c):new Date(NaN)}return null}function EOt(t){var e,n,r;if(e=ia.HH.exec(t),e)return n=parseFloat(e[1].replace(",",".")),D2(n)?n%24*P2:NaN;if(e=ia.HHMM.exec(t),e)return n=parseInt(e[1],10),r=parseFloat(e[2].replace(",",".")),D2(n,r)?n%24*P2+r*J6:NaN;if(e=ia.HHMMSS.exec(t),e){n=parseInt(e[1],10),r=parseInt(e[2],10);var i=parseFloat(e[3].replace(",","."));return D2(n,r,i)?n%24*P2+r*J6+i*1e3:NaN}return null}function Q6(t,e,n){e=e||0,n=n||0;var r=new Date(0);r.setUTCFullYear(t,0,4);var i=r.getUTCDay()||7,o=e*7+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}var OOt=[31,28,31,30,31,30,31,31,30,31,30,31],POt=[31,29,31,30,31,30,31,31,30,31,30,31];function tF(t){return t%400===0||t%4===0&&t%100!==0}function eF(t,e,n){if(e<0||e>11)return!1;if(n!=null){if(n<1)return!1;var r=tF(t);if(r&&n>POt[e]||!r&&n>OOt[e])return!1}return!0}function DOt(t,e){if(e<1)return!1;var n=tF(t);return!(n&&e>366||!n&&e>365)}function nF(t,e,n){return!(e<0||e>52||n!=null&&(n<0||n>6))}function D2(t,e,n){return!(t!=null&&(t<0||t>=25)||e!=null&&(e<0||e>=60)||n!=null&&(n<0||n>=60))}var LOt=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function rF(t,e,n){var r=String(e),i=n||{},o=r.match(LOt);if(o){var a=K6(i.originalDate||t,i);r=o.reduce(function(s,c){if(c[0]==="'")return s;var l=s.indexOf(c),f=s[l-1]==="'",w=s.replace(c,"'"+_Ot[c[0]](a,c,null,i)+"'");return f?w.substring(0,l-1)+w.substring(l+1):w},r)}return lOt(t,r,i)}function ud(t,e,n){const r=new RegExp("'[^']+'|("+e+")","g");return t.replace(r,function(i,o){return o?n(i):i})}const NOt=["shortDate","shortTime","short","mediumDate","mediumTime","medium","longDate","fullDate"],IOt=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"}),iF=Object.freeze({"en-US":IOt});function ROt(t,e){var n;if(!(t.includes("short")||t.includes("medium")||t.includes("long")||t.includes("full")))return t;let r=t,i=iF[(n=e.code)!=null?n:""];return i||(i=iF["en-US"]),NOt.forEach(o=>{const a=i[o];r=ud(r,o,function(){return a})}),r}var L2={exports:{}},N2={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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}t.exports=e.default})(N2,N2.exports);var jOt=N2.exports;(function(t,e){var n=Gr.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=n(jOt);function i(o){return(0,r.default)({},o)}t.exports=e.default})(L2,L2.exports);var $Ot=L2.exports;const zOt=An($Ot);function BOt(t,e,n){var r=K6(t,n),i=A2(e,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 Tv(t,e,n,r){var i=zOt(r);return i.timeZone=e,i.originalDate=t,rF(BOt(t,e),n,i)}function FOt(t){return t.includes("sss")?ud(t,"sss",function(){return"SSS"}):t}function HOt(t,e,n){if(!(t.includes("a")||t.includes("A")))return t;let r=ud(t,"a",function(){return`\0${Tv(e,n,"a").toLowerCase()}\0`});return r=ud(r,"A",function(){return`\0${Tv(e,n,"a").toUpperCase()}\0`}),r=r.replace(/\0\0/g,""),r=r.replace(/\0/g,"'"),r}function WOt(t,e,n,r){return t.includes("Z")?ud(t,"Z",function(){return Tv(e,n,"xx",{locale:r})}):t}function VOt(t,e,n){return oF(t,e,n)?M6(t,1):t}function UOt(t,e){return e<=t.getMonth()}function oF(t,e,n){const r=![ZOt,I2].includes(e);return n>sF&&r&&UOt(t,n)}function GOt(t,e,n,r){return!r&&oF(t,e,n)?_6(t,1):t}function YOt(t,e){if(e>0){const n=(t.getMonth()+e)%12;return FSt(t,n)}return t}function qOt(t,e,n,r,i,o){if(!t.includes("y"))return t;const a=GOt(e,r,o,i);let s=t;if(["yyyy","yy","y","yp","yyyp"].includes(t)&&(n="Etc/GMT-14"),t.includes("yp")){const c=M6(a,1);s=ud(t,"yp|yyyp",function(l){const f="y".repeat(l.length);return Tv(c,n,f)})}return ud(s,"yyyy|yy|y",function(c){return Tv(a,n,c)})}function XOt(t,e,n,r){if(!t.includes("Q"))return t;let i=e.getMonth();r&&[I2,JOt,KOt,aF].includes(n)&&(i-=r>i?r-12:r);const o=parseInt(String(i/3))+1;return ud(t,"QQ|Q",function(a){return`${a.length===2?"'Quarter '":"'Q'"}${o}`})}const ZOt="years",I2="quarters",JOt="months",KOt="weeks",aF="days",sF=0,QOt=1,R2=Object.freeze({weekFirstDay:QOt,isFiscalOn:!1,fiscalMonth:sF,selectedDateLevel:aF,timeZone:"UTC"});function Y1(t,e,n=VT(),r=R2){return t.getFullYear()<100&&(t=HSt(t,1900+t.getFullYear())),r.isFiscalOn||(t=VOt(t,r.selectedDateLevel,r.fiscalMonth)),e=ROt(e,n),e=FOt(e),e=HOt(e,t,r.timeZone),e=WOt(e,t,r.timeZone,n),e=qOt(e,t,r.timeZone,r.selectedDateLevel,r.isFiscalOn,r.fiscalMonth),!r.isFiscalOn&&r.selectedDateLevel===I2&&(t=YOt(t,r.fiscalMonth)),e=XOt(e,t,r.selectedDateLevel,r.fiscalMonth),rF(t,e,{locale:n,weekStartsOn:r.weekFirstDay})}const tPt={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)"}}},ePt={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)"}}},Av=(t=!1)=>Ea(t?ePt:tPt);function lF(t,e){const n={chart:{textColor:t.dashboards.widgetTextColor,backgroundColor:t.dashboards.widgetBackgroundColor,secondaryTextColor:t.dashboards.widgetSecondaryTextColor,panelBackgroundColor:t.dashboards.panelBackgroundColor},typography:{fontFamily:t.typography.fontFamily,primaryTextColor:t.typography.primaryTextColor,secondaryTextColor:t.typography.secondaryTextColor},palette:{variantColors:e.colors},general:{brandColor:t.general.brandColor,backgroundColor:t.general.backgroundColor,primaryButtonTextColor:t.general.primaryButtonTextColor,primaryButtonHoverColor:t.general.primaryButtonHoverColor}};return di.withOptions({mergeArrays:!1},Av(),n)}function cF(t){return t.dashboards.colorPaletteName}class Cn extends nv{constructor(e,n){super(Cz,{key:e,interpolationOptions:n},Tut.t)}}function uF(t,e){return cc(this,null,function*(){const n=yield nPt(t,e);if(!n)throw new Cn("errors.themeNotFound",{themeOid:t});const r=cF(n),i=yield dF(r,e);return lF(n,i)})}function nPt(t,e){return cc(this,null,function*(){return e.get(`api/v1/themes/${t}`).catch(()=>{throw new Cn("errors.themeNotFound",{themeOid:t})})})}function dF(t,e){return cc(this,null,function*(){const n=yield e.get(`api/palettes/${t}`);if(n&&"status"in n&&n.status==="error")throw new Cn("errors.paletteNotFound",{paletteName:t});return n})}function rPt(t){return"value"in t}function iPt(t){return"valuePromise"in t}const oPt=(t,e)=>{const n=new Map;return{withCache:r=>(...i)=>cc(void 0,null,function*(){const o=t(...i);if(n.has(o)){const a=n.get(o);if(rPt(a))return a.value;if(iPt(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}),e!=null&&e.cacheMaxSize&&n.size>e.cacheMaxSize&&aPt(n),s))}}),clearCache:r=>{if(r){n.delete(r);return}n.clear()}}};function aPt(t){const e=Array.from(t.keys()),n=e.reduce((r,i)=>{const o=t.get(i),a=t.get(r);return o.createdAt<a.createdAt?i:r},e[0]);t.delete(n)}const j2=(t,e)=>{const{dataSource:n,dimensions:r=[],measures:i=[],filters:o=[],filterRelations:a,highlights:s=[],count:c,offset:l,ungroup:f}=t;o&&o.forEach(u=>u.isScope=!0),s&&s.forEach(u=>u.isScope=!0);const w=n||e;if(!w)throw new Cn("errors.executeQueryNoDataSource");return{dataSource:w,attributes:r,measures:i,filters:o,filterRelations:a,highlights:s,count:c,offset:l,ungroup:f}};function dd(t,e,n){const r=j2(t,e==null?void 0:e.defaultDataSource);return e.queryClient.executeQuery(r,n).resultPromise.catch(i=>{throw i.message.includes("SecondsLevelIsNotSupportedException")?new Cn("errors.secondsDateTimeLevelSupportedOnlyForLive"):i})}const sPt=(t,e,n)=>{const r=j2(t,e==null?void 0:e.defaultDataSource);return e.queryClient.executeCsvQuery(r,n).resultPromise},lPt=(t,e,n)=>{const{dataSource:r,rows:i=[],columns:o=[],values:a=[],grandTotals:s={},filters:c=[],filterRelations:l,highlights:f=[],count:w,offset:u}=t;c&&c.forEach(S=>S.isScope=!0),f&&f.forEach(S=>S.isScope=!0);const j=r||(e==null?void 0:e.defaultDataSource);if(!j)throw new Cn("errors.executeQueryNoDataSource");return e.queryClient.executePivotQuery({dataSource:j,rowsAttributes:i,columnsAttributes:o,measures:a,grandTotals:s,filters:c,filterRelations:l,highlights:f,count:w,offset:u},n).resultPromise},cPt=t=>JSON.stringify(ne(zt({},z4(t,!1)),{queryGuid:""})),hF=(t,e)=>{const n=j2(t,e==null?void 0:e.defaultDataSource);return cPt(n)},uPt=250,{withCache:dPt,clearCache:hPt}=oPt(hF,{cacheMaxSize:uPt}),$2=dPt(dd),pF=hPt;function Fs(t){const e="column"in t?t.column:t;return"context"in e||"aggregation"in e?!0:!("type"in e)}const wu=t=>"aggregation"in t||"context"in t||"formula"in t,_u=t=>!wu(t);function pPt(){}var z2=pPt,fPt=mT,gPt=z2;function q1(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}q1.prototype=fPt(gPt.prototype),q1.prototype.constructor=q1;var B2=q1,fF=Mf,mPt=av,vPt=no,gF=fF?fF.isConcatSpreadable:void 0;function yPt(t){return vPt(t)||mPt(t)||!!(gF&&t&&t[gF])}var bPt=yPt,xPt=JM,wPt=bPt;function mF(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=wPt),i||(i=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?mF(s,e-1,n,r,i):xPt(i,s):r||(i[i.length]=s)}return i}var vF=mF,_Pt=vF;function SPt(t){var e=t==null?0:t.length;return e?_Pt(t,1):[]}var CPt=SPt;function kPt(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var yF=kPt,MPt=yF,bF=Math.max;function TPt(t,e,n){return e=bF(e===void 0?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=bF(r.length-e,0),a=Array(o);++i<o;)a[i]=r[e+i];i=-1;for(var s=Array(e+1);++i<e;)s[i]=r[i];return s[e]=n(a),MPt(t,this,s)}}var xF=TPt;function APt(t){return function(){return t}}var EPt=APt,OPt=EPt,wF=$z,PPt=x1,DPt=wF?function(t,e){return wF(t,"toString",{configurable:!0,enumerable:!1,value:OPt(e),writable:!0})}:PPt,LPt=DPt,NPt=800,IPt=16,RPt=Date.now;function jPt(t){var e=0,n=0;return function(){var r=RPt(),i=IPt-(r-n);if(n=r,i>0){if(++e>=NPt)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var $Pt=jPt,zPt=LPt,BPt=$Pt,FPt=BPt(zPt),_F=FPt,HPt=CPt,WPt=xF,VPt=_F;function UPt(t){return VPt(WPt(t,void 0,HPt),t+"")}var F2=UPt,SF=cB,GPt=SF&&new SF,YPt=GPt;function qPt(){}var CF=qPt,kF=YPt,XPt=CF,ZPt=kF?function(t){return kF.get(t)}:XPt,MF=ZPt,JPt={},KPt=JPt,TF=KPt,QPt=Object.prototype,tDt=QPt.hasOwnProperty;function eDt(t){for(var e=t.name+"",n=TF[e],r=tDt.call(TF,e)?n.length:0;r--;){var i=n[r],o=i.func;if(o==null||o==t)return i.name}return e}var AF=eDt,nDt=mT,rDt=z2,iDt=4294967295;function X1(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=iDt,this.__views__=[]}X1.prototype=nDt(rDt.prototype),X1.prototype.constructor=X1;var H2=X1,oDt=H2,aDt=B2,sDt=pT;function lDt(t){if(t instanceof oDt)return t.clone();var e=new aDt(t.__wrapped__,t.__chain__);return e.__actions__=sDt(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var cDt=lDt,uDt=H2,EF=B2,dDt=z2,hDt=no,pDt=us,fDt=cDt,gDt=Object.prototype,mDt=gDt.hasOwnProperty;function Z1(t){if(pDt(t)&&!hDt(t)&&!(t instanceof uDt)){if(t instanceof EF)return t;if(mDt.call(t,"__wrapped__"))return fDt(t)}return new EF(t)}Z1.prototype=dDt.prototype,Z1.prototype.constructor=Z1;var vDt=Z1,yDt=H2,bDt=MF,xDt=AF,wDt=vDt;function _Dt(t){var e=xDt(t),n=wDt[e];if(typeof n!="function"||!(e in yDt.prototype))return!1;if(t===n)return!0;var r=bDt(n);return!!r&&t===r[0]}var SDt=_Dt,OF=B2,CDt=F2,kDt=MF,W2=AF,MDt=no,PF=SDt,TDt="Expected a function",ADt=8,EDt=32,ODt=128,PDt=256;function DDt(t){return CDt(function(e){var n=e.length,r=n,i=OF.prototype.thru;for(t&&e.reverse();r--;){var o=e[r];if(typeof o!="function")throw new TypeError(TDt);if(i&&!a&&W2(o)=="wrapper")var a=new OF([],!0)}for(r=a?r:n;++r<n;){o=e[r];var s=W2(o),c=s=="wrapper"?kDt(o):void 0;c&&PF(c[0])&&c[1]==(ODt|ADt|EDt|PDt)&&!c[4].length&&c[9]==1?a=a[W2(c[0])].apply(a,c[3]):a=o.length==1&&PF(o)?a[s]():a.thru(o)}return function(){var l=arguments,f=l[0];if(a&&l.length==1&&MDt(f))return a.plant(f).value();for(var w=0,u=n?e[w].apply(this,l):f;++w<n;)u=e[w].call(this,u);return u}})}var LDt=DDt,NDt=LDt,IDt=NDt(),RDt=IDt;const jDt=An(RDt),DF="composesdk",J1=(t,e,n,r=!1)=>{const i=Object.assign({action:t,cat:DF,eventType:"product",direct:!0},e);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=${t}, category=${DF}`,o)})},$Dt=(t,e)=>{const{packageName:n,packageVersion:r,component:i,error:o}=t;let a="";return typeof o=="string"?a=o:o instanceof Error&&(a=o.message||o.toString()),J1("sdkError",{packageName:n,packageVersion:r,component:i,error:a},e)},zDt=(t,e)=>$Dt(Object.assign(Object.assign({},t),{packageName:"sdk-ui"}),e),K1=sr({isInitialized:!1,tracking:{enabled:!0,packageName:"sdk-ui"}}),hr=()=>Rn(K1),BDt="sdkComponentInit",LF=sr(!1),FDt=({skipNested:t=!0,children:e})=>yt(LF.Provider,{value:t,children:e}),HDt=(t,e)=>{const{app:n,tracking:r}=hr(),i=Rn(LF),o=Jt(!1);he(()=>{if(n!=null&&n.httpClient&&!o.current&&!i){const a={packageName:r.packageName,packageVersion:"1.15.1",componentName:t,attributesUsed:Object.entries(e).filter(([,s])=>!!s).map(([s])=>s).join(", ")};J1(BDt,a,n.httpClient,!r.enabled).finally(()=>o.current=!0)}},[t,e,n,r,i])};var WDt=yu,VDt=us,UDt="[object Boolean]";function GDt(t){return t===!0||t===!1||VDt(t)&&WDt(t)==UDt}var YDt=GDt;const NF=An(YDt);let IF=class extends Dn{constructor(e){super(e),zr(this,"componentName"),zr(this,"context"),zr(this,"httpClient"),zr(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,n){zDt({packageVersion:"1.15.1",component:this.componentName,error:e},n).catch(r=>console.log("Failed to send tracking error event: ",r))}render(){return this.httpClient&&this.postponedErrors.length>0&&this.postponedErrors.forEach(e=>this.sendErrorTracking(e,this.httpClient)),this.postponedErrors=[],this.props.children}};zr(IF,"contextType",K1);const qDt=({componentName:t,config:e})=>{const{skip:n,transparent:r}=e||{};return i=>function(o){return NF(n)&&n||r1(n)&&n(o)?yt(i,zt({},o)):(HDt(t,o),yt(FDt,{skipNested:!r,children:yt(IF,{componentName:t,children:yt(i,zt({},o))})}))}},XDt="_container_1wquj_1",ZDt="_card_1wquj_11",JDt="_text_1wquj_19",V2={container:XDt,card:ZDt,text:JDt};function KDt({color:t="#FFCB05"}){return yt("svg",{width:"53px",height:"53px",viewBox:"0 0 53 53",children:yt("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:yt("g",{children:[yt("polygon",{points:"26.4996 -0.000100000005 -0.000400000001 26.5009 26.4996 52.9999 53.0006 26.5009",fill:t}),yt("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 U2=sr({themeSettings:Av()}),Kn=()=>Rn(U2),QDt=({error:t=new Cn("errors.componentRenderError")})=>{var e,n,r,i,o,a;const{themeSettings:s}=Kn(),{app:c}=hr(),{t:l}=ls(),[f,w]=ce(!1),u=()=>{w(!0)},j=()=>{w(!1)},S=yt("div",{className:"csdk-flex csdk-justify-center csdk-mb-[10px]",children:yt(KDt,{color:(e=s==null?void 0:s.general)==null?void 0:e.brandColor})}),b=t instanceof nv?l(t.key,zt({},t.interpolationOptions)):l(t instanceof Error?t.message:t),T=l("errorBoxText",{errorMessage:b,interpolation:{escapeValue:!1}}),W=(r=(n=c==null?void 0:c.settings)==null?void 0:n.errorBoundaryConfig)==null?void 0:r.alwaysShowErrorText;return yt("div",{onMouseEnter:W?void 0:u,onMouseLeave:W?void 0:j,className:V2.container,"aria-label":"error-box",children:yt("div",{className:V2.card,style:{backgroundColor:((i=s==null?void 0:s.general)==null?void 0:i.backgroundColor)||"rgba(255,255,255,0.5)"},children:[S,(W||f)&&yt("div",{className:V2.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:T})]})})};let Q1=class extends Dn{constructor(e){var n;super(e),zr(this,"showErrorBox",!0),zr(this,"context"),this.showErrorBox=(n=e.showErrorBox)!=null?n:!0,this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e){this.setState({error:e})}componentDidUpdate(e,n){n.error!==null&&tLt(e.resetKeys,this.props.resetKeys)&&this.setState({error:null})}render(){const e=this.state.error||this.props.error;return e?this.showErrorBox?yt(QDt,{error:e}):yt("div",{}):this.props.children}};function tLt(t=[],e=[]){return t.length!==e.length||t.some((n,r)=>!Object.is(n,e[r]))}const eLt=()=>t=>function(e){return yt(Q1,{resetKeys:Object.values(e),children:yt(t,zt({},e))})},nLt=({shouldSkipSisenseContextWaiting:t,customContextErrorMessageKey:e})=>n=>function(r){if(rLt(t,r))return yt(n,zt({},r));const{app:i,isInitialized:o}=hr();if(!o){const a=e||"errors.noSisenseContext";throw new Cn(a)}return i?yt(n,zt({},r)):yt(iLt,{})};function rLt(t,e){return NF(t)&&t||r1(t)&&t(e)}function iLt(){return null}function oLt(){const[t,e]=ce(null);return he(()=>{kz().initPromise.then(n=>e(n))},[]),t}const tx=({children:t,userLanguage:e})=>{const n=oLt();return he(()=>{e&&(n==null?void 0:n.language)!==e&&(n==null||n.changeLanguage(e))},[n,e]),n&&yt(Sut,{i18n:n,children:t})},aLt=()=>t=>function(e){const{isInitialized:n}=hr();return n?yt(t,zt({},e)):yt(tx,{children:yt(t,zt({},e))})},sLt=t=>e=>(e.displayName=t,e),Qn=t=>{const{componentName:e,shouldSkipSisenseContextWaiting:n,trackingConfig:r={},customContextErrorMessageKey:i}=t;return o=>jDt(sLt(e),nLt({shouldSkipSisenseContextWaiting:n,customContextErrorMessageKey:i}),qDt({componentName:e,config:r}),eLt(),aLt())(o)},Vf=(t,e)=>{const n=!t||t==="";let r,i,o;return hi(e)?(r=parseFloat(t),i=isNaN(r)):Dl(e)?(r=_v(t).valueOf(),i=isNaN(r)):(r=t,o=t==null?void 0:t.toLowerCase(),i=!1),zt({value:r,valueUndefined:n,valueIsNaN:i},o&&{lowercaseValue:o})};function RF(t,e){const n=odt(t)?t:{displayValue:t==null?void 0:t.toString()};return n.compareValue||(n.compareValue=Vf(n.displayValue,e)),n}var jF=(t=>(t[t.ASC=1]="ASC",t[t.DESC=-1]="DESC",t[t.NONE=0]="NONE",t))(jF||{});function $F(t,e,n=1,r="string"){const i=RF(t,r),o=RF(e,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 zF=class{constructor(e){zr(this,"columns",[]),this.columns=e}compare(e,n){for(let r=0;r<this.columns.length;r++){const i=this.columns[r],o=e[i.index],a=n[i.index],s=i.direction||1,c=$F(o,a,s,i.type);if(c!==0)return c}return 0}};const BF=t=>t instanceof Object&&"data"in t,lLt=t=>t.rows.length===0,Uf="$rownum",FF=t=>{let e=0;const n=t.rows.map(i=>{const o=t.columns.map((a,s)=>{var c;const l=i[s];if(BF(l)){let u=l.data.toString();if(Dl(a.type)){const j="1111-11-11T";u.startsWith(j)&&(u=u.replace(j,"1970-01-01T"))}return zt(zt({rawValue:l.data,displayValue:(c=l.text)!=null?c:u,compareValue:Vf(u,a.type)},l.blur?{blur:l.blur}:{}),l.color?{color:l.color}:{})}let f,w;return Dl(a.type)&&(f=Vf(`${l}`,a.type),w=new Date(f.value).toISOString()),{rawValue:w??l,displayValue:`${l??""}`,compareValue:f}});return e++,o.push({displayValue:`${e}`,rawValue:e}),o}),r=t.columns.map((i,o)=>({name:i.name,type:i.type,index:o,direction:0}));return r.push({name:Uf,type:"number",index:r.length,direction:0}),{columns:r,rows:n}},HF=["polar"],WF=["line","area","bar","column",...HF],VF=["pie","funnel","treemap","sunburst"],UF=["scatter"],cLt=["table"],uLt=["indicator"],GF=["boxplot"],dLt=["areamap"],hLt=["scattermap"],YF=["arearange"],Su=t=>WF.find(e=>e===t)!==void 0,Gf=t=>VF.find(e=>e===t)!==void 0,Wh=t=>UF.find(e=>e===t)!==void 0,Vh=t=>hLt.find(e=>e===t)!==void 0,Ev=t=>uLt.find(e=>e===t)!==void 0,qF=t=>HF.find(e=>e===t)!==void 0,pLt=t=>cLt.find(e=>e===t)!==void 0,Uh=t=>GF.find(e=>e===t)!==void 0,Gh=t=>dLt.find(e=>e===t)!==void 0,ex=t=>YF.find(e=>e===t)!==void 0;let XF=class{constructor(e){zr(this,"data"),zr(this,"sum"),zr(this,"max"),zr(this,"min"),zr(this,"avg"),zr(this,"variance"),zr(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,n,r)=>r.indexOf(e)===n).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((n,r)=>n.concat(Ee(r-e,2)),[]).reduce((n,r)=>n+r,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)}},fLt=class{constructor(e){zr(this,"data"),zr(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,n,r)=>r.indexOf(e)===n).length}};const ZF=(t,e)=>t.slice(0).sort((n,r)=>e.compare(n,r)),G2=(t,e)=>{if(!(t&&t.length>0))return[];const n=new zF(e),r=ZF(t,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},gLt=(t,e)=>{var n,r;const i=[];for(const o of e){let a;const s=o.column,{aggFunc:c}=o,l=t.filter(u=>!!u[s.index]&&u[s.index].displayValue!==""),f=(r=(n=l.find(u=>{var j;return u!==void 0&&((j=u==null?void 0:u[s.index])==null?void 0:j.color)}))==null?void 0:n[s.index])==null?void 0:r.color,w=l.some(u=>u[s.index].blur);if(Dl(s.type)){const u=l.map(j=>_v(j[s.index].displayValue).valueOf());a=new XF(u).getStat(c)}else if(hi(s.type)){const u=l.map(j=>parseFloat(j[s.index].displayValue));a=new XF(u).getStat(c)}else{const u=l.map(j=>j[s.index].displayValue);a=new fLt(u).getStat(c)}i.push(zt(zt({displayValue:`${a}`},f&&{color:f}),w&&{blur:w}))}return i},Y2=(t,e)=>{if(rx(t))return{columns:[],rows:[]};const n=new zF(e);return{columns:t.columns,rows:ZF(t.rows,n)}},JF=(t,e,n)=>{if(rx(t))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:Ci(t,l.column)||r})).filter(l=>l.column.index!==-1),o=G2(t.rows,e),a=i.map(l=>l.aggName),s=[];for(const l of o){const f=Ov(l[0],e),w=gLt(l,i),u=f.slice(0).concat(w);s.push(u)}const c=e.slice(0).concat(a.map(l=>({name:l,type:"number",index:0,direction:0})));return{rows:s,columns:c.map((l,f)=>ne(zt({},l),{index:f}))}},Ci=(t,e)=>t.columns.find(n=>n.name===e),Yh=(t,e)=>{const n={name:"foo",type:"string",index:-1,direction:0};return e.map(r=>Ci(t,r)||n).filter(r=>r!==n)},KF=(t,e)=>{const n=t.rows.map(r=>e.map(i=>r[i.index]));return{columns:e.map((r,i)=>ne(zt({},r),{index:i})),rows:n}},xo=(t,e)=>{if(!(t&&e.index<t.length))return;const n=t[e.index];return n.compareValue||(n.compareValue=Vf(n.displayValue,e.type)),n.compareValue.value},nx=(t,e)=>{var n;return!!((n=t[e.index])!=null&&n.blur)},Ov=(t,e)=>{const n=[];for(const r of e)n.push(t[r.index]);return n},mLt=(t,e)=>Ov(t,e).map(n=>n.rawValue||n.displayValue).join(","),q2=(t,e)=>{if(!(t&&t.length>0))return{};const n=G2(t,e),r={};for(const i of n){const o=mLt(i[0],e);r[o]=i}return r},rx=t=>!(t.rows&&t.columns&&t.rows.length>0&&t.columns.length>0),QF=({x:t,y:e,breakBy:n})=>eH(e)&&tH(t)&&n.length===0,vLt=({x:t,y:e,breakBy:n})=>tH(t)&&eH(e)&&n.length>0,tH=t=>t.length===0,eH=t=>t.length>0,yLt=(t,e)=>t*(e/100),bLt=(t,e)=>t===0?0:Math.abs(e)/Math.abs(t)*100,ix=t=>`${t}%`;var nH;(function(t){t.event="event",t.props="prop"})(nH||(nH={}));function xLt(t){switch(t){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 wLt(t,e,n){var r=xLt(n),i=t.search(/[1-9]/);return i=i===-1?t.length:i,t.substring(0,i)+t.substring(i,t.length).replace(r,"$1"+e)}function _Lt(t,e){e===void 0&&(e=!0);var n=t[0]==="-",r=n&&e;t=t.replace("-","");var i=t.split("."),o=i[0],a=i[1]||"";return{beforeDecimal:o,afterDecimal:a,hasNegation:n,addNegation:r}}function SLt(t,e,n){for(var r="",i=n?"0":"",o=0;o<=e-1;o++)r+=t[o]||i;return r}function CLt(t,e){var n=e.decimalScale,r=e.fixedDecimalScale,i=e.prefix;i===void 0&&(i="");var o=e.suffix;o===void 0&&(o="");var a=e.allowNegative,s=e.thousandsGroupStyle;if(s===void 0&&(s="thousand"),t===""||t==="-")return t;var c=kLt(e),l=c.thousandSeparator,f=c.decimalSeparator,w=n!==0&&t.indexOf(".")!==-1||n&&r,u=_Lt(t,a),j=u.beforeDecimal,S=u.afterDecimal,b=u.addNegation;return n!==void 0&&(S=SLt(S,n,!!r)),l&&(j=wLt(j,l,s)),i&&(j=i+j),o&&(S=S+o),b&&(j="-"+j),t=j+(w&&f||"")+S,t}function kLt(t){var e=t.decimalSeparator;e===void 0&&(e=".");var n=t.thousandSeparator,r=t.allowedDecimalSeparators;return n===!0&&(n=","),r||(r=[e,"."]),{decimalSeparator:e,thousandSeparator:n,allowedDecimalSeparators:r}}var MLt=HT;function TLt(t){var e=MLt(t),n=e%1;return e===e?n?e-n:e:0}var ALt=TLt,ELt=zs,OLt=ALt,PLt=Hf,rH=sT,DLt=ELt.isFinite,LLt=Math.min;function NLt(t){var e=Math[t];return function(n,r){if(n=PLt(n),r=r==null?0:LLt(OLt(r),292),r&&DLt(n)){var i=(rH(n)+"e").split("e"),o=e(i[0]+"e"+(+i[1]+r));return i=(rH(o)+"e").split("e"),+(i[0]+"e"+(+i[1]-r))}return e(n)}}var ILt=NLt,RLt=ILt,jLt=RLt("round"),$Lt=jLt;const zLt=An($Lt),X2=1e3,Z2=X2*1e3,J2=Z2*1e3,iH=J2*1e3,oH=1000.1 .toLocaleString().replace(/\d/g,""),BLt=oH[0],FLt=oH[1],HLt={name:"Numbers",decimalScale:"auto",trillion:!0,billion:!0,million:!0,kilo:!0,thousandSeparator:!0,prefix:!0,symbol:"$"},Yr=t=>zt(zt({},HLt),t||{}),WLt=(t,e)=>isNaN(e)?"":`<span>${Yf(t,e)}</span>`,VLt=(t,e)=>Math.sign(t)*zLt(Math.abs(t),e),Yf=(t,e)=>{const n=t.decimalScale!==0&&t.decimalScale!=="auto",r=t.decimalScale==="auto"?2:t.decimalScale;let i=!0;t.name==="Numbers"&&!t.thousandSeparator&&(i=void 0);let o,a,s=e;return t.name==="Percent"&&(a="%",s=e*100),(t.name==="Numbers"||t.name==="Currency")&&(t.trillion&&Math.abs(e)/iH>=1?(s=e/iH,a="T"):t.billion&&Math.abs(e)/J2>=1?(s=e/J2,a="B"):t.million&&Math.abs(e)/Z2>=1?(s=e/Z2,a="M"):t.kilo&&Math.abs(e)/X2>=1&&(s=e/X2,a="K")),t.name==="Currency"&&(t.prefix?o=t.symbol:a?a=`${a}${t.symbol}`:a=t.symbol),CLt(`${VLt(s,r)}`,{displayType:"text",thousandSeparator:i?BLt:void 0,fixedDecimalScale:n,decimalScale:r,decimalSeparator:FLt,prefix:o,suffix:a})},ni=(t,e)=>{let n=WLt(t,e);return n=n.replace("<span>",""),n=n.replace("</span>",""),n},Pv="#dcdcdc",qh="#CCCCCC",hd="#FFFFFF",ULt=["#00cee6","#9b9bd7","#6eda55","#fc7570","#fbb755","#218a8c","#08e5ff","#b3b3f7","#7efb62","#ff8a87","#ffc26a","#279fa1"],K2=t=>({type:"uniform",color:t});function GLt(t){return()=>t.color}const aH=t=>{if(t!==void 0)return typeof t=="string"?K2(t).color:t.type==="uniform"?t.color:Pv};function YLt(t){var e;const n=((e=t.conditions)!=null?e:[]).map(r=>({match:qLt(r),color:r.color}));return r=>{const i=n.find(o=>o.match(r));return i?i.color:t.defaultColor}}function qLt(t){const e=Number(t.expression);switch(t.operator){case"<":return n=>n<e;case">":return n=>n>e;case"≤":case"<=":return n=>n<=e;case"≥":case">=":return n=>n>=e;case"=":return n=>n==e;case"≠":case"!=":return n=>n!=e;default:return()=>!0}}function Gi(t,e){let n=t.length;Array.isArray(t[0])||(t=[t]),Array.isArray(e[0])||(e=e.map(a=>[a]));let r=e[0].length,i=e[0].map((a,s)=>e.map(c=>c[s])),o=t.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 Dv(t){return pd(t)==="string"}function pd(t){return(Object.prototype.toString.call(t).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function ox(t,e){t=+t,e=+e;let n=(Math.floor(t)+"").length;if(e>n)return+t.toFixed(e-n);{let r=Ee(10,n-e);return Math.round(t/r)*r}}function sH(t){if(!t)return;t=t.trim();const e=/^([a-z]+)\((.+?)\)$/i,n=/^-?[\d.]+$/;let r=t.match(e);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 lH(t){return t[t.length-1]}function ax(t,e,n){return isNaN(t)?e:isNaN(e)?t:t+(e-t)*n}function cH(t,e,n){return(n-t)/(e-t)}function Q2(t,e,n){return ax(e[0],e[1],cH(t[0],t[1],n))}function uH(t){return t.map(e=>e.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 XLt=Object.freeze({__proto__:null,interpolate:ax,interpolateInv:cH,isString:Dv,last:lH,mapRange:Q2,multiplyMatrices:Gi,parseCoordGrammar:uH,parseFunction:sH,toPrecision:ox,type:pd});let ZLt=class{add(e,n,r){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(i){this[i]=this[i]||[],n&&this[i][r?"unshift":"push"](n)},this)}run(e,n){this[e]=this[e]||[],this[e].forEach(function(r){r.call(n&&n.context?n.context:n,n)})}};const fd=new ZLt;var wc={gamut_mapping:"lch.c",precision:5,deltaE:"76"};const Rl={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function tA(t){return Array.isArray(t)?t:Rl[t]}function sx(t,e,n,r={}){if(t=tA(t),e=tA(e),!t||!e)throw new TypeError(`Missing white point to convert ${t?"":"from"}${!t&&!e?"/":""}${e?"":"to"}`);if(t===e)return n;let i={W1:t,W2:e,XYZ:n,options:r};if(fd.run("chromatic-adaptation-start",i),i.M||(i.W1===Rl.D65&&i.W2===Rl.D50?i.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:i.W1===Rl.D50&&i.W2===Rl.D65&&(i.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),fd.run("chromatic-adaptation-end",i),i.M)return Gi(i.M,i.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}const JLt=75e-6,eA=class hu{constructor(e){var n,r,i,o,a,s,c;this.id=e.id,this.name=e.name,this.base=e.base?hu.get(e.base):null,this.aliases=e.aliases,this.base&&(this.fromBase=e.fromBase,this.toBase=e.toBase);let l=(n=e.coords)!=null?n:this.base.coords;for(let w in l)"name"in l[w]||(l[w].name=w);this.coords=l;let f=(i=(r=e.white)!=null?r:this.base.white)!=null?i:"D65";this.white=tA(f),this.formats=(o=e.formats)!=null?o:{};for(let w in this.formats){let u=this.formats[w];u.type||(u.type="function"),u.name||(u.name=w)}e.cssId&&!((a=this.formats.functions)!=null&&a.color)?(this.formats.color={id:e.cssId},Object.defineProperty(this,"cssId",{value:e.cssId})):(s=this.formats)!=null&&s.color&&!((c=this.formats)!=null&&c.color.id)&&(this.formats.color.id=this.id),this.referred=e.referred,Object.defineProperty(this,"path",{value:KLt(this).reverse(),writable:!1,enumerable:!0,configurable:!0}),fd.run("colorspace-init-end",this)}inGamut(e,{epsilon:n=JLt}={}){if(this.isPolar)return e=this.toBase(e),this.base.inGamut(e,{epsilon:n});let r=Object.values(this.coords);return e.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 e,n;return((n=(e=this.formats.functions)==null?void 0:e.color)==null?void 0:n.id)||this.id}get isPolar(){for(let e in this.coords)if(this.coords[e].type==="angle")return!0;return!1}getFormat(e){if(typeof e=="object")return e=dH(e,this),e;let n;return e==="default"?n=Object.values(this.formats)[0]:n=this.formats[e],n?(n=dH(n,this),n):null}equals(e){return e?this===e||this.id===e.id:!1}to(e,n){if(arguments.length===1&&([e,n]=[e.space,e.coords]),e=hu.get(e),this.equals(e))return n;n=n.map(s=>Number.isNaN(s)?0:s);let r=this.path,i=e.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 ${e}: 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(e,n){return arguments.length===1&&([e,n]=[e.space,e.coords]),e=hu.get(e),e.to(this,n)}toString(){return`${this.name} (${this.id})`}getMinCoords(){var e;let n=[];for(let r in this.coords){let i=this.coords[r],o=i.range||i.refRange;n.push((e=o==null?void 0:o.min)!=null?e:0)}return n}static get all(){return[...new Set(Object.values(hu.registry))]}static register(e,n){if(arguments.length===1&&(n=arguments[0],e=n.id),n=this.get(n),this.registry[e]&&this.registry[e]!==n)throw new Error(`Duplicate color space registration: '${e}'`);if(this.registry[e]=n,arguments.length===1&&n.aliases)for(let r of n.aliases)this.register(r,n);return n}static get(e,...n){if(!e||e instanceof hu)return e;if(pd(e)==="string"){let r=hu.registry[e.toLowerCase()];if(!r)throw new TypeError(`No color space found with id = "${e}"`);return r}if(n.length)return hu.get(...n);throw new TypeError(`${e} is not a valid color space`)}static resolveCoord(e,n){var r;let i=pd(e),o,a;if(i==="string"?e.includes(".")?[o,a]=e.split("."):[o,a]=[,e]:Array.isArray(e)?[o,a]=e:(o=e.space,a=e.coordId),o=hu.get(o),o||(o=n),!o)throw new TypeError(`Cannot resolve coordinate reference ${e}: No color space specified and relative references are not allowed here`);if(i=pd(a),i==="number"||i==="string"&&a>=0){let l=Object.entries(o.coords)[a];if(l)return zt({space:o,id:l[0],index:a},l[1])}o=hu.get(o);let s=a.toLowerCase(),c=0;for(let l in o.coords){let f=o.coords[l];if(l.toLowerCase()===s||((r=f.name)==null?void 0:r.toLowerCase())===s)return zt({space:o,id:l,index:c},f);c++}throw new TypeError(`No "${a}" coordinate found in ${o.name}. Its coordinates are: ${Object.keys(o.coords).join(", ")}`)}};zr(eA,"registry",{}),zr(eA,"DEFAULT_FORMAT",{type:"functions",name:"color"});let fn=eA;function KLt(t){let e=[t];for(let n=t;n=n.base;)e.push(n);return e}function dH(t,{coords:e}={}){if(t.coords&&!t.coordGrammar){t.type||(t.type="function"),t.name||(t.name="color"),t.coordGrammar=uH(t.coords);let n=Object.entries(e).map(([r,i],o)=>{let a=t.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}});t.serializeCoords=(r,i)=>r.map((o,a)=>{let{fromRange:s,toRange:c,suffix:l}=n[a];return s&&c&&(o=Q2(s,c,o)),o=ox(o,i),l&&(o+=l),o})}return t}var Hs=new fn({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 Pa=class extends fn{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=Hs),e.toXYZ_M&&e.fromXYZ_M&&(e.toBase!=null||(e.toBase=n=>{let r=Gi(e.toXYZ_M,n);return this.white!==this.base.white&&(r=sx(this.white,this.base.white,r)),r}),e.fromBase!=null||(e.fromBase=n=>(n=sx(this.base.white,this.white,n),Gi(e.fromXYZ_M,n)))),e.referred!=null||(e.referred="display"),super(e)}};function hH(t,{meta:e}={}){var n,r,i,o,a;let s={str:(n=String(t))==null?void 0:n.trim()};if(fd.run("parse-start",s),s.color)return s.color;if(s.parsed=sH(s.str),s.parsed){let c=s.parsed.name;if(c==="color"){let l=s.parsed.args.shift(),f=s.parsed.rawArgs.indexOf("/")>0?s.parsed.args.pop():1;for(let u of fn.all){let j=u.getFormat("color");if(j&&(l===j.id||(r=j.ids)!=null&&r.includes(l))){const S=Object.keys(u.coords).map((b,T)=>s.parsed.args[T]||0);return e&&(e.formatId="color"),{spaceId:u.id,coords:S,alpha:f}}}let w="";if(l in fn.registry){let u=(a=(o=(i=fn.registry[l].formats)==null?void 0:i.functions)==null?void 0:o.color)==null?void 0:a.id;u&&(w=`Did you mean color(${u})?`)}throw new TypeError(`Cannot parse color(${l}). `+(w||"Missing a plugin?"))}else for(let l of fn.all){let f=l.getFormat(c);if(f&&f.type==="function"){let w=1;(f.lastAlpha||lH(s.parsed.args).alpha)&&(w=s.parsed.args.pop());let u=s.parsed.args,j;return f.coordGrammar&&(j=Object.entries(l.coords).map(([S,b],T)=>{var W;let G=f.coordGrammar[T],Y=(W=u[T])==null?void 0:W.type,U=G.find(D=>D==Y);if(!U){let D=b.name||S;throw new TypeError(`${Y} not allowed for ${D} in ${c}()`)}let $=U.range;Y==="<percentage>"&&($||($=[0,1]));let O=b.range||b.refRange;return $&&O&&(u[T]=Q2($,O,u[T])),U})),e&&Object.assign(e,{formatId:f.name,types:j}),{spaceId:l.id,coords:u,alpha:w}}}}else for(let c of fn.all)for(let l in c.formats){let f=c.formats[l];if(f.type!=="custom"||f.test&&!f.test(s.str))continue;let w=f.parse(s.str);if(w)return w.alpha!=null||(w.alpha=1),e&&(e.formatId=l),w}throw new TypeError(`Could not parse ${t} as a color. Missing a plugin?`)}function mr(t){if(!t)throw new TypeError("Empty color reference");Dv(t)&&(t=hH(t));let e=t.space||t.spaceId;return e instanceof fn||(t.space=fn.get(e)),t.alpha===void 0&&(t.alpha=1),t}function Lv(t,e){return e=fn.get(e),e.from(t)}function Ws(t,e){let{space:n,index:r}=fn.resolveCoord(e,t.space);return Lv(t,n)[r]}function pH(t,e,n){return e=fn.get(e),t.coords=e.to(t.space,n),t}function gd(t,e,n){if(t=mr(t),arguments.length===2&&pd(arguments[1])==="object"){let r=arguments[1];for(let i in r)gd(t,i,r[i])}else{typeof n=="function"&&(n=n(Ws(t,e)));let{space:r,index:i}=fn.resolveCoord(e,t.space),o=Lv(t,r);o[i]=n,pH(t,r,o)}return t}var nA=new fn({id:"xyz-d50",name:"XYZ D50",white:"D50",base:Hs,fromBase:t=>sx(Hs.white,"D50",t),toBase:t=>sx("D50",Hs.white,t),formats:{color:{}}});const QLt=216/24389,fH=24/116,lx=24389/27;let rA=Rl.D50;var hs=new fn({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:rA,base:nA,fromBase(t){let e=t.map((n,r)=>n/rA[r]).map(n=>n>QLt?Math.cbrt(n):(lx*n+16)/116);return[116*e[1]-16,500*(e[0]-e[1]),200*(e[1]-e[2])]},toBase(t){let e=[];return e[1]=(t[0]+16)/116,e[0]=t[1]/500+e[1],e[2]=e[1]-t[2]/200,[e[0]>fH?Math.pow(e[0],3):(116*e[0]-16)/lx,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/lx,e[2]>fH?Math.pow(e[2],3):(116*e[2]-16)/lx].map((n,r)=>n*rA[r])},formats:{lab:{coords:["<number> | <percentage>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}});function cx(t){return(t%360+360)%360}function tNt(t,e){if(t==="raw")return e;let[n,r]=e.map(cx),i=r-n;return t==="increasing"?i<0&&(r+=360):t==="decreasing"?i>0&&(n+=360):t==="longer"?-180<i&&i<180&&(i>0?n+=360:r+=360):t==="shorter"&&(i>180?n+=360:i<-180&&(r+=360)),[n,r]}var Nv=new fn({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:hs,fromBase(t){let[e,n,r]=t,i;const o=.02;return Math.abs(n)<o&&Math.abs(r)<o?i=NaN:i=Math.atan2(r,n)*180/Math.PI,[e,Math.sqrt(Ee(n,2)+Ee(r,2)),cx(i)]},toBase(t){let[e,n,r]=t;return n<0&&(n=0),isNaN(r)&&(r=0),[e,n*Math.cos(r*Math.PI/180),n*Math.sin(r*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number> | <percentage>","<number> | <angle>"]}}});const gH=Ee(25,7),ux=Math.PI,mH=180/ux,qf=ux/180;function iA(t,e,{kL:n=1,kC:r=1,kH:i=1}={}){let[o,a,s]=hs.from(t),c=Nv.from(hs,[o,a,s])[1],[l,f,w]=hs.from(e),u=Nv.from(hs,[l,f,w])[1];c<0&&(c=0),u<0&&(u=0);let j=(c+u)/2,S=Ee(j,7),b=.5*(1-Math.sqrt(S/(S+gH))),T=(1+b)*a,W=(1+b)*f,G=Math.sqrt(Ee(T,2)+Ee(s,2)),Y=Math.sqrt(Ee(W,2)+Ee(w,2)),U=T===0&&s===0?0:Math.atan2(s,T),$=W===0&&w===0?0:Math.atan2(w,W);U<0&&(U+=2*ux),$<0&&($+=2*ux),U*=mH,$*=mH;let O=l-o,D=Y-G,m=$-U,C=U+$,p=Math.abs(m),d;G*Y===0?d=0:p<=180?d=m:m>180?d=m-360:m<-180?d=m+360:console.log("the unthinkable has happened");let g=2*Math.sqrt(Y*G)*Math.sin(d*qf/2),E=(o+l)/2,M=(G+Y)/2,P=Math.pow(M,7),V;G*Y===0?V=C:p<=180?V=C/2:C<360?V=(C+360)/2:V=(C-360)/2;let q=Ee(E-50,2),H=1+.015*q/Math.sqrt(20+q),R=1+.045*M,I=1;I-=.17*Math.cos((V-30)*qf),I+=.24*Math.cos(2*V*qf),I+=.32*Math.cos((3*V+6)*qf),I-=.2*Math.cos((4*V-63)*qf);let A=1+.015*M*I,k=30*Math.exp(-1*Ee((V-275)/25,2)),h=2*Math.sqrt(P/(P+gH)),_=-1*Math.sin(2*k*qf)*h,y=Ee(O/(n*H),2);return y+=Ee(D/(r*R),2),y+=Ee(g/(i*A),2),y+=_*(D/(r*R))*(g/(i*A)),Math.sqrt(y)}const eNt=75e-6;function Iv(t,e=t.space,{epsilon:n=eNt}={}){t=mr(t),e=fn.get(e);let r=t.coords;return e!==t.space&&(r=e.from(t)),e.inGamut(r,{epsilon:n})}function Rv(t){return{space:t.space,coords:t.coords.slice(),alpha:t.alpha}}function md(t,{method:e=wc.gamut_mapping,space:n=t.space}={}){if(Dv(arguments[1])&&(n=arguments[1]),n=fn.get(n),Iv(t,n,{epsilon:0}))return mr(t);let r=Vs(t,n);if(e!=="clip"&&!Iv(t,n)){let i=md(Rv(r),{method:"clip",space:n});if(iA(t,i)>2){let o=fn.resolveCoord(e),a=o.space,s=o.id,c=Vs(r,a),l=(o.range||o.refRange)[0],f=.01,w=l,u=Ws(c,s);for(;u-w>f;){let j=Rv(c);j=md(j,{space:n,method:"clip"}),iA(c,j)-2<f?w=Ws(c,s):u=Ws(c,s),gd(c,s,(w+u)/2)}r=Vs(c,n)}else r=i}if(e==="clip"||!Iv(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!==t.space&&(r=Vs(r,t.space)),t.coords=r.coords,t}md.returns="color";function Vs(t,e,{inGamut:n}={}){t=mr(t),e=fn.get(e);let r=e.from(t),i={space:e,coords:r,alpha:t.alpha};return n&&(i=md(i)),i}Vs.returns="color";function dx(t,e={}){var n=e,{precision:r=wc.precision,format:i="default",inGamut:o=!0}=n,a=Vi(n,["precision","format","inGamut"]),s,c,l;let f;t=mr(t);let w=i;i=(c=(s=t.space.getFormat(i))!=null?s:t.space.getFormat("default"))!=null?c:fn.DEFAULT_FORMAT,o||(o=i.toGamut);let u=t.coords;if(u=u.map(j=>j||0),o&&!Iv(t)&&(u=md(Rv(t),o===!0?void 0:o).coords),i.type==="custom")if(a.precision=r,i.serialize)f=i.serialize(u,t.alpha,a);else throw new TypeError(`format ${w} can only be used to parse colors, not for serialization`);else{let j=i.name||"color";i.serializeCoords?u=i.serializeCoords(u,r):r!==null&&(u=u.map(W=>ox(W,r)));let S=[...u];if(j==="color"){let W=i.id||((l=i.ids)==null?void 0:l[0])||t.space.id;S.unshift(W)}let b=t.alpha;r!==null&&(b=ox(b,r));let T=t.alpha<1&&!i.noAlpha?`${i.commas?",":" /"} ${b}`:"";f=`${j}(${S.join(i.commas?", ":" ")}${T})`}return f}const nNt=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],rNt=[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]];var hx=new Pa({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:nNt,fromXYZ_M:rNt,formats:{color:{}}});const px=1.09929682680944,vH=.018053968510807;var yH=new Pa({id:"rec2020",name:"REC.2020",base:hx,toBase(t){return t.map(function(e){return e<vH*4.5?e/4.5:Math.pow((e+px-1)/px,1/.45)})},fromBase(t){return t.map(function(e){return e>=vH?px*Math.pow(e,.45)-(px-1):4.5*e})},formats:{color:{}}});const iNt=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],oNt=[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]];var bH=new Pa({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:iNt,fromXYZ_M:oNt});const aNt=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],sNt=[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]];var xH=new Pa({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:aNt,fromXYZ_M:sNt,formats:{color:{}}}),wH={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 _H=Array(3).fill("<percentage> | <number>[0, 255]"),SH=Array(3).fill("<number>[0, 255]");var jv=new Pa({id:"srgb",name:"sRGB",base:xH,fromBase:t=>t.map(e=>{let n=e<0?-1:1,r=e*n;return r>.0031308?n*(1.055*Ee(r,1/2.4)-.055):12.92*e}),toBase:t=>t.map(e=>{let n=e<0?-1:1,r=e*n;return r<.04045?e/12.92:n*Ee((r+.055)/1.055,2.4)}),formats:{rgb:{coords:_H},rgb_number:{name:"rgb",commas:!0,coords:SH,noAlpha:!0},color:{},rgba:{coords:_H,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:SH},hex:{type:"custom",toGamut:!0,test:t=>/^#([a-f0-9]{3,4}){1,2}$/i.test(t),parse(t){t.length<=5&&(t=t.replace(/[a-f0-9]/gi,"$&$&"));let e=[];return t.replace(/[a-f0-9]{2}/gi,n=>{e.push(parseInt(n,16)/255)}),{spaceId:"srgb",coords:e.slice(0,3),alpha:e.slice(3)[0]}},serialize:(t,e,{collapse:n=!0}={})=>{e<1&&t.push(e),t=t.map(i=>Math.round(i*255));let r=n&&t.every(i=>i%17===0);return"#"+t.map(i=>r?(i/17).toString(16):i.toString(16).padStart(2,"0")).join("")}},keyword:{type:"custom",test:t=>/^[a-z]+$/i.test(t),parse(t){t=t.toLowerCase();let e={spaceId:"srgb",coords:null,alpha:1};if(t==="transparent"?(e.coords=wH.black,e.alpha=0):e.coords=wH[t],e.coords)return e}}}}),CH=new Pa({id:"p3",name:"P3",base:bH,fromBase:jv.fromBase,toBase:jv.toBase,formats:{color:{id:"display-p3"}}});if(wc.display_space=jv,typeof CSS<"u"&&CSS.supports)for(let t of[hs,yH,CH]){let e=t.getMinCoords(),n=dx({space:t,coords:e,alpha:1});if(CSS.supports("color",n)){wc.display_space=t;break}}function lNt(t,e={}){var n=e,{space:r=wc.display_space}=n,i=Vi(n,["space"]);let o=dx(t,i);if(typeof CSS>"u"||CSS.supports("color",o)||!wc.display_space)o=new String(o),o.color=t;else{let a=Vs(t,r);o=new String(dx(a,i)),o.color=a}return o}function kH(t,e,n="lab"){n=fn.get(n);let r=n.from(t),i=n.from(e);return Math.sqrt(r.reduce((o,a,s)=>{let c=i[s];return isNaN(a)||isNaN(c)?o:o+Ee(c-a,2)},0))}function cNt(t,e){return t=mr(t),e=mr(e),t.space===e.space&&t.alpha===e.alpha&&t.coords.every((n,r)=>n===e.coords[r])}function vd(t){return Ws(t,[Hs,"y"])}function MH(t,e){gd(t,[Hs,"y"],e)}function uNt(t){Object.defineProperty(t.prototype,"luminance",{get(){return vd(this)},set(e){MH(this,e)}})}var dNt=Object.freeze({__proto__:null,getLuminance:vd,register:uNt,setLuminance:MH});function hNt(t,e){t=mr(t),e=mr(e);let n=Math.max(vd(t),0),r=Math.max(vd(e),0);return r>n&&([n,r]=[r,n]),(n+.05)/(r+.05)}const pNt=.56,fNt=.57,gNt=.62,mNt=.65,TH=.022,vNt=1.414,yNt=.1,bNt=5e-4,xNt=1.14,AH=.027,wNt=1.14;function EH(t){return t>=TH?t:t+Ee(TH-t,vNt)}function Xf(t){let e=t<0?-1:1,n=Math.abs(t);return e*Math.pow(n,2.4)}function _Nt(t,e){e=mr(e),t=mr(t);let n,r,i,o,a,s;e=Vs(e,"srgb"),[o,a,s]=e.coords;let c=Xf(o)*.2126729+Xf(a)*.7151522+Xf(s)*.072175;t=Vs(t,"srgb"),[o,a,s]=t.coords;let l=Xf(o)*.2126729+Xf(a)*.7151522+Xf(s)*.072175,f=EH(c),w=EH(l),u=w>f;return Math.abs(w-f)<bNt?r=0:u?(n=Ee(w,pNt)-Ee(f,fNt),r=n*xNt):(n=Ee(w,mNt)-Ee(f,gNt),r=n*wNt),Math.abs(r)<yNt?i=0:r>0?i=r-AH:i=r+AH,i*100}function SNt(t,e){t=mr(t),e=mr(e);let n=Math.max(vd(t),0),r=Math.max(vd(e),0);r>n&&([n,r]=[r,n]);let i=n+r;return i===0?0:(n-r)/i}const CNt=5e4;function kNt(t,e){t=mr(t),e=mr(e);let n=Math.max(vd(t),0),r=Math.max(vd(e),0);return r>n&&([n,r]=[r,n]),r===0?CNt:(n-r)/r}function MNt(t,e){t=mr(t),e=mr(e);let n=Ws(t,[hs,"l"]),r=Ws(e,[hs,"l"]);return Math.abs(n-r)}const TNt=216/24389,OH=24/116,fx=24389/27;let oA=Rl.D65;var aA=new fn({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:oA,base:Hs,fromBase(t){let e=t.map((n,r)=>n/oA[r]).map(n=>n>TNt?Math.cbrt(n):(fx*n+16)/116);return[116*e[1]-16,500*(e[0]-e[1]),200*(e[1]-e[2])]},toBase(t){let e=[];return e[1]=(t[0]+16)/116,e[0]=t[1]/500+e[1],e[2]=e[1]-t[2]/200,[e[0]>OH?Math.pow(e[0],3):(116*e[0]-16)/fx,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/fx,e[2]>OH?Math.pow(e[2],3):(116*e[2]-16)/fx].map((n,r)=>n*oA[r])},formats:{"lab-d65":{coords:["<number> | <percentage>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}});const sA=Math.pow(5,.5)*.5+.5;function ANt(t,e){t=mr(t),e=mr(e);let n=Ws(t,[aA,"l"]),r=Ws(e,[aA,"l"]),i=Math.abs(Math.pow(n,sA)-Math.pow(r,sA)),o=Math.pow(i,1/sA)*Math.SQRT2-40;return o<7.5?0:o}var gx=Object.freeze({__proto__:null,contrastAPCA:_Nt,contrastDeltaPhi:ANt,contrastLstar:MNt,contrastMichelson:SNt,contrastWCAG21:hNt,contrastWeber:kNt});function ENt(t,e,n={}){Dv(n)&&(n={algorithm:n});let r=n,{algorithm:i}=r,o=Vi(r,["algorithm"]);if(!i){let a=Object.keys(gx).map(s=>s.replace(/^contrast/,"")).join(", ");throw new TypeError(`contrast() function needs a contrast algorithm. Please specify one of: ${a}`)}t=mr(t),e=mr(e);for(let a in gx)if("contrast"+i.toLowerCase()===a.toLowerCase())return gx[a](t,e,o);throw new TypeError(`Unknown contrast algorithm: ${i}`)}function PH(t){let[e,n,r]=Lv(t,Hs),i=e+15*n+3*r;return[4*e/i,9*n/i]}function DH(t){let[e,n,r]=Lv(t,Hs),i=e+n+r;return[e/i,n/i]}function ONt(t){Object.defineProperty(t.prototype,"uv",{get(){return PH(this)}}),Object.defineProperty(t.prototype,"xy",{get(){return DH(this)}})}var PNt=Object.freeze({__proto__:null,register:ONt,uv:PH,xy:DH});function DNt(t,e){return kH(t,e,"lab")}const LNt=Math.PI,LH=LNt/180;function NNt(t,e,{l:n=2,c:r=1}={}){let[i,o,a]=hs.from(t),[,s,c]=Nv.from(hs,[i,o,a]),[l,f,w]=hs.from(e),u=Nv.from(hs,[l,f,w])[1];s<0&&(s=0),u<0&&(u=0);let j=i-l,S=s-u,b=o-f,T=a-w,W=Ee(b,2)+Ee(T,2)-Ee(S,2),G=.511;i>=16&&(G=.040975*i/(1+.01765*i));let Y=.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)*LH)):U=.36+Math.abs(.4*Math.cos((c+35)*LH));let $=Math.pow(s,4),O=Math.sqrt($/($+1900)),D=Y*(O*U+1-O),m=Ee(j/(n*G),2);return m+=Ee(S/(r*Y),2),m+=W/Ee(D,2),Math.sqrt(m)}const NH=203;var lA=new fn({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:Hs,fromBase(t){return t.map(e=>Math.max(e*NH,0))},toBase(t){return t.map(e=>Math.max(e/NH,0))}});const mx=1.15,vx=.66,IH=2610/Ee(2,14),INt=Ee(2,14)/2610,RH=3424/Ee(2,12),jH=2413/Ee(2,7),$H=2392/Ee(2,7),RNt=1.7*2523/Ee(2,5),zH=Ee(2,5)/(1.7*2523),yx=-.56,cA=16295499532821565e-27,jNt=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],$Nt=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],zNt=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],BNt=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]];var BH=new fn({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:lA,fromBase(t){let[e,n,r]=t,i=mx*e-(mx-1)*r,o=vx*n-(vx-1)*e,a=Gi(jNt,[i,o,r]).map(function(f){let w=RH+jH*Ee(f/1e4,IH),u=1+$H*Ee(f/1e4,IH);return Ee(w/u,RNt)}),[s,c,l]=Gi(zNt,a);return[(1+yx)*s/(1+yx*s)-cA,c,l]},toBase(t){let[e,n,r]=t,i=(e+cA)/(1+yx-yx*(e+cA)),o=Gi(BNt,[i,n,r]).map(function(w){let u=RH-Ee(w,zH),j=$H*Ee(w,zH)-jH;return 1e4*Ee(u/j,INt)}),[a,s,c]=Gi($Nt,o),l=(a+(mx-1)*c)/mx,f=(s+(vx-1)*l)/vx;return[l,f,c]},formats:{color:{}}}),uA=new fn({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:BH,fromBase(t){let[e,n,r]=t,i;const o=2e-4;return Math.abs(n)<o&&Math.abs(r)<o?i=NaN:i=Math.atan2(r,n)*180/Math.PI,[e,Math.sqrt(Ee(n,2)+Ee(r,2)),cx(i)]},toBase(t){return[t[0],t[1]*Math.cos(t[2]*Math.PI/180),t[1]*Math.sin(t[2]*Math.PI/180)]},formats:{color:{}}});function FNt(t,e){let[n,r,i]=uA.from(t),[o,a,s]=uA.from(e),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 f=i-s,w=2*Math.sqrt(r*a)*Math.sin(f/2*(Math.PI/180));return Math.sqrt(Ee(c,2)+Ee(l,2)+Ee(w,2))}const FH=3424/4096,HH=2413/128,WH=2392/128,VH=2610/16384,HNt=2523/32,WNt=16384/2610,UH=32/2523,VNt=[[.3592,.6976,-.0358],[-.1922,1.1004,.0755],[.007,.0749,.8434]],UNt=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],GNt=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-.008605050147287059,-.11103437159861648],[1.0000320633910054,.56004913547279,-.3206339100541203]],YNt=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-.04542175307585323],[-.04959554223893211,-.04942116118675749,1.1879959417328034]];var dA=new fn({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:lA,fromBase(t){let e=Gi(VNt,t);return qNt(e)},toBase(t){let e=XNt(t);return Gi(YNt,e)},formats:{color:{}}});function qNt(t){let e=t.map(function(n){let r=FH+HH*Ee(n/1e4,VH),i=1+WH*Ee(n/1e4,VH);return Ee(r/i,HNt)});return Gi(UNt,e)}function XNt(t){return Gi(GNt,t).map(function(e){let n=Math.max(Ee(e,UH)-FH,0),r=HH-WH*Ee(e,UH);return 1e4*Ee(n/r,WNt)})}function ZNt(t,e){let[n,r,i]=dA.from(t),[o,a,s]=dA.from(e);return 720*Math.sqrt(Ee(n-o,2)+.25*Ee(r-a,2)+Ee(i-s,2))}const JNt=[[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],KNt=[[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],QNt=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],tIt=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]];var bx=new fn({id:"oklab",name:"Oklab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:Hs,fromBase(t){let e=Gi(JNt,t).map(n=>Math.cbrt(n));return Gi(QNt,e)},toBase(t){let e=Gi(tIt,t).map(n=>Ee(n,3));return Gi(KNt,e)},formats:{oklab:{coords:["<percentage> | <number>","<number> | <percentage>[-1,1]","<number> | <percentage>[-1,1]"]}}});function eIt(t,e){let[n,r,i]=bx.from(t),[o,a,s]=bx.from(e),c=n-o,l=r-a,f=i-s;return Math.sqrt(Ee(c,2)+Ee(l,2)+Ee(f,2))}var xx={deltaE76:DNt,deltaECMC:NNt,deltaE2000:iA,deltaEJz:FNt,deltaEITP:ZNt,deltaEOK:eIt};function $v(t,e,n={}){Dv(n)&&(n={method:n});let r=n,{method:i=wc.deltaE}=r,o=Vi(r,["method"]);t=mr(t),e=mr(e);for(let a in xx)if("deltae"+i.toLowerCase()===a.toLowerCase())return xx[a](t,e,o);throw new TypeError(`Unknown deltaE method: ${i}`)}function nIt(t,e=.25){let n=[fn.get("oklch","lch"),"l"];return gd(t,n,r=>r*(1+e))}function rIt(t,e=.25){let n=[fn.get("oklch","lch"),"l"];return gd(t,n,r=>r*(1-e))}var iIt=Object.freeze({__proto__:null,darken:rIt,lighten:nIt});function GH(t,e,n=.5,r={}){[t,e]=[mr(t),mr(e)],pd(n)==="object"&&([n,r]=[.5,n]);let{space:i,outputSpace:o,premultiplied:a}=r;return zv(t,e,{space:i,outputSpace:o,premultiplied:a})(n)}function YH(t,e,n={}){let r;hA(t)&&([r,n]=[t,e],[t,e]=r.rangeArgs.colors);let i=n,{maxDeltaE:o,deltaEMethod:a,steps:s=2,maxSteps:c=1e3}=i,l=Vi(i,["maxDeltaE","deltaEMethod","steps","maxSteps"]);r||([t,e]=[mr(t),mr(e)],r=zv(t,e,l));let f=$v(t,e),w=o>0?Math.max(s,Math.ceil(f/o)+1):s,u=[];if(c!==void 0&&(w=Math.min(w,c)),w===1)u=[{p:.5,color:r(.5)}];else{let j=1/(w-1);u=Array.from({length:w},(S,b)=>{let T=b*j;return{p:T,color:r(T)}})}if(o>0){let j=u.reduce((S,b,T)=>{if(T===0)return 0;let W=$v(b.color,u[T-1].color,a);return Math.max(S,W)},0);for(;j>o;){j=0;for(let S=1;S<u.length&&u.length<c;S++){let b=u[S-1],T=u[S],W=(T.p+b.p)/2,G=r(W);j=Math.max(j,$v(G,b.color),$v(G,T.color)),u.splice(S,0,{p:W,color:r(W)}),S++}}}return u=u.map(j=>j.color),u}function zv(t,e,n={}){if(hA(t)){let[c,l]=[t,e];return zv(...c.rangeArgs.colors,zt(zt({},c.rangeArgs.options),l))}let{space:r,outputSpace:i,progression:o,premultiplied:a}=n;t=mr(t),e=mr(e),t=Rv(t),e=Rv(e);let s={colors:[t,e],options:n};if(r?r=fn.get(r):r=fn.registry[wc.interpolationSpace]||t.space,i=i?fn.get(i):r,t=Vs(t,r),e=Vs(e,r),t=md(t),e=md(e),r.coords.h&&r.coords.h.type==="angle"){let c=n.hue=n.hue||"shorter",l=[r,"h"],[f,w]=[Ws(t,l),Ws(e,l)];[f,w]=tNt(c,[f,w]),gd(t,l,f),gd(e,l,w)}return a&&(t.coords=t.coords.map(c=>c*t.alpha),e.coords=e.coords.map(c=>c*e.alpha)),Object.assign(c=>{c=o?o(c):c;let l=t.coords.map((u,j)=>{let S=e.coords[j];return ax(u,S,c)}),f=ax(t.alpha,e.alpha,c),w={space:r,coords:l,alpha:f};return a&&(w.coords=w.coords.map(u=>u/f)),i!==r&&(w=Vs(w,i)),w},{rangeArgs:s})}function hA(t){return pd(t)==="function"&&!!t.rangeArgs}wc.interpolationSpace="lab";function oIt(t){t.defineFunction("mix",GH,{returns:"color"}),t.defineFunction("range",zv,{returns:"function<color>"}),t.defineFunction("steps",YH,{returns:"array<color>"})}var aIt=Object.freeze({__proto__:null,isRange:hA,mix:GH,range:zv,register:oIt,steps:YH}),qH=new fn({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:jv,fromBase:t=>{let e=Math.max(...t),n=Math.min(...t),[r,i,o]=t,[a,s,c]=[NaN,0,(n+e)/2],l=e-n;if(l!==0){switch(s=c===0||c===1?0:(e-c)/Math.min(c,1-c),e){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:t=>{let[e,n,r]=t;e=e%360,e<0&&(e+=360),n/=100,r/=100;function i(o){let a=(o+e/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}}}),XH=new fn({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:qH,fromBase(t){let[e,n,r]=t;n/=100,r/=100;let i=r+n*Math.min(r,1-r);return[e,i===0?0:200*(1-r/i),100*i]},toBase(t){let[e,n,r]=t;n/=100,r/=100;let i=r*(1-n/2);return[e,i===0||i===1?0:(r-i)/Math.min(i,1-i)*100,i*100]},formats:{color:{toGamut:!0}}}),sIt=new fn({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:XH,fromBase(t){let[e,n,r]=t;return[e,r*(100-n)/100,100-r]},toBase(t){let[e,n,r]=t;n/=100,r/=100;let i=n+r;if(i>=1){let s=n/i;return[e,0,s*100]}let o=1-r,a=o===0?0:1-n/o;return[e,a*100,o*100]},formats:{hwb:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]}}});const lIt=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],cIt=[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]];var ZH=new Pa({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:lIt,fromXYZ_M:cIt}),uIt=new Pa({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:ZH,toBase:t=>t.map(e=>Math.pow(Math.abs(e),563/256)*Math.sign(e)),fromBase:t=>t.map(e=>Math.pow(Math.abs(e),256/563)*Math.sign(e)),formats:{color:{id:"a98-rgb"}}});const dIt=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],hIt=[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]];var JH=new Pa({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:nA,toXYZ_M:dIt,fromXYZ_M:hIt});const pIt=1/512,fIt=16/512;var gIt=new Pa({id:"prophoto",name:"ProPhoto",base:JH,toBase(t){return t.map(e=>e<fIt?e/16:Ee(e,1.8))},fromBase(t){return t.map(e=>e>=pIt?Ee(e,1/1.8):16*e)},formats:{color:{id:"prophoto-rgb"}}}),mIt=new fn({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:bx,fromBase(t){let[e,n,r]=t,i;const o=2e-4;return Math.abs(n)<o&&Math.abs(r)<o?i=NaN:i=Math.atan2(r,n)*180/Math.PI,[e,Math.sqrt(Ee(n,2)+Ee(r,2)),cx(i)]},toBase(t){let[e,n,r]=t,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)),[e,i,o]},formats:{oklch:{coords:["<number> | <percentage>","<number> | <percentage>[0,1]","<number> | <angle>"]}}});const KH=203,QH=2610/Ee(2,14),vIt=Ee(2,14)/2610,yIt=2523/Ee(2,5),t8=Ee(2,5)/2523,e8=3424/Ee(2,12),n8=2413/Ee(2,7),r8=2392/Ee(2,7);var bIt=new Pa({id:"rec2100pq",name:"REC.2100-PQ",base:hx,toBase(t){return t.map(function(e){return Ee(Math.max(Ee(e,t8)-e8,0)/(n8-r8*Ee(e,t8)),vIt)*1e4/KH})},fromBase(t){return t.map(function(e){let n=Math.max(e*KH/1e4,0),r=e8+n8*Ee(n,QH),i=1+r8*Ee(n,QH);return Ee(r/i,yIt)})},formats:{color:{id:"rec2100-pq"}}});const i8=.17883277,o8=.28466892,a8=.55991073,pA=3.7743;var xIt=new Pa({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:hx,toBase(t){return t.map(function(e){return e<=.5?Ee(e,2)/3*pA:(Math.exp((e-a8)/i8)+o8)/12*pA})},fromBase(t){return t.map(function(e){return e/=pA,e<=1/12?Math.sqrt(3*e):i8*Math.log(12*e-o8)+a8})},formats:{color:{id:"rec2100-hlg"}}});const s8={};fd.add("chromatic-adaptation-start",t=>{t.options.method&&(t.M=l8(t.W1,t.W2,t.options.method))}),fd.add("chromatic-adaptation-end",t=>{t.M||(t.M=l8(t.W1,t.W2,t.options.method))});function wx({id:t,toCone_M:e,fromCone_M:n}){s8[t]=arguments[0]}function l8(t,e,n="Bradford"){let r=s8[n],[i,o,a]=Gi(r.toCone_M,t),[s,c,l]=Gi(r.toCone_M,e),f=[[s/i,0,0],[0,c/o,0],[0,0,l/a]],w=Gi(f,r.toCone_M);return Gi(r.fromCone_M,w)}wx({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]]}),wx({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]]}),wx({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]]}),wx({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(Rl,{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]}),Rl.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];const wIt=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],_It=[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]];var c8=new Pa({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:Rl.ACES,toXYZ_M:wIt,fromXYZ_M:_It,formats:{color:{}}});const _x=Ee(2,-16),fA=-.35828683,Sx=(Math.log2(65504)+9.72)/17.52;var SIt=new Pa({id:"acescc",name:"ACEScc",coords:{r:{range:[fA,Sx],name:"Red"},g:{range:[fA,Sx],name:"Green"},b:{range:[fA,Sx],name:"Blue"}},referred:"scene",base:c8,toBase(t){const e=-.3013698630136986;return t.map(function(n){return n<=e?(Ee(2,n*17.52-9.72)-_x)*2:n<Sx?Ee(2,n*17.52-9.72):65504})},fromBase(t){return t.map(function(e){return e<=0?(Math.log2(_x)+9.72)/17.52:e<_x?(Math.log2(_x+e*.5)+9.72)/17.52:(Math.log2(e)+9.72)/17.52})},formats:{color:{}}}),u8=Object.freeze({__proto__:null,A98RGB:uIt,A98RGB_Linear:ZH,ACEScc:SIt,ACEScg:c8,HSL:qH,HSV:XH,HWB:sIt,ICTCP:dA,JzCzHz:uA,Jzazbz:BH,LCH:Nv,Lab:hs,Lab_D65:aA,OKLCH:mIt,OKLab:bx,P3:CH,P3_Linear:bH,ProPhoto:gIt,ProPhoto_Linear:JH,REC_2020:yH,REC_2020_Linear:hx,REC_2100_HLG:xIt,REC_2100_PQ:bIt,XYZ_ABS_D65:lA,XYZ_D50:nA,XYZ_D65:Hs,sRGB:jv,sRGB_Linear:xH});let oa=class os{constructor(...e){let n;e.length===1&&(n=mr(e[0]));let r,i,o;n?(r=n.space||n.spaceId,i=n.coords,o=n.alpha):[r,i,o]=e,Object.defineProperty(this,"space",{value:fn.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 os(this.space,this.coords,this.alpha)}toJSON(){return{spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}display(...e){let n=lNt(this,...e);return n.color=new os(n.color),n}static get(e,...n){return e instanceof os?e:new os(e,...n)}static defineFunction(e,n,r=n){let{instance:i=!0,returns:o}=r,a=function(...s){let c=n(...s);if(o==="color")c=os.get(c);else if(o==="function<color>"){let l=c;c=function(...f){let w=l(...f);return os.get(w)},Object.assign(c,l)}else o==="array<color>"&&(c=c.map(l=>os.get(l)));return c};e in os||(os[e]=a),i&&(os.prototype[e]=function(...s){return a(this,...s)})}static defineFunctions(e){for(let n in e)os.defineFunction(n,e[n],e[n])}static extend(e){if(e.register)e.register(os);else for(let n in e)os.defineFunction(n,e[n])}};oa.defineFunctions({get:Ws,getAll:Lv,set:gd,setAll:pH,to:Vs,equals:cNt,inGamut:Iv,toGamut:md,distance:kH,toString:dx}),Object.assign(oa,{util:XLt,hooks:fd,WHITES:Rl,Space:fn,spaces:fn.registry,parse:hH,defaults:wc});for(let t of Object.keys(u8))fn.register(u8[t]);for(let t in fn.registry)gA(t,fn.registry[t]);fd.add("colorspace-init-end",t=>{var e;gA(t.id,t),(e=t.aliases)==null||e.forEach(n=>{gA(n,t)})});function gA(t,e){Object.values(e.coords).map(r=>r.name);let n=t.replace(/-/g,"_");Object.defineProperty(oa.prototype,n,{get(){let r=this.getAll(t);return typeof Proxy>"u"?r:new Proxy(r,{has:(i,o)=>{try{return fn.resolveCoord([e,o]),!0}catch{}return Reflect.has(i,o)},get:(i,o,a)=>{if(o&&typeof o!="symbol"&&!(o in i)){let{index:s}=fn.resolveCoord([e,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}=fn.resolveCoord([e,o]);if(c>=0)return i[c]=a,this.setAll(t,i),!0}return Reflect.set(i,o,a,s)}})},set(r){this.setAll(t,r)},configurable:!0,enumerable:!0})}oa.extend(xx),oa.extend({deltaE:$v}),Object.assign(oa,{deltaEMethods:xx}),oa.extend(iIt),oa.extend({contrast:ENt}),oa.extend(PNt),oa.extend(dNt),oa.extend(aIt),oa.extend(gx);const d8=.15,jl=t=>typeof t=="string"?new oa(t):t,Cu=t=>t.toString({format:"hex"}),h8=(...t)=>{const e=t.map(jl);if(e.length<2)return()=>Cu(e[0]);const n=e.slice(0,-1).map((r,i)=>[r,e[i+1]]).map(([r,i])=>{const o=oa.range(r,i,{outputSpace:"srgb"});return a=>Cu(o(a))});return r=>{if(r<=0)return Cu(e[0]);if(r>=1)return Cu(e[e.length-1]);const i=Math.floor(r*n.length);return n[i](r*n.length-i)}},CIt=(t,...e)=>{const n=e.map(jl);if(n.length<2)return Array(t).fill(Cu(n[0]));const r=h8(...n);return Array(t).fill(0).map((i,o)=>r(o/(t-1)))},p8=t=>Cu(jl(t).set("hsl.s",0)),kIt=(t,e)=>Cu(oa.mix(t,e,.5,{outputSpace:"srgb"})),MIt=(t,e)=>Math.abs(jl(e).hsl.h-jl(t).hsl.h),Bv=(t,e)=>{const n=jl(t);return n.hsv.v=n.hsv.v+n.hsv.v*e,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)),Cu(n)},f8=t=>({R:t.srgb[0]*255,G:t.srgb[1]*255,B:t.srgb[2]*255}),Fv=t=>{const{R:e,G:n,B:r}=f8(t);return 1-(.299*e+.587*n+.114*r)/255};function TIt(t){return Fv(t)<.9}const Us=(t,e=.05,n=1)=>{const r=jl(t),{R:i,G:o,B:a}=f8(r),s=Fv(r);let c=e;TIt(r)&&(c*=-.6),c*=Math.exp(s*1.2);const l=Math.min(Math.max(Math.round(255*c)+i,0),255),f=Math.min(Math.max(Math.round(255*c)+o,0),255),w=Math.min(Math.max(Math.round(255*c)+a,0),255);return`rgba(${l}, ${f}, ${w}, ${n})`},$l=(t,e)=>{const n=jl(t);return n.alpha=e,Cu(n)};function AIt(t){return e=>{var n,r,i;const{steps:o,minColor:a,maxColor:s}=t,c=(n=t.minValue)!=null?n:Math.min(...e),l=(r=t.maxValue)!=null?r:Math.max(...e),f=(i=t.midValue)!=null?i:c<0&&l>0?0:(c+l)/2,w=EIt(a??Pv,s??Pv,c,f,l,o);return u=>w(u)}}const EIt=(t,e,n,r,i,o=0)=>{const a=DIt(n,r,i),s=MIt(t,e)>90?[t,p8(kIt(t,e)),e]:[t,e];return o<=0?OIt(a,s):PIt(a,o,s)},OIt=(t,e)=>{const n=h8(...e);return r=>n(t(r))},PIt=(t,e,n)=>{const r=CIt(e,...n);return i=>{const o=Math.floor(t(i)*e);return r[Math.min(Math.max(o,0),e-1)]}},DIt=(t,e,n)=>r=>r==t&&r==n?.5:r<e?.5*((r-t)/(e-t)):.5+.5*(r-e)/(n-e);function mA(t){let e;switch(typeof t=="string"?e=K2(t):e=t,e.type){case"uniform":return{type:"Static",getColor:GLt(e)};case"conditional":return{type:"Absolute",getColor:YLt(e)};case"range":return{type:"Relative",getColor:AIt(e)}}}const Cx=t=>{const{getValueFromDataStructure:e,applyColorToDataStructure:n}=t;return(r,i)=>{const o=mA(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(e),c=o.getColor(s);a=l=>c(l);break}}return r.map(s=>{const c=e(s),l=a(c);return n(s,l)})}},LIt=Cx({getValueFromDataStructure:t=>t.value,applyColorToDataStructure:(t,e)=>ne(zt({},t),{color:e})});var NIt=Yz,IIt=uv,RIt=av,jIt=no,$It=Rh,zIt=sv,BIt=l1,FIt=s1,HIt="[object Map]",WIt="[object Set]",VIt=Object.prototype,UIt=VIt.hasOwnProperty;function GIt(t){if(t==null)return!0;if($It(t)&&(jIt(t)||typeof t=="string"||typeof t.splice=="function"||zIt(t)||FIt(t)||RIt(t)))return!t.length;var e=IIt(t);if(e==HIt||e==WIt)return!t.size;if(BIt(t))return!NIt(t).length;for(var n in t)if(UIt.call(t,n))return!1;return!0}var g8=GIt;const YIt=An(g8),m8=(t,e)=>Object.assign(Object.create(t),e),v8=(t,e)=>Object.assign(Object.create(Object.getPrototypeOf(t)),t,e),y8=t=>{const e="column"in t;let n=t,r;if(e){const i=t,{column:o}=i,a=Vi(i,["column"]);n=o,YIt(a)||(r=a)}return{column:n,style:r}},Ro=t=>{var e;const{column:n,style:r}=y8(t),i=Dl(n.type)?(e=n==null?void 0:n.getFormat)==null?void 0:e.call(n):void 0,o=ne(zt({},r),{dateFormat:(r==null?void 0:r.dateFormat)||i});return m8(n,o)},Yi=t=>{var e,n;const r="column"in t,i=r?t.column:t,o=m8(i,ne(zt({},r?t:{}),{title:(n=(e=t.title)!=null?e:i.title)!=null?n:i.name,enabled:!0}));return o.aggregation=o.aggregation||"sum",o},Xh=t=>Fs(t)?Yi(t):Ro(t),b8=t=>t,qIt=t=>t,x8=t=>t,kx=t=>t,ps=t=>{var e;return(e=t.title)!=null?e:t.name},Gs=t=>kx(Ro(t)),Mx=(t,e)=>{var n;if(e.rows.length===0)return{type:"cartesian",series:[],xValues:[],xAxisCount:0};const r=t,i=r.x.length;let o=Yh(e,r.x.map(u=>u.name));o=o.map((u,j)=>ne(zt({},u),{direction:w8(r.x[j].sortType)}));const a=Yh(e,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=_8(e,s,o,((n=o[c])==null?void 0:n.direction)===0?Uf:void 0),f=r.y.map(u=>u.name),w=r.breakBy.length>0?KIt(e,l,o,f[0],a,r.breakBy):XIt(e,l,o,f,r.y);return ne(zt({},w),{xAxisCount:i,type:"cartesian"})},w8=t=>{switch(t){case"sortNone":return 0;case"sortDesc":return-1;case"sortAsc":default:return 1}},_8=(t,e,n,r)=>{if(n.length===0)return[{key:"",xValues:[""],rawValues:[]}];const i=e.map(w=>({column:w.name,agg:"sum",title:w.name}));if(r){const w={column:r,title:r,agg:"min"};i.push(w)}const o=JF(t,n,i),a=[];let s=0;if(n.length===2){s=1;const w=Ci(o,n[0].name);w&&a.push(w)}if(e.map(w=>{const u=Ci(o,w.name);return u&&a.push(ne(zt({},u),{direction:w.sortType==="sortAsc"?1:-1})),w}),r){const w=Ci(o,r);w&&a.push(w)}if(n.length>0){const w=Ci(o,n[s].name);w&&a.push(w)}const c=Y2(o,a),l=Yh(c,n.map(w=>w.name)),f=KF(c,l);return f.rows.map(w=>{const u=Ov(w,f.columns),j=u.map(T=>T.displayValue),S=u.map(T=>{var W;return(W=T.rawValue)!=null?W:T.displayValue}),b=u.map(T=>{var W;return(W=T==null?void 0:T.compareValue)==null?void 0:W.value});return{key:S.join(","),xValues:j,rawValues:S,compareValues:b}})},XIt=(t,e,n,r,i)=>{const o=Yh(t,r),a=i.reduce((l,f)=>(l[f.name]=f,l),{});if(o.length===0)return{type:"cartesian",series:[],xValues:[]};const s=q2(t.rows,n),c=o.map(l=>{let f=e.map(u=>{var j;const S=s[u.key],b=S?S[0]:[],T=xo(b,l),{color:W,rawValue:G}=(j=b[l.index])!=null?j:{};return zt({rawValue:G,xValue:u.rawValues,xDisplayValue:u.xValues,xCompareValue:u.compareValues,value:T===void 0?NaN:T,blur:nx(b,l)},W&&{color:W})});const w=a[l.name].color;return w&&(f=LIt(f,w)),{name:l.name,title:ps(a[l.name]),data:f}});return{xValues:e,series:c}},ZIt=(t,e,n)=>Ov(t,e).map((r,i)=>{const o=Yr(n[i].numberFormatConfig);return hi(e[i].type)?ni(o,parseFloat(r.displayValue)):r.displayValue}).join(","),JIt=(t,e)=>Ov(t,e).map(({rawValue:n})=>n),KIt=(t,e,n,r,i,o)=>{const a=Ci(t,r);if(!a)return{type:"cartesian",series:[],xValues:[]};const s=G2(t.rows,i).map(c=>{const l=c[0];return{seriesName:ZIt(l,i,o),seriesValues:JIt(l,i),rowsByXColumns:q2(c,n)}}).map(c=>{const l=e.map(f=>{var w;const u=c.rowsByXColumns[f.key],j=u?u[0]:[],S=xo(j,a),{color:b,rawValue:T}=(w=j[a.index])!=null?w:{};return zt({rawValue:T,value:S===void 0?NaN:S,xValue:f.rawValues,xDisplayValue:f.xValues,xCompareValue:f.compareValues,blur:nx(j,a)},b&&{color:b})});return{name:c.seriesName,data:l,custom:{rawValue:c.seriesValues}}});return{xValues:e,series:s}},QIt=(t,e)=>{const n=ne(zt({},t),{x:t.breakBy,breakBy:[]});let r=Mx(n,e);if(t.breakBy.some(i=>hi(i.type)&&(i==null?void 0:i.numberFormatConfig))){const i=r.xValues.map(o=>{const a=[];return t.breakBy.forEach((s,c)=>{const l=Yr(s==null?void 0:s.numberFormatConfig),f=o.xValues[c];hi(s.type)?a.push(ni(l,parseFloat(f))):a.push(o.xValues[c])}),ne(zt({},o),{xValues:a})});r=ne(zt({},r),{xValues:i})}return ne(zt({},r),{type:"categorical"})},t3t={displayValue:"0"},Hv=(t,e)=>{if(e){for(let n=0;n<t.columns.length;n++)if(t.columns[n].name===e.name)return n}return-1},e3t=(t,e)=>({x:Hv(e,t.x),y:Hv(e,t.y),breakByPoint:Hv(e,t.breakByPoint),breakByColor:Hv(e,t.breakByColor),size:Hv(e,t.size)}),S8=(t,e)=>e[t]||t3t,n3t=(t,e)=>{const n=new Set;return t.forEach(r=>{n.add(r[e].displayValue)}),Array.from(n.values())},C8=(t,e,n)=>{if(n&&_u(n))return n3t(t,e)},k8=(t,e)=>[t,e],r3t=(t,e)=>{const n=new Map(t==null?void 0:t.map(k8)),r=new Map(e==null?void 0:e.map(k8));return{xCategoriesMap:n,yCategoriesMap:r}},i3t=(t,e)=>{var n,r;const i=e3t(t,e),o=t!=null&&t.breakByPoint&&hi(t.breakByPoint.type)?Yr((n=t.breakByPoint)==null?void 0:n.numberFormatConfig):void 0,a=t!=null&&t.breakByColor&&(!_u(t.breakByColor)||hi(t.breakByColor.type))?Yr((r=t.breakByColor)==null?void 0:r.numberFormatConfig):void 0;return e.rows.map(s=>{const c=zt({},s[i.breakByPoint]);o&&(c.displayValue=ni(o,c.compareValue?c.compareValue.value:parseFloat(c.displayValue)));const l=zt({},s[i.breakByColor]);return a&&(l.displayValue=ni(a,l.compareValue?l.compareValue.value:parseFloat(l.displayValue))),{xAxis:S8(i.x,s),yAxis:S8(i.y,s),breakByPoint:c,breakByColor:l,size:s[i.size]}})},o3t=(t,e)=>{const n=i3t(t,e),{x:r,y:i}=t,o=C8(n,"xAxis",r),a=C8(n,"yAxis",i);return{type:"scatter",scatterDataTable:n,xCategories:o,yCategories:a}},Tx=(t,e)=>{if(!e||e.length!==1)return[void 0,void 0];const n=Ci(t,e[0].name);return n?[xo(t.rows[0],n),e[0].name]:[void 0,void 0]},a3t=(t,e)=>{const n={type:"indicator"};if(!t.value||e.rows.length===0)return n;const[r]=Tx(e,t.value);if(r===void 0)return n;const[i]=Tx(e,t.secondary),[o]=Tx(e,t.min),[a]=Tx(e,t.max);return{type:"indicator",value:r,secondary:i,min:o,max:a}},s3t=(t,e)=>{const n=t.category&&Ci(e,t.category.name);n&&(n.direction=w8(t.category.sortType));const r=_8(e,[],n?[n]:[],(n==null?void 0:n.direction)===0?Uf:void 0),i=q2(e.rows,n?[n]:[]),o=Ci(e,t.boxMin.name),a=Ci(e,t.boxMedian.name),s=Ci(e,t.boxMax.name),c=Ci(e,t.whiskerMin.name),l=Ci(e,t.whiskerMax.name),f=t.outliers&&Ci(e,t.outliers.name),w=[],u=[];r.forEach((S,b)=>{const T=i[S.key],W=T?T[0]:[],G=n&&nx(W,n);w.push({q1:o?xo(W,o):0,median:a?xo(W,a):0,q3:s?xo(W,s):0,low:c?xo(W,c):0,high:l?xo(W,l):0,blur:G});const Y=f?W[f.index].rawValue.split(",").map(U=>parseFloat(U)):[];u.push(...Y.map(U=>({x:b,y:U,blur:G})))});const j=[{name:t.valueTitle,title:t.valueTitle,data:w}];return u.length>0&&j.push({name:t.valueTitle,title:t.valueTitle,data:u}),{type:"boxplot",xValues:r,series:j}},fs=(t,e)=>{var n;const r=t==null?void 0:t.filter(i=>i);return(n=r&&r[e%r.length])!=null?n:ULt[e%10]},l3t=(t,e)=>{let n={type:"range",steps:t.steps};if(t.rangeMode!=="auto"){const a=parseFloat(`${t.minvalue}`),s=parseFloat(`${t.midvalue}`),c=parseFloat(`${t.maxvalue}`);n=zt(zt(zt(zt({},n),a&&{minValue:a}),s&&{midValue:s}),c&&{maxValue:c})}const r=fs(e,0),i=Bv(r,.2),o=Bv(r,-.2);switch(t.rangeMode){case"auto":return ne(zt({},n),{minColor:p8(r),maxColor:o});case"both":return ne(zt({},n),{minColor:t.min||i,maxColor:t.max||o});case"min":return ne(zt({},n),{minColor:t.min||i,maxColor:Pv});case"max":return ne(zt({},n),{minColor:Pv,maxColor:t.max||o})}},M8=(t,e)=>{if(t!==void 0)switch(t.type){case"color":return{type:"uniform",color:t.color||fs(e,t.colorIndex||0)};case"range":return l3t(t,e);case"condition":return{type:"conditional",conditions:t.conditions.filter(n=>typeof n.expression=="string"),defaultColor:fs(e,0)};default:return K2(fs(e,0))}},Ax=t=>Object.entries(t).reduce((e,[n,{color:r}])=>(e[n]=r,e),{}),c3t=t=>t.reduce((e,n)=>{var r,i;return(r=n.format)!=null&&r.members&&(e[e1(n.jaql.title)]=Ax((i=n.format)==null?void 0:i.members)),e},{}),u3t=Cx({getValueFromDataStructure:t=>t.originalValue,applyColorToDataStructure:(t,e)=>ne(zt({},t),{color:e})}),d3t=M8({type:"range",steps:5,rangeMode:"auto"}),h3t=(t,e)=>{const n=Ci(e,t.geo.name),r=Ci(e,t.color.name);if(!n||!r)throw new Error("Missing required column");const i=e.rows.map(o=>{const a=xo(o,r),s=Yr(t.color.numberFormatConfig),c=ni(s,a);return{geoName:xo(o,n),originalValue:a,formattedOriginalValue:c}});return{type:"areamap",geoData:u3t(i,t.color.color||d3t)}};function p3t(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}var f3t=p3t,g3t=f3t;function m3t(t,e,n){var r=t.length;return n=n===void 0?r:n,!e&&n>=r?t:g3t(t,e,n)}var v3t=m3t;function y3t(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}var b3t=y3t;function x3t(t){return t!==t}var w3t=x3t;function _3t(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}var S3t=_3t,C3t=b3t,k3t=w3t,M3t=S3t;function T3t(t,e,n){return e===e?M3t(t,e,n):C3t(t,k3t,n)}var vA=T3t,A3t=vA;function E3t(t,e){for(var n=t.length;n--&&A3t(e,t[n],0)>-1;);return n}var O3t=E3t,P3t=vA;function D3t(t,e){for(var n=-1,r=t.length;++n<r&&P3t(e,t[n],0)>-1;);return n}var L3t=D3t;function N3t(t){return t.split("")}var I3t=N3t,R3t="\\ud800-\\udfff",j3t="\\u0300-\\u036f",$3t="\\ufe20-\\ufe2f",z3t="\\u20d0-\\u20ff",B3t=j3t+$3t+z3t,F3t="\\ufe0e\\ufe0f",H3t="\\u200d",W3t=RegExp("["+H3t+R3t+B3t+F3t+"]");function V3t(t){return W3t.test(t)}var U3t=V3t,T8="\\ud800-\\udfff",G3t="\\u0300-\\u036f",Y3t="\\ufe20-\\ufe2f",q3t="\\u20d0-\\u20ff",X3t=G3t+Y3t+q3t,Z3t="\\ufe0e\\ufe0f",J3t="["+T8+"]",yA="["+X3t+"]",bA="\\ud83c[\\udffb-\\udfff]",K3t="(?:"+yA+"|"+bA+")",A8="[^"+T8+"]",E8="(?:\\ud83c[\\udde6-\\uddff]){2}",O8="[\\ud800-\\udbff][\\udc00-\\udfff]",Q3t="\\u200d",P8=K3t+"?",D8="["+Z3t+"]?",t5t="(?:"+Q3t+"(?:"+[A8,E8,O8].join("|")+")"+D8+P8+")*",e5t=D8+P8+t5t,n5t="(?:"+[A8+yA+"?",yA,E8,O8,J3t].join("|")+")",r5t=RegExp(bA+"(?="+bA+")|"+n5t+e5t,"g");function i5t(t){return t.match(r5t)||[]}var o5t=i5t,a5t=I3t,s5t=U3t,l5t=o5t;function c5t(t){return s5t(t)?l5t(t):a5t(t)}var u5t=c5t,d5t=PB,h5t=D6,p5t=v3t,f5t=O3t,g5t=L3t,L8=u5t,m5t=sT;function v5t(t,e,n){if(t=m5t(t),t&&(n||e===void 0))return h5t(t);if(!t||!(e=d5t(e)))return t;var r=L8(t),i=L8(e),o=g5t(r,i),a=f5t(r,i)+1;return p5t(r,o,a).join("")}var y5t=v5t;const b5t=An(y5t),N8=",";function x5t(t){return t.join(`${N8} `)}function w5t(t){return t.split(N8).map(b5t)}function _5t(t){switch(t){case"city":return"city";case"state":return"adm";case"country":return"country"}}function S5t(t){const{name:e,rawName:n,coordinates:r,value:i}=t;return{categories:n,displayName:e,coordinates:{lat:r.lat,lng:r.lng},value:i}}const C5t="N\\A",k5t=1,M5t=(t,e)=>{const n=T5t(t),r=t.locations&&Yh(e,t.locations.map(({name:s})=>s)),i=t.size&&Ci(e,t.size.name),o=t.colorBy&&Ci(e,t.colorBy.name),a=t.details&&Ci(e,t.details.name);return{type:"scattermap",locations:e.rows.filter(s=>r.some(c=>xo(s,c)!==C5t)).map(s=>{const c=r.map(u=>xo(s,u)),l=x5t(c);let f;n&&(f={lat:xo(s,r[0]),lng:xo(s,r[1])});const w=r[0]&&nx(s,r[0]);return zt(ne(zt(zt({name:l,rawName:c,value:i?xo(s,i):k5t},o&&{colorValue:xo(s,o)}),a&&{details:xo(s,a)}),{blur:w}),f?{coordinates:f}:null)})}};function T5t(t){return t.locations.length===2&&t.locations.filter(e=>hi(e.type)).length===2}const A5t=(t,e)=>{const n=()=>ne(zt({},t),{y:[]}),r=n(),i=n(),o=1,a=0;t.rangeValues.forEach(l=>{const f=l[o],w=l[a];r.y.push(f),i.y.push(w)});const s=Mx(r,e),c=Mx(i,e);return ne(zt({},s),{type:"range",seriesOther:c})},E5t=(t,e,n)=>{if(Su(t))return Mx(e,n);if(Gf(t))return QIt(e,n);if(Wh(t))return o3t(e,n);if(Vh(t))return M5t(e,n);if(Ev(t))return a3t(e,n);if(Uh(t))return s3t(e,n);if(Gh(t))return h3t(e,n);if(ex(t))return A5t(e,n);throw new Error(`Unexpected chart type: ${t}`)};var O5t=x1,P5t=xF,D5t=_F;function L5t(t,e){return D5t(P5t(t,e,O5t),t+"")}var Ex=L5t,N5t=vA;function I5t(t,e){var n=t==null?0:t.length;return!!n&&N5t(t,e,0)>-1}var R5t=I5t;function j5t(t,e,n){for(var r=-1,i=t==null?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}var $5t=j5t,xA=lB,z5t=CF,B5t=XM,F5t=1/0,H5t=xA&&1/B5t(new xA([,-0]))[1]==F5t?function(t){return new xA(t)}:z5t,W5t=H5t,V5t=Zz,U5t=R5t,G5t=$5t,Y5t=Jz,q5t=W5t,X5t=XM,Z5t=200;function J5t(t,e,n){var r=-1,i=U5t,o=t.length,a=!0,s=[],c=s;if(n)a=!1,i=G5t;else if(o>=Z5t){var l=e?null:q5t(t);if(l)return X5t(l);a=!1,i=Y5t,c=new V5t}else c=e?[]:s;t:for(;++r<o;){var f=t[r],w=e?e(f):f;if(f=n||f!==0?f:0,a&&w===w){for(var u=c.length;u--;)if(c[u]===w)continue t;e&&c.push(w),s.push(f)}else i(c,w,n)||(c!==s&&c.push(w),s.push(f))}return s}var I8=J5t,K5t=Rh,Q5t=us;function tRt(t){return Q5t(t)&&K5t(t)}var R8=tRt,eRt=vF,nRt=Ex,rRt=I8,iRt=R8,oRt=nRt(function(t){return rRt(eRt(t,1,iRt,!0))}),aRt=oRt;const sRt=An(aRt),j8=(t,e,n,r={})=>{if(rx(t))return{rows:[],columns:[]};const i=sRt(Yh(t,e.map(l=>l.name))),o=t,a=[...n.map(l=>{var f,w;return{column:(f=r[l.name])!=null?f:l.name,title:l.name,agg:(w=l.aggregation)!=null?w:"sum"}}),{column:Uf,title:Uf,agg:"min"}],s=JF(o,i,a),c=Ci(s,Uf);if(!c)throw new Error("Unexpected data has no row num column");return Y2(s,[c])};let Wv=class{degToRad(e){return e*Math.PI/180}getFitStringMeasure(e,n,r,i){e.font=i;let o=this.getStringWidth(e,n);const a="…",s=this.getStringWidth(e,a);if(o<=r)return{string:n,width:o};if(s>=r)return{string:a,width:s};do n=n.slice(0,n.length-1),o=this.getStringWidth(e,n);while(o+s>r);return{string:n+a,width:o+s}}getStringWidth(e,n){return Math.ceil(e.measureText(n).width)}floor(e,n){n=typeof n=="number"?n:0;const r=Math.pow(10,n);return Math.round(e*r)/r}setCanvasSizes(e,n,r,i){const o=window.devicePixelRatio||1;e.width=r*o,e.height=i*o,e.style.width=r+"px",e.style.height=i+"px",n.scale(o,o)}};const Zf=new Wv,Zh=function(t,e){return Zf.floor(t*e.value,e.decimals)};function lRt(t,e){const n={};return t.forEach(r=>{e.some(function(i){return i.key===r?(n[r]=i,!0):!1})}),n}function cRt(t,e,n){const{showTitle:r,showSecondary:i,skin:o,maxHeight:a,maxWidth:s,borderWidth:c}=n;for(let l=0;l<e.length;l++){const f=e[l],w=f.value,u=Zh(w,t.valueSectionMarginBottom),j=Zh(w,t.indicatorVerticalMargin)*2;let S=w+u+j;if(r&&o==="vertical"){const b=Zh(w,t.titleSectionHeight);S+=b}if(i){const b=Zh(w,t.secSectionHeight),T=Zh(w,t.secSectionMarginTop);S+=b+T+(c||0)}if(S<=a){const b=Zh(w,t.numericMinWidth),T=Zh(w,t.indicatorHorizontalMargin)*2;if(b+T<=s)return ne(zt({},f),{maxWidth:s-T,maxHeight:a-j})}}return null}let uRt=class{getBaseMeasure(e,n,r){const i=n,o="sizes"in i?i.sizes:[],a=i.relativeSizes,s=i.measureKeys.concat(),c=Math.floor(r.clientWidth),l=Math.floor(r.clientHeight),f=lRt(s,a);return cRt(f,o,{maxWidth:c,maxHeight:l,showTitle:e.showTitle,showSecondary:e.showSecondary,skin:e.skin,borderWidth:"borderWidth"in i?i.borderWidth:0})}render(e,n,r,i){const o=e.getContext("2d");let a;r.height=i.value,r.maxWidth=i.maxWidth,r.maxHeight=i.maxHeight,a=r.height,r.fitValueMeasure=this.getFitValueMeasure(o,n,r),n.showTitle&&(r.fitTitleMeasure=this.getFitTitleMeasure(o,n,r),a+=n.skin==="vertical"?r.titleSectionHeight:0),n.showSecondary&&(r.fitSecondaryMeasure=this.getFitSecondaryMeasure(o,n,r),a+=r.valueSectionMarginBottom+r.secSectionHeight+r.secSectionMarginTop+r.borderWidth);const s=this.getCanvasWidth(n,r);r.width=s,r.height=a,Zf.setCanvasSizes(e,o,s,a),this.draw(o,n,r)}getFitTitleMeasure(e,n,r){const i=n.skin==="horizontal",o=r.maxWidth-(i?r.fitValueMeasure.width+r.valueSectionMarginRight:0);if(i&&o+r.titleSectionMinWidth<=0)return;const a=Zf.getFitStringMeasure(e,n.title.text,o,r.titleFont);return a.width+=i?r.valueSectionMarginRight:0,a.key="title",a}getFitValueMeasure(e,n,r){const i=Zf.getFitStringMeasure(e,n.value.text,r.maxWidth,r.valueFont);return i.key="value",i}getFitSecondaryMeasure(e,n,r){const i=r.secDividerWidth,o=r.maxWidth-i,a=o-r.secTitleMinWidth,s=Zf.getFitStringMeasure(e,n.secondary.text,a,r.secondaryValueFont),c=o-s.width,l=Zf.getFitStringMeasure(e,n.secondaryTitle.text,c,r.secondaryTitleFont);return{width:l.width+s.width+i,titleString:l.string,valueString:s.string,key:"secondary"}}getCanvasWidth(e,n){let r;const i=n.fitTitleMeasure,o=n.fitValueMeasure,a=n.fitSecondaryMeasure;if(n.fitMeasures.some(s=>{const c=n[s.key],l=e[s.dataKey];return!!(c&&l&&c[s.prop]!==l.text)}))return n.maxWidth;if(e.skin==="vertical"){let s=i&&i.width>o.width?i:o;s=a&&a.width>s.width?a:s,r=s.width}else r=o.width,i&&(r+=i.width),a&&a.width>r&&(r=a.width);return r}draw(e,n,r){this.clearCanvas(e,r),this.drawValue(e,n,r),n.showTitle&&this.drawTitle(e,n,r),n.showSecondary&&this.drawSecondary(e,r)}clearCanvas(e,n){e.fillStyle=n.backgroundColor,e.fillRect(0,0,n.width,n.height)}drawTitle(e,n,r){!r.fitTitleMeasure||n.skin==="horizontal"&&r.fitValueMeasure.string!==n[r.fitValueMeasure.key].text||(e.font=r.titleFont,e.fillStyle=r.titleColor,n.skin==="vertical"?(e.textAlign="center",e.textBaseline="middle",e.fillText(r.fitTitleMeasure.string,r.width/2,r.titleSectionHeight/2)):(e.textAlign="left",e.textBaseline="top",e.fillText(r.fitTitleMeasure.string,r.fitValueMeasure.width+r.valueSectionMarginRight,r.titleSectionMarginTop)))}drawValue(e,n,r){const i=n.skin==="vertical";e.fillStyle=r.valueColor||n.color,e.font=r.valueFont,e.textAlign=i?"center":"left",e.textBaseline="middle",e.fillText(r.fitValueMeasure.string,i?r.width/2:0,(n.showTitle&&i?r.titleSectionHeight:0)+r.valueSectionHeight/2)}drawSecondary(e,n){let r=n.height-n.secSectionHeight/2;e.font=n.secondaryTitleFont,e.fillStyle=n.secondaryTitleColor,e.textAlign="left",e.textBaseline="middle",e.fillText(n.fitSecondaryMeasure.titleString,0,r),e.font=n.secondaryValueFont,e.fillStyle=n.secondaryValueColor,e.textAlign="right",e.fillText(n.fitSecondaryMeasure.valueString,n.width,r),e.strokeStyle=n.borderColor,e.beginPath(),r=n.height-n.secSectionHeight-n.secSectionMarginTop-n.borderWidth,e.moveTo(0,r),e.lineTo(n.width,r),e.stroke()}};const Jf=new Wv,Ox=function(t,e){return Jf.floor(t*e.value,e.decimals)};function dRt(t,e){const n={};return t.forEach(r=>{e.some(function(i){return i.key===r?(n[r]=i,!0):!1})}),n}function hRt(t,e,n){const{showTitle:r,showSecondary:i,maxHeight:o,maxWidth:a,bracketThickness:s}=n;for(let c=0;c<e.length;c++){const l=e[c],f=l.value,w=Ox(f,t.indicatorMargin);let u=f+w;if(r){const j=Ox(f,t.titleSectionHeight);u+=j}if(i){const j=Ox(f,t.secSectionHeight);u+=j}if(u<=o){const j=Ox(f,t.numericMinWidth),S=w*2;if(j+s*2+S<=a)return ne(zt({},l),{maxWidth:a-S,maxHeight:o-w})}}return null}let pRt=class{getBaseMeasure(e,n,r){const i=n,o="sizes"in i?i.sizes:[],a=i.relativeSizes,s=i.measureKeys.concat(),c=Math.floor(r.clientWidth),l=Math.floor(r.clientHeight),f=dRt(s,a);return hRt(f,o,{maxWidth:c,maxHeight:l,showTitle:e.showTitle,showSecondary:e.showSecondary,bracketThickness:i.bracketThickness})}render(e,n,r,i){const o=e.getContext("2d");let a;r.height=i.value,r.maxWidth=i.maxWidth,r.maxHeight=i.maxHeight,r.offsetY=0,a=r.height,n.showTitle&&(r.fitTitleMeasure=this.getFitTitleMeasure(o,n,r),a+=r.titleSectionHeight),r.fitValueMeasure=this.getFitValueMeasure(o,n,r),n.showSecondary&&(r.fitSecondaryMeasure=this.getFitSecondaryMeasure(o,n,r),a+=r.secSectionHeight);const s=this.getCanvasWidth(n,r);r.width=s,r.height=a,Jf.setCanvasSizes(e,o,s,a),this.draw(o,n,r)}getFitTitleMeasure(e,n,r){const i=r.bracketWidth*2+r.titleHorizontalMargin*2,o=r.maxWidth-i,a=Jf.getFitStringMeasure(e,n.title.text,o,r.titleFont);return a.width+=i,a.key="title",a}getFitValueMeasure(e,n,r){const i=r.bracketThickness*2,o=r.maxWidth-i,a=Jf.getFitStringMeasure(e,n.value.text,o,r.valueFont);return a.width+=i,a.key="value",a}getFitSecondaryMeasure(e,n,r){const i=r.bracketWidth*2+r.secDividerWidth,o=r.maxWidth-i,a=o-r.secTitleMinWidth,s=Jf.getFitStringMeasure(e,n.secondary.text,a,r.secondaryValueFont),c=o-s.width,l=Jf.getFitStringMeasure(e,n.secondaryTitle.text,c,r.secondaryTitleFont);return{width:l.width+s.width+i,titleString:l.string,valueString:s.string,key:"secondary"}}getCanvasWidth(e,n){let r=n.numericMinWidth+n.bracketThickness*2;const i=n.fitTitleMeasure,o=n.fitValueMeasure;let a=i&&i.width>o.width?i:o;const s=n.fitSecondaryMeasure,c=s&&s.width>a.width;let l;return a=c?s:a,c?l=a.titleString!==e.secondaryTitle.text||a.valueString!==e.secondary.text:l=a.string!==e[a.key].text,l?r=n.maxWidth:a.width>r&&(r=a.width),r}draw(e,n,r){this.clearCanvas(e,r),n.showTitle&&this.drawTitle(e,r),this.drawValue(e,n,r),n.showSecondary&&this.drawSecondary(e,r),(n.showTitle||n.showSecondary)&&this.drawBrackets(e,n,r)}clearCanvas(e,n){e.fillStyle=n.backgroundColor,e.fillRect(0,0,n.width,n.height)}drawTitle(e,n){e.font=n.titleFont,e.fillStyle=n.titleColor,e.textAlign="center",e.textBaseline="middle",e.fillText(n.fitTitleMeasure.string,n.width/2,n.titleSectionHeight/2),n.offsetY+=n.titleSectionHeight}drawValue(e,n,r){const i=r.offsetY;e.fillStyle=r.valueColor,e.fillRect(1,i,r.width-r.bracketThickness*2,r.valueSectionHeight),e.font=r.valueFont,e.fillStyle="white",e.textAlign="center",e.textBaseline="middle",e.fillText(r.fitValueMeasure.string,r.width/2,i+r.valueSectionHeight/2)}drawSecondary(e,n){const r=n.height-n.secBottomMargin;e.font=n.secondaryTitleFont,e.fillStyle=n.secondaryTitleColor,e.textAlign="left",e.textBaseline="bottom",e.fillText(n.fitSecondaryMeasure.titleString,n.bracketWidth,r),e.font=n.secondaryValueFont,e.fillStyle=n.secondaryValueColor,e.textAlign="right",e.textBaseline="bottom",e.fillText(n.fitSecondaryMeasure.valueString,n.width-n.bracketWidth,r)}drawBrackets(e,n,r){e.strokeStyle=r.bracketColor,e.beginPath(),n.showTitle?(e.moveTo(r.bracketWidth+.5,.5),e.lineTo(.5,.5)):e.moveTo(.5,.5),e.lineTo(.5,r.height-.5),n.showSecondary&&e.lineTo(r.bracketWidth+.5,r.height-.5),e.stroke(),n.showTitle?(e.moveTo(r.width-(r.bracketWidth+.5),.5),e.lineTo(r.width-.5,.5)):e.moveTo(r.width-.5,.5),e.lineTo(r.width-.5,r.height-.5),n.showSecondary&&e.lineTo(r.width-(r.bracketWidth+.5),r.height-.5),e.stroke(),e.closePath()}};const pi=new Wv,Kf=function(t,e){return pi.floor(t*e.value,e.decimals)};function fRt(t,e){const n={};return t.forEach(r=>{e.some(function(i){return i.key===r?(n[r]=i,!0):!1})}),n}function gRt(t,e,n){const{maxWidth:r,maxHeight:i,showTitle:o,showSecondary:a}=n;for(let s=0;s<e.length;s++){const c=e[s],l=c.value,f=Kf(l,t.valueSectionHeight),w=Kf(l,t.indicatorMargin),u=Math.ceil(w*1.5);let j=l+f+u;if(o){const S=Kf(l,t.titleSectionHeight);j+=S}if(a){const S=Kf(l,t.secSectionHeight);j+=S}if(j<=i){const S=Kf(l,t.gaugeWidth),b=Kf(l,t.bracketWidth),T=w*2;if(S+b*2+T<=r)return ne(zt({},c),{maxWidth:r-T,maxHeight:i-u})}}return null}let mRt=class{getBaseMeasure(e,n,r){const i=n,o="gaugeHeights"in i?i.gaugeHeights:void 0;if(!o)return null;const a=i.relativeSizes,s=i.measureKeys.concat(),c=Math.floor(r.clientWidth),l=Math.floor(r.clientHeight),f=fRt(s,a);return gRt(f,o,{maxWidth:c,maxHeight:l,showTitle:e.showTitle,showSecondary:e.showSecondary})}render(e,n,r,i){const o=e.getContext("2d");let a=0,s;r.gaugeHeight=i.value,r.size=i.size,r.maxWidth=i.maxWidth,r.maxHeight=i.maxHeight,r.offsetY=0,s=r.gaugeHeight+r.valueSectionHeight,n.showTitle&&(r.fitTitleMeasure=this.getFitTitleMeasure(o,n,r),s+=r.titleSectionHeight),r.fitValueMeasure=this.getFitValueMeasure(o,n,r),n.showSecondary&&(r.fitSecondaryMeasure=this.getFitSecondaryMeasure(o,n,r),s+=r.secSectionHeight),a=this.getCanvasWidth(n,r),r.width=a,r.height=s,pi.setCanvasSizes(e,o,a,s),this.draw(o,n,r)}getFitTitleMeasure(e,n,r){const i=r.bracketWidth*2+r.titleHorizontalMargin*2,o=r.maxWidth-i,a=pi.getFitStringMeasure(e,n.title.text,o,r.titleFont);return a.width+=i,a.key="title",a}getFitValueMeasure(e,n,r){const i=r.bracketThickness*2,o=r.maxWidth-i,a=pi.getFitStringMeasure(e,n.value.text,o,r.valueFont);return a.width+=i,a.key="value",a}getFitSecondaryMeasure(e,n,r){const i=r.bracketWidth*2+r.secDividerWidth,o=r.maxWidth-i,a=o-r.secTitleMinWidth,s=pi.getFitStringMeasure(e,n.secondary.text,a,r.secondaryValueFont),c=o-s.width,l=pi.getFitStringMeasure(e,n.secondaryTitle.text,c,r.secondaryTitleFont);return{width:l.width+s.width+i,titleString:l.string,valueString:s.string,key:"secondary"}}getCanvasWidth(e,n){let r=n.gaugeWidth+n.bracketWidth*2;const i=n.fitTitleMeasure,o=n.fitValueMeasure;let a=i&&i.width>o.width?i:o;const s=n.fitSecondaryMeasure,c=s&&s.width>a.width;let l;return a=c?s:a,c?l=a.titleString!==e.secondaryTitle.text||a.valueString!==e.secondary.text:l=a.string!==e[a.key].text,l?r=n.maxWidth:a.width>r&&(r=a.width),r}draw(e,n,r){this.clearCanvas(e,r),n.showTitle&&this.drawTitle(e,r),this.drawGauge(e,n,r),this.drawValue(e,n,r),n.showSecondary&&this.drawSecondary(e,r),this.drawBrackets(e,n,r)}clearCanvas(e,n){e.fillStyle=n.backgroundColor,e.fillRect(0,0,n.width,n.height)}drawTitle(e,n){e.font=n.titleFont,e.fillStyle=n.titleColor,e.textAlign="center",e.textBaseline="middle",e.fillText(n.fitTitleMeasure.string,n.width/2,(n.titleSectionHeight-n.titleBottomMargin)/2),n.offsetY+=n.titleSectionHeight}drawGauge(e,n,r){r.gaugeCenterX=r.width/2,r.gaugeCenterY=r.offsetY+r.gaugeHeight-r.gaugeBottomMargin,r.needleAngle=this.getNeedleAngle(n,r),n.skin===2&&n.conditions&&n.conditions.length?this.drawConditionalDial(e,n,r):this.drawSimpleDial(e,n,r),n.showTicks&&r.size!=="micro"&&this.drawTicks(e,n,r),this.drawNeedle(e,r),n.showLabels&&r.size!=="micro"&&this.drawLabels(e,n,r),r.offsetY+=r.gaugeHeight}drawValue(e,n,r){e.fillStyle=r.valueColor,e.fillRect(1,r.offsetY,r.width-r.bracketThickness*2,r.valueSectionHeight),e.font=r.valueFont,e.fillStyle="white",e.textAlign="center",e.textBaseline="middle",e.fillText(r.fitValueMeasure.string,r.width/2,r.offsetY+r.valueSectionHeight/2)}drawSecondary(e,n){const r=n.height-n.secBottomMargin;e.font=n.secondaryTitleFont,e.fillStyle=n.secondaryTitleColor,e.textAlign="left",e.textBaseline="bottom",e.fillText(n.fitSecondaryMeasure.titleString,n.bracketWidth,r),e.font=n.secondaryValueFont,e.fillStyle=n.secondaryValueColor,e.textAlign="right",e.textBaseline="bottom",e.fillText(n.fitSecondaryMeasure.valueString,n.width-n.bracketWidth,r)}drawBrackets(e,n,r){const i=n.showTitle?(r.titleSectionHeight-r.titleBottomMargin)/2:0;e.strokeStyle=r.bracketColor,e.beginPath(),e.moveTo(r.bracketWidth+.5,i+.5),e.lineTo(.5,i+.5),e.lineTo(.5,r.height-.5),n.showSecondary&&e.lineTo(r.bracketWidth+.5,r.height-.5),e.stroke(),e.moveTo(r.width-(r.bracketWidth+.5),i+.5),e.lineTo(r.width-.5,i+.5),e.lineTo(r.width-.5,r.height-.5),n.showSecondary&&e.lineTo(r.width-(r.bracketWidth+.5),r.height-.5),e.stroke(),e.closePath()}getNeedleAngle(e,n){const r=+e.min.data,i=+e.max.data,o=+(e.value.data||0);return o<r?n.startAngle-n.overDegrees:o>i?n.endAngle+n.overDegrees:this.getAngle(n,o,r,i)}getAngle(e,n,r,i){const o=(e.endAngle-e.startAngle)/(i-r);return(n-r)*o+e.startAngle}drawConditionalDial(e,n,r){const i=n.conditions,o=+n.min.data,a=+n.max.data,s=pi.degToRad(r.startAngle+180),c=pi.degToRad(r.endAngle+180);let l;const f=w=>this.getAngle(r,w,o,a);for(this.drawArc(e,r,s,c,r.defaultDialColor),l=i.length-1;l>=0;l--){const w=i[l];let u=+w.data,j,S=NaN,b=NaN,T=NaN,W=NaN;const G=.25;switch(w.operator){case"<":if(u<=o)break;u=u>a?a:u,j=f(u),S=s,b=pi.degToRad(j+180);break;case">":if(u>=a)break;u=u<o?o:u,j=f(u),S=pi.degToRad(j+180),b=c;break;case"≤":if(u<o)break;u=u>a?a:u,j=f(u),S=s,b=pi.degToRad(j+(j+G<=r.endAngle?G:0)+180);break;case"≥":if(u>a)break;u=u<o?o:u,j=f(u),S=pi.degToRad(j-(j-G>=r.startAngle?G:0)+180),b=c;break;case"=":if(u<o||u>a)break;j=f(u),S=pi.degToRad(j-(j-G>=r.startAngle?G:0)+180),b=pi.degToRad(j+(j+G<=r.endAngle?G:0)+180);break;case"≠":if(u<o||u>a)S=s,b=c;else if(u===o||u===a){const Y=u===o;S=pi.degToRad(r.startAngle+(Y?G:0)+180),b=pi.degToRad(r.endAngle-(Y?0:G)+180)}else j=f(u),S=s,b=pi.degToRad(j-(j-G>=r.startAngle?G:0)+180),T=pi.degToRad(j+(j+G<=r.endAngle?G:0)+180),W=c}!isNaN(S)&&!isNaN(b)&&this.drawArc(e,r,S,b,w.color),!isNaN(T)&&!isNaN(W)&&this.drawArc(e,r,T,W,w.color)}}drawSimpleDial(e,n,r){const i=pi.degToRad(r.startAngle+180),o=pi.degToRad(r.needleAngle+180),a=pi.degToRad(r.endAngle+180);r.needleAngle>r.startAngle&&r.needleAngle<r.endAngle?(this.drawArc(e,r,i,o,r.valueColor),e.globalAlpha=r.gaugeOpacity,this.drawArc(e,r,o,a,r.valueColor)):(r.needleAngle<=r.startAngle&&(e.globalAlpha=r.gaugeOpacity),this.drawArc(e,r,i,a,r.valueColor)),e.globalAlpha=1}drawArc(e,n,r,i,o){e.fillStyle=o,e.beginPath(),e.arc(n.gaugeCenterX,n.gaugeCenterY,n.outerArcRadius,r,i),e.arc(n.gaugeCenterX,n.gaugeCenterY,n.innerArcRadius,i,r,!0),e.fill()}drawTicks(e,n,r){const i=r.startAngle,o=r.endAngle,a=r.tickDegreesIncrement,s=r.needleAngle;let c;for(c=i;c<=o;c+=a){const l=pi.degToRad(c),f=r.gaugeCenterX-r.lengthToTick*Math.cos(l),w=r.gaugeCenterY-r.lengthToTick*Math.sin(l),u=s<i,j=s>=c-a/2&&s<c+a/2,S=c===o&&s>=c;e.fillStyle=!u&&j||S?n.color:r.tickColor,e.beginPath(),e.arc(f,w,r.tickRadius,0,2*Math.PI),e.fill()}}drawNeedle(e,n){const r=pi.degToRad(n.needleAngle);e.fillStyle=n.needleColor,e.save(),e.translate(n.gaugeCenterX,n.gaugeCenterY),e.rotate(r),e.translate(-n.gaugeCenterX,-n.gaugeCenterY),e.beginPath(),e.arc(n.gaugeCenterX,n.gaugeCenterY,n.needleBaseRadius,.5*Math.PI,1.5*Math.PI,!0),e.lineTo(n.gaugeCenterX-n.needleLength,n.gaugeCenterY),e.fill(),e.restore()}drawLabels(e,n,r){e.font=r.labelFont,e.fillStyle=r.labelColor,e.textAlign="right",e.textBaseline="middle",e.fillText(n.min.text,r.gaugeCenterX-r.labelMargin,r.gaugeCenterY),e.textAlign="left",e.fillText(n.max.text,r.gaugeCenterX+r.labelMargin,r.gaugeCenterY)}};const _c=new Wv;let vRt=class{render(e,n,r,i){const o=e.getContext("2d"),a=Math.floor(i.clientWidth)-r.horizontalMargin*2,s=r.sectionMinWidth;let c=0,l=0,f=0,w=0,u=0,j=0,S=0,b=0,T;if(o.font=r.valueFont,T=_c.getStringWidth(o,n.value.text),r.offsetX=0,n.title.text+=":",n.secondaryTitle&&(n.secondaryTitle.text+=":"),n.showTitle&&(o.font=r.titleFont,j=_c.getStringWidth(o,n.value.text),u=_c.getStringWidth(o,n.title.text),l=u<s?u:s,T+=l+r.textPadding),n.showSecondary&&(o.font=r.secondaryValueFont,b=_c.getStringWidth(o,n.secondary.text),w=b<s?b:s,T+=w,o.font=r.secondaryTitleFont||"",S=_c.getStringWidth(o,n.secondaryTitle.text),f=S<s?S:s,T+=f+r.horizontalPadding*2+r.dividerWidth+r.textPadding),n.type==="gauge"){const G=r.horizontalPadding*2+r.dividerWidth;if(r.forceTickerView){const U=j+u+S+b+r.textPadding*4+G,$=a-G-U;r.barWidth=Math.max($,r.barWidth)}const Y=r.barWidth+G;T+=Y,r.showTickerBar=T<=a||!0,c+=r.showTickerBar?Y:0}c+=n.showTitle?r.textPadding:0,c+=n.showSecondary?r.horizontalPadding*2+r.dividerWidth+r.textPadding:0;const W=a-c-l-f-w;if(r.fitValueMeasure=_c.getFitStringMeasure(o,n.value.text,W,r.valueFont),c+=r.fitValueMeasure.width,n.showSecondary){const G=a-c-l-f;let Y;r.fitSecValueMeasure=_c.getFitStringMeasure(o,n.secondary.text,G,r.secondaryValueFont),c+=r.fitSecValueMeasure.width;const U=a-c,$=U/2;n.showTitle?u+S>U?u>$&&S>$?Y=$:S>$&&u<=$?Y=U-u:Y=S:Y=S:Y=U,r.fitSecTitleMeasure=_c.getFitStringMeasure(o,n.secondaryTitle.text,Y,r.secondaryTitleFont),c+=r.fitSecTitleMeasure.width}if(n.showTitle){const G=a-c;r.fitTitleMeasure=_c.getFitStringMeasure(o,n.title.text,G,r.titleFont),c+=r.fitTitleMeasure.width}r.width=c,_c.setCanvasSizes(e,o,c,r.height),this.draw(o,n,r)}draw(e,n,r){this.clearCanvas(e,r),n.type==="gauge"&&r.showTickerBar&&(this.drawTickerBar(e,n,r),this.drawDivider(e,r)),e.textBaseline="middle",n.showTitle&&this.drawTitle(e,r),this.drawValue(e,n,r),n.showSecondary&&(this.drawDivider(e,r),this.drawSecondary(e,r))}clearCanvas(e,n){e.fillStyle=n.backgroundColor,e.fillRect(0,0,n.width,n.height)}drawTickerBar(e,n,r){var i;const o=+n.min.data,a=+n.max.data,s=+(((i=n.value)==null?void 0:i.data)||0),c=Math.round((r.height-r.barHeight)/2);let l;if(e.fillStyle=r.valueColor,s<=o)e.globalAlpha=r.barOpacity,e.fillRect(r.offsetX,c,r.barWidth,r.barHeight),l=0;else if(s>=a)e.fillRect(r.offsetX,c,r.barWidth,r.barHeight),l=r.barWidth-r.tickerBarWidth;else{const f=(s-Math.abs(o))/(a-o),w=r.barWidth*f;e.fillRect(r.offsetX,c,w,r.barHeight),e.globalAlpha=r.barOpacity,e.fillRect(r.offsetX+w,c,r.barWidth-w,r.barHeight),w>r.barWidth-r.tickerBarWidth?l=r.barWidth-r.tickerBarWidth:w<r.tickerBarWidth?l=0:l=w-1}e.globalAlpha=1,e.fillStyle=r.barHandleColor,e.fillRect(r.offsetX+l,Math.round((r.height-r.tickerBarHeight)/2),r.tickerBarWidth,r.tickerBarHeight),r.offsetX+=r.barWidth}drawDivider(e,n){e.fillStyle=n.dividerColor,e.fillRect(n.offsetX+n.horizontalPadding,Math.round((n.height-n.dividerHeight)/2),n.dividerWidth,n.dividerHeight),n.offsetX+=n.horizontalPadding*2+n.dividerWidth}drawTitle(e,n){e.font=n.titleFont,e.fillStyle=n.titleColor,e.fillText(n.fitTitleMeasure.string,n.offsetX,Math.floor(n.height/2)),n.offsetX+=n.fitTitleMeasure.width+n.textPadding}drawValue(e,n,r){e.font=r.valueFont,e.fillStyle=r.valueColor||n.color,e.fillText(r.fitValueMeasure.string,r.offsetX,Math.floor(r.height/2)),r.offsetX+=r.fitValueMeasure.width}drawSecondary(e,n){e.font=n.secondaryTitleFont,e.fillStyle=n.secondaryTitleColor,e.fillText(n.fitSecTitleMeasure.string,n.offsetX,Math.floor(n.height/2)),n.offsetX+=n.fitSecTitleMeasure.width+n.textPadding,e.font=n.secondaryValueFont,e.fillStyle=n.secondaryValueColor,e.fillText(n.fitSecValueMeasure.string,n.offsetX,Math.floor(n.height/2))}};const $8={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"}]},yRt={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}]},bRt={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"]},xRt={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 wRt(t,e){const n=Ea(xRt);if(n.forceTickerView=e.forceTickerView,n.fontFamily=e.fontFamily,n.backgroundColor=e.backgroundColor,n.value.color=e.value.color,n.title.color=e.title.color,n.secondaryTitle.color=e.secondaryTitle.color,n.secondaryValue.color=e.secondaryTitle.color,e.tickerBarHeight){const r=e.tickerBarHeight;n.barHeight=r,n.tickerBarHeight=r+2}return n.forceTickerView&&(n.height=t.offsetHeight),n}const _Rt=new Wv,SRt=new uRt,CRt=new pRt,kRt=new mRt,MRt=new vRt;let TRt=class{getService(e){switch(e){case"numericSimple":return SRt;case"numericBar":return CRt;case"gauge":return kRt;case"ticker":return MRt}}render(e,n,r,i){let o=this.getService(n.type);const a="getBaseMeasure"in o?o.getBaseMeasure(n,r,i):void 0;if(!a||r.forceTickerView){o=this.getService("ticker");const s=wRt(e,r);this.setTextOptions(s),o.render(e,n,s,i);return}this.calculateRelativeSizes(n,r,a.value),this.setTextOptions(r,a.size),o.render(e,n,r,a)}calculateRelativeSizes(e,n,r){const{relativeSizes:i}=n;i.forEach(function(o){let a;if("dataKey"in o&&"values"in o&&o.dataKey in e)a=o.values[e[o.dataKey]];else if("value"in o)a=o.value;else throw new Error("Invalid relative size options");const s=a*r;n[o.key]=_Rt.floor(s,o.decimals)})}setTextOptions(e,n){e.textKeys.forEach(function(r){const i=e[r],o=i.fontStyle?`${i.fontStyle} `:"",a=i.fontVariant?`${i.fontVariant} `:"",s=i.fontWeight?`${i.fontWeight} `:"",c=`${Number.parseFloat(i.fontSizes&&i.fontSizes[n]||i.fontSize||e.fontSize)}px `,l=i.fontFamily||e.fontFamily,{color:f}=i;e[`${r}Font`]=o+a+s+c+l,e[`${r}Color`]=f})}};function z8(t){var e;const n=(e=t.value)==null?void 0:e[0];if(n&&"color"in n)return n.color}function ARt(t,e,n){if(!ERt(t))return n;const r=mA(t).getColor(e);return r?ne(zt({},n),{value:ne(zt({},n.value),{color:r})}):n}function ERt(t){return typeof t=="string"||t.type==="uniform"||t.type==="conditional"}var ORt=yu,PRt=us,DRt="[object Number]";function LRt(t){return typeof t=="number"||PRt(t)&&ORt(t)==DRt}var B8=LRt;const Qf=An(B8),NRt=(t,e)=>{const n=z8(e);return n&&t.value?mA(n).getColor(Qf(t.value)?t.value:0):null},IRt=(t,e,n)=>{var r,i,o,a,s,c,l,f,w,u,j,S;const b=Qf(t.min)?t.min:0,T=Qf(t.max)?t.max:100,W=Px(n,"value"),G=Px(n,"secondary"),Y=Px(n,"min"),U=Px(n,"max"),$=NRt(t,n),O=e.indicatorType==="gauge"?1:"vertical";return ne(zt(zt({},jRt),$?{color:$}:null),{type:RRt(e.indicatorType,"numericSubtype"in e?e.numericSubtype:void 0)||"numericSimple",skin:e.skin||O,title:{text:(o=(i=(r=e.indicatorComponents)==null?void 0:r.title)==null?void 0:i.text)!=null?o:""},min:{data:b,text:ni(Y,b)},max:{data:T,text:ni(U,T)},value:{data:t.value,text:F8(t.value,W)},secondary:{data:t.secondary,text:F8(t.secondary,G)},secondaryTitle:{text:(c=(s=(a=e.indicatorComponents)==null?void 0:a.secondaryTitle)==null?void 0:s.text)!=null?c:""},showSecondary:t.secondary!==void 0,showTitle:!!((f=(l=e.indicatorComponents)==null?void 0:l.title)!=null&&f.shouldBeShown),showLabels:!!((u=(w=e.indicatorComponents)==null?void 0:w.labels)!=null&&u.shouldBeShown),showTicks:!!((S=(j=e.indicatorComponents)==null?void 0:j.ticks)!=null&&S.shouldBeShown)})};function RRt(t,e){return t==="numeric"?e:t}function Px(t,e){var n;const r=(n=t[e])==null?void 0:n[0];return Yr(r&&"numberFormatConfig"in r?r.numberFormatConfig:{})}const jRt={color:"#00cee6",showSecondary:!1};function F8(t,e){return t===void 0?"":isNaN(t)?"#N/A":ni(e,t)}function $Rt(t,e,n){const r=Ea(n);for(const i in e){const o=e[i],a=zRt(t,o);a&&H8(r,i,a)}return r}function H8(t,e,n){const r=e.split(".");if(r.length===1)if(r[0]in t)t[r[0]]=n;else return;else{const[i,...o]=r;if(!(i in t))return;const a=t[i];if(!W8(a))return;H8(a,o.join("."),n)}}function zRt(t,e){const n=e.split(".");let r=t;for(const i of n){if(!W8(r)||!(i in r))return;r=r[i]}return r}function W8(t){return typeof t=="object"&&t!==null}function BRt(t,e,n){return $Rt(t,e,n)}const FRt={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"},HRt=(t,e)=>{const{chartData:n,dataOptions:r,themeSettings:i}=e,{type:o}=t;let a;switch(o){case"gauge":a=bRt;break;case"numeric":t.numericSubtype==="numericBar"?a=yRt:a=$8;break;default:a=$8}i&&(a=BRt(i,FRt,a));const s=z8(r);return s&&n.value&&Qf(n.value)&&(a=ARt(s,n.value,a)),zt(ne(zt({},a),{forceTickerView:t.forceTickerView}),t.type==="gauge"&&t.tickerBarHeight?{tickerBarHeight:t.tickerBarHeight}:null)};var WRt=m1;function VRt(t,e){return WRt(t,e)}var URt=VRt;const yd=An(URt);function V8(t){return typeof t=="string"}function GRt(t){var e;const n=Kn().themeSettings,[r,i]=ce(Av()),[o,a]=ce(null),s=(e=hr().app)==null?void 0:e.httpClient;return he(()=>{t&&(V8(t)?s&&uF(t,s).then(i).catch(a):i(t))},[t,s]),o?[null,o]:yd(n,r)?[n,null]:[di.withOptions({mergeArrays:!1},n,r),null]}const tg=Qn({componentName:"ThemeProvider",trackingConfig:{skip:t=>!!t.skipTracking,transparent:!0},shouldSkipSisenseContextWaiting:!0})(t=>{const{theme:e,children:n}=t,[r,i]=GRt(e);if(i)throw i;return yt(cn,{children:r&&yt(U2.Provider,{value:{themeSettings:r},children:n})})}),YRt=({chartData:t,dataOptions:e,designOptions:n})=>{var r;const i=Jt(null),o=Jt(null),{themeSettings:a}=Kn();return he(()=>{if(!o.current||!i.current)return;const s=new TRt,c=IRt(t,n,e),l=HRt({type:n.indicatorType,numericSubtype:"numericSubtype"in n?n.numericSubtype:void 0,forceTickerView:n.forceTickerView,tickerBarHeight:n.tickerBarHeight},{chartData:t,dataOptions:e,themeSettings:a});s.render(o.current,c,l,i.current)},[t,e,n,a]),yt("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:yt("canvas",{ref:o})})},qRt=t=>t.type==="indicator",XRt=t=>"min"in t,ZRt=t=>"indicatorComponents"in t,JRt=t=>!!t.chartData&&qRt(t.chartData)&&XRt(t.dataOptions)&&ZRt(t.designOptions);var wA={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(t,e){(function(n,r){r(e)})(Jn,function(n){var r="1.9.4";function i(J){var at,pt,_t,Et;for(pt=1,_t=arguments.length;pt<_t;pt++){Et=arguments[pt];for(at in Et)J[at]=Et[at]}return J}var o=Object.create||function(){function J(){}return function(at){return J.prototype=at,new J}}();function a(J,at){var pt=Array.prototype.slice;if(J.bind)return J.bind.apply(J,pt.call(arguments,1));var _t=pt.call(arguments,2);return function(){return J.apply(at,_t.length?_t.concat(pt.call(arguments)):arguments)}}var s=0;function c(J){return"_leaflet_id"in J||(J._leaflet_id=++s),J._leaflet_id}function l(J,at,pt){var _t,Et,Rt,Gt;return Gt=function(){_t=!1,Et&&(Rt.apply(pt,Et),Et=!1)},Rt=function(){_t?Et=arguments:(J.apply(pt,arguments),setTimeout(Gt,at),_t=!0)},Rt}function f(J,at,pt){var _t=at[1],Et=at[0],Rt=_t-Et;return J===_t&&pt?J:((J-Et)%Rt+Rt)%Rt+Et}function w(){return!1}function u(J,at){if(at===!1)return J;var pt=Math.pow(10,at===void 0?6:at);return Math.round(J*pt)/pt}function j(J){return J.trim?J.trim():J.replace(/^\s+|\s+$/g,"")}function S(J){return j(J).split(/\s+/)}function b(J,at){Object.prototype.hasOwnProperty.call(J,"options")||(J.options=J.options?o(J.options):{});for(var pt in at)J.options[pt]=at[pt];return J.options}function T(J,at,pt){var _t=[];for(var Et in J)_t.push(encodeURIComponent(pt?Et.toUpperCase():Et)+"="+encodeURIComponent(J[Et]));return(!at||at.indexOf("?")===-1?"?":"&")+_t.join("&")}var W=/\{ *([\w_ -]+) *\}/g;function G(J,at){return J.replace(W,function(pt,_t){var Et=at[_t];if(Et===void 0)throw new Error("No value provided for variable "+pt);return typeof Et=="function"&&(Et=Et(at)),Et})}var Y=Array.isArray||function(J){return Object.prototype.toString.call(J)==="[object Array]"};function U(J,at){for(var pt=0;pt<J.length;pt++)if(J[pt]===at)return pt;return-1}var $="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function O(J){return window["webkit"+J]||window["moz"+J]||window["ms"+J]}var D=0;function m(J){var at=+new Date,pt=Math.max(0,16-(at-D));return D=at+pt,window.setTimeout(J,pt)}var C=window.requestAnimationFrame||O("RequestAnimationFrame")||m,p=window.cancelAnimationFrame||O("CancelAnimationFrame")||O("CancelRequestAnimationFrame")||function(J){window.clearTimeout(J)};function d(J,at,pt){if(pt&&C===m)J.call(at);else return C.call(window,a(J,at))}function g(J){J&&p.call(window,J)}var E={__proto__:null,extend:i,create:o,bind:a,get lastId(){return s},stamp:c,throttle:l,wrapNum:f,falseFn:w,formatNum:u,trim:j,splitWords:S,setOptions:b,getParamString:T,template:G,isArray:Y,indexOf:U,emptyImageUrl:$,requestFn:C,cancelFn:p,requestAnimFrame:d,cancelAnimFrame:g};function M(){}M.extend=function(J){var at=function(){b(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},pt=at.__super__=this.prototype,_t=o(pt);_t.constructor=at,at.prototype=_t;for(var Et in this)Object.prototype.hasOwnProperty.call(this,Et)&&Et!=="prototype"&&Et!=="__super__"&&(at[Et]=this[Et]);return J.statics&&i(at,J.statics),J.includes&&(P(J.includes),i.apply(null,[_t].concat(J.includes))),i(_t,J),delete _t.statics,delete _t.includes,_t.options&&(_t.options=pt.options?o(pt.options):{},i(_t.options,J.options)),_t._initHooks=[],_t.callInitHooks=function(){if(!this._initHooksCalled){pt.callInitHooks&&pt.callInitHooks.call(this),this._initHooksCalled=!0;for(var Rt=0,Gt=_t._initHooks.length;Rt<Gt;Rt++)_t._initHooks[Rt].call(this)}},at},M.include=function(J){var at=this.prototype.options;return i(this.prototype,J),J.options&&(this.prototype.options=at,this.mergeOptions(J.options)),this},M.mergeOptions=function(J){return i(this.prototype.options,J),this},M.addInitHook=function(J){var at=Array.prototype.slice.call(arguments,1),pt=typeof J=="function"?J:function(){this[J].apply(this,at)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(pt),this};function P(J){if(!(typeof L>"u"||!L||!L.Mixin)){J=Y(J)?J:[J];for(var at=0;at<J.length;at++)J[at]===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 V={on:function(J,at,pt){if(typeof J=="object")for(var _t in J)this._on(_t,J[_t],at);else{J=S(J);for(var Et=0,Rt=J.length;Et<Rt;Et++)this._on(J[Et],at,pt)}return this},off:function(J,at,pt){if(!arguments.length)delete this._events;else if(typeof J=="object")for(var _t in J)this._off(_t,J[_t],at);else{J=S(J);for(var Et=arguments.length===1,Rt=0,Gt=J.length;Rt<Gt;Rt++)Et?this._off(J[Rt]):this._off(J[Rt],at,pt)}return this},_on:function(J,at,pt,_t){if(typeof at!="function"){console.warn("wrong listener type: "+typeof at);return}if(this._listens(J,at,pt)===!1){pt===this&&(pt=void 0);var Et={fn:at,ctx:pt};_t&&(Et.once=!0),this._events=this._events||{},this._events[J]=this._events[J]||[],this._events[J].push(Et)}},_off:function(J,at,pt){var _t,Et,Rt;if(this._events&&(_t=this._events[J],!!_t)){if(arguments.length===1){if(this._firingCount)for(Et=0,Rt=_t.length;Et<Rt;Et++)_t[Et].fn=w;delete this._events[J];return}if(typeof at!="function"){console.warn("wrong listener type: "+typeof at);return}var Gt=this._listens(J,at,pt);if(Gt!==!1){var ie=_t[Gt];this._firingCount&&(ie.fn=w,this._events[J]=_t=_t.slice()),_t.splice(Gt,1)}}},fire:function(J,at,pt){if(!this.listens(J,pt))return this;var _t=i({},at,{type:J,target:this,sourceTarget:at&&at.sourceTarget||this});if(this._events){var Et=this._events[J];if(Et){this._firingCount=this._firingCount+1||1;for(var Rt=0,Gt=Et.length;Rt<Gt;Rt++){var ie=Et[Rt],le=ie.fn;ie.once&&this.off(J,le,ie.ctx),le.call(ie.ctx||this,_t)}this._firingCount--}}return pt&&this._propagateEvent(_t),this},listens:function(J,at,pt,_t){typeof J!="string"&&console.warn('"string" type argument expected');var Et=at;typeof at!="function"&&(_t=!!at,Et=void 0,pt=void 0);var Rt=this._events&&this._events[J];if(Rt&&Rt.length&&this._listens(J,Et,pt)!==!1)return!0;if(_t){for(var Gt in this._eventParents)if(this._eventParents[Gt].listens(J,at,pt,_t))return!0}return!1},_listens:function(J,at,pt){if(!this._events)return!1;var _t=this._events[J]||[];if(!at)return!!_t.length;pt===this&&(pt=void 0);for(var Et=0,Rt=_t.length;Et<Rt;Et++)if(_t[Et].fn===at&&_t[Et].ctx===pt)return Et;return!1},once:function(J,at,pt){if(typeof J=="object")for(var _t in J)this._on(_t,J[_t],at,!0);else{J=S(J);for(var Et=0,Rt=J.length;Et<Rt;Et++)this._on(J[Et],at,pt,!0)}return this},addEventParent:function(J){return this._eventParents=this._eventParents||{},this._eventParents[c(J)]=J,this},removeEventParent:function(J){return this._eventParents&&delete this._eventParents[c(J)],this},_propagateEvent:function(J){for(var at in this._eventParents)this._eventParents[at].fire(J.type,i({layer:J.target,propagatedFrom:J.target},J),!0)}};V.addEventListener=V.on,V.removeEventListener=V.clearAllEventListeners=V.off,V.addOneTimeEventListener=V.once,V.fireEvent=V.fire,V.hasEventListeners=V.listens;var q=M.extend(V);function H(J,at,pt){this.x=pt?Math.round(J):J,this.y=pt?Math.round(at):at}var R=Math.trunc||function(J){return J>0?Math.floor(J):Math.ceil(J)};H.prototype={clone:function(){return new H(this.x,this.y)},add:function(J){return this.clone()._add(I(J))},_add:function(J){return this.x+=J.x,this.y+=J.y,this},subtract:function(J){return this.clone()._subtract(I(J))},_subtract:function(J){return this.x-=J.x,this.y-=J.y,this},divideBy:function(J){return this.clone()._divideBy(J)},_divideBy:function(J){return this.x/=J,this.y/=J,this},multiplyBy:function(J){return this.clone()._multiplyBy(J)},_multiplyBy:function(J){return this.x*=J,this.y*=J,this},scaleBy:function(J){return new H(this.x*J.x,this.y*J.y)},unscaleBy:function(J){return new H(this.x/J.x,this.y/J.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(J){J=I(J);var at=J.x-this.x,pt=J.y-this.y;return Math.sqrt(at*at+pt*pt)},equals:function(J){return J=I(J),J.x===this.x&&J.y===this.y},contains:function(J){return J=I(J),Math.abs(J.x)<=Math.abs(this.x)&&Math.abs(J.y)<=Math.abs(this.y)},toString:function(){return"Point("+u(this.x)+", "+u(this.y)+")"}};function I(J,at,pt){return J instanceof H?J:Y(J)?new H(J[0],J[1]):J==null?J:typeof J=="object"&&"x"in J&&"y"in J?new H(J.x,J.y):new H(J,at,pt)}function A(J,at){if(J)for(var pt=at?[J,at]:J,_t=0,Et=pt.length;_t<Et;_t++)this.extend(pt[_t])}A.prototype={extend:function(J){var at,pt;if(!J)return this;if(J instanceof H||typeof J[0]=="number"||"x"in J)at=pt=I(J);else if(J=k(J),at=J.min,pt=J.max,!at||!pt)return this;return!this.min&&!this.max?(this.min=at.clone(),this.max=pt.clone()):(this.min.x=Math.min(at.x,this.min.x),this.max.x=Math.max(pt.x,this.max.x),this.min.y=Math.min(at.y,this.min.y),this.max.y=Math.max(pt.y,this.max.y)),this},getCenter:function(J){return I((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,J)},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(J){var at,pt;return typeof J[0]=="number"||J instanceof H?J=I(J):J=k(J),J instanceof A?(at=J.min,pt=J.max):at=pt=J,at.x>=this.min.x&&pt.x<=this.max.x&&at.y>=this.min.y&&pt.y<=this.max.y},intersects:function(J){J=k(J);var at=this.min,pt=this.max,_t=J.min,Et=J.max,Rt=Et.x>=at.x&&_t.x<=pt.x,Gt=Et.y>=at.y&&_t.y<=pt.y;return Rt&&Gt},overlaps:function(J){J=k(J);var at=this.min,pt=this.max,_t=J.min,Et=J.max,Rt=Et.x>at.x&&_t.x<pt.x,Gt=Et.y>at.y&&_t.y<pt.y;return Rt&&Gt},isValid:function(){return!!(this.min&&this.max)},pad:function(J){var at=this.min,pt=this.max,_t=Math.abs(at.x-pt.x)*J,Et=Math.abs(at.y-pt.y)*J;return k(I(at.x-_t,at.y-Et),I(pt.x+_t,pt.y+Et))},equals:function(J){return J?(J=k(J),this.min.equals(J.getTopLeft())&&this.max.equals(J.getBottomRight())):!1}};function k(J,at){return!J||J instanceof A?J:new A(J,at)}function h(J,at){if(J)for(var pt=at?[J,at]:J,_t=0,Et=pt.length;_t<Et;_t++)this.extend(pt[_t])}h.prototype={extend:function(J){var at=this._southWest,pt=this._northEast,_t,Et;if(J instanceof y)_t=J,Et=J;else if(J instanceof h){if(_t=J._southWest,Et=J._northEast,!_t||!Et)return this}else return J?this.extend(v(J)||_(J)):this;return!at&&!pt?(this._southWest=new y(_t.lat,_t.lng),this._northEast=new y(Et.lat,Et.lng)):(at.lat=Math.min(_t.lat,at.lat),at.lng=Math.min(_t.lng,at.lng),pt.lat=Math.max(Et.lat,pt.lat),pt.lng=Math.max(Et.lng,pt.lng)),this},pad:function(J){var at=this._southWest,pt=this._northEast,_t=Math.abs(at.lat-pt.lat)*J,Et=Math.abs(at.lng-pt.lng)*J;return new h(new y(at.lat-_t,at.lng-Et),new y(pt.lat+_t,pt.lng+Et))},getCenter:function(){return new y((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 y(this.getNorth(),this.getWest())},getSouthEast:function(){return new y(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(J){typeof J[0]=="number"||J instanceof y||"lat"in J?J=v(J):J=_(J);var at=this._southWest,pt=this._northEast,_t,Et;return J instanceof h?(_t=J.getSouthWest(),Et=J.getNorthEast()):_t=Et=J,_t.lat>=at.lat&&Et.lat<=pt.lat&&_t.lng>=at.lng&&Et.lng<=pt.lng},intersects:function(J){J=_(J);var at=this._southWest,pt=this._northEast,_t=J.getSouthWest(),Et=J.getNorthEast(),Rt=Et.lat>=at.lat&&_t.lat<=pt.lat,Gt=Et.lng>=at.lng&&_t.lng<=pt.lng;return Rt&&Gt},overlaps:function(J){J=_(J);var at=this._southWest,pt=this._northEast,_t=J.getSouthWest(),Et=J.getNorthEast(),Rt=Et.lat>at.lat&&_t.lat<pt.lat,Gt=Et.lng>at.lng&&_t.lng<pt.lng;return Rt&&Gt},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(J,at){return J?(J=_(J),this._southWest.equals(J.getSouthWest(),at)&&this._northEast.equals(J.getNorthEast(),at)):!1},isValid:function(){return!!(this._southWest&&this._northEast)}};function _(J,at){return J instanceof h?J:new h(J,at)}function y(J,at,pt){if(isNaN(J)||isNaN(at))throw new Error("Invalid LatLng object: ("+J+", "+at+")");this.lat=+J,this.lng=+at,pt!==void 0&&(this.alt=+pt)}y.prototype={equals:function(J,at){if(!J)return!1;J=v(J);var pt=Math.max(Math.abs(this.lat-J.lat),Math.abs(this.lng-J.lng));return pt<=(at===void 0?1e-9:at)},toString:function(J){return"LatLng("+u(this.lat,J)+", "+u(this.lng,J)+")"},distanceTo:function(J){return N.distance(this,v(J))},wrap:function(){return N.wrapLatLng(this)},toBounds:function(J){var at=180*J/40075017,pt=at/Math.cos(Math.PI/180*this.lat);return _([this.lat-at,this.lng-pt],[this.lat+at,this.lng+pt])},clone:function(){return new y(this.lat,this.lng,this.alt)}};function v(J,at,pt){return J instanceof y?J:Y(J)&&typeof J[0]!="object"?J.length===3?new y(J[0],J[1],J[2]):J.length===2?new y(J[0],J[1]):null:J==null?J:typeof J=="object"&&"lat"in J?new y(J.lat,"lng"in J?J.lng:J.lon,J.alt):at===void 0?null:new y(J,at,pt)}var z={latLngToPoint:function(J,at){var pt=this.projection.project(J),_t=this.scale(at);return this.transformation._transform(pt,_t)},pointToLatLng:function(J,at){var pt=this.scale(at),_t=this.transformation.untransform(J,pt);return this.projection.unproject(_t)},project:function(J){return this.projection.project(J)},unproject:function(J){return this.projection.unproject(J)},scale:function(J){return 256*Math.pow(2,J)},zoom:function(J){return Math.log(J/256)/Math.LN2},getProjectedBounds:function(J){if(this.infinite)return null;var at=this.projection.bounds,pt=this.scale(J),_t=this.transformation.transform(at.min,pt),Et=this.transformation.transform(at.max,pt);return new A(_t,Et)},infinite:!1,wrapLatLng:function(J){var at=this.wrapLng?f(J.lng,this.wrapLng,!0):J.lng,pt=this.wrapLat?f(J.lat,this.wrapLat,!0):J.lat,_t=J.alt;return new y(pt,at,_t)},wrapLatLngBounds:function(J){var at=J.getCenter(),pt=this.wrapLatLng(at),_t=at.lat-pt.lat,Et=at.lng-pt.lng;if(_t===0&&Et===0)return J;var Rt=J.getSouthWest(),Gt=J.getNorthEast(),ie=new y(Rt.lat-_t,Rt.lng-Et),le=new y(Gt.lat-_t,Gt.lng-Et);return new h(ie,le)}},N=i({},z,{wrapLng:[-180,180],R:6371e3,distance:function(J,at){var pt=Math.PI/180,_t=J.lat*pt,Et=at.lat*pt,Rt=Math.sin((at.lat-J.lat)*pt/2),Gt=Math.sin((at.lng-J.lng)*pt/2),ie=Rt*Rt+Math.cos(_t)*Math.cos(Et)*Gt*Gt,le=2*Math.atan2(Math.sqrt(ie),Math.sqrt(1-ie));return this.R*le}}),x=6378137,B={R:x,MAX_LATITUDE:85.0511287798,project:function(J){var at=Math.PI/180,pt=this.MAX_LATITUDE,_t=Math.max(Math.min(pt,J.lat),-pt),Et=Math.sin(_t*at);return new H(this.R*J.lng*at,this.R*Math.log((1+Et)/(1-Et))/2)},unproject:function(J){var at=180/Math.PI;return new y((2*Math.atan(Math.exp(J.y/this.R))-Math.PI/2)*at,J.x*at/this.R)},bounds:function(){var J=x*Math.PI;return new A([-J,-J],[J,J])}()};function Z(J,at,pt,_t){if(Y(J)){this._a=J[0],this._b=J[1],this._c=J[2],this._d=J[3];return}this._a=J,this._b=at,this._c=pt,this._d=_t}Z.prototype={transform:function(J,at){return this._transform(J.clone(),at)},_transform:function(J,at){return at=at||1,J.x=at*(this._a*J.x+this._b),J.y=at*(this._c*J.y+this._d),J},untransform:function(J,at){return at=at||1,new H((J.x/at-this._b)/this._a,(J.y/at-this._d)/this._c)}};function K(J,at,pt,_t){return new Z(J,at,pt,_t)}var F=i({},N,{code:"EPSG:3857",projection:B,transformation:function(){var J=.5/(Math.PI*B.R);return K(J,.5,-J,.5)}()}),X=i({},F,{code:"EPSG:900913"});function Q(J){return document.createElementNS("http://www.w3.org/2000/svg",J)}function it(J,at){var pt="",_t,Et,Rt,Gt,ie,le;for(_t=0,Rt=J.length;_t<Rt;_t++){for(ie=J[_t],Et=0,Gt=ie.length;Et<Gt;Et++)le=ie[Et],pt+=(Et?"L":"M")+le.x+" "+le.y;pt+=at?Te.svg?"z":"x":""}return pt||"M0 0"}var ot=document.documentElement.style,et="ActiveXObject"in window,nt=et&&!document.addEventListener,rt="msLaunchUri"in navigator&&!("documentMode"in document),ut=tn("webkit"),ct=tn("android"),lt=tn("android 2")||tn("android 3"),ht=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),gt=ct&&tn("Google")&&ht<537&&!("AudioNode"in window),ft=!!window.opera,xt=!rt&&tn("chrome"),wt=tn("gecko")&&!ut&&!ft&&!et,Tt=!xt&&tn("safari"),At=tn("phantom"),Dt="OTransition"in ot,Ot=navigator.platform.indexOf("Win")===0,Ct=et&&"transition"in ot,vt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!lt,St="MozPerspective"in ot,Mt=!window.L_DISABLE_3D&&(Ct||vt||St)&&!Dt&&!At,Pt=typeof orientation<"u"||tn("mobile"),It=Pt&&ut,Lt=Pt&&vt,Ft=!window.PointerEvent&&window.MSPointerEvent,Ht=!!(window.PointerEvent||Ft),Vt="ontouchstart"in window||!!window.TouchEvent,Yt=!window.L_NO_TOUCH&&(Vt||Ht),te=Pt&&ft,Xt=Pt&&wt,oe=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,pe=function(){var J=!1;try{var at=Object.defineProperty({},"passive",{get:function(){J=!0}});window.addEventListener("testPassiveEventSupport",w,at),window.removeEventListener("testPassiveEventSupport",w,at)}catch{}return J}(),se=function(){return!!document.createElement("canvas").getContext}(),me=!!(document.createElementNS&&Q("svg").createSVGRect),ve=!!me&&function(){var J=document.createElement("div");return J.innerHTML="<svg/>",(J.firstChild&&J.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),qe=!me&&function(){try{var J=document.createElement("div");J.innerHTML='<v:shape adj="1"/>';var at=J.firstChild;return at.style.behavior="url(#default#VML)",at&&typeof at.adj=="object"}catch{return!1}}(),ge=navigator.platform.indexOf("Mac")===0,De=navigator.platform.indexOf("Linux")===0;function tn(J){return navigator.userAgent.toLowerCase().indexOf(J)>=0}var Te={ie:et,ielt9:nt,edge:rt,webkit:ut,android:ct,android23:lt,androidStock:gt,opera:ft,chrome:xt,gecko:wt,safari:Tt,phantom:At,opera12:Dt,win:Ot,ie3d:Ct,webkit3d:vt,gecko3d:St,any3d:Mt,mobile:Pt,mobileWebkit:It,mobileWebkit3d:Lt,msPointer:Ft,pointer:Ht,touch:Yt,touchNative:Vt,mobileOpera:te,mobileGecko:Xt,retina:oe,passiveEvents:pe,canvas:se,svg:me,vml:qe,inlineSvg:ve,mac:ge,linux:De},He=Te.msPointer?"MSPointerDown":"pointerdown",on=Te.msPointer?"MSPointerMove":"pointermove",Hn=Te.msPointer?"MSPointerUp":"pointerup",ue=Te.msPointer?"MSPointerCancel":"pointercancel",Se={touchstart:He,touchmove:on,touchend:Hn,touchcancel:ue},Ve={touchstart:fo,touchmove:Go,touchend:Go,touchcancel:Go},Ue={},ar=!1;function Gn(J,at,pt){return at==="touchstart"&&Uo(),Ve[at]?(pt=Ve[at].bind(this,pt),J.addEventListener(Se[at],pt,!1),pt):(console.warn("wrong event specified:",at),w)}function we(J,at,pt){if(!Se[at]){console.warn("wrong event specified:",at);return}J.removeEventListener(Se[at],pt,!1)}function Fe(J){Ue[J.pointerId]=J}function po(J){Ue[J.pointerId]&&(Ue[J.pointerId]=J)}function Ln(J){delete Ue[J.pointerId]}function Uo(){ar||(document.addEventListener(He,Fe,!0),document.addEventListener(on,po,!0),document.addEventListener(Hn,Ln,!0),document.addEventListener(ue,Ln,!0),ar=!0)}function Go(J,at){if(at.pointerType!==(at.MSPOINTER_TYPE_MOUSE||"mouse")){at.touches=[];for(var pt in Ue)at.touches.push(Ue[pt]);at.changedTouches=[at],J(at)}}function fo(J,at){at.MSPOINTER_TYPE_TOUCH&&at.pointerType===at.MSPOINTER_TYPE_TOUCH&&hn(at),Go(J,at)}function On(J){var at={},pt,_t;for(_t in J)pt=J[_t],at[_t]=pt&&pt.bind?pt.bind(J):pt;return J=at,at.type="dblclick",at.detail=2,at.isTrusted=!1,at._simulated=!0,at}var Bi=200;function ma(J,at){J.addEventListener("dblclick",at);var pt=0,_t;function Et(Rt){if(Rt.detail!==1){_t=Rt.detail;return}if(!(Rt.pointerType==="mouse"||Rt.sourceCapabilities&&!Rt.sourceCapabilities.firesTouchEvents)){var Gt=Ck(Rt);if(!(Gt.some(function(le){return le instanceof HTMLLabelElement&&le.attributes.for})&&!Gt.some(function(le){return le instanceof HTMLInputElement||le instanceof HTMLSelectElement}))){var ie=Date.now();ie-pt<=Bi?(_t++,_t===2&&at(On(Rt))):_t=1,pt=ie}}}return J.addEventListener("click",Et),{dblclick:at,simDblclick:Et}}function Ya(J,at){J.removeEventListener("dblclick",at.dblclick),J.removeEventListener("click",at.simDblclick)}var Jl=wl(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),xl=wl(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),va=xl==="webkitTransition"||xl==="OTransition"?xl+"End":"transitionend";function qa(J){return typeof J=="string"?document.getElementById(J):J}function Os(J,at){var pt=J.style[at]||J.currentStyle&&J.currentStyle[at];if((!pt||pt==="auto")&&document.defaultView){var _t=document.defaultView.getComputedStyle(J,null);pt=_t?_t[at]:null}return pt==="auto"?null:pt}function jn(J,at,pt){var _t=document.createElement(J);return _t.className=at||"",pt&&pt.appendChild(_t),_t}function qn(J){var at=J.parentNode;at&&at.removeChild(J)}function ya(J){for(;J.firstChild;)J.removeChild(J.firstChild)}function ba(J){var at=J.parentNode;at&&at.lastChild!==J&&at.appendChild(J)}function Do(J){var at=J.parentNode;at&&at.firstChild!==J&&at.insertBefore(J,at.firstChild)}function xa(J,at){if(J.classList!==void 0)return J.classList.contains(at);var pt=Kl(J);return pt.length>0&&new RegExp("(^|\\s)"+at+"(\\s|$)").test(pt)}function pn(J,at){if(J.classList!==void 0)for(var pt=S(at),_t=0,Et=pt.length;_t<Et;_t++)J.classList.add(pt[_t]);else if(!xa(J,at)){var Rt=Kl(J);eu(J,(Rt?Rt+" ":"")+at)}}function wr(J,at){J.classList!==void 0?J.classList.remove(at):eu(J,j((" "+Kl(J)+" ").replace(" "+at+" "," ")))}function eu(J,at){J.className.baseVal===void 0?J.className=at:J.className.baseVal=at}function Kl(J){return J.correspondingElement&&(J=J.correspondingElement),J.className.baseVal===void 0?J.className:J.className.baseVal}function io(J,at){"opacity"in J.style?J.style.opacity=at:"filter"in J.style&&gh(J,at)}function gh(J,at){var pt=!1,_t="DXImageTransform.Microsoft.Alpha";try{pt=J.filters.item(_t)}catch{if(at===1)return}at=Math.round(at*100),pt?(pt.Enabled=at!==100,pt.Opacity=at):J.style.filter+=" progid:"+_t+"(opacity="+at+")"}function wl(J){for(var at=document.documentElement.style,pt=0;pt<J.length;pt++)if(J[pt]in at)return J[pt];return!1}function Xa(J,at,pt){var _t=at||new H(0,0);J.style[Jl]=(Te.ie3d?"translate("+_t.x+"px,"+_t.y+"px)":"translate3d("+_t.x+"px,"+_t.y+"px,0)")+(pt?" scale("+pt+")":"")}function Rr(J,at){J._leaflet_pos=at,Te.any3d?Xa(J,at):(J.style.left=at.x+"px",J.style.top=at.y+"px")}function wa(J){return J._leaflet_pos||new H(0,0)}var Za,ti,Ql;if("onselectstart"in document)Za=function(){dn(window,"selectstart",hn)},ti=function(){ke(window,"selectstart",hn)};else{var Yo=wl(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Za=function(){if(Yo){var J=document.documentElement.style;Ql=J[Yo],J[Yo]="none"}},ti=function(){Yo&&(document.documentElement.style[Yo]=Ql,Ql=void 0)}}function Ja(){dn(window,"dragstart",hn)}function Ps(){ke(window,"dragstart",hn)}var _l,Ds;function tc(J){for(;J.tabIndex===-1;)J=J.parentNode;J.style&&(Sl(),_l=J,Ds=J.style.outlineStyle,J.style.outlineStyle="none",dn(window,"keydown",Sl))}function Sl(){_l&&(_l.style.outlineStyle=Ds,_l=void 0,Ds=void 0,ke(window,"keydown",Sl))}function Yu(J){do J=J.parentNode;while((!J.offsetWidth||!J.offsetHeight)&&J!==document.body);return J}function qu(J){var at=J.getBoundingClientRect();return{x:at.width/J.offsetWidth||1,y:at.height/J.offsetHeight||1,boundingClientRect:at}}var mh={__proto__:null,TRANSFORM:Jl,TRANSITION:xl,TRANSITION_END:va,get:qa,getStyle:Os,create:jn,remove:qn,empty:ya,toFront:ba,toBack:Do,hasClass:xa,addClass:pn,removeClass:wr,setClass:eu,getClass:Kl,setOpacity:io,testProp:wl,setTransform:Xa,setPosition:Rr,getPosition:wa,get disableTextSelection(){return Za},get enableTextSelection(){return ti},disableImageDrag:Ja,enableImageDrag:Ps,preventOutline:tc,restoreOutline:Sl,getSizedParentNode:Yu,getScale:qu};function dn(J,at,pt,_t){if(at&&typeof at=="object")for(var Et in at)wi(J,Et,at[Et],pt);else{at=S(at);for(var Rt=0,Gt=at.length;Rt<Gt;Rt++)wi(J,at[Rt],pt,_t)}return this}var Ka="_leaflet_events";function ke(J,at,pt,_t){if(arguments.length===1)$n(J),delete J[Ka];else if(at&&typeof at=="object")for(var Et in at)jr(J,Et,at[Et],pt);else if(at=S(at),arguments.length===2)$n(J,function(ie){return U(at,ie)!==-1});else for(var Rt=0,Gt=at.length;Rt<Gt;Rt++)jr(J,at[Rt],pt,_t);return this}function $n(J,at){for(var pt in J[Ka]){var _t=pt.split(/\d/)[0];(!at||at(_t))&&jr(J,_t,null,null,pt)}}var si={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function wi(J,at,pt,_t){var Et=at+c(pt)+(_t?"_"+c(_t):"");if(J[Ka]&&J[Ka][Et])return this;var Rt=function(ie){return pt.call(_t||J,ie||window.event)},Gt=Rt;!Te.touchNative&&Te.pointer&&at.indexOf("touch")===0?Rt=Gn(J,at,Rt):Te.touch&&at==="dblclick"?Rt=ma(J,Rt):"addEventListener"in J?at==="touchstart"||at==="touchmove"||at==="wheel"||at==="mousewheel"?J.addEventListener(si[at]||at,Rt,Te.passiveEvents?{passive:!1}:!1):at==="mouseenter"||at==="mouseleave"?(Rt=function(ie){ie=ie||window.event,hb(J,ie)&&Gt(ie)},J.addEventListener(si[at],Rt,!1)):J.addEventListener(at,Gt,!1):J.attachEvent("on"+at,Rt),J[Ka]=J[Ka]||{},J[Ka][Et]=Rt}function jr(J,at,pt,_t,Et){Et=Et||at+c(pt)+(_t?"_"+c(_t):"");var Rt=J[Ka]&&J[Ka][Et];if(!Rt)return this;!Te.touchNative&&Te.pointer&&at.indexOf("touch")===0?we(J,at,Rt):Te.touch&&at==="dblclick"?Ya(J,Rt):"removeEventListener"in J?J.removeEventListener(si[at]||at,Rt,!1):J.detachEvent("on"+at,Rt),J[Ka][Et]=null}function Qa(J){return J.stopPropagation?J.stopPropagation():J.originalEvent?J.originalEvent._stopped=!0:J.cancelBubble=!0,this}function Xu(J){return wi(J,"wheel",Qa),this}function nu(J){return dn(J,"mousedown touchstart dblclick contextmenu",Qa),J._leaflet_disable_click=!0,this}function hn(J){return J.preventDefault?J.preventDefault():J.returnValue=!1,this}function nr(J){return hn(J),Qa(J),this}function Ck(J){if(J.composedPath)return J.composedPath();for(var at=[],pt=J.target;pt;)at.push(pt),pt=pt.parentNode;return at}function kk(J,at){if(!at)return new H(J.clientX,J.clientY);var pt=qu(at),_t=pt.boundingClientRect;return new H((J.clientX-_t.left)/pt.x-at.clientLeft,(J.clientY-_t.top)/pt.y-at.clientTop)}var XR=Te.linux&&Te.chrome?window.devicePixelRatio:Te.mac?window.devicePixelRatio*3:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function Mk(J){return Te.edge?J.wheelDeltaY/2:J.deltaY&&J.deltaMode===0?-J.deltaY/XR:J.deltaY&&J.deltaMode===1?-J.deltaY*20:J.deltaY&&J.deltaMode===2?-J.deltaY*60:J.deltaX||J.deltaZ?0:J.wheelDelta?(J.wheelDeltaY||J.wheelDelta)/2:J.detail&&Math.abs(J.detail)<32765?-J.detail*20:J.detail?J.detail/-32765*60:0}function hb(J,at){var pt=at.relatedTarget;if(!pt)return!0;try{for(;pt&&pt!==J;)pt=pt.parentNode}catch{return!1}return pt!==J}var ZR={__proto__:null,on:dn,off:ke,stopPropagation:Qa,disableScrollPropagation:Xu,disableClickPropagation:nu,preventDefault:hn,stop:nr,getPropagationPath:Ck,getMousePosition:kk,getWheelDelta:Mk,isExternalTarget:hb,addListener:dn,removeListener:ke},pb=q.extend({run:function(J,at,pt,_t){this.stop(),this._el=J,this._inProgress=!0,this._duration=pt||.25,this._easeOutPower=1/Math.max(_t||.5,.2),this._startPos=wa(J),this._offset=at.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=d(this._animate,this),this._step()},_step:function(J){var at=+new Date-this._startTime,pt=this._duration*1e3;at<pt?this._runFrame(this._easeOut(at/pt),J):(this._runFrame(1),this._complete())},_runFrame:function(J,at){var pt=this._startPos.add(this._offset.multiplyBy(J));at&&pt._round(),Rr(this._el,pt),this.fire("step")},_complete:function(){g(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(J){return 1-Math.pow(1-J,this._easeOutPower)}}),Yn=q.extend({options:{crs:F,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(J,at){at=b(this,at),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(J),this._initLayout(),this._onResize=a(this._onResize,this),this._initEvents(),at.maxBounds&&this.setMaxBounds(at.maxBounds),at.zoom!==void 0&&(this._zoom=this._limitZoom(at.zoom)),at.center&&at.zoom!==void 0&&this.setView(v(at.center),at.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=xl&&Te.any3d&&!Te.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),dn(this._proxy,va,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(J,at,pt){if(at=at===void 0?this._zoom:this._limitZoom(at),J=this._limitCenter(v(J),at,this.options.maxBounds),pt=pt||{},this._stop(),this._loaded&&!pt.reset&&pt!==!0){pt.animate!==void 0&&(pt.zoom=i({animate:pt.animate},pt.zoom),pt.pan=i({animate:pt.animate,duration:pt.duration},pt.pan));var _t=this._zoom!==at?this._tryAnimatedZoom&&this._tryAnimatedZoom(J,at,pt.zoom):this._tryAnimatedPan(J,pt.pan);if(_t)return clearTimeout(this._sizeTimer),this}return this._resetView(J,at,pt.pan&&pt.pan.noMoveStart),this},setZoom:function(J,at){return this._loaded?this.setView(this.getCenter(),J,{zoom:at}):(this._zoom=J,this)},zoomIn:function(J,at){return J=J||(Te.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+J,at)},zoomOut:function(J,at){return J=J||(Te.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-J,at)},setZoomAround:function(J,at,pt){var _t=this.getZoomScale(at),Et=this.getSize().divideBy(2),Rt=J instanceof H?J:this.latLngToContainerPoint(J),Gt=Rt.subtract(Et).multiplyBy(1-1/_t),ie=this.containerPointToLatLng(Et.add(Gt));return this.setView(ie,at,{zoom:pt})},_getBoundsCenterZoom:function(J,at){at=at||{},J=J.getBounds?J.getBounds():_(J);var pt=I(at.paddingTopLeft||at.padding||[0,0]),_t=I(at.paddingBottomRight||at.padding||[0,0]),Et=this.getBoundsZoom(J,!1,pt.add(_t));if(Et=typeof at.maxZoom=="number"?Math.min(at.maxZoom,Et):Et,Et===1/0)return{center:J.getCenter(),zoom:Et};var Rt=_t.subtract(pt).divideBy(2),Gt=this.project(J.getSouthWest(),Et),ie=this.project(J.getNorthEast(),Et),le=this.unproject(Gt.add(ie).divideBy(2).add(Rt),Et);return{center:le,zoom:Et}},fitBounds:function(J,at){if(J=_(J),!J.isValid())throw new Error("Bounds are not valid.");var pt=this._getBoundsCenterZoom(J,at);return this.setView(pt.center,pt.zoom,at)},fitWorld:function(J){return this.fitBounds([[-90,-180],[90,180]],J)},panTo:function(J,at){return this.setView(J,this._zoom,{pan:at})},panBy:function(J,at){if(J=I(J).round(),at=at||{},!J.x&&!J.y)return this.fire("moveend");if(at.animate!==!0&&!this.getSize().contains(J))return this._resetView(this.unproject(this.project(this.getCenter()).add(J)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new pb,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),at.noMoveStart||this.fire("movestart"),at.animate!==!1){pn(this._mapPane,"leaflet-pan-anim");var pt=this._getMapPanePos().subtract(J).round();this._panAnim.run(this._mapPane,pt,at.duration||.25,at.easeLinearity)}else this._rawPanBy(J),this.fire("move").fire("moveend");return this},flyTo:function(J,at,pt){if(pt=pt||{},pt.animate===!1||!Te.any3d)return this.setView(J,at,pt);this._stop();var _t=this.project(this.getCenter()),Et=this.project(J),Rt=this.getSize(),Gt=this._zoom;J=v(J),at=at===void 0?Gt:at;var ie=Math.max(Rt.x,Rt.y),le=ie*this.getZoomScale(Gt,at),_e=Et.distanceTo(_t)||1,je=1.42,nn=je*je;function Tn(Wr){var uf=Wr?-1:1,jt=Wr?le:ie,Mh=le*le-ie*ie+uf*nn*nn*_e*_e,Um=2*jt*nn*_e,Jo=Mh/Um,zn=Math.sqrt(Jo*Jo+1)-Jo,uj=zn<1e-9?-18:Math.log(zn);return uj}function Oi(Wr){return(Math.exp(Wr)-Math.exp(-Wr))/2}function ci(Wr){return(Math.exp(Wr)+Math.exp(-Wr))/2}function go(Wr){return Oi(Wr)/ci(Wr)}var ao=Tn(0);function Ns(Wr){return ie*(ci(ao)/ci(ao+je*Wr))}function aj(Wr){return ie*(ci(ao)*go(ao+je*Wr)-Oi(ao))/nn}function sj(Wr){return 1-Math.pow(1-Wr,1.5)}var lj=Date.now(),Hk=(Tn(1)-ao)/je,cj=pt.duration?1e3*pt.duration:1e3*Hk*.8;function cf(){var Wr=(Date.now()-lj)/cj,uf=sj(Wr)*Hk;Wr<=1?(this._flyToFrame=d(cf,this),this._move(this.unproject(_t.add(Et.subtract(_t).multiplyBy(aj(uf)/_e)),Gt),this.getScaleZoom(ie/Ns(uf),Gt),{flyTo:!0})):this._move(J,at)._moveEnd(!0)}return this._moveStart(!0,pt.noMoveStart),cf.call(this),this},flyToBounds:function(J,at){var pt=this._getBoundsCenterZoom(J,at);return this.flyTo(pt.center,pt.zoom,at)},setMaxBounds:function(J){return J=_(J),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),J.isValid()?(this.options.maxBounds=J,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(J){var at=this.options.minZoom;return this.options.minZoom=J,this._loaded&&at!==J&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(J):this},setMaxZoom:function(J){var at=this.options.maxZoom;return this.options.maxZoom=J,this._loaded&&at!==J&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(J):this},panInsideBounds:function(J,at){this._enforcingBounds=!0;var pt=this.getCenter(),_t=this._limitCenter(pt,this._zoom,_(J));return pt.equals(_t)||this.panTo(_t,at),this._enforcingBounds=!1,this},panInside:function(J,at){at=at||{};var pt=I(at.paddingTopLeft||at.padding||[0,0]),_t=I(at.paddingBottomRight||at.padding||[0,0]),Et=this.project(this.getCenter()),Rt=this.project(J),Gt=this.getPixelBounds(),ie=k([Gt.min.add(pt),Gt.max.subtract(_t)]),le=ie.getSize();if(!ie.contains(Rt)){this._enforcingBounds=!0;var _e=Rt.subtract(ie.getCenter()),je=ie.extend(Rt).getSize().subtract(le);Et.x+=_e.x<0?-je.x:je.x,Et.y+=_e.y<0?-je.y:je.y,this.panTo(this.unproject(Et),at),this._enforcingBounds=!1}return this},invalidateSize:function(J){if(!this._loaded)return this;J=i({animate:!1,pan:!0},J===!0?{animate:!0}:J);var at=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var pt=this.getSize(),_t=at.divideBy(2).round(),Et=pt.divideBy(2).round(),Rt=_t.subtract(Et);return!Rt.x&&!Rt.y?this:(J.animate&&J.pan?this.panBy(Rt):(J.pan&&this._rawPanBy(Rt),this.fire("move"),J.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(a(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:at,newSize:pt}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(J){if(J=this._locateOptions=i({timeout:1e4,watch:!1},J),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var at=a(this._handleGeolocationResponse,this),pt=a(this._handleGeolocationError,this);return J.watch?this._locationWatchId=navigator.geolocation.watchPosition(at,pt,J):navigator.geolocation.getCurrentPosition(at,pt,J),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(J){if(this._container._leaflet_id){var at=J.code,pt=J.message||(at===1?"permission denied":at===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:at,message:"Geolocation error: "+pt+"."})}},_handleGeolocationResponse:function(J){if(this._container._leaflet_id){var at=J.coords.latitude,pt=J.coords.longitude,_t=new y(at,pt),Et=_t.toBounds(J.coords.accuracy*2),Rt=this._locateOptions;if(Rt.setView){var Gt=this.getBoundsZoom(Et);this.setView(_t,Rt.maxZoom?Math.min(Gt,Rt.maxZoom):Gt)}var ie={latlng:_t,bounds:Et,timestamp:J.timestamp};for(var le in J.coords)typeof J.coords[le]=="number"&&(ie[le]=J.coords[le]);this.fire("locationfound",ie)}},addHandler:function(J,at){if(!at)return this;var pt=this[J]=new at(this);return this._handlers.push(pt),this.options[J]&&pt.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(),qn(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(g(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var J;for(J in this._layers)this._layers[J].remove();for(J in this._panes)qn(this._panes[J]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(J,at){var pt="leaflet-pane"+(J?" leaflet-"+J.replace("Pane","")+"-pane":""),_t=jn("div",pt,at||this._mapPane);return J&&(this._panes[J]=_t),_t},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var J=this.getPixelBounds(),at=this.unproject(J.getBottomLeft()),pt=this.unproject(J.getTopRight());return new h(at,pt)},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(J,at,pt){J=_(J),pt=I(pt||[0,0]);var _t=this.getZoom()||0,Et=this.getMinZoom(),Rt=this.getMaxZoom(),Gt=J.getNorthWest(),ie=J.getSouthEast(),le=this.getSize().subtract(pt),_e=k(this.project(ie,_t),this.project(Gt,_t)).getSize(),je=Te.any3d?this.options.zoomSnap:1,nn=le.x/_e.x,Tn=le.y/_e.y,Oi=at?Math.max(nn,Tn):Math.min(nn,Tn);return _t=this.getScaleZoom(Oi,_t),je&&(_t=Math.round(_t/(je/100))*(je/100),_t=at?Math.ceil(_t/je)*je:Math.floor(_t/je)*je),Math.max(Et,Math.min(Rt,_t))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new H(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(J,at){var pt=this._getTopLeftPoint(J,at);return new A(pt,pt.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(J){return this.options.crs.getProjectedBounds(J===void 0?this.getZoom():J)},getPane:function(J){return typeof J=="string"?this._panes[J]:J},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(J,at){var pt=this.options.crs;return at=at===void 0?this._zoom:at,pt.scale(J)/pt.scale(at)},getScaleZoom:function(J,at){var pt=this.options.crs;at=at===void 0?this._zoom:at;var _t=pt.zoom(J*pt.scale(at));return isNaN(_t)?1/0:_t},project:function(J,at){return at=at===void 0?this._zoom:at,this.options.crs.latLngToPoint(v(J),at)},unproject:function(J,at){return at=at===void 0?this._zoom:at,this.options.crs.pointToLatLng(I(J),at)},layerPointToLatLng:function(J){var at=I(J).add(this.getPixelOrigin());return this.unproject(at)},latLngToLayerPoint:function(J){var at=this.project(v(J))._round();return at._subtract(this.getPixelOrigin())},wrapLatLng:function(J){return this.options.crs.wrapLatLng(v(J))},wrapLatLngBounds:function(J){return this.options.crs.wrapLatLngBounds(_(J))},distance:function(J,at){return this.options.crs.distance(v(J),v(at))},containerPointToLayerPoint:function(J){return I(J).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(J){return I(J).add(this._getMapPanePos())},containerPointToLatLng:function(J){var at=this.containerPointToLayerPoint(I(J));return this.layerPointToLatLng(at)},latLngToContainerPoint:function(J){return this.layerPointToContainerPoint(this.latLngToLayerPoint(v(J)))},mouseEventToContainerPoint:function(J){return kk(J,this._container)},mouseEventToLayerPoint:function(J){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(J))},mouseEventToLatLng:function(J){return this.layerPointToLatLng(this.mouseEventToLayerPoint(J))},_initContainer:function(J){var at=this._container=qa(J);if(at){if(at._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");dn(at,"scroll",this._onScroll,this),this._containerId=c(at)},_initLayout:function(){var J=this._container;this._fadeAnimated=this.options.fadeAnimation&&Te.any3d,pn(J,"leaflet-container"+(Te.touch?" leaflet-touch":"")+(Te.retina?" leaflet-retina":"")+(Te.ielt9?" leaflet-oldie":"")+(Te.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var at=Os(J,"position");at!=="absolute"&&at!=="relative"&&at!=="fixed"&&at!=="sticky"&&(J.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var J=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Rr(this._mapPane,new H(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(pn(J.markerPane,"leaflet-zoom-hide"),pn(J.shadowPane,"leaflet-zoom-hide"))},_resetView:function(J,at,pt){Rr(this._mapPane,new H(0,0));var _t=!this._loaded;this._loaded=!0,at=this._limitZoom(at),this.fire("viewprereset");var Et=this._zoom!==at;this._moveStart(Et,pt)._move(J,at)._moveEnd(Et),this.fire("viewreset"),_t&&this.fire("load")},_moveStart:function(J,at){return J&&this.fire("zoomstart"),at||this.fire("movestart"),this},_move:function(J,at,pt,_t){at===void 0&&(at=this._zoom);var Et=this._zoom!==at;return this._zoom=at,this._lastCenter=J,this._pixelOrigin=this._getNewPixelOrigin(J),_t?pt&&pt.pinch&&this.fire("zoom",pt):((Et||pt&&pt.pinch)&&this.fire("zoom",pt),this.fire("move",pt)),this},_moveEnd:function(J){return J&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return g(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(J){Rr(this._mapPane,this._getMapPanePos().subtract(J))},_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(J){this._targets={},this._targets[c(this._container)]=this;var at=J?ke:dn;at(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&at(window,"resize",this._onResize,this),Te.any3d&&this.options.transform3DLimit&&(J?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){g(this._resizeRequest),this._resizeRequest=d(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var J=this._getMapPanePos();Math.max(Math.abs(J.x),Math.abs(J.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(J,at){for(var pt=[],_t,Et=at==="mouseout"||at==="mouseover",Rt=J.target||J.srcElement,Gt=!1;Rt;){if(_t=this._targets[c(Rt)],_t&&(at==="click"||at==="preclick")&&this._draggableMoved(_t)){Gt=!0;break}if(_t&&_t.listens(at,!0)&&(Et&&!hb(Rt,J)||(pt.push(_t),Et))||Rt===this._container)break;Rt=Rt.parentNode}return!pt.length&&!Gt&&!Et&&this.listens(at,!0)&&(pt=[this]),pt},_isClickDisabled:function(J){for(;J&&J!==this._container;){if(J._leaflet_disable_click)return!0;J=J.parentNode}},_handleDOMEvent:function(J){var at=J.target||J.srcElement;if(!(!this._loaded||at._leaflet_disable_events||J.type==="click"&&this._isClickDisabled(at))){var pt=J.type;pt==="mousedown"&&tc(at),this._fireDOMEvent(J,pt)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(J,at,pt){if(J.type==="click"){var _t=i({},J);_t.type="preclick",this._fireDOMEvent(_t,_t.type,pt)}var Et=this._findEventTargets(J,at);if(pt){for(var Rt=[],Gt=0;Gt<pt.length;Gt++)pt[Gt].listens(at,!0)&&Rt.push(pt[Gt]);Et=Rt.concat(Et)}if(Et.length){at==="contextmenu"&&hn(J);var ie=Et[0],le={originalEvent:J};if(J.type!=="keypress"&&J.type!=="keydown"&&J.type!=="keyup"){var _e=ie.getLatLng&&(!ie._radius||ie._radius<=10);le.containerPoint=_e?this.latLngToContainerPoint(ie.getLatLng()):this.mouseEventToContainerPoint(J),le.layerPoint=this.containerPointToLayerPoint(le.containerPoint),le.latlng=_e?ie.getLatLng():this.layerPointToLatLng(le.layerPoint)}for(Gt=0;Gt<Et.length;Gt++)if(Et[Gt].fire(at,le,!0),le.originalEvent._stopped||Et[Gt].options.bubblingMouseEvents===!1&&U(this._mouseEvents,at)!==-1)return}},_draggableMoved:function(J){return J=J.dragging&&J.dragging.enabled()?J:this,J.dragging&&J.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var J=0,at=this._handlers.length;J<at;J++)this._handlers[J].disable()},whenReady:function(J,at){return this._loaded?J.call(at||this,{target:this}):this.on("load",J,at),this},_getMapPanePos:function(){return wa(this._mapPane)||new H(0,0)},_moved:function(){var J=this._getMapPanePos();return J&&!J.equals([0,0])},_getTopLeftPoint:function(J,at){var pt=J&&at!==void 0?this._getNewPixelOrigin(J,at):this.getPixelOrigin();return pt.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(J,at){var pt=this.getSize()._divideBy(2);return this.project(J,at)._subtract(pt)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(J,at,pt){var _t=this._getNewPixelOrigin(pt,at);return this.project(J,at)._subtract(_t)},_latLngBoundsToNewLayerBounds:function(J,at,pt){var _t=this._getNewPixelOrigin(pt,at);return k([this.project(J.getSouthWest(),at)._subtract(_t),this.project(J.getNorthWest(),at)._subtract(_t),this.project(J.getSouthEast(),at)._subtract(_t),this.project(J.getNorthEast(),at)._subtract(_t)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(J){return this.latLngToLayerPoint(J).subtract(this._getCenterLayerPoint())},_limitCenter:function(J,at,pt){if(!pt)return J;var _t=this.project(J,at),Et=this.getSize().divideBy(2),Rt=new A(_t.subtract(Et),_t.add(Et)),Gt=this._getBoundsOffset(Rt,pt,at);return Math.abs(Gt.x)<=1&&Math.abs(Gt.y)<=1?J:this.unproject(_t.add(Gt),at)},_limitOffset:function(J,at){if(!at)return J;var pt=this.getPixelBounds(),_t=new A(pt.min.add(J),pt.max.add(J));return J.add(this._getBoundsOffset(_t,at))},_getBoundsOffset:function(J,at,pt){var _t=k(this.project(at.getNorthEast(),pt),this.project(at.getSouthWest(),pt)),Et=_t.min.subtract(J.min),Rt=_t.max.subtract(J.max),Gt=this._rebound(Et.x,-Rt.x),ie=this._rebound(Et.y,-Rt.y);return new H(Gt,ie)},_rebound:function(J,at){return J+at>0?Math.round(J-at)/2:Math.max(0,Math.ceil(J))-Math.max(0,Math.floor(at))},_limitZoom:function(J){var at=this.getMinZoom(),pt=this.getMaxZoom(),_t=Te.any3d?this.options.zoomSnap:1;return _t&&(J=Math.round(J/_t)*_t),Math.max(at,Math.min(pt,J))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){wr(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(J,at){var pt=this._getCenterOffset(J)._trunc();return(at&&at.animate)!==!0&&!this.getSize().contains(pt)?!1:(this.panBy(pt,at),!0)},_createAnimProxy:function(){var J=this._proxy=jn("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(J),this.on("zoomanim",function(at){var pt=Jl,_t=this._proxy.style[pt];Xa(this._proxy,this.project(at.center,at.zoom),this.getZoomScale(at.zoom,1)),_t===this._proxy.style[pt]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){qn(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var J=this.getCenter(),at=this.getZoom();Xa(this._proxy,this.project(J,at),this.getZoomScale(at,1))},_catchTransitionEnd:function(J){this._animatingZoom&&J.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(J,at,pt){if(this._animatingZoom)return!0;if(pt=pt||{},!this._zoomAnimated||pt.animate===!1||this._nothingToAnimate()||Math.abs(at-this._zoom)>this.options.zoomAnimationThreshold)return!1;var _t=this.getZoomScale(at),Et=this._getCenterOffset(J)._divideBy(1-1/_t);return pt.animate!==!0&&!this.getSize().contains(Et)?!1:(d(function(){this._moveStart(!0,pt.noMoveStart||!1)._animateZoom(J,at,!0)},this),!0)},_animateZoom:function(J,at,pt,_t){this._mapPane&&(pt&&(this._animatingZoom=!0,this._animateToCenter=J,this._animateToZoom=at,pn(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:J,zoom:at,noUpdate:_t}),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&&wr(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 oo(J,at){return new Yn(J,at)}var _a=M.extend({options:{position:"topright"},initialize:function(J){b(this,J)},getPosition:function(){return this.options.position},setPosition:function(J){var at=this._map;return at&&at.removeControl(this),this.options.position=J,at&&at.addControl(this),this},getContainer:function(){return this._container},addTo:function(J){this.remove(),this._map=J;var at=this._container=this.onAdd(J),pt=this.getPosition(),_t=J._controlCorners[pt];return pn(at,"leaflet-control"),pt.indexOf("bottom")!==-1?_t.insertBefore(at,_t.firstChild):_t.appendChild(at),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(qn(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(J){this._map&&J&&J.screenX>0&&J.screenY>0&&this._map.getContainer().focus()}}),Ls=function(J){return new _a(J)};Yn.include({addControl:function(J){return J.addTo(this),this},removeControl:function(J){return J.remove(),this},_initControlPos:function(){var J=this._controlCorners={},at="leaflet-",pt=this._controlContainer=jn("div",at+"control-container",this._container);function _t(Et,Rt){var Gt=at+Et+" "+at+Rt;J[Et+Rt]=jn("div",Gt,pt)}_t("top","left"),_t("top","right"),_t("bottom","left"),_t("bottom","right")},_clearControlPos:function(){for(var J in this._controlCorners)qn(this._controlCorners[J]);qn(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var fb=_a.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(J,at,pt,_t){return pt<_t?-1:_t<pt?1:0}},initialize:function(J,at,pt){b(this,pt),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1;for(var _t in J)this._addLayer(J[_t],_t);for(_t in at)this._addLayer(at[_t],_t,!0)},onAdd:function(J){this._initLayout(),this._update(),this._map=J,J.on("zoomend",this._checkDisabledLayers,this);for(var at=0;at<this._layers.length;at++)this._layers[at].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(J){return _a.prototype.addTo.call(this,J),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var J=0;J<this._layers.length;J++)this._layers[J].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(J,at){return this._addLayer(J,at),this._map?this._update():this},addOverlay:function(J,at){return this._addLayer(J,at,!0),this._map?this._update():this},removeLayer:function(J){J.off("add remove",this._onLayerChange,this);var at=this._getLayer(c(J));return at&&this._layers.splice(this._layers.indexOf(at),1),this._map?this._update():this},expand:function(){pn(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var J=this._map.getSize().y-(this._container.offsetTop+50);return J<this._section.clientHeight?(pn(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=J+"px"):wr(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return wr(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var J="leaflet-control-layers",at=this._container=jn("div",J),pt=this.options.collapsed;at.setAttribute("aria-haspopup",!0),nu(at),Xu(at);var _t=this._section=jn("section",J+"-list");pt&&(this._map.on("click",this.collapse,this),dn(at,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var Et=this._layersLink=jn("a",J+"-toggle",at);Et.href="#",Et.title="Layers",Et.setAttribute("role","button"),dn(Et,{keydown:function(Rt){Rt.keyCode===13&&this._expandSafely()},click:function(Rt){hn(Rt),this._expandSafely()}},this),pt||this.expand(),this._baseLayersList=jn("div",J+"-base",_t),this._separator=jn("div",J+"-separator",_t),this._overlaysList=jn("div",J+"-overlays",_t),at.appendChild(_t)},_getLayer:function(J){for(var at=0;at<this._layers.length;at++)if(this._layers[at]&&c(this._layers[at].layer)===J)return this._layers[at]},_addLayer:function(J,at,pt){this._map&&J.on("add remove",this._onLayerChange,this),this._layers.push({layer:J,name:at,overlay:pt}),this.options.sortLayers&&this._layers.sort(a(function(_t,Et){return this.options.sortFunction(_t.layer,Et.layer,_t.name,Et.name)},this)),this.options.autoZIndex&&J.setZIndex&&(this._lastZIndex++,J.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;ya(this._baseLayersList),ya(this._overlaysList),this._layerControlInputs=[];var J,at,pt,_t,Et=0;for(pt=0;pt<this._layers.length;pt++)_t=this._layers[pt],this._addItem(_t),at=at||_t.overlay,J=J||!_t.overlay,Et+=_t.overlay?0:1;return this.options.hideSingleBase&&(J=J&&Et>1,this._baseLayersList.style.display=J?"":"none"),this._separator.style.display=at&&J?"":"none",this},_onLayerChange:function(J){this._handlingClick||this._update();var at=this._getLayer(c(J.target)),pt=at.overlay?J.type==="add"?"overlayadd":"overlayremove":J.type==="add"?"baselayerchange":null;pt&&this._map.fire(pt,at)},_createRadioElement:function(J,at){var pt='<input type="radio" class="leaflet-control-layers-selector" name="'+J+'"'+(at?' checked="checked"':"")+"/>",_t=document.createElement("div");return _t.innerHTML=pt,_t.firstChild},_addItem:function(J){var at=document.createElement("label"),pt=this._map.hasLayer(J.layer),_t;J.overlay?(_t=document.createElement("input"),_t.type="checkbox",_t.className="leaflet-control-layers-selector",_t.defaultChecked=pt):_t=this._createRadioElement("leaflet-base-layers_"+c(this),pt),this._layerControlInputs.push(_t),_t.layerId=c(J.layer),dn(_t,"click",this._onInputClick,this);var Et=document.createElement("span");Et.innerHTML=" "+J.name;var Rt=document.createElement("span");at.appendChild(Rt),Rt.appendChild(_t),Rt.appendChild(Et);var Gt=J.overlay?this._overlaysList:this._baseLayersList;return Gt.appendChild(at),this._checkDisabledLayers(),at},_onInputClick:function(){if(!this._preventClick){var J=this._layerControlInputs,at,pt,_t=[],Et=[];this._handlingClick=!0;for(var Rt=J.length-1;Rt>=0;Rt--)at=J[Rt],pt=this._getLayer(at.layerId).layer,at.checked?_t.push(pt):at.checked||Et.push(pt);for(Rt=0;Rt<Et.length;Rt++)this._map.hasLayer(Et[Rt])&&this._map.removeLayer(Et[Rt]);for(Rt=0;Rt<_t.length;Rt++)this._map.hasLayer(_t[Rt])||this._map.addLayer(_t[Rt]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var J=this._layerControlInputs,at,pt,_t=this._map.getZoom(),Et=J.length-1;Et>=0;Et--)at=J[Et],pt=this._getLayer(at.layerId).layer,at.disabled=pt.options.minZoom!==void 0&&_t<pt.options.minZoom||pt.options.maxZoom!==void 0&&_t>pt.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var J=this._section;this._preventClick=!0,dn(J,"click",hn),this.expand();var at=this;setTimeout(function(){ke(J,"click",hn),at._preventClick=!1})}}),gb=function(J,at,pt){return new fb(J,at,pt)},qo=_a.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(J){var at="leaflet-control-zoom",pt=jn("div",at+" leaflet-bar"),_t=this.options;return this._zoomInButton=this._createButton(_t.zoomInText,_t.zoomInTitle,at+"-in",pt,this._zoomIn),this._zoomOutButton=this._createButton(_t.zoomOutText,_t.zoomOutTitle,at+"-out",pt,this._zoomOut),this._updateDisabled(),J.on("zoomend zoomlevelschange",this._updateDisabled,this),pt},onRemove:function(J){J.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(J){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(J.shiftKey?3:1))},_zoomOut:function(J){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(J.shiftKey?3:1))},_createButton:function(J,at,pt,_t,Et){var Rt=jn("a",pt,_t);return Rt.innerHTML=J,Rt.href="#",Rt.title=at,Rt.setAttribute("role","button"),Rt.setAttribute("aria-label",at),nu(Rt),dn(Rt,"click",nr),dn(Rt,"click",Et,this),dn(Rt,"click",this._refocusOnMap,this),Rt},_updateDisabled:function(){var J=this._map,at="leaflet-disabled";wr(this._zoomInButton,at),wr(this._zoomOutButton,at),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||J._zoom===J.getMinZoom())&&(pn(this._zoomOutButton,at),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||J._zoom===J.getMaxZoom())&&(pn(this._zoomInButton,at),this._zoomInButton.setAttribute("aria-disabled","true"))}});Yn.mergeOptions({zoomControl:!0}),Yn.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new qo,this.addControl(this.zoomControl))});var Tk=function(J){return new qo(J)},mb=_a.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(J){var at="leaflet-control-scale",pt=jn("div",at),_t=this.options;return this._addScales(_t,at+"-line",pt),J.on(_t.updateWhenIdle?"moveend":"move",this._update,this),J.whenReady(this._update,this),pt},onRemove:function(J){J.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(J,at,pt){J.metric&&(this._mScale=jn("div",at,pt)),J.imperial&&(this._iScale=jn("div",at,pt))},_update:function(){var J=this._map,at=J.getSize().y/2,pt=J.distance(J.containerPointToLatLng([0,at]),J.containerPointToLatLng([this.options.maxWidth,at]));this._updateScales(pt)},_updateScales:function(J){this.options.metric&&J&&this._updateMetric(J),this.options.imperial&&J&&this._updateImperial(J)},_updateMetric:function(J){var at=this._getRoundNum(J),pt=at<1e3?at+" m":at/1e3+" km";this._updateScale(this._mScale,pt,at/J)},_updateImperial:function(J){var at=J*3.2808399,pt,_t,Et;at>5280?(pt=at/5280,_t=this._getRoundNum(pt),this._updateScale(this._iScale,_t+" mi",_t/pt)):(Et=this._getRoundNum(at),this._updateScale(this._iScale,Et+" ft",Et/at))},_updateScale:function(J,at,pt){J.style.width=Math.round(this.options.maxWidth*pt)+"px",J.innerHTML=at},_getRoundNum:function(J){var at=Math.pow(10,(Math.floor(J)+"").length-1),pt=J/at;return pt=pt>=10?10:pt>=5?5:pt>=3?3:pt>=2?2:1,at*pt}}),Ak=function(J){return new mb(J)},Ek='<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>',Nm=_a.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(Te.inlineSvg?Ek+" ":"")+"Leaflet</a>"},initialize:function(J){b(this,J),this._attributions={}},onAdd:function(J){J.attributionControl=this,this._container=jn("div","leaflet-control-attribution"),nu(this._container);for(var at in J._layers)J._layers[at].getAttribution&&this.addAttribution(J._layers[at].getAttribution());return this._update(),J.on("layeradd",this._addAttribution,this),this._container},onRemove:function(J){J.off("layeradd",this._addAttribution,this)},_addAttribution:function(J){J.layer.getAttribution&&(this.addAttribution(J.layer.getAttribution()),J.layer.once("remove",function(){this.removeAttribution(J.layer.getAttribution())},this))},setPrefix:function(J){return this.options.prefix=J,this._update(),this},addAttribution:function(J){return J?(this._attributions[J]||(this._attributions[J]=0),this._attributions[J]++,this._update(),this):this},removeAttribution:function(J){return J?(this._attributions[J]&&(this._attributions[J]--,this._update()),this):this},_update:function(){if(this._map){var J=[];for(var at in this._attributions)this._attributions[at]&&J.push(at);var pt=[];this.options.prefix&&pt.push(this.options.prefix),J.length&&pt.push(J.join(", ")),this._container.innerHTML=pt.join(' <span aria-hidden="true">|</span> ')}}});Yn.mergeOptions({attributionControl:!0}),Yn.addInitHook(function(){this.options.attributionControl&&new Nm().addTo(this)});var Ok=function(J){return new Nm(J)};_a.Layers=fb,_a.Zoom=qo,_a.Scale=mb,_a.Attribution=Nm,Ls.layers=gb,Ls.zoom=Tk,Ls.scale=Ak,Ls.attribution=Ok;var li=M.extend({initialize:function(J){this._map=J},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}});li.addTo=function(J,at){return J.addHandler(at,this),this};var JR={Events:V},Sa=Te.touch?"touchstart mousedown":"mousedown",ru=q.extend({options:{clickTolerance:3},initialize:function(J,at,pt,_t){b(this,_t),this._element=J,this._dragStartTarget=at||J,this._preventOutline=pt},enable:function(){this._enabled||(dn(this._dragStartTarget,Sa,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(ru._dragging===this&&this.finishDrag(!0),ke(this._dragStartTarget,Sa,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(J){if(this._enabled&&(this._moved=!1,!xa(this._element,"leaflet-zoom-anim"))){if(J.touches&&J.touches.length!==1){ru._dragging===this&&this.finishDrag();return}if(!(ru._dragging||J.shiftKey||J.which!==1&&J.button!==1&&!J.touches)&&(ru._dragging=this,this._preventOutline&&tc(this._element),Ja(),Za(),!this._moving)){this.fire("down");var at=J.touches?J.touches[0]:J,pt=Yu(this._element);this._startPoint=new H(at.clientX,at.clientY),this._startPos=wa(this._element),this._parentScale=qu(pt);var _t=J.type==="mousedown";dn(document,_t?"mousemove":"touchmove",this._onMove,this),dn(document,_t?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(J){if(this._enabled){if(J.touches&&J.touches.length>1){this._moved=!0;return}var at=J.touches&&J.touches.length===1?J.touches[0]:J,pt=new H(at.clientX,at.clientY)._subtract(this._startPoint);!pt.x&&!pt.y||Math.abs(pt.x)+Math.abs(pt.y)<this.options.clickTolerance||(pt.x/=this._parentScale.x,pt.y/=this._parentScale.y,hn(J),this._moved||(this.fire("dragstart"),this._moved=!0,pn(document.body,"leaflet-dragging"),this._lastTarget=J.target||J.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),pn(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(pt),this._moving=!0,this._lastEvent=J,this._updatePosition())}},_updatePosition:function(){var J={originalEvent:this._lastEvent};this.fire("predrag",J),Rr(this._element,this._newPos),this.fire("drag",J)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(J){wr(document.body,"leaflet-dragging"),this._lastTarget&&(wr(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),ke(document,"mousemove touchmove",this._onMove,this),ke(document,"mouseup touchend touchcancel",this._onUp,this),Ps(),ti();var at=this._moved&&this._moving;this._moving=!1,ru._dragging=!1,at&&this.fire("dragend",{noInertia:J,distance:this._newPos.distanceTo(this._startPos)})}});function vb(J,at,pt){var _t,Et=[1,4,2,8],Rt,Gt,ie,le,_e,je,nn,Tn;for(Rt=0,je=J.length;Rt<je;Rt++)J[Rt]._code=Cl(J[Rt],at);for(ie=0;ie<4;ie++){for(nn=Et[ie],_t=[],Rt=0,je=J.length,Gt=je-1;Rt<je;Gt=Rt++)le=J[Rt],_e=J[Gt],le._code&nn?_e._code&nn||(Tn=Jp(_e,le,nn,at,pt),Tn._code=Cl(Tn,at),_t.push(Tn)):(_e._code&nn&&(Tn=Jp(_e,le,nn,at,pt),Tn._code=Cl(Tn,at),_t.push(Tn)),_t.push(le));J=_t}return J}function ec(J,at){var pt,_t,Et,Rt,Gt,ie,le,_e,je;if(!J||J.length===0)throw new Error("latlngs not passed");Ca(J)||(console.warn("latlngs are not flat! Only the first ring will be used"),J=J[0]);var nn=v([0,0]),Tn=_(J),Oi=Tn.getNorthWest().distanceTo(Tn.getSouthWest())*Tn.getNorthEast().distanceTo(Tn.getNorthWest());Oi<1700&&(nn=vh(J));var ci=J.length,go=[];for(pt=0;pt<ci;pt++){var ao=v(J[pt]);go.push(at.project(v([ao.lat-nn.lat,ao.lng-nn.lng])))}for(ie=le=_e=0,pt=0,_t=ci-1;pt<ci;_t=pt++)Et=go[pt],Rt=go[_t],Gt=Et.y*Rt.x-Rt.y*Et.x,le+=(Et.x+Rt.x)*Gt,_e+=(Et.y+Rt.y)*Gt,ie+=Gt*3;ie===0?je=go[0]:je=[le/ie,_e/ie];var Ns=at.unproject(I(je));return v([Ns.lat+nn.lat,Ns.lng+nn.lng])}function vh(J){for(var at=0,pt=0,_t=0,Et=0;Et<J.length;Et++){var Rt=v(J[Et]);at+=Rt.lat,pt+=Rt.lng,_t++}return v([at/_t,pt/_t])}var yb={__proto__:null,clipPolygon:vb,polygonCenter:ec,centroid:vh};function $r(J,at){if(!at||!J.length)return J.slice();var pt=at*at;return J=QR(J,pt),J=KR(J,pt),J}function nc(J,at,pt){return Math.sqrt(Kp(J,at,pt,!0))}function bb(J,at,pt){return Kp(J,at,pt)}function KR(J,at){var pt=J.length,_t=typeof Uint8Array<"u"?Uint8Array:Array,Et=new _t(pt);Et[0]=Et[pt-1]=1,Zp(J,Et,at,0,pt-1);var Rt,Gt=[];for(Rt=0;Rt<pt;Rt++)Et[Rt]&&Gt.push(J[Rt]);return Gt}function Zp(J,at,pt,_t,Et){var Rt=0,Gt,ie,le;for(ie=_t+1;ie<=Et-1;ie++)le=Kp(J[ie],J[_t],J[Et],!0),le>Rt&&(Gt=ie,Rt=le);Rt>pt&&(at[Gt]=1,Zp(J,at,pt,_t,Gt),Zp(J,at,pt,Gt,Et))}function QR(J,at){for(var pt=[J[0]],_t=1,Et=0,Rt=J.length;_t<Rt;_t++)yh(J[_t],J[Et])>at&&(pt.push(J[_t]),Et=_t);return Et<Rt-1&&pt.push(J[Rt-1]),pt}var Pk;function Dk(J,at,pt,_t,Et){var Rt=_t?Pk:Cl(J,pt),Gt=Cl(at,pt),ie,le,_e;for(Pk=Gt;;){if(!(Rt|Gt))return[J,at];if(Rt&Gt)return!1;ie=Rt||Gt,le=Jp(J,at,ie,pt,Et),_e=Cl(le,pt),ie===Rt?(J=le,Rt=_e):(at=le,Gt=_e)}}function Jp(J,at,pt,_t,Et){var Rt=at.x-J.x,Gt=at.y-J.y,ie=_t.min,le=_t.max,_e,je;return pt&8?(_e=J.x+Rt*(le.y-J.y)/Gt,je=le.y):pt&4?(_e=J.x+Rt*(ie.y-J.y)/Gt,je=ie.y):pt&2?(_e=le.x,je=J.y+Gt*(le.x-J.x)/Rt):pt&1&&(_e=ie.x,je=J.y+Gt*(ie.x-J.x)/Rt),new H(_e,je,Et)}function Cl(J,at){var pt=0;return J.x<at.min.x?pt|=1:J.x>at.max.x&&(pt|=2),J.y<at.min.y?pt|=4:J.y>at.max.y&&(pt|=8),pt}function yh(J,at){var pt=at.x-J.x,_t=at.y-J.y;return pt*pt+_t*_t}function Kp(J,at,pt,_t){var Et=at.x,Rt=at.y,Gt=pt.x-Et,ie=pt.y-Rt,le=Gt*Gt+ie*ie,_e;return le>0&&(_e=((J.x-Et)*Gt+(J.y-Rt)*ie)/le,_e>1?(Et=pt.x,Rt=pt.y):_e>0&&(Et+=Gt*_e,Rt+=ie*_e)),Gt=J.x-Et,ie=J.y-Rt,_t?Gt*Gt+ie*ie:new H(Et,Rt)}function Ca(J){return!Y(J[0])||typeof J[0][0]!="object"&&typeof J[0][0]<"u"}function xb(J){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Ca(J)}function Im(J,at){var pt,_t,Et,Rt,Gt,ie,le,_e;if(!J||J.length===0)throw new Error("latlngs not passed");Ca(J)||(console.warn("latlngs are not flat! Only the first ring will be used"),J=J[0]);var je=v([0,0]),nn=_(J),Tn=nn.getNorthWest().distanceTo(nn.getSouthWest())*nn.getNorthEast().distanceTo(nn.getNorthWest());Tn<1700&&(je=vh(J));var Oi=J.length,ci=[];for(pt=0;pt<Oi;pt++){var go=v(J[pt]);ci.push(at.project(v([go.lat-je.lat,go.lng-je.lng])))}for(pt=0,_t=0;pt<Oi-1;pt++)_t+=ci[pt].distanceTo(ci[pt+1])/2;if(_t===0)_e=ci[0];else for(pt=0,Rt=0;pt<Oi-1;pt++)if(Gt=ci[pt],ie=ci[pt+1],Et=Gt.distanceTo(ie),Rt+=Et,Rt>_t){le=(Rt-_t)/Et,_e=[ie.x-le*(ie.x-Gt.x),ie.y-le*(ie.y-Gt.y)];break}var ao=at.unproject(I(_e));return v([ao.lat+je.lat,ao.lng+je.lng])}var wb={__proto__:null,simplify:$r,pointToSegmentDistance:nc,closestPointOnSegment:bb,clipSegment:Dk,_getEdgeIntersection:Jp,_getBitCode:Cl,_sqClosestPointOnSegment:Kp,isFlat:Ca,_flat:xb,polylineCenter:Im},Rm={project:function(J){return new H(J.lng,J.lat)},unproject:function(J){return new y(J.y,J.x)},bounds:new A([-180,-90],[180,90])},_b={R:6378137,R_MINOR:6356752314245179e-9,bounds:new A([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(J){var at=Math.PI/180,pt=this.R,_t=J.lat*at,Et=this.R_MINOR/pt,Rt=Math.sqrt(1-Et*Et),Gt=Rt*Math.sin(_t),ie=Math.tan(Math.PI/4-_t/2)/Math.pow((1-Gt)/(1+Gt),Rt/2);return _t=-pt*Math.log(Math.max(ie,1e-10)),new H(J.lng*at*pt,_t)},unproject:function(J){for(var at=180/Math.PI,pt=this.R,_t=this.R_MINOR/pt,Et=Math.sqrt(1-_t*_t),Rt=Math.exp(-J.y/pt),Gt=Math.PI/2-2*Math.atan(Rt),ie=0,le=.1,_e;ie<15&&Math.abs(le)>1e-7;ie++)_e=Et*Math.sin(Gt),_e=Math.pow((1-_e)/(1+_e),Et/2),le=Math.PI/2-2*Math.atan(Rt*_e)-Gt,Gt+=le;return new y(Gt*at,J.x*at/pt)}},Sb={__proto__:null,LonLat:Rm,Mercator:_b,SphericalMercator:B},Cb=i({},N,{code:"EPSG:3395",projection:_b,transformation:function(){var J=.5/(Math.PI*_b.R);return K(J,.5,-J,.5)}()}),Lk=i({},N,{code:"EPSG:4326",projection:Rm,transformation:K(1/180,1,-1/180,.5)}),Nk=i({},z,{projection:Rm,transformation:K(1,0,-1,0),scale:function(J){return Math.pow(2,J)},zoom:function(J){return Math.log(J)/Math.LN2},distance:function(J,at){var pt=at.lng-J.lng,_t=at.lat-J.lat;return Math.sqrt(pt*pt+_t*_t)},infinite:!0});z.Earth=N,z.EPSG3395=Cb,z.EPSG3857=F,z.EPSG900913=X,z.EPSG4326=Lk,z.Simple=Nk;var ei=q.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(J){return J.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(J){return J&&J.removeLayer(this),this},getPane:function(J){return this._map.getPane(J?this.options[J]||J:this.options.pane)},addInteractiveTarget:function(J){return this._map._targets[c(J)]=this,this},removeInteractiveTarget:function(J){return delete this._map._targets[c(J)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(J){var at=J.target;if(at.hasLayer(this)){if(this._map=at,this._zoomAnimated=at._zoomAnimated,this.getEvents){var pt=this.getEvents();at.on(pt,this),this.once("remove",function(){at.off(pt,this)},this)}this.onAdd(at),this.fire("add"),at.fire("layeradd",{layer:this})}}});Yn.include({addLayer:function(J){if(!J._layerAdd)throw new Error("The provided object is not a Layer.");var at=c(J);return this._layers[at]?this:(this._layers[at]=J,J._mapToAdd=this,J.beforeAdd&&J.beforeAdd(this),this.whenReady(J._layerAdd,J),this)},removeLayer:function(J){var at=c(J);return this._layers[at]?(this._loaded&&J.onRemove(this),delete this._layers[at],this._loaded&&(this.fire("layerremove",{layer:J}),J.fire("remove")),J._map=J._mapToAdd=null,this):this},hasLayer:function(J){return c(J)in this._layers},eachLayer:function(J,at){for(var pt in this._layers)J.call(at,this._layers[pt]);return this},_addLayers:function(J){J=J?Y(J)?J:[J]:[];for(var at=0,pt=J.length;at<pt;at++)this.addLayer(J[at])},_addZoomLimit:function(J){(!isNaN(J.options.maxZoom)||!isNaN(J.options.minZoom))&&(this._zoomBoundLayers[c(J)]=J,this._updateZoomLevels())},_removeZoomLimit:function(J){var at=c(J);this._zoomBoundLayers[at]&&(delete this._zoomBoundLayers[at],this._updateZoomLevels())},_updateZoomLevels:function(){var J=1/0,at=-1/0,pt=this._getZoomSpan();for(var _t in this._zoomBoundLayers){var Et=this._zoomBoundLayers[_t].options;J=Et.minZoom===void 0?J:Math.min(J,Et.minZoom),at=Et.maxZoom===void 0?at:Math.max(at,Et.maxZoom)}this._layersMaxZoom=at===-1/0?void 0:at,this._layersMinZoom=J===1/0?void 0:J,pt!==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 iu=ei.extend({initialize:function(J,at){b(this,at),this._layers={};var pt,_t;if(J)for(pt=0,_t=J.length;pt<_t;pt++)this.addLayer(J[pt])},addLayer:function(J){var at=this.getLayerId(J);return this._layers[at]=J,this._map&&this._map.addLayer(J),this},removeLayer:function(J){var at=J in this._layers?J:this.getLayerId(J);return this._map&&this._layers[at]&&this._map.removeLayer(this._layers[at]),delete this._layers[at],this},hasLayer:function(J){var at=typeof J=="number"?J:this.getLayerId(J);return at in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(J){var at=Array.prototype.slice.call(arguments,1),pt,_t;for(pt in this._layers)_t=this._layers[pt],_t[J]&&_t[J].apply(_t,at);return this},onAdd:function(J){this.eachLayer(J.addLayer,J)},onRemove:function(J){this.eachLayer(J.removeLayer,J)},eachLayer:function(J,at){for(var pt in this._layers)J.call(at,this._layers[pt]);return this},getLayer:function(J){return this._layers[J]},getLayers:function(){var J=[];return this.eachLayer(J.push,J),J},setZIndex:function(J){return this.invoke("setZIndex",J)},getLayerId:function(J){return c(J)}}),Qp=function(J,at){return new iu(J,at)},kl=iu.extend({addLayer:function(J){return this.hasLayer(J)?this:(J.addEventParent(this),iu.prototype.addLayer.call(this,J),this.fire("layeradd",{layer:J}))},removeLayer:function(J){return this.hasLayer(J)?(J in this._layers&&(J=this._layers[J]),J.removeEventParent(this),iu.prototype.removeLayer.call(this,J),this.fire("layerremove",{layer:J})):this},setStyle:function(J){return this.invoke("setStyle",J)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var J=new h;for(var at in this._layers){var pt=this._layers[at];J.extend(pt.getBounds?pt.getBounds():pt.getLatLng())}return J}}),Ik=function(J,at){return new kl(J,at)},bh=M.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(J){b(this,J)},createIcon:function(J){return this._createIcon("icon",J)},createShadow:function(J){return this._createIcon("shadow",J)},_createIcon:function(J,at){var pt=this._getIconUrl(J);if(!pt){if(J==="icon")throw new Error("iconUrl not set in Icon options (see the docs).");return null}var _t=this._createImg(pt,at&&at.tagName==="IMG"?at:null);return this._setIconStyles(_t,J),(this.options.crossOrigin||this.options.crossOrigin==="")&&(_t.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),_t},_setIconStyles:function(J,at){var pt=this.options,_t=pt[at+"Size"];typeof _t=="number"&&(_t=[_t,_t]);var Et=I(_t),Rt=I(at==="shadow"&&pt.shadowAnchor||pt.iconAnchor||Et&&Et.divideBy(2,!0));J.className="leaflet-marker-"+at+" "+(pt.className||""),Rt&&(J.style.marginLeft=-Rt.x+"px",J.style.marginTop=-Rt.y+"px"),Et&&(J.style.width=Et.x+"px",J.style.height=Et.y+"px")},_createImg:function(J,at){return at=at||document.createElement("img"),at.src=J,at},_getIconUrl:function(J){return Te.retina&&this.options[J+"RetinaUrl"]||this.options[J+"Url"]}});function tj(J){return new bh(J)}var tf=bh.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(J){return typeof tf.imagePath!="string"&&(tf.imagePath=this._detectIconPath()),(this.options.imagePath||tf.imagePath)+bh.prototype._getIconUrl.call(this,J)},_stripUrl:function(J){var at=function(pt,_t,Et){var Rt=_t.exec(pt);return Rt&&Rt[Et]};return J=at(J,/^url\((['"])?(.+)\1\)$/,2),J&&at(J,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var J=jn("div","leaflet-default-icon-path",document.body),at=Os(J,"background-image")||Os(J,"backgroundImage");if(document.body.removeChild(J),at=this._stripUrl(at),at)return at;var pt=document.querySelector('link[href$="leaflet.css"]');return pt?pt.href.substring(0,pt.href.length-11-1):""}}),Rk=li.extend({initialize:function(J){this._marker=J},addHooks:function(){var J=this._marker._icon;this._draggable||(this._draggable=new ru(J,J,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),pn(J,"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&&wr(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(J){var at=this._marker,pt=at._map,_t=this._marker.options.autoPanSpeed,Et=this._marker.options.autoPanPadding,Rt=wa(at._icon),Gt=pt.getPixelBounds(),ie=pt.getPixelOrigin(),le=k(Gt.min._subtract(ie).add(Et),Gt.max._subtract(ie).subtract(Et));if(!le.contains(Rt)){var _e=I((Math.max(le.max.x,Rt.x)-le.max.x)/(Gt.max.x-le.max.x)-(Math.min(le.min.x,Rt.x)-le.min.x)/(Gt.min.x-le.min.x),(Math.max(le.max.y,Rt.y)-le.max.y)/(Gt.max.y-le.max.y)-(Math.min(le.min.y,Rt.y)-le.min.y)/(Gt.min.y-le.min.y)).multiplyBy(_t);pt.panBy(_e,{animate:!1}),this._draggable._newPos._add(_e),this._draggable._startPos._add(_e),Rr(at._icon,this._draggable._newPos),this._onDrag(J),this._panRequest=d(this._adjustPan.bind(this,J))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(J){this._marker.options.autoPan&&(g(this._panRequest),this._panRequest=d(this._adjustPan.bind(this,J)))},_onDrag:function(J){var at=this._marker,pt=at._shadow,_t=wa(at._icon),Et=at._map.layerPointToLatLng(_t);pt&&Rr(pt,_t),at._latlng=Et,J.latlng=Et,J.oldLatLng=this._oldLatLng,at.fire("move",J).fire("drag",J)},_onDragEnd:function(J){g(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",J)}}),jm=ei.extend({options:{icon:new tf,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(J,at){b(this,at),this._latlng=v(J)},onAdd:function(J){this._zoomAnimated=this._zoomAnimated&&J.options.markerZoomAnimation,this._zoomAnimated&&J.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(J){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&J.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(J){var at=this._latlng;return this._latlng=v(J),this.update(),this.fire("move",{oldLatLng:at,latlng:this._latlng})},setZIndexOffset:function(J){return this.options.zIndexOffset=J,this.update()},getIcon:function(){return this.options.icon},setIcon:function(J){return this.options.icon=J,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 J=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(J)}return this},_initIcon:function(){var J=this.options,at="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),pt=J.icon.createIcon(this._icon),_t=!1;pt!==this._icon&&(this._icon&&this._removeIcon(),_t=!0,J.title&&(pt.title=J.title),pt.tagName==="IMG"&&(pt.alt=J.alt||"")),pn(pt,at),J.keyboard&&(pt.tabIndex="0",pt.setAttribute("role","button")),this._icon=pt,J.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&dn(pt,"focus",this._panOnFocus,this);var Et=J.icon.createShadow(this._shadow),Rt=!1;Et!==this._shadow&&(this._removeShadow(),Rt=!0),Et&&(pn(Et,at),Et.alt=""),this._shadow=Et,J.opacity<1&&this._updateOpacity(),_t&&this.getPane().appendChild(this._icon),this._initInteraction(),Et&&Rt&&this.getPane(J.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&ke(this._icon,"focus",this._panOnFocus,this),qn(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&qn(this._shadow),this._shadow=null},_setPos:function(J){this._icon&&Rr(this._icon,J),this._shadow&&Rr(this._shadow,J),this._zIndex=J.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(J){this._icon&&(this._icon.style.zIndex=this._zIndex+J)},_animateZoom:function(J){var at=this._map._latLngToNewLayerPoint(this._latlng,J.zoom,J.center).round();this._setPos(at)},_initInteraction:function(){if(this.options.interactive&&(pn(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Rk)){var J=this.options.draggable;this.dragging&&(J=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Rk(this),J&&this.dragging.enable()}},setOpacity:function(J){return this.options.opacity=J,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var J=this.options.opacity;this._icon&&io(this._icon,J),this._shadow&&io(this._shadow,J)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var J=this._map;if(J){var at=this.options.icon.options,pt=at.iconSize?I(at.iconSize):I(0,0),_t=at.iconAnchor?I(at.iconAnchor):I(0,0);J.panInside(this._latlng,{paddingTopLeft:_t,paddingBottomRight:pt.subtract(_t)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function xh(J,at){return new jm(J,at)}var ou=ei.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(J){this._renderer=J.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(J){return b(this,J),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&J&&Object.prototype.hasOwnProperty.call(J,"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)}}),$m=ou.extend({options:{fill:!0,radius:10},initialize:function(J,at){b(this,at),this._latlng=v(J),this._radius=this.options.radius},setLatLng:function(J){var at=this._latlng;return this._latlng=v(J),this.redraw(),this.fire("move",{oldLatLng:at,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(J){return this.options.radius=this._radius=J,this.redraw()},getRadius:function(){return this._radius},setStyle:function(J){var at=J&&J.radius||this._radius;return ou.prototype.setStyle.call(this,J),this.setRadius(at),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var J=this._radius,at=this._radiusY||J,pt=this._clickTolerance(),_t=[J+pt,at+pt];this._pxBounds=new A(this._point.subtract(_t),this._point.add(_t))},_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(J){return J.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function kb(J,at){return new $m(J,at)}var zm=$m.extend({initialize:function(J,at,pt){if(typeof at=="number"&&(at=i({},pt,{radius:at})),b(this,at),this._latlng=v(J),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(J){return this._mRadius=J,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var J=[this._radius,this._radiusY||this._radius];return new h(this._map.layerPointToLatLng(this._point.subtract(J)),this._map.layerPointToLatLng(this._point.add(J)))},setStyle:ou.prototype.setStyle,_project:function(){var J=this._latlng.lng,at=this._latlng.lat,pt=this._map,_t=pt.options.crs;if(_t.distance===N.distance){var Et=Math.PI/180,Rt=this._mRadius/N.R/Et,Gt=pt.project([at+Rt,J]),ie=pt.project([at-Rt,J]),le=Gt.add(ie).divideBy(2),_e=pt.unproject(le).lat,je=Math.acos((Math.cos(Rt*Et)-Math.sin(at*Et)*Math.sin(_e*Et))/(Math.cos(at*Et)*Math.cos(_e*Et)))/Et;(isNaN(je)||je===0)&&(je=Rt/Math.cos(Math.PI/180*at)),this._point=le.subtract(pt.getPixelOrigin()),this._radius=isNaN(je)?0:le.x-pt.project([_e,J-je]).x,this._radiusY=le.y-Gt.y}else{var nn=_t.unproject(_t.project(this._latlng).subtract([this._mRadius,0]));this._point=pt.latLngToLayerPoint(this._latlng),this._radius=this._point.x-pt.latLngToLayerPoint(nn).x}this._updateBounds()}});function au(J,at,pt){return new zm(J,at,pt)}var ts=ou.extend({options:{smoothFactor:1,noClip:!1},initialize:function(J,at){b(this,at),this._setLatLngs(J)},getLatLngs:function(){return this._latlngs},setLatLngs:function(J){return this._setLatLngs(J),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(J){for(var at=1/0,pt=null,_t=Kp,Et,Rt,Gt=0,ie=this._parts.length;Gt<ie;Gt++)for(var le=this._parts[Gt],_e=1,je=le.length;_e<je;_e++){Et=le[_e-1],Rt=le[_e];var nn=_t(J,Et,Rt,!0);nn<at&&(at=nn,pt=_t(J,Et,Rt))}return pt&&(pt.distance=Math.sqrt(at)),pt},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return Im(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(J,at){return at=at||this._defaultShape(),J=v(J),at.push(J),this._bounds.extend(J),this.redraw()},_setLatLngs:function(J){this._bounds=new h,this._latlngs=this._convertLatLngs(J)},_defaultShape:function(){return Ca(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(J){for(var at=[],pt=Ca(J),_t=0,Et=J.length;_t<Et;_t++)pt?(at[_t]=v(J[_t]),this._bounds.extend(at[_t])):at[_t]=this._convertLatLngs(J[_t]);return at},_project:function(){var J=new A;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,J),this._bounds.isValid()&&J.isValid()&&(this._rawPxBounds=J,this._updateBounds())},_updateBounds:function(){var J=this._clickTolerance(),at=new H(J,J);this._rawPxBounds&&(this._pxBounds=new A([this._rawPxBounds.min.subtract(at),this._rawPxBounds.max.add(at)]))},_projectLatlngs:function(J,at,pt){var _t=J[0]instanceof y,Et=J.length,Rt,Gt;if(_t){for(Gt=[],Rt=0;Rt<Et;Rt++)Gt[Rt]=this._map.latLngToLayerPoint(J[Rt]),pt.extend(Gt[Rt]);at.push(Gt)}else for(Rt=0;Rt<Et;Rt++)this._projectLatlngs(J[Rt],at,pt)},_clipPoints:function(){var J=this._renderer._bounds;if(this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(J))){if(this.options.noClip){this._parts=this._rings;return}var at=this._parts,pt,_t,Et,Rt,Gt,ie,le;for(pt=0,Et=0,Rt=this._rings.length;pt<Rt;pt++)for(le=this._rings[pt],_t=0,Gt=le.length;_t<Gt-1;_t++)ie=Dk(le[_t],le[_t+1],J,_t,!0),ie&&(at[Et]=at[Et]||[],at[Et].push(ie[0]),(ie[1]!==le[_t+1]||_t===Gt-2)&&(at[Et].push(ie[1]),Et++))}},_simplifyPoints:function(){for(var J=this._parts,at=this.options.smoothFactor,pt=0,_t=J.length;pt<_t;pt++)J[pt]=$r(J[pt],at)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(J,at){var pt,_t,Et,Rt,Gt,ie,le=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(J))return!1;for(pt=0,Rt=this._parts.length;pt<Rt;pt++)for(ie=this._parts[pt],_t=0,Gt=ie.length,Et=Gt-1;_t<Gt;Et=_t++)if(!(!at&&_t===0)&&nc(J,ie[Et],ie[_t])<=le)return!0;return!1}});function ej(J,at){return new ts(J,at)}ts._flat=xb;var wh=ts.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 ec(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(J){var at=ts.prototype._convertLatLngs.call(this,J),pt=at.length;return pt>=2&&at[0]instanceof y&&at[0].equals(at[pt-1])&&at.pop(),at},_setLatLngs:function(J){ts.prototype._setLatLngs.call(this,J),Ca(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Ca(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var J=this._renderer._bounds,at=this.options.weight,pt=new H(at,at);if(J=new A(J.min.subtract(pt),J.max.add(pt)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(J))){if(this.options.noClip){this._parts=this._rings;return}for(var _t=0,Et=this._rings.length,Rt;_t<Et;_t++)Rt=vb(this._rings[_t],J,!0),Rt.length&&this._parts.push(Rt)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(J){var at=!1,pt,_t,Et,Rt,Gt,ie,le,_e;if(!this._pxBounds||!this._pxBounds.contains(J))return!1;for(Rt=0,le=this._parts.length;Rt<le;Rt++)for(pt=this._parts[Rt],Gt=0,_e=pt.length,ie=_e-1;Gt<_e;ie=Gt++)_t=pt[Gt],Et=pt[ie],_t.y>J.y!=Et.y>J.y&&J.x<(Et.x-_t.x)*(J.y-_t.y)/(Et.y-_t.y)+_t.x&&(at=!at);return at||ts.prototype._containsPoint.call(this,J,!0)}});function nj(J,at){return new wh(J,at)}var Xo=kl.extend({initialize:function(J,at){b(this,at),this._layers={},J&&this.addData(J)},addData:function(J){var at=Y(J)?J:J.features,pt,_t,Et;if(at){for(pt=0,_t=at.length;pt<_t;pt++)Et=at[pt],(Et.geometries||Et.geometry||Et.features||Et.coordinates)&&this.addData(Et);return this}var Rt=this.options;if(Rt.filter&&!Rt.filter(J))return this;var Gt=Zo(J,Rt);return Gt?(Gt.feature=rc(J),Gt.defaultOptions=Gt.options,this.resetStyle(Gt),Rt.onEachFeature&&Rt.onEachFeature(J,Gt),this.addLayer(Gt)):this},resetStyle:function(J){return J===void 0?this.eachLayer(this.resetStyle,this):(J.options=i({},J.defaultOptions),this._setLayerStyle(J,this.options.style),this)},setStyle:function(J){return this.eachLayer(function(at){this._setLayerStyle(at,J)},this)},_setLayerStyle:function(J,at){J.setStyle&&(typeof at=="function"&&(at=at(J.feature)),J.setStyle(at))}});function Zo(J,at){var pt=J.type==="Feature"?J.geometry:J,_t=pt?pt.coordinates:null,Et=[],Rt=at&&at.pointToLayer,Gt=at&&at.coordsToLatLng||Tb,ie,le,_e,je;if(!_t&&!pt)return null;switch(pt.type){case"Point":return ie=Gt(_t),Mb(Rt,J,ie,at);case"MultiPoint":for(_e=0,je=_t.length;_e<je;_e++)ie=Gt(_t[_e]),Et.push(Mb(Rt,J,ie,at));return new kl(Et);case"LineString":case"MultiLineString":return le=Bm(_t,pt.type==="LineString"?0:1,Gt),new ts(le,at);case"Polygon":case"MultiPolygon":return le=Bm(_t,pt.type==="Polygon"?1:2,Gt),new wh(le,at);case"GeometryCollection":for(_e=0,je=pt.geometries.length;_e<je;_e++){var nn=Zo({geometry:pt.geometries[_e],type:"Feature",properties:J.properties},at);nn&&Et.push(nn)}return new kl(Et);case"FeatureCollection":for(_e=0,je=pt.features.length;_e<je;_e++){var Tn=Zo(pt.features[_e],at);Tn&&Et.push(Tn)}return new kl(Et);default:throw new Error("Invalid GeoJSON object.")}}function Mb(J,at,pt,_t){return J?J(at,pt):new jm(pt,_t&&_t.markersInheritOptions&&_t)}function Tb(J){return new y(J[1],J[0],J[2])}function Bm(J,at,pt){for(var _t=[],Et=0,Rt=J.length,Gt;Et<Rt;Et++)Gt=at?Bm(J[Et],at-1,pt):(pt||Tb)(J[Et]),_t.push(Gt);return _t}function Ab(J,at){return J=v(J),J.alt!==void 0?[u(J.lng,at),u(J.lat,at),u(J.alt,at)]:[u(J.lng,at),u(J.lat,at)]}function Fm(J,at,pt,_t){for(var Et=[],Rt=0,Gt=J.length;Rt<Gt;Rt++)Et.push(at?Fm(J[Rt],Ca(J[Rt])?0:at-1,pt,_t):Ab(J[Rt],_t));return!at&&pt&&Et.length>0&&Et.push(Et[0].slice()),Et}function _h(J,at){return J.feature?i({},J.feature,{geometry:at}):rc(at)}function rc(J){return J.type==="Feature"||J.type==="FeatureCollection"?J:{type:"Feature",properties:{},geometry:J}}var Zt={toGeoJSON:function(J){return _h(this,{type:"Point",coordinates:Ab(this.getLatLng(),J)})}};jm.include(Zt),zm.include(Zt),$m.include(Zt),ts.include({toGeoJSON:function(J){var at=!Ca(this._latlngs),pt=Fm(this._latlngs,at?1:0,!1,J);return _h(this,{type:(at?"Multi":"")+"LineString",coordinates:pt})}}),wh.include({toGeoJSON:function(J){var at=!Ca(this._latlngs),pt=at&&!Ca(this._latlngs[0]),_t=Fm(this._latlngs,pt?2:at?1:0,!0,J);return at||(_t=[_t]),_h(this,{type:(pt?"Multi":"")+"Polygon",coordinates:_t})}}),iu.include({toMultiPoint:function(J){var at=[];return this.eachLayer(function(pt){at.push(pt.toGeoJSON(J).geometry.coordinates)}),_h(this,{type:"MultiPoint",coordinates:at})},toGeoJSON:function(J){var at=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(at==="MultiPoint")return this.toMultiPoint(J);var pt=at==="GeometryCollection",_t=[];return this.eachLayer(function(Et){if(Et.toGeoJSON){var Rt=Et.toGeoJSON(J);if(pt)_t.push(Rt.geometry);else{var Gt=rc(Rt);Gt.type==="FeatureCollection"?_t.push.apply(_t,Gt.features):_t.push(Gt)}}}),pt?_h(this,{geometries:_t,type:"GeometryCollection"}):{type:"FeatureCollection",features:_t}}});function fe(J,at){return new Xo(J,at)}var de=fe,ze=ei.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(J,at,pt){this._url=J,this._bounds=_(at),b(this,pt)},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(){qn(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(J){return this.options.opacity=J,this._image&&this._updateOpacity(),this},setStyle:function(J){return J.opacity&&this.setOpacity(J.opacity),this},bringToFront:function(){return this._map&&ba(this._image),this},bringToBack:function(){return this._map&&Do(this._image),this},setUrl:function(J){return this._url=J,this._image&&(this._image.src=J),this},setBounds:function(J){return this._bounds=_(J),this._map&&this._reset(),this},getEvents:function(){var J={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(J.zoomanim=this._animateZoom),J},setZIndex:function(J){return this.options.zIndex=J,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var J=this._url.tagName==="IMG",at=this._image=J?this._url:jn("img");if(pn(at,"leaflet-image-layer"),this._zoomAnimated&&pn(at,"leaflet-zoom-animated"),this.options.className&&pn(at,this.options.className),at.onselectstart=w,at.onmousemove=w,at.onload=a(this.fire,this,"load"),at.onerror=a(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(at.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),J){this._url=at.src;return}at.src=this._url,at.alt=this.options.alt},_animateZoom:function(J){var at=this._map.getZoomScale(J.zoom),pt=this._map._latLngBoundsToNewLayerBounds(this._bounds,J.zoom,J.center).min;Xa(this._image,pt,at)},_reset:function(){var J=this._image,at=new A(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),pt=at.getSize();Rr(J,at.min),J.style.width=pt.x+"px",J.style.height=pt.y+"px"},_updateOpacity:function(){io(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 J=this.options.errorOverlayUrl;J&&this._url!==J&&(this._url=J,this._image.src=J)},getCenter:function(){return this._bounds.getCenter()}}),mn=function(J,at,pt){return new ze(J,at,pt)},rr=ze.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var J=this._url.tagName==="VIDEO",at=this._image=J?this._url:jn("video");if(pn(at,"leaflet-image-layer"),this._zoomAnimated&&pn(at,"leaflet-zoom-animated"),this.options.className&&pn(at,this.options.className),at.onselectstart=w,at.onmousemove=w,at.onloadeddata=a(this.fire,this,"load"),J){for(var pt=at.getElementsByTagName("source"),_t=[],Et=0;Et<pt.length;Et++)_t.push(pt[Et].src);this._url=pt.length>0?_t:[at.src];return}Y(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(at.style,"objectFit")&&(at.style.objectFit="fill"),at.autoplay=!!this.options.autoplay,at.loop=!!this.options.loop,at.muted=!!this.options.muted,at.playsInline=!!this.options.playsInline;for(var Rt=0;Rt<this._url.length;Rt++){var Gt=jn("source");Gt.src=this._url[Rt],at.appendChild(Gt)}}});function Fi(J,at,pt){return new rr(J,at,pt)}var _r=ze.extend({_initImage:function(){var J=this._image=this._url;pn(J,"leaflet-image-layer"),this._zoomAnimated&&pn(J,"leaflet-zoom-animated"),this.options.className&&pn(J,this.options.className),J.onselectstart=w,J.onmousemove=w}});function Eb(J,at,pt){return new _r(J,at,pt)}var Ml=ei.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(J,at){J&&(J instanceof y||Y(J))?(this._latlng=v(J),b(this,at)):(b(this,J),this._source=at),this.options.content&&(this._content=this.options.content)},openOn:function(J){return J=arguments.length?J:this._source._map,J.hasLayer(this)||J.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(J){return this._map?this.close():(arguments.length?this._source=J:J=this._source,this._prepareOpen(),this.openOn(J._map)),this},onAdd:function(J){this._zoomAnimated=J._zoomAnimated,this._container||this._initLayout(),J._fadeAnimated&&io(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),J._fadeAnimated&&io(this._container,1),this.bringToFront(),this.options.interactive&&(pn(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(J){J._fadeAnimated?(io(this._container,0),this._removeTimeout=setTimeout(a(qn,void 0,this._container),200)):qn(this._container),this.options.interactive&&(wr(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(J){return this._latlng=v(J),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(J){return this._content=J,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 J={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(J.zoomanim=this._animateZoom),J},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&ba(this._container),this},bringToBack:function(){return this._map&&Do(this._container),this},_prepareOpen:function(J){var at=this._source;if(!at._map)return!1;if(at instanceof kl){at=null;var pt=this._source._layers;for(var _t in pt)if(pt[_t]._map){at=pt[_t];break}if(!at)return!1;this._source=at}if(!J)if(at.getCenter)J=at.getCenter();else if(at.getLatLng)J=at.getLatLng();else if(at.getBounds)J=at.getBounds().getCenter();else throw new Error("Unable to get source layer LatLng.");return this.setLatLng(J),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var J=this._contentNode,at=typeof this._content=="function"?this._content(this._source||this):this._content;if(typeof at=="string")J.innerHTML=at;else{for(;J.hasChildNodes();)J.removeChild(J.firstChild);J.appendChild(at)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var J=this._map.latLngToLayerPoint(this._latlng),at=I(this.options.offset),pt=this._getAnchor();this._zoomAnimated?Rr(this._container,J.add(pt)):at=at.add(J).add(pt);var _t=this._containerBottom=-at.y,Et=this._containerLeft=-Math.round(this._containerWidth/2)+at.x;this._container.style.bottom=_t+"px",this._container.style.left=Et+"px"}},_getAnchor:function(){return[0,0]}});Yn.include({_initOverlay:function(J,at,pt,_t){var Et=at;return Et instanceof J||(Et=new J(_t).setContent(at)),pt&&Et.setLatLng(pt),Et}}),ei.include({_initOverlay:function(J,at,pt,_t){var Et=pt;return Et instanceof J?(b(Et,_t),Et._source=this):(Et=at&&!_t?at:new J(_t,this),Et.setContent(pt)),Et}});var Lo=Ml.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(J){return J=arguments.length?J:this._source._map,!J.hasLayer(this)&&J._popup&&J._popup.options.autoClose&&J.removeLayer(J._popup),J._popup=this,Ml.prototype.openOn.call(this,J)},onAdd:function(J){Ml.prototype.onAdd.call(this,J),J.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof ou||this._source.on("preclick",Qa))},onRemove:function(J){Ml.prototype.onRemove.call(this,J),J.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof ou||this._source.off("preclick",Qa))},getEvents:function(){var J=Ml.prototype.getEvents.call(this);return(this.options.closeOnClick!==void 0?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(J.preclick=this.close),this.options.keepInView&&(J.moveend=this._adjustPan),J},_initLayout:function(){var J="leaflet-popup",at=this._container=jn("div",J+" "+(this.options.className||"")+" leaflet-zoom-animated"),pt=this._wrapper=jn("div",J+"-content-wrapper",at);if(this._contentNode=jn("div",J+"-content",pt),nu(at),Xu(this._contentNode),dn(at,"contextmenu",Qa),this._tipContainer=jn("div",J+"-tip-container",at),this._tip=jn("div",J+"-tip",this._tipContainer),this.options.closeButton){var _t=this._closeButton=jn("a",J+"-close-button",at);_t.setAttribute("role","button"),_t.setAttribute("aria-label","Close popup"),_t.href="#close",_t.innerHTML='<span aria-hidden="true">&#215;</span>',dn(_t,"click",function(Et){hn(Et),this.close()},this)}},_updateLayout:function(){var J=this._contentNode,at=J.style;at.width="",at.whiteSpace="nowrap";var pt=J.offsetWidth;pt=Math.min(pt,this.options.maxWidth),pt=Math.max(pt,this.options.minWidth),at.width=pt+1+"px",at.whiteSpace="",at.height="";var _t=J.offsetHeight,Et=this.options.maxHeight,Rt="leaflet-popup-scrolled";Et&&_t>Et?(at.height=Et+"px",pn(J,Rt)):wr(J,Rt),this._containerWidth=this._container.offsetWidth},_animateZoom:function(J){var at=this._map._latLngToNewLayerPoint(this._latlng,J.zoom,J.center),pt=this._getAnchor();Rr(this._container,at.add(pt))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var J=this._map,at=parseInt(Os(this._container,"marginBottom"),10)||0,pt=this._container.offsetHeight+at,_t=this._containerWidth,Et=new H(this._containerLeft,-pt-this._containerBottom);Et._add(wa(this._container));var Rt=J.layerPointToContainerPoint(Et),Gt=I(this.options.autoPanPadding),ie=I(this.options.autoPanPaddingTopLeft||Gt),le=I(this.options.autoPanPaddingBottomRight||Gt),_e=J.getSize(),je=0,nn=0;Rt.x+_t+le.x>_e.x&&(je=Rt.x+_t-_e.x+le.x),Rt.x-je-ie.x<0&&(je=Rt.x-ie.x),Rt.y+pt+le.y>_e.y&&(nn=Rt.y+pt-_e.y+le.y),Rt.y-nn-ie.y<0&&(nn=Rt.y-ie.y),(je||nn)&&(this.options.keepInView&&(this._autopanning=!0),J.fire("autopanstart").panBy([je,nn]))}},_getAnchor:function(){return I(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Hm=function(J,at){return new Lo(J,at)};Yn.mergeOptions({closePopupOnClick:!0}),Yn.include({openPopup:function(J,at,pt){return this._initOverlay(Lo,J,at,pt).openOn(this),this},closePopup:function(J){return J=arguments.length?J:this._popup,J&&J.close(),this}}),ei.include({bindPopup:function(J,at){return this._popup=this._initOverlay(Lo,this._popup,J,at),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(J){return this._popup&&(this instanceof kl||(this._popup._source=this),this._popup._prepareOpen(J||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(J){return this._popup&&this._popup.setContent(J),this},getPopup:function(){return this._popup},_openPopup:function(J){if(!(!this._popup||!this._map)){nr(J);var at=J.layer||J.target;if(this._popup._source===at&&!(at instanceof ou)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(J.latlng);return}this._popup._source=at,this.openPopup(J.latlng)}},_movePopup:function(J){this._popup.setLatLng(J.latlng)},_onKeyPress:function(J){J.originalEvent.keyCode===13&&this._openPopup(J)}});var Wm=Ml.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(J){Ml.prototype.onAdd.call(this,J),this.setOpacity(this.options.opacity),J.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(J){Ml.prototype.onRemove.call(this,J),J.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var J=Ml.prototype.getEvents.call(this);return this.options.permanent||(J.preclick=this.close),J},_initLayout:function(){var J="leaflet-tooltip",at=J+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=jn("div",at),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+c(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(J){var at,pt,_t=this._map,Et=this._container,Rt=_t.latLngToContainerPoint(_t.getCenter()),Gt=_t.layerPointToContainerPoint(J),ie=this.options.direction,le=Et.offsetWidth,_e=Et.offsetHeight,je=I(this.options.offset),nn=this._getAnchor();ie==="top"?(at=le/2,pt=_e):ie==="bottom"?(at=le/2,pt=0):ie==="center"?(at=le/2,pt=_e/2):ie==="right"?(at=0,pt=_e/2):ie==="left"?(at=le,pt=_e/2):Gt.x<Rt.x?(ie="right",at=0,pt=_e/2):(ie="left",at=le+(je.x+nn.x)*2,pt=_e/2),J=J.subtract(I(at,pt,!0)).add(je).add(nn),wr(Et,"leaflet-tooltip-right"),wr(Et,"leaflet-tooltip-left"),wr(Et,"leaflet-tooltip-top"),wr(Et,"leaflet-tooltip-bottom"),pn(Et,"leaflet-tooltip-"+ie),Rr(Et,J)},_updatePosition:function(){var J=this._map.latLngToLayerPoint(this._latlng);this._setPosition(J)},setOpacity:function(J){this.options.opacity=J,this._container&&io(this._container,J)},_animateZoom:function(J){var at=this._map._latLngToNewLayerPoint(this._latlng,J.zoom,J.center);this._setPosition(at)},_getAnchor:function(){return I(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),Sh=function(J,at){return new Wm(J,at)};Yn.include({openTooltip:function(J,at,pt){return this._initOverlay(Wm,J,at,pt).openOn(this),this},closeTooltip:function(J){return J.close(),this}}),ei.include({bindTooltip:function(J,at){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Wm,this._tooltip,J,at),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(J){if(!(!J&&this._tooltipHandlersAdded)){var at=J?"off":"on",pt={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?pt.add=this._openTooltip:(pt.mouseover=this._openTooltip,pt.mouseout=this.closeTooltip,pt.click=this._openTooltip,this._map?this._addFocusListeners():pt.add=this._addFocusListeners),this._tooltip.options.sticky&&(pt.mousemove=this._moveTooltip),this[at](pt),this._tooltipHandlersAdded=!J}},openTooltip:function(J){return this._tooltip&&(this instanceof kl||(this._tooltip._source=this),this._tooltip._prepareOpen(J)&&(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(J){return this._tooltip&&this._tooltip.setContent(J),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(J){var at=typeof J.getElement=="function"&&J.getElement();at&&(dn(at,"focus",function(){this._tooltip._source=J,this.openTooltip()},this),dn(at,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(J){var at=typeof J.getElement=="function"&&J.getElement();at&&at.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(J){if(!(!this._tooltip||!this._map)){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var at=this;this._map.once("moveend",function(){at._openOnceFlag=!1,at._openTooltip(J)});return}this._tooltip._source=J.layer||J.target,this.openTooltip(this._tooltip.options.sticky?J.latlng:void 0)}},_moveTooltip:function(J){var at=J.latlng,pt,_t;this._tooltip.options.sticky&&J.originalEvent&&(pt=this._map.mouseEventToContainerPoint(J.originalEvent),_t=this._map.containerPointToLayerPoint(pt),at=this._map.layerPointToLatLng(_t)),this._tooltip.setLatLng(at)}});var ef=bh.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(J){var at=J&&J.tagName==="DIV"?J:document.createElement("div"),pt=this.options;if(pt.html instanceof Element?(ya(at),at.appendChild(pt.html)):at.innerHTML=pt.html!==!1?pt.html:"",pt.bgPos){var _t=I(pt.bgPos);at.style.backgroundPosition=-_t.x+"px "+-_t.y+"px"}return this._setIconStyles(at,"icon"),at},createShadow:function(){return null}});function Vm(J){return new ef(J)}bh.Default=tf;var Xn=ei.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Te.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(J){b(this,J)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(J){J._addZoomLimit(this)},onRemove:function(J){this._removeAllTiles(),qn(this._container),J._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ba(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(Do(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(J){return this.options.opacity=J,this._updateOpacity(),this},setZIndex:function(J){return this.options.zIndex=J,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var J=this._clampZoom(this._map.getZoom());J!==this._tileZoom&&(this._tileZoom=J,this._updateLevels()),this._update()}return this},getEvents:function(){var J={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)),J.move=this._onMove),this._zoomAnimated&&(J.zoomanim=this._animateZoom),J},createTile:function(){return document.createElement("div")},getTileSize:function(){var J=this.options.tileSize;return J instanceof H?J:new H(J,J)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(J){for(var at=this.getPane().children,pt=-J(-1/0,1/0),_t=0,Et=at.length,Rt;_t<Et;_t++)Rt=at[_t].style.zIndex,at[_t]!==this._container&&Rt&&(pt=J(pt,+Rt));isFinite(pt)&&(this.options.zIndex=pt+J(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Te.ielt9){io(this._container,this.options.opacity);var J=+new Date,at=!1,pt=!1;for(var _t in this._tiles){var Et=this._tiles[_t];if(!(!Et.current||!Et.loaded)){var Rt=Math.min(1,(J-Et.loaded)/200);io(Et.el,Rt),Rt<1?at=!0:(Et.active?pt=!0:this._onOpaqueTile(Et),Et.active=!0)}}pt&&!this._noPrune&&this._pruneTiles(),at&&(g(this._fadeFrame),this._fadeFrame=d(this._updateOpacity,this))}},_onOpaqueTile:w,_initContainer:function(){this._container||(this._container=jn("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var J=this._tileZoom,at=this.options.maxZoom;if(J!==void 0){for(var pt in this._levels)pt=Number(pt),this._levels[pt].el.children.length||pt===J?(this._levels[pt].el.style.zIndex=at-Math.abs(J-pt),this._onUpdateLevel(pt)):(qn(this._levels[pt].el),this._removeTilesAtZoom(pt),this._onRemoveLevel(pt),delete this._levels[pt]);var _t=this._levels[J],Et=this._map;return _t||(_t=this._levels[J]={},_t.el=jn("div","leaflet-tile-container leaflet-zoom-animated",this._container),_t.el.style.zIndex=at,_t.origin=Et.project(Et.unproject(Et.getPixelOrigin()),J).round(),_t.zoom=J,this._setZoomTransform(_t,Et.getCenter(),Et.getZoom()),this._onCreateLevel(_t)),this._level=_t,_t}},_onUpdateLevel:w,_onRemoveLevel:w,_onCreateLevel:w,_pruneTiles:function(){if(this._map){var J,at,pt=this._map.getZoom();if(pt>this.options.maxZoom||pt<this.options.minZoom){this._removeAllTiles();return}for(J in this._tiles)at=this._tiles[J],at.retain=at.current;for(J in this._tiles)if(at=this._tiles[J],at.current&&!at.active){var _t=at.coords;this._retainParent(_t.x,_t.y,_t.z,_t.z-5)||this._retainChildren(_t.x,_t.y,_t.z,_t.z+2)}for(J in this._tiles)this._tiles[J].retain||this._removeTile(J)}},_removeTilesAtZoom:function(J){for(var at in this._tiles)this._tiles[at].coords.z===J&&this._removeTile(at)},_removeAllTiles:function(){for(var J in this._tiles)this._removeTile(J)},_invalidateAll:function(){for(var J in this._levels)qn(this._levels[J].el),this._onRemoveLevel(Number(J)),delete this._levels[J];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(J,at,pt,_t){var Et=Math.floor(J/2),Rt=Math.floor(at/2),Gt=pt-1,ie=new H(+Et,+Rt);ie.z=+Gt;var le=this._tileCoordsToKey(ie),_e=this._tiles[le];return _e&&_e.active?(_e.retain=!0,!0):(_e&&_e.loaded&&(_e.retain=!0),Gt>_t?this._retainParent(Et,Rt,Gt,_t):!1)},_retainChildren:function(J,at,pt,_t){for(var Et=2*J;Et<2*J+2;Et++)for(var Rt=2*at;Rt<2*at+2;Rt++){var Gt=new H(Et,Rt);Gt.z=pt+1;var ie=this._tileCoordsToKey(Gt),le=this._tiles[ie];if(le&&le.active){le.retain=!0;continue}else le&&le.loaded&&(le.retain=!0);pt+1<_t&&this._retainChildren(Et,Rt,pt+1,_t)}},_resetView:function(J){var at=J&&(J.pinch||J.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),at,at)},_animateZoom:function(J){this._setView(J.center,J.zoom,!0,J.noUpdate)},_clampZoom:function(J){var at=this.options;return at.minNativeZoom!==void 0&&J<at.minNativeZoom?at.minNativeZoom:at.maxNativeZoom!==void 0&&at.maxNativeZoom<J?at.maxNativeZoom:J},_setView:function(J,at,pt,_t){var Et=Math.round(at);this.options.maxZoom!==void 0&&Et>this.options.maxZoom||this.options.minZoom!==void 0&&Et<this.options.minZoom?Et=void 0:Et=this._clampZoom(Et);var Rt=this.options.updateWhenZooming&&Et!==this._tileZoom;(!_t||Rt)&&(this._tileZoom=Et,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),Et!==void 0&&this._update(J),pt||this._pruneTiles(),this._noPrune=!!pt),this._setZoomTransforms(J,at)},_setZoomTransforms:function(J,at){for(var pt in this._levels)this._setZoomTransform(this._levels[pt],J,at)},_setZoomTransform:function(J,at,pt){var _t=this._map.getZoomScale(pt,J.zoom),Et=J.origin.multiplyBy(_t).subtract(this._map._getNewPixelOrigin(at,pt)).round();Te.any3d?Xa(J.el,Et,_t):Rr(J.el,Et)},_resetGrid:function(){var J=this._map,at=J.options.crs,pt=this._tileSize=this.getTileSize(),_t=this._tileZoom,Et=this._map.getPixelWorldBounds(this._tileZoom);Et&&(this._globalTileRange=this._pxBoundsToTileRange(Et)),this._wrapX=at.wrapLng&&!this.options.noWrap&&[Math.floor(J.project([0,at.wrapLng[0]],_t).x/pt.x),Math.ceil(J.project([0,at.wrapLng[1]],_t).x/pt.y)],this._wrapY=at.wrapLat&&!this.options.noWrap&&[Math.floor(J.project([at.wrapLat[0],0],_t).y/pt.x),Math.ceil(J.project([at.wrapLat[1],0],_t).y/pt.y)]},_onMoveEnd:function(){!this._map||this._map._animatingZoom||this._update()},_getTiledPixelBounds:function(J){var at=this._map,pt=at._animatingZoom?Math.max(at._animateToZoom,at.getZoom()):at.getZoom(),_t=at.getZoomScale(pt,this._tileZoom),Et=at.project(J,this._tileZoom).floor(),Rt=at.getSize().divideBy(_t*2);return new A(Et.subtract(Rt),Et.add(Rt))},_update:function(J){var at=this._map;if(at){var pt=this._clampZoom(at.getZoom());if(J===void 0&&(J=at.getCenter()),this._tileZoom!==void 0){var _t=this._getTiledPixelBounds(J),Et=this._pxBoundsToTileRange(_t),Rt=Et.getCenter(),Gt=[],ie=this.options.keepBuffer,le=new A(Et.getBottomLeft().subtract([ie,-ie]),Et.getTopRight().add([ie,-ie]));if(!(isFinite(Et.min.x)&&isFinite(Et.min.y)&&isFinite(Et.max.x)&&isFinite(Et.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var _e in this._tiles){var je=this._tiles[_e].coords;(je.z!==this._tileZoom||!le.contains(new H(je.x,je.y)))&&(this._tiles[_e].current=!1)}if(Math.abs(pt-this._tileZoom)>1){this._setView(J,pt);return}for(var nn=Et.min.y;nn<=Et.max.y;nn++)for(var Tn=Et.min.x;Tn<=Et.max.x;Tn++){var Oi=new H(Tn,nn);if(Oi.z=this._tileZoom,!!this._isValidTile(Oi)){var ci=this._tiles[this._tileCoordsToKey(Oi)];ci?ci.current=!0:Gt.push(Oi)}}if(Gt.sort(function(ao,Ns){return ao.distanceTo(Rt)-Ns.distanceTo(Rt)}),Gt.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var go=document.createDocumentFragment();for(Tn=0;Tn<Gt.length;Tn++)this._addTile(Gt[Tn],go);this._level.el.appendChild(go)}}}},_isValidTile:function(J){var at=this._map.options.crs;if(!at.infinite){var pt=this._globalTileRange;if(!at.wrapLng&&(J.x<pt.min.x||J.x>pt.max.x)||!at.wrapLat&&(J.y<pt.min.y||J.y>pt.max.y))return!1}if(!this.options.bounds)return!0;var _t=this._tileCoordsToBounds(J);return _(this.options.bounds).overlaps(_t)},_keyToBounds:function(J){return this._tileCoordsToBounds(this._keyToTileCoords(J))},_tileCoordsToNwSe:function(J){var at=this._map,pt=this.getTileSize(),_t=J.scaleBy(pt),Et=_t.add(pt),Rt=at.unproject(_t,J.z),Gt=at.unproject(Et,J.z);return[Rt,Gt]},_tileCoordsToBounds:function(J){var at=this._tileCoordsToNwSe(J),pt=new h(at[0],at[1]);return this.options.noWrap||(pt=this._map.wrapLatLngBounds(pt)),pt},_tileCoordsToKey:function(J){return J.x+":"+J.y+":"+J.z},_keyToTileCoords:function(J){var at=J.split(":"),pt=new H(+at[0],+at[1]);return pt.z=+at[2],pt},_removeTile:function(J){var at=this._tiles[J];at&&(qn(at.el),delete this._tiles[J],this.fire("tileunload",{tile:at.el,coords:this._keyToTileCoords(J)}))},_initTile:function(J){pn(J,"leaflet-tile");var at=this.getTileSize();J.style.width=at.x+"px",J.style.height=at.y+"px",J.onselectstart=w,J.onmousemove=w,Te.ielt9&&this.options.opacity<1&&io(J,this.options.opacity)},_addTile:function(J,at){var pt=this._getTilePos(J),_t=this._tileCoordsToKey(J),Et=this.createTile(this._wrapCoords(J),a(this._tileReady,this,J));this._initTile(Et),this.createTile.length<2&&d(a(this._tileReady,this,J,null,Et)),Rr(Et,pt),this._tiles[_t]={el:Et,coords:J,current:!0},at.appendChild(Et),this.fire("tileloadstart",{tile:Et,coords:J})},_tileReady:function(J,at,pt){at&&this.fire("tileerror",{error:at,tile:pt,coords:J});var _t=this._tileCoordsToKey(J);pt=this._tiles[_t],pt&&(pt.loaded=+new Date,this._map._fadeAnimated?(io(pt.el,0),g(this._fadeFrame),this._fadeFrame=d(this._updateOpacity,this)):(pt.active=!0,this._pruneTiles()),at||(pn(pt.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:pt.el,coords:J})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Te.ielt9||!this._map._fadeAnimated?d(this._pruneTiles,this):setTimeout(a(this._pruneTiles,this),250)))},_getTilePos:function(J){return J.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(J){var at=new H(this._wrapX?f(J.x,this._wrapX):J.x,this._wrapY?f(J.y,this._wrapY):J.y);return at.z=J.z,at},_pxBoundsToTileRange:function(J){var at=this.getTileSize();return new A(J.min.unscaleBy(at).floor(),J.max.unscaleBy(at).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var J in this._tiles)if(!this._tiles[J].loaded)return!1;return!0}});function rj(J){return new Xn(J)}var Zu=Xn.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(J,at){this._url=J,at=b(this,at),at.detectRetina&&Te.retina&&at.maxZoom>0?(at.tileSize=Math.floor(at.tileSize/2),at.zoomReverse?(at.zoomOffset--,at.minZoom=Math.min(at.maxZoom,at.minZoom+1)):(at.zoomOffset++,at.maxZoom=Math.max(at.minZoom,at.maxZoom-1)),at.minZoom=Math.max(0,at.minZoom)):at.zoomReverse?at.minZoom=Math.min(at.maxZoom,at.minZoom):at.maxZoom=Math.max(at.minZoom,at.maxZoom),typeof at.subdomains=="string"&&(at.subdomains=at.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(J,at){return this._url===J&&at===void 0&&(at=!0),this._url=J,at||this.redraw(),this},createTile:function(J,at){var pt=document.createElement("img");return dn(pt,"load",a(this._tileOnLoad,this,at,pt)),dn(pt,"error",a(this._tileOnError,this,at,pt)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(pt.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(pt.referrerPolicy=this.options.referrerPolicy),pt.alt="",pt.src=this.getTileUrl(J),pt},getTileUrl:function(J){var at={r:Te.retina?"@2x":"",s:this._getSubdomain(J),x:J.x,y:J.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var pt=this._globalTileRange.max.y-J.y;this.options.tms&&(at.y=pt),at["-y"]=pt}return G(this._url,i(at,this.options))},_tileOnLoad:function(J,at){Te.ielt9?setTimeout(a(J,this,null,at),0):J(null,at)},_tileOnError:function(J,at,pt){var _t=this.options.errorTileUrl;_t&&at.getAttribute("src")!==_t&&(at.src=_t),J(pt,at)},_onTileRemove:function(J){J.tile.onload=null},_getZoomForUrl:function(){var J=this._tileZoom,at=this.options.maxZoom,pt=this.options.zoomReverse,_t=this.options.zoomOffset;return pt&&(J=at-J),J+_t},_getSubdomain:function(J){var at=Math.abs(J.x+J.y)%this.options.subdomains.length;return this.options.subdomains[at]},_abortLoading:function(){var J,at;for(J in this._tiles)if(this._tiles[J].coords.z!==this._tileZoom&&(at=this._tiles[J].el,at.onload=w,at.onerror=w,!at.complete)){at.src=$;var pt=this._tiles[J].coords;qn(at),delete this._tiles[J],this.fire("tileabort",{tile:at,coords:pt})}},_removeTile:function(J){var at=this._tiles[J];if(at)return at.el.setAttribute("src",$),Xn.prototype._removeTile.call(this,J)},_tileReady:function(J,at,pt){if(!(!this._map||pt&&pt.getAttribute("src")===$))return Xn.prototype._tileReady.call(this,J,at,pt)}});function nf(J,at){return new Zu(J,at)}var jk=Zu.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(J,at){this._url=J;var pt=i({},this.defaultWmsParams);for(var _t in at)_t in this.options||(pt[_t]=at[_t]);at=b(this,at);var Et=at.detectRetina&&Te.retina?2:1,Rt=this.getTileSize();pt.width=Rt.x*Et,pt.height=Rt.y*Et,this.wmsParams=pt},onAdd:function(J){this._crs=this.options.crs||J.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var at=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[at]=this._crs.code,Zu.prototype.onAdd.call(this,J)},getTileUrl:function(J){var at=this._tileCoordsToNwSe(J),pt=this._crs,_t=k(pt.project(at[0]),pt.project(at[1])),Et=_t.min,Rt=_t.max,Gt=(this._wmsVersion>=1.3&&this._crs===Lk?[Et.y,Et.x,Rt.y,Rt.x]:[Et.x,Et.y,Rt.x,Rt.y]).join(","),ie=Zu.prototype.getTileUrl.call(this,J);return ie+T(this.wmsParams,ie,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+Gt},setParams:function(J,at){return i(this.wmsParams,J),at||this.redraw(),this}});function ij(J,at){return new jk(J,at)}Zu.WMS=jk,nf.wms=ij;var ic=ei.extend({options:{padding:.1},initialize:function(J){b(this,J),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 J={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(J.zoomanim=this._onAnimZoom),J},_onAnimZoom:function(J){this._updateTransform(J.center,J.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(J,at){var pt=this._map.getZoomScale(at,this._zoom),_t=this._map.getSize().multiplyBy(.5+this.options.padding),Et=this._map.project(this._center,at),Rt=_t.multiplyBy(-pt).add(Et).subtract(this._map._getNewPixelOrigin(J,at));Te.any3d?Xa(this._container,Rt,pt):Rr(this._container,Rt)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var J in this._layers)this._layers[J]._reset()},_onZoomEnd:function(){for(var J in this._layers)this._layers[J]._project()},_updatePaths:function(){for(var J in this._layers)this._layers[J]._update()},_update:function(){var J=this.options.padding,at=this._map.getSize(),pt=this._map.containerPointToLayerPoint(at.multiplyBy(-J)).round();this._bounds=new A(pt,pt.add(at.multiplyBy(1+J*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),rf=ic.extend({options:{tolerance:0},getEvents:function(){var J=ic.prototype.getEvents.call(this);return J.viewprereset=this._onViewPreReset,J},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ic.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var J=this._container=document.createElement("canvas");dn(J,"mousemove",this._onMouseMove,this),dn(J,"click dblclick mousedown mouseup contextmenu",this._onClick,this),dn(J,"mouseout",this._handleMouseOut,this),J._leaflet_disable_events=!0,this._ctx=J.getContext("2d")},_destroyContainer:function(){g(this._redrawRequest),delete this._ctx,qn(this._container),ke(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var J;this._redrawBounds=null;for(var at in this._layers)J=this._layers[at],J._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){ic.prototype._update.call(this);var J=this._bounds,at=this._container,pt=J.getSize(),_t=Te.retina?2:1;Rr(at,J.min),at.width=_t*pt.x,at.height=_t*pt.y,at.style.width=pt.x+"px",at.style.height=pt.y+"px",Te.retina&&this._ctx.scale(2,2),this._ctx.translate(-J.min.x,-J.min.y),this.fire("update")}},_reset:function(){ic.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(J){this._updateDashArray(J),this._layers[c(J)]=J;var at=J._order={layer:J,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=at),this._drawLast=at,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(J){this._requestRedraw(J)},_removePath:function(J){var at=J._order,pt=at.next,_t=at.prev;pt?pt.prev=_t:this._drawLast=_t,_t?_t.next=pt:this._drawFirst=pt,delete J._order,delete this._layers[c(J)],this._requestRedraw(J)},_updatePath:function(J){this._extendRedrawBounds(J),J._project(),J._update(),this._requestRedraw(J)},_updateStyle:function(J){this._updateDashArray(J),this._requestRedraw(J)},_updateDashArray:function(J){if(typeof J.options.dashArray=="string"){var at=J.options.dashArray.split(/[, ]+/),pt=[],_t,Et;for(Et=0;Et<at.length;Et++){if(_t=Number(at[Et]),isNaN(_t))return;pt.push(_t)}J.options._dashArray=pt}else J.options._dashArray=J.options.dashArray},_requestRedraw:function(J){this._map&&(this._extendRedrawBounds(J),this._redrawRequest=this._redrawRequest||d(this._redraw,this))},_extendRedrawBounds:function(J){if(J._pxBounds){var at=(J.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new A,this._redrawBounds.extend(J._pxBounds.min.subtract([at,at])),this._redrawBounds.extend(J._pxBounds.max.add([at,at]))}},_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 J=this._redrawBounds;if(J){var at=J.getSize();this._ctx.clearRect(J.min.x,J.min.y,at.x,at.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 J,at=this._redrawBounds;if(this._ctx.save(),at){var pt=at.getSize();this._ctx.beginPath(),this._ctx.rect(at.min.x,at.min.y,pt.x,pt.y),this._ctx.clip()}this._drawing=!0;for(var _t=this._drawFirst;_t;_t=_t.next)J=_t.layer,(!at||J._pxBounds&&J._pxBounds.intersects(at))&&J._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(J,at){if(this._drawing){var pt,_t,Et,Rt,Gt=J._parts,ie=Gt.length,le=this._ctx;if(ie){for(le.beginPath(),pt=0;pt<ie;pt++){for(_t=0,Et=Gt[pt].length;_t<Et;_t++)Rt=Gt[pt][_t],le[_t?"lineTo":"moveTo"](Rt.x,Rt.y);at&&le.closePath()}this._fillStroke(le,J)}}},_updateCircle:function(J){if(!(!this._drawing||J._empty())){var at=J._point,pt=this._ctx,_t=Math.max(Math.round(J._radius),1),Et=(Math.max(Math.round(J._radiusY),1)||_t)/_t;Et!==1&&(pt.save(),pt.scale(1,Et)),pt.beginPath(),pt.arc(at.x,at.y/Et,_t,0,Math.PI*2,!1),Et!==1&&pt.restore(),this._fillStroke(pt,J)}},_fillStroke:function(J,at){var pt=at.options;pt.fill&&(J.globalAlpha=pt.fillOpacity,J.fillStyle=pt.fillColor||pt.color,J.fill(pt.fillRule||"evenodd")),pt.stroke&&pt.weight!==0&&(J.setLineDash&&J.setLineDash(at.options&&at.options._dashArray||[]),J.globalAlpha=pt.opacity,J.lineWidth=pt.weight,J.strokeStyle=pt.color,J.lineCap=pt.lineCap,J.lineJoin=pt.lineJoin,J.stroke())},_onClick:function(J){for(var at=this._map.mouseEventToLayerPoint(J),pt,_t,Et=this._drawFirst;Et;Et=Et.next)pt=Et.layer,pt.options.interactive&&pt._containsPoint(at)&&(!(J.type==="click"||J.type==="preclick")||!this._map._draggableMoved(pt))&&(_t=pt);this._fireEvent(_t?[_t]:!1,J)},_onMouseMove:function(J){if(!(!this._map||this._map.dragging.moving()||this._map._animatingZoom)){var at=this._map.mouseEventToLayerPoint(J);this._handleMouseHover(J,at)}},_handleMouseOut:function(J){var at=this._hoveredLayer;at&&(wr(this._container,"leaflet-interactive"),this._fireEvent([at],J,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(J,at){if(!this._mouseHoverThrottled){for(var pt,_t,Et=this._drawFirst;Et;Et=Et.next)pt=Et.layer,pt.options.interactive&&pt._containsPoint(at)&&(_t=pt);_t!==this._hoveredLayer&&(this._handleMouseOut(J),_t&&(pn(this._container,"leaflet-interactive"),this._fireEvent([_t],J,"mouseover"),this._hoveredLayer=_t)),this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:!1,J),this._mouseHoverThrottled=!0,setTimeout(a(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(J,at,pt){this._map._fireDOMEvent(at,pt||at.type,J)},_bringToFront:function(J){var at=J._order;if(at){var pt=at.next,_t=at.prev;if(pt)pt.prev=_t;else return;_t?_t.next=pt:pt&&(this._drawFirst=pt),at.prev=this._drawLast,this._drawLast.next=at,at.next=null,this._drawLast=at,this._requestRedraw(J)}},_bringToBack:function(J){var at=J._order;if(at){var pt=at.next,_t=at.prev;if(_t)_t.next=pt;else return;pt?pt.prev=_t:_t&&(this._drawLast=_t),at.prev=null,at.next=this._drawFirst,this._drawFirst.prev=at,this._drawFirst=at,this._requestRedraw(J)}}});function oc(J){return Te.canvas?new rf(J):null}var su=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(J){return document.createElement("<lvml:"+J+' class="lvml">')}}catch{}return function(J){return document.createElement("<"+J+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),$k={_initContainer:function(){this._container=jn("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(ic.prototype._update.call(this),this.fire("update"))},_initPath:function(J){var at=J._container=su("shape");pn(at,"leaflet-vml-shape "+(this.options.className||"")),at.coordsize="1 1",J._path=su("path"),at.appendChild(J._path),this._updateStyle(J),this._layers[c(J)]=J},_addPath:function(J){var at=J._container;this._container.appendChild(at),J.options.interactive&&J.addInteractiveTarget(at)},_removePath:function(J){var at=J._container;qn(at),J.removeInteractiveTarget(at),delete this._layers[c(J)]},_updateStyle:function(J){var at=J._stroke,pt=J._fill,_t=J.options,Et=J._container;Et.stroked=!!_t.stroke,Et.filled=!!_t.fill,_t.stroke?(at||(at=J._stroke=su("stroke")),Et.appendChild(at),at.weight=_t.weight+"px",at.color=_t.color,at.opacity=_t.opacity,_t.dashArray?at.dashStyle=Y(_t.dashArray)?_t.dashArray.join(" "):_t.dashArray.replace(/( *, *)/g," "):at.dashStyle="",at.endcap=_t.lineCap.replace("butt","flat"),at.joinstyle=_t.lineJoin):at&&(Et.removeChild(at),J._stroke=null),_t.fill?(pt||(pt=J._fill=su("fill")),Et.appendChild(pt),pt.color=_t.fillColor||_t.color,pt.opacity=_t.fillOpacity):pt&&(Et.removeChild(pt),J._fill=null)},_updateCircle:function(J){var at=J._point.round(),pt=Math.round(J._radius),_t=Math.round(J._radiusY||pt);this._setPath(J,J._empty()?"M0 0":"AL "+at.x+","+at.y+" "+pt+","+_t+" 0,"+65535*360)},_setPath:function(J,at){J._path.v=at},_bringToFront:function(J){ba(J._container)},_bringToBack:function(J){Do(J._container)}},Ju=Te.vml?su:Q,Ch=ic.extend({_initContainer:function(){this._container=Ju("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Ju("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){qn(this._container),ke(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){ic.prototype._update.call(this);var J=this._bounds,at=J.getSize(),pt=this._container;(!this._svgSize||!this._svgSize.equals(at))&&(this._svgSize=at,pt.setAttribute("width",at.x),pt.setAttribute("height",at.y)),Rr(pt,J.min),pt.setAttribute("viewBox",[J.min.x,J.min.y,at.x,at.y].join(" ")),this.fire("update")}},_initPath:function(J){var at=J._path=Ju("path");J.options.className&&pn(at,J.options.className),J.options.interactive&&pn(at,"leaflet-interactive"),this._updateStyle(J),this._layers[c(J)]=J},_addPath:function(J){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(J._path),J.addInteractiveTarget(J._path)},_removePath:function(J){qn(J._path),J.removeInteractiveTarget(J._path),delete this._layers[c(J)]},_updatePath:function(J){J._project(),J._update()},_updateStyle:function(J){var at=J._path,pt=J.options;at&&(pt.stroke?(at.setAttribute("stroke",pt.color),at.setAttribute("stroke-opacity",pt.opacity),at.setAttribute("stroke-width",pt.weight),at.setAttribute("stroke-linecap",pt.lineCap),at.setAttribute("stroke-linejoin",pt.lineJoin),pt.dashArray?at.setAttribute("stroke-dasharray",pt.dashArray):at.removeAttribute("stroke-dasharray"),pt.dashOffset?at.setAttribute("stroke-dashoffset",pt.dashOffset):at.removeAttribute("stroke-dashoffset")):at.setAttribute("stroke","none"),pt.fill?(at.setAttribute("fill",pt.fillColor||pt.color),at.setAttribute("fill-opacity",pt.fillOpacity),at.setAttribute("fill-rule",pt.fillRule||"evenodd")):at.setAttribute("fill","none"))},_updatePoly:function(J,at){this._setPath(J,it(J._parts,at))},_updateCircle:function(J){var at=J._point,pt=Math.max(Math.round(J._radius),1),_t=Math.max(Math.round(J._radiusY),1)||pt,Et="a"+pt+","+_t+" 0 1,0 ",Rt=J._empty()?"M0 0":"M"+(at.x-pt)+","+at.y+Et+pt*2+",0 "+Et+-pt*2+",0 ";this._setPath(J,Rt)},_setPath:function(J,at){J._path.setAttribute("d",at)},_bringToFront:function(J){ba(J._path)},_bringToBack:function(J){Do(J._path)}});Te.vml&&Ch.include($k);function Ob(J){return Te.svg||Te.vml?new Ch(J):null}Yn.include({getRenderer:function(J){var at=J.options.renderer||this._getPaneRenderer(J.options.pane)||this.options.renderer||this._renderer;return at||(at=this._renderer=this._createRenderer()),this.hasLayer(at)||this.addLayer(at),at},_getPaneRenderer:function(J){if(J==="overlayPane"||J===void 0)return!1;var at=this._paneRenderers[J];return at===void 0&&(at=this._createRenderer({pane:J}),this._paneRenderers[J]=at),at},_createRenderer:function(J){return this.options.preferCanvas&&oc(J)||Ob(J)}});var of=wh.extend({initialize:function(J,at){wh.prototype.initialize.call(this,this._boundsToLatLngs(J),at)},setBounds:function(J){return this.setLatLngs(this._boundsToLatLngs(J))},_boundsToLatLngs:function(J){return J=_(J),[J.getSouthWest(),J.getNorthWest(),J.getNorthEast(),J.getSouthEast()]}});function zk(J,at){return new of(J,at)}Ch.create=Ju,Ch.pointsToPath=it,Xo.geometryToLayer=Zo,Xo.coordsToLatLng=Tb,Xo.coordsToLatLngs=Bm,Xo.latLngToCoords=Ab,Xo.latLngsToCoords=Fm,Xo.getFeature=_h,Xo.asFeature=rc,Yn.mergeOptions({boxZoom:!0});var kh=li.extend({initialize:function(J){this._map=J,this._container=J._container,this._pane=J._panes.overlayPane,this._resetStateTimeout=0,J.on("unload",this._destroy,this)},addHooks:function(){dn(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){ke(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){qn(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(J){if(!J.shiftKey||J.which!==1&&J.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Za(),Ja(),this._startPoint=this._map.mouseEventToContainerPoint(J),dn(document,{contextmenu:nr,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(J){this._moved||(this._moved=!0,this._box=jn("div","leaflet-zoom-box",this._container),pn(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(J);var at=new A(this._point,this._startPoint),pt=at.getSize();Rr(this._box,at.min),this._box.style.width=pt.x+"px",this._box.style.height=pt.y+"px"},_finish:function(){this._moved&&(qn(this._box),wr(this._container,"leaflet-crosshair")),ti(),Ps(),ke(document,{contextmenu:nr,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(J){if(!(J.which!==1&&J.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(a(this._resetState,this),0);var at=new h(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(at).fire("boxzoomend",{boxZoomBounds:at})}},_onKeyDown:function(J){J.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Yn.addInitHook("addHandler","boxZoom",kh),Yn.mergeOptions({doubleClickZoom:!0});var lu=li.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(J){var at=this._map,pt=at.getZoom(),_t=at.options.zoomDelta,Et=J.originalEvent.shiftKey?pt-_t:pt+_t;at.options.doubleClickZoom==="center"?at.setZoom(Et):at.setZoomAround(J.containerPoint,Et)}});Yn.addInitHook("addHandler","doubleClickZoom",lu),Yn.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var af=li.extend({addHooks:function(){if(!this._draggable){var J=this._map;this._draggable=new ru(J._mapPane,J._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),J.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),J.on("zoomend",this._onZoomEnd,this),J.whenReady(this._onZoomEnd,this))}pn(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){wr(this._map._container,"leaflet-grab"),wr(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 J=this._map;if(J._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var at=_(this._map.options.maxBounds);this._offsetLimit=k(this._map.latLngToContainerPoint(at.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(at.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;J.fire("movestart").fire("dragstart"),J.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(J){if(this._map.options.inertia){var at=this._lastTime=+new Date,pt=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(pt),this._times.push(at),this._prunePositions(at)}this._map.fire("move",J).fire("drag",J)},_prunePositions:function(J){for(;this._positions.length>1&&J-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var J=this._map.getSize().divideBy(2),at=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=at.subtract(J).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(J,at){return J-(J-at)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var J=this._draggable._newPos.subtract(this._draggable._startPos),at=this._offsetLimit;J.x<at.min.x&&(J.x=this._viscousLimit(J.x,at.min.x)),J.y<at.min.y&&(J.y=this._viscousLimit(J.y,at.min.y)),J.x>at.max.x&&(J.x=this._viscousLimit(J.x,at.max.x)),J.y>at.max.y&&(J.y=this._viscousLimit(J.y,at.max.y)),this._draggable._newPos=this._draggable._startPos.add(J)}},_onPreDragWrap:function(){var J=this._worldWidth,at=Math.round(J/2),pt=this._initialWorldOffset,_t=this._draggable._newPos.x,Et=(_t-at+pt)%J+at-pt,Rt=(_t+at+pt)%J-at-pt,Gt=Math.abs(Et+pt)<Math.abs(Rt+pt)?Et:Rt;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=Gt},_onDragEnd:function(J){var at=this._map,pt=at.options,_t=!pt.inertia||J.noInertia||this._times.length<2;if(at.fire("dragend",J),_t)at.fire("moveend");else{this._prunePositions(+new Date);var Et=this._lastPos.subtract(this._positions[0]),Rt=(this._lastTime-this._times[0])/1e3,Gt=pt.easeLinearity,ie=Et.multiplyBy(Gt/Rt),le=ie.distanceTo([0,0]),_e=Math.min(pt.inertiaMaxSpeed,le),je=ie.multiplyBy(_e/le),nn=_e/(pt.inertiaDeceleration*Gt),Tn=je.multiplyBy(-nn/2).round();!Tn.x&&!Tn.y?at.fire("moveend"):(Tn=at._limitOffset(Tn,at.options.maxBounds),d(function(){at.panBy(Tn,{duration:nn,easeLinearity:Gt,noMoveStart:!0,animate:!0})}))}}});Yn.addInitHook("addHandler","dragging",af),Yn.mergeOptions({keyboard:!0,keyboardPanDelta:80});var Bk=li.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(J){this._map=J,this._setPanDelta(J.options.keyboardPanDelta),this._setZoomDelta(J.options.zoomDelta)},addHooks:function(){var J=this._map._container;J.tabIndex<=0&&(J.tabIndex="0"),dn(J,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),ke(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 J=document.body,at=document.documentElement,pt=J.scrollTop||at.scrollTop,_t=J.scrollLeft||at.scrollLeft;this._map._container.focus(),window.scrollTo(_t,pt)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(J){var at=this._panKeys={},pt=this.keyCodes,_t,Et;for(_t=0,Et=pt.left.length;_t<Et;_t++)at[pt.left[_t]]=[-1*J,0];for(_t=0,Et=pt.right.length;_t<Et;_t++)at[pt.right[_t]]=[J,0];for(_t=0,Et=pt.down.length;_t<Et;_t++)at[pt.down[_t]]=[0,J];for(_t=0,Et=pt.up.length;_t<Et;_t++)at[pt.up[_t]]=[0,-1*J]},_setZoomDelta:function(J){var at=this._zoomKeys={},pt=this.keyCodes,_t,Et;for(_t=0,Et=pt.zoomIn.length;_t<Et;_t++)at[pt.zoomIn[_t]]=J;for(_t=0,Et=pt.zoomOut.length;_t<Et;_t++)at[pt.zoomOut[_t]]=-J},_addHooks:function(){dn(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){ke(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(J){if(!(J.altKey||J.ctrlKey||J.metaKey)){var at=J.keyCode,pt=this._map,_t;if(at in this._panKeys){if(!pt._panAnim||!pt._panAnim._inProgress)if(_t=this._panKeys[at],J.shiftKey&&(_t=I(_t).multiplyBy(3)),pt.options.maxBounds&&(_t=pt._limitOffset(I(_t),pt.options.maxBounds)),pt.options.worldCopyJump){var Et=pt.wrapLatLng(pt.unproject(pt.project(pt.getCenter()).add(_t)));pt.panTo(Et)}else pt.panBy(_t)}else if(at in this._zoomKeys)pt.setZoom(pt.getZoom()+(J.shiftKey?3:1)*this._zoomKeys[at]);else if(at===27&&pt._popup&&pt._popup.options.closeOnEscapeKey)pt.closePopup();else return;nr(J)}}});Yn.addInitHook("addHandler","keyboard",Bk),Yn.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var Fk=li.extend({addHooks:function(){dn(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){ke(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(J){var at=Mk(J),pt=this._map.options.wheelDebounceTime;this._delta+=at,this._lastMousePos=this._map.mouseEventToContainerPoint(J),this._startTime||(this._startTime=+new Date);var _t=Math.max(pt-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(a(this._performZoom,this),_t),nr(J)},_performZoom:function(){var J=this._map,at=J.getZoom(),pt=this._map.options.zoomSnap||0;J._stop();var _t=this._delta/(this._map.options.wheelPxPerZoomLevel*4),Et=4*Math.log(2/(1+Math.exp(-Math.abs(_t))))/Math.LN2,Rt=pt?Math.ceil(Et/pt)*pt:Et,Gt=J._limitZoom(at+(this._delta>0?Rt:-Rt))-at;this._delta=0,this._startTime=null,Gt&&(J.options.scrollWheelZoom==="center"?J.setZoom(at+Gt):J.setZoomAround(this._lastMousePos,at+Gt))}});Yn.addInitHook("addHandler","scrollWheelZoom",Fk);var oj=600;Yn.mergeOptions({tapHold:Te.touchNative&&Te.safari&&Te.mobile,tapTolerance:15});var sf=li.extend({addHooks:function(){dn(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){ke(this._map._container,"touchstart",this._onDown,this)},_onDown:function(J){if(clearTimeout(this._holdTimeout),J.touches.length===1){var at=J.touches[0];this._startPos=this._newPos=new H(at.clientX,at.clientY),this._holdTimeout=setTimeout(a(function(){this._cancel(),this._isTapValid()&&(dn(document,"touchend",hn),dn(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",at))},this),oj),dn(document,"touchend touchcancel contextmenu",this._cancel,this),dn(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function J(){ke(document,"touchend",hn),ke(document,"touchend touchcancel",J)},_cancel:function(){clearTimeout(this._holdTimeout),ke(document,"touchend touchcancel contextmenu",this._cancel,this),ke(document,"touchmove",this._onMove,this)},_onMove:function(J){var at=J.touches[0];this._newPos=new H(at.clientX,at.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(J,at){var pt=new MouseEvent(J,{bubbles:!0,cancelable:!0,view:window,screenX:at.screenX,screenY:at.screenY,clientX:at.clientX,clientY:at.clientY});pt._simulated=!0,at.target.dispatchEvent(pt)}});Yn.addInitHook("addHandler","tapHold",sf),Yn.mergeOptions({touchZoom:Te.touch,bounceAtZoomLimits:!0});var lf=li.extend({addHooks:function(){pn(this._map._container,"leaflet-touch-zoom"),dn(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){wr(this._map._container,"leaflet-touch-zoom"),ke(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(J){var at=this._map;if(!(!J.touches||J.touches.length!==2||at._animatingZoom||this._zooming)){var pt=at.mouseEventToContainerPoint(J.touches[0]),_t=at.mouseEventToContainerPoint(J.touches[1]);this._centerPoint=at.getSize()._divideBy(2),this._startLatLng=at.containerPointToLatLng(this._centerPoint),at.options.touchZoom!=="center"&&(this._pinchStartLatLng=at.containerPointToLatLng(pt.add(_t)._divideBy(2))),this._startDist=pt.distanceTo(_t),this._startZoom=at.getZoom(),this._moved=!1,this._zooming=!0,at._stop(),dn(document,"touchmove",this._onTouchMove,this),dn(document,"touchend touchcancel",this._onTouchEnd,this),hn(J)}},_onTouchMove:function(J){if(!(!J.touches||J.touches.length!==2||!this._zooming)){var at=this._map,pt=at.mouseEventToContainerPoint(J.touches[0]),_t=at.mouseEventToContainerPoint(J.touches[1]),Et=pt.distanceTo(_t)/this._startDist;if(this._zoom=at.getScaleZoom(Et,this._startZoom),!at.options.bounceAtZoomLimits&&(this._zoom<at.getMinZoom()&&Et<1||this._zoom>at.getMaxZoom()&&Et>1)&&(this._zoom=at._limitZoom(this._zoom)),at.options.touchZoom==="center"){if(this._center=this._startLatLng,Et===1)return}else{var Rt=pt._add(_t)._divideBy(2)._subtract(this._centerPoint);if(Et===1&&Rt.x===0&&Rt.y===0)return;this._center=at.unproject(at.project(this._pinchStartLatLng,this._zoom).subtract(Rt),this._zoom)}this._moved||(at._moveStart(!0,!1),this._moved=!0),g(this._animRequest);var Gt=a(at._move,at,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=d(Gt,this,!0),hn(J)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,g(this._animRequest),ke(document,"touchmove",this._onTouchMove,this),ke(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))}});Yn.addInitHook("addHandler","touchZoom",lf),Yn.BoxZoom=kh,Yn.DoubleClickZoom=lu,Yn.Drag=af,Yn.Keyboard=Bk,Yn.ScrollWheelZoom=Fk,Yn.TapHold=sf,Yn.TouchZoom=lf,n.Bounds=A,n.Browser=Te,n.CRS=z,n.Canvas=rf,n.Circle=zm,n.CircleMarker=$m,n.Class=M,n.Control=_a,n.DivIcon=ef,n.DivOverlay=Ml,n.DomEvent=ZR,n.DomUtil=mh,n.Draggable=ru,n.Evented=q,n.FeatureGroup=kl,n.GeoJSON=Xo,n.GridLayer=Xn,n.Handler=li,n.Icon=bh,n.ImageOverlay=ze,n.LatLng=y,n.LatLngBounds=h,n.Layer=ei,n.LayerGroup=iu,n.LineUtil=wb,n.Map=Yn,n.Marker=jm,n.Mixin=JR,n.Path=ou,n.Point=H,n.PolyUtil=yb,n.Polygon=wh,n.Polyline=ts,n.Popup=Lo,n.PosAnimation=pb,n.Projection=Sb,n.Rectangle=of,n.Renderer=ic,n.SVG=Ch,n.SVGOverlay=_r,n.TileLayer=Zu,n.Tooltip=Wm,n.Transformation=Z,n.Util=E,n.VideoOverlay=rr,n.bind=a,n.bounds=k,n.canvas=oc,n.circle=au,n.circleMarker=kb,n.control=Ls,n.divIcon=Vm,n.extend=i,n.featureGroup=Ik,n.geoJSON=fe,n.geoJson=de,n.gridLayer=rj,n.icon=tj,n.imageOverlay=mn,n.latLng=v,n.latLngBounds=_,n.layerGroup=Qp,n.map=oo,n.marker=xh,n.point=I,n.polygon=nj,n.polyline=ej,n.popup=Hm,n.rectangle=zk,n.setOptions=b,n.stamp=c,n.svg=Ob,n.svgOverlay=Eb,n.tileLayer=nf,n.tooltip=Sh,n.transformation=K,n.version=r,n.videoOverlay=Fi;var Pb=window.L;n.noConflict=function(){return window.L=Pb,this},window.L=n})})(wA,wA.exports);var KRt=wA.exports;const Sc=An(KRt),QRt=Object.freeze({usa:"united states",switzerland:"switzerland country",uk:"united kingdom"});function tjt(t,e){const n=QRt[t.toLowerCase()];return n&&(e[n]=t),n||t}function ejt(t,e){return e[t.toLowerCase()]||t}const njt=(t,e)=>{const{app:n}=hr(),[r,i]=ce([]),o=Jt(t),a=Ne(()=>cc(void 0,null,function*(){if(!n||!t)return;const s={},c=_5t(e),l=yield n.httpClient.post("api/v1/geo/locations",zt({locations:t.map(S=>({name:tjt(S.name,s)}))},c&&{geoLevel:c})),f=o.current!==t;if(!l||f)return;const w=l.reduce((S,b)=>{const T=ne(zt({},b),{name:ejt(b.name,s)});return S[T.name]=T,S},{}),u=[],j=t.map(S=>(w[S.name]||u.push(S.name),zt(zt({},S),w[S.name]?{coordinates:w[S.name].latLng}:null)));u.length&&console.warn(`Locations "${u.join(", ")}" coordinates not found`),i(j)}),[n,i,t,e]);return he(()=>{t&&(o.current=t,t.some(s=>!!s.coordinates)?i(t):a())},[t,n,a,i]),r};function rjt(t){let e=Number.MAX_VALUE,n=Number.MIN_VALUE;return t.forEach(r=>{isNaN(r)||(e=Math.min(e,r),n=Math.max(n,r))}),{min:e,max:n}}function ijt(t,e=4,n=24){let r=0;const{min:i,max:o}=rjt(t.map(({value:s})=>s)),a=n-e;return r=o-i,t.map(s=>r===0?e:(s.value-i)/r*a+e)}const ojt=()=>{const{app:t}=hr(),[e,n]=ce(null),r=Ne(()=>cc(void 0,null,function*(){if(!t)return;const i=yield t.httpClient.get("api/v1/settings/system");i&&n(i.geo)}),[n,t]);return he(()=>{r()},[t,r]),e},ajt="#00cee6",sjt=Cx({getValueFromDataStructure:({colorValue:t})=>parseFloat(`${t}`),applyColorToDataStructure:(t,e)=>ne(zt({},t),{color:e})});function ljt(t,e){return e?sjt(t.map(({colorValue:n})=>({colorValue:n})),e).map(({color:n})=>n):t.map(()=>ajt)}function U8(t){return{isLight:["hollow","filled-light"].includes(t),isFilled:["filled","filled-light"].includes(t)}}function G8(t){const{color:e,size:n,fill:r,blur:i}=t,{isFilled:o}=U8(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?e:"transparent",color:o?"transparent":e,stroke:!o,weight:o?0:2,customStyle:t}}function cjt({coordinates:t,style:e}){const n=new Sc.CircleMarker({lat:t.lat,lng:t.lng},G8(e));return n.on("mouseover",ujt),n.on("mouseout",djt),n}function ujt(t){const e=t.target,n=e.options.customStyle,{isFilled:r,isLight:i}=U8(n.fill);return e.setStyle(r?{stroke:!0,weight:2,opacity:i?.5:.7,fillOpacity:i?.5:.7}:{weight:3,opacity:i?.6:1}),e}function djt(t){const e=t.target,n=e.options.customStyle;e.setStyle(G8(n))}function hjt(t){t.forEach(e=>e.remove())}function pjt(t,e){const n=`
@@ -433,7 +433,7 @@ https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof t.getDerivedStat
433
433
  `))}return null}),children:bt.oneOfType([bt.node,bt.func]),container:bt.oneOfType([Tu,bt.func]),direction:bt.oneOf(["ltr","rtl"]),disablePortal:bt.bool,keepMounted:bt.bool,modifiers:bt.arrayOf(bt.shape({data:bt.object,effect:bt.func,enabled:bt.bool,fn:bt.func,name:bt.any,options:bt.object,phase:bt.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:bt.arrayOf(bt.string),requiresIfExists:bt.arrayOf(bt.string)})),open:bt.bool.isRequired,placement:bt.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:bt.shape({modifiers:bt.array,onFirstUpdate:bt.func,placement:bt.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:bt.oneOf(["absolute","fixed"])}),popperRef:fg,slotProps:bt.shape({root:bt.oneOfType([bt.func,bt.object])}),slots:bt.shape({root:bt.elementType}),transition:bt.bool});var sO={};Object.defineProperty(sO,"__esModule",{value:!0});var gU=sO.default=void 0,KUt=tGt(Qt),QUt=t7;function mU(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(mU=function(r){return r?n:e})(t)}function tGt(t,e){if(t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=mU(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var a=i?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}function eGt(t){return Object.keys(t).length===0}function nGt(t=null){const e=KUt.useContext(QUt.ThemeContext);return!e||eGt(e)?t:e}gU=sO.default=nGt;const vU=t=>{let e;return t<1?e=5.11916*Ee(t,2):e=4.5*Math.log(t+1)+2,(e/100).toFixed(2)},rGt=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],iGt=vn(fU,{name:"MuiPopper",slot:"Root",overridesResolver:(t,e)=>e.root})({}),ky=Pe(function(t,e){var n;const r=gU(),i=mi({props:t,name:"MuiPopper"}),{anchorEl:o,component:a,components:s,componentsProps:c,container:l,disablePortal:f,keepMounted:w,modifiers:u,open:j,placement:S,popperOptions:b,popperRef:T,transition:W,slots:G,slotProps:Y}=i,U=_n(i,rGt),$=(n=G==null?void 0:G.root)!=null?n:s==null?void 0:s.Root,O=Kt({anchorEl:o,container:l,disablePortal:f,keepMounted:w,modifiers:u,open:j,placement:S,popperOptions:b,popperRef:T,transition:W},U);return yt(iGt,Kt({as:a,direction:r==null?void 0:r.direction,slots:{root:$},slotProps:Y??c},O,{ref:e}))});process.env.NODE_ENV!=="production"&&(ky.propTypes={anchorEl:bt.oneOfType([Tu,bt.object,bt.func]),children:bt.oneOfType([bt.node,bt.func]),component:bt.elementType,components:bt.shape({Root:bt.elementType}),componentsProps:bt.shape({root:bt.oneOfType([bt.func,bt.object])}),container:bt.oneOfType([Tu,bt.func]),disablePortal:bt.bool,keepMounted:bt.bool,modifiers:bt.arrayOf(bt.shape({data:bt.object,effect:bt.func,enabled:bt.bool,fn:bt.func,name:bt.any,options:bt.object,phase:bt.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:bt.arrayOf(bt.string),requiresIfExists:bt.arrayOf(bt.string)})),open:bt.bool.isRequired,placement:bt.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:bt.shape({modifiers:bt.array,onFirstUpdate:bt.func,placement:bt.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:bt.oneOf(["absolute","fixed"])}),popperRef:fg,slotProps:bt.shape({root:bt.oneOfType([bt.func,bt.object])}),slots:bt.shape({root:bt.elementType}),sx:bt.oneOfType([bt.arrayOf(bt.oneOfType([bt.func,bt.object,bt.bool])),bt.func,bt.object]),transition:bt.bool});function oGt(t){return ii("MuiTooltip",t)}const Dd=qr("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),aGt=["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 sGt(t){return Math.round(t*1e5)/1e5}const lGt=t=>{const{classes:e,disableInteractive:n,arrow:r,touch:i,placement:o}=t,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${kn(o.split("-")[0])}`],arrow:["arrow"]};return fi(a,oGt,e)},cGt=vn(ky,{name:"MuiTooltip",slot:"Popper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.popper,!n.disableInteractive&&e.popperInteractive,n.arrow&&e.popperArrow,!n.open&&e.popperClose]}})(({theme:t,ownerState:e,open:n})=>Kt({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none"},!e.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},e.arrow&&{[`&[data-popper-placement*="bottom"] .${Dd.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Dd.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Dd.arrow}`]:Kt({},e.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Dd.arrow}`]:Kt({},e.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),uGt=vn("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.tooltip,n.touch&&e.touch,n.arrow&&e.tooltipArrow,e[`tooltipPlacement${kn(n.placement.split("-")[0])}`]]}})(({theme:t,ownerState:e})=>Kt({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:gi(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},e.arrow&&{position:"relative",margin:0},e.touch&&{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:`${sGt(16/14)}em`,fontWeight:t.typography.fontWeightRegular},{[`.${Dd.popper}[data-popper-placement*="left"] &`]:Kt({transformOrigin:"right center"},e.isRtl?Kt({marginLeft:"14px"},e.touch&&{marginLeft:"24px"}):Kt({marginRight:"14px"},e.touch&&{marginRight:"24px"})),[`.${Dd.popper}[data-popper-placement*="right"] &`]:Kt({transformOrigin:"left center"},e.isRtl?Kt({marginRight:"14px"},e.touch&&{marginRight:"24px"}):Kt({marginLeft:"14px"},e.touch&&{marginLeft:"24px"})),[`.${Dd.popper}[data-popper-placement*="top"] &`]:Kt({transformOrigin:"center bottom",marginBottom:"14px"},e.touch&&{marginBottom:"24px"}),[`.${Dd.popper}[data-popper-placement*="bottom"] &`]:Kt({transformOrigin:"center top",marginTop:"14px"},e.touch&&{marginTop:"24px"})})),dGt=vn("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(t,e)=>e.arrow})(({theme:t})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:gi(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Dw=!1;const yU=new SE;let My={x:0,y:0};function Lw(t,e){return(n,...r)=>{e&&e(n,...r),t(n,...r)}}const Nw=Pe(function(t,e){var n,r,i,o,a,s,c,l,f,w,u,j,S,b,T,W,G,Y,U;const $=mi({props:t,name:"MuiTooltip"}),{arrow:O=!1,children:D,components:m={},componentsProps:C={},describeChild:p=!1,disableFocusListener:d=!1,disableHoverListener:g=!1,disableInteractive:E=!1,disableTouchListener:M=!1,enterDelay:P=100,enterNextDelay:V=0,enterTouchDelay:q=700,followCursor:H=!1,id:R,leaveDelay:I=0,leaveTouchDelay:A=1500,onClose:k,onOpen:h,open:_,placement:y="bottom",PopperComponent:v,PopperProps:z={},slotProps:N={},slots:x={},title:B,TransitionComponent:Z=my,TransitionProps:K}=$,F=_n($,aGt),X=cr(D)?D:yt("span",{children:D}),Q=Cw(),it=bE(),[ot,et]=ce(),[nt,rt]=ce(null),ut=Jt(!1),ct=E||H,lt=mg(),ht=mg(),gt=mg(),ft=mg(),[xt,wt]=yE({controlled:_,default:!1,name:"Tooltip",state:"open"});let Tt=xt;if(process.env.NODE_ENV!=="production"){const{current:we}=Jt(_!==void 0);he(()=>{ot&&ot.disabled&&!we&&B!==""&&ot.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
  `))},[B,ot,we])}const At=tWt(R),Dt=Jt(),Ot=Mu(()=>{Dt.current!==void 0&&(document.body.style.WebkitUserSelect=Dt.current,Dt.current=void 0),ft.clear()});he(()=>Ot,[Ot]);const Ct=we=>{yU.clear(),Dw=!0,wt(!0),h&&!Tt&&h(we)},vt=Mu(we=>{yU.start(800+I,()=>{Dw=!1}),wt(!1),k&&Tt&&k(we),lt.start(Q.transitions.duration.shortest,()=>{ut.current=!1})}),St=we=>{ut.current&&we.type!=="touchstart"||(ot&&ot.removeAttribute("title"),ht.clear(),gt.clear(),P||Dw&&V?ht.start(Dw?V:P,()=>{Ct(we)}):Ct(we))},Mt=we=>{ht.clear(),gt.start(I,()=>{vt(we)})},{isFocusVisibleRef:Pt,onBlur:It,onFocus:Lt,ref:Ft}=u7(),[,Ht]=ce(!1),Vt=we=>{It(we),Pt.current===!1&&(Ht(!1),Mt(we))},Yt=we=>{ot||et(we.currentTarget),Lt(we),Pt.current===!0&&(Ht(!0),St(we))},te=we=>{ut.current=!0;const Fe=X.props;Fe.onTouchStart&&Fe.onTouchStart(we)},Xt=we=>{te(we),gt.clear(),lt.clear(),Ot(),Dt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ft.start(q,()=>{document.body.style.WebkitUserSelect=Dt.current,St(we)})},oe=we=>{X.props.onTouchEnd&&X.props.onTouchEnd(we),Ot(),gt.start(A,()=>{vt(we)})};he(()=>{if(!Tt)return;function we(Fe){(Fe.key==="Escape"||Fe.key==="Esc")&&vt(Fe)}return document.addEventListener("keydown",we),()=>{document.removeEventListener("keydown",we)}},[vt,Tt]);const pe=sa(X.ref,Ft,et,e);!B&&B!==0&&(Tt=!1);const se=Jt(),me=we=>{const Fe=X.props;Fe.onMouseMove&&Fe.onMouseMove(we),My={x:we.clientX,y:we.clientY},se.current&&se.current.update()},ve={},qe=typeof B=="string";p?(ve.title=!Tt&&qe&&!g?B:null,ve["aria-describedby"]=Tt?At:null):(ve["aria-label"]=qe?B:null,ve["aria-labelledby"]=Tt&&!qe?At:null);const ge=Kt({},ve,F,X.props,{className:Qe(F.className,X.props.className),onTouchStart:te,ref:pe},H?{onMouseMove:me}:{});process.env.NODE_ENV!=="production"&&(ge["data-mui-internal-clone-element"]=!0,he(()=>{ot&&!ot.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
  `))},[ot]));const De={};M||(ge.onTouchStart=Xt,ge.onTouchEnd=oe),g||(ge.onMouseOver=Lw(St,ge.onMouseOver),ge.onMouseLeave=Lw(Mt,ge.onMouseLeave),ct||(De.onMouseOver=St,De.onMouseLeave=Mt)),d||(ge.onFocus=Lw(Yt,ge.onFocus),ge.onBlur=Lw(Vt,ge.onBlur),ct||(De.onFocus=Yt,De.onBlur=Vt)),process.env.NODE_ENV!=="production"&&X.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${X.props.title}\` or the Tooltip component.`].join(`
436
- `));const tn=Ie(()=>{var we;let Fe=[{name:"arrow",enabled:!!nt,options:{element:nt,padding:4}}];return(we=z.popperOptions)!=null&&we.modifiers&&(Fe=Fe.concat(z.popperOptions.modifiers)),Kt({},z.popperOptions,{modifiers:Fe})},[nt,z]),Te=Kt({},$,{isRtl:it,arrow:O,disableInteractive:ct,placement:y,PopperComponentProp:v,touch:ut.current}),He=lGt(Te),on=(n=(r=x.popper)!=null?r:m.Popper)!=null?n:cGt,Hn=(i=(o=(a=x.transition)!=null?a:m.Transition)!=null?o:Z)!=null?i:my,ue=(s=(c=x.tooltip)!=null?c:m.Tooltip)!=null?s:uGt,Se=(l=(f=x.arrow)!=null?f:m.Arrow)!=null?l:dGt,Ve=gy(on,Kt({},z,(w=N.popper)!=null?w:C.popper,{className:Qe(He.popper,z==null?void 0:z.className,(u=(j=N.popper)!=null?j:C.popper)==null?void 0:u.className)}),Te),Ue=gy(Hn,Kt({},K,(S=N.transition)!=null?S:C.transition),Te),ar=gy(ue,Kt({},(b=N.tooltip)!=null?b:C.tooltip,{className:Qe(He.tooltip,(T=(W=N.tooltip)!=null?W:C.tooltip)==null?void 0:T.className)}),Te),Gn=gy(Se,Kt({},(G=N.arrow)!=null?G:C.arrow,{className:Qe(He.arrow,(Y=(U=N.arrow)!=null?U:C.arrow)==null?void 0:Y.className)}),Te);return yt(cn,{children:[Vn(X,ge),yt(on,Kt({as:v??ky,placement:y,anchorEl:H?{getBoundingClientRect:()=>({top:My.y,left:My.x,right:My.x,bottom:My.y,width:0,height:0})}:ot,popperRef:se,open:ot?Tt:!1,id:At,transition:!0},De,Ve,{popperOptions:tn,children:({TransitionProps:we})=>yt(Hn,Kt({timeout:Q.transitions.duration.shorter},we,Ue,{children:yt(ue,Kt({},ar,{children:[B,O?yt(Se,Kt({},Gn,{ref:rt})):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(Nw.propTypes={arrow:bt.bool,children:ap.isRequired,classes:bt.object,className:bt.string,components:bt.shape({Arrow:bt.elementType,Popper:bt.elementType,Tooltip:bt.elementType,Transition:bt.elementType}),componentsProps:bt.shape({arrow:bt.object,popper:bt.object,tooltip:bt.object,transition:bt.object}),describeChild:bt.bool,disableFocusListener:bt.bool,disableHoverListener:bt.bool,disableInteractive:bt.bool,disableTouchListener:bt.bool,enterDelay:bt.number,enterNextDelay:bt.number,enterTouchDelay:bt.number,followCursor:bt.bool,id:bt.string,leaveDelay:bt.number,leaveTouchDelay:bt.number,onClose:bt.func,onOpen:bt.func,open:bt.bool,placement:bt.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:bt.elementType,PopperProps:bt.object,slotProps:bt.shape({arrow:bt.object,popper:bt.object,tooltip:bt.object,transition:bt.object}),slots:bt.shape({arrow:bt.elementType,popper:bt.elementType,tooltip:bt.elementType,transition:bt.elementType}),sx:bt.oneOfType([bt.arrayOf(bt.oneOfType([bt.func,bt.object,bt.bool])),bt.func,bt.object]),title:bt.node,TransitionComponent:bt.elementType,TransitionProps:bt.object});const hGt=t=>hi(t)?"right":"left",bU=({displayValue:t,width:e,padding:n,ellipsizedLength:r,isHtml:i})=>{const o=t.length>r;return yt("div",{className:py.tableCellContent,style:{maxWidth:`${e-n}px`},children:i?yt("div",{dangerouslySetInnerHTML:{__html:t}}):o?yt(Nw,{title:t,children:yt("div",{children:t})}):yt("div",{children:t})})},pGt=({dataTable:t,dataOptions:e,isLoading:n,height:r,width:i,customStyles:o,themeSettings:a,onSortUpdate:s})=>{var c,l;const f=Jt(n),w=o&&o.showFieldTypeIcon!==void 0?o.showFieldTypeIcon:!0,u=jV+(w?$V:0),j=(o==null?void 0:o.paddingVertical)||RV,S=(o==null?void 0:o.paddingHorizontal)||RV,b=Ie(()=>e.columns.map(Y=>{var U,$;return zt({isHtml:(U=Y.isHtml)!=null?U:!1},(($=o==null?void 0:o.columns)==null?void 0:$.width)==="auto"?{width:(i-S*2)/e.columns.length-1/e.columns.length}:null)}),[e,i,(c=o==null?void 0:o.columns)==null?void 0:c.width,S]),[T,W]=ce(()=>{var Y;return XE(t,n,w,b,(Y=a.typography)==null?void 0:Y.fontFamily)});he(()=>{var Y;n!==f.current&&(n||W(XE(t,n,w,b,(Y=a.typography)==null?void 0:Y.fontFamily)),f.current=n)},[n,t,a,b,w]);const G=Jt(!1);return he(()=>{!G.current&&document.fonts&&(G.current=!0,document.fonts.ready.then(()=>{var Y;W(XE(t,n,w,b,(Y=a.typography)==null?void 0:Y.fontFamily))}).catch(Y=>{throw Y}))},[t,n,b,(l=a.typography)==null?void 0:l.fontFamily,w]),yt("div",{className:py.tableWrapper,style:{padding:`${j}px ${S}px`},children:yt(Sw.Table,{className:py.table,rowHeight:(o==null?void 0:o.rowHeight)||_Vt,rowsCount:t.rows.length,width:i-S*2,height:r-j*2,headerHeight:(o==null?void 0:o.headerHeight)||wVt,children:t.columns.map((Y,U)=>{var $;return T[U]?yt(Sw.Column,{maxWidth:qE,minWidth:qE,allowCellsRecycling:!0,width:T[U],header:yt(Sw.Cell,{className:cp(py.tableHeader),style:HV({isHeaderCell:!0,themeSettings:a,customStyles:o}),children:yt(xVt,{column:Y,onClick:s,isSelected:!!Math.abs(Y.direction),showFieldTypeIcon:w,sortIcon:(o==null?void 0:o.sortIcon)||"standard",children:bU({displayValue:($=e.columns[U].title)!=null?$:e.columns[U].name,width:T[U],padding:u,ellipsizedLength:CVt})})}),cell:O=>{var D=O,{rowIndex:m}=D,C=Vi(D,["rowIndex"]),p;return yt(Sw.Cell,ne(zt({className:cp(py.tableCell),style:HV({colIndex:U,rowIndex:m,themeSettings:a,customStyles:o})},C),{children:bU({displayValue:t.rows[m][U].displayValue,width:T[U],padding:zV,ellipsizedLength:kVt,isHtml:(p=e.columns[U].isHtml)!=null?p:!1})}))},align:hGt(t.columns[U].type)},`col${U}`):null})})})},fGt="_component_1rw9b_1",gGt={component:fGt},mGt=(t,e)=>{if(!t.columns.some(i=>hi(i.type)))return t;const n=t.columns,r=t.rows.map(i=>i.map((o,a)=>{const s=n[a].type,c=Yr(e.columns[a].numberFormatConfig);if(hi(s)){const l=Vf(o.displayValue,s);return{displayValue:ni(c,l.value),compareValue:l}}else return o}));return{columns:n,rows:r}},vGt=({dataTable:t,dataOptions:e,designOptions:n={},onSortUpdate:r,themeSettings:i,width:o=400,height:a=500})=>{const s=Jt(null),c=Jt(t),l=Ie(()=>{let w=t;const u=t.columns.find(j=>j.direction!==0);return u&&(w=Y2(t,[u])),mGt(w,e)},[t,e]);eo(()=>{c.current=t},[t]);const f=t!==c.current;return yt("div",{className:gGt.component,ref:s,children:yt(pGt,{dataTable:l,dataOptions:e,isLoading:f,onSortUpdate:r,height:a,width:o,customStyles:zt({sortIcon:"caret",showFieldTypeIcon:!1},n),themeSettings:i})})},yGt=t=>({"& .MuiPaginationItem-circular.Mui-selected":{color:t.chart.textColor},"& .MuiPaginationItem-circular":{color:t.chart.secondaryTextColor,fontFamily:t.typography.fontFamily}});var bGt=Object.prototype,xGt=bGt.hasOwnProperty;function wGt(t,e){return t!=null&&xGt.call(t,e)}var _Gt=wGt,SGt=_Gt,CGt=DB;function kGt(t,e){return t!=null&&CGt(t,e,SGt)}var MGt=kGt;const TGt=An(MGt);function AGt(t,e){for(const n of e)TGt(t,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 EGt=t=>(AGt(t,["headersColor","alternatingRowsColor","alternatingColumnsColor"]),{paddingVertical:t.paddingVertical,paddingHorizontal:t.paddingHorizontal,header:zt(zt({},t.headersColor?{color:{enabled:t.headersColor}}:null),t.header),rows:zt(zt({},t.alternatingRowsColor?{alternatingColor:{enabled:t.alternatingRowsColor}}:null),t.rows),columns:zt(zt({},t.alternatingColumnsColor?{alternatingColor:{enabled:t.alternatingColumnsColor}}:null),t.columns)}),OGt=25,PGt=10,xU=({dataSet:t,dataOptions:e,styleOptions:n={},filters:r})=>{const{rowsPerPage:i=OGt,width:o,height:a}=n,{themeSettings:s}=Kn(),[c,l]=ce(0),{filters:f,relations:w}=fc(r),[u,j]=ce(1),S=Jt(null),b=Ie(()=>i9(e),[e]),T=Ie(()=>KW(b.columns.filter(wu)),[b]),[W,G]=ce(b),[Y,U]=ce(t),[$,O]=TWt({dataSet:Y,dataOptions:W,filters:f,filterRelations:w,count:i*PGt,offset:c}),D=DWt({data:$,innerDataOptions:O,dataColumnNamesMapping:T,needToAggregate:!kf(Y)});he(()=>{G(b),U(t),j(1),l(0)},[t,b]);const m=Ne(p=>{$&&(Math.floor($.rows.length/i)===p&&l($.rows.length),j(p))},[$,i]),C=Ne(p=>{j(1),l(0),W&&G(OWt(W,p))},[W]);return O?yt(xd,{defaultSize:YA("table"),size:{width:o,height:a},children:p=>{if(!D)return yt(qA,{themeSettings:s});if(lLt(D))return yt(YW,{iconType:"table"});const d={columns:D.columns,rows:D.rows.slice((u-1)*i,u*i)},g=Math.ceil(D.rows.length/i),E=g>1?32:0;return yt("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",backgroundColor:s.chart.backgroundColor},"aria-label":"table-root",children:[yt(vGt,{dataTable:d,dataOptions:O,designOptions:EGt(n),themeSettings:s,width:p.width,height:p.height-E,onSortUpdate:C}),g>1&&yt(O7,{ref:S,page:u,count:g,onChange:(M,P)=>m(P),sx:yGt(s)})]})}}):null},$o=t=>{const{dataSet:e}=t;return!!e&&typeof e!="string"&&"rows"in e&&"columns"in e},lo=Qn({componentName:"Chart",shouldSkipSisenseContextWaiting:$o,customContextErrorMessageKey:"errors.chartNoSisenseContext"})(t=>{if(DGt(t))return yt(xU,zt({},t));if(LGt(t))return yt(G6t,zt({},t));throw new Cn("errors.chartInvalidProps")});function DGt(t){return t.chartType==="table"&&"columns"in t.dataOptions}function LGt(t){return t.chartType!=="table"}const wU="sdkHookInit",NGt=(t,e,n,r)=>{n&&J1(wU,{packageName:e,packageVersion:"1.15.0",hookName:t},n.httpClient).finally(r)};function IGt(t){const{app:e,tracking:n}=hr(),r=Jt(!1);he(()=>{if(e!=null&&e.httpClient&&!r.current){const i={packageName:n.packageName,packageVersion:"1.15.0",hookName:t};J1(wU,i,e.httpClient,!n.enabled).finally(()=>r.current=!0)}},[e,n,t])}const Eu=t=>e=>(...n)=>(IGt(t),e(...n));function RGt(t){return jGt(t.dataSet)}function jGt(t){return!!t&&typeof t!="string"&&"rows"in t&&"columns"in t}const _U=Qn({componentName:"Table",shouldSkipSisenseContextWaiting:RGt})(t=>yt(xU,zt({},t))),$Gt=25,zGt=10;function BGt(t){return ii("MuiDivider",t)}const SU=qr("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),FGt=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],HGt=t=>{const{absolute:e,children:n,classes:r,flexItem:i,light:o,orientation:a,textAlign:s,variant:c}=t;return fi({root:["root",e&&"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"]},BGt,r)},WGt=vn("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.absolute&&e.absolute,e[n.variant],n.light&&e.light,n.orientation==="vertical"&&e.vertical,n.flexItem&&e.flexItem,n.children&&e.withChildren,n.children&&n.orientation==="vertical"&&e.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&e.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&e.textAlignLeft]}})(({theme:t,ownerState:e})=>Kt({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},e.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},e.light&&{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:gi(t.palette.divider,.08)},e.variant==="inset"&&{marginLeft:72},e.variant==="middle"&&e.orientation==="horizontal"&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},e.variant==="middle"&&e.orientation==="vertical"&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},e.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},e.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:t})=>Kt({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:t,ownerState:e})=>Kt({},e.children&&e.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`}}),({theme:t,ownerState:e})=>Kt({},e.children&&e.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`}}),({ownerState:t})=>Kt({},t.textAlign==="right"&&t.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},t.textAlign==="left"&&t.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),VGt=vn("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.wrapper,n.orientation==="vertical"&&e.wrapperVertical]}})(({theme:t,ownerState:e})=>Kt({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`},e.orientation==="vertical"&&{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`})),Mg=Pe(function(t,e){const n=mi({props:t,name:"MuiDivider"}),{absolute:r=!1,children:i,className:o,component:a=i?"div":"hr",flexItem:s=!1,light:c=!1,orientation:l="horizontal",role:f=a!=="hr"?"separator":void 0,textAlign:w="center",variant:u="fullWidth"}=n,j=_n(n,FGt),S=Kt({},n,{absolute:r,component:a,flexItem:s,light:c,orientation:l,role:f,textAlign:w,variant:u}),b=HGt(S);return yt(WGt,Kt({as:a,className:Qe(b.root,o),role:f,ref:e,ownerState:S},j,{children:i?yt(VGt,{className:b.wrapper,ownerState:S,children:i}):null}))});Mg.muiSkipListHighlight=!0,process.env.NODE_ENV!=="production"&&(Mg.propTypes={absolute:bt.bool,children:bt.node,classes:bt.object,className:bt.string,component:bt.elementType,flexItem:bt.bool,light:bt.bool,orientation:bt.oneOf(["horizontal","vertical"]),role:bt.string,sx:bt.oneOfType([bt.arrayOf(bt.oneOfType([bt.func,bt.object,bt.bool])),bt.func,bt.object]),textAlign:bt.oneOf(["center","left","right"]),variant:bt.oneOfType([bt.oneOf(["fullWidth","inset","middle"]),bt.string])});function UGt(t){return ii("MuiListSubheader",t)}qr("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const GGt=["className","color","component","disableGutters","disableSticky","inset"],YGt=t=>{const{classes:e,color:n,disableGutters:r,inset:i,disableSticky:o}=t,a={root:["root",n!=="default"&&`color${kn(n)}`,!r&&"gutters",i&&"inset",!o&&"sticky"]};return fi(a,UGt,e)},qGt=vn("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="default"&&e[`color${kn(n.color)}`],!n.disableGutters&&e.gutters,n.inset&&e.inset,!n.disableSticky&&e.sticky]}})(({theme:t,ownerState:e})=>Kt({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(t.vars||t).palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14)},e.color==="primary"&&{color:(t.vars||t).palette.primary.main},e.color==="inherit"&&{color:"inherit"},!e.disableGutters&&{paddingLeft:16,paddingRight:16},e.inset&&{paddingLeft:72},!e.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(t.vars||t).palette.background.paper})),lO=Pe(function(t,e){const n=mi({props:t,name:"MuiListSubheader"}),{className:r,color:i="default",component:o="li",disableGutters:a=!1,disableSticky:s=!1,inset:c=!1}=n,l=_n(n,GGt),f=Kt({},n,{color:i,component:o,disableGutters:a,disableSticky:s,inset:c}),w=YGt(f);return yt(qGt,Kt({as:o,className:Qe(w.root,r),ref:e,ownerState:f},l))});lO.muiSkipListHighlight=!0,process.env.NODE_ENV!=="production"&&(lO.propTypes={children:bt.node,classes:bt.object,className:bt.string,color:bt.oneOf(["default","inherit","primary"]),component:bt.elementType,disableGutters:bt.bool,disableSticky:bt.bool,inset:bt.bool,sx:bt.oneOfType([bt.arrayOf(bt.oneOfType([bt.func,bt.object,bt.bool])),bt.func,bt.object])});const Iw=sr({});process.env.NODE_ENV!=="production"&&(Iw.displayName="ListContext");function XGt(t){return ii("MuiList",t)}qr("MuiList",["root","padding","dense","subheader"]);const ZGt=["children","className","component","dense","disablePadding","subheader"],JGt=t=>{const{classes:e,disablePadding:n,dense:r,subheader:i}=t;return fi({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},XGt,e)},KGt=vn("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disablePadding&&e.padding,n.dense&&e.dense,n.subheader&&e.subheader]}})(({ownerState:t})=>Kt({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})),CU=Pe(function(t,e){const n=mi({props:t,name:"MuiList"}),{children:r,className:i,component:o="ul",dense:a=!1,disablePadding:s=!1,subheader:c}=n,l=_n(n,ZGt),f=Ie(()=>({dense:a}),[a]),w=Kt({},n,{component:o,dense:a,disablePadding:s}),u=JGt(w);return yt(Iw.Provider,{value:f,children:yt(KGt,Kt({as:o,className:Qe(u.root,i),ref:e,ownerState:w},l,{children:[c,r]}))})});process.env.NODE_ENV!=="production"&&(CU.propTypes={children:bt.node,classes:bt.object,className:bt.string,component:bt.elementType,dense:bt.bool,disablePadding:bt.bool,subheader:bt.node,sx:bt.oneOfType([bt.arrayOf(bt.oneOfType([bt.func,bt.object,bt.bool])),bt.func,bt.object])});const QGt=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function cO(t,e,n){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:n?null:t.firstChild}function kU(t,e,n){return t===e?n?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:n?null:t.lastChild}function MU(t,e){if(e===void 0)return!0;let n=t.innerText;return n===void 0&&(n=t.textContent),n=n.trim().toLowerCase(),n.length===0?!1:e.repeating?n[0]===e.keys[0]:n.indexOf(e.keys.join(""))===0}function Ty(t,e,n,r,i,o){let a=!1,s=i(t,e,e?n:!1);for(;s;){if(s===t.firstChild){if(a)return!1;a=!0}const c=r?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!MU(s,o)||c)s=i(t,s,n);else return s.focus(),!0}return!1}const uO=Pe(function(t,e){const{actions:n,autoFocus:r=!1,autoFocusItem:i=!1,children:o,className:a,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:l,variant:f="selectedMenu"}=t,w=_n(t,QGt),u=Jt(null),j=Jt({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});np(()=>{r&&u.current.focus()},[r]),vo(n,()=>({adjustStyleForScrollbar:(G,{direction:Y})=>{const U=!u.current.style.width;if(G.clientHeight<u.current.clientHeight&&U){const $=`${v7(_o(G))}px`;u.current.style[Y==="rtl"?"paddingLeft":"paddingRight"]=$,u.current.style.width=`calc(100% + ${$})`}return u.current}}),[]);const S=G=>{const Y=u.current,U=G.key,$=_o(Y).activeElement;if(U==="ArrowDown")G.preventDefault(),Ty(Y,$,c,s,cO);else if(U==="ArrowUp")G.preventDefault(),Ty(Y,$,c,s,kU);else if(U==="Home")G.preventDefault(),Ty(Y,null,c,s,cO);else if(U==="End")G.preventDefault(),Ty(Y,null,c,s,kU);else if(U.length===1){const O=j.current,D=U.toLowerCase(),m=performance.now();O.keys.length>0&&(m-O.lastTime>500?(O.keys=[],O.repeating=!0,O.previousKeyMatched=!0):O.repeating&&D!==O.keys[0]&&(O.repeating=!1)),O.lastTime=m,O.keys.push(D);const C=$&&!O.repeating&&MU($,O);O.previousKeyMatched&&(C||Ty(Y,$,!1,s,cO,O))?G.preventDefault():O.previousKeyMatched=!1}l&&l(G)},b=sa(u,e);let T=-1;Qo.forEach(o,(G,Y)=>{if(!cr(G)){T===Y&&(T+=1,T>=o.length&&(T=-1));return}process.env.NODE_ENV!=="production"&&ay.isFragment(G)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
436
+ `));const tn=Ie(()=>{var we;let Fe=[{name:"arrow",enabled:!!nt,options:{element:nt,padding:4}}];return(we=z.popperOptions)!=null&&we.modifiers&&(Fe=Fe.concat(z.popperOptions.modifiers)),Kt({},z.popperOptions,{modifiers:Fe})},[nt,z]),Te=Kt({},$,{isRtl:it,arrow:O,disableInteractive:ct,placement:y,PopperComponentProp:v,touch:ut.current}),He=lGt(Te),on=(n=(r=x.popper)!=null?r:m.Popper)!=null?n:cGt,Hn=(i=(o=(a=x.transition)!=null?a:m.Transition)!=null?o:Z)!=null?i:my,ue=(s=(c=x.tooltip)!=null?c:m.Tooltip)!=null?s:uGt,Se=(l=(f=x.arrow)!=null?f:m.Arrow)!=null?l:dGt,Ve=gy(on,Kt({},z,(w=N.popper)!=null?w:C.popper,{className:Qe(He.popper,z==null?void 0:z.className,(u=(j=N.popper)!=null?j:C.popper)==null?void 0:u.className)}),Te),Ue=gy(Hn,Kt({},K,(S=N.transition)!=null?S:C.transition),Te),ar=gy(ue,Kt({},(b=N.tooltip)!=null?b:C.tooltip,{className:Qe(He.tooltip,(T=(W=N.tooltip)!=null?W:C.tooltip)==null?void 0:T.className)}),Te),Gn=gy(Se,Kt({},(G=N.arrow)!=null?G:C.arrow,{className:Qe(He.arrow,(Y=(U=N.arrow)!=null?U:C.arrow)==null?void 0:Y.className)}),Te);return yt(cn,{children:[Vn(X,ge),yt(on,Kt({as:v??ky,placement:y,anchorEl:H?{getBoundingClientRect:()=>({top:My.y,left:My.x,right:My.x,bottom:My.y,width:0,height:0})}:ot,popperRef:se,open:ot?Tt:!1,id:At,transition:!0},De,Ve,{popperOptions:tn,children:({TransitionProps:we})=>yt(Hn,Kt({timeout:Q.transitions.duration.shorter},we,Ue,{children:yt(ue,Kt({},ar,{children:[B,O?yt(Se,Kt({},Gn,{ref:rt})):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(Nw.propTypes={arrow:bt.bool,children:ap.isRequired,classes:bt.object,className:bt.string,components:bt.shape({Arrow:bt.elementType,Popper:bt.elementType,Tooltip:bt.elementType,Transition:bt.elementType}),componentsProps:bt.shape({arrow:bt.object,popper:bt.object,tooltip:bt.object,transition:bt.object}),describeChild:bt.bool,disableFocusListener:bt.bool,disableHoverListener:bt.bool,disableInteractive:bt.bool,disableTouchListener:bt.bool,enterDelay:bt.number,enterNextDelay:bt.number,enterTouchDelay:bt.number,followCursor:bt.bool,id:bt.string,leaveDelay:bt.number,leaveTouchDelay:bt.number,onClose:bt.func,onOpen:bt.func,open:bt.bool,placement:bt.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:bt.elementType,PopperProps:bt.object,slotProps:bt.shape({arrow:bt.object,popper:bt.object,tooltip:bt.object,transition:bt.object}),slots:bt.shape({arrow:bt.elementType,popper:bt.elementType,tooltip:bt.elementType,transition:bt.elementType}),sx:bt.oneOfType([bt.arrayOf(bt.oneOfType([bt.func,bt.object,bt.bool])),bt.func,bt.object]),title:bt.node,TransitionComponent:bt.elementType,TransitionProps:bt.object});const hGt=t=>hi(t)?"right":"left",bU=({displayValue:t,width:e,padding:n,ellipsizedLength:r,isHtml:i})=>{const o=t.length>r;return yt("div",{className:py.tableCellContent,style:{maxWidth:`${e-n}px`},children:i?yt("div",{dangerouslySetInnerHTML:{__html:t}}):o?yt(Nw,{title:t,children:yt("div",{children:t})}):yt("div",{children:t})})},pGt=({dataTable:t,dataOptions:e,isLoading:n,height:r,width:i,customStyles:o,themeSettings:a,onSortUpdate:s})=>{var c,l;const f=Jt(n),w=o&&o.showFieldTypeIcon!==void 0?o.showFieldTypeIcon:!0,u=jV+(w?$V:0),j=(o==null?void 0:o.paddingVertical)||RV,S=(o==null?void 0:o.paddingHorizontal)||RV,b=Ie(()=>e.columns.map(Y=>{var U,$;return zt({isHtml:(U=Y.isHtml)!=null?U:!1},(($=o==null?void 0:o.columns)==null?void 0:$.width)==="auto"?{width:(i-S*2)/e.columns.length-1/e.columns.length}:null)}),[e,i,(c=o==null?void 0:o.columns)==null?void 0:c.width,S]),[T,W]=ce(()=>{var Y;return XE(t,n,w,b,(Y=a.typography)==null?void 0:Y.fontFamily)});he(()=>{var Y;n!==f.current&&(n||W(XE(t,n,w,b,(Y=a.typography)==null?void 0:Y.fontFamily)),f.current=n)},[n,t,a,b,w]);const G=Jt(!1);return he(()=>{!G.current&&document.fonts&&(G.current=!0,document.fonts.ready.then(()=>{var Y;W(XE(t,n,w,b,(Y=a.typography)==null?void 0:Y.fontFamily))}).catch(Y=>{throw Y}))},[t,n,b,(l=a.typography)==null?void 0:l.fontFamily,w]),yt("div",{className:py.tableWrapper,style:{padding:`${j}px ${S}px`},children:yt(Sw.Table,{className:py.table,rowHeight:(o==null?void 0:o.rowHeight)||_Vt,rowsCount:t.rows.length,width:i-S*2,height:r-j*2,headerHeight:(o==null?void 0:o.headerHeight)||wVt,children:t.columns.map((Y,U)=>{var $;return T[U]?yt(Sw.Column,{maxWidth:qE,minWidth:qE,allowCellsRecycling:!0,width:T[U],header:yt(Sw.Cell,{className:cp(py.tableHeader),style:HV({isHeaderCell:!0,themeSettings:a,customStyles:o}),children:yt(xVt,{column:Y,onClick:s,isSelected:!!Math.abs(Y.direction),showFieldTypeIcon:w,sortIcon:(o==null?void 0:o.sortIcon)||"standard",children:bU({displayValue:($=e.columns[U].title)!=null?$:e.columns[U].name,width:T[U],padding:u,ellipsizedLength:CVt})})}),cell:O=>{var D=O,{rowIndex:m}=D,C=Vi(D,["rowIndex"]),p;return yt(Sw.Cell,ne(zt({className:cp(py.tableCell),style:HV({colIndex:U,rowIndex:m,themeSettings:a,customStyles:o})},C),{children:bU({displayValue:t.rows[m][U].displayValue,width:T[U],padding:zV,ellipsizedLength:kVt,isHtml:(p=e.columns[U].isHtml)!=null?p:!1})}))},align:hGt(t.columns[U].type)},`col${U}`):null})})})},fGt="_component_1rw9b_1",gGt={component:fGt},mGt=(t,e)=>{if(!t.columns.some(i=>hi(i.type)))return t;const n=t.columns,r=t.rows.map(i=>i.map((o,a)=>{const s=n[a].type,c=Yr(e.columns[a].numberFormatConfig);if(hi(s)){const l=Vf(o.displayValue,s);return{displayValue:ni(c,l.value),compareValue:l}}else return o}));return{columns:n,rows:r}},vGt=({dataTable:t,dataOptions:e,designOptions:n={},onSortUpdate:r,themeSettings:i,width:o=400,height:a=500})=>{const s=Jt(null),c=Jt(t),l=Ie(()=>{let w=t;const u=t.columns.find(j=>j.direction!==0);return u&&(w=Y2(t,[u])),mGt(w,e)},[t,e]);eo(()=>{c.current=t},[t]);const f=t!==c.current;return yt("div",{className:gGt.component,ref:s,children:yt(pGt,{dataTable:l,dataOptions:e,isLoading:f,onSortUpdate:r,height:a,width:o,customStyles:zt({sortIcon:"caret",showFieldTypeIcon:!1},n),themeSettings:i})})},yGt=t=>({"& .MuiPaginationItem-circular.Mui-selected":{color:t.chart.textColor},"& .MuiPaginationItem-circular":{color:t.chart.secondaryTextColor,fontFamily:t.typography.fontFamily}});var bGt=Object.prototype,xGt=bGt.hasOwnProperty;function wGt(t,e){return t!=null&&xGt.call(t,e)}var _Gt=wGt,SGt=_Gt,CGt=DB;function kGt(t,e){return t!=null&&CGt(t,e,SGt)}var MGt=kGt;const TGt=An(MGt);function AGt(t,e){for(const n of e)TGt(t,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 EGt=t=>(AGt(t,["headersColor","alternatingRowsColor","alternatingColumnsColor"]),{paddingVertical:t.paddingVertical,paddingHorizontal:t.paddingHorizontal,header:zt(zt({},t.headersColor?{color:{enabled:t.headersColor}}:null),t.header),rows:zt(zt({},t.alternatingRowsColor?{alternatingColor:{enabled:t.alternatingRowsColor}}:null),t.rows),columns:zt(zt({},t.alternatingColumnsColor?{alternatingColor:{enabled:t.alternatingColumnsColor}}:null),t.columns)}),OGt=25,PGt=10,xU=({dataSet:t,dataOptions:e,styleOptions:n={},filters:r})=>{const{rowsPerPage:i=OGt,width:o,height:a}=n,{themeSettings:s}=Kn(),[c,l]=ce(0),{filters:f,relations:w}=fc(r),[u,j]=ce(1),S=Jt(null),b=Ie(()=>i9(e),[e]),T=Ie(()=>KW(b.columns.filter(wu)),[b]),[W,G]=ce(b),[Y,U]=ce(t),[$,O]=TWt({dataSet:Y,dataOptions:W,filters:f,filterRelations:w,count:i*PGt,offset:c}),D=DWt({data:$,innerDataOptions:O,dataColumnNamesMapping:T,needToAggregate:!kf(Y)});he(()=>{G(b),U(t),j(1),l(0)},[t,b]);const m=Ne(p=>{$&&(Math.floor($.rows.length/i)===p&&l($.rows.length),j(p))},[$,i]),C=Ne(p=>{j(1),l(0),W&&G(OWt(W,p))},[W]);return O?yt(xd,{defaultSize:YA("table"),size:{width:o,height:a},children:p=>{if(!D)return yt(qA,{themeSettings:s});if(lLt(D))return yt(YW,{iconType:"table"});const d={columns:D.columns,rows:D.rows.slice((u-1)*i,u*i)},g=Math.ceil(D.rows.length/i),E=g>1?32:0;return yt("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",backgroundColor:s.chart.backgroundColor},"aria-label":"table-root",children:[yt(vGt,{dataTable:d,dataOptions:O,designOptions:EGt(n),themeSettings:s,width:p.width,height:p.height-E,onSortUpdate:C}),g>1&&yt(O7,{ref:S,page:u,count:g,onChange:(M,P)=>m(P),sx:yGt(s)})]})}}):null},$o=t=>{const{dataSet:e}=t;return!!e&&typeof e!="string"&&"rows"in e&&"columns"in e},lo=Qn({componentName:"Chart",shouldSkipSisenseContextWaiting:$o,customContextErrorMessageKey:"errors.chartNoSisenseContext"})(t=>{if(DGt(t))return yt(xU,zt({},t));if(LGt(t))return yt(G6t,zt({},t));throw new Cn("errors.chartInvalidProps")});function DGt(t){return t.chartType==="table"&&"columns"in t.dataOptions}function LGt(t){return t.chartType!=="table"}const wU="sdkHookInit",NGt=(t,e,n,r)=>{n&&J1(wU,{packageName:e,packageVersion:"1.15.1",hookName:t},n.httpClient).finally(r)};function IGt(t){const{app:e,tracking:n}=hr(),r=Jt(!1);he(()=>{if(e!=null&&e.httpClient&&!r.current){const i={packageName:n.packageName,packageVersion:"1.15.1",hookName:t};J1(wU,i,e.httpClient,!n.enabled).finally(()=>r.current=!0)}},[e,n,t])}const Eu=t=>e=>(...n)=>(IGt(t),e(...n));function RGt(t){return jGt(t.dataSet)}function jGt(t){return!!t&&typeof t!="string"&&"rows"in t&&"columns"in t}const _U=Qn({componentName:"Table",shouldSkipSisenseContextWaiting:RGt})(t=>yt(xU,zt({},t))),$Gt=25,zGt=10;function BGt(t){return ii("MuiDivider",t)}const SU=qr("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),FGt=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],HGt=t=>{const{absolute:e,children:n,classes:r,flexItem:i,light:o,orientation:a,textAlign:s,variant:c}=t;return fi({root:["root",e&&"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"]},BGt,r)},WGt=vn("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.absolute&&e.absolute,e[n.variant],n.light&&e.light,n.orientation==="vertical"&&e.vertical,n.flexItem&&e.flexItem,n.children&&e.withChildren,n.children&&n.orientation==="vertical"&&e.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&e.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&e.textAlignLeft]}})(({theme:t,ownerState:e})=>Kt({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},e.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},e.light&&{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:gi(t.palette.divider,.08)},e.variant==="inset"&&{marginLeft:72},e.variant==="middle"&&e.orientation==="horizontal"&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},e.variant==="middle"&&e.orientation==="vertical"&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},e.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},e.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:t})=>Kt({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:t,ownerState:e})=>Kt({},e.children&&e.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`}}),({theme:t,ownerState:e})=>Kt({},e.children&&e.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`}}),({ownerState:t})=>Kt({},t.textAlign==="right"&&t.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},t.textAlign==="left"&&t.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),VGt=vn("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.wrapper,n.orientation==="vertical"&&e.wrapperVertical]}})(({theme:t,ownerState:e})=>Kt({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`},e.orientation==="vertical"&&{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`})),Mg=Pe(function(t,e){const n=mi({props:t,name:"MuiDivider"}),{absolute:r=!1,children:i,className:o,component:a=i?"div":"hr",flexItem:s=!1,light:c=!1,orientation:l="horizontal",role:f=a!=="hr"?"separator":void 0,textAlign:w="center",variant:u="fullWidth"}=n,j=_n(n,FGt),S=Kt({},n,{absolute:r,component:a,flexItem:s,light:c,orientation:l,role:f,textAlign:w,variant:u}),b=HGt(S);return yt(WGt,Kt({as:a,className:Qe(b.root,o),role:f,ref:e,ownerState:S},j,{children:i?yt(VGt,{className:b.wrapper,ownerState:S,children:i}):null}))});Mg.muiSkipListHighlight=!0,process.env.NODE_ENV!=="production"&&(Mg.propTypes={absolute:bt.bool,children:bt.node,classes:bt.object,className:bt.string,component:bt.elementType,flexItem:bt.bool,light:bt.bool,orientation:bt.oneOf(["horizontal","vertical"]),role:bt.string,sx:bt.oneOfType([bt.arrayOf(bt.oneOfType([bt.func,bt.object,bt.bool])),bt.func,bt.object]),textAlign:bt.oneOf(["center","left","right"]),variant:bt.oneOfType([bt.oneOf(["fullWidth","inset","middle"]),bt.string])});function UGt(t){return ii("MuiListSubheader",t)}qr("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const GGt=["className","color","component","disableGutters","disableSticky","inset"],YGt=t=>{const{classes:e,color:n,disableGutters:r,inset:i,disableSticky:o}=t,a={root:["root",n!=="default"&&`color${kn(n)}`,!r&&"gutters",i&&"inset",!o&&"sticky"]};return fi(a,UGt,e)},qGt=vn("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="default"&&e[`color${kn(n.color)}`],!n.disableGutters&&e.gutters,n.inset&&e.inset,!n.disableSticky&&e.sticky]}})(({theme:t,ownerState:e})=>Kt({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(t.vars||t).palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14)},e.color==="primary"&&{color:(t.vars||t).palette.primary.main},e.color==="inherit"&&{color:"inherit"},!e.disableGutters&&{paddingLeft:16,paddingRight:16},e.inset&&{paddingLeft:72},!e.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(t.vars||t).palette.background.paper})),lO=Pe(function(t,e){const n=mi({props:t,name:"MuiListSubheader"}),{className:r,color:i="default",component:o="li",disableGutters:a=!1,disableSticky:s=!1,inset:c=!1}=n,l=_n(n,GGt),f=Kt({},n,{color:i,component:o,disableGutters:a,disableSticky:s,inset:c}),w=YGt(f);return yt(qGt,Kt({as:o,className:Qe(w.root,r),ref:e,ownerState:f},l))});lO.muiSkipListHighlight=!0,process.env.NODE_ENV!=="production"&&(lO.propTypes={children:bt.node,classes:bt.object,className:bt.string,color:bt.oneOf(["default","inherit","primary"]),component:bt.elementType,disableGutters:bt.bool,disableSticky:bt.bool,inset:bt.bool,sx:bt.oneOfType([bt.arrayOf(bt.oneOfType([bt.func,bt.object,bt.bool])),bt.func,bt.object])});const Iw=sr({});process.env.NODE_ENV!=="production"&&(Iw.displayName="ListContext");function XGt(t){return ii("MuiList",t)}qr("MuiList",["root","padding","dense","subheader"]);const ZGt=["children","className","component","dense","disablePadding","subheader"],JGt=t=>{const{classes:e,disablePadding:n,dense:r,subheader:i}=t;return fi({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},XGt,e)},KGt=vn("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disablePadding&&e.padding,n.dense&&e.dense,n.subheader&&e.subheader]}})(({ownerState:t})=>Kt({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})),CU=Pe(function(t,e){const n=mi({props:t,name:"MuiList"}),{children:r,className:i,component:o="ul",dense:a=!1,disablePadding:s=!1,subheader:c}=n,l=_n(n,ZGt),f=Ie(()=>({dense:a}),[a]),w=Kt({},n,{component:o,dense:a,disablePadding:s}),u=JGt(w);return yt(Iw.Provider,{value:f,children:yt(KGt,Kt({as:o,className:Qe(u.root,i),ref:e,ownerState:w},l,{children:[c,r]}))})});process.env.NODE_ENV!=="production"&&(CU.propTypes={children:bt.node,classes:bt.object,className:bt.string,component:bt.elementType,dense:bt.bool,disablePadding:bt.bool,subheader:bt.node,sx:bt.oneOfType([bt.arrayOf(bt.oneOfType([bt.func,bt.object,bt.bool])),bt.func,bt.object])});const QGt=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function cO(t,e,n){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:n?null:t.firstChild}function kU(t,e,n){return t===e?n?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:n?null:t.lastChild}function MU(t,e){if(e===void 0)return!0;let n=t.innerText;return n===void 0&&(n=t.textContent),n=n.trim().toLowerCase(),n.length===0?!1:e.repeating?n[0]===e.keys[0]:n.indexOf(e.keys.join(""))===0}function Ty(t,e,n,r,i,o){let a=!1,s=i(t,e,e?n:!1);for(;s;){if(s===t.firstChild){if(a)return!1;a=!0}const c=r?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!MU(s,o)||c)s=i(t,s,n);else return s.focus(),!0}return!1}const uO=Pe(function(t,e){const{actions:n,autoFocus:r=!1,autoFocusItem:i=!1,children:o,className:a,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:l,variant:f="selectedMenu"}=t,w=_n(t,QGt),u=Jt(null),j=Jt({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});np(()=>{r&&u.current.focus()},[r]),vo(n,()=>({adjustStyleForScrollbar:(G,{direction:Y})=>{const U=!u.current.style.width;if(G.clientHeight<u.current.clientHeight&&U){const $=`${v7(_o(G))}px`;u.current.style[Y==="rtl"?"paddingLeft":"paddingRight"]=$,u.current.style.width=`calc(100% + ${$})`}return u.current}}),[]);const S=G=>{const Y=u.current,U=G.key,$=_o(Y).activeElement;if(U==="ArrowDown")G.preventDefault(),Ty(Y,$,c,s,cO);else if(U==="ArrowUp")G.preventDefault(),Ty(Y,$,c,s,kU);else if(U==="Home")G.preventDefault(),Ty(Y,null,c,s,cO);else if(U==="End")G.preventDefault(),Ty(Y,null,c,s,kU);else if(U.length===1){const O=j.current,D=U.toLowerCase(),m=performance.now();O.keys.length>0&&(m-O.lastTime>500?(O.keys=[],O.repeating=!0,O.previousKeyMatched=!0):O.repeating&&D!==O.keys[0]&&(O.repeating=!1)),O.lastTime=m,O.keys.push(D);const C=$&&!O.repeating&&MU($,O);O.previousKeyMatched&&(C||Ty(Y,$,!1,s,cO,O))?G.preventDefault():O.previousKeyMatched=!1}l&&l(G)},b=sa(u,e);let T=-1;Qo.forEach(o,(G,Y)=>{if(!cr(G)){T===Y&&(T+=1,T>=o.length&&(T=-1));return}process.env.NODE_ENV!=="production"&&ay.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||(f==="selectedMenu"&&G.props.selected||T===-1)&&(T=Y),T===Y&&(G.props.disabled||G.props.muiSkipListHighlight||G.type.muiSkipListHighlight)&&(T+=1,T>=o.length&&(T=-1))});const W=Qo.map(o,(G,Y)=>{if(Y===T){const U={};return i&&(U.autoFocus=!0),G.props.tabIndex===void 0&&f==="selectedMenu"&&(U.tabIndex=0),Vn(G,U)}return G});return yt(CU,Kt({role:"menu",ref:b,className:a,onKeyDown:S,tabIndex:r?0:-1},w,{children:W}))});process.env.NODE_ENV!=="production"&&(uO.propTypes={autoFocus:bt.bool,autoFocusItem:bt.bool,children:bt.node,className:bt.string,disabledItemsFocusable:bt.bool,disableListWrap:bt.bool,onKeyDown:bt.func,variant:bt.oneOf(["menu","selectedMenu"])});function tYt(t){const e=_o(t);return e.body===t?cy(t).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}function Ay(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function TU(t){return parseInt(cy(t).getComputedStyle(t).paddingRight,10)||0}function eYt(t){const e=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(t.tagName)!==-1,n=t.tagName==="INPUT"&&t.getAttribute("type")==="hidden";return e||n}function AU(t,e,n,r,i){const o=[e,n,...r];[].forEach.call(t.children,a=>{const s=o.indexOf(a)===-1,c=!eYt(a);s&&c&&Ay(a,i)})}function dO(t,e){let n=-1;return t.some((r,i)=>e(r)?(n=i,!0):!1),n}function nYt(t,e){const n=[],r=t.container;if(!e.disableScrollLock){if(tYt(r)){const o=v7(_o(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${TU(r)+o}px`;const a=_o(r).querySelectorAll(".mui-fixed");[].forEach.call(a,s=>{n.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${TU(s)+o}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=_o(r).body;else{const o=r.parentElement,a=cy(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 rYt(t){const e=[];return[].forEach.call(t.children,n=>{n.getAttribute("aria-hidden")==="true"&&e.push(n)}),e}let iYt=class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,n){let r=this.modals.indexOf(e);if(r!==-1)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&Ay(e.modalRef,!1);const i=rYt(n);AU(n,e.mount,e.modalRef,i,!0);const o=dO(this.containers,a=>a.container===n);return o!==-1?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:n,restore:null,hiddenSiblings:i}),r)}mount(e,n){const r=dO(this.containers,o=>o.modals.indexOf(e)!==-1),i=this.containers[r];i.restore||(i.restore=nYt(i,n))}remove(e,n=!0){const r=this.modals.indexOf(e);if(r===-1)return r;const i=dO(this.containers,a=>a.modals.indexOf(e)!==-1),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),o.modals.length===0)o.restore&&o.restore(),e.modalRef&&Ay(e.modalRef,n),AU(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const a=o.modals[o.modals.length-1];a.modalRef&&Ay(a.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function oYt(t){return typeof t=="function"?t():t}function aYt(t){return t?t.props.hasOwnProperty("in"):!1}const sYt=new iYt;function lYt(t){const{container:e,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=sYt,closeAfterTransition:o=!1,onTransitionEnter:a,onTransitionExited:s,children:c,onClose:l,open:f,rootRef:w}=t,u=Jt({}),j=Jt(null),S=Jt(null),b=sa(S,w),[T,W]=ce(!f),G=aYt(c);let Y=!0;(t["aria-hidden"]==="false"||t["aria-hidden"]===!1)&&(Y=!1);const U=()=>_o(j.current),$=()=>(u.current.modalRef=S.current,u.current.mount=j.current,u.current),O=()=>{i.mount($(),{disableScrollLock:r}),S.current&&(S.current.scrollTop=0)},D=Mu(()=>{const E=oYt(e)||U().body;i.add($(),E),S.current&&O()}),m=Ne(()=>i.isTopModal($()),[i]),C=Mu(E=>{j.current=E,E&&(f&&m()?O():S.current&&Ay(S.current,Y))}),p=Ne(()=>{i.remove($(),Y)},[Y,i]);he(()=>()=>{p()},[p]),he(()=>{f?D():(!G||!o)&&p()},[f,p,G,o,D]);const d=E=>M=>{var P;(P=E.onKeyDown)==null||P.call(E,M),!(M.key!=="Escape"||M.which===229||!m())&&(n||(M.stopPropagation(),l&&l(M,"escapeKeyDown")))},g=E=>M=>{var P;(P=E.onClick)==null||P.call(E,M),M.target===M.currentTarget&&l&&l(M,"backdropClick")};return{getRootProps:(E={})=>{const M=UV(t);delete M.onTransitionEnter,delete M.onTransitionExited;const P=Kt({},M,E);return Kt({role:"presentation"},P,{onKeyDown:d(P),ref:b})},getBackdropProps:(E={})=>{const M=E;return Kt({"aria-hidden":!0},M,{onClick:g(M),open:f})},getTransitionProps:()=>{const E=()=>{W(!1),a&&a()},M=()=>{W(!0),s&&s(),o&&p()};return{onEnter:f7(E,c==null?void 0:c.props.onEnter),onExited:f7(M,c==null?void 0:c.props.onExited)}},rootRef:b,portalRef:C,isTopModal:m,exited:T,hasTransition:G}}const cYt=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function uYt(t){const e=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(e)?t.contentEditable==="true"||(t.nodeName==="AUDIO"||t.nodeName==="VIDEO"||t.nodeName==="DETAILS")&&t.getAttribute("tabindex")===null?0:t.tabIndex:e}function dYt(t){if(t.tagName!=="INPUT"||t.type!=="radio"||!t.name)return!1;const e=r=>t.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=e(`[name="${t.name}"]:checked`);return n||(n=e(`[name="${t.name}"]`)),n!==t}function hYt(t){return!(t.disabled||t.tagName==="INPUT"&&t.type==="hidden"||dYt(t))}function pYt(t){const e=[],n=[];return Array.from(t.querySelectorAll(cYt)).forEach((r,i)=>{const o=uYt(r);o===-1||!hYt(r)||(o===0?e.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(e)}function fYt(){return!0}function Rw(t){const{children:e,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=pYt,isEnabled:a=fYt,open:s}=t,c=Jt(!1),l=Jt(null),f=Jt(null),w=Jt(null),u=Jt(null),j=Jt(!1),S=Jt(null),b=sa(e.ref,S),T=Jt(null);he(()=>{!s||!S.current||(j.current=!n)},[n,s]),he(()=>{if(!s||!S.current)return;const Y=_o(S.current);return S.current.contains(Y.activeElement)||(S.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
  `)),S.current.setAttribute("tabIndex","-1")),j.current&&S.current.focus()),()=>{i||(w.current&&w.current.focus&&(c.current=!0,w.current.focus()),w.current=null)}},[s]),he(()=>{if(!s||!S.current)return;const Y=_o(S.current),U=D=>{T.current=D,!(r||!a()||D.key!=="Tab")&&Y.activeElement===S.current&&D.shiftKey&&(c.current=!0,f.current&&f.current.focus())},$=()=>{const D=S.current;if(D===null)return;if(!Y.hasFocus()||!a()||c.current){c.current=!1;return}if(D.contains(Y.activeElement)||r&&Y.activeElement!==l.current&&Y.activeElement!==f.current)return;if(Y.activeElement!==u.current)u.current=null;else if(u.current!==null)return;if(!j.current)return;let m=[];if((Y.activeElement===l.current||Y.activeElement===f.current)&&(m=o(S.current)),m.length>0){var C,p;const d=!!((C=T.current)!=null&&C.shiftKey&&((p=T.current)==null?void 0:p.key)==="Tab"),g=m[0],E=m[m.length-1];typeof g!="string"&&typeof E!="string"&&(d?E.focus():g.focus())}else D.focus()};Y.addEventListener("focusin",$),Y.addEventListener("keydown",U,!0);const O=setInterval(()=>{Y.activeElement&&Y.activeElement.tagName==="BODY"&&$()},50);return()=>{clearInterval(O),Y.removeEventListener("focusin",$),Y.removeEventListener("keydown",U,!0)}},[n,r,i,a,s,o]);const W=Y=>{w.current===null&&(w.current=Y.relatedTarget),j.current=!0,u.current=Y.target;const U=e.props.onFocus;U&&U(Y)},G=Y=>{w.current===null&&(w.current=Y.relatedTarget),j.current=!0};return yt(cn,{children:[yt("div",{tabIndex:s?0:-1,onFocus:G,ref:l,"data-testid":"sentinelStart"}),Vn(e,{ref:b,onFocus:W}),yt("div",{tabIndex:s?0:-1,onFocus:G,ref:f,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(Rw.propTypes={children:ap,disableAutoFocus:bt.bool,disableEnforceFocus:bt.bool,disableRestoreFocus:bt.bool,getTabbable:bt.func,isEnabled:bt.func,open:bt.bool.isRequired}),process.env.NODE_ENV!=="production"&&(Rw.propTypes=EE(Rw.propTypes));const gYt=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],mYt={entering:{opacity:1},entered:{opacity:1}},EU=Pe(function(t,e){const n=Cw(),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:f,onEntering:w,onExit:u,onExited:j,onExiting:S,style:b,timeout:T=r,TransitionComponent:W=Ac}=t,G=_n(t,gYt),Y=Jt(null),U=sa(Y,a.ref,e),$=g=>E=>{if(g){const M=Y.current;E===void 0?g(M):g(M,E)}},O=$(w),D=$((g,E)=>{const M=kw({style:b,timeout:T,easing:s},{mode:"enter"});g.style.webkitTransition=n.transitions.create("opacity",M),g.style.transition=n.transitions.create("opacity",M),l&&l(g,E)}),m=$(f),C=$(S),p=$(g=>{const E=kw({style:b,timeout:T,easing:s},{mode:"exit"});g.style.webkitTransition=n.transitions.create("opacity",E),g.style.transition=n.transitions.create("opacity",E),u&&u(g)}),d=$(j);return yt(W,Kt({appear:o,in:c,nodeRef:Y,onEnter:D,onEntered:m,onEntering:O,onExit:p,onExited:d,onExiting:C,addEndListener:g=>{i&&i(Y.current,g)},timeout:T},G,{children:(g,E)=>Vn(a,Kt({style:Kt({opacity:0,visibility:g==="exited"&&!c?"hidden":void 0},mYt[g],b,a.props.style),ref:U},E))}))});process.env.NODE_ENV!=="production"&&(EU.propTypes={addEndListener:bt.func,appear:bt.bool,children:ap.isRequired,easing:bt.oneOfType([bt.shape({enter:bt.string,exit:bt.string}),bt.string]),in:bt.bool,onEnter:bt.func,onEntered:bt.func,onEntering:bt.func,onExit:bt.func,onExited:bt.func,onExiting:bt.func,style:bt.object,timeout:bt.oneOfType([bt.number,bt.shape({appear:bt.number,enter:bt.number,exit:bt.number})])});function vYt(t){return ii("MuiBackdrop",t)}qr("MuiBackdrop",["root","invisible"]);const yYt=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],bYt=t=>{const{classes:e,invisible:n}=t;return fi({root:["root",n&&"invisible"]},vYt,e)},xYt=vn("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.invisible&&e.invisible]}})(({ownerState:t})=>Kt({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"},t.invisible&&{backgroundColor:"transparent"})),OU=Pe(function(t,e){var n,r,i;const o=mi({props:t,name:"MuiBackdrop"}),{children:a,className:s,component:c="div",components:l={},componentsProps:f={},invisible:w=!1,open:u,slotProps:j={},slots:S={},TransitionComponent:b=EU,transitionDuration:T}=o,W=_n(o,yYt),G=Kt({},o,{component:c,invisible:w}),Y=bYt(G),U=(n=j.root)!=null?n:f.root;return yt(b,Kt({in:u,timeout:T},W,{children:yt(xYt,Kt({"aria-hidden":!0},U,{as:(r=(i=S.root)!=null?i:l.Root)!=null?r:c,className:Qe(Y.root,s,U==null?void 0:U.className),ownerState:Kt({},G,U==null?void 0:U.ownerState),classes:Y,ref:e,children:a}))}))});process.env.NODE_ENV!=="production"&&(OU.propTypes={children:bt.node,classes:bt.object,className:bt.string,component:bt.elementType,components:bt.shape({Root:bt.elementType}),componentsProps:bt.shape({root:bt.object}),invisible:bt.bool,open:bt.bool.isRequired,slotProps:bt.shape({root:bt.object}),slots:bt.shape({root:bt.elementType}),sx:bt.oneOfType([bt.arrayOf(bt.oneOfType([bt.func,bt.object,bt.bool])),bt.func,bt.object]),TransitionComponent:bt.elementType,transitionDuration:bt.oneOfType([bt.number,bt.shape({appear:bt.number,enter:bt.number,exit:bt.number})])});function wYt(t){return ii("MuiModal",t)}qr("MuiModal",["root","hidden","backdrop"]);const _Yt=["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"],SYt=t=>{const{open:e,exited:n,classes:r}=t;return fi({root:["root",!e&&n&&"hidden"],backdrop:["backdrop"]},wYt,r)},CYt=vn("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.open&&n.exited&&e.hidden]}})(({theme:t,ownerState:e})=>Kt({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!e.open&&e.exited&&{visibility:"hidden"})),kYt=vn(OU,{name:"MuiModal",slot:"Backdrop",overridesResolver:(t,e)=>e.backdrop})({zIndex:-1}),PU=Pe(function(t,e){var n,r,i,o,a,s;const c=mi({name:"MuiModal",props:t}),{BackdropComponent:l=kYt,BackdropProps:f,className:w,closeAfterTransition:u=!1,children:j,container:S,component:b,components:T={},componentsProps:W={},disableAutoFocus:G=!1,disableEnforceFocus:Y=!1,disableEscapeKeyDown:U=!1,disablePortal:$=!1,disableRestoreFocus:O=!1,disableScrollLock:D=!1,hideBackdrop:m=!1,keepMounted:C=!1,onBackdropClick:p,open:d,slotProps:g,slots:E}=c,M=_n(c,_Yt),P=Kt({},c,{closeAfterTransition:u,disableAutoFocus:G,disableEnforceFocus:Y,disableEscapeKeyDown:U,disablePortal:$,disableRestoreFocus:O,disableScrollLock:D,hideBackdrop:m,keepMounted:C}),{getRootProps:V,getBackdropProps:q,getTransitionProps:H,portalRef:R,isTopModal:I,exited:A,hasTransition:k}=lYt(Kt({},P,{rootRef:e})),h=Kt({},P,{exited:A}),_=SYt(h),y={};if(j.props.tabIndex===void 0&&(y.tabIndex="-1"),k){const{onEnter:K,onExited:F}=H();y.onEnter=K,y.onExited=F}const v=(n=(r=E==null?void 0:E.root)!=null?r:T.Root)!=null?n:CYt,z=(i=(o=E==null?void 0:E.backdrop)!=null?o:T.Backdrop)!=null?i:l,N=(a=g==null?void 0:g.root)!=null?a:W.root,x=(s=g==null?void 0:g.backdrop)!=null?s:W.backdrop,B=Od({elementType:v,externalSlotProps:N,externalForwardedProps:M,getSlotProps:V,additionalProps:{ref:e,as:b},ownerState:h,className:Qe(w,N==null?void 0:N.className,_==null?void 0:_.root,!h.open&&h.exited&&(_==null?void 0:_.hidden))}),Z=Od({elementType:z,externalSlotProps:x,additionalProps:f,getSlotProps:K=>q(Kt({},K,{onClick:F=>{p&&p(F),K!=null&&K.onClick&&K.onClick(F)}})),className:Qe(x==null?void 0:x.className,f==null?void 0:f.className,_==null?void 0:_.backdrop),ownerState:h});return!C&&!d&&(!k||A)?null:yt(Cy,{ref:R,container:S,disablePortal:$,children:yt(v,Kt({},B,{children:[!m&&l?yt(z,Kt({},Z)):null,yt(Rw,{disableEnforceFocus:Y,disableAutoFocus:G,disableRestoreFocus:O,isEnabled:I,open:d,children:Vn(j,y)})]}))})});process.env.NODE_ENV!=="production"&&(PU.propTypes={BackdropComponent:bt.elementType,BackdropProps:bt.object,children:ap.isRequired,classes:bt.object,className:bt.string,closeAfterTransition:bt.bool,component:bt.elementType,components:bt.shape({Backdrop:bt.elementType,Root:bt.elementType}),componentsProps:bt.shape({backdrop:bt.oneOfType([bt.func,bt.object]),root:bt.oneOfType([bt.func,bt.object])}),container:bt.oneOfType([Tu,bt.func]),disableAutoFocus:bt.bool,disableEnforceFocus:bt.bool,disableEscapeKeyDown:bt.bool,disablePortal:bt.bool,disableRestoreFocus:bt.bool,disableScrollLock:bt.bool,hideBackdrop:bt.bool,keepMounted:bt.bool,onBackdropClick:bt.func,onClose:bt.func,onTransitionEnter:bt.func,onTransitionExited:bt.func,open:bt.bool.isRequired,slotProps:bt.shape({backdrop:bt.oneOfType([bt.func,bt.object]),root:bt.oneOfType([bt.func,bt.object])}),slots:bt.shape({backdrop:bt.elementType,root:bt.elementType}),sx:bt.oneOfType([bt.arrayOf(bt.oneOfType([bt.func,bt.object,bt.bool])),bt.func,bt.object])});function MYt(t){return ii("MuiPaper",t)}qr("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 TYt=["className","component","elevation","square","variant"],AYt=t=>{const{square:e,elevation:n,variant:r,classes:i}=t,o={root:["root",r,!e&&"rounded",r==="elevation"&&`elevation${n}`]};return fi(o,MYt,i)},EYt=vn("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],!n.square&&e.rounded,n.variant==="elevation"&&e[`elevation${n.elevation}`]]}})(({theme:t,ownerState:e})=>{var n;return Kt({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow")},!e.square&&{borderRadius:t.shape.borderRadius},e.variant==="outlined"&&{border:`1px solid ${(t.vars||t).palette.divider}`},e.variant==="elevation"&&Kt({boxShadow:(t.vars||t).shadows[e.elevation]},!t.vars&&t.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${gi("#fff",vU(e.elevation))}, ${gi("#fff",vU(e.elevation))})`},t.vars&&{backgroundImage:(n=t.vars.overlays)==null?void 0:n[e.elevation]}))}),hO=Pe(function(t,e){const n=mi({props:t,name:"MuiPaper"}),{className:r,component:i="div",elevation:o=1,square:a=!1,variant:s="elevation"}=n,c=_n(n,TYt),l=Kt({},n,{component:i,elevation:o,square:a,variant:s}),f=AYt(l);return process.env.NODE_ENV!=="production"&&Cw().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
  `)),yt(EYt,Kt({as:i,ownerState:l,className:Qe(f.root,r),ref:e},c))});process.env.NODE_ENV!=="production"&&(hO.propTypes={children:bt.node,classes:bt.object,className:bt.string,component:bt.elementType,elevation:Sd(Mc,t=>{const{elevation:e,variant:n}=t;return e>0&&n==="outlined"?new Error(`MUI: Combining \`elevation={${e}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:bt.bool,sx:bt.oneOfType([bt.arrayOf(bt.oneOfType([bt.func,bt.object,bt.bool])),bt.func,bt.object]),variant:bt.oneOfType([bt.oneOf(["elevation","outlined"]),bt.string])});function OYt(t){return ii("MuiPopover",t)}qr("MuiPopover",["root","paper"]);const PYt=["onEntering"],DYt=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],LYt=["slotProps"];function DU(t,e){let n=0;return typeof e=="number"?n=e:e==="center"?n=t.height/2:e==="bottom"&&(n=t.height),n}function LU(t,e){let n=0;return typeof e=="number"?n=e:e==="center"?n=t.width/2:e==="right"&&(n=t.width),n}function NU(t){return[t.horizontal,t.vertical].map(e=>typeof e=="number"?`${e}px`:e).join(" ")}function jw(t){return typeof t=="function"?t():t}const NYt=t=>{const{classes:e}=t;return fi({root:["root"],paper:["paper"]},OYt,e)},IYt=vn(PU,{name:"MuiPopover",slot:"Root",overridesResolver:(t,e)=>e.root})({}),IU=vn(hO,{name:"MuiPopover",slot:"Paper",overridesResolver:(t,e)=>e.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Ey=Pe(function(t,e){var n,r,i;const o=mi({props:t,name:"MuiPopover"}),{action:a,anchorEl:s,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:f="anchorEl",children:w,className:u,container:j,elevation:S=8,marginThreshold:b=16,open:T,PaperProps:W={},slots:G,slotProps:Y,transformOrigin:U={vertical:"top",horizontal:"left"},TransitionComponent:$=my,transitionDuration:O="auto",TransitionProps:{onEntering:D}={},disableScrollLock:m=!1}=o,C=_n(o.TransitionProps,PYt),p=_n(o,DYt),d=(n=Y==null?void 0:Y.paper)!=null?n:W,g=Jt(),E=sa(g,d.ref),M=Kt({},o,{anchorOrigin:c,anchorReference:f,elevation:S,marginThreshold:b,externalPaperSlotProps:d,transformOrigin:U,TransitionComponent:$,transitionDuration:O,TransitionProps:C}),P=NYt(M),V=Ne(()=>{if(f==="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 K=jw(s),F=K&&K.nodeType===1?K:_o(g.current).body,X=F.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const Q=F.getBoundingClientRect();process.env.NODE_ENV!=="test"&&Q.top===0&&Q.left===0&&Q.right===0&&Q.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 C("domwindow")},_bigint:function(p){return C("bigint:"+p.toString())},_process:function(){return C("process")},_timer:function(){return C("timer")},_pipe:function(){return C("pipe")},_tcp:function(){return C("tcp")},_udp:function(){return C("udp")},_tty:function(){return C("tty")},_statwatcher:function(){return C("statwatcher")},_securecontext:function(){return C("securecontext")},_connection:function(){return C("connection")},_zlib:function(){return C("zlib")},_context:function(){return C("context")},_nodescript:function(){return C("nodescript")},_httpparser:function(){return C("httpparser")},_dataview:function(){return C("dataview")},_signal:function(){return C("signal")},_fsevent:function(){return C("fsevent")},_tlswrap:function(){return C("tlswrap")}}}function $(){return{buf:"",write:function(O){this.buf+=O},end:function(O){this.buf+=O},read:function(){return this.buf}}}i.writeToStream=function(O,D,m){return m===void 0&&(m=D,D={}),U(D=G(O,D),m).dispatch(O)}}).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,f,w,u,j){(function(S){var b=typeof Uint8Array<"u"?Uint8Array:Array,T=43,W=47,G=48,Y=97,U=65,$=45,O=95;function D(m){return m=m.charCodeAt(0),m===T||m===$?62:m===W||m===O?63:m<G?-1:m<G+10?m-G+26+26:m<U+26?m-U:m<Y+26?m-Y+26:void 0}S.toByteArray=function(m){var C,p;if(0<m.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var d=m.length,d=m.charAt(d-2)==="="?2:m.charAt(d-1)==="="?1:0,g=new b(3*m.length/4-d),E=0<d?m.length-4:m.length,M=0;function P(V){g[M++]=V}for(C=0;C<E;C+=4,0)P((16711680&(p=D(m.charAt(C))<<18|D(m.charAt(C+1))<<12|D(m.charAt(C+2))<<6|D(m.charAt(C+3))))>>16),P((65280&p)>>8),P(255&p);return d==2?P(255&(p=D(m.charAt(C))<<2|D(m.charAt(C+1))>>4)):d==1&&(P((p=D(m.charAt(C))<<10|D(m.charAt(C+1))<<4|D(m.charAt(C+2))>>2)>>8&255),P(255&p)),g},S.fromByteArray=function(m){var C,p,d,g,E=m.length%3,M="";function P(V){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(V)}for(C=0,d=m.length-E;C<d;C+=3)p=(m[C]<<16)+(m[C+1]<<8)+m[C+2],M+=P((g=p)>>18&63)+P(g>>12&63)+P(g>>6&63)+P(63&g);switch(E){case 1:M=(M+=P((p=m[m.length-1])>>2))+P(p<<4&63)+"==";break;case 2:M=(M=(M+=P((p=(m[m.length-2]<<8)+m[m.length-1])>>10))+P(p>>4&63))+P(p<<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,T,c,l,f,w,u,j){var S=n("base64-js"),b=n("ieee754");function T(x,B,Z){if(!(this instanceof T))return new T(x,B,Z);var K,F,X,Q,it=typeof x;if(B==="base64"&&it=="string")for(x=(Q=x).trim?Q.trim():Q.replace(/^\s+|\s+$/g,"");x.length%4!=0;)x+="=";if(it=="number")K=H(x);else if(it=="string")K=T.byteLength(x,B);else{if(it!="object")throw new Error("First argument needs to be a number, array or string.");K=H(x.length)}if(T._useTypedArrays?F=T._augment(new Uint8Array(K)):((F=this).length=K,F._isBuffer=!0),T._useTypedArrays&&typeof x.byteLength=="number")F._set(x);else if(R(Q=x)||T.isBuffer(Q)||Q&&typeof Q=="object"&&typeof Q.length=="number")for(X=0;X<K;X++)T.isBuffer(x)?F[X]=x.readUInt8(X):F[X]=x[X];else if(it=="string")F.write(x,0,B);else if(it=="number"&&!T._useTypedArrays&&!Z)for(X=0;X<K;X++)F[X]=0;return F}function W(x,B,Z,K){return T._charsWritten=h(function(F){for(var X=[],Q=0;Q<F.length;Q++)X.push(255&F.charCodeAt(Q));return X}(B),x,Z,K)}function G(x,B,Z,K){return T._charsWritten=h(function(F){for(var X,Q,it=[],ot=0;ot<F.length;ot++)Q=F.charCodeAt(ot),X=Q>>8,Q=Q%256,it.push(Q),it.push(X);return it}(B),x,Z,K)}function Y(x,B,Z){var K="";Z=Math.min(x.length,Z);for(var F=B;F<Z;F++)K+=String.fromCharCode(x[F]);return K}function U(x,B,Z,X){X||(N(typeof Z=="boolean","missing or invalid endian"),N(B!=null,"missing offset"),N(B+1<x.length,"Trying to read beyond buffer length"));var F,X=x.length;if(!(X<=B))return Z?(F=x[B],B+1<X&&(F|=x[B+1]<<8)):(F=x[B]<<8,B+1<X&&(F|=x[B+1])),F}function $(x,B,Z,X){X||(N(typeof Z=="boolean","missing or invalid endian"),N(B!=null,"missing offset"),N(B+3<x.length,"Trying to read beyond buffer length"));var F,X=x.length;if(!(X<=B))return Z?(B+2<X&&(F=x[B+2]<<16),B+1<X&&(F|=x[B+1]<<8),F|=x[B],B+3<X&&(F+=x[B+3]<<24>>>0)):(B+1<X&&(F=x[B+1]<<16),B+2<X&&(F|=x[B+2]<<8),B+3<X&&(F|=x[B+3]),F+=x[B]<<24>>>0),F}function O(x,B,Z,K){if(K||(N(typeof Z=="boolean","missing or invalid endian"),N(B!=null,"missing offset"),N(B+1<x.length,"Trying to read beyond buffer length")),!(x.length<=B))return K=U(x,B,Z,!0),32768&K?-1*(65535-K+1):K}function D(x,B,Z,K){if(K||(N(typeof Z=="boolean","missing or invalid endian"),N(B!=null,"missing offset"),N(B+3<x.length,"Trying to read beyond buffer length")),!(x.length<=B))return K=$(x,B,Z,!0),2147483648&K?-1*(4294967295-K+1):K}function m(x,B,Z,K){return K||(N(typeof Z=="boolean","missing or invalid endian"),N(B+3<x.length,"Trying to read beyond buffer length")),b.read(x,B,Z,23,4)}function C(x,B,Z,K){return K||(N(typeof Z=="boolean","missing or invalid endian"),N(B+7<x.length,"Trying to read beyond buffer length")),b.read(x,B,Z,52,8)}function p(x,B,Z,K,F){if(F||(N(B!=null,"missing value"),N(typeof K=="boolean","missing or invalid endian"),N(Z!=null,"missing offset"),N(Z+1<x.length,"trying to write beyond buffer length"),y(B,65535)),F=x.length,!(F<=Z))for(var X=0,Q=Math.min(F-Z,2);X<Q;X++)x[Z+X]=(B&255<<8*(K?X:1-X))>>>8*(K?X:1-X)}function d(x,B,Z,K,F){if(F||(N(B!=null,"missing value"),N(typeof K=="boolean","missing or invalid endian"),N(Z!=null,"missing offset"),N(Z+3<x.length,"trying to write beyond buffer length"),y(B,4294967295)),F=x.length,!(F<=Z))for(var X=0,Q=Math.min(F-Z,4);X<Q;X++)x[Z+X]=B>>>8*(K?X:3-X)&255}function g(x,B,Z,K,F){F||(N(B!=null,"missing value"),N(typeof K=="boolean","missing or invalid endian"),N(Z!=null,"missing offset"),N(Z+1<x.length,"Trying to write beyond buffer length"),v(B,32767,-32768)),x.length<=Z||p(x,0<=B?B:65535+B+1,Z,K,F)}function E(x,B,Z,K,F){F||(N(B!=null,"missing value"),N(typeof K=="boolean","missing or invalid endian"),N(Z!=null,"missing offset"),N(Z+3<x.length,"Trying to write beyond buffer length"),v(B,2147483647,-2147483648)),x.length<=Z||d(x,0<=B?B:4294967295+B+1,Z,K,F)}function M(x,B,Z,K,F){F||(N(B!=null,"missing value"),N(typeof K=="boolean","missing or invalid endian"),N(Z!=null,"missing offset"),N(Z+3<x.length,"Trying to write beyond buffer length"),z(B,34028234663852886e22,-34028234663852886e22)),x.length<=Z||b.write(x,B,Z,K,23,4)}function P(x,B,Z,K,F){F||(N(B!=null,"missing value"),N(typeof K=="boolean","missing or invalid endian"),N(Z!=null,"missing offset"),N(Z+7<x.length,"Trying to write beyond buffer length"),z(B,17976931348623157e292,-17976931348623157e292)),x.length<=Z||b.write(x,B,Z,K,52,8)}i.Buffer=T,i.SlowBuffer=T,i.INSPECT_MAX_BYTES=50,T.poolSize=8192,T._useTypedArrays=function(){try{var x=new ArrayBuffer(0),B=new Uint8Array(x);return B.foo=function(){return 42},B.foo()===42&&typeof B.subarray=="function"}catch{return!1}}(),T.isEncoding=function(x){switch(String(x).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}},T.isBuffer=function(x){return!(x==null||!x._isBuffer)},T.byteLength=function(x,B){var Z;switch(x+="",B||"utf8"){case"hex":Z=x.length/2;break;case"utf8":case"utf-8":Z=A(x).length;break;case"ascii":case"binary":case"raw":Z=x.length;break;case"base64":Z=k(x).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":Z=2*x.length;break;default:throw new Error("Unknown encoding")}return Z},T.concat=function(x,B){if(N(R(x),`Usage: Buffer.concat(list, [totalLength])
994
994
  list should be an Array.`),x.length===0)return new T(0);if(x.length===1)return x[0];if(typeof B!="number")for(F=B=0;F<x.length;F++)B+=x[F].length;for(var Z=new T(B),K=0,F=0;F<x.length;F++){var X=x[F];X.copy(Z,K),K+=X.length}return Z},T.prototype.write=function(x,B,Z,K){isFinite(B)?isFinite(Z)||(K=Z,Z=void 0):(ot=K,K=B,B=Z,Z=ot),B=Number(B)||0;var F,X,Q,it,ot=this.length-B;switch((!Z||ot<(Z=Number(Z)))&&(Z=ot),K=String(K||"utf8").toLowerCase()){case"hex":F=function(et,nt,rt,ut){rt=Number(rt)||0;var ct=et.length-rt;(!ut||ct<(ut=Number(ut)))&&(ut=ct),N((ct=nt.length)%2==0,"Invalid hex string"),ct/2<ut&&(ut=ct/2);for(var lt=0;lt<ut;lt++){var ht=parseInt(nt.substr(2*lt,2),16);N(!isNaN(ht),"Invalid hex string"),et[rt+lt]=ht}return T._charsWritten=2*lt,lt}(this,x,B,Z);break;case"utf8":case"utf-8":X=this,Q=B,it=Z,F=T._charsWritten=h(A(x),X,Q,it);break;case"ascii":case"binary":F=W(this,x,B,Z);break;case"base64":X=this,Q=B,it=Z,F=T._charsWritten=h(k(x),X,Q,it);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":F=G(this,x,B,Z);break;default:throw new Error("Unknown encoding")}return F},T.prototype.toString=function(x,B,Z){var K,F,X,Q,it=this;if(x=String(x||"utf8").toLowerCase(),B=Number(B)||0,(Z=Z!==void 0?Number(Z):it.length)===B)return"";switch(x){case"hex":K=function(ot,et,nt){var rt=ot.length;(!et||et<0)&&(et=0),(!nt||nt<0||rt<nt)&&(nt=rt);for(var ut="",ct=et;ct<nt;ct++)ut+=I(ot[ct]);return ut}(it,B,Z);break;case"utf8":case"utf-8":K=function(ot,et,nt){var rt="",ut="";nt=Math.min(ot.length,nt);for(var ct=et;ct<nt;ct++)ot[ct]<=127?(rt+=_(ut)+String.fromCharCode(ot[ct]),ut=""):ut+="%"+ot[ct].toString(16);return rt+_(ut)}(it,B,Z);break;case"ascii":case"binary":K=Y(it,B,Z);break;case"base64":F=it,Q=Z,K=(X=B)===0&&Q===F.length?S.fromByteArray(F):S.fromByteArray(F.slice(X,Q));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":K=function(ot,et,nt){for(var rt=ot.slice(et,nt),ut="",ct=0;ct<rt.length;ct+=2)ut+=String.fromCharCode(rt[ct]+256*rt[ct+1]);return ut}(it,B,Z);break;default:throw new Error("Unknown encoding")}return K},T.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},T.prototype.copy=function(x,B,Z,K){if(B=B||0,(K=K||K===0?K:this.length)!==(Z=Z||0)&&x.length!==0&&this.length!==0){N(Z<=K,"sourceEnd < sourceStart"),N(0<=B&&B<x.length,"targetStart out of bounds"),N(0<=Z&&Z<this.length,"sourceStart out of bounds"),N(0<=K&&K<=this.length,"sourceEnd out of bounds"),K>this.length&&(K=this.length);var F=(K=x.length-B<K-Z?x.length-B+Z:K)-Z;if(F<100||!T._useTypedArrays)for(var X=0;X<F;X++)x[X+B]=this[X+Z];else x._set(this.subarray(Z,Z+F),B)}},T.prototype.slice=function(x,B){var Z=this.length;if(x=q(x,Z,0),B=q(B,Z,Z),T._useTypedArrays)return T._augment(this.subarray(x,B));for(var K=B-x,F=new T(K,void 0,!0),X=0;X<K;X++)F[X]=this[X+x];return F},T.prototype.get=function(x){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(x)},T.prototype.set=function(x,B){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(x,B)},T.prototype.readUInt8=function(x,B){if(B||(N(x!=null,"missing offset"),N(x<this.length,"Trying to read beyond buffer length")),!(x>=this.length))return this[x]},T.prototype.readUInt16LE=function(x,B){return U(this,x,!0,B)},T.prototype.readUInt16BE=function(x,B){return U(this,x,!1,B)},T.prototype.readUInt32LE=function(x,B){return $(this,x,!0,B)},T.prototype.readUInt32BE=function(x,B){return $(this,x,!1,B)},T.prototype.readInt8=function(x,B){if(B||(N(x!=null,"missing offset"),N(x<this.length,"Trying to read beyond buffer length")),!(x>=this.length))return 128&this[x]?-1*(255-this[x]+1):this[x]},T.prototype.readInt16LE=function(x,B){return O(this,x,!0,B)},T.prototype.readInt16BE=function(x,B){return O(this,x,!1,B)},T.prototype.readInt32LE=function(x,B){return D(this,x,!0,B)},T.prototype.readInt32BE=function(x,B){return D(this,x,!1,B)},T.prototype.readFloatLE=function(x,B){return m(this,x,!0,B)},T.prototype.readFloatBE=function(x,B){return m(this,x,!1,B)},T.prototype.readDoubleLE=function(x,B){return C(this,x,!0,B)},T.prototype.readDoubleBE=function(x,B){return C(this,x,!1,B)},T.prototype.writeUInt8=function(x,B,Z){Z||(N(x!=null,"missing value"),N(B!=null,"missing offset"),N(B<this.length,"trying to write beyond buffer length"),y(x,255)),B>=this.length||(this[B]=x)},T.prototype.writeUInt16LE=function(x,B,Z){p(this,x,B,!0,Z)},T.prototype.writeUInt16BE=function(x,B,Z){p(this,x,B,!1,Z)},T.prototype.writeUInt32LE=function(x,B,Z){d(this,x,B,!0,Z)},T.prototype.writeUInt32BE=function(x,B,Z){d(this,x,B,!1,Z)},T.prototype.writeInt8=function(x,B,Z){Z||(N(x!=null,"missing value"),N(B!=null,"missing offset"),N(B<this.length,"Trying to write beyond buffer length"),v(x,127,-128)),B>=this.length||(0<=x?this.writeUInt8(x,B,Z):this.writeUInt8(255+x+1,B,Z))},T.prototype.writeInt16LE=function(x,B,Z){g(this,x,B,!0,Z)},T.prototype.writeInt16BE=function(x,B,Z){g(this,x,B,!1,Z)},T.prototype.writeInt32LE=function(x,B,Z){E(this,x,B,!0,Z)},T.prototype.writeInt32BE=function(x,B,Z){E(this,x,B,!1,Z)},T.prototype.writeFloatLE=function(x,B,Z){M(this,x,B,!0,Z)},T.prototype.writeFloatBE=function(x,B,Z){M(this,x,B,!1,Z)},T.prototype.writeDoubleLE=function(x,B,Z){P(this,x,B,!0,Z)},T.prototype.writeDoubleBE=function(x,B,Z){P(this,x,B,!1,Z)},T.prototype.fill=function(x,B,Z){if(B=B||0,Z=Z||this.length,N(typeof(x=typeof(x=x||0)=="string"?x.charCodeAt(0):x)=="number"&&!isNaN(x),"value is not a number"),N(B<=Z,"end < start"),Z!==B&&this.length!==0){N(0<=B&&B<this.length,"start out of bounds"),N(0<=Z&&Z<=this.length,"end out of bounds");for(var K=B;K<Z;K++)this[K]=x}},T.prototype.inspect=function(){for(var x=[],B=this.length,Z=0;Z<B;Z++)if(x[Z]=I(this[Z]),Z===i.INSPECT_MAX_BYTES){x[Z+1]="...";break}return"<Buffer "+x.join(" ")+">"},T.prototype.toArrayBuffer=function(){if(typeof Uint8Array>"u")throw new Error("Buffer.toArrayBuffer not supported in this browser");if(T._useTypedArrays)return new T(this).buffer;for(var x=new Uint8Array(this.length),B=0,Z=x.length;B<Z;B+=1)x[B]=this[B];return x.buffer};var V=T.prototype;function q(x,B,Z){return typeof x!="number"?Z:B<=(x=~~x)?B:0<=x||0<=(x+=B)?x:0}function H(x){return(x=~~Math.ceil(+x))<0?0:x}function R(x){return(Array.isArray||function(B){return Object.prototype.toString.call(B)==="[object Array]"})(x)}function I(x){return x<16?"0"+x.toString(16):x.toString(16)}function A(x){for(var B=[],Z=0;Z<x.length;Z++){var K=x.charCodeAt(Z);if(K<=127)B.push(x.charCodeAt(Z));else for(var F=Z,X=(55296<=K&&K<=57343&&Z++,encodeURIComponent(x.slice(F,Z+1)).substr(1).split("%")),Q=0;Q<X.length;Q++)B.push(parseInt(X[Q],16))}return B}function k(x){return S.toByteArray(x)}function h(x,B,Z,K){for(var F=0;F<K&&!(F+Z>=B.length||F>=x.length);F++)B[F+Z]=x[F];return F}function _(x){try{return decodeURIComponent(x)}catch{return"�"}}function y(x,B){N(typeof x=="number","cannot write a non-number as a number"),N(0<=x,"specified a negative value for writing an unsigned value"),N(x<=B,"value is larger than maximum value for type"),N(Math.floor(x)===x,"value has a fractional component")}function v(x,B,Z){N(typeof x=="number","cannot write a non-number as a number"),N(x<=B,"value larger than maximum allowed value"),N(Z<=x,"value smaller than minimum allowed value"),N(Math.floor(x)===x,"value has a fractional component")}function z(x,B,Z){N(typeof x=="number","cannot write a non-number as a number"),N(x<=B,"value larger than maximum allowed value"),N(Z<=x,"value smaller than minimum allowed value")}function N(x,B){if(!x)throw new Error(B||"Failed assertion")}T._augment=function(x){return x._isBuffer=!0,x._get=x.get,x._set=x.set,x.get=V.get,x.set=V.set,x.write=V.write,x.toString=V.toString,x.toLocaleString=V.toString,x.toJSON=V.toJSON,x.copy=V.copy,x.slice=V.slice,x.readUInt8=V.readUInt8,x.readUInt16LE=V.readUInt16LE,x.readUInt16BE=V.readUInt16BE,x.readUInt32LE=V.readUInt32LE,x.readUInt32BE=V.readUInt32BE,x.readInt8=V.readInt8,x.readInt16LE=V.readInt16LE,x.readInt16BE=V.readInt16BE,x.readInt32LE=V.readInt32LE,x.readInt32BE=V.readInt32BE,x.readFloatLE=V.readFloatLE,x.readFloatBE=V.readFloatBE,x.readDoubleLE=V.readDoubleLE,x.readDoubleBE=V.readDoubleBE,x.writeUInt8=V.writeUInt8,x.writeUInt16LE=V.writeUInt16LE,x.writeUInt16BE=V.writeUInt16BE,x.writeUInt32LE=V.writeUInt32LE,x.writeUInt32BE=V.writeUInt32BE,x.writeInt8=V.writeInt8,x.writeInt16LE=V.writeInt16LE,x.writeInt16BE=V.writeInt16BE,x.writeInt32LE=V.writeInt32LE,x.writeInt32BE=V.writeInt32BE,x.writeFloatLE=V.writeFloatLE,x.writeFloatBE=V.writeFloatBE,x.writeDoubleLE=V.writeDoubleLE,x.writeDoubleBE=V.writeDoubleBE,x.fill=V.fill,x.inspect=V.inspect,x.toArrayBuffer=V.toArrayBuffer,x}}).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,S,c,l,f,w,u,j){var S=n("buffer").Buffer,b=4,T=new S(b);T.fill(0),r.exports={hash:function(W,G,Y,U){for(var $=G(function(p,d){p.length%b!=0&&(g=p.length+(b-p.length%b),p=S.concat([p,T],g));for(var g,E=[],M=d?p.readInt32BE:p.readInt32LE,P=0;P<p.length;P+=b)E.push(M.call(p,P));return E}(W=S.isBuffer(W)?W:new S(W),U),8*W.length),G=U,O=new S(Y),D=G?O.writeInt32BE:O.writeInt32LE,m=0;m<$.length;m++)D.call(O,$[m],4*m,!0);return O}}}).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,S,c,l,f,w,u,j){var S=n("buffer").Buffer,b=n("./sha"),T=n("./sha256"),W=n("./rng"),G={sha1:b,sha256:T,md5:n("./md5")},Y=64,U=new S(Y);function $(p,d){var g=G[p=p||"sha1"],E=[];return g||O("algorithm:",p,"is not yet supported"),{update:function(M){return S.isBuffer(M)||(M=new S(M)),E.push(M),this},digest:function(M){var P=S.concat(E),P=d?function(V,q,H){S.isBuffer(q)||(q=new S(q)),S.isBuffer(H)||(H=new S(H)),q.length>Y?q=V(q):q.length<Y&&(q=S.concat([q,U],Y));for(var R=new S(Y),I=new S(Y),A=0;A<Y;A++)R[A]=54^q[A],I[A]=92^q[A];return H=V(S.concat([R,H])),V(S.concat([I,H]))}(g,d,P):g(P);return E=null,M?P.toString(M):P}}}function O(){var p=[].slice.call(arguments).join(" ");throw new Error([p,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
995
995
  `))}U.fill(0),i.createHash=function(p){return $(p)},i.createHmac=$,i.randomBytes=function(p,d){if(!d||!d.call)return new S(W(p));try{d.call(this,void 0,new S(W(p)))}catch(g){d(g)}};var D,m=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],C=function(p){i[p]=function(){O("sorry,",p,"is not implemented yet")}};for(D in m)C(m[D])}).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,f,w,u,j){var S=n("./helpers");function b(O,D){O[D>>5]|=128<<D%32,O[14+(D+64>>>9<<4)]=D;for(var m=1732584193,C=-271733879,p=-1732584194,d=271733878,g=0;g<O.length;g+=16){var E=m,M=C,P=p,V=d,m=W(m,C,p,d,O[g+0],7,-680876936),d=W(d,m,C,p,O[g+1],12,-389564586),p=W(p,d,m,C,O[g+2],17,606105819),C=W(C,p,d,m,O[g+3],22,-1044525330);m=W(m,C,p,d,O[g+4],7,-176418897),d=W(d,m,C,p,O[g+5],12,1200080426),p=W(p,d,m,C,O[g+6],17,-1473231341),C=W(C,p,d,m,O[g+7],22,-45705983),m=W(m,C,p,d,O[g+8],7,1770035416),d=W(d,m,C,p,O[g+9],12,-1958414417),p=W(p,d,m,C,O[g+10],17,-42063),C=W(C,p,d,m,O[g+11],22,-1990404162),m=W(m,C,p,d,O[g+12],7,1804603682),d=W(d,m,C,p,O[g+13],12,-40341101),p=W(p,d,m,C,O[g+14],17,-1502002290),m=G(m,C=W(C,p,d,m,O[g+15],22,1236535329),p,d,O[g+1],5,-165796510),d=G(d,m,C,p,O[g+6],9,-1069501632),p=G(p,d,m,C,O[g+11],14,643717713),C=G(C,p,d,m,O[g+0],20,-373897302),m=G(m,C,p,d,O[g+5],5,-701558691),d=G(d,m,C,p,O[g+10],9,38016083),p=G(p,d,m,C,O[g+15],14,-660478335),C=G(C,p,d,m,O[g+4],20,-405537848),m=G(m,C,p,d,O[g+9],5,568446438),d=G(d,m,C,p,O[g+14],9,-1019803690),p=G(p,d,m,C,O[g+3],14,-187363961),C=G(C,p,d,m,O[g+8],20,1163531501),m=G(m,C,p,d,O[g+13],5,-1444681467),d=G(d,m,C,p,O[g+2],9,-51403784),p=G(p,d,m,C,O[g+7],14,1735328473),m=Y(m,C=G(C,p,d,m,O[g+12],20,-1926607734),p,d,O[g+5],4,-378558),d=Y(d,m,C,p,O[g+8],11,-2022574463),p=Y(p,d,m,C,O[g+11],16,1839030562),C=Y(C,p,d,m,O[g+14],23,-35309556),m=Y(m,C,p,d,O[g+1],4,-1530992060),d=Y(d,m,C,p,O[g+4],11,1272893353),p=Y(p,d,m,C,O[g+7],16,-155497632),C=Y(C,p,d,m,O[g+10],23,-1094730640),m=Y(m,C,p,d,O[g+13],4,681279174),d=Y(d,m,C,p,O[g+0],11,-358537222),p=Y(p,d,m,C,O[g+3],16,-722521979),C=Y(C,p,d,m,O[g+6],23,76029189),m=Y(m,C,p,d,O[g+9],4,-640364487),d=Y(d,m,C,p,O[g+12],11,-421815835),p=Y(p,d,m,C,O[g+15],16,530742520),m=U(m,C=Y(C,p,d,m,O[g+2],23,-995338651),p,d,O[g+0],6,-198630844),d=U(d,m,C,p,O[g+7],10,1126891415),p=U(p,d,m,C,O[g+14],15,-1416354905),C=U(C,p,d,m,O[g+5],21,-57434055),m=U(m,C,p,d,O[g+12],6,1700485571),d=U(d,m,C,p,O[g+3],10,-1894986606),p=U(p,d,m,C,O[g+10],15,-1051523),C=U(C,p,d,m,O[g+1],21,-2054922799),m=U(m,C,p,d,O[g+8],6,1873313359),d=U(d,m,C,p,O[g+15],10,-30611744),p=U(p,d,m,C,O[g+6],15,-1560198380),C=U(C,p,d,m,O[g+13],21,1309151649),m=U(m,C,p,d,O[g+4],6,-145523070),d=U(d,m,C,p,O[g+11],10,-1120210379),p=U(p,d,m,C,O[g+2],15,718787259),C=U(C,p,d,m,O[g+9],21,-343485551),m=$(m,E),C=$(C,M),p=$(p,P),d=$(d,V)}return Array(m,C,p,d)}function T(O,D,m,C,p,d){return $((D=$($(D,O),$(C,d)))<<p|D>>>32-p,m)}function W(O,D,m,C,p,d,g){return T(D&m|~D&C,O,D,p,d,g)}function G(O,D,m,C,p,d,g){return T(D&C|m&~C,O,D,p,d,g)}function Y(O,D,m,C,p,d,g){return T(D^m^C,O,D,p,d,g)}function U(O,D,m,C,p,d,g){return T(m^(D|~C),O,D,p,d,g)}function $(O,D){var m=(65535&O)+(65535&D);return(O>>16)+(D>>16)+(m>>16)<<16|65535&m}r.exports=function(O){return S.hash(O,b,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,f,w,u,j){r.exports=function(S){for(var b,T=new Array(S),W=0;W<S;W++)!(3&W)&&(b=4294967296*Math.random()),T[W]=b>>>((3&W)<<3)&255;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/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,f,w,u,j){var S=n("./helpers");function b(G,Y){G[Y>>5]|=128<<24-Y%32,G[15+(Y+64>>9<<4)]=Y;for(var U,$,O,D=Array(80),m=1732584193,C=-271733879,p=-1732584194,d=271733878,g=-1009589776,E=0;E<G.length;E+=16){for(var M=m,P=C,V=p,q=d,H=g,R=0;R<80;R++){D[R]=R<16?G[E+R]:W(D[R-3]^D[R-8]^D[R-14]^D[R-16],1);var I=T(T(W(m,5),(I=C,$=p,O=d,(U=R)<20?I&$|~I&O:!(U<40)&&U<60?I&$|I&O|$&O:I^$^O)),T(T(g,D[R]),(U=R)<20?1518500249:U<40?1859775393:U<60?-1894007588:-899497514)),g=d,d=p,p=W(C,30),C=m,m=I}m=T(m,M),C=T(C,P),p=T(p,V),d=T(d,q),g=T(g,H)}return Array(m,C,p,d,g)}function T(G,Y){var U=(65535&G)+(65535&Y);return(G>>16)+(Y>>16)+(U>>16)<<16|65535&U}function W(G,Y){return G<<Y|G>>>32-Y}r.exports=function(G){return S.hash(G,b,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,f,w,u,j){function S(Y,U){var $=(65535&Y)+(65535&U);return(Y>>16)+(U>>16)+($>>16)<<16|65535&$}function b(Y,U){var $,O=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),D=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),m=new Array(64);Y[U>>5]|=128<<24-U%32,Y[15+(U+64>>9<<4)]=U;for(var C,p,d=0;d<Y.length;d+=16){for(var g=D[0],E=D[1],M=D[2],P=D[3],V=D[4],q=D[5],H=D[6],R=D[7],I=0;I<64;I++)m[I]=I<16?Y[I+d]:S(S(S((p=m[I-2],W(p,17)^W(p,19)^G(p,10)),m[I-7]),(p=m[I-15],W(p,7)^W(p,18)^G(p,3))),m[I-16]),$=S(S(S(S(R,W(p=V,6)^W(p,11)^W(p,25)),V&q^~V&H),O[I]),m[I]),C=S(W(C=g,2)^W(C,13)^W(C,22),g&E^g&M^E&M),R=H,H=q,q=V,V=S(P,$),P=M,M=E,E=g,g=S($,C);D[0]=S(g,D[0]),D[1]=S(E,D[1]),D[2]=S(M,D[2]),D[3]=S(P,D[3]),D[4]=S(V,D[4]),D[5]=S(q,D[5]),D[6]=S(H,D[6]),D[7]=S(R,D[7])}return D}var T=n("./helpers"),W=function(Y,U){return Y>>>U|Y<<32-U},G=function(Y,U){return Y>>>U};r.exports=function(Y){return T.hash(Y,b,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,f,w,u,j){i.read=function(S,b,T,W,d){var Y,U,$=8*d-W-1,O=(1<<$)-1,D=O>>1,m=-7,C=T?d-1:0,p=T?-1:1,d=S[b+C];for(C+=p,Y=d&(1<<-m)-1,d>>=-m,m+=$;0<m;Y=256*Y+S[b+C],C+=p,m-=8);for(U=Y&(1<<-m)-1,Y>>=-m,m+=W;0<m;U=256*U+S[b+C],C+=p,m-=8);if(Y===0)Y=1-D;else{if(Y===O)return U?NaN:1/0*(d?-1:1);U+=Math.pow(2,W),Y-=D}return(d?-1:1)*U*Math.pow(2,Y-W)},i.write=function(S,b,T,W,G,g){var U,$,O=8*g-G-1,D=(1<<O)-1,m=D>>1,C=G===23?Math.pow(2,-24)-Math.pow(2,-77):0,p=W?0:g-1,d=W?1:-1,g=b<0||b===0&&1/b<0?1:0;for(b=Math.abs(b),isNaN(b)||b===1/0?($=isNaN(b)?1:0,U=D):(U=Math.floor(Math.log(b)/Math.LN2),b*(W=Math.pow(2,-U))<1&&(U--,W*=2),2<=(b+=1<=U+m?C/W:C*Math.pow(2,1-m))*W&&(U++,W/=2),D<=U+m?($=0,U=D):1<=U+m?($=(b*W-1)*Math.pow(2,G),U+=m):($=b*Math.pow(2,m-1)*Math.pow(2,G),U=0));8<=G;S[T+p]=255&$,p+=d,$/=256,G-=8);for(U=U<<G|$,O+=G;0<O;S[T+p]=255&U,p+=d,U/=256,O-=8);S[T+p-d]|=128*g}}).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,f,w,u,j){var S,b,T;function W(){}(o=r.exports={}).nextTick=(b=typeof window<"u"&&window.setImmediate,T=typeof window<"u"&&window.postMessage&&window.addEventListener,b?function(G){return window.setImmediate(G)}:T?(S=[],window.addEventListener("message",function(G){var Y=G.source;Y!==window&&Y!==null||G.data!=="process-tick"||(G.stopPropagation(),0<S.length&&S.shift()())},!0),function(G){S.push(G),window.postMessage("process-tick","*")}):function(G){setTimeout(G,0)}),o.title="browser",o.browser=!0,o.env={},o.argv=[],o.on=W,o.addListener=W,o.once=W,o.off=W,o.removeListener=W,o.removeAllListeners=W,o.emit=W,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)})}(Eve)),G3}Ove();var Y3,Frt;function Pve(){if(Frt)return Y3;Frt=1;function t(e,n){for(var r=-1,i=e==null?0:e.length;++r<i&&n(e[r],r,e)!==!1;);return e}return Y3=t,Y3}var q3,Hrt;function Wrt(){if(Hrt)return q3;Hrt=1;var t=g3(),e=ZO(),n=Object.prototype,r=n.hasOwnProperty;function i(o,a,s){var c=o[a];(!(r.call(o,a)&&e(c,s))||s===void 0&&!(a in o))&&t(o,a,s)}return q3=i,q3}var X3,Vrt;function SC(){if(Vrt)return X3;Vrt=1;var t=Wrt(),e=g3();function n(r,i,o,a){var s=!o;o||(o={});for(var c=-1,l=i.length;++c<l;){var f=i[c],w=a?a(o[f],r[f],f,o,r):void 0;w===void 0&&(w=r[f]),s?e(o,f,w):t(o,f,w)}return o}return X3=n,X3}var Z3,Urt;function Dve(){if(Urt)return Z3;Urt=1;var t=SC(),e=Hy();function n(r,i){return r&&t(i,e(i),r)}return Z3=n,Z3}var J3,Grt;function Lve(){if(Grt)return J3;Grt=1;function t(e){var n=[];if(e!=null)for(var r in Object(e))n.push(r);return n}return J3=t,J3}var K3,Yrt;function Nve(){if(Yrt)return K3;Yrt=1;var t=jd(),e=wD(),n=Lve(),r=Object.prototype,i=r.hasOwnProperty;function o(a){if(!t(a))return n(a);var s=e(a),c=[];for(var l in a)l=="constructor"&&(s||!i.call(a,l))||c.push(l);return c}return K3=o,K3}var Q3,qrt;function t5(){if(qrt)return Q3;qrt=1;var t=Cq(),e=Nve(),n=Pq();function r(i){return n(i)?t(i,!0):e(i)}return Q3=r,Q3}var e5,Xrt;function Ive(){if(Xrt)return e5;Xrt=1;var t=SC(),e=t5();function n(r,i){return r&&t(i,e(i),r)}return e5=n,e5}var CC={},Rve={get exports(){return CC},set exports(t){CC=t}},Zrt;function jve(){return Zrt||(Zrt=1,function(t,e){var n=Wl(),r=e&&!e.nodeType&&e,i=r&&!0&&t&&!t.nodeType&&t,o=i&&i.exports===r,a=o?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;function c(l,f){if(f)return l.slice();var w=l.length,u=s?s(w):new l.constructor(w);return l.copy(u),u}t.exports=c}(Rve,CC)),CC}var n5,Jrt;function $ve(){if(Jrt)return n5;Jrt=1;function t(e,n){var r=-1,i=e.length;for(n||(n=Array(i));++r<i;)n[r]=e[r];return n}return n5=t,n5}var r5,Krt;function zve(){if(Krt)return r5;Krt=1;var t=SC(),e=iD();function n(r,i){return t(r,e(r),i)}return r5=n,r5}var i5,Qrt;function tit(){if(Qrt)return i5;Qrt=1;var t=Tq(),e=t(Object.getPrototypeOf,Object);return i5=e,i5}var o5,eit;function nit(){if(eit)return o5;eit=1;var t=tq(),e=tit(),n=iD(),r=aq(),i=Object.getOwnPropertySymbols,o=i?function(a){for(var s=[];a;)t(s,n(a)),a=e(a);return s}:r;return o5=o,o5}var a5,rit;function Bve(){if(rit)return a5;rit=1;var t=SC(),e=nit();function n(r,i){return t(r,e(r),i)}return a5=n,a5}var s5,iit;function Fve(){if(iit)return s5;iit=1;var t=rq(),e=nit(),n=t5();function r(i){return t(i,n,e)}return s5=r,s5}var l5,oit;function Hve(){if(oit)return l5;oit=1;var t=Object.prototype,e=t.hasOwnProperty;function n(r){var i=r.length,o=new r.constructor(i);return i&&typeof r[0]=="string"&&e.call(r,"index")&&(o.index=r.index,o.input=r.input),o}return l5=n,l5}var c5,ait;function u5(){if(ait)return c5;ait=1;var t=XY();function e(n){var r=new n.constructor(n.byteLength);return new t(r).set(new t(n)),r}return c5=e,c5}var d5,sit;function Wve(){if(sit)return d5;sit=1;var t=u5();function e(n,r){var i=r?t(n.buffer):n.buffer;return new n.constructor(i,n.byteOffset,n.byteLength)}return d5=e,d5}var h5,lit;function Vve(){if(lit)return h5;lit=1;var t=/\w*$/;function e(n){var r=new n.constructor(n.source,t.exec(n));return r.lastIndex=n.lastIndex,r}return h5=e,h5}var p5,cit;function Uve(){if(cit)return p5;cit=1;var t=By(),e=t?t.prototype:void 0,n=e?e.valueOf:void 0;function r(i){return n?Object(n.call(i)):{}}return p5=r,p5}var f5,uit;function Gve(){if(uit)return f5;uit=1;var t=u5();function e(n,r){var i=r?t(n.buffer):n.buffer;return new n.constructor(i,n.byteOffset,n.length)}return f5=e,f5}var g5,dit;function Yve(){if(dit)return g5;dit=1;var t=u5(),e=Wve(),n=Vve(),r=Uve(),i=Gve(),o="[object Boolean]",a="[object Date]",s="[object Map]",c="[object Number]",l="[object RegExp]",f="[object Set]",w="[object String]",u="[object Symbol]",j="[object ArrayBuffer]",S="[object DataView]",b="[object Float32Array]",T="[object Float64Array]",W="[object Int8Array]",G="[object Int16Array]",Y="[object Int32Array]",U="[object Uint8Array]",$="[object Uint8ClampedArray]",O="[object Uint16Array]",D="[object Uint32Array]";function m(C,p,d){var g=C.constructor;switch(p){case j:return t(C);case o:case a:return new g(+C);case S:return e(C,d);case b:case T:case W:case G:case Y:case U:case $:case O:case D:return i(C,d);case s:return new g;case c:case w:return new g(C);case l:return n(C);case f:return new g;case u:return r(C)}}return g5=m,g5}var m5,hit;function qve(){if(hit)return m5;hit=1;var t=jd(),e=Object.create,n=function(){function r(){}return function(i){if(!t(i))return{};if(e)return e(i);r.prototype=i;var o=new r;return r.prototype=void 0,o}}();return m5=n,m5}var v5,pit;function Xve(){if(pit)return v5;pit=1;var t=qve(),e=tit(),n=wD();function r(i){return typeof i.constructor=="function"&&!n(i)?t(e(i)):{}}return v5=r,v5}var y5,fit;function Zve(){if(fit)return y5;fit=1;var t=l_(),e=mp(),n="[object Map]";function r(i){return e(i)&&t(i)==n}return y5=r,y5}var b5,git;function Jve(){if(git)return b5;git=1;var t=Zve(),e=mD(),n=vD(),r=n&&n.isMap,i=r?e(r):t;return b5=i,b5}var x5,mit;function Kve(){if(mit)return x5;mit=1;var t=l_(),e=mp(),n="[object Set]";function r(i){return e(i)&&t(i)==n}return x5=r,x5}var w5,vit;function Qve(){if(vit)return w5;vit=1;var t=Kve(),e=mD(),n=vD(),r=n&&n.isSet,i=r?e(r):t;return w5=i,w5}var _5,yit;function tye(){if(yit)return _5;yit=1;var t=FP(),e=Pve(),n=Wrt(),r=Dve(),i=Ive(),o=jve(),a=$ve(),s=zve(),c=Bve(),l=Nq(),f=Fve(),w=l_(),u=Hve(),j=Yve(),S=Xve(),b=Ou(),T=uD(),W=Jve(),G=jd(),Y=Qve(),U=Hy(),$=t5(),O=1,D=2,m=4,C="[object Arguments]",p="[object Array]",d="[object Boolean]",g="[object Date]",E="[object Error]",M="[object Function]",P="[object GeneratorFunction]",V="[object Map]",q="[object Number]",H="[object Object]",R="[object RegExp]",I="[object Set]",A="[object String]",k="[object Symbol]",h="[object WeakMap]",_="[object ArrayBuffer]",y="[object DataView]",v="[object Float32Array]",z="[object Float64Array]",N="[object Int8Array]",x="[object Int16Array]",B="[object Int32Array]",Z="[object Uint8Array]",K="[object Uint8ClampedArray]",F="[object Uint16Array]",X="[object Uint32Array]",Q={};Q[C]=Q[p]=Q[_]=Q[y]=Q[d]=Q[g]=Q[v]=Q[z]=Q[N]=Q[x]=Q[B]=Q[V]=Q[q]=Q[H]=Q[R]=Q[I]=Q[A]=Q[k]=Q[Z]=Q[K]=Q[F]=Q[X]=!0,Q[E]=Q[M]=Q[h]=!1;function it(ot,et,nt,rt,ut,ct){var lt,ht=et&O,gt=et&D,ft=et&m;if(nt&&(lt=ut?nt(ot,rt,ut,ct):nt(ot)),lt!==void 0)return lt;if(!G(ot))return ot;var xt=b(ot);if(xt){if(lt=u(ot),!ht)return a(ot,lt)}else{var wt=w(ot),Tt=wt==M||wt==P;if(T(ot))return o(ot,ht);if(wt==H||wt==C||Tt&&!ut){if(lt=gt||Tt?{}:S(ot),!ht)return gt?c(ot,i(lt,ot)):s(ot,r(lt,ot))}else{if(!Q[wt])return ut?ot:{};lt=j(ot,wt,ht)}}ct||(ct=new t);var At=ct.get(ot);if(At)return At;ct.set(ot,lt),Y(ot)?ot.forEach(function(Ct){lt.add(it(Ct,et,nt,Ct,ot,ct))}):W(ot)&&ot.forEach(function(Ct,vt){lt.set(vt,it(Ct,et,nt,vt,ot,ct))});var Dt=ft?gt?f:l:gt?$:U,Ot=xt?void 0:Dt(ot);return e(Ot||ot,function(Ct,vt){Ot&&(vt=Ct,Ct=ot[vt]),n(lt,vt,it(Ct,et,nt,vt,ot,ct))}),lt}return _5=it,_5}var S5,bit;function eye(){if(bit)return S5;bit=1;var t=tye(),e=1,n=4;function r(i){return t(i,e|n)}return S5=r,S5}eye();var kC;(function(t){t.INCLUDE_ALL="INCLUDE_ALL",t.ADVANCED="ADVANCED",t.INVALID="INVALID",t.CONDITION="CONDITION",t.SPECIFIC_ITEMS="SPECIFIC_ITEMS"})(kC=kC||(kC={}));var MC;(function(t){t.PERIOD="PERIOD",t.DATE_RANGE="DATE_RANGE"})(MC=MC||(MC={}));var TC;(function(t){t.NUMERIC_RANGE="NUMERIC_RANGE"})(TC=TC||(TC={}));var C5;(function(t){t.YEARS="years",t.QUARTERS="quarters",t.MONTHS="months",t.WEEKS="weeks",t.DAYS="days",t.HOURS="hours",t.MINUTES="minutes"})(C5=C5||(C5={}));var k5;(function(t){t.DATE_TIME="datetime",t.NUMERIC="numeric",t.TEXT="text"})(k5=k5||(k5={})),Object.assign(Object.assign(Object.assign({},kC),MC),TC);var M5;(function(t){t.IS="members",t.IS_NOT="exclude",t.IS_WITHIN="isWithin",t.TOP="top",t.BOTTOM="bottom",t.AFTER="after",t.BEFORE="before",t.STARTS_WITH="startsWith",t.DOESNT_START_WITH="doesntStartWith",t.ENDS_WITH="endsWith",t.DOESNT_END_WITH="doesntEndWith",t.CONTAINS="contains",t.DOESNT_CONTAIN="doesntContain",t.EQUALS="equals",t.DOESNT_EQUAL="doesntEqual",t.IS_EMPTY="isEmpty",t.IS_NOT_EMPTY="isNotEmpty",t.GREATER_THAN="fromNotEqual",t.GREATER_THAN_OR_EQUAL="from",t.LESS_THAN="toNotEqual",t.LESS_THAN_OR_EQUAL="to",t.BETWEEN="between",t.IS_NOT_BETWEEN="isNotBetween",t.MULTIPLE_CONDITION="multipleCondition",t.NONE="none"})(M5=M5||(M5={}));const Lp=t=>{if(Array.isArray(t)){const[e,...n]=t;return n.length===0?Lp(e):{operator:"AND",left:Lp(e),right:Lp(n)}}return t};var T5;(function(t){t.and=(e,n)=>({operator:"AND",left:Lp(e),right:Lp(n)}),t.or=(e,n)=>({operator:"OR",left:Lp(e),right:Lp(n)})})(T5=T5||(T5={}));class nye{constructor(e){$t(this,"dataLoadService"),$t(this,"socket"),this.socket=e}destroy(){}prepareRequest(e){return Promise.resolve(e)}prepareLoadService(e,n=!1){return this.dataLoadService&&(n||this.dataLoadService.isFormattingChanges(e))?this.dataLoadService:new Hnt(this.socket)}prepareDataService(e){const n=new $a(e);return{loadData:(r,i,o)=>{if(!n)throw new Error('No DataService defined during "prepareDataService"');return n.loadData(r,{pageSize:i,isPaginated:o})}}}loadInitData(e,n=!0,r=100,i=!1){return UG(this,null,function*(){const o=n?r:void 0;try{const a=yield this.prepareRequest(e);this.dataLoadService=this.prepareLoadService(a,i);const{loadData:s}=this.prepareDataService(this.dataLoadService),{rowsTreeService:c,columnsTreeService:l,cornerTreeService:f,isLastPage:w}=yield s(i?void 0:a,o,n);return this.transformTreeStructuresToResultData({rowsTreeService:c,columnsTreeService:l,cornerTreeService:f,isLastPage:w})}catch(a){console.error('Error during loading initial page"',a)}return irt})}buildColumnsHelper(e,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(e,n,a,s)}):n.push({name:a,type:e})}transformGridToColumns(e,n){const r=[];return n==null||n[0].forEach(i=>{typeof i!="string"&&this.buildColumnsHelper(e,r,"",i)}),r||[]}transformTreeStructuresToResultData(e){const{rowsTreeService:n,columnsTreeService:r,cornerTreeService:i}=e;if(!n||!r||!i)return irt;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),f=[...c,...l];let w=[];w=n.extractData(r);const u=w.length,j=f.length,S=[];let b=0,T=0;return Array.from(Array(u)).map((W,G)=>{const Y=[];Array.from(Array(j)).map((U,$)=>{var O,D;let m;if($<c.length){b=G,T=$;try{m=s[b][T]}catch{throw new Error(`Can't find data item for ${b}-${T}`)}}else{b=G,T=$-c.length;try{m=w[b][T]}catch{throw new Error(`Can't find data item for ${b}-${T}`)}}let C;if(typeof m=="string"){const p=m.split("-");if(p.length===2){const d=Number(p[0]),g=Number(p[1]);m=s[d][g],C=((O=m.value)==null?void 0:O.toString())||""}else C=""}else C=((D=m.value)==null?void 0:D.toString())||"";Y.push({data:C,text:C})}),S.push(Y)}),{table:{columns:f,rows:S},grids:{corner:o,rows:s,columns:a,values:w}}}}const rye={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}}"}},iye={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}}"}},oye="sdkRestClient",aye={en:rye,uk:iye};function sye(){return rrt({resource:aye,language:"en",namespace:oye})}sye();function lye(t){return t.type==="sso"}function cye(t){return t.type==="bearer"}function uye(t){return t.type==="wat"}var Po=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global||{},ha={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 dye(t){return t&&DataView.prototype.isPrototypeOf(t)}if(ha.arrayBuffer)var hye=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],pye=ArrayBuffer.isView||function(t){return t&&hye.indexOf(Object.prototype.toString.call(t))>-1};function mm(t){if(typeof t!="string"&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||t==="")throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function A5(t){return typeof t!="string"&&(t=String(t)),t}function E5(t){var e={next:function(){var n=t.shift();return{done:n===void 0,value:n}}};return ha.iterable&&(e[Symbol.iterator]=function(){return e}),e}function to(t){this.map={},t instanceof to?t.forEach(function(e,n){this.append(n,e)},this):Array.isArray(t)?t.forEach(function(e){if(e.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}to.prototype.append=function(t,e){t=mm(t),e=A5(e);var n=this.map[t];this.map[t]=n?n+", "+e:e},to.prototype.delete=function(t){delete this.map[mm(t)]},to.prototype.get=function(t){return t=mm(t),this.has(t)?this.map[t]:null},to.prototype.has=function(t){return this.map.hasOwnProperty(mm(t))},to.prototype.set=function(t,e){this.map[mm(t)]=A5(e)},to.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},to.prototype.keys=function(){var t=[];return this.forEach(function(e,n){t.push(n)}),E5(t)},to.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),E5(t)},to.prototype.entries=function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),E5(t)},ha.iterable&&(to.prototype[Symbol.iterator]=to.prototype.entries);function O5(t){if(!t._noBody){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}}function xit(t){return new Promise(function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}})}function fye(t){var e=new FileReader,n=xit(e);return e.readAsArrayBuffer(t),n}function gye(t){var e=new FileReader,n=xit(e),r=/charset=([A-Za-z0-9_-]+)/.exec(t.type),i=r?r[1]:"utf-8";return e.readAsText(t,i),n}function mye(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;r<e.length;r++)n[r]=String.fromCharCode(e[r]);return n.join("")}function wit(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function _it(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?typeof t=="string"?this._bodyText=t:ha.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:ha.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:ha.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():ha.arrayBuffer&&ha.blob&&dye(t)?(this._bodyArrayBuffer=wit(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ha.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||pye(t))?this._bodyArrayBuffer=wit(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof t=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ha.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ha.blob&&(this.blob=function(){var t=O5(this);if(t)return t;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 t=O5(this);return t||(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(ha.blob)return this.blob().then(fye);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var t=O5(this);if(t)return t;if(this._bodyBlob)return gye(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(mye(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},ha.formData&&(this.formData=function(){return this.text().then(bye)}),this.json=function(){return this.text().then(JSON.parse)},this}var vye=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function yye(t){var e=t.toUpperCase();return vye.indexOf(e)>-1?e:t}function rh(t,e){if(!(this instanceof rh))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e=e||{};var n=e.body;if(t instanceof rh){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new to(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,!n&&t._bodyInit!=null&&(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",(e.headers||!this.headers)&&(this.headers=new to(e.headers)),this.method=yye(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.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")&&(e.cache==="no-store"||e.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()}}}rh.prototype.clone=function(){return new rh(this,{body:this._bodyInit})};function bye(t){var e=new FormData;return t.trim().split("&").forEach(function(n){if(n){var r=n.split("="),i=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(o))}}),e}function xye(t){var e=new to,n=t.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{e.append(o,a)}catch(s){console.warn("Response "+s.message)}}}),e}_it.call(rh.prototype);function ql(t,e){if(!(this instanceof ql))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=e.status===void 0?200:e.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=e.statusText===void 0?"":""+e.statusText,this.headers=new to(e.headers),this.url=e.url||"",this._initBody(t)}_it.call(ql.prototype),ql.prototype.clone=function(){return new ql(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new to(this.headers),url:this.url})},ql.error=function(){var t=new ql(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var wye=[301,302,303,307,308];ql.redirect=function(t,e){if(wye.indexOf(e)===-1)throw new RangeError("Invalid status code");return new ql(null,{status:e,headers:{location:t}})};var ih=Po.DOMException;try{new ih}catch{ih=function(e,n){this.message=e,this.name=n;var r=Error(e);this.stack=r.stack},ih.prototype=Object.create(Error.prototype),ih.prototype.constructor=ih}function P5(t,e){return new Promise(function(n,r){var i=new rh(t,e);if(i.signal&&i.signal.aborted)return r(new ih("Aborted","AbortError"));var o=new XMLHttpRequest;function a(){o.abort()}o.onload=function(){var l={statusText:o.statusText,headers:xye(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 f="response"in o?o.response:o.responseText;setTimeout(function(){n(new ql(f,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 ih("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&&(ha.blob?o.responseType="blob":ha.arrayBuffer&&(o.responseType="arraybuffer")),e&&typeof e.headers=="object"&&!(e.headers instanceof to||Po.Headers&&e.headers instanceof Po.Headers)){var c=[];Object.getOwnPropertyNames(e.headers).forEach(function(l){c.push(mm(l)),o.setRequestHeader(l,A5(e.headers[l]))}),i.headers.forEach(function(l,f){c.indexOf(f)===-1&&o.setRequestHeader(f,l)})}else i.headers.forEach(function(l,f){o.setRequestHeader(f,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)})}P5.polyfill=!0,Po.fetch||(Po.fetch=P5,Po.Headers=to,Po.Request=rh,Po.Response=ql);const _ye=Object.freeze(Object.defineProperty({__proto__:null,get DOMException(){return ih},Headers:to,Request:rh,Response:ql,fetch:P5},Symbol.toStringTag,{value:"Module"})),Sye=Nc(_ye);var Sit,Cit;function Cye(){return Cit||(Cit=1,Sit=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){var r=n(1),i=typeof importScripts=="function";t.exports=r(i?self:window)},function(t,e,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 f=i.reduce(function(u,j){return[j].concat(u)},[]),w=Promise.resolve(c);return f.forEach(function(u){var j=u.request,S=u.requestError;(j||S)&&(w=w.then(function(b){return j.apply(void 0,r(b))},S))}),w=w.then(function(u){var j=new(Function.prototype.bind.apply(Request,[null].concat(r(u))));return a(j).then(function(S){return S.request=j,S}).catch(function(S){return S.request=j,Promise.reject(S)})}),f.forEach(function(u){var j=u.response,S=u.responseError;(j||S)&&(w=w.then(j,S))}),w}t.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),f=0;f<c;f++)l[f]=arguments[f];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(t,e){t.exports=Sye}])),Sit}Cye();class kye{constructor(){$t(this,"events"),$t(this,"ready",!0),$t(this,"onMessageCallback"),this.events=new zy,this.ready=!0}isReady(){return this.ready}on(e,n){this.events.on(e,n)}off(e,n){this.events.removeListener(e,n)}send(e,...n){const r=e||n;this.ready=!!r||!0}onMessage(e,n,r){this.onMessageCallback=r;const i=()=>{};return this.on("message",i),()=>{this.off("message",i)}}trigger(e,n){return new Promise(r=>{setTimeout(()=>{this.onMessageCallback&&this.onMessageCallback(e,n),r()},10)})}}const Mye="pivot2";class Tye{constructor(e,n=!1){$t(this,"_socket"),$t(this,"_httpClient"),$t(this,"_mockSocket"),this._httpClient=e,this._mockSocket=n}getQueryOptionsSso(e){return{}}getQueryOptionsBearer(e){const n=e.bearer;if(!n)throw new Error("Missing bearer token");return{token:n}}getQueryOptionsWat(e){const n=new Headers;e.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 kye,this._socket;const e=this._httpClient.auth,n=this._httpClient.url;let r={};cye(e)?r=this.getQueryOptionsBearer(e):uye(e)?r=this.getQueryOptionsWat(e):lye(e)&&(r=this.getQueryOptionsSso(e)),this._socket=new a3(n+Mye,r)}return this._socket}}class kit{constructor(e,n=!1){$t(this,"socketBuilder"),this.socketBuilder=new Tye(e,n)}queryData(e,n,r,i){return UG(this,null,function*(){return new nye(this.socketBuilder.socket).loadInitData(e,n,r,i)})}prepareDataService(){const e=new Hnt(this.socketBuilder.socket);return new $a(e)}preparePivotBuilder(){const e=this.prepareDataService();return new Rge(e)}}(function(){try{if(typeof document<"u"){var t=document.createElement("style");t.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(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();var Mit=function(t,e,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(f){try{l(r.next(f))}catch(w){a(w)}}function c(f){try{l(r.throw(f))}catch(w){a(w)}}function l(f){f.done?o(f.value):i(f.value).then(s,c)}l((r=r.apply(t,e||[])).next())})};const Aye=2e4,D5="Unspecified reason";class Eye{constructor(e,n=new kit(e),r){Pye(e),this.queryApi=new OJt(e),this.taskManager=new kJt(this.queryApi,n),this.shouldSkipHighlightsWithoutAttributes=r??!1}executeQuery(e,n){Tit(e);const r=new FG("SEND_JAQL_QUERY",e,Object.assign(Object.assign({},n||{}),{shouldSkipHighlightsWithoutAttributes:this.shouldSkipHighlightsWithoutAttributes||!1}));return{resultPromise:new Promise((i,o)=>{this.taskManager.executeQuerySending(r).then(a=>{a.status===vs.ExecutionResultStatus.SUCCESS?i(a.result):o(a.error)})}),cancel:i=>this.taskManager.cancel(r.taskId,i||D5)}}executeCsvQuery(e,n){Tit(e);const r=new FG("SEND_DOWNLOAD_CSV_QUERY",e,Object.assign(Object.assign({},n||{}),{shouldSkipHighlightsWithoutAttributes:this.shouldSkipHighlightsWithoutAttributes||!1}));return{resultPromise:new Promise((i,o)=>{this.taskManager.executeDownloadCsvSending(r).then(a=>{a.status===vs.ExecutionResultStatus.SUCCESS?i(a.result):o(a.error)})}),cancel:i=>this.taskManager.cancel(r.taskId,i||D5)}}executePivotQuery(e,n){Oye(e);const r=new TJt("SEND_JAQL_QUERY",e,Object.assign(Object.assign({},n||{}),{shouldSkipHighlightsWithoutAttributes:this.shouldSkipHighlightsWithoutAttributes||!1}));return{resultPromise:new Promise((i,o)=>{this.taskManager.executePivotQuerySending(r).then(a=>{a.status===vs.ExecutionResultStatus.SUCCESS?i(a.result):o(a.error)})}),cancel:i=>this.taskManager.cancel(r.taskId,i||D5)}}getDataSourceFields(e,n=9999,r=0){return Mit(this,void 0,void 0,function*(){return(yield this.queryApi.getDataSourceFields(e,n,r))||[]})}getDataSourceSchema(e){return this.queryApi.getDataSourceSchema(e)}getDataSourceList(){return Mit(this,void 0,void 0,function*(){return(yield this.queryApi.getDataSourceList())||[]})}}function Tit(t){const{attributes:e,measures:n,filters:r,highlights:i,count:o,offset:a}=t;if(o&&o<0)throw new Ra("errors.invalidCountNegative",{count:o.toString()});if(a&&a<0)throw new Ra("errors.invalidOffset",{offset:a.toString()});if(e.length+n.length===0)throw new Ra("errors.noDimensionsOrMeasures");e.forEach(s=>{if(!s.skipValidation&&!un.isAttribute(s))throw new Ra("errors.invalidAttribute",{attributeName:s.name})}),n.forEach(s=>{if(!s.skipValidation&&!un.isMeasure(s))throw new Ra("errors.invalidMeasure",{measureName:s.name})}),r.forEach(s=>{if(!s.skipValidation&&!un.isFilter(s))throw new Ra("errors.invalidFilter",{filterName:s.name})}),i.forEach(s=>{if(!s.skipValidation&&!un.isFilter(s))throw new Ra("errors.invalidHighlight",{highlightName:s.name})})}function Oye(t){const{rowsAttributes:e,columnsAttributes:n,measures:r,filters:i,highlights:o,count:a,offset:s}=t;if(a&&a<0)throw new Ra("errors.invalidCountNegative",{count:a.toString()});if(s&&s<0)throw new Ra("errors.invalidOffset",{offset:s.toString()});if(e.length+n.length+r.length===0)throw new Ra("errors.noDimensionsOrMeasures");i.forEach(c=>{if(!c.skipValidation&&!un.isFilter(c))throw new Ra("errors.invalidFilter",{filterName:c.name})}),o.forEach(c=>{if(!c.skipValidation&&!un.isFilter(c))throw new Ra("errors.invalidHighlight",{highlightName:c.name})})}function Pye(t){if(!t)throw new Ra("errors.missingHttpClient");if(!t.post)throw new Ra("errors.missingPostMethod")}const Dye=2e4,Lye={enabled:!0,delay:500},Nye={locale:VT(),dateConfig:R2,loadingIndicatorConfig:Lye,language:"en",queryCacheConfig:{enabled:!1},queryLimit:Dye,accessibilityConfig:{enabled:!1},errorBoundaryConfig:{alwaysShowErrorText:!1}};function Iye(t,e,n){return co(this,null,function*(){const r=yield Rye(e,n);return di.withOptions({mergeArrays:!1},Nye,r,t)})}function Rye(t,e=!1){return co(this,null,function*(){const n=yield t.get("api/globals");if(!n)throw new Error("Failed to load server settings");const r=e?{colors:Av().palette.variantColors}:yield dF(cF(n.designSettings),t);return{serverThemeSettings:lF(n.designSettings,r),serverLanguage:n.language,serverVersion:n.version}})}class Ait{constructor(e,n,r){Me(this,"httpClient"),Me(this,"pivotClient"),Me(this,"queryClient"),Me(this,"defaultDataSource"),Me(this,"settings"),Me(this,"queryCache"),window.addEventListener("unhandledrejection",i=>{i.reason instanceof Error?console.error(i.reason.message):console.error(i.reason)}),this.httpClient=new DZt(e,n,"sdk-ui-1.15.0"),this.pivotClient=new kit(this.httpClient),this.queryClient=new Eye(this.httpClient,this.pivotClient),this.queryCache={clear:pF},r!==void 0&&(this.defaultDataSource=r)}}const Eit=t=>co(void 0,[t],function*({defaultDataSource:e,url:n,token:r,wat:i,ssoEnabled:o,appConfig:a,enableSilentPreAuth:s}){if(n!==void 0){const c=cZt({url:n,token:r,wat:i,ssoEnabled:o,enableSilentPreAuth:s});if(c){const l=new Ait(n,c,e),f=yield l.httpClient.login(),w=kG(c)||!f;return l.settings=yield Iye(a||{},l.httpClient,w),l}}throw new Cn("errors.sisenseContextNoAuthentication")}),jye=t=>"levels"in t&&t.isCascading===!0;var U0=(t=>(t.HIGHLIGHT="highlight",t.FILTER="filter",t))(U0||{});const $ye=t=>({columns:t.columns.map(e=>({widthPercentage:e.width,rows:(e.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}))}})}))}),zye=t=>{var e,n;const r=Rf(t.jaql,t.instanceid);return r.disabled=(e=t.disabled)!=null?e:!1,r.locked=(n=t.locked)!=null?n:!1,r},Bye=t=>{var e,n;const r=t.levels.map(o=>Rf(o)),i=new j4(r);return i.disabled=(e=t.disabled)!=null?e:!1,i.locked=(n=t.locked)!=null?n:!1,i};function Fye(t){return t.map(e=>jye(e)?Bye(e):zye(e))}function Hye(t=[]){const e={};return t.forEach(n=>{var r,i,o,a;e[n.oid]={applyMode:((r=n.options)==null?void 0:r.dashboardFiltersMode)==="filter"?U0.FILTER:U0.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}}),e}class Oit{constructor(e,n){Me(this,"oid"),Me(this,"title"),Me(this,"dataSource"),Me(this,"widgets"),Me(this,"layout"),Me(this,"filters"),Me(this,"widgetFilterOptions");const{oid:r,title:i,datasource:o,widgets:a,layout:s,filters:c}=e;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=>ibe(l,n)))||[],this.layout=s?$ye(s):{columns:[]},this.filters=Fye(c||[]),this.widgetFilterOptions=Hye(a)}getDashboardProps(){return{title:this.title,defaultDataSource:this.dataSource,widgets:this.widgets,layout:this.layout,filters:this.filters,widgetFilterOptions:this.widgetFilterOptions}}}function Pit(t,e){return co(this,arguments,function*(n,r,i={},o){const{includeWidgets:a,includeFilters:s}=i,c=new Zv(n),l=["oid","title","datasource"];a&&l.push("layout"),s&&l.push("filters");const f=[c.getDashboard(r,{fields:l}),a?c.getDashboardWidgets(r):void 0],[w,u]=yield Promise.all(f);if(!w)throw new Error(`Dashboard with oid ${r} not found`);return u&&(w.widgets=u),new Oit(w,o)})}function Dit(t){return co(this,arguments,function*(e,n={}){const{includeWidgets:r,searchByTitle:i}=n,o=new Zv(e),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 Oit(l)))||[]})}function Np(t,e,n){const r=Gx(t);return!r||e.some(i=>!yd(r[i],t[i]))?!0:n?n(t,r):!1}function oh({enabled:t},e){const n=Jt(!1);return Ne((r,i=!1)=>{const o=t===!1||!r,a=n.current;return n.current=o,!o&&(a||e||i)},[t,e])}function yl(t,e){switch(e.type){case"loading":return Wye(t);case"success":return Vye(e.data);case"error":return Uye(e.error)}}function Wye(t){return t.status==="loading"?t:xe(re({},t),{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0})}function Vye(t){return{isLoading:!1,isError:!1,isSuccess:!0,data:t,status:"success",error:void 0}}function Uye(t){return{isLoading:!1,isError:!0,isSuccess:!1,data:void 0,status:"error",error:t}}const Lit=Eu("useGetDashboardModel")(Gye);function Gye(t){const e=Np(t,["dashboardOid"]),n=oh(t,e),[r,i]=as(yl,{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0,data:void 0}),{isInitialized:o,app:a}=hr(),{themeSettings:s}=Kn();return he(()=>{if(o||i({type:"error",error:new Cn("errors.sisenseContextNotFound")}),n(a)){i({type:"loading"});const{dashboardOid:c,includeWidgets:l,includeFilters:f}=t;Pit(a.httpClient,c,{includeWidgets:l,includeFilters:f},s).then(w=>{i({type:"success",data:w})}).catch(w=>{i({type:"error",error:w})})}},[a,o,t,n,s]),r.data&&e?L5(yl(r,{type:"loading"})):L5(r)}function L5(t){const e=t,{data:n}=e,r=la(e,["data"]);return xe(re({},r),{dashboard:n})}const Yye=Eu("useGetDashboardModels")(qye);function qye(t={}){const e=Np(t,["includeWidgets"]),n=oh(t,e),[r,i]=as(yl,{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0,data:void 0}),{isInitialized:o,app:a}=hr();return he(()=>{o||i({type:"error",error:new Cn("errors.sisenseContextNotFound")}),n(a)&&(i({type:"loading"}),Dit(a.httpClient,t).then(s=>{i({type:"success",data:s})}).catch(s=>{i({type:"error",error:s})}))},[a,o,t,n]),r.data&&e?N5(yl(r,{type:"loading"})):N5(r)}function N5(t){const e=t,{data:n}=e,r=la(e,["data"]);return xe(re({},r),{dashboards:n})}function Ip(t,e){return t===void 0&&e===void 0?!1:[t,e].some(n=>n===void 0)||t.length!==e.length?!0:t.length===0&&e.length===0?!1:t.some((n,r)=>!WW(n,e[r],(i,o)=>{const a=Nit(i)?xe(re({},i.toJSON()),{name:void 0}):i,s=Nit(o)?xe(re({},o.toJSON()),{name:void 0}):o;return yd(a,s)}))}function Nit(t){return"toJSON"in t&&typeof t.toJSON=="function"}function Xye(t,e,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,f=a;return o===void 0&&a===void 0?!0:[o,a].some(w=>w===void 0)||s.operator!==l.operator?!1:c.instanceid&&f.instanceid?!Ip(t==null?void 0:t.filter(w=>w.guid===c.instanceid),e==null?void 0:e.filter(w=>w.guid===f.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 Iit(t,e){return yl(t,e)}const Zye=Eu("useExecutePivotQuery")(Rit);function Rit(t){const e=Kye(t),n=oh(t,e),[r,i]=as(Iit,{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0,data:void 0}),{isInitialized:o,app:a}=hr();return he(()=>{if(o||i({type:"error",error:new Cn("errors.executeQueryNoSisenseContext")}),n(a)){i({type:"loading"});const{dataSource:s,rows:c,columns:l,values:f,grandTotals:w,filters:u,highlights:j,count:S,offset:b,onBeforeQuery:T}=t,{filters:W,relations:G}=fc(u);lPt({dataSource:s,rows:c,columns:l,values:f,grandTotals:w,filters:W,filterRelations:G,highlights:j,count:S,offset:b},a,{onBeforeQuery:T}).then(Y=>{i({type:"success",data:Y})}).catch(Y=>{i({type:"error",error:Y})})}},[a,o,t,n]),r.data&&e?Iit(r,{type:"loading"}):r}const Jye=["dataSource","rows","columns","values","grandTotals","count","offset","onBeforeQuery"];function Kye(t){return Np(t,Jye,(e,n)=>{const{filters:r}=fc(n.filters),{filters:i}=fc(e.filters);return Ip(r,i)||Ip(n.highlights,e.highlights)})}var Qye=yu,t0e=no,e0e=us,n0e="[object String]";function r0e(t){return typeof t=="string"||!t0e(t)&&e0e(t)&&Qye(t)==n0e}var i0e=r0e;const o0e=An(i0e);function jit(t){return o0e(t)?{direction:t}:t}function $it(t,e){return{valuesIndex:t.field-(e.rows||[]).length-(e.columns||[]).length,columnsMembersPath:Object.values(t.measurePath||{})}}function a0e({type:t,settings:e,sortDetails:n},r){return t==="simple"?n.field>=(r.rows||[]).length?[{rowIndex:0,sort:{direction:eg(e[0].direction),by:$it(n,r)}}]:[{rowIndex:n.field,sort:{direction:eg(e[0].direction)}}]:e.reduce((i,o,a)=>{var s;const c=(s=r.rows)==null?void 0:s[a],l=(c==null?void 0:c.sortType)&&jit(c==null?void 0:c.sortType),f={direction:eg(o.direction),by:$it(n,r)};return!o.selected&&yd(l==null?void 0:l.by,f.by)&&i.push({rowIndex:a,sort:null}),o.selected&&i.push({rowIndex:a,sort:f}),i},[])}const zit=t=>re({attribute:kx(t),includeSubTotals:t.includeSubTotals||!1},t.sortType&&{sort:jit(t.sortType)}),s0e=t=>({measure:x8(t),totalsCalculation:t.totalsCalculation,dataBars:t.dataBars||!1}),Bit=t=>{const{rows:e=[],columns:n=[],values:r=[],grandTotals:i}=t,o=e.flatMap(zit),a=n.flatMap(zit),s=r.flatMap(s0e);return{rows:o,columns:a,values:s,grandTotals:i}},l0e=({dataSet:t,dataOptionsInternal:e,filters:n,highlights:r,refreshCounter:i})=>{const o=Jt(null),{rows:a,columns:s,values:c,grandTotals:l}=Bit(e),f=Ne(T=>{o.current=T},[i]),w={dataSource:t,rows:a,columns:s,values:c,grandTotals:l,filters:n,highlights:r,onBeforeQuery:f},{isLoading:u,isSuccess:j,isError:S,error:b}=Rit(w);return{isLoading:u,isSuccess:j,isError:S,error:b,jaql:o.current}};var I5={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{e.append(o,a)}catch(s){console.warn("Response "+s.message)}}}),e}_it.call(rh.prototype);function ql(t,e){if(!(this instanceof ql))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=e.status===void 0?200:e.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=e.statusText===void 0?"":""+e.statusText,this.headers=new to(e.headers),this.url=e.url||"",this._initBody(t)}_it.call(ql.prototype),ql.prototype.clone=function(){return new ql(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new to(this.headers),url:this.url})},ql.error=function(){var t=new ql(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var wye=[301,302,303,307,308];ql.redirect=function(t,e){if(wye.indexOf(e)===-1)throw new RangeError("Invalid status code");return new ql(null,{status:e,headers:{location:t}})};var ih=Po.DOMException;try{new ih}catch{ih=function(e,n){this.message=e,this.name=n;var r=Error(e);this.stack=r.stack},ih.prototype=Object.create(Error.prototype),ih.prototype.constructor=ih}function P5(t,e){return new Promise(function(n,r){var i=new rh(t,e);if(i.signal&&i.signal.aborted)return r(new ih("Aborted","AbortError"));var o=new XMLHttpRequest;function a(){o.abort()}o.onload=function(){var l={statusText:o.statusText,headers:xye(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 f="response"in o?o.response:o.responseText;setTimeout(function(){n(new ql(f,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 ih("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&&(ha.blob?o.responseType="blob":ha.arrayBuffer&&(o.responseType="arraybuffer")),e&&typeof e.headers=="object"&&!(e.headers instanceof to||Po.Headers&&e.headers instanceof Po.Headers)){var c=[];Object.getOwnPropertyNames(e.headers).forEach(function(l){c.push(mm(l)),o.setRequestHeader(l,A5(e.headers[l]))}),i.headers.forEach(function(l,f){c.indexOf(f)===-1&&o.setRequestHeader(f,l)})}else i.headers.forEach(function(l,f){o.setRequestHeader(f,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)})}P5.polyfill=!0,Po.fetch||(Po.fetch=P5,Po.Headers=to,Po.Request=rh,Po.Response=ql);const _ye=Object.freeze(Object.defineProperty({__proto__:null,get DOMException(){return ih},Headers:to,Request:rh,Response:ql,fetch:P5},Symbol.toStringTag,{value:"Module"})),Sye=Nc(_ye);var Sit,Cit;function Cye(){return Cit||(Cit=1,Sit=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){var r=n(1),i=typeof importScripts=="function";t.exports=r(i?self:window)},function(t,e,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 f=i.reduce(function(u,j){return[j].concat(u)},[]),w=Promise.resolve(c);return f.forEach(function(u){var j=u.request,S=u.requestError;(j||S)&&(w=w.then(function(b){return j.apply(void 0,r(b))},S))}),w=w.then(function(u){var j=new(Function.prototype.bind.apply(Request,[null].concat(r(u))));return a(j).then(function(S){return S.request=j,S}).catch(function(S){return S.request=j,Promise.reject(S)})}),f.forEach(function(u){var j=u.response,S=u.responseError;(j||S)&&(w=w.then(j,S))}),w}t.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),f=0;f<c;f++)l[f]=arguments[f];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(t,e){t.exports=Sye}])),Sit}Cye();class kye{constructor(){$t(this,"events"),$t(this,"ready",!0),$t(this,"onMessageCallback"),this.events=new zy,this.ready=!0}isReady(){return this.ready}on(e,n){this.events.on(e,n)}off(e,n){this.events.removeListener(e,n)}send(e,...n){const r=e||n;this.ready=!!r||!0}onMessage(e,n,r){this.onMessageCallback=r;const i=()=>{};return this.on("message",i),()=>{this.off("message",i)}}trigger(e,n){return new Promise(r=>{setTimeout(()=>{this.onMessageCallback&&this.onMessageCallback(e,n),r()},10)})}}const Mye="pivot2";class Tye{constructor(e,n=!1){$t(this,"_socket"),$t(this,"_httpClient"),$t(this,"_mockSocket"),this._httpClient=e,this._mockSocket=n}getQueryOptionsSso(e){return{}}getQueryOptionsBearer(e){const n=e.bearer;if(!n)throw new Error("Missing bearer token");return{token:n}}getQueryOptionsWat(e){const n=new Headers;e.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 kye,this._socket;const e=this._httpClient.auth,n=this._httpClient.url;let r={};cye(e)?r=this.getQueryOptionsBearer(e):uye(e)?r=this.getQueryOptionsWat(e):lye(e)&&(r=this.getQueryOptionsSso(e)),this._socket=new a3(n+Mye,r)}return this._socket}}class kit{constructor(e,n=!1){$t(this,"socketBuilder"),this.socketBuilder=new Tye(e,n)}queryData(e,n,r,i){return UG(this,null,function*(){return new nye(this.socketBuilder.socket).loadInitData(e,n,r,i)})}prepareDataService(){const e=new Hnt(this.socketBuilder.socket);return new $a(e)}preparePivotBuilder(){const e=this.prepareDataService();return new Rge(e)}}(function(){try{if(typeof document<"u"){var t=document.createElement("style");t.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(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();var Mit=function(t,e,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(f){try{l(r.next(f))}catch(w){a(w)}}function c(f){try{l(r.throw(f))}catch(w){a(w)}}function l(f){f.done?o(f.value):i(f.value).then(s,c)}l((r=r.apply(t,e||[])).next())})};const Aye=2e4,D5="Unspecified reason";class Eye{constructor(e,n=new kit(e),r){Pye(e),this.queryApi=new OJt(e),this.taskManager=new kJt(this.queryApi,n),this.shouldSkipHighlightsWithoutAttributes=r??!1}executeQuery(e,n){Tit(e);const r=new FG("SEND_JAQL_QUERY",e,Object.assign(Object.assign({},n||{}),{shouldSkipHighlightsWithoutAttributes:this.shouldSkipHighlightsWithoutAttributes||!1}));return{resultPromise:new Promise((i,o)=>{this.taskManager.executeQuerySending(r).then(a=>{a.status===vs.ExecutionResultStatus.SUCCESS?i(a.result):o(a.error)})}),cancel:i=>this.taskManager.cancel(r.taskId,i||D5)}}executeCsvQuery(e,n){Tit(e);const r=new FG("SEND_DOWNLOAD_CSV_QUERY",e,Object.assign(Object.assign({},n||{}),{shouldSkipHighlightsWithoutAttributes:this.shouldSkipHighlightsWithoutAttributes||!1}));return{resultPromise:new Promise((i,o)=>{this.taskManager.executeDownloadCsvSending(r).then(a=>{a.status===vs.ExecutionResultStatus.SUCCESS?i(a.result):o(a.error)})}),cancel:i=>this.taskManager.cancel(r.taskId,i||D5)}}executePivotQuery(e,n){Oye(e);const r=new TJt("SEND_JAQL_QUERY",e,Object.assign(Object.assign({},n||{}),{shouldSkipHighlightsWithoutAttributes:this.shouldSkipHighlightsWithoutAttributes||!1}));return{resultPromise:new Promise((i,o)=>{this.taskManager.executePivotQuerySending(r).then(a=>{a.status===vs.ExecutionResultStatus.SUCCESS?i(a.result):o(a.error)})}),cancel:i=>this.taskManager.cancel(r.taskId,i||D5)}}getDataSourceFields(e,n=9999,r=0){return Mit(this,void 0,void 0,function*(){return(yield this.queryApi.getDataSourceFields(e,n,r))||[]})}getDataSourceSchema(e){return this.queryApi.getDataSourceSchema(e)}getDataSourceList(){return Mit(this,void 0,void 0,function*(){return(yield this.queryApi.getDataSourceList())||[]})}}function Tit(t){const{attributes:e,measures:n,filters:r,highlights:i,count:o,offset:a}=t;if(o&&o<0)throw new Ra("errors.invalidCountNegative",{count:o.toString()});if(a&&a<0)throw new Ra("errors.invalidOffset",{offset:a.toString()});if(e.length+n.length===0)throw new Ra("errors.noDimensionsOrMeasures");e.forEach(s=>{if(!s.skipValidation&&!un.isAttribute(s))throw new Ra("errors.invalidAttribute",{attributeName:s.name})}),n.forEach(s=>{if(!s.skipValidation&&!un.isMeasure(s))throw new Ra("errors.invalidMeasure",{measureName:s.name})}),r.forEach(s=>{if(!s.skipValidation&&!un.isFilter(s))throw new Ra("errors.invalidFilter",{filterName:s.name})}),i.forEach(s=>{if(!s.skipValidation&&!un.isFilter(s))throw new Ra("errors.invalidHighlight",{highlightName:s.name})})}function Oye(t){const{rowsAttributes:e,columnsAttributes:n,measures:r,filters:i,highlights:o,count:a,offset:s}=t;if(a&&a<0)throw new Ra("errors.invalidCountNegative",{count:a.toString()});if(s&&s<0)throw new Ra("errors.invalidOffset",{offset:s.toString()});if(e.length+n.length+r.length===0)throw new Ra("errors.noDimensionsOrMeasures");i.forEach(c=>{if(!c.skipValidation&&!un.isFilter(c))throw new Ra("errors.invalidFilter",{filterName:c.name})}),o.forEach(c=>{if(!c.skipValidation&&!un.isFilter(c))throw new Ra("errors.invalidHighlight",{highlightName:c.name})})}function Pye(t){if(!t)throw new Ra("errors.missingHttpClient");if(!t.post)throw new Ra("errors.missingPostMethod")}const Dye=2e4,Lye={enabled:!0,delay:500},Nye={locale:VT(),dateConfig:R2,loadingIndicatorConfig:Lye,language:"en",queryCacheConfig:{enabled:!1},queryLimit:Dye,accessibilityConfig:{enabled:!1},errorBoundaryConfig:{alwaysShowErrorText:!1}};function Iye(t,e,n){return co(this,null,function*(){const r=yield Rye(e,n);return di.withOptions({mergeArrays:!1},Nye,r,t)})}function Rye(t,e=!1){return co(this,null,function*(){const n=yield t.get("api/globals");if(!n)throw new Error("Failed to load server settings");const r=e?{colors:Av().palette.variantColors}:yield dF(cF(n.designSettings),t);return{serverThemeSettings:lF(n.designSettings,r),serverLanguage:n.language,serverVersion:n.version}})}class Ait{constructor(e,n,r){Me(this,"httpClient"),Me(this,"pivotClient"),Me(this,"queryClient"),Me(this,"defaultDataSource"),Me(this,"settings"),Me(this,"queryCache"),window.addEventListener("unhandledrejection",i=>{i.reason instanceof Error?console.error(i.reason.message):console.error(i.reason)}),this.httpClient=new DZt(e,n,"sdk-ui-1.15.1"),this.pivotClient=new kit(this.httpClient),this.queryClient=new Eye(this.httpClient,this.pivotClient),this.queryCache={clear:pF},r!==void 0&&(this.defaultDataSource=r)}}const Eit=t=>co(void 0,[t],function*({defaultDataSource:e,url:n,token:r,wat:i,ssoEnabled:o,appConfig:a,enableSilentPreAuth:s}){if(n!==void 0){const c=cZt({url:n,token:r,wat:i,ssoEnabled:o,enableSilentPreAuth:s});if(c){const l=new Ait(n,c,e),f=yield l.httpClient.login(),w=kG(c)||!f;return l.settings=yield Iye(a||{},l.httpClient,w),l}}throw new Cn("errors.sisenseContextNoAuthentication")}),jye=t=>"levels"in t&&t.isCascading===!0;var U0=(t=>(t.HIGHLIGHT="highlight",t.FILTER="filter",t))(U0||{});const $ye=t=>({columns:t.columns.map(e=>({widthPercentage:e.width,rows:(e.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}))}})}))}),zye=t=>{var e,n;const r=Rf(t.jaql,t.instanceid);return r.disabled=(e=t.disabled)!=null?e:!1,r.locked=(n=t.locked)!=null?n:!1,r},Bye=t=>{var e,n;const r=t.levels.map(o=>Rf(o)),i=new j4(r);return i.disabled=(e=t.disabled)!=null?e:!1,i.locked=(n=t.locked)!=null?n:!1,i};function Fye(t){return t.map(e=>jye(e)?Bye(e):zye(e))}function Hye(t=[]){const e={};return t.forEach(n=>{var r,i,o,a;e[n.oid]={applyMode:((r=n.options)==null?void 0:r.dashboardFiltersMode)==="filter"?U0.FILTER:U0.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}}),e}class Oit{constructor(e,n){Me(this,"oid"),Me(this,"title"),Me(this,"dataSource"),Me(this,"widgets"),Me(this,"layout"),Me(this,"filters"),Me(this,"widgetFilterOptions");const{oid:r,title:i,datasource:o,widgets:a,layout:s,filters:c}=e;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=>ibe(l,n)))||[],this.layout=s?$ye(s):{columns:[]},this.filters=Fye(c||[]),this.widgetFilterOptions=Hye(a)}getDashboardProps(){return{title:this.title,defaultDataSource:this.dataSource,widgets:this.widgets,layout:this.layout,filters:this.filters,widgetFilterOptions:this.widgetFilterOptions}}}function Pit(t,e){return co(this,arguments,function*(n,r,i={},o){const{includeWidgets:a,includeFilters:s}=i,c=new Zv(n),l=["oid","title","datasource"];a&&l.push("layout"),s&&l.push("filters");const f=[c.getDashboard(r,{fields:l}),a?c.getDashboardWidgets(r):void 0],[w,u]=yield Promise.all(f);if(!w)throw new Error(`Dashboard with oid ${r} not found`);return u&&(w.widgets=u),new Oit(w,o)})}function Dit(t){return co(this,arguments,function*(e,n={}){const{includeWidgets:r,searchByTitle:i}=n,o=new Zv(e),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 Oit(l)))||[]})}function Np(t,e,n){const r=Gx(t);return!r||e.some(i=>!yd(r[i],t[i]))?!0:n?n(t,r):!1}function oh({enabled:t},e){const n=Jt(!1);return Ne((r,i=!1)=>{const o=t===!1||!r,a=n.current;return n.current=o,!o&&(a||e||i)},[t,e])}function yl(t,e){switch(e.type){case"loading":return Wye(t);case"success":return Vye(e.data);case"error":return Uye(e.error)}}function Wye(t){return t.status==="loading"?t:xe(re({},t),{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0})}function Vye(t){return{isLoading:!1,isError:!1,isSuccess:!0,data:t,status:"success",error:void 0}}function Uye(t){return{isLoading:!1,isError:!0,isSuccess:!1,data:void 0,status:"error",error:t}}const Lit=Eu("useGetDashboardModel")(Gye);function Gye(t){const e=Np(t,["dashboardOid"]),n=oh(t,e),[r,i]=as(yl,{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0,data:void 0}),{isInitialized:o,app:a}=hr(),{themeSettings:s}=Kn();return he(()=>{if(o||i({type:"error",error:new Cn("errors.sisenseContextNotFound")}),n(a)){i({type:"loading"});const{dashboardOid:c,includeWidgets:l,includeFilters:f}=t;Pit(a.httpClient,c,{includeWidgets:l,includeFilters:f},s).then(w=>{i({type:"success",data:w})}).catch(w=>{i({type:"error",error:w})})}},[a,o,t,n,s]),r.data&&e?L5(yl(r,{type:"loading"})):L5(r)}function L5(t){const e=t,{data:n}=e,r=la(e,["data"]);return xe(re({},r),{dashboard:n})}const Yye=Eu("useGetDashboardModels")(qye);function qye(t={}){const e=Np(t,["includeWidgets"]),n=oh(t,e),[r,i]=as(yl,{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0,data:void 0}),{isInitialized:o,app:a}=hr();return he(()=>{o||i({type:"error",error:new Cn("errors.sisenseContextNotFound")}),n(a)&&(i({type:"loading"}),Dit(a.httpClient,t).then(s=>{i({type:"success",data:s})}).catch(s=>{i({type:"error",error:s})}))},[a,o,t,n]),r.data&&e?N5(yl(r,{type:"loading"})):N5(r)}function N5(t){const e=t,{data:n}=e,r=la(e,["data"]);return xe(re({},r),{dashboards:n})}function Ip(t,e){return t===void 0&&e===void 0?!1:[t,e].some(n=>n===void 0)||t.length!==e.length?!0:t.length===0&&e.length===0?!1:t.some((n,r)=>!WW(n,e[r],(i,o)=>{const a=Nit(i)?xe(re({},i.toJSON()),{name:void 0}):i,s=Nit(o)?xe(re({},o.toJSON()),{name:void 0}):o;return yd(a,s)}))}function Nit(t){return"toJSON"in t&&typeof t.toJSON=="function"}function Xye(t,e,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,f=a;return o===void 0&&a===void 0?!0:[o,a].some(w=>w===void 0)||s.operator!==l.operator?!1:c.instanceid&&f.instanceid?!Ip(t==null?void 0:t.filter(w=>w.guid===c.instanceid),e==null?void 0:e.filter(w=>w.guid===f.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 Iit(t,e){return yl(t,e)}const Zye=Eu("useExecutePivotQuery")(Rit);function Rit(t){const e=Kye(t),n=oh(t,e),[r,i]=as(Iit,{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0,data:void 0}),{isInitialized:o,app:a}=hr();return he(()=>{if(o||i({type:"error",error:new Cn("errors.executeQueryNoSisenseContext")}),n(a)){i({type:"loading"});const{dataSource:s,rows:c,columns:l,values:f,grandTotals:w,filters:u,highlights:j,count:S,offset:b,onBeforeQuery:T}=t,{filters:W,relations:G}=fc(u);lPt({dataSource:s,rows:c,columns:l,values:f,grandTotals:w,filters:W,filterRelations:G,highlights:j,count:S,offset:b},a,{onBeforeQuery:T}).then(Y=>{i({type:"success",data:Y})}).catch(Y=>{i({type:"error",error:Y})})}},[a,o,t,n]),r.data&&e?Iit(r,{type:"loading"}):r}const Jye=["dataSource","rows","columns","values","grandTotals","count","offset","onBeforeQuery"];function Kye(t){return Np(t,Jye,(e,n)=>{const{filters:r}=fc(n.filters),{filters:i}=fc(e.filters);return Ip(r,i)||Ip(n.highlights,e.highlights)})}var Qye=yu,t0e=no,e0e=us,n0e="[object String]";function r0e(t){return typeof t=="string"||!t0e(t)&&e0e(t)&&Qye(t)==n0e}var i0e=r0e;const o0e=An(i0e);function jit(t){return o0e(t)?{direction:t}:t}function $it(t,e){return{valuesIndex:t.field-(e.rows||[]).length-(e.columns||[]).length,columnsMembersPath:Object.values(t.measurePath||{})}}function a0e({type:t,settings:e,sortDetails:n},r){return t==="simple"?n.field>=(r.rows||[]).length?[{rowIndex:0,sort:{direction:eg(e[0].direction),by:$it(n,r)}}]:[{rowIndex:n.field,sort:{direction:eg(e[0].direction)}}]:e.reduce((i,o,a)=>{var s;const c=(s=r.rows)==null?void 0:s[a],l=(c==null?void 0:c.sortType)&&jit(c==null?void 0:c.sortType),f={direction:eg(o.direction),by:$it(n,r)};return!o.selected&&yd(l==null?void 0:l.by,f.by)&&i.push({rowIndex:a,sort:null}),o.selected&&i.push({rowIndex:a,sort:f}),i},[])}const zit=t=>re({attribute:kx(t),includeSubTotals:t.includeSubTotals||!1},t.sortType&&{sort:jit(t.sortType)}),s0e=t=>({measure:x8(t),totalsCalculation:t.totalsCalculation,dataBars:t.dataBars||!1}),Bit=t=>{const{rows:e=[],columns:n=[],values:r=[],grandTotals:i}=t,o=e.flatMap(zit),a=n.flatMap(zit),s=r.flatMap(s0e);return{rows:o,columns:a,values:s,grandTotals:i}},l0e=({dataSet:t,dataOptionsInternal:e,filters:n,highlights:r,refreshCounter:i})=>{const o=Jt(null),{rows:a,columns:s,values:c,grandTotals:l}=Bit(e),f=Ne(T=>{o.current=T},[i]),w={dataSource:t,rows:a,columns:s,values:c,grandTotals:l,filters:n,highlights:r,onBeforeQuery:f},{isLoading:u,isSuccess:j,isError:S,error:b}=Rit(w);return{isLoading:u,isSuccess:j,isError:S,error:b,jaql:o.current}};var I5={exports:{}};/**
997
997
  * @license
998
998
  * Lodash <https://lodash.com/>
999
999
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>